const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/VibeSearch-irRmegFT.js","assets/vendor-ui-CUslpDkL.js","assets/vendor-react-Dg0Tra3e.js","assets/badge-But4vkun.js","assets/search-RJS4XthK.js","assets/loader-circle-zVnpfu52.js","assets/vendor-query-CN1EccJz.js","assets/vendor-supabase-yzuDJZPy.js","assets/vendor-motion-CiNtJfg1.js","assets/ScreenshotSearchSection-BdnuKlWc.js","assets/card-BSxrPlO5.js","assets/index-CSX6DdY0.js","assets/input-BddqDKi_.js","assets/textarea-Cl_ytQkU.js","assets/label-DW0D2B1w.js","assets/send-DRRNY0V9.js","assets/wand-sparkles-BA-wznA0.js","assets/zap-CkbLqKyG.js","assets/upload-DQzlkcfH.js","assets/share-2-CprN_Tkl.js","assets/circle-alert-xOefwxaD.js","assets/triangle-alert-CrjyZwlk.js","assets/WhatToWatchQuiz-C693lJYd.js","assets/play-Cs8ErDIS.js","assets/ThisWeekSection-Ciwb9mms.js","assets/format-BrSaXzvW.js","assets/parseISO-BuBF7yQQ.js","assets/LatestNewsSection-Dlr_S5nP.js","assets/BlogSection-D1SGFZs5.js","assets/Schedule-BEtDHQUl.js","assets/select-BEyVJtLw.js","assets/refresh-cw-CVvHhQZs.js","assets/filter-B-pqD9on.js","assets/Shows-Bg4xPpgw.js","assets/useShows-ZYYtFbPs.js","assets/ShowDetail-CBBDWm4r.js","assets/SEOBreadcrumbs-D0bs6Ngm.js","assets/trophy-boV7oWzg.js","assets/useIndexNow-C3dRJY1T.js","assets/arrow-left-DtOv4JyO.js","assets/film-B3I-fyoz.js","assets/Upcoming-BaG6M3-1.js","assets/Events-Ch17PGxC.js","assets/download-1d3a7tmh.js","assets/Account-DpLXcmMq.js","assets/Auth-B7Donxuh.js","assets/ArticleDetail-2lgb--QM.js","assets/Blog-Cy7hCfp2.js","assets/BlogDetail-BY1u0q37.js","assets/AdminBlog-9EYGz-DT.js","assets/Privacy-CAC2MWWj.js","assets/Terms-B1Mr-yG1.js","assets/About-H6qInbSm.js","assets/Contact-BfxCK_Vl.js","assets/message-square-DI2hcTFv.js","assets/Explore-DURNYZZg.js","assets/flame-DnD4Z7Bh.js","assets/eye-DZ0k9N0A.js","assets/SceneDetail-CsCTkL6h.js","assets/circle-check-big-Cs5aOdeL.js","assets/AnimeDetail-BzT-TtN6.js","assets/sanitize-D2z4Jm0g.js","assets/Genres-Cs3U84nL.js","assets/GenreDetail-DxSI5sfR.js","assets/Studios-DKDaccMg.js","assets/StudioDetail-zv-8D6xC.js","assets/Seasons-BwoLHUUO.js","assets/SeasonDetail-C6x5S3eH.js","assets/Characters-DmoOdgj8.js","assets/CharacterDetail-T2ErgeaQ.js","assets/WatchOrders-DOaG8Rd9.js","assets/WatchOrders-CWnTnpfi.css","assets/SeasonalReleases-CPa0LGqG.js","assets/NotFound-S2l0MGwU.js"])))=>i.map(i=>d[i]);
import{c as ba,b as vo,u as Ie,j as s,B as va,P as we,V as xo,d as xa,e as dt,f as ve,g as se,R as wa,h as Sa,i as wo,k as Aa,C as So,l as Ta,S as Ao,m as To,n as Ca,o as Co,I as Eo,p as jo,q as No,r as Po,L as ko,s as Ro,v as Ea,T as ja,w as Na,x as Pa,O as jt,y as Nt,z as Io,A as Pt,D as kt,E as Oo,F as Lo,G as Mo,H as ka}from"./vendor-ui-CUslpDkL.js";import{a as Do,r as h,R as v,b as Ra,u as pn,L as le,d as Rt,e as Ia,f as $,B as Oa}from"./vendor-react-Dg0Tra3e.js";import{u as La,Q as Ma,a as Da}from"./vendor-query-CN1EccJz.js";import{c as Fa,_}from"./vendor-supabase-yzuDJZPy.js";import{m as _a,A as za}from"./vendor-motion-CiNtJfg1.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();var Fo,Rn=Do;Fo=Rn.createRoot,Rn.hydrateRoot;const $a=1,Ha=1e6;let Bt=0;function Ba(){return Bt=(Bt+1)%Number.MAX_SAFE_INTEGER,Bt.toString()}const Vt=new Map,In=t=>{if(Vt.has(t))return;const e=setTimeout(()=>{Vt.delete(t),at({type:"REMOVE_TOAST",toastId:t})},Ha);Vt.set(t,e)},Va=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,$a)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=e;return n?In(n):t.toasts.forEach(o=>{In(o.id)}),{...t,toasts:t.toasts.map(o=>o.id===n||n===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(n=>n.id!==e.toastId)}}},yt=[];let bt={toasts:[]};function at(t){bt=Va(bt,t),yt.forEach(e=>{e(bt)})}function Ua({...t}){const e=Ba(),n=r=>at({type:"UPDATE_TOAST",toast:{...r,id:e}}),o=()=>at({type:"DISMISS_TOAST",toastId:e});return at({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:r=>{r||o()}}}),{id:e,dismiss:o,update:n}}function Wa(){const[t,e]=h.useState(bt);return h.useEffect(()=>(yt.push(e),()=>{const n=yt.indexOf(e);n>-1&&yt.splice(n,1)}),[t]),{...t,toast:Ua,dismiss:n=>at({type:"DISMISS_TOAST",toastId:n})}}var hn="ToastProvider",[mn,Ga,qa]=ba("Toast"),[_o,Ih]=vo("Toast",[qa]),[Ya,It]=_o(hn),zo=t=>{const{__scopeToast:e,label:n="Notification",duration:o=5e3,swipeDirection:r="right",swipeThreshold:a=50,children:l}=t,[i,c]=h.useState(null),[d,u]=h.useState(0),m=h.useRef(!1),f=h.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${hn}\`. Expected non-empty \`string\`.`),s.jsx(mn.Provider,{scope:e,children:s.jsx(Ya,{scope:e,label:n,duration:o,swipeDirection:r,swipeThreshold:a,toastCount:d,viewport:i,onViewportChange:c,onToastAdd:h.useCallback(()=>u(p=>p+1),[]),onToastRemove:h.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:f,children:l})})};zo.displayName=hn;var $o="ToastViewport",Ka=["F8"],Qt="toast.viewportPause",Zt="toast.viewportResume",Ho=h.forwardRef((t,e)=>{const{__scopeToast:n,hotkey:o=Ka,label:r="Notifications ({hotkey})",...a}=t,l=It($o,n),i=Ga(n),c=h.useRef(null),d=h.useRef(null),u=h.useRef(null),m=h.useRef(null),f=Ie(e,m,l.onViewportChange),p=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=l.toastCount>0;h.useEffect(()=>{const y=x=>{o.length!==0&&o.every(A=>x[A]||x.code===A)&&m.current?.focus()};return document.addEventListener("keydown",y),()=>document.removeEventListener("keydown",y)},[o]),h.useEffect(()=>{const y=c.current,x=m.current;if(g&&y&&x){const w=()=>{if(!l.isClosePausedRef.current){const k=new CustomEvent(Qt);x.dispatchEvent(k),l.isClosePausedRef.current=!0}},A=()=>{if(l.isClosePausedRef.current){const k=new CustomEvent(Zt);x.dispatchEvent(k),l.isClosePausedRef.current=!1}},j=k=>{!y.contains(k.relatedTarget)&&A()},I=()=>{y.contains(document.activeElement)||A()};return y.addEventListener("focusin",w),y.addEventListener("focusout",j),y.addEventListener("pointermove",w),y.addEventListener("pointerleave",I),window.addEventListener("blur",w),window.addEventListener("focus",A),()=>{y.removeEventListener("focusin",w),y.removeEventListener("focusout",j),y.removeEventListener("pointermove",w),y.removeEventListener("pointerleave",I),window.removeEventListener("blur",w),window.removeEventListener("focus",A)}}},[g,l.isClosePausedRef]);const b=h.useCallback(({tabbingDirection:y})=>{const w=i().map(A=>{const j=A.ref.current,I=[j,...ls(j)];return y==="forwards"?I:I.reverse()});return(y==="forwards"?w.reverse():w).flat()},[i]);return h.useEffect(()=>{const y=m.current;if(y){const x=w=>{const A=w.altKey||w.ctrlKey||w.metaKey;if(w.key==="Tab"&&!A){const I=document.activeElement,k=w.shiftKey;if(w.target===y&&k){d.current?.focus();return}const S=b({tabbingDirection:k?"backwards":"forwards"}),E=S.findIndex(R=>R===I);Ut(S.slice(E+1))?w.preventDefault():k?d.current?.focus():u.current?.focus()}};return y.addEventListener("keydown",x),()=>y.removeEventListener("keydown",x)}},[i,b]),s.jsxs(va,{ref:c,role:"region","aria-label":r.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&s.jsx(en,{ref:d,onFocusFromOutsideViewport:()=>{const y=b({tabbingDirection:"forwards"});Ut(y)}}),s.jsx(mn.Slot,{scope:n,children:s.jsx(we.ol,{tabIndex:-1,...a,ref:f})}),g&&s.jsx(en,{ref:u,onFocusFromOutsideViewport:()=>{const y=b({tabbingDirection:"backwards"});Ut(y)}})]})});Ho.displayName=$o;var Bo="ToastFocusProxy",en=h.forwardRef((t,e)=>{const{__scopeToast:n,onFocusFromOutsideViewport:o,...r}=t,a=It(Bo,n);return s.jsx(xo,{"aria-hidden":!0,tabIndex:0,...r,ref:e,style:{position:"fixed"},onFocus:l=>{const i=l.relatedTarget;!a.viewport?.contains(i)&&o()}})});en.displayName=Bo;var ut="Toast",Ja="toast.swipeStart",Xa="toast.swipeMove",Qa="toast.swipeCancel",Za="toast.swipeEnd",Vo=h.forwardRef((t,e)=>{const{forceMount:n,open:o,defaultOpen:r,onOpenChange:a,...l}=t,[i,c]=xa({prop:o,defaultProp:r??!0,onChange:a,caller:ut});return s.jsx(dt,{present:n||i,children:s.jsx(ns,{open:i,...l,ref:e,onClose:()=>c(!1),onPause:ve(t.onPause),onResume:ve(t.onResume),onSwipeStart:se(t.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:se(t.onSwipeMove,d=>{const{x:u,y:m}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${m}px`)}),onSwipeCancel:se(t.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:se(t.onSwipeEnd,d=>{const{x:u,y:m}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${m}px`),c(!1)})})})});Vo.displayName=ut;var[es,ts]=_o(ut,{onClose(){}}),ns=h.forwardRef((t,e)=>{const{__scopeToast:n,type:o="foreground",duration:r,open:a,onClose:l,onEscapeKeyDown:i,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:m,onSwipeCancel:f,onSwipeEnd:p,...g}=t,b=It(ut,n),[y,x]=h.useState(null),w=Ie(e,C=>x(C)),A=h.useRef(null),j=h.useRef(null),I=r||b.duration,k=h.useRef(0),V=h.useRef(I),te=h.useRef(0),{onToastAdd:S,onToastRemove:E}=b,R=ve(()=>{y?.contains(document.activeElement)&&b.viewport?.focus(),l()}),T=h.useCallback(C=>{!C||C===1/0||(window.clearTimeout(te.current),k.current=new Date().getTime(),te.current=window.setTimeout(R,C))},[R]);h.useEffect(()=>{const C=b.viewport;if(C){const ne=()=>{T(V.current),d?.()},z=()=>{const q=new Date().getTime()-k.current;V.current=V.current-q,window.clearTimeout(te.current),c?.()};return C.addEventListener(Qt,z),C.addEventListener(Zt,ne),()=>{C.removeEventListener(Qt,z),C.removeEventListener(Zt,ne)}}},[b.viewport,I,c,d,T]),h.useEffect(()=>{a&&!b.isClosePausedRef.current&&T(I)},[a,I,b.isClosePausedRef,T]),h.useEffect(()=>(S(),()=>E()),[S,E]);const J=h.useMemo(()=>y?Jo(y):null,[y]);return b.viewport?s.jsxs(s.Fragment,{children:[J&&s.jsx(os,{__scopeToast:n,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0,children:J}),s.jsx(es,{scope:n,onClose:R,children:Do.createPortal(s.jsx(mn.ItemSlot,{scope:n,children:s.jsx(wa,{asChild:!0,onEscapeKeyDown:se(i,()=>{b.isFocusedToastEscapeKeyDownRef.current||R(),b.isFocusedToastEscapeKeyDownRef.current=!1}),children:s.jsx(we.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":b.swipeDirection,...g,ref:w,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:se(t.onKeyDown,C=>{C.key==="Escape"&&(i?.(C.nativeEvent),C.nativeEvent.defaultPrevented||(b.isFocusedToastEscapeKeyDownRef.current=!0,R()))}),onPointerDown:se(t.onPointerDown,C=>{C.button===0&&(A.current={x:C.clientX,y:C.clientY})}),onPointerMove:se(t.onPointerMove,C=>{if(!A.current)return;const ne=C.clientX-A.current.x,z=C.clientY-A.current.y,q=!!j.current,ae=["left","right"].includes(b.swipeDirection),N=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,re=ae?N(0,ne):0,U=ae?0:N(0,z),D=C.pointerType==="touch"?10:2,F={x:re,y:U},W={originalEvent:C,delta:F};q?(j.current=F,mt(Xa,m,W,{discrete:!1})):On(F,b.swipeDirection,D)?(j.current=F,mt(Ja,u,W,{discrete:!1}),C.target.setPointerCapture(C.pointerId)):(Math.abs(ne)>D||Math.abs(z)>D)&&(A.current=null)}),onPointerUp:se(t.onPointerUp,C=>{const ne=j.current,z=C.target;if(z.hasPointerCapture(C.pointerId)&&z.releasePointerCapture(C.pointerId),j.current=null,A.current=null,ne){const q=C.currentTarget,ae={originalEvent:C,delta:ne};On(ne,b.swipeDirection,b.swipeThreshold)?mt(Za,p,ae,{discrete:!0}):mt(Qa,f,ae,{discrete:!0}),q.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),b.viewport)})]}):null}),os=t=>{const{__scopeToast:e,children:n,...o}=t,r=It(ut,e),[a,l]=h.useState(!1),[i,c]=h.useState(!1);return ss(()=>l(!0)),h.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),i?null:s.jsx(Sa,{asChild:!0,children:s.jsx(xo,{...o,children:a&&s.jsxs(s.Fragment,{children:[r.label," ",n]})})})},rs="ToastTitle",Uo=h.forwardRef((t,e)=>{const{__scopeToast:n,...o}=t;return s.jsx(we.div,{...o,ref:e})});Uo.displayName=rs;var as="ToastDescription",Wo=h.forwardRef((t,e)=>{const{__scopeToast:n,...o}=t;return s.jsx(we.div,{...o,ref:e})});Wo.displayName=as;var Go="ToastAction",qo=h.forwardRef((t,e)=>{const{altText:n,...o}=t;return n.trim()?s.jsx(Ko,{altText:n,asChild:!0,children:s.jsx(fn,{...o,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${Go}\`. Expected non-empty \`string\`.`),null)});qo.displayName=Go;var Yo="ToastClose",fn=h.forwardRef((t,e)=>{const{__scopeToast:n,...o}=t,r=ts(Yo,n);return s.jsx(Ko,{asChild:!0,children:s.jsx(we.button,{type:"button",...o,ref:e,onClick:se(t.onClick,r.onClose)})})});fn.displayName=Yo;var Ko=h.forwardRef((t,e)=>{const{__scopeToast:n,altText:o,...r}=t;return s.jsx(we.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...r,ref:e})});function Jo(t){const e=[];return Array.from(t.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&e.push(o.textContent),is(o)){const r=o.ariaHidden||o.hidden||o.style.display==="none",a=o.dataset.radixToastAnnounceExclude==="";if(!r)if(a){const l=o.dataset.radixToastAnnounceAlt;l&&e.push(l)}else e.push(...Jo(o))}}),e}function mt(t,e,n,{discrete:o}){const r=n.originalEvent.currentTarget,a=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});e&&r.addEventListener(t,e,{once:!0}),o?Aa(r,a):r.dispatchEvent(a)}var On=(t,e,n=0)=>{const o=Math.abs(t.x),r=Math.abs(t.y),a=o>r;return e==="left"||e==="right"?a&&o>n:!a&&r>n};function ss(t=()=>{}){const e=ve(t);wo(()=>{let n=0,o=0;return n=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(o)}},[e])}function is(t){return t.nodeType===t.ELEMENT_NODE}function ls(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function Ut(t){const e=document.activeElement;return t.some(n=>n===e?!0:(n.focus(),document.activeElement!==e))}var cs=zo,Xo=Ho,Qo=Vo,Zo=Uo,er=Wo,tr=qo,nr=fn;function or(t){var e,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e<r;e++)t[e]&&(n=or(t[e]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function rr(){for(var t,e,n=0,o="",r=arguments.length;n<r;n++)(t=arguments[n])&&(e=or(t))&&(o&&(o+=" "),o+=e);return o}const Ln=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Mn=rr,gn=(t,e)=>n=>{var o;if(e?.variants==null)return Mn(t,n?.class,n?.className);const{variants:r,defaultVariants:a}=e,l=Object.keys(r).map(d=>{const u=n?.[d],m=a?.[d];if(u===null)return null;const f=Ln(u)||Ln(m);return r[d][f]}),i=n&&Object.entries(n).reduce((d,u)=>{let[m,f]=u;return f===void 0||(d[m]=f),d},{}),c=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((d,u)=>{let{class:m,className:f,...p}=u;return Object.entries(p).every(g=>{let[b,y]=g;return Array.isArray(y)?y.includes({...a,...i}[b]):{...a,...i}[b]===y})?[...d,m,f]:d},[]);return Mn(t,l,c,n?.class,n?.className)};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ds=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ar=(...t)=>t.filter((e,n,o)=>!!e&&e.trim()!==""&&o.indexOf(e)===n).join(" ").trim();/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var us={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"};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ps=h.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:r="",children:a,iconNode:l,...i},c)=>h.createElement("svg",{ref:c,...us,width:e,height:e,stroke:t,strokeWidth:o?Number(n)*24/Number(e):n,className:ar("lucide",r),...i},[...l.map(([d,u])=>h.createElement(d,u)),...Array.isArray(a)?a:[a]]));/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G=(t,e)=>{const n=h.forwardRef(({className:o,...r},a)=>h.createElement(ps,{ref:a,iconNode:e,className:ar(`lucide-${ds(t)}`,o),...r}));return n.displayName=`${t}`,n};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hs=G("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ms=G("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fs=G("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gs=G("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ys=G("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bs=G("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vs=G("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sr=G("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xs=G("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ws=G("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dn=G("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fn=G("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ss=G("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const As=G("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _n=G("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zn=G("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ts=G("ListOrdered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cs=G("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Es=G("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const js=G("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ns=G("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ps=G("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $n=G("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ks=G("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rs=G("Tv",[["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",ry:"2",key:"10ag99"}],["polyline",{points:"17 2 12 7 7 2",key:"11pgbg"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Is=G("UserPlus",[["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"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Os=G("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ls=G("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yn=G("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),bn="-",Ms=t=>{const e=Fs(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:l=>{const i=l.split(bn);return i[0]===""&&i.length!==1&&i.shift(),ir(i,e)||Ds(l)},getConflictingClassGroupIds:(l,i)=>{const c=n[l]||[];return i&&o[l]?[...c,...o[l]]:c}}},ir=(t,e)=>{if(t.length===0)return e.classGroupId;const n=t[0],o=e.nextPart.get(n),r=o?ir(t.slice(1),o):void 0;if(r)return r;if(e.validators.length===0)return;const a=t.join(bn);return e.validators.find(({validator:l})=>l(a))?.classGroupId},Hn=/^\[(.+)\]$/,Ds=t=>{if(Hn.test(t)){const e=Hn.exec(t)[1],n=e?.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},Fs=t=>{const{theme:e,prefix:n}=t,o={nextPart:new Map,validators:[]};return zs(Object.entries(t.classGroups),n).forEach(([a,l])=>{tn(l,o,a,e)}),o},tn=(t,e,n,o)=>{t.forEach(r=>{if(typeof r=="string"){const a=r===""?e:Bn(e,r);a.classGroupId=n;return}if(typeof r=="function"){if(_s(r)){tn(r(o),e,n,o);return}e.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([a,l])=>{tn(l,Bn(e,a),n,o)})})},Bn=(t,e)=>{let n=t;return e.split(bn).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},_s=t=>t.isThemeGetter,zs=(t,e)=>e?t.map(([n,o])=>{const r=o.map(a=>typeof a=="string"?e+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,i])=>[e+l,i])):a);return[n,r]}):t,$s=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,o=new Map;const r=(a,l)=>{n.set(a,l),e++,e>t&&(e=0,o=n,n=new Map)};return{get(a){let l=n.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return r(a,l),l},set(a,l){n.has(a)?n.set(a,l):r(a,l)}}},lr="!",Hs=t=>{const{separator:e,experimentalParseClassName:n}=t,o=e.length===1,r=e[0],a=e.length,l=i=>{const c=[];let d=0,u=0,m;for(let y=0;y<i.length;y++){let x=i[y];if(d===0){if(x===r&&(o||i.slice(y,y+a)===e)){c.push(i.slice(u,y)),u=y+a;continue}if(x==="/"){m=y;continue}}x==="["?d++:x==="]"&&d--}const f=c.length===0?i:i.substring(u),p=f.startsWith(lr),g=p?f.substring(1):f,b=m&&m>u?m-u:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:b}};return n?i=>n({className:i,parseClassName:l}):l},Bs=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(o=>{o[0]==="["?(e.push(...n.sort(),o),n=[]):n.push(o)}),e.push(...n.sort()),e},Vs=t=>({cache:$s(t.cacheSize),parseClassName:Hs(t),...Ms(t)}),Us=/\s+/,Ws=(t,e)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r}=e,a=[],l=t.trim().split(Us);let i="";for(let c=l.length-1;c>=0;c-=1){const d=l[c],{modifiers:u,hasImportantModifier:m,baseClassName:f,maybePostfixModifierPosition:p}=n(d);let g=!!p,b=o(g?f.substring(0,p):f);if(!b){if(!g){i=d+(i.length>0?" "+i:i);continue}if(b=o(f),!b){i=d+(i.length>0?" "+i:i);continue}g=!1}const y=Bs(u).join(":"),x=m?y+lr:y,w=x+b;if(a.includes(w))continue;a.push(w);const A=r(b,g);for(let j=0;j<A.length;++j){const I=A[j];a.push(x+I)}i=d+(i.length>0?" "+i:i)}return i};function Gs(){let t=0,e,n,o="";for(;t<arguments.length;)(e=arguments[t++])&&(n=cr(e))&&(o&&(o+=" "),o+=n);return o}const cr=t=>{if(typeof t=="string")return t;let e,n="";for(let o=0;o<t.length;o++)t[o]&&(e=cr(t[o]))&&(n&&(n+=" "),n+=e);return n};function qs(t,...e){let n,o,r,a=l;function l(c){const d=e.reduce((u,m)=>m(u),t());return n=Vs(d),o=n.cache.get,r=n.cache.set,a=i,i(c)}function i(c){const d=o(c);if(d)return d;const u=Ws(c,n);return r(c,u),u}return function(){return a(Gs.apply(null,arguments))}}const X=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},dr=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ys=/^\d+\/\d+$/,Ks=new Set(["px","full","screen"]),Js=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xs=/\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$/,Qs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ei=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Te=t=>We(t)||Ks.has(t)||Ys.test(t),Pe=t=>Ke(t,"length",li),We=t=>!!t&&!Number.isNaN(Number(t)),Wt=t=>Ke(t,"number",We),Ze=t=>!!t&&Number.isInteger(Number(t)),ti=t=>t.endsWith("%")&&We(t.slice(0,-1)),M=t=>dr.test(t),ke=t=>Js.test(t),ni=new Set(["length","size","percentage"]),oi=t=>Ke(t,ni,ur),ri=t=>Ke(t,"position",ur),ai=new Set(["image","url"]),si=t=>Ke(t,ai,di),ii=t=>Ke(t,"",ci),et=()=>!0,Ke=(t,e,n)=>{const o=dr.exec(t);return o?o[1]?typeof e=="string"?o[1]===e:e.has(o[1]):n(o[2]):!1},li=t=>Xs.test(t)&&!Qs.test(t),ur=()=>!1,ci=t=>Zs.test(t),di=t=>ei.test(t),ui=()=>{const t=X("colors"),e=X("spacing"),n=X("blur"),o=X("brightness"),r=X("borderColor"),a=X("borderRadius"),l=X("borderSpacing"),i=X("borderWidth"),c=X("contrast"),d=X("grayscale"),u=X("hueRotate"),m=X("invert"),f=X("gap"),p=X("gradientColorStops"),g=X("gradientColorStopPositions"),b=X("inset"),y=X("margin"),x=X("opacity"),w=X("padding"),A=X("saturate"),j=X("scale"),I=X("sepia"),k=X("skew"),V=X("space"),te=X("translate"),S=()=>["auto","contain","none"],E=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",M,e],T=()=>[M,e],J=()=>["",Te,Pe],C=()=>["auto",We,M],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",M],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[We,M];return{cacheSize:500,separator:":",theme:{colors:[et],spacing:[Te,Pe],blur:["none","",ke,M],brightness:U(),borderColor:[t],borderRadius:["none","","full",ke,M],borderSpacing:T(),borderWidth:J(),contrast:U(),grayscale:N(),hueRotate:U(),invert:N(),gap:T(),gradientColorStops:[t],gradientColorStopPositions:[ti,Pe],inset:R(),margin:R(),opacity:U(),padding:T(),saturate:U(),scale:U(),sepia:N(),skew:U(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[ke]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"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"],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:[...ne(),M]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ze,M]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",Ze,M]}],"grid-cols":[{"grid-cols":[et]}],"col-start-end":[{col:["auto",{span:["full",Ze,M]},M]}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":[et]}],"row-start-end":[{row:["auto",{span:[Ze,M]},M]}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[V]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[V]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,e]}],"min-w":[{"min-w":[M,e,"min","max","fit"]}],"max-w":[{"max-w":[M,e,"none","full","min","max","fit","prose",{screen:[ke]},ke]}],h:[{h:[M,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,e,"auto","min","max","fit"]}],"font-size":[{text:["base",ke,Pe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wt]}],"font-family":[{font:[et]}],"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:["tighter","tight","normal","wide","wider","widest",M]}],"line-clamp":[{"line-clamp":["none",We,Wt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Te,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Te,Pe]}],"underline-offset":[{"underline-offset":["auto",Te,M]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),ri]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oi]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},si]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[Te,M]}],"outline-w":[{outline:[Te,Pe]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[Te,Pe]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",ke,ii]}],"shadow-color":[{shadow:[et]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",ke,M]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[A]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",M]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Ze,M]}],"translate-x":[{"translate-x":[te]}],"translate-y":[{"translate-y":[te]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",M]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"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",M]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Te,Pe,Wt]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}},pi=qs(ui);function K(...t){return pi(rr(t))}const hi=cs,pr=h.forwardRef(({className:t,...e},n)=>s.jsx(Xo,{ref:n,className:K("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...e}));pr.displayName=Xo.displayName;const mi=gn("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),hr=h.forwardRef(({className:t,variant:e,...n},o)=>s.jsx(Qo,{ref:o,className:K(mi({variant:e}),t),...n}));hr.displayName=Qo.displayName;const fi=h.forwardRef(({className:t,...e},n)=>s.jsx(tr,{ref:n,className:K("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",t),...e}));fi.displayName=tr.displayName;const mr=h.forwardRef(({className:t,...e},n)=>s.jsx(nr,{ref:n,className:K("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:s.jsx(yn,{className:"h-4 w-4"})}));mr.displayName=nr.displayName;const fr=h.forwardRef(({className:t,...e},n)=>s.jsx(Zo,{ref:n,className:K("text-sm font-semibold",t),...e}));fr.displayName=Zo.displayName;const gr=h.forwardRef(({className:t,...e},n)=>s.jsx(er,{ref:n,className:K("text-sm opacity-90",t),...e}));gr.displayName=er.displayName;function gi(){const{toasts:t}=Wa();return s.jsxs(hi,{children:[t.map(function({id:e,title:n,description:o,action:r,...a}){return s.jsxs(hr,{...a,children:[s.jsxs("div",{className:"grid gap-1",children:[n&&s.jsx(fr,{children:n}),o&&s.jsx(gr,{children:o})]}),r,s.jsx(mr,{})]},e)}),s.jsx(pr,{})]})}var Vn=["light","dark"],yi="(prefers-color-scheme: dark)",bi=h.createContext(void 0),vi={setTheme:t=>{},themes:[]},xi=()=>{var t;return(t=h.useContext(bi))!=null?t:vi};h.memo(({forcedTheme:t,storageKey:e,attribute:n,enableSystem:o,enableColorScheme:r,defaultTheme:a,value:l,attrs:i,nonce:c})=>{let d=a==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${i.map(g=>`'${g}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,m=r?Vn.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(g,b=!1,y=!0)=>{let x=l?l[g]:g,w=b?g+"|| ''":`'${x}'`,A="";return r&&y&&!b&&Vn.includes(g)&&(A+=`d.style.colorScheme = '${g}';`),n==="class"?b||x?A+=`c.add(${w})`:A+="null":x&&(A+=`d[s](n,${w})`),A},p=t?`!function(){${u}${f(t)}}()`:o?`!function(){try{${u}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${d})){var t='${yi}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${l?`var x=${JSON.stringify(l)};`:""}${f(l?"x[e]":"e",!0)}}${d?"":"else{"+f(a,!1,!1)+"}"}${m}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${e}');if(e){${l?`var x=${JSON.stringify(l)};`:""}${f(l?"x[e]":"e",!0)}}else{${f(a,!1,!1)};}${m}}catch(t){}}();`;return h.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})});var wi=t=>{switch(t){case"success":return Ti;case"info":return Ei;case"warning":return Ci;case"error":return ji;default:return null}},Si=Array(12).fill(0),Ai=({visible:t,className:e})=>v.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},v.createElement("div",{className:"sonner-spinner"},Si.map((n,o)=>v.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),Ti=v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},v.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"})),Ci=v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},v.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"})),Ei=v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},v.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"})),ji=v.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},v.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"})),Ni=v.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"},v.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),v.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Pi=()=>{let[t,e]=v.useState(document.hidden);return v.useEffect(()=>{let n=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),t},nn=1,ki=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:n,...o}=t,r=typeof t?.id=="number"||((e=t.id)==null?void 0:e.length)>0?t.id:nn++,a=this.toasts.find(i=>i.id===r),l=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),a?this.toasts=this.toasts.map(i=>i.id===r?(this.publish({...i,...t,id:r,title:n}),{...i,...t,id:r,dismissible:l,title:n}):i):this.addToast({title:n,...o,dismissible:l,id:r}),r},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(e=>{this.subscribers.forEach(n=>n({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:t,dismiss:!0})),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{if(!e)return;let n;e.loading!==void 0&&(n=this.create({...e,promise:t,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let o=t instanceof Promise?t:t(),r=n!==void 0,a,l=o.then(async c=>{if(a=["resolve",c],v.isValidElement(c))r=!1,this.create({id:n,type:"default",message:c});else if(Ii(c)&&!c.ok){r=!1;let d=typeof e.error=="function"?await e.error(`HTTP error! status: ${c.status}`):e.error,u=typeof e.description=="function"?await e.description(`HTTP error! status: ${c.status}`):e.description;this.create({id:n,type:"error",message:d,description:u})}else if(e.success!==void 0){r=!1;let d=typeof e.success=="function"?await e.success(c):e.success,u=typeof e.description=="function"?await e.description(c):e.description;this.create({id:n,type:"success",message:d,description:u})}}).catch(async c=>{if(a=["reject",c],e.error!==void 0){r=!1;let d=typeof e.error=="function"?await e.error(c):e.error,u=typeof e.description=="function"?await e.description(c):e.description;this.create({id:n,type:"error",message:d,description:u})}}).finally(()=>{var c;r&&(this.dismiss(n),n=void 0),(c=e.finally)==null||c.call(e)}),i=()=>new Promise((c,d)=>l.then(()=>a[0]==="reject"?d(a[1]):c(a[1])).catch(d));return typeof n!="string"&&typeof n!="number"?{unwrap:i}:Object.assign(n,{unwrap:i})},this.custom=(t,e)=>{let n=e?.id||nn++;return this.create({jsx:t(n),id:n,...e}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},pe=new ki,Ri=(t,e)=>{let n=e?.id||nn++;return pe.addToast({title:t,...e,id:n}),n},Ii=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",Oi=Ri,Li=()=>pe.toasts,Mi=()=>pe.getActiveToasts(),Oh=Object.assign(Oi,{success:pe.success,info:pe.info,warning:pe.warning,error:pe.error,custom:pe.custom,message:pe.message,promise:pe.promise,dismiss:pe.dismiss,loading:pe.loading},{getHistory:Li,getToasts:Mi});function Di(t,{insertAt:e}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",e==="top"&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}Di(`:where(html[dir="ltr"]),:where([data-sonner-toaster][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%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][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%)}:where([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:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([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);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([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 #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([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)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([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;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([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);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-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([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}:where([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}:where([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, 0px)) translate(var(--swipe-amount-x, 0px));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{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{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{0%{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-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--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-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-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-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, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--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-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-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],[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],[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],[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],[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:nth-child(1){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)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{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 ft(t){return t.label!==void 0}var Fi=3,_i="32px",zi="16px",Un=4e3,$i=356,Hi=14,Bi=20,Vi=200;function be(...t){return t.filter(Boolean).join(" ")}function Ui(t){let[e,n]=t.split("-"),o=[];return e&&o.push(e),n&&o.push(n),o}var Wi=t=>{var e,n,o,r,a,l,i,c,d,u,m;let{invert:f,toast:p,unstyled:g,interacting:b,setHeights:y,visibleToasts:x,heights:w,index:A,toasts:j,expanded:I,removeToast:k,defaultRichColors:V,closeButton:te,style:S,cancelButtonStyle:E,actionButtonStyle:R,className:T="",descriptionClassName:J="",duration:C,position:ne,gap:z,loadingIcon:q,expandByDefault:ae,classNames:N,icons:re,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:D}=t,[F,W]=v.useState(null),[de,Fe]=v.useState(null),[oe,Ft]=v.useState(!1),[Je,pt]=v.useState(!1),[Xe,_t]=v.useState(!1),[An,aa]=v.useState(!1),[sa,Tn]=v.useState(!1),[ia,zt]=v.useState(0),[la,Cn]=v.useState(0),Qe=v.useRef(p.duration||C||Un),En=v.useRef(null),Oe=v.useRef(null),ca=A===0,da=A+1<=x,he=p.type,_e=p.dismissible!==!1,ua=p.className||"",pa=p.descriptionClassName||"",ht=v.useMemo(()=>w.findIndex(O=>O.toastId===p.id)||0,[w,p.id]),ha=v.useMemo(()=>{var O;return(O=p.closeButton)!=null?O:te},[p.closeButton,te]),jn=v.useMemo(()=>p.duration||C||Un,[p.duration,C]),$t=v.useRef(0),ze=v.useRef(0),Nn=v.useRef(0),$e=v.useRef(null),[ma,fa]=ne.split("-"),Pn=v.useMemo(()=>w.reduce((O,Y,Q)=>Q>=ht?O:O+Y.height,0),[w,ht]),kn=Pi(),ga=p.invert||f,Ht=he==="loading";ze.current=v.useMemo(()=>ht*z+Pn,[ht,Pn]),v.useEffect(()=>{Qe.current=jn},[jn]),v.useEffect(()=>{Ft(!0)},[]),v.useEffect(()=>{let O=Oe.current;if(O){let Y=O.getBoundingClientRect().height;return Cn(Y),y(Q=>[{toastId:p.id,height:Y,position:p.position},...Q]),()=>y(Q=>Q.filter(fe=>fe.toastId!==p.id))}},[y,p.id]),v.useLayoutEffect(()=>{if(!oe)return;let O=Oe.current,Y=O.style.height;O.style.height="auto";let Q=O.getBoundingClientRect().height;O.style.height=Y,Cn(Q),y(fe=>fe.find(ge=>ge.toastId===p.id)?fe.map(ge=>ge.toastId===p.id?{...ge,height:Q}:ge):[{toastId:p.id,height:Q,position:p.position},...fe])},[oe,p.title,p.description,y,p.id]);let Ee=v.useCallback(()=>{pt(!0),zt(ze.current),y(O=>O.filter(Y=>Y.toastId!==p.id)),setTimeout(()=>{k(p)},Vi)},[p,k,y,ze]);v.useEffect(()=>{if(p.promise&&he==="loading"||p.duration===1/0||p.type==="loading")return;let O;return I||b||D&&kn?(()=>{if(Nn.current<$t.current){let Y=new Date().getTime()-$t.current;Qe.current=Qe.current-Y}Nn.current=new Date().getTime()})():Qe.current!==1/0&&($t.current=new Date().getTime(),O=setTimeout(()=>{var Y;(Y=p.onAutoClose)==null||Y.call(p,p),Ee()},Qe.current)),()=>clearTimeout(O)},[I,b,p,he,D,kn,Ee]),v.useEffect(()=>{p.delete&&Ee()},[Ee,p.delete]);function ya(){var O,Y,Q;return re!=null&&re.loading?v.createElement("div",{className:be(N?.loader,(O=p?.classNames)==null?void 0:O.loader,"sonner-loader"),"data-visible":he==="loading"},re.loading):q?v.createElement("div",{className:be(N?.loader,(Y=p?.classNames)==null?void 0:Y.loader,"sonner-loader"),"data-visible":he==="loading"},q):v.createElement(Ai,{className:be(N?.loader,(Q=p?.classNames)==null?void 0:Q.loader),visible:he==="loading"})}return v.createElement("li",{tabIndex:0,ref:Oe,className:be(T,ua,N?.toast,(e=p?.classNames)==null?void 0:e.toast,N?.default,N?.[he],(n=p?.classNames)==null?void 0:n[he]),"data-sonner-toast":"","data-rich-colors":(o=p.richColors)!=null?o:V,"data-styled":!(p.jsx||p.unstyled||g),"data-mounted":oe,"data-promise":!!p.promise,"data-swiped":sa,"data-removed":Je,"data-visible":da,"data-y-position":ma,"data-x-position":fa,"data-index":A,"data-front":ca,"data-swiping":Xe,"data-dismissible":_e,"data-type":he,"data-invert":ga,"data-swipe-out":An,"data-swipe-direction":de,"data-expanded":!!(I||ae&&oe),style:{"--index":A,"--toasts-before":A,"--z-index":j.length-A,"--offset":`${Je?ia:ze.current}px`,"--initial-height":ae?"auto":`${la}px`,...S,...p.style},onDragEnd:()=>{_t(!1),W(null),$e.current=null},onPointerDown:O=>{Ht||!_e||(En.current=new Date,zt(ze.current),O.target.setPointerCapture(O.pointerId),O.target.tagName!=="BUTTON"&&(_t(!0),$e.current={x:O.clientX,y:O.clientY}))},onPointerUp:()=>{var O,Y,Q,fe;if(An||!_e)return;$e.current=null;let ge=Number(((O=Oe.current)==null?void 0:O.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),je=Number(((Y=Oe.current)==null?void 0:Y.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Le=new Date().getTime()-((Q=En.current)==null?void 0:Q.getTime()),ye=F==="x"?ge:je,Ne=Math.abs(ye)/Le;if(Math.abs(ye)>=Bi||Ne>.11){zt(ze.current),(fe=p.onDismiss)==null||fe.call(p,p),Fe(F==="x"?ge>0?"right":"left":je>0?"down":"up"),Ee(),aa(!0),Tn(!1);return}_t(!1),W(null)},onPointerMove:O=>{var Y,Q,fe,ge;if(!$e.current||!_e||((Y=window.getSelection())==null?void 0:Y.toString().length)>0)return;let je=O.clientY-$e.current.y,Le=O.clientX-$e.current.x,ye=(Q=t.swipeDirections)!=null?Q:Ui(ne);!F&&(Math.abs(Le)>1||Math.abs(je)>1)&&W(Math.abs(Le)>Math.abs(je)?"x":"y");let Ne={x:0,y:0};F==="y"?(ye.includes("top")||ye.includes("bottom"))&&(ye.includes("top")&&je<0||ye.includes("bottom")&&je>0)&&(Ne.y=je):F==="x"&&(ye.includes("left")||ye.includes("right"))&&(ye.includes("left")&&Le<0||ye.includes("right")&&Le>0)&&(Ne.x=Le),(Math.abs(Ne.x)>0||Math.abs(Ne.y)>0)&&Tn(!0),(fe=Oe.current)==null||fe.style.setProperty("--swipe-amount-x",`${Ne.x}px`),(ge=Oe.current)==null||ge.style.setProperty("--swipe-amount-y",`${Ne.y}px`)}},ha&&!p.jsx?v.createElement("button",{"aria-label":U,"data-disabled":Ht,"data-close-button":!0,onClick:Ht||!_e?()=>{}:()=>{var O;Ee(),(O=p.onDismiss)==null||O.call(p,p)},className:be(N?.closeButton,(r=p?.classNames)==null?void 0:r.closeButton)},(a=re?.close)!=null?a:Ni):null,p.jsx||h.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:v.createElement(v.Fragment,null,he||p.icon||p.promise?v.createElement("div",{"data-icon":"",className:be(N?.icon,(l=p?.classNames)==null?void 0:l.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||ya():null,p.type!=="loading"?p.icon||re?.[he]||wi(he):null):null,v.createElement("div",{"data-content":"",className:be(N?.content,(i=p?.classNames)==null?void 0:i.content)},v.createElement("div",{"data-title":"",className:be(N?.title,(c=p?.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?v.createElement("div",{"data-description":"",className:be(J,pa,N?.description,(d=p?.classNames)==null?void 0:d.description)},typeof p.description=="function"?p.description():p.description):null),h.isValidElement(p.cancel)?p.cancel:p.cancel&&ft(p.cancel)?v.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||E,onClick:O=>{var Y,Q;ft(p.cancel)&&_e&&((Q=(Y=p.cancel).onClick)==null||Q.call(Y,O),Ee())},className:be(N?.cancelButton,(u=p?.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,h.isValidElement(p.action)?p.action:p.action&&ft(p.action)?v.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||R,onClick:O=>{var Y,Q;ft(p.action)&&((Q=(Y=p.action).onClick)==null||Q.call(Y,O),!O.defaultPrevented&&Ee())},className:be(N?.actionButton,(m=p?.classNames)==null?void 0:m.actionButton)},p.action.label):null))};function Wn(){if(typeof window>"u"||typeof document>"u")return"ltr";let t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function Gi(t,e){let n={};return[t,e].forEach((o,r)=>{let a=r===1,l=a?"--mobile-offset":"--offset",i=a?zi:_i;function c(d){["top","right","bottom","left"].forEach(u=>{n[`${l}-${u}`]=typeof d=="number"?`${d}px`:d})}typeof o=="number"||typeof o=="string"?c(o):typeof o=="object"?["top","right","bottom","left"].forEach(d=>{o[d]===void 0?n[`${l}-${d}`]=i:n[`${l}-${d}`]=typeof o[d]=="number"?`${o[d]}px`:o[d]}):c(i)}),n}var qi=h.forwardRef(function(t,e){let{invert:n,position:o="bottom-right",hotkey:r=["altKey","KeyT"],expand:a,closeButton:l,className:i,offset:c,mobileOffset:d,theme:u="light",richColors:m,duration:f,style:p,visibleToasts:g=Fi,toastOptions:b,dir:y=Wn(),gap:x=Hi,loadingIcon:w,icons:A,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:I}=t,[k,V]=v.useState([]),te=v.useMemo(()=>Array.from(new Set([o].concat(k.filter(D=>D.position).map(D=>D.position)))),[k,o]),[S,E]=v.useState([]),[R,T]=v.useState(!1),[J,C]=v.useState(!1),[ne,z]=v.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),q=v.useRef(null),ae=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=v.useRef(null),re=v.useRef(!1),U=v.useCallback(D=>{V(F=>{var W;return(W=F.find(de=>de.id===D.id))!=null&&W.delete||pe.dismiss(D.id),F.filter(({id:de})=>de!==D.id)})},[]);return v.useEffect(()=>pe.subscribe(D=>{if(D.dismiss){V(F=>F.map(W=>W.id===D.id?{...W,delete:!0}:W));return}setTimeout(()=>{Ra.flushSync(()=>{V(F=>{let W=F.findIndex(de=>de.id===D.id);return W!==-1?[...F.slice(0,W),{...F[W],...D},...F.slice(W+1)]:[D,...F]})})})}),[]),v.useEffect(()=>{if(u!=="system"){z(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let D=window.matchMedia("(prefers-color-scheme: dark)");try{D.addEventListener("change",({matches:F})=>{z(F?"dark":"light")})}catch{D.addListener(({matches:W})=>{try{z(W?"dark":"light")}catch(de){console.error(de)}})}},[u]),v.useEffect(()=>{k.length<=1&&T(!1)},[k]),v.useEffect(()=>{let D=F=>{var W,de;r.every(Fe=>F[Fe]||F.code===Fe)&&(T(!0),(W=q.current)==null||W.focus()),F.code==="Escape"&&(document.activeElement===q.current||(de=q.current)!=null&&de.contains(document.activeElement))&&T(!1)};return document.addEventListener("keydown",D),()=>document.removeEventListener("keydown",D)},[r]),v.useEffect(()=>{if(q.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,re.current=!1)}},[q.current]),v.createElement("section",{ref:e,"aria-label":`${j} ${ae}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},te.map((D,F)=>{var W;let[de,Fe]=D.split("-");return k.length?v.createElement("ol",{key:D,dir:y==="auto"?Wn():y,tabIndex:-1,ref:q,className:i,"data-sonner-toaster":!0,"data-theme":ne,"data-y-position":de,"data-lifted":R&&k.length>1&&!a,"data-x-position":Fe,style:{"--front-toast-height":`${((W=S[0])==null?void 0:W.height)||0}px`,"--width":`${$i}px`,"--gap":`${x}px`,...p,...Gi(c,d)},onBlur:oe=>{re.current&&!oe.currentTarget.contains(oe.relatedTarget)&&(re.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||re.current||(re.current=!0,N.current=oe.relatedTarget)},onMouseEnter:()=>T(!0),onMouseMove:()=>T(!0),onMouseLeave:()=>{J||T(!1)},onDragEnd:()=>T(!1),onPointerDown:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||C(!0)},onPointerUp:()=>C(!1)},k.filter(oe=>!oe.position&&F===0||oe.position===D).map((oe,Ft)=>{var Je,pt;return v.createElement(Wi,{key:oe.id,icons:A,index:Ft,toast:oe,defaultRichColors:m,duration:(Je=b?.duration)!=null?Je:f,className:b?.className,descriptionClassName:b?.descriptionClassName,invert:n,visibleToasts:g,closeButton:(pt=b?.closeButton)!=null?pt:l,interacting:J,position:D,style:b?.style,unstyled:b?.unstyled,classNames:b?.classNames,cancelButtonStyle:b?.cancelButtonStyle,actionButtonStyle:b?.actionButtonStyle,removeToast:U,toasts:k.filter(Xe=>Xe.position==oe.position),heights:S.filter(Xe=>Xe.position==oe.position),setHeights:E,expandByDefault:a,gap:x,loadingIcon:w,expanded:R,pauseWhenPageIsHidden:I,swipeDirections:t.swipeDirections})})):null}))});const Yi=({...t})=>{const{theme:e="system"}=xi();return s.jsx(qi,{theme:e,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})},Ki=Ta,Ji=h.forwardRef(({className:t,sideOffset:e=4,...n},o)=>s.jsx(So,{ref:o,sideOffset:e,className:K("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...n}));Ji.displayName=So.displayName;function Xi(){return h.useEffect(()=>{const t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[]),s.jsxs("div",{className:"fixed inset-0 z-[9999] grid place-items-center bg-background text-foreground",role:"status","aria-live":"polite","aria-label":"Loading What Anime",children:[s.jsxs("div",{className:"relative flex flex-col items-center gap-4",children:[s.jsx("div",{className:"text-4xl md:text-6xl font-bold text-primary animate-pulse",children:"What Anime"}),s.jsx("div",{className:"tracking-[0.25em] uppercase text-sm text-muted-foreground",children:"Loading..."})]}),s.jsx("div",{className:"absolute bottom-12 w-[60%] max-w-xl h-1 bg-muted rounded-full overflow-hidden",children:s.jsx("div",{className:"h-full w-full bg-gradient-to-r from-primary to-secondary animate-pulse"})})]})}const Qi="https://obhjzrksrismzslqjxaz.supabase.co",Zi="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9iaGp6cmtzcmlzbXpzbHFqeGF6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjExNDM1MDAsImV4cCI6MjA3NjcxOTUwMH0.9Wu7kQII_Ya-d23UVOX_2jhSvVlAvJ40zQ-5Rt1qMv4",xt=Fa(Qi,Zi,{auth:{storage:localStorage,persistSession:!0,autoRefreshToken:!0}}),P=t=>typeof t=="string",tt=()=>{let t,e;const n=new Promise((o,r)=>{t=o,e=r});return n.resolve=t,n.reject=e,n},Gn=t=>t==null?"":""+t,el=(t,e,n)=>{t.forEach(o=>{e[o]&&(n[o]=e[o])})},tl=/###/g,qn=t=>t&&t.indexOf("###")>-1?t.replace(tl,"."):t,Yn=t=>!t||P(t),st=(t,e,n)=>{const o=P(e)?e.split("."):e;let r=0;for(;r<o.length-1;){if(Yn(t))return{};const a=qn(o[r]);!t[a]&&n&&(t[a]=new n),Object.prototype.hasOwnProperty.call(t,a)?t=t[a]:t={},++r}return Yn(t)?{}:{obj:t,k:qn(o[r])}},Kn=(t,e,n)=>{const{obj:o,k:r}=st(t,e,Object);if(o!==void 0||e.length===1){o[r]=n;return}let a=e[e.length-1],l=e.slice(0,e.length-1),i=st(t,l,Object);for(;i.obj===void 0&&l.length;)a=`${l[l.length-1]}.${a}`,l=l.slice(0,l.length-1),i=st(t,l,Object),i?.obj&&typeof i.obj[`${i.k}.${a}`]<"u"&&(i.obj=void 0);i.obj[`${i.k}.${a}`]=n},nl=(t,e,n,o)=>{const{obj:r,k:a}=st(t,e,Object);r[a]=r[a]||[],r[a].push(n)},wt=(t,e)=>{const{obj:n,k:o}=st(t,e);if(n&&Object.prototype.hasOwnProperty.call(n,o))return n[o]},ol=(t,e,n)=>{const o=wt(t,n);return o!==void 0?o:wt(e,n)},yr=(t,e,n)=>{for(const o in e)o!=="__proto__"&&o!=="constructor"&&(o in t?P(t[o])||t[o]instanceof String||P(e[o])||e[o]instanceof String?n&&(t[o]=e[o]):yr(t[o],e[o],n):t[o]=e[o]);return t},He=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var rl={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const al=t=>P(t)?t.replace(/[&<>"'\/]/g,e=>rl[e]):t;class sl{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const o=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,o),this.regExpQueue.push(e),o}}const il=[" ",",","?","!",";"],ll=new sl(20),cl=(t,e,n)=>{e=e||"",n=n||"";const o=il.filter(l=>e.indexOf(l)<0&&n.indexOf(l)<0);if(o.length===0)return!0;const r=ll.getRegExp(`(${o.map(l=>l==="?"?"\\?":l).join("|")})`);let a=!r.test(t);if(!a){const l=t.indexOf(n);l>0&&!r.test(t.substring(0,l))&&(a=!0)}return a},on=(t,e,n=".")=>{if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const o=e.split(n);let r=t;for(let a=0;a<o.length;){if(!r||typeof r!="object")return;let l,i="";for(let c=a;c<o.length;++c)if(c!==a&&(i+=n),i+=o[c],l=r[i],l!==void 0){if(["string","number","boolean"].indexOf(typeof l)>-1&&c<o.length-1)continue;a+=c-a+1;break}r=l}return r},lt=t=>t?.replace("_","-"),dl={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console?.[t]?.apply?.(console,e)}};class St{constructor(e,n={}){this.init(e,n)}init(e,n={}){this.prefix=n.prefix||"i18next:",this.logger=e||dl,this.options=n,this.debug=n.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,o,r){return r&&!this.debug?null:(P(e[0])&&(e[0]=`${o}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new St(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new St(this.logger,e)}}var Se=new St;class Ot{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(o=>{this.observers[o]||(this.observers[o]=new Map);const r=this.observers[o].get(n)||0;this.observers[o].set(n,r+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e,...n){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([r,a])=>{for(let l=0;l<a;l++)r(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,a])=>{for(let l=0;l<a;l++)r.apply(r,[e,...n])})}}class Jn extends Ot{constructor(e,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,o,r={}){const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,l=r.ignoreJSONStructure!==void 0?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let i;e.indexOf(".")>-1?i=e.split("."):(i=[e,n],o&&(Array.isArray(o)?i.push(...o):P(o)&&a?i.push(...o.split(a)):i.push(o)));const c=wt(this.data,i);return!c&&!n&&!o&&e.indexOf(".")>-1&&(e=i[0],n=i[1],o=i.slice(2).join(".")),c||!l||!P(o)?c:on(this.data?.[e]?.[n],o,a)}addResource(e,n,o,r,a={silent:!1}){const l=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let i=[e,n];o&&(i=i.concat(l?o.split(l):o)),e.indexOf(".")>-1&&(i=e.split("."),r=n,n=i[1]),this.addNamespaces(n),Kn(this.data,i,r),a.silent||this.emit("added",e,n,o,r)}addResources(e,n,o,r={silent:!1}){for(const a in o)(P(o[a])||Array.isArray(o[a]))&&this.addResource(e,n,a,o[a],{silent:!0});r.silent||this.emit("added",e,n,o)}addResourceBundle(e,n,o,r,a,l={silent:!1,skipCopy:!1}){let i=[e,n];e.indexOf(".")>-1&&(i=e.split("."),r=o,o=n,n=i[1]),this.addNamespaces(n);let c=wt(this.data,i)||{};l.skipCopy||(o=JSON.parse(JSON.stringify(o))),r?yr(c,o,a):c={...c,...o},Kn(this.data,i,c),l.silent||this.emit("added",e,n,o)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(r=>n[r]&&Object.keys(n[r]).length>0)}toJSON(){return this.data}}var br={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,o,r){return t.forEach(a=>{e=this.processors[a]?.process(e,n,o,r)??e}),e}};const vr=Symbol("i18next/PATH_KEY");function ul(){const t=[],e=Object.create(null);let n;return e.get=(o,r)=>(n?.revoke?.(),r===vr?t:(t.push(r),n=Proxy.revocable(o,e),n.proxy)),Proxy.revocable(Object.create(null),e).proxy}function rn(t,e){const{[vr]:n}=t(ul());return n.join(e?.keySeparator??".")}const Xn={},Gt=t=>!P(t)&&typeof t!="boolean"&&typeof t!="number";class At extends Ot{constructor(e,n={}){super(),el(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Se.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,n={interpolation:{}}){const o={...n};if(e==null)return!1;const r=this.resolve(e,o);if(r?.res===void 0)return!1;const a=Gt(r.res);return!(o.returnObjects===!1&&a)}extractFromKey(e,n){let o=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");const r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const l=o&&e.indexOf(o)>-1,i=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!cl(e,o,r);if(l&&!i){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:P(a)?[a]:a};const d=e.split(o);(o!==r||o===r&&this.options.ns.indexOf(d[0])>-1)&&(a=d.shift()),e=d.join(r)}return{key:e,namespaces:P(a)?[a]:a}}translate(e,n,o){let r=typeof n=="object"?{...n}:n;if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),e==null)return"";typeof e=="function"&&(e=rn(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]);const a=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,l=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:i,namespaces:c}=this.extractFromKey(e[e.length-1],r),d=c[c.length-1];let u=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;u===void 0&&(u=":");const m=r.lng||this.language,f=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(m?.toLowerCase()==="cimode")return f?a?{res:`${d}${u}${i}`,usedKey:i,exactUsedKey:i,usedLng:m,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:`${d}${u}${i}`:a?{res:i,usedKey:i,exactUsedKey:i,usedLng:m,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:i;const p=this.resolve(e,r);let g=p?.res;const b=p?.usedKey||i,y=p?.exactUsedKey||i,x=["[object Number]","[object Function]","[object RegExp]"],w=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,A=!this.i18nFormat||this.i18nFormat.handleAsObject,j=r.count!==void 0&&!P(r.count),I=At.hasDefaultValue(r),k=j?this.pluralResolver.getSuffix(m,r.count,r):"",V=r.ordinal&&j?this.pluralResolver.getSuffix(m,r.count,{ordinal:!1}):"",te=j&&!r.ordinal&&r.count===0,S=te&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${k}`]||r[`defaultValue${V}`]||r.defaultValue;let E=g;A&&!g&&I&&(E=S);const R=Gt(E),T=Object.prototype.toString.apply(E);if(A&&E&&R&&x.indexOf(T)<0&&!(P(w)&&Array.isArray(E))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const J=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,E,{...r,ns:c}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(p.res=J,p.usedParams=this.getUsedParamsDetails(r),p):J}if(l){const J=Array.isArray(E),C=J?[]:{},ne=J?y:b;for(const z in E)if(Object.prototype.hasOwnProperty.call(E,z)){const q=`${ne}${l}${z}`;I&&!g?C[z]=this.translate(q,{...r,defaultValue:Gt(S)?S[z]:void 0,joinArrays:!1,ns:c}):C[z]=this.translate(q,{...r,joinArrays:!1,ns:c}),C[z]===q&&(C[z]=E[z])}g=C}}else if(A&&P(w)&&Array.isArray(g))g=g.join(w),g&&(g=this.extendTranslation(g,e,r,o));else{let J=!1,C=!1;!this.isValidLookup(g)&&I&&(J=!0,g=S),this.isValidLookup(g)||(C=!0,g=i);const z=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:g,q=I&&S!==g&&this.options.updateMissing;if(C||J||q){if(this.logger.log(q?"updateKey":"missingKey",m,d,i,q?S:g),l){const U=this.resolve(i,{...r,keySeparator:!1});U&&U.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let ae=[];const N=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&N&&N[0])for(let U=0;U<N.length;U++)ae.push(N[U]);else this.options.saveMissingTo==="all"?ae=this.languageUtils.toResolveHierarchy(r.lng||this.language):ae.push(r.lng||this.language);const re=(U,D,F)=>{const W=I&&F!==g?F:z;this.options.missingKeyHandler?this.options.missingKeyHandler(U,d,D,W,q,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(U,d,D,W,q,r),this.emit("missingKey",U,d,D,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&j?ae.forEach(U=>{const D=this.pluralResolver.getSuffixes(U,r);te&&r[`defaultValue${this.options.pluralSeparator}zero`]&&D.indexOf(`${this.options.pluralSeparator}zero`)<0&&D.push(`${this.options.pluralSeparator}zero`),D.forEach(F=>{re([U],i+F,r[`defaultValue${F}`]||S)})}):re(ae,i,S))}g=this.extendTranslation(g,e,r,p,o),C&&g===i&&this.options.appendNamespaceToMissingKey&&(g=`${d}${u}${i}`),(C||J)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${u}${i}`:i,J?g:void 0,r))}return a?(p.res=g,p.usedParams=this.getUsedParamsDetails(r),p):g}extendTranslation(e,n,o,r,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...o},o.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init({...o,interpolation:{...this.options.interpolation,...o.interpolation}});const c=P(e)&&(o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(c){const m=e.match(this.interpolator.nestingRegexp);d=m&&m.length}let u=o.replace&&!P(o.replace)?o.replace:o;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,o.lng||this.language||r.usedLng,o),c){const m=e.match(this.interpolator.nestingRegexp),f=m&&m.length;d<f&&(o.nest=!1)}!o.lng&&r&&r.res&&(o.lng=this.language||r.usedLng),o.nest!==!1&&(e=this.interpolator.nest(e,(...m)=>a?.[0]===m[0]&&!o.context?(this.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${n[0]}`),null):this.translate(...m,n),o)),o.interpolation&&this.interpolator.reset()}const l=o.postProcess||this.options.postProcess,i=P(l)?[l]:l;return e!=null&&i?.length&&o.applyPostProcessor!==!1&&(e=br.handle(i,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(o)},...o}:o,this)),e}resolve(e,n={}){let o,r,a,l,i;return P(e)&&(e=[e]),e.forEach(c=>{if(this.isValidLookup(o))return;const d=this.extractFromKey(c,n),u=d.key;r=u;let m=d.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const f=n.count!==void 0&&!P(n.count),p=f&&!n.ordinal&&n.count===0,g=n.context!==void 0&&(P(n.context)||typeof n.context=="number")&&n.context!=="",b=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);m.forEach(y=>{this.isValidLookup(o)||(i=y,!Xn[`${b[0]}-${y}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(i)&&(Xn[`${b[0]}-${y}`]=!0,this.logger.warn(`key "${r}" for languages "${b.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(x=>{if(this.isValidLookup(o))return;l=x;const w=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(w,u,x,y,n);else{let j;f&&(j=this.pluralResolver.getSuffix(x,n.count,n));const I=`${this.options.pluralSeparator}zero`,k=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(n.ordinal&&j.indexOf(k)===0&&w.push(u+j.replace(k,this.options.pluralSeparator)),w.push(u+j),p&&w.push(u+I)),g){const V=`${u}${this.options.contextSeparator||"_"}${n.context}`;w.push(V),f&&(n.ordinal&&j.indexOf(k)===0&&w.push(V+j.replace(k,this.options.pluralSeparator)),w.push(V+j),p&&w.push(V+I))}}let A;for(;A=w.pop();)this.isValidLookup(o)||(a=A,o=this.getResource(x,y,A,n))}))})}),{res:o,usedKey:r,exactUsedKey:a,usedLng:l,usedNS:i}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,o,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,n,o,r):this.resourceStore.getResource(e,n,o,r)}getUsedParamsDetails(e={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],o=e.replace&&!P(e.replace);let r=o?e.replace:e;if(o&&typeof e.count<"u"&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!o){r={...r};for(const a of n)delete r[a]}return r}static hasDefaultValue(e){const n="defaultValue";for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&n===o.substring(0,n.length)&&e[o]!==void 0)return!0;return!1}}class Qn{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Se.create("languageUtils")}getScriptPartFromCode(e){if(e=lt(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=lt(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(P(e)&&e.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(o=>{if(n)return;const r=this.formatLanguageCode(o);(!this.options.supportedLngs||this.isSupportedCode(r))&&(n=r)}),!n&&this.options.supportedLngs&&e.forEach(o=>{if(n)return;const r=this.getScriptPartFromCode(o);if(this.isSupportedCode(r))return n=r;const a=this.getLanguagePartFromCode(o);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(l=>{if(l===a)return l;if(!(l.indexOf("-")<0&&a.indexOf("-")<0)&&(l.indexOf("-")>0&&a.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===a||l.indexOf(a)===0&&a.length>1))return l})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),P(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let o=e[n];return o||(o=e[this.getScriptPartFromCode(n)]),o||(o=e[this.formatLanguageCode(n)]),o||(o=e[this.getLanguagePartFromCode(n)]),o||(o=e.default),o||[]}toResolveHierarchy(e,n){const o=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],e),r=[],a=l=>{l&&(this.isSupportedCode(l)?r.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))};return P(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):P(e)&&a(this.formatLanguageCode(e)),o.forEach(l=>{r.indexOf(l)<0&&a(this.formatLanguageCode(l))}),r}}const Zn={zero:0,one:1,two:2,few:3,many:4,other:5},eo={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class pl{constructor(e,n={}){this.languageUtils=e,this.options=n,this.logger=Se.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,n={}){const o=lt(e==="dev"?"en":e),r=n.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:o,type:r});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let l;try{l=new Intl.PluralRules(o,{type:r})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),eo;if(!e.match(/-|_/))return eo;const c=this.languageUtils.getLanguagePartFromCode(e);l=this.getRule(c,n)}return this.pluralRulesCache[a]=l,l}needsPlural(e,n={}){let o=this.getRule(e,n);return o||(o=this.getRule("dev",n)),o?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,n,o={}){return this.getSuffixes(e,o).map(r=>`${n}${r}`)}getSuffixes(e,n={}){let o=this.getRule(e,n);return o||(o=this.getRule("dev",n)),o?o.resolvedOptions().pluralCategories.sort((r,a)=>Zn[r]-Zn[a]).map(r=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r}`):[]}getSuffix(e,n,o={}){const r=this.getRule(e,o);return r?`${this.options.prepend}${o.ordinal?`ordinal${this.options.prepend}`:""}${r.select(n)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",n,o))}}const to=(t,e,n,o=".",r=!0)=>{let a=ol(t,e,n);return!a&&r&&P(n)&&(a=on(t,n,o),a===void 0&&(a=on(e,n,o))),a},qt=t=>t.replace(/\$/g,"$$$$");class no{constructor(e={}){this.logger=Se.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(n=>n),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:o,useRawValueToEscape:r,prefix:a,prefixEscaped:l,suffix:i,suffixEscaped:c,formatSeparator:d,unescapeSuffix:u,unescapePrefix:m,nestingPrefix:f,nestingPrefixEscaped:p,nestingSuffix:g,nestingSuffixEscaped:b,nestingOptionsSeparator:y,maxReplaces:x,alwaysFormat:w}=e.interpolation;this.escape=n!==void 0?n:al,this.escapeValue=o!==void 0?o:!0,this.useRawValueToEscape=r!==void 0?r:!1,this.prefix=a?He(a):l||"{{",this.suffix=i?He(i):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=u?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=f?He(f):p||He("$t("),this.nestingSuffix=g?He(g):b||He(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=x||1e3,this.alwaysFormat=w!==void 0?w:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,o)=>n?.source===o?(n.lastIndex=0,n):new RegExp(o,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,n,o,r){let a,l,i;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=p=>{if(p.indexOf(this.formatSeparator)<0){const x=to(n,c,p,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(x,void 0,o,{...r,...n,interpolationkey:p}):x}const g=p.split(this.formatSeparator),b=g.shift().trim(),y=g.join(this.formatSeparator).trim();return this.format(to(n,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),y,o,{...r,...n,interpolationkey:b})};this.resetRegExp();const u=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,m=r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:p=>qt(p)},{regex:this.regexp,safeValue:p=>this.escapeValue?qt(this.escape(p)):qt(p)}].forEach(p=>{for(i=0;a=p.regex.exec(e);){const g=a[1].trim();if(l=d(g),l===void 0)if(typeof u=="function"){const y=u(e,a,r);l=P(y)?y:""}else if(r&&Object.prototype.hasOwnProperty.call(r,g))l="";else if(m){l=a[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),l="";else!P(l)&&!this.useRawValueToEscape&&(l=Gn(l));const b=p.safeValue(l);if(e=e.replace(a[0],b),m?(p.regex.lastIndex+=l.length,p.regex.lastIndex-=a[0].length):p.regex.lastIndex=0,i++,i>=this.maxReplaces)break}}),e}nest(e,n,o={}){let r,a,l;const i=(c,d)=>{const u=this.nestingOptionsSeparator;if(c.indexOf(u)<0)return c;const m=c.split(new RegExp(`${u}[ ]*{`));let f=`{${m[1]}`;c=m[0],f=this.interpolate(f,l);const p=f.match(/'/g),g=f.match(/"/g);((p?.length??0)%2===0&&!g||g.length%2!==0)&&(f=f.replace(/'/g,'"'));try{l=JSON.parse(f),d&&(l={...d,...l})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${u}${f}`}return l.defaultValue&&l.defaultValue.indexOf(this.prefix)>-1&&delete l.defaultValue,c};for(;r=this.nestingRegexp.exec(e);){let c=[];l={...o},l=l.replace&&!P(l.replace)?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;const d=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(c=r[1].slice(d).split(this.formatSeparator).map(u=>u.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),a=n(i.call(this,r[1].trim(),l),l),a&&r[0]===e&&!P(a))return a;P(a)||(a=Gn(a)),a||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),a=""),c.length&&(a=c.reduce((u,m)=>this.format(u,m,o.lng,{...o,interpolationkey:r[1].trim()}),a.trim())),e=e.replace(r[0],a),this.regexp.lastIndex=0}return e}}const hl=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const o=t.split("(");e=o[0].toLowerCase().trim();const r=o[1].substring(0,o[1].length-1);e==="currency"&&r.indexOf(":")<0?n.currency||(n.currency=r.trim()):e==="relativetime"&&r.indexOf(":")<0?n.range||(n.range=r.trim()):r.split(";").forEach(l=>{if(l){const[i,...c]=l.split(":"),d=c.join(":").trim().replace(/^'+|'+$/g,""),u=i.trim();n[u]||(n[u]=d),d==="false"&&(n[u]=!1),d==="true"&&(n[u]=!0),isNaN(d)||(n[u]=parseInt(d,10))}})}return{formatName:e,formatOptions:n}},oo=t=>{const e={};return(n,o,r)=>{let a=r;r&&r.interpolationkey&&r.formatParams&&r.formatParams[r.interpolationkey]&&r[r.interpolationkey]&&(a={...a,[r.interpolationkey]:void 0});const l=o+JSON.stringify(a);let i=e[l];return i||(i=t(lt(o),r),e[l]=i),i(n)}},ml=t=>(e,n,o)=>t(lt(n),o)(e);class fl{constructor(e={}){this.logger=Se.create("formatter"),this.options=e,this.init(e)}init(e,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const o=n.cacheInBuiltFormats?oo:ml;this.formats={number:o((r,a)=>{const l=new Intl.NumberFormat(r,{...a});return i=>l.format(i)}),currency:o((r,a)=>{const l=new Intl.NumberFormat(r,{...a,style:"currency"});return i=>l.format(i)}),datetime:o((r,a)=>{const l=new Intl.DateTimeFormat(r,{...a});return i=>l.format(i)}),relativetime:o((r,a)=>{const l=new Intl.RelativeTimeFormat(r,{...a});return i=>l.format(i,a.range||"day")}),list:o((r,a)=>{const l=new Intl.ListFormat(r,{...a});return i=>l.format(i)})}}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=oo(n)}format(e,n,o,r={}){const a=n.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(i=>i.indexOf(")")>-1)){const i=a.findIndex(c=>c.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,i)].join(this.formatSeparator)}return a.reduce((i,c)=>{const{formatName:d,formatOptions:u}=hl(c);if(this.formats[d]){let m=i;try{const f=r?.formatParams?.[r.interpolationkey]||{},p=f.locale||f.lng||r.locale||r.lng||o;m=this.formats[d](i,p,{...u,...r,...f})}catch(f){this.logger.warn(f)}return m}else this.logger.warn(`there was no format function for ${d}`);return i},e)}}const gl=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class yl extends Ot{constructor(e,n,o,r={}){super(),this.backend=e,this.store=n,this.services=o,this.languageUtils=o.languageUtils,this.options=r,this.logger=Se.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(o,r.backend,r)}queueLoad(e,n,o,r){const a={},l={},i={},c={};return e.forEach(d=>{let u=!0;n.forEach(m=>{const f=`${d}|${m}`;!o.reload&&this.store.hasResourceBundle(d,m)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?l[f]===void 0&&(l[f]=!0):(this.state[f]=1,u=!1,l[f]===void 0&&(l[f]=!0),a[f]===void 0&&(a[f]=!0),c[m]===void 0&&(c[m]=!0)))}),u||(i[d]=!0)}),(Object.keys(a).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(a),pending:Object.keys(l),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(c)}}loaded(e,n,o){const r=e.split("|"),a=r[0],l=r[1];n&&this.emit("failedLoading",a,l,n),!n&&o&&this.store.addResourceBundle(a,l,o,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&o&&(this.state[e]=0);const i={};this.queue.forEach(c=>{nl(c.loaded,[a],l),gl(c,e),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{i[d]||(i[d]={});const u=c.loaded[d];u.length&&u.forEach(m=>{i[d][m]===void 0&&(i[d][m]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(c=>!c.done)}read(e,n,o,r=0,a=this.retryTimeout,l){if(!e.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:o,tried:r,wait:a,callback:l});return}this.readingCalls++;const i=(d,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(d&&u&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,o,r+1,a*2,l)},a);return}l(d,u)},c=this.backend[o].bind(this.backend);if(c.length===2){try{const d=c(e,n);d&&typeof d.then=="function"?d.then(u=>i(null,u)).catch(i):i(null,d)}catch(d){i(d)}return}return c(e,n,i)}prepareLoading(e,n,o={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();P(e)&&(e=this.languageUtils.toResolveHierarchy(e)),P(n)&&(n=[n]);const a=this.queueLoad(e,n,o,r);if(!a.toLoad.length)return a.pending.length||r(),null;a.toLoad.forEach(l=>{this.loadOne(l)})}load(e,n,o){this.prepareLoading(e,n,{},o)}reload(e,n,o){this.prepareLoading(e,n,{reload:!0},o)}loadOne(e,n=""){const o=e.split("|"),r=o[0],a=o[1];this.read(r,a,"read",void 0,void 0,(l,i)=>{l&&this.logger.warn(`${n}loading namespace ${a} for language ${r} failed`,l),!l&&i&&this.logger.log(`${n}loaded namespace ${a} for language ${r}`,i),this.loaded(e,l,i)})}saveMissing(e,n,o,r,a,l={},i=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${o}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(o==null||o==="")){if(this.backend?.create){const c={...l,isUpdate:a},d=this.backend.create.bind(this.backend);if(d.length<6)try{let u;d.length===5?u=d(e,n,o,r,c):u=d(e,n,o,r),u&&typeof u.then=="function"?u.then(m=>i(null,m)).catch(i):i(null,u)}catch(u){i(u)}else d(e,n,o,r,i,c)}!e||!e[0]||this.store.addResource(e[0],n,o,r)}}}const Yt=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),P(t[1])&&(e.defaultValue=t[1]),P(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(o=>{e[o]=n[o]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),ro=t=>(P(t.ns)&&(t.ns=[t.ns]),P(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),P(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs?.indexOf?.("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t),gt=()=>{},bl=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})};class it extends Ot{constructor(e={},n){if(super(),this.options=ro(e),this.services={},this.logger=Se,this.modules={external:[]},bl(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(e={},n){this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(P(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const o=Yt();this.options={...o,...this.options,...ro(e)},this.options.interpolation={...o.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=o.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const r=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Se.init(r(this.modules.logger),this.options):Se.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=fl;const u=new Qn(this.options);this.store=new Jn(this.options.resources,this.options);const m=this.services;m.logger=Se,m.resourceStore=this.store,m.languageUtils=u,m.pluralResolver=new pl(u,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),d&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(m.formatter=r(d),m.formatter.init&&m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new no(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new yl(r(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",(p,...g)=>{this.emit(p,...g)}),this.modules.languageDetector&&(m.languageDetector=r(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=r(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new At(this.services,this.options),this.translator.on("*",(p,...g)=>{this.emit(p,...g)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=gt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=(...u)=>this.store[d](...u)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...u)=>(this.store[d](...u),this)});const i=tt(),c=()=>{const d=(u,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(m),n(u,m)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?c():setTimeout(c,0),i}loadResources(e,n=gt){let o=n;const r=P(e)?e:this.language;if(typeof e=="function"&&(o=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return o();const a=[],l=i=>{if(!i||i==="cimode")return;this.services.languageUtils.toResolveHierarchy(i).forEach(d=>{d!=="cimode"&&a.indexOf(d)<0&&a.push(d)})};r?l(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>l(c)),this.options.preload?.forEach?.(i=>l(i)),this.services.backendConnector.load(a,this.options.ns,i=>{!i&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),o(i)})}else o(null)}reloadResources(e,n,o){const r=tt();return typeof e=="function"&&(o=e,e=void 0),typeof n=="function"&&(o=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),o||(o=gt),this.services.backendConnector.reload(e,n,a=>{r.resolve(),o(a)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&br.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let n=0;n<this.languages.length;n++){const o=this.languages[n];if(!(["cimode","dev"].indexOf(o)>-1)&&this.store.hasLanguageSomeTranslations(o)){this.resolvedLanguage=o;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,n){this.isLanguageChangingTo=e;const o=tt();this.emit("languageChanging",e);const r=i=>{this.language=i,this.languages=this.services.languageUtils.toResolveHierarchy(i),this.resolvedLanguage=void 0,this.setResolvedLanguage(i)},a=(i,c)=>{c?this.isLanguageChangingTo===e&&(r(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,o.resolve((...d)=>this.t(...d)),n&&n(i,(...d)=>this.t(...d))},l=i=>{!e&&!i&&this.services.languageDetector&&(i=[]);const c=P(i)?i:i&&i[0],d=this.store.hasLanguageSomeTranslations(c)?c:this.services.languageUtils.getBestMatchFromCodes(P(i)?[i]:i);d&&(this.language||r(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector?.cacheUserLanguage?.(d)),this.loadResources(d,u=>{a(u,d)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),o}getFixedT(e,n,o){const r=(a,l,...i)=>{let c;typeof l!="object"?c=this.options.overloadTranslationOptionHandler([a,l].concat(i)):c={...l},c.lng=c.lng||r.lng,c.lngs=c.lngs||r.lngs,c.ns=c.ns||r.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||o||r.keyPrefix);const d=this.options.keySeparator||".";let u;return c.keyPrefix&&Array.isArray(a)?u=a.map(m=>(typeof m=="function"&&(m=rn(m,{...this.options,...l})),`${c.keyPrefix}${d}${m}`)):(typeof a=="function"&&(a=rn(a,{...this.options,...l})),u=c.keyPrefix?`${c.keyPrefix}${d}${a}`:a),this.t(u,c)};return P(e)?r.lng=e:r.lngs=e,r.ns=n,r.keyPrefix=o,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const o=n.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(o.toLowerCase()==="cimode")return!0;const l=(i,c)=>{const d=this.services.backendConnector.state[`${i}|${c}`];return d===-1||d===0||d===2};if(n.precheck){const i=n.precheck(this,l);if(i!==void 0)return i}return!!(this.hasResourceBundle(o,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(o,e)&&(!r||l(a,e)))}loadNamespaces(e,n){const o=tt();return this.options.ns?(P(e)&&(e=[e]),e.forEach(r=>{this.options.ns.indexOf(r)<0&&this.options.ns.push(r)}),this.loadResources(r=>{o.resolve(),n&&n(r)}),o):(n&&n(),Promise.resolve())}loadLanguages(e,n){const o=tt();P(e)&&(e=[e]);const r=this.options.preload||[],a=e.filter(l=>r.indexOf(l)<0&&this.services.languageUtils.isSupportedCode(l));return a.length?(this.options.preload=r.concat(a),this.loadResources(l=>{o.resolve(),n&&n(l)}),o):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const r=new Intl.Locale(e);if(r&&r.getTextInfo){const a=r.getTextInfo();if(a&&a.direction)return a.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],o=this.services?.languageUtils||new Qn(Yt());return e.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(o.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},n){const o=new it(e,n);return o.createInstance=it.createInstance,o}cloneInstance(e={},n=gt){const o=e.forkResourceStore;o&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},a=new it(r);if((e.debug!==void 0||e.prefix!==void 0)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(i=>{a[i]=this[i]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},o){const i=Object.keys(this.store.data).reduce((c,d)=>(c[d]={...this.store.data[d]},c[d]=Object.keys(c[d]).reduce((u,m)=>(u[m]={...c[d][m]},u),c[d]),c),{});a.store=new Jn(i,r),a.services.resourceStore=a.store}if(e.interpolation){const c={...Yt().interpolation,...this.options.interpolation,...e.interpolation},d={...r,interpolation:c};a.services.interpolator=new no(d)}return a.translator=new At(a.services,r),a.translator.on("*",(i,...c)=>{a.emit(i,...c)}),a.init(r,n),a.translator.options=r,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const ce=it.createInstance();ce.createInstance;ce.dir;ce.init;ce.loadResources;ce.reloadResources;ce.use;ce.changeLanguage;ce.getFixedT;ce.t;ce.exists;ce.setDefaultNamespace;ce.hasLoadedNamespace;ce.loadNamespaces;ce.loadLanguages;const vl=(t,e,n,o)=>{const r=[n,{code:e,...o||{}}];if(t?.services?.logger?.forward)return t.services.logger.forward(r,"warn","react-i18next::",!0);De(r[0])&&(r[0]=`react-i18next:: ${r[0]}`),t?.services?.logger?.warn?t.services.logger.warn(...r):console?.warn&&console.warn(...r)},ao={},xr=(t,e,n,o)=>{De(n)&&ao[n]||(De(n)&&(ao[n]=new Date),vl(t,e,n,o))},wr=(t,e)=>()=>{if(t.isInitialized)e();else{const n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}},an=(t,e,n)=>{t.loadNamespaces(e,wr(t,n))},so=(t,e,n,o)=>{if(De(n)&&(n=[n]),t.options.preload&&t.options.preload.indexOf(e)>-1)return an(t,n,o);n.forEach(r=>{t.options.ns.indexOf(r)<0&&t.options.ns.push(r)}),t.loadLanguages(e,wr(t,o))},xl=(t,e,n={})=>!e.languages||!e.languages.length?(xr(e,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:e.languages}),!0):e.hasLoadedNamespace(t,{lng:n.lng,precheck:(o,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!r(o.isLanguageChangingTo,t))return!1}}),De=t=>typeof t=="string",wl=t=>typeof t=="object"&&t!==null,Sl=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Al={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Tl=t=>Al[t],Cl=t=>t.replace(Sl,Tl);let sn={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Cl,transDefaultProps:void 0};const El=(t={})=>{sn={...sn,...t}},jl=()=>sn;let Sr;const Nl=t=>{Sr=t},Pl=()=>Sr,kl={type:"3rdParty",init(t){El(t.options.react),Nl(t)}},Rl=h.createContext();class Il{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Ar={exports:{}},Tr={};/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var qe=h;function Ol(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ll=typeof Object.is=="function"?Object.is:Ol,Ml=qe.useState,Dl=qe.useEffect,Fl=qe.useLayoutEffect,_l=qe.useDebugValue;function zl(t,e){var n=e(),o=Ml({inst:{value:n,getSnapshot:e}}),r=o[0].inst,a=o[1];return Fl(function(){r.value=n,r.getSnapshot=e,Kt(r)&&a({inst:r})},[t,n,e]),Dl(function(){return Kt(r)&&a({inst:r}),t(function(){Kt(r)&&a({inst:r})})},[t]),_l(n),n}function Kt(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Ll(t,n)}catch{return!0}}function $l(t,e){return e()}var Hl=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?$l:zl;Tr.useSyncExternalStore=qe.useSyncExternalStore!==void 0?qe.useSyncExternalStore:Hl;Ar.exports=Tr;var Bl=Ar.exports;const Vl=(t,e)=>De(e)?e:wl(e)&&De(e.defaultValue)?e.defaultValue:Array.isArray(t)?t[t.length-1]:t,Ul={t:Vl,ready:!1},Wl=()=>()=>{},Lt=(t,e={})=>{const{i18n:n}=e,{i18n:o,defaultNS:r}=h.useContext(Rl)||{},a=n||o||Pl();a&&!a.reportNamespaces&&(a.reportNamespaces=new Il),a||xr(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const l=h.useMemo(()=>({...jl(),...a?.options?.react,...e}),[a,e]),{useSuspense:i,keyPrefix:c}=l,d=r||a?.options?.defaultNS,u=De(d)?[d]:d||["translation"],m=h.useMemo(()=>u,u);a?.reportNamespaces?.addUsedNamespaces?.(m);const f=h.useRef(0),p=h.useCallback(S=>{if(!a)return Wl;const{bindI18n:E,bindI18nStore:R}=l,T=()=>{f.current+=1,S()};return E&&a.on(E,T),R&&a.store.on(R,T),()=>{E&&E.split(" ").forEach(J=>a.off(J,T)),R&&R.split(" ").forEach(J=>a.store.off(J,T))}},[a,l]),g=h.useRef(),b=h.useCallback(()=>{if(!a)return Ul;const S=!!(a.isInitialized||a.initializedStoreOnce)&&m.every(ne=>xl(ne,a,l)),E=e.lng||a.language,R=f.current,T=g.current;if(T&&T.ready===S&&T.lng===E&&T.keyPrefix===c&&T.revision===R)return T;const C={t:a.getFixedT(E,l.nsMode==="fallback"?m:m[0],c),ready:S,lng:E,keyPrefix:c,revision:R};return g.current=C,C},[a,m,c,l,e.lng]),[y,x]=h.useState(0),{t:w,ready:A}=Bl.useSyncExternalStore(p,b,b);h.useEffect(()=>{if(a&&!A&&!i){const S=()=>x(E=>E+1);e.lng?so(a,e.lng,m,S):an(a,m,S)}},[a,e.lng,m,A,i,y]);const j=a||{},I=h.useRef(null),k=h.useRef(),V=S=>{const E=Object.getOwnPropertyDescriptors(S);E.__original&&delete E.__original;const R=Object.create(Object.getPrototypeOf(S),E);if(!Object.prototype.hasOwnProperty.call(R,"__original"))try{Object.defineProperty(R,"__original",{value:S,writable:!1,enumerable:!1,configurable:!1})}catch{}return R},te=h.useMemo(()=>{const S=j,E=S?.language;let R=S;S&&(I.current&&I.current.__original===S?k.current!==E?(R=V(S),I.current=R,k.current=E):R=I.current:(R=V(S),I.current=R,k.current=E));const T=[w,R,A];return T.t=w,T.i18n=R,T.ready=A,T},[w,j,A,j.resolvedLanguage,j.language,j.languages]);if(a&&i&&!A)throw new Promise(S=>{const E=()=>S();e.lng?so(a,e.lng,m,E):an(a,m,E)});return te};function Gl({size:t=180,className:e=""}){return s.jsxs("svg",{width:t,height:t*.4,viewBox:"-10 -10 420 180",role:"img","aria-label":"What Anime",className:e,style:{overflow:"visible"},children:[s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"neon-grad",x1:"0",y1:"0",x2:"1",y2:"1",children:[s.jsx("stop",{offset:"0%",stopColor:"#ff5b9a"}),s.jsx("stop",{offset:"50%",stopColor:"#8e2de2"}),s.jsx("stop",{offset:"100%",stopColor:"#5bc0ff"})]}),s.jsxs("filter",{id:"neon-glow",children:[s.jsx("feGaussianBlur",{stdDeviation:"4",result:"blur"}),s.jsxs("feMerge",{children:[s.jsx("feMergeNode",{in:"blur"}),s.jsx("feMergeNode",{in:"SourceGraphic"})]})]})]}),s.jsx("text",{x:"200",y:"90",fontFamily:"Poppins, 'Noto Sans JP', system-ui",fontSize:"72",fontWeight:"800",fill:"url(#neon-grad)",filter:"url(#neon-glow)",textAnchor:"middle",letterSpacing:"4",children:"WHAT ANIME"}),s.jsx("text",{x:"200",y:"130",fontFamily:"'Noto Sans JP', system-ui",fontSize:"20",fontWeight:"400",fill:"#9ca3af",textAnchor:"middle",letterSpacing:"8",children:"ネクサス"})]})}const ql=Ea,Yl=ja,Lh=Na,Kl=h.forwardRef(({className:t,inset:e,children:n,...o},r)=>s.jsxs(Ao,{ref:r,className:K("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent",e&&"pl-8",t),...o,children:[n,s.jsx(sr,{className:"ml-auto h-4 w-4"})]}));Kl.displayName=Ao.displayName;const Jl=h.forwardRef(({className:t,...e},n)=>s.jsx(To,{ref:n,className:K("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));Jl.displayName=To.displayName;const Cr=h.forwardRef(({className:t,sideOffset:e=4,...n},o)=>s.jsx(Ca,{children:s.jsx(Co,{ref:o,sideOffset:e,className:K("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...n})}));Cr.displayName=Co.displayName;const Er=h.forwardRef(({className:t,inset:e,...n},o)=>s.jsx(Eo,{ref:o,className:K("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e&&"pl-8",t),...n}));Er.displayName=Eo.displayName;const Xl=h.forwardRef(({className:t,children:e,checked:n,...o},r)=>s.jsxs(jo,{ref:r,className:K("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t),checked:n,...o,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(No,{children:s.jsx(bs,{className:"h-4 w-4"})})}),e]}));Xl.displayName=jo.displayName;const Ql=h.forwardRef(({className:t,children:e,...n},o)=>s.jsxs(Po,{ref:o,className:K("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t),...n,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(No,{children:s.jsx(xs,{className:"h-2 w-2 fill-current"})})}),e]}));Ql.displayName=Po.displayName;const Zl=h.forwardRef(({className:t,inset:e,...n},o)=>s.jsx(ko,{ref:o,className:K("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t),...n}));Zl.displayName=ko.displayName;const ec=h.forwardRef(({className:t,...e},n)=>s.jsx(Ro,{ref:n,className:K("-mx-1 my-1 h-px bg-muted",t),...e}));ec.displayName=Ro.displayName;const tc=gn("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Re=h.forwardRef(({className:t,variant:e,size:n,asChild:o=!1,...r},a)=>{const l=o?Pa:"button";return s.jsx(l,{className:K(tc({variant:e,size:n,className:t})),ref:a,...r})});Re.displayName="Button";const{slice:nc,forEach:oc}=[];function rc(t){return oc.call(nc.call(arguments,1),e=>{if(e)for(const n in e)t[n]===void 0&&(t[n]=e[n])}),t}function ac(t){return typeof t!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(t))}const io=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,sc=function(t,e){const o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},r=encodeURIComponent(e);let a=`${t}=${r}`;if(o.maxAge>0){const l=o.maxAge-0;if(Number.isNaN(l))throw new Error("maxAge should be a Number");a+=`; Max-Age=${Math.floor(l)}`}if(o.domain){if(!io.test(o.domain))throw new TypeError("option domain is invalid");a+=`; Domain=${o.domain}`}if(o.path){if(!io.test(o.path))throw new TypeError("option path is invalid");a+=`; Path=${o.path}`}if(o.expires){if(typeof o.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+=`; Expires=${o.expires.toUTCString()}`}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o.partitioned&&(a+="; Partitioned"),a},lo={create(t,e,n,o){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+n*60*1e3)),o&&(r.domain=o),document.cookie=sc(t,e,r)},read(t){const e=`${t}=`,n=document.cookie.split(";");for(let o=0;o<n.length;o++){let r=n[o];for(;r.charAt(0)===" ";)r=r.substring(1,r.length);if(r.indexOf(e)===0)return r.substring(e.length,r.length)}return null},remove(t,e){this.create(t,"",-1,e)}};var ic={name:"cookie",lookup(t){let{lookupCookie:e}=t;if(e&&typeof document<"u")return lo.read(e)||void 0},cacheUserLanguage(t,e){let{lookupCookie:n,cookieMinutes:o,cookieDomain:r,cookieOptions:a}=e;n&&typeof document<"u"&&lo.create(n,t,o,r,a)}},lc={name:"querystring",lookup(t){let{lookupQuerystring:e}=t,n;if(typeof window<"u"){let{search:o}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(o=window.location.hash.substring(window.location.hash.indexOf("?")));const a=o.substring(1).split("&");for(let l=0;l<a.length;l++){const i=a[l].indexOf("=");i>0&&a[l].substring(0,i)===e&&(n=a[l].substring(i+1))}}return n}},cc={name:"hash",lookup(t){let{lookupHash:e,lookupFromHashIndex:n}=t,o;if(typeof window<"u"){const{hash:r}=window.location;if(r&&r.length>2){const a=r.substring(1);if(e){const l=a.split("&");for(let i=0;i<l.length;i++){const c=l[i].indexOf("=");c>0&&l[i].substring(0,c)===e&&(o=l[i].substring(c+1))}}if(o)return o;if(!o&&n>-1){const l=r.match(/\/([a-zA-Z-]*)/g);return Array.isArray(l)?l[typeof n=="number"?n:0]?.replace("/",""):void 0}}}return o}};let Be=null;const co=()=>{if(Be!==null)return Be;try{if(Be=typeof window<"u"&&window.localStorage!==null,!Be)return!1;const t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Be=!1}return Be};var dc={name:"localStorage",lookup(t){let{lookupLocalStorage:e}=t;if(e&&co())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupLocalStorage:n}=e;n&&co()&&window.localStorage.setItem(n,t)}};let Ve=null;const uo=()=>{if(Ve!==null)return Ve;try{if(Ve=typeof window<"u"&&window.sessionStorage!==null,!Ve)return!1;const t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ve=!1}return Ve};var uc={name:"sessionStorage",lookup(t){let{lookupSessionStorage:e}=t;if(e&&uo())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupSessionStorage:n}=e;n&&uo()&&window.sessionStorage.setItem(n,t)}},pc={name:"navigator",lookup(t){const e=[];if(typeof navigator<"u"){const{languages:n,userLanguage:o,language:r}=navigator;if(n)for(let a=0;a<n.length;a++)e.push(n[a]);o&&e.push(o),r&&e.push(r)}return e.length>0?e:void 0}},hc={name:"htmlTag",lookup(t){let{htmlTag:e}=t,n;const o=e||(typeof document<"u"?document.documentElement:null);return o&&typeof o.getAttribute=="function"&&(n=o.getAttribute("lang")),n}},mc={name:"path",lookup(t){let{lookupFromPathIndex:e}=t;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof e=="number"?e:0]?.replace("/",""):void 0}},fc={name:"subdomain",lookup(t){let{lookupFromSubdomainIndex:e}=t;const n=typeof e=="number"?e+1:1,o=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(o)return o[n]}};let jr=!1;try{document.cookie,jr=!0}catch{}const Nr=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];jr||Nr.splice(1,1);const gc=()=>({order:Nr,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:t=>t});class Pr{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,n)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=rc(n,this.options||{},gc()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=r=>r.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(ic),this.addDetector(lc),this.addDetector(dc),this.addDetector(uc),this.addDetector(pc),this.addDetector(hc),this.addDetector(mc),this.addDetector(fc),this.addDetector(cc)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return e.forEach(o=>{if(this.detectors[o]){let r=this.detectors[o].lookup(this.options);r&&typeof r=="string"&&(r=[r]),r&&(n=n.concat(r))}}),n=n.filter(o=>o!=null&&!ac(o)).map(o=>this.options.convertDetectedLanguage(o)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||n.forEach(o=>{this.detectors[o]&&this.detectors[o].cacheUserLanguage(e,this.options)}))}}Pr.type="languageDetector";const yc={home:"Home",search:"Search",explore:"Explore",schedule:"Schedule",shows:"Shows",blog:"Blog",upcoming:"Upcoming",events:"Events",account:"Account",signIn:"Sign In",viewAll:"View All",readMore:"Read More",loading:"Loading...",error:"Error",submit:"Submit",cancel:"Cancel",save:"Save",language:"Language",allShows:"All Shows",following:"Following",browseShows:"Browse Shows",aboutUs:"About Us",contact:"Contact",madeWith:"Made with",forAnimeFans:"for anime fans worldwide",loginRequired:"Login required",back:"Back"},bc={heroTitle1:"Your Portal to",heroTitle2:"Everything Anime",heroDescription:"Track releases, discover shows, and never miss an episode. Welcome to the next-gen hub for anime fans.",exploreShows:"Explore Shows",releaseSchedule:"Release Schedule",thisWeeksReleases:"This Week's Releases",noUpcomingEpisodes:"No upcoming episodes this week.",checkSchedule:"Check the schedule page for more releases.",latestNews:"Latest News",noNewsAvailable:"No news articles available yet.",fromBlog:"From the Blog: Anime Tips & Guides",noBlogPosts:"No blog posts available yet.",viewAllPosts:"View All Posts",createAccount:"Create Account",myAccount:"My Account"},vc={title:"Intercepted Signal: Identify Source",recording:"REC",systemAccess:"System Access",enterAnimeTitle:"Enter anime title...",submitIdentification:"Submit Identification",accessGranted:"Access Granted",accessDenied:"Access Denied",signalIdentified:"Signal identified as:",correctAnswerWas:"The correct answer was:",copyReport:"Copy Report",reportCopied:"Report Copied!",shareWithFriends:"Share your result with friends."},xc={title:"Find Anime from Screenshot",description:"Upload or paste a screenshot and we'll identify the anime with AI-powered multi-stage search",dropzone:"Drag & drop an image here",orClick:"or click to browse",browseFormats:"JPG, PNG, WebP • Auto-cleans borders & subtitles",pasteHint:"Paste (Ctrl+V / Cmd+V) also works",searching:"Searching...",noResults:"No results found",confidence:"Confidence",episode:"Episode",timestamp:"Timestamp",viewDetails:"View Details",tryAgain:"Try Again",shareWithCommunity:"Share result with community",adjustCrop:"Adjust Crop",clear:"Clear",cropImage:"Crop Image",manualCrop:"Manual Crop",retryWithEnhance:"Retry with AI Upscaling",imageCleaned:"Image cleaned",enhancingImage:"Enhancing image...",usingAI:"Using AI to sharpen and improve clarity",lowConfidence:"Low confidence match",noMatches:"No matches found.",improveResults:"Try one of these options to improve results:",runningAI:"Running AI vision analysis...",ensembleSearch:"Running ensemble search...",queryingSauceNAO:"Querying SauceNAO for additional matches",searchAnime:"Search Anime",uploadImage:"Upload Image",results:"Results",submitCorrection:"Submit Correction",bestMatch:"Best Match",uncertain:"Uncertain",aiEnhancement:"AI Image Enhancement",sharpensBlurry:"sharpens blurry screenshots",retryingWithAI:"Retrying with AI Upscaling",enhancingQuality:"Enhancing image quality before search...",cropApplied:"Crop applied",searchWithCropped:"Search again with the cropped image",sharedToCommunity:"Shared with community!",sharedDescription:"Your search result is now visible on the Explore page.",sharedToExplore:"Shared to Explore page",cleaningImage:"Cleaning image...",aiEnhancing:"AI enhancing...",searchingTraceMoe:"Searching trace.moe...",queryingSauceNAOShort:"Querying SauceNAO...",runningAIAnalysis:"Running AI analysis...",searchComplete:"Search complete",searched:"Searched",sauceNAOResults:"SauceNAO Results",aiDetectiveAnalysis:"AI Detective Analysis",sceneDescription:"Scene Description",characters:"Characters",aiSuggestions:"AI Suggestions",aiConfidence:"AI Confidence",relatedAnime:"Related Anime from AniList",score:"Score",correctTheSauce:"Correct the Sauce",knowTheAnswer:"Know the answer? Help improve results",poweredBy:"Powered by",correctionSubmitted:"Correction submitted",correctionThanks:"Thank you for helping improve our results!",loginToShare:"Sign in to share your results with the community"},wc={title:"Explore Community Scenes",description:"Discover anime scenes shared by our community",trending:"Trending",latest:"Latest",unsolved:"Unsolved",unknownAnime:"Unknown Anime",noScenesYet:"No scenes yet",beFirstToShare:"Be the first to share an anime scene with the community!",searchAndShare:"Search & Share",episode:"Ep",unsolvedBadge:"Unsolved"},Sc={submitCorrection:"Submit Correction",helpImprove:"Help improve search results by providing the correct anime information.",animeTitle:"Anime Title",enterCorrectTitle:"Enter correct anime title",episodeOptional:"Episode (optional)",episodeNumber:"Episode number",howDoYouKnow:"How do you know? (optional)",reasonPlaceholder:"e.g., I just watched this episode",submitting:"Submitting...",submit:"Submit"},Ac={title:"Release Schedule",description:"Never miss an episode. Times displayed in",syncSchedule:"Sync Schedule",syncing:"Syncing...",syncNow:"Sync Schedule Now",noUpcoming:"No Upcoming Episodes",clickSync:'Click "Sync Schedule" to fetch the latest airing schedules',loadingSchedule:"Loading schedule...",localTime:"Local Time"},Tc={siteDescription:"Your ultimate cyberpunk hub for tracking anime releases, discovering shows, and staying updated with the latest news.",quickLinks:"Quick Links",support:"Support",legal:"Legal",privacy:"Privacy Policy",terms:"Terms of Service",copyright:"All rights reserved."},Cc={title:"Anime Directory",description:"Discover and track your favorite anime series",searchPlaceholder:"Search anime titles...",syncShows:"Sync Shows",syncing:"Syncing...",sortBy:"Sort By",mostPopular:"Most Popular",newlyReleased:"Newly Released",highestRated:"Highest Rated",genres:"Genres",filters:"Filters",clearAll:"Clear All",loadingShows:"Loading anime shows...",noShowsFound:"No Shows Found",clickSync:'Click "Sync Shows" to populate the database with anime from Crunchyroll and other platforms',syncNow:"Sync Shows Now",notInDatabase:"This show hasn't been synced yet. Use 'Sync Shows' to add it.",moreGenre:"More {{genre}} Anime",moreFromStudio:"More from {{studio}}"},Ec={menu:"Menu",genres:"Genres",studios:"Studios",seasons:"Seasons",characters:"Characters"},jc={title:"Anime Blog & Guides",description:"Discover tips, guides, and insights to help you navigate the world of anime",noPosts:"No blog posts yet. Check back soon!",minRead:"min read"},Nc={title:"Anime Events Near You",description:"Discover anime conventions, screenings, and exhibitions happening around the world",filterByLocation:"Filter by Location",country:"Country",city:"City",allCountries:"All Countries",allCities:"All Cities",loadingEvents:"Loading events...",noEventsFound:"No upcoming events found in this location.",tryDifferentLocation:"Try selecting a different country or city!",eventDetails:"Event Details",addToCalendar:"Add to Calendar",organizedBy:"Organized by"},Pc={title:"Upcoming Anime",description:"Discover anime scheduled to release in the near future",loading:"Loading upcoming anime...",noUpcoming:"No upcoming anime found.",upcoming:"Upcoming",releases:"Releases",expectedScore:"Expected Score"},kc={title:"Account Settings",description:"Manage your preferences and notifications",loading:"Loading account...",signInRequired:"Sign In Required",signInMessage:"Please sign in to access your account settings",goToHome:"Go to Home",profile:"Profile",username:"Username",usernamePlaceholder:"Enter username (3-30 characters)",usernameHint:"3-30 characters, must be unique",email:"Email",emailHint:"Email cannot be changed",timezone:"Timezone",yourTimezone:"Your Timezone",timezoneHint:"All episode times will be displayed in your local timezone",favoritedAnime:"Favorited Anime",noFavorites:"You haven't favorited any anime yet.",visitShows:"Visit the Shows page to follow your favorites!",unfollow:"Unfollow",signOut:"Sign Out",saveChanges:"Save Changes",saving:"Saving...",usernameTaken:"Username already taken",settingsSaved:"Settings saved successfully!",failedToSave:"Failed to save settings",unfollowedSuccess:"Unfollowed successfully",failedToUnfollow:"Failed to unfollow",signedOut:"Signed out successfully",failedToLoad:"Failed to load account",failedToCreateProfile:"Failed to create profile"},Rc={title:"Anime Genres",description:"Discover anime by your favorite genre. From action-packed adventures to heartwarming romances.",anime:"Anime",browseAll:"Browse all genres",names:{Action:"Action",Adventure:"Adventure",Comedy:"Comedy",Drama:"Drama",Fantasy:"Fantasy",Horror:"Horror",Mystery:"Mystery",Romance:"Romance","Sci-Fi":"Sci-Fi","Slice of Life":"Slice of Life",Sports:"Sports",Supernatural:"Supernatural",Thriller:"Thriller",Mecha:"Mecha",Isekai:"Isekai",Shounen:"Shounen",Shoujo:"Shoujo",Seinen:"Seinen",Psychological:"Psychological",Music:"Music",Ecchi:"Ecchi","Mahou Shoujo":"Mahou Shoujo"},descriptions:{Action:"High-energy anime with intense battles and exciting combat sequences",Adventure:"Epic journeys and exploration across fantastical worlds",Comedy:"Lighthearted entertainment that will make you laugh",Drama:"Emotionally compelling stories with deep character development",Fantasy:"Magical worlds filled with supernatural elements and creatures",Horror:"Spine-chilling tales designed to frighten and unsettle",Mystery:"Intriguing puzzles and detective stories to solve",Romance:"Heartwarming love stories and relationships","Sci-Fi":"Futuristic technology and scientific concepts","Slice of Life":"Everyday experiences and relatable life moments",Sports:"Competitive athletic pursuits and team dynamics",Supernatural:"Paranormal phenomena and otherworldly powers",Thriller:"Suspenseful narratives with unexpected twists",Mecha:"Giant robots and mechanical combat",Isekai:"Characters transported to another world",Shounen:"Action-oriented stories aimed at young males",Shoujo:"Romantic stories aimed at young females",Seinen:"Mature themes for adult male audiences",Psychological:"Mind-bending exploration of human psyche",Music:"Stories centered around music and musicians"}},Ic={title:"Anime Studios",description:"Explore the legendary studios behind your favorite anime",searchPlaceholder:"Search studios...",founded:"Founded",anime:"Anime",animationStudio:"Animation Studio",productionCompany:"Production Company",allStudios:"All Studios",noStudiosFound:"No studios found matching your search.",noAnimeLinked:"No anime linked to this studio yet.",exploreAnimeBy:"Explore anime produced by",descriptions:{MAPPA:"Known for groundbreaking animation in Attack on Titan, Jujutsu Kaisen, and Chainsaw Man",ufotable:"Famous for stunning visuals in Demon Slayer and the Fate series","Kyoto Animation":"Beloved for emotional storytelling in Violet Evergarden and K-On!","Studio Ghibli":"Legendary studio behind Spirited Away and My Neighbor Totoro",Bones:"Creators of My Hero Academia and Fullmetal Alchemist","Wit Studio":"Known for Attack on Titan and Spy x Family","A-1 Pictures":"Producers of Sword Art Online and Kaguya-sama",CloverWorks:"Behind The Promised Neverland and My Dress-Up Darling",Madhouse:"Legendary studio behind One Punch Man and Death Note",Trigger:"Known for unique style in Kill la Kill and Cyberpunk Edgerunners","P.A.Works":"Beautiful visuals in Angel Beats! and Shirobako","Production I.G":"Creators of Ghost in the Shell and Psycho-Pass",Sunrise:"Home of Gundam and Code Geass","Toei Animation":"Behind Dragon Ball, One Piece, and Sailor Moon","J.C.Staff":"Producers of A Certain Scientific Railgun and Food Wars","White Fox":"Known for Re:Zero and Steins;Gate",Shaft:"Unique visual style in Monogatari series and Madoka Magica","CoMix Wave Films":"Studio behind Your Name and Weathering with You","Science SARU":"Innovative animation in Devilman Crybaby and Scott Pilgrim"}},Oc={title:"Anime Seasons",description:"Browse anime by season and year",winter:"Winter",spring:"Spring",summer:"Summer",fall:"Fall",anime:"Anime",backToSeasons:"Back to Seasons",noAnimeFound:"No anime found for this season."},Lc={title:"Anime Characters",description:"Discover iconic anime characters",searchPlaceholder:"Search characters...",favorites:"favorites",gender:"Gender",age:"Age",birthday:"Birthday",bloodType:"Blood Type",appearsIn:"Appears In",voiceActor:"Voice Actor",main:"Main",supporting:"Supporting",noCharactersFound:"No characters found.",backToCharacters:"Back to Characters"},Mc={title:"Watch Order Guides",description:"Complete filler guides for popular anime series. Know exactly which episodes to skip and how much time you'll save.",searchPlaceholder:"Search anime...",syncData:"Sync filler data",syncing:"Syncing...",loadingGuides:"Loading guides...",loadingGuide:"Loading guide...",noGuidesYet:"No filler guides available yet.",syncFillerData:"Sync Filler Data",guideNotFound:"Guide Not Found",noGuideFor:`We don't have a filler guide for "{{slug}}" yet.`,noGuidesFor:'No guides found for "{{search}}"',backToWatchOrders:"Back to Watch Orders",watchOrder:"WATCH ORDER",total:"TOTAL",eps:"EPS",canon:"CANON",filler:"FILLER",mixed:"MIXED",fillerPercent:"FILLER %",bingeTime:"BINGE TIME",canonOnly:"canon only",hideFiller:"HIDE FILLER",export:"EXPORT",discuss:"DISCUSS",generatingImage:"Generating image...",imageDownloaded:"Image downloaded!",failedToGenerate:"Failed to generate image",episode:"EP",mainStory:"Main Story",footer:"WHAT-ANIME.COM // WATCH ORDER GUIDE"},Dc={common:yc,home:bc,dailyGame:vc,screenshot:xc,explore:wc,correction:Sc,schedule:Ac,footer:Tc,shows:Cc,navigation:Ec,blog:jc,events:Nc,upcoming:Pc,account:kc,genres:Rc,studios:Ic,seasons:Oc,characters:Lc,watchOrders:Mc},Fc={home:"ホーム",search:"検索",explore:"探索",schedule:"スケジュール",shows:"番組",blog:"ブログ",upcoming:"近日公開",events:"イベント",account:"アカウント",signIn:"サインイン",viewAll:"すべて見る",readMore:"続きを読む",loading:"読み込み中...",error:"エラー",submit:"送信",cancel:"キャンセル",save:"保存",language:"言語",allShows:"すべての番組",following:"フォロー中",browseShows:"番組を閲覧",aboutUs:"私たちについて",contact:"お問い合わせ",madeWith:"愛を込めて",forAnimeFans:"世界中のアニメファンのために",loginRequired:"ログインが必要です",back:"戻る"},_c={heroTitle1:"あなたの入口",heroTitle2:"すべてのアニメへ",heroDescription:"リリースを追跡し、番組を発見し、エピソードを見逃さない。アニメファンのための次世代ハブへようこそ。",exploreShows:"番組を探索",releaseSchedule:"放送スケジュール",thisWeeksReleases:"今週のリリース",noUpcomingEpisodes:"今週の予定されたエピソードはありません。",checkSchedule:"スケジュールページで詳細を確認してください。",latestNews:"最新ニュース",noNewsAvailable:"ニュース記事はまだありません。",fromBlog:"ブログから:アニメのヒントとガイド",noBlogPosts:"ブログ記事はまだありません。",viewAllPosts:"すべての記事を見る",createAccount:"アカウント作成",myAccount:"マイアカウント"},zc={title:"傍受シグナル:ソースを特定",recording:"録画中",systemAccess:"システムアクセス",enterAnimeTitle:"アニメタイトルを入力...",submitIdentification:"識別を送信",accessGranted:"アクセス許可",accessDenied:"アクセス拒否",signalIdentified:"シグナルの特定結果:",correctAnswerWas:"正解は:",copyReport:"レポートをコピー",reportCopied:"レポートをコピーしました!",shareWithFriends:"友達と結果を共有しましょう。"},$c={title:"スクリーンショットからアニメを検索",description:"スクリーンショットをアップロードまたは貼り付けて、AI搭載のマルチステージ検索でアニメを特定",dropzone:"ここに画像をドラッグ&ドロップ",orClick:"またはクリックして参照",browseFormats:"JPG、PNG、WebP • 黒枠と字幕を自動除去",pasteHint:"貼り付け(Ctrl+V / Cmd+V)も可能",searching:"検索中...",noResults:"結果が見つかりません",confidence:"信頼度",episode:"エピソード",timestamp:"タイムスタンプ",viewDetails:"詳細を見る",tryAgain:"再試行",shareWithCommunity:"結果をコミュニティと共有",adjustCrop:"切り抜きを調整",clear:"クリア",cropImage:"画像を切り抜く",manualCrop:"手動切り抜き",retryWithEnhance:"AIアップスケールで再試行",imageCleaned:"画像をクリーンアップしました",enhancingImage:"画像を強化中...",usingAI:"AIで鮮明度を向上",lowConfidence:"低信頼度の一致",noMatches:"一致するものが見つかりません。",improveResults:"以下のオプションで結果を改善してみてください:",runningAI:"AIビジョン分析を実行中...",ensembleSearch:"アンサンブル検索を実行中...",queryingSauceNAO:"SauceNAOで追加の一致を検索中",searchAnime:"アニメを検索",uploadImage:"画像をアップロード",results:"結果",submitCorrection:"訂正を送信",bestMatch:"最良の一致",uncertain:"不確実",aiEnhancement:"AI画像強化",sharpensBlurry:"ぼやけたスクリーンショットを鮮明化",retryingWithAI:"AIアップスケールで再試行中",enhancingQuality:"検索前に画質を向上中...",cropApplied:"切り抜き適用",searchWithCropped:"切り抜いた画像で再検索",sharedToCommunity:"コミュニティと共有しました!",sharedDescription:"検索結果がExploreページに表示されます。",sharedToExplore:"Exploreページに共有済み",cleaningImage:"画像をクリーニング中...",aiEnhancing:"AI強化中...",searchingTraceMoe:"trace.moeを検索中...",queryingSauceNAOShort:"SauceNAOに問い合わせ中...",runningAIAnalysis:"AI分析を実行中...",searchComplete:"検索完了",searched:"検索エンジン",sauceNAOResults:"SauceNAO結果",aiDetectiveAnalysis:"AI探偵分析",sceneDescription:"シーン説明",characters:"キャラクター",aiSuggestions:"AI提案",aiConfidence:"AI信頼度",relatedAnime:"AniListからの関連アニメ",score:"スコア",correctTheSauce:"ソースを訂正",knowTheAnswer:"正解を知っていますか?結果の改善にご協力ください",poweredBy:"提供",correctionSubmitted:"訂正を送信しました",correctionThanks:"結果の改善にご協力いただきありがとうございます!",loginToShare:"コミュニティと結果を共有するにはサインインしてください"},Hc={title:"コミュニティシーンを探索",description:"コミュニティが共有したアニメシーンを発見",trending:"トレンド",latest:"最新",unsolved:"未解決",unknownAnime:"不明なアニメ",noScenesYet:"まだシーンがありません",beFirstToShare:"コミュニティで最初にアニメシーンを共有しましょう!",searchAndShare:"検索して共有",episode:"話",unsolvedBadge:"未解決"},Bc={submitCorrection:"修正を送信",helpImprove:"正しいアニメ情報を提供して検索結果を改善してください。",animeTitle:"アニメタイトル",enterCorrectTitle:"正しいアニメタイトルを入力",episodeOptional:"エピソード(任意)",episodeNumber:"エピソード番号",howDoYouKnow:"どうやって知りましたか?(任意)",reasonPlaceholder:"例:このエピソードを見たばかり",submitting:"送信中...",submit:"送信"},Vc={title:"放送スケジュール",description:"エピソードを見逃さない。表示時間:",syncSchedule:"スケジュールを同期",syncing:"同期中...",syncNow:"今すぐ同期",noUpcoming:"今後のエピソードはありません",clickSync:"「スケジュールを同期」をクリックして最新の放送スケジュールを取得",loadingSchedule:"スケジュールを読み込み中...",localTime:"現地時間"},Uc={siteDescription:"アニメのリリースを追跡し、番組を発見し、最新ニュースをチェックするためのサイバーパンクハブ。",quickLinks:"クイックリンク",support:"サポート",legal:"法的情報",privacy:"プライバシーポリシー",terms:"利用規約",copyright:"無断転載禁止。"},Wc={title:"アニメディレクトリ",description:"お気に入りのアニメシリーズを発見して追跡",searchPlaceholder:"アニメタイトルを検索...",syncShows:"番組を同期",syncing:"同期中...",sortBy:"並び替え",mostPopular:"人気順",newlyReleased:"新着順",highestRated:"評価順",genres:"ジャンル",filters:"フィルター",clearAll:"すべてクリア",loadingShows:"アニメ番組を読み込み中...",noShowsFound:"番組が見つかりません",clickSync:"「番組を同期」をクリックしてデータベースにアニメを追加",syncNow:"今すぐ同期",notInDatabase:"この番組はまだ同期されていません。「番組を同期」を使用して追加してください。",moreGenre:"{{genre}}のアニメをもっと見る",moreFromStudio:"{{studio}}の作品をもっと見る"},Gc={menu:"メニュー",genres:"ジャンル",studios:"スタジオ",seasons:"シーズン",characters:"キャラクター"},qc={title:"アニメブログ&ガイド",description:"アニメの世界をナビゲートするためのヒント、ガイド、洞察を発見",noPosts:"ブログ記事はまだありません。後でもう一度確認してください!",minRead:"分で読める"},Yc={title:"お近くのアニメイベント",description:"世界中で開催されるアニメコンベンション、上映会、展示会を発見",filterByLocation:"場所でフィルター",country:"国",city:"都市",allCountries:"すべての国",allCities:"すべての都市",loadingEvents:"イベントを読み込み中...",noEventsFound:"この場所では今後のイベントが見つかりません。",tryDifferentLocation:"別の国や都市を選択してみてください!",eventDetails:"イベント詳細",addToCalendar:"カレンダーに追加",organizedBy:"主催者"},Kc={title:"今後のアニメ",description:"近日中にリリース予定のアニメを発見",loading:"今後のアニメを読み込み中...",noUpcoming:"今後のアニメは見つかりませんでした。",upcoming:"今後",releases:"リリース",expectedScore:"予想スコア"},Jc={title:"アカウント設定",description:"設定と通知を管理",loading:"アカウントを読み込み中...",signInRequired:"サインインが必要です",signInMessage:"アカウント設定にアクセスするにはサインインしてください",goToHome:"ホームへ",profile:"プロフィール",username:"ユーザー名",usernamePlaceholder:"ユーザー名を入力(3〜30文字)",usernameHint:"3〜30文字、一意である必要があります",email:"メール",emailHint:"メールは変更できません",timezone:"タイムゾーン",yourTimezone:"あなたのタイムゾーン",timezoneHint:"すべてのエピソード時間はあなたのローカルタイムゾーンで表示されます",favoritedAnime:"お気に入りのアニメ",noFavorites:"まだお気に入りのアニメがありません。",visitShows:"番組ページでお気に入りをフォローしましょう!",unfollow:"フォロー解除",signOut:"サインアウト",saveChanges:"変更を保存",saving:"保存中...",usernameTaken:"ユーザー名は既に使用されています",settingsSaved:"設定が正常に保存されました!",failedToSave:"設定の保存に失敗しました",unfollowedSuccess:"フォロー解除しました",failedToUnfollow:"フォロー解除に失敗しました",signedOut:"サインアウトしました",failedToLoad:"アカウントの読み込みに失敗しました",failedToCreateProfile:"プロフィールの作成に失敗しました"},Xc={title:"アニメジャンル",description:"お気に入りのジャンルでアニメを発見。アクション満載の冒険から心温まるロマンスまで。",anime:"アニメ",browseAll:"すべてのジャンルを見る",names:{Action:"アクション",Adventure:"冒険",Comedy:"コメディ",Drama:"ドラマ",Fantasy:"ファンタジー",Horror:"ホラー",Mystery:"ミステリー",Romance:"ロマンス","Sci-Fi":"SF","Slice of Life":"日常",Sports:"スポーツ",Supernatural:"超自然",Thriller:"スリラー",Mecha:"メカ",Isekai:"異世界",Shounen:"少年",Shoujo:"少女",Seinen:"青年",Psychological:"サイコロジカル",Music:"音楽",Ecchi:"エッチ","Mahou Shoujo":"魔法少女"},descriptions:{Action:"激しいバトルとエキサイティングな戦闘シーンが満載のハイエナジーアニメ",Adventure:"ファンタスティックな世界を巡る壮大な冒険",Comedy:"笑いを届ける楽しいエンターテイメント",Drama:"深いキャラクター描写を持つ感動的なストーリー",Fantasy:"超自然的な要素と生き物で満たされた魔法の世界",Horror:"恐怖と不安を与える背筋が凍る物語",Mystery:"解き明かすべき謎と探偵ストーリー",Romance:"心温まる恋愛物語","Sci-Fi":"未来のテクノロジーと科学的概念","Slice of Life":"日常体験と共感できる瞬間",Sports:"競技スポーツとチームダイナミクス",Supernatural:"超常現象と異世界の力",Thriller:"予想外の展開を持つサスペンスな物語",Mecha:"巨大ロボットとメカ戦闘",Isekai:"異世界に転生・転移したキャラクター",Shounen:"少年向けのアクション志向ストーリー",Shoujo:"少女向けのロマンチックなストーリー",Seinen:"成人男性向けの成熟したテーマ",Psychological:"人間の心理を探求する作品",Music:"音楽とミュージシャンを中心にした物語"}},Qc={title:"アニメスタジオ",description:"お気に入りのアニメを手がける伝説のスタジオを探索",searchPlaceholder:"スタジオを検索...",founded:"設立",anime:"アニメ",animationStudio:"アニメーションスタジオ",productionCompany:"制作会社",allStudios:"すべてのスタジオ",noStudiosFound:"検索に一致するスタジオが見つかりません。",noAnimeLinked:"このスタジオにリンクされたアニメはまだありません。",exploreAnimeBy:"このスタジオの作品を探す",descriptions:{MAPPA:"進撃の巨人、呪術廻戦、チェンソーマンで革新的なアニメーションを制作",ufotable:"鬼滅の刃やFateシリーズの美しい映像で有名","Kyoto Animation":"ヴァイオレット・エヴァーガーデンやけいおん!の感動的なストーリーで愛される","Studio Ghibli":"千と千尋の神隠しやとなりのトトロを生んだ伝説のスタジオ",Bones:"僕のヒーローアカデミアや鋼の錬金術師の制作会社","Wit Studio":"進撃の巨人やSPY×FAMILYで知られる","A-1 Pictures":"ソードアート・オンラインやかぐや様は告らせたいの制作会社",CloverWorks:"約束のネバーランドや着せ恋を手掛ける",Madhouse:"ワンパンマンやデスノートを生んだ伝説のスタジオ",Trigger:"キルラキルやサイバーパンク エッジランナーズの独特なスタイルで有名","P.A.Works":"Angel Beats!やSHIROBAKOの美しい映像","Production I.G":"攻殻機動隊やPSYCHO-PASSの制作会社",Sunrise:"ガンダムやコードギアスの本拠地","Toei Animation":"ドラゴンボール、ワンピース、セーラームーンを制作","J.C.Staff":"とある科学の超電磁砲や食戟のソーマの制作会社","White Fox":"Re:ゼロやシュタインズ・ゲートで知られる",Shaft:"物語シリーズやまどか☆マギカの独特なビジュアルスタイル","CoMix Wave Films":"君の名は。や天気の子を制作したスタジオ","Science SARU":"DEVILMAN crybabyやスコット・ピルグリムの革新的なアニメーション"}},Zc={title:"アニメシーズン",description:"シーズンと年でアニメを閲覧",winter:"冬",spring:"春",summer:"夏",fall:"秋",anime:"アニメ",backToSeasons:"シーズン一覧に戻る",noAnimeFound:"このシーズンのアニメは見つかりませんでした。"},ed={title:"アニメキャラクター",description:"象徴的なアニメキャラクターを発見",searchPlaceholder:"キャラクターを検索...",favorites:"お気に入り",gender:"性別",age:"年齢",birthday:"誕生日",bloodType:"血液型",appearsIn:"出演作品",voiceActor:"声優",main:"メイン",supporting:"サポート",noCharactersFound:"キャラクターが見つかりません。",backToCharacters:"キャラクター一覧に戻る"},td={title:"視聴順ガイド",description:"人気アニメシリーズの完全なフィラーガイド。スキップすべきエピソードと節約できる時間を正確に把握できます。",searchPlaceholder:"アニメを検索...",syncData:"フィラーデータを同期",syncing:"同期中...",loadingGuides:"ガイドを読み込み中...",loadingGuide:"ガイドを読み込み中...",noGuidesYet:"フィラーガイドはまだありません。",syncFillerData:"フィラーデータを同期",guideNotFound:"ガイドが見つかりません",noGuideFor:"「{{slug}}」のフィラーガイドはまだありません。",noGuidesFor:"「{{search}}」のガイドが見つかりません",backToWatchOrders:"視聴順に戻る",watchOrder:"視聴順",total:"合計",eps:"話",canon:"本編",filler:"フィラー",mixed:"混合",fillerPercent:"フィラー率",bingeTime:"一気見時間",canonOnly:"本編のみ",hideFiller:"フィラーを非表示",export:"エクスポート",discuss:"議論",generatingImage:"画像を生成中...",imageDownloaded:"画像をダウンロードしました!",failedToGenerate:"画像の生成に失敗しました",episode:"第",mainStory:"メインストーリー",footer:"WHAT-ANIME.COM // 視聴順ガイド"},nd={common:Fc,home:_c,dailyGame:zc,screenshot:$c,explore:Hc,correction:Bc,schedule:Vc,footer:Uc,shows:Wc,navigation:Gc,blog:qc,events:Yc,upcoming:Kc,account:Jc,genres:Xc,studios:Qc,seasons:Zc,characters:ed,watchOrders:td},od={home:"Inicio",search:"Buscar",explore:"Explorar",schedule:"Horario",shows:"Series",blog:"Blog",upcoming:"Próximamente",events:"Eventos",account:"Cuenta",signIn:"Iniciar Sesión",viewAll:"Ver Todo",readMore:"Leer Más",loading:"Cargando...",error:"Error",submit:"Enviar",cancel:"Cancelar",save:"Guardar",language:"Idioma",allShows:"Todas las Series",following:"Siguiendo",browseShows:"Ver Series",aboutUs:"Sobre Nosotros",contact:"Contacto",madeWith:"Hecho con",forAnimeFans:"para fans del anime en todo el mundo",loginRequired:"Inicio de sesión requerido",back:"Volver"},rd={heroTitle1:"Tu Portal a",heroTitle2:"Todo el Anime",heroDescription:"Rastrea lanzamientos, descubre series y nunca te pierdas un episodio. Bienvenido al hub de nueva generación para fans del anime.",exploreShows:"Explorar Series",releaseSchedule:"Calendario de Lanzamientos",thisWeeksReleases:"Lanzamientos de Esta Semana",noUpcomingEpisodes:"No hay episodios programados para esta semana.",checkSchedule:"Consulta la página de horarios para más lanzamientos.",latestNews:"Últimas Noticias",noNewsAvailable:"Aún no hay artículos de noticias disponibles.",fromBlog:"Del Blog: Consejos y Guías de Anime",noBlogPosts:"Aún no hay publicaciones de blog disponibles.",viewAllPosts:"Ver Todas las Publicaciones",createAccount:"Crear Cuenta",myAccount:"Mi Cuenta"},ad={title:"Señal Interceptada: Identificar Fuente",recording:"GRAB",systemAccess:"Acceso al Sistema",enterAnimeTitle:"Ingresa el título del anime...",submitIdentification:"Enviar Identificación",accessGranted:"Acceso Concedido",accessDenied:"Acceso Denegado",signalIdentified:"Señal identificada como:",correctAnswerWas:"La respuesta correcta era:",copyReport:"Copiar Reporte",reportCopied:"¡Reporte Copiado!",shareWithFriends:"Comparte tu resultado con amigos."},sd={title:"Buscar Anime desde Captura",description:"Sube o pega una captura y la identificaremos con búsqueda multi-etapa potenciada por IA",dropzone:"Arrastra y suelta una imagen aquí",orClick:"o haz clic para buscar",browseFormats:"JPG, PNG, WebP • Limpia bordes y subtítulos automáticamente",pasteHint:"Pegar (Ctrl+V / Cmd+V) también funciona",searching:"Buscando...",noResults:"No se encontraron resultados",confidence:"Confianza",episode:"Episodio",timestamp:"Marca de tiempo",viewDetails:"Ver Detalles",tryAgain:"Intentar de Nuevo",shareWithCommunity:"Compartir resultado con la comunidad",adjustCrop:"Ajustar Recorte",clear:"Limpiar",cropImage:"Recortar Imagen",manualCrop:"Recorte Manual",retryWithEnhance:"Reintentar con IA",imageCleaned:"Imagen limpiada",enhancingImage:"Mejorando imagen...",usingAI:"Usando IA para mejorar la claridad",lowConfidence:"Coincidencia de baja confianza",noMatches:"No se encontraron coincidencias.",improveResults:"Prueba una de estas opciones para mejorar los resultados:",runningAI:"Ejecutando análisis de visión IA...",ensembleSearch:"Ejecutando búsqueda conjunta...",queryingSauceNAO:"Consultando SauceNAO para coincidencias adicionales",searchAnime:"Buscar Anime",uploadImage:"Subir Imagen",results:"Resultados",submitCorrection:"Enviar Corrección",bestMatch:"Mejor Coincidencia",uncertain:"Incierto",aiEnhancement:"Mejora de Imagen con IA",sharpensBlurry:"mejora capturas borrosas",retryingWithAI:"Reintentando con IA",enhancingQuality:"Mejorando calidad de imagen antes de buscar...",cropApplied:"Recorte aplicado",searchWithCropped:"Buscar de nuevo con la imagen recortada",sharedToCommunity:"¡Compartido con la comunidad!",sharedDescription:"Tu resultado de búsqueda es visible en la página Explorar.",sharedToExplore:"Compartido en Explorar",cleaningImage:"Limpiando imagen...",aiEnhancing:"Mejorando con IA...",searchingTraceMoe:"Buscando en trace.moe...",queryingSauceNAOShort:"Consultando SauceNAO...",runningAIAnalysis:"Ejecutando análisis IA...",searchComplete:"Búsqueda completa",searched:"Buscado en",sauceNAOResults:"Resultados de SauceNAO",aiDetectiveAnalysis:"Análisis Detective IA",sceneDescription:"Descripción de la Escena",characters:"Personajes",aiSuggestions:"Sugerencias IA",aiConfidence:"Confianza IA",relatedAnime:"Anime Relacionado de AniList",score:"Puntuación",correctTheSauce:"Corregir la Fuente",knowTheAnswer:"¿Sabes la respuesta? Ayuda a mejorar los resultados",poweredBy:"Impulsado por",correctionSubmitted:"Corrección enviada",correctionThanks:"¡Gracias por ayudar a mejorar nuestros resultados!",loginToShare:"Inicia sesión para compartir tus resultados con la comunidad"},id={title:"Explorar Escenas de la Comunidad",description:"Descubre escenas de anime compartidas por nuestra comunidad",trending:"Tendencias",latest:"Recientes",unsolved:"Sin Resolver",unknownAnime:"Anime Desconocido",noScenesYet:"Aún no hay escenas",beFirstToShare:"¡Sé el primero en compartir una escena de anime con la comunidad!",searchAndShare:"Buscar y Compartir",episode:"Ep",unsolvedBadge:"Sin Resolver"},ld={submitCorrection:"Enviar Corrección",helpImprove:"Ayuda a mejorar los resultados de búsqueda proporcionando la información correcta del anime.",animeTitle:"Título del Anime",enterCorrectTitle:"Ingresa el título correcto del anime",episodeOptional:"Episodio (opcional)",episodeNumber:"Número de episodio",howDoYouKnow:"¿Cómo lo sabes? (opcional)",reasonPlaceholder:"ej., Acabo de ver este episodio",submitting:"Enviando...",submit:"Enviar"},cd={title:"Calendario de Lanzamientos",description:"Nunca te pierdas un episodio. Horarios mostrados en",syncSchedule:"Sincronizar Horario",syncing:"Sincronizando...",syncNow:"Sincronizar Ahora",noUpcoming:"No Hay Episodios Próximos",clickSync:'Haz clic en "Sincronizar Horario" para obtener los últimos horarios',loadingSchedule:"Cargando horario...",localTime:"Hora Local"},dd={siteDescription:"Tu hub cyberpunk para rastrear lanzamientos de anime, descubrir series y mantenerte actualizado con las últimas noticias.",quickLinks:"Enlaces Rápidos",support:"Soporte",legal:"Legal",privacy:"Política de Privacidad",terms:"Términos de Servicio",copyright:"Todos los derechos reservados."},ud={title:"Directorio de Anime",description:"Descubre y sigue tus series de anime favoritas",searchPlaceholder:"Buscar títulos de anime...",syncShows:"Sincronizar Series",syncing:"Sincronizando...",sortBy:"Ordenar Por",mostPopular:"Más Popular",newlyReleased:"Recién Lanzado",highestRated:"Mejor Valorado",genres:"Géneros",filters:"Filtros",clearAll:"Limpiar Todo",loadingShows:"Cargando series de anime...",noShowsFound:"No Se Encontraron Series",clickSync:'Haz clic en "Sincronizar Series" para llenar la base de datos con anime',syncNow:"Sincronizar Ahora",notInDatabase:"Esta serie aún no está sincronizada. Usa 'Sincronizar Series' para agregarla.",moreGenre:"Más Anime de {{genre}}",moreFromStudio:"Más de {{studio}}"},pd={menu:"Menú",genres:"Géneros",studios:"Estudios",seasons:"Temporadas",characters:"Personajes"},hd={title:"Blog y Guías de Anime",description:"Descubre consejos, guías e información para navegar por el mundo del anime",noPosts:"Aún no hay publicaciones de blog. ¡Vuelve pronto!",minRead:"min de lectura"},md={title:"Eventos de Anime Cerca de Ti",description:"Descubre convenciones de anime, proyecciones y exposiciones en todo el mundo",filterByLocation:"Filtrar por Ubicación",country:"País",city:"Ciudad",allCountries:"Todos los Países",allCities:"Todas las Ciudades",loadingEvents:"Cargando eventos...",noEventsFound:"No se encontraron eventos próximos en esta ubicación.",tryDifferentLocation:"¡Intenta seleccionar un país o ciudad diferente!",eventDetails:"Detalles del Evento",addToCalendar:"Agregar al Calendario",organizedBy:"Organizado por"},fd={title:"Próximos Animes",description:"Descubre animes programados para lanzarse en un futuro cercano",loading:"Cargando próximos animes...",noUpcoming:"No se encontraron próximos animes.",upcoming:"Próximo",releases:"Lanzamiento",expectedScore:"Puntuación Esperada"},gd={title:"Configuración de Cuenta",description:"Administra tus preferencias y notificaciones",loading:"Cargando cuenta...",signInRequired:"Inicio de Sesión Requerido",signInMessage:"Por favor inicia sesión para acceder a la configuración de tu cuenta",goToHome:"Ir al Inicio",profile:"Perfil",username:"Nombre de Usuario",usernamePlaceholder:"Ingresa nombre de usuario (3-30 caracteres)",usernameHint:"3-30 caracteres, debe ser único",email:"Correo Electrónico",emailHint:"El correo no puede ser cambiado",timezone:"Zona Horaria",yourTimezone:"Tu Zona Horaria",timezoneHint:"Todos los horarios de episodios se mostrarán en tu zona horaria local",favoritedAnime:"Anime Favorito",noFavorites:"Aún no has marcado ningún anime como favorito.",visitShows:"¡Visita la página de Series para seguir tus favoritos!",unfollow:"Dejar de Seguir",signOut:"Cerrar Sesión",saveChanges:"Guardar Cambios",saving:"Guardando...",usernameTaken:"El nombre de usuario ya está en uso",settingsSaved:"¡Configuración guardada exitosamente!",failedToSave:"Error al guardar la configuración",unfollowedSuccess:"Dejaste de seguir exitosamente",failedToUnfollow:"Error al dejar de seguir",signedOut:"Sesión cerrada exitosamente",failedToLoad:"Error al cargar la cuenta",failedToCreateProfile:"Error al crear el perfil"},yd={title:"Géneros de Anime",description:"Descubre anime por tu género favorito. Desde aventuras llenas de acción hasta romances conmovedores.",anime:"Anime",browseAll:"Ver todos los géneros",names:{Action:"Acción",Adventure:"Aventura",Comedy:"Comedia",Drama:"Drama",Fantasy:"Fantasía",Horror:"Terror",Mystery:"Misterio",Romance:"Romance","Sci-Fi":"Ciencia Ficción","Slice of Life":"Recuentos de la Vida",Sports:"Deportes",Supernatural:"Sobrenatural",Thriller:"Suspenso",Mecha:"Mecha",Isekai:"Isekai",Shounen:"Shōnen",Shoujo:"Shōjo",Seinen:"Seinen",Psychological:"Psicológico",Music:"Música",Ecchi:"Ecchi","Mahou Shoujo":"Mahou Shoujo"},descriptions:{Action:"Anime de alta energía con batallas intensas y emocionantes secuencias de combate",Adventure:"Viajes épicos y exploración a través de mundos fantásticos",Comedy:"Entretenimiento ligero que te hará reír",Drama:"Historias emocionalmente convincentes con profundo desarrollo de personajes",Fantasy:"Mundos mágicos llenos de elementos sobrenaturales y criaturas",Horror:"Cuentos escalofriantes diseñados para asustar e inquietar",Mystery:"Rompecabezas intrigantes e historias de detectives",Romance:"Historias de amor conmovedoras y relaciones","Sci-Fi":"Tecnología futurista y conceptos científicos","Slice of Life":"Experiencias cotidianas y momentos de vida relatables",Sports:"Competiciones atléticas y dinámica de equipo",Supernatural:"Fenómenos paranormales y poderes sobrenaturales",Thriller:"Narrativas de suspenso con giros inesperados",Mecha:"Robots gigantes y combate mecánico",Isekai:"Personajes transportados a otro mundo",Shounen:"Historias orientadas a la acción para jóvenes varones",Shoujo:"Historias románticas para jóvenes mujeres",Seinen:"Temas maduros para audiencias masculinas adultas",Psychological:"Exploración de la psique humana",Music:"Historias centradas en la música y músicos"}},bd={title:"Estudios de Anime",description:"Explora los estudios legendarios detrás de tu anime favorito",searchPlaceholder:"Buscar estudios...",founded:"Fundado",anime:"Anime",animationStudio:"Estudio de Animación",productionCompany:"Compañía de Producción",allStudios:"Todos los Estudios",noStudiosFound:"No se encontraron estudios que coincidan con tu búsqueda.",noAnimeLinked:"Aún no hay anime vinculado a este estudio.",exploreAnimeBy:"Explora anime producido por",descriptions:{MAPPA:"Conocido por la animación revolucionaria en Attack on Titan, Jujutsu Kaisen y Chainsaw Man",ufotable:"Famoso por los visuales impresionantes en Demon Slayer y la serie Fate","Kyoto Animation":"Querido por las historias emotivas en Violet Evergarden y K-On!","Studio Ghibli":"Estudio legendario detrás de El viaje de Chihiro y Mi vecino Totoro",Bones:"Creadores de My Hero Academia y Fullmetal Alchemist","Wit Studio":"Conocido por Attack on Titan y Spy x Family","A-1 Pictures":"Productores de Sword Art Online y Kaguya-sama",CloverWorks:"Detrás de The Promised Neverland y My Dress-Up Darling",Madhouse:"Estudio legendario detrás de One Punch Man y Death Note",Trigger:"Conocido por su estilo único en Kill la Kill y Cyberpunk Edgerunners","P.A.Works":"Visuales hermosos en Angel Beats! y Shirobako","Production I.G":"Creadores de Ghost in the Shell y Psycho-Pass",Sunrise:"Hogar de Gundam y Code Geass","Toei Animation":"Detrás de Dragon Ball, One Piece y Sailor Moon","J.C.Staff":"Productores de A Certain Scientific Railgun y Food Wars","White Fox":"Conocido por Re:Zero y Steins;Gate",Shaft:"Estilo visual único en la serie Monogatari y Madoka Magica","CoMix Wave Films":"Estudio detrás de Your Name y Weathering with You","Science SARU":"Animación innovadora en Devilman Crybaby y Scott Pilgrim"}},vd={title:"Temporadas de Anime",description:"Navega anime por temporada y año",winter:"Invierno",spring:"Primavera",summer:"Verano",fall:"Otoño",anime:"Anime",backToSeasons:"Volver a Temporadas",noAnimeFound:"No se encontró anime para esta temporada."},xd={title:"Personajes de Anime",description:"Descubre personajes icónicos de anime",searchPlaceholder:"Buscar personajes...",favorites:"favoritos",gender:"Género",age:"Edad",birthday:"Cumpleaños",bloodType:"Tipo de Sangre",appearsIn:"Aparece En",voiceActor:"Actor de Voz",main:"Principal",supporting:"Secundario",noCharactersFound:"No se encontraron personajes.",backToCharacters:"Volver a Personajes"},wd={title:"Guías de Orden de Visualización",description:"Guías completas de relleno para series de anime populares. Sabe exactamente qué episodios saltar y cuánto tiempo ahorrarás.",searchPlaceholder:"Buscar anime...",syncData:"Sincronizar datos de relleno",syncing:"Sincronizando...",loadingGuides:"Cargando guías...",loadingGuide:"Cargando guía...",noGuidesYet:"Aún no hay guías de relleno disponibles.",syncFillerData:"Sincronizar Datos de Relleno",guideNotFound:"Guía No Encontrada",noGuideFor:'Aún no tenemos una guía de relleno para "{{slug}}".',noGuidesFor:'No se encontraron guías para "{{search}}"',backToWatchOrders:"Volver a Guías",watchOrder:"ORDEN DE VISUALIZACIÓN",total:"TOTAL",eps:"EPS",canon:"CANON",filler:"RELLENO",mixed:"MIXTO",fillerPercent:"% RELLENO",bingeTime:"TIEMPO DE MARATÓN",canonOnly:"solo canon",hideFiller:"OCULTAR RELLENO",export:"EXPORTAR",discuss:"DISCUTIR",generatingImage:"Generando imagen...",imageDownloaded:"¡Imagen descargada!",failedToGenerate:"Error al generar imagen",episode:"EP",mainStory:"Historia Principal",footer:"WHAT-ANIME.COM // GUÍA DE VISUALIZACIÓN"},Sd={common:od,home:rd,dailyGame:ad,screenshot:sd,explore:id,correction:ld,schedule:cd,footer:dd,shows:ud,navigation:pd,blog:hd,events:md,upcoming:fd,account:gd,genres:yd,studios:bd,seasons:vd,characters:xd,watchOrders:wd},Ad={home:"Início",search:"Pesquisar",explore:"Explorar",schedule:"Agenda",shows:"Séries",blog:"Blog",upcoming:"Em Breve",events:"Eventos",account:"Conta",signIn:"Entrar",viewAll:"Ver Tudo",readMore:"Ler Mais",loading:"Carregando...",error:"Erro",submit:"Enviar",cancel:"Cancelar",save:"Salvar",language:"Idioma",allShows:"Todas as Séries",following:"Seguindo",browseShows:"Ver Séries",aboutUs:"Sobre Nós",contact:"Contato",madeWith:"Feito com",forAnimeFans:"para fãs de anime em todo o mundo",loginRequired:"Login necessário",back:"Voltar"},Td={heroTitle1:"Seu Portal para",heroTitle2:"Todo o Anime",heroDescription:"Acompanhe lançamentos, descubra séries e nunca perca um episódio. Bem-vindo ao hub de nova geração para fãs de anime.",exploreShows:"Explorar Séries",releaseSchedule:"Calendário de Lançamentos",thisWeeksReleases:"Lançamentos desta Semana",noUpcomingEpisodes:"Não há episódios programados para esta semana.",checkSchedule:"Confira a página de agenda para mais lançamentos.",latestNews:"Últimas Notícias",noNewsAvailable:"Ainda não há artigos de notícias disponíveis.",fromBlog:"Do Blog: Dicas e Guias de Anime",noBlogPosts:"Ainda não há posts de blog disponíveis.",viewAllPosts:"Ver Todos os Posts",createAccount:"Criar Conta",myAccount:"Minha Conta"},Cd={title:"Sinal Interceptado: Identificar Fonte",recording:"GRAV",systemAccess:"Acesso ao Sistema",enterAnimeTitle:"Digite o título do anime...",submitIdentification:"Enviar Identificação",accessGranted:"Acesso Concedido",accessDenied:"Acesso Negado",signalIdentified:"Sinal identificado como:",correctAnswerWas:"A resposta correta era:",copyReport:"Copiar Relatório",reportCopied:"Relatório Copiado!",shareWithFriends:"Compartilhe seu resultado com amigos."},Ed={title:"Encontrar Anime por Captura",description:"Envie ou cole uma captura de tela e identificaremos o anime com busca multi-estágio potenciada por IA",dropzone:"Arraste e solte uma imagem aqui",orClick:"ou clique para navegar",browseFormats:"JPG, PNG, WebP • Limpa bordas e legendas automaticamente",pasteHint:"Colar (Ctrl+V / Cmd+V) também funciona",searching:"Buscando...",noResults:"Nenhum resultado encontrado",confidence:"Confiança",episode:"Episódio",timestamp:"Timestamp",viewDetails:"Ver Detalhes",tryAgain:"Tentar Novamente",shareWithCommunity:"Compartilhar resultado com a comunidade",adjustCrop:"Ajustar Corte",clear:"Limpar",cropImage:"Cortar Imagem",manualCrop:"Corte Manual",retryWithEnhance:"Tentar com IA",imageCleaned:"Imagem limpa",enhancingImage:"Melhorando imagem...",usingAI:"Usando IA para melhorar a nitidez",lowConfidence:"Correspondência de baixa confiança",noMatches:"Nenhuma correspondência encontrada.",improveResults:"Tente uma destas opções para melhorar os resultados:",runningAI:"Executando análise de visão IA...",ensembleSearch:"Executando busca conjunta...",queryingSauceNAO:"Consultando SauceNAO para correspondências adicionais",searchAnime:"Buscar Anime",uploadImage:"Enviar Imagem",results:"Resultados",submitCorrection:"Enviar Correção",bestMatch:"Melhor Correspondência",uncertain:"Incerto",aiEnhancement:"Melhoria de Imagem com IA",sharpensBlurry:"melhora capturas borradas",retryingWithAI:"Tentando novamente com IA",enhancingQuality:"Melhorando qualidade da imagem antes da busca...",cropApplied:"Corte aplicado",searchWithCropped:"Buscar novamente com a imagem cortada",sharedToCommunity:"Compartilhado com a comunidade!",sharedDescription:"Seu resultado de busca está visível na página Explorar.",sharedToExplore:"Compartilhado no Explorar",cleaningImage:"Limpando imagem...",aiEnhancing:"Melhorando com IA...",searchingTraceMoe:"Buscando no trace.moe...",queryingSauceNAOShort:"Consultando SauceNAO...",runningAIAnalysis:"Executando análise IA...",searchComplete:"Busca completa",searched:"Buscado em",sauceNAOResults:"Resultados do SauceNAO",aiDetectiveAnalysis:"Análise Detetive IA",sceneDescription:"Descrição da Cena",characters:"Personagens",aiSuggestions:"Sugestões IA",aiConfidence:"Confiança IA",relatedAnime:"Anime Relacionado do AniList",score:"Pontuação",correctTheSauce:"Corrigir a Fonte",knowTheAnswer:"Sabe a resposta? Ajude a melhorar os resultados",poweredBy:"Desenvolvido por",correctionSubmitted:"Correção enviada",correctionThanks:"Obrigado por ajudar a melhorar nossos resultados!",loginToShare:"Faça login para compartilhar seus resultados com a comunidade"},jd={title:"Explorar Cenas da Comunidade",description:"Descubra cenas de anime compartilhadas pela nossa comunidade",trending:"Em Alta",latest:"Recentes",unsolved:"Não Resolvidas",unknownAnime:"Anime Desconhecido",noScenesYet:"Ainda não há cenas",beFirstToShare:"Seja o primeiro a compartilhar uma cena de anime com a comunidade!",searchAndShare:"Pesquisar e Compartilhar",episode:"Ep",unsolvedBadge:"Não Resolvida"},Nd={submitCorrection:"Enviar Correção",helpImprove:"Ajude a melhorar os resultados de busca fornecendo as informações corretas do anime.",animeTitle:"Título do Anime",enterCorrectTitle:"Digite o título correto do anime",episodeOptional:"Episódio (opcional)",episodeNumber:"Número do episódio",howDoYouKnow:"Como você sabe? (opcional)",reasonPlaceholder:"ex., Acabei de assistir esse episódio",submitting:"Enviando...",submit:"Enviar"},Pd={title:"Calendário de Lançamentos",description:"Nunca perca um episódio. Horários exibidos em",syncSchedule:"Sincronizar Agenda",syncing:"Sincronizando...",syncNow:"Sincronizar Agora",noUpcoming:"Sem Episódios Próximos",clickSync:'Clique em "Sincronizar Agenda" para obter os últimos horários',loadingSchedule:"Carregando agenda...",localTime:"Hora Local"},kd={siteDescription:"Seu hub cyberpunk para acompanhar lançamentos de anime, descobrir séries e ficar atualizado com as últimas notícias.",quickLinks:"Links Rápidos",support:"Suporte",legal:"Legal",privacy:"Política de Privacidade",terms:"Termos de Serviço",copyright:"Todos os direitos reservados."},Rd={title:"Diretório de Anime",description:"Descubra e acompanhe suas séries de anime favoritas",searchPlaceholder:"Pesquisar títulos de anime...",syncShows:"Sincronizar Séries",syncing:"Sincronizando...",sortBy:"Ordenar Por",mostPopular:"Mais Popular",newlyReleased:"Recém Lançado",highestRated:"Melhor Avaliado",genres:"Gêneros",filters:"Filtros",clearAll:"Limpar Tudo",loadingShows:"Carregando séries de anime...",noShowsFound:"Nenhuma Série Encontrada",clickSync:'Clique em "Sincronizar Séries" para preencher o banco de dados com anime',syncNow:"Sincronizar Agora",notInDatabase:"Esta série ainda não foi sincronizada. Use 'Sincronizar Séries' para adicioná-la.",moreGenre:"Mais Anime de {{genre}}",moreFromStudio:"Mais de {{studio}}"},Id={menu:"Menu",genres:"Gêneros",studios:"Estúdios",seasons:"Temporadas",characters:"Personagens"},Od={title:"Blog e Guias de Anime",description:"Descubra dicas, guias e insights para navegar pelo mundo do anime",noPosts:"Ainda não há posts no blog. Volte em breve!",minRead:"min de leitura"},Ld={title:"Eventos de Anime Perto de Você",description:"Descubra convenções de anime, exibições e exposições ao redor do mundo",filterByLocation:"Filtrar por Localização",country:"País",city:"Cidade",allCountries:"Todos os Países",allCities:"Todas as Cidades",loadingEvents:"Carregando eventos...",noEventsFound:"Nenhum evento futuro encontrado nesta localização.",tryDifferentLocation:"Tente selecionar um país ou cidade diferente!",eventDetails:"Detalhes do Evento",addToCalendar:"Adicionar ao Calendário",organizedBy:"Organizado por"},Md={title:"Próximos Animes",description:"Descubra animes programados para lançamento em breve",loading:"Carregando próximos animes...",noUpcoming:"Nenhum anime futuro encontrado.",upcoming:"Em Breve",releases:"Lançamento",expectedScore:"Pontuação Esperada"},Dd={title:"Configurações da Conta",description:"Gerencie suas preferências e notificações",loading:"Carregando conta...",signInRequired:"Login Necessário",signInMessage:"Por favor, faça login para acessar as configurações da sua conta",goToHome:"Ir para Início",profile:"Perfil",username:"Nome de Usuário",usernamePlaceholder:"Digite o nome de usuário (3-30 caracteres)",usernameHint:"3-30 caracteres, deve ser único",email:"Email",emailHint:"O email não pode ser alterado",timezone:"Fuso Horário",yourTimezone:"Seu Fuso Horário",timezoneHint:"Todos os horários de episódios serão exibidos no seu fuso horário local",favoritedAnime:"Animes Favoritos",noFavorites:"Você ainda não favoritou nenhum anime.",visitShows:"Visite a página de Séries para seguir seus favoritos!",unfollow:"Deixar de Seguir",signOut:"Sair",saveChanges:"Salvar Alterações",saving:"Salvando...",usernameTaken:"Nome de usuário já está em uso",settingsSaved:"Configurações salvas com sucesso!",failedToSave:"Falha ao salvar configurações",unfollowedSuccess:"Deixou de seguir com sucesso",failedToUnfollow:"Falha ao deixar de seguir",signedOut:"Saiu com sucesso",failedToLoad:"Falha ao carregar conta",failedToCreateProfile:"Falha ao criar perfil"},Fd={title:"Gêneros de Anime",description:"Descubra anime pelo seu gênero favorito. De aventuras cheias de ação a romances emocionantes.",anime:"Anime",browseAll:"Ver todos os gêneros",names:{Action:"Ação",Adventure:"Aventura",Comedy:"Comédia",Drama:"Drama",Fantasy:"Fantasia",Horror:"Terror",Mystery:"Mistério",Romance:"Romance","Sci-Fi":"Ficção Científica","Slice of Life":"Slice of Life",Sports:"Esportes",Supernatural:"Sobrenatural",Thriller:"Suspense",Mecha:"Mecha",Isekai:"Isekai",Shounen:"Shounen",Shoujo:"Shoujo",Seinen:"Seinen",Psychological:"Psicológico",Music:"Música",Ecchi:"Ecchi","Mahou Shoujo":"Mahou Shoujo"},descriptions:{Action:"Anime de alta energia com batalhas intensas e sequências de combate emocionantes",Adventure:"Jornadas épicas e exploração através de mundos fantásticos",Comedy:"Entretenimento leve que vai fazer você rir",Drama:"Histórias emocionantes com desenvolvimento profundo de personagens",Fantasy:"Mundos mágicos cheios de elementos sobrenaturais e criaturas",Horror:"Contos arrepiantes projetados para assustar e perturbar",Mystery:"Quebra-cabeças intrigantes e histórias de detetive",Romance:"Histórias de amor emocionantes e relacionamentos","Sci-Fi":"Tecnologia futurista e conceitos científicos","Slice of Life":"Experiências cotidianas e momentos de vida identificáveis",Sports:"Competições atléticas e dinâmica de equipe",Supernatural:"Fenômenos paranormais e poderes sobrenaturais",Thriller:"Narrativas de suspense com reviravoltas inesperadas",Mecha:"Robôs gigantes e combate mecânico",Isekai:"Personagens transportados para outro mundo",Shounen:"Histórias orientadas à ação para jovens do sexo masculino",Shoujo:"Histórias românticas para jovens do sexo feminino",Seinen:"Temas maduros para público masculino adulto",Psychological:"Exploração da psique humana",Music:"Histórias centradas em música e músicos"}},_d={title:"Estúdios de Anime",description:"Explore os estúdios lendários por trás do seu anime favorito",searchPlaceholder:"Pesquisar estúdios...",founded:"Fundado",anime:"Anime",animationStudio:"Estúdio de Animação",productionCompany:"Empresa de Produção",allStudios:"Todos os Estúdios",noStudiosFound:"Nenhum estúdio encontrado correspondente à sua pesquisa.",noAnimeLinked:"Ainda não há anime vinculado a este estúdio.",exploreAnimeBy:"Explore animes produzidos por",descriptions:{MAPPA:"Conhecido pela animação revolucionária em Attack on Titan, Jujutsu Kaisen e Chainsaw Man",ufotable:"Famoso pelos visuais impressionantes em Demon Slayer e na série Fate","Kyoto Animation":"Amado pelas histórias emocionantes em Violet Evergarden e K-On!","Studio Ghibli":"Estúdio lendário por trás de A Viagem de Chihiro e Meu Amigo Totoro",Bones:"Criadores de My Hero Academia e Fullmetal Alchemist","Wit Studio":"Conhecido por Attack on Titan e Spy x Family","A-1 Pictures":"Produtores de Sword Art Online e Kaguya-sama",CloverWorks:"Por trás de The Promised Neverland e My Dress-Up Darling",Madhouse:"Estúdio lendário por trás de One Punch Man e Death Note",Trigger:"Conhecido pelo estilo único em Kill la Kill e Cyberpunk Edgerunners","P.A.Works":"Visuais bonitos em Angel Beats! e Shirobako","Production I.G":"Criadores de Ghost in the Shell e Psycho-Pass",Sunrise:"Lar de Gundam e Code Geass","Toei Animation":"Por trás de Dragon Ball, One Piece e Sailor Moon","J.C.Staff":"Produtores de A Certain Scientific Railgun e Food Wars","White Fox":"Conhecido por Re:Zero e Steins;Gate",Shaft:"Estilo visual único na série Monogatari e Madoka Magica","CoMix Wave Films":"Estúdio por trás de Your Name e Weathering with You","Science SARU":"Animação inovadora em Devilman Crybaby e Scott Pilgrim"}},zd={title:"Temporadas de Anime",description:"Navegue anime por temporada e ano",winter:"Inverno",spring:"Primavera",summer:"Verão",fall:"Outono",anime:"Anime",backToSeasons:"Voltar para Temporadas",noAnimeFound:"Nenhum anime encontrado para esta temporada."},$d={title:"Personagens de Anime",description:"Descubra personagens icônicos de anime",searchPlaceholder:"Pesquisar personagens...",favorites:"favoritos",gender:"Gênero",age:"Idade",birthday:"Aniversário",bloodType:"Tipo Sanguíneo",appearsIn:"Aparece Em",voiceActor:"Dublador",main:"Principal",supporting:"Coadjuvante",noCharactersFound:"Nenhum personagem encontrado.",backToCharacters:"Voltar para Personagens"},Hd={title:"Guias de Ordem de Visualização",description:"Guias completos de filler para séries de anime populares. Saiba exatamente quais episódios pular e quanto tempo você economizará.",searchPlaceholder:"Buscar anime...",syncData:"Sincronizar dados de filler",syncing:"Sincronizando...",loadingGuides:"Carregando guias...",loadingGuide:"Carregando guia...",noGuidesYet:"Ainda não há guias de filler disponíveis.",syncFillerData:"Sincronizar Dados de Filler",guideNotFound:"Guia Não Encontrado",noGuideFor:'Ainda não temos um guia de filler para "{{slug}}".',noGuidesFor:'Nenhum guia encontrado para "{{search}}"',backToWatchOrders:"Voltar para Guias",watchOrder:"ORDEM DE VISUALIZAÇÃO",total:"TOTAL",eps:"EPS",canon:"CANON",filler:"FILLER",mixed:"MISTO",fillerPercent:"% FILLER",bingeTime:"TEMPO DE MARATONA",canonOnly:"apenas canon",hideFiller:"OCULTAR FILLER",export:"EXPORTAR",discuss:"DISCUTIR",generatingImage:"Gerando imagem...",imageDownloaded:"Imagem baixada!",failedToGenerate:"Falha ao gerar imagem",episode:"EP",mainStory:"História Principal",footer:"WHAT-ANIME.COM // GUIA DE VISUALIZAÇÃO"},Bd={common:Ad,home:Td,dailyGame:Cd,screenshot:Ed,explore:jd,correction:Nd,schedule:Pd,footer:kd,shows:Rd,navigation:Id,blog:Od,events:Ld,upcoming:Md,account:Dd,genres:Fd,studios:_d,seasons:zd,characters:$d,watchOrders:Hd},Vd={home:"首页",search:"搜索",explore:"探索",schedule:"时间表",shows:"番剧",blog:"博客",upcoming:"即将上映",events:"活动",account:"账户",signIn:"登录",viewAll:"查看全部",readMore:"阅读更多",loading:"加载中...",error:"错误",submit:"提交",cancel:"取消",save:"保存",language:"语言",allShows:"所有番剧",following:"关注中",browseShows:"浏览番剧",aboutUs:"关于我们",contact:"联系我们",madeWith:"用爱制作",forAnimeFans:"为全世界动漫爱好者",loginRequired:"需要登录",back:"返回"},Ud={heroTitle1:"您的门户",heroTitle2:"通往所有动漫",heroDescription:"追踪发布、发现番剧,永不错过任何一集。欢迎来到动漫爱好者的新世代中心。",exploreShows:"探索番剧",releaseSchedule:"发布时间表",thisWeeksReleases:"本周发布",noUpcomingEpisodes:"本周没有即将播出的剧集。",checkSchedule:"请查看时间表页面了解更多发布信息。",latestNews:"最新资讯",noNewsAvailable:"暂无新闻文章。",fromBlog:"博客精选:动漫技巧与指南",noBlogPosts:"暂无博客文章。",viewAllPosts:"查看所有文章",createAccount:"创建账户",myAccount:"我的账户"},Wd={title:"截获信号:识别来源",recording:"录制",systemAccess:"系统访问",enterAnimeTitle:"输入动漫标题...",submitIdentification:"提交识别",accessGranted:"访问已授权",accessDenied:"访问被拒绝",signalIdentified:"信号识别为:",correctAnswerWas:"正确答案是:",copyReport:"复制报告",reportCopied:"报告已复制!",shareWithFriends:"与朋友分享你的结果。"},Gd={title:"通过截图查找动漫",description:"上传或粘贴截图,我们将通过AI驱动的多阶段搜索来识别动漫",dropzone:"将图片拖放到此处",orClick:"或点击浏览",browseFormats:"支持 JPG、PNG、WebP • 自动清除边框和字幕",pasteHint:"也可使用粘贴功能(Ctrl+V / Cmd+V)",searching:"搜索中...",noResults:"未找到结果",confidence:"置信度",episode:"集数",timestamp:"时间戳",viewDetails:"查看详情",tryAgain:"重试",shareWithCommunity:"与社区分享结果",adjustCrop:"调整裁剪",clear:"清除",cropImage:"裁剪图片",manualCrop:"手动裁剪",retryWithEnhance:"使用AI增强重试",imageCleaned:"图片已清理",enhancingImage:"正在增强图片...",usingAI:"使用AI提高清晰度",lowConfidence:"低置信度匹配",noMatches:"未找到匹配项。",improveResults:"尝试以下选项来改善结果:",runningAI:"正在运行AI视觉分析...",ensembleSearch:"正在运行集成搜索...",queryingSauceNAO:"正在查询SauceNAO以获取更多匹配",searchAnime:"搜索动漫",uploadImage:"上传图片",results:"结果",submitCorrection:"提交更正",bestMatch:"最佳匹配",uncertain:"不确定",aiEnhancement:"AI图像增强",sharpensBlurry:"增强模糊截图",retryingWithAI:"正在使用AI重试",enhancingQuality:"搜索前增强图像质量...",cropApplied:"已应用裁剪",searchWithCropped:"使用裁剪后的图片重新搜索",sharedToCommunity:"已与社区分享!",sharedDescription:"您的搜索结果现在在探索页面可见。",sharedToExplore:"已分享到探索页面",cleaningImage:"正在清理图片...",aiEnhancing:"AI增强中...",searchingTraceMoe:"正在搜索trace.moe...",queryingSauceNAOShort:"正在查询SauceNAO...",runningAIAnalysis:"正在运行AI分析...",searchComplete:"搜索完成",searched:"已搜索",sauceNAOResults:"SauceNAO结果",aiDetectiveAnalysis:"AI侦探分析",sceneDescription:"场景描述",characters:"角色",aiSuggestions:"AI建议",aiConfidence:"AI置信度",relatedAnime:"AniList相关动漫",score:"评分",correctTheSauce:"更正来源",knowTheAnswer:"知道答案吗?帮助改善结果",poweredBy:"技术支持",correctionSubmitted:"更正已提交",correctionThanks:"感谢您帮助改善我们的结果!",loginToShare:"登录以与社区分享您的结果"},qd={title:"探索社区场景",description:"发现社区分享的动漫场景",trending:"热门",latest:"最新",unsolved:"未解决",unknownAnime:"未知动漫",noScenesYet:"还没有场景",beFirstToShare:"成为第一个与社区分享动漫场景的人!",searchAndShare:"搜索并分享",episode:"第",unsolvedBadge:"未解决"},Yd={submitCorrection:"提交更正",helpImprove:"提供正确的动漫信息以帮助改进搜索结果。",animeTitle:"动漫标题",enterCorrectTitle:"输入正确的动漫标题",episodeOptional:"集数(可选)",episodeNumber:"集数",howDoYouKnow:"你是怎么知道的?(可选)",reasonPlaceholder:"例如:我刚看过这一集",submitting:"提交中...",submit:"提交"},Kd={title:"发布时间表",description:"永不错过任何一集。时间显示为",syncSchedule:"同步时间表",syncing:"同步中...",syncNow:"立即同步",noUpcoming:"没有即将播出的剧集",clickSync:"点击「同步时间表」获取最新播出时间",loadingSchedule:"加载时间表中...",localTime:"本地时间"},Jd={siteDescription:"您的赛博朋克中心,用于追踪动漫发布、发现番剧并获取最新资讯。",quickLinks:"快速链接",support:"支持",legal:"法律信息",privacy:"隐私政策",terms:"服务条款",copyright:"版权所有。"},Xd={title:"动漫目录",description:"发现并追踪您喜爱的动漫系列",searchPlaceholder:"搜索动漫标题...",syncShows:"同步番剧",syncing:"同步中...",sortBy:"排序方式",mostPopular:"最受欢迎",newlyReleased:"最新发布",highestRated:"评分最高",genres:"类型",filters:"筛选",clearAll:"清除全部",loadingShows:"加载动漫番剧中...",noShowsFound:"未找到番剧",clickSync:"点击「同步番剧」将动漫添加到数据库",syncNow:"立即同步",notInDatabase:"此番剧尚未同步。请使用「同步番剧」添加。",moreGenre:"更多{{genre}}动漫",moreFromStudio:"{{studio}}的更多作品"},Qd={menu:"菜单",genres:"类型",studios:"工作室",seasons:"季度",characters:"角色"},Zd={title:"动漫博客与指南",description:"发现帮助您探索动漫世界的技巧、指南和见解",noPosts:"还没有博客文章。请稍后再来!",minRead:"分钟阅读"},eu={title:"您附近的动漫活动",description:"发现世界各地举办的动漫展会、放映会和展览",filterByLocation:"按位置筛选",country:"国家",city:"城市",allCountries:"所有国家",allCities:"所有城市",loadingEvents:"加载活动中...",noEventsFound:"在此位置未找到即将举行的活动。",tryDifferentLocation:"尝试选择其他国家或城市!",eventDetails:"活动详情",addToCalendar:"添加到日历",organizedBy:"主办方"},tu={title:"即将上映的动漫",description:"发现即将在不久后发布的动漫",loading:"加载即将上映的动漫中...",noUpcoming:"未找到即将上映的动漫。",upcoming:"即将上映",releases:"发布",expectedScore:"预期评分"},nu={title:"账户设置",description:"管理您的偏好和通知",loading:"加载账户中...",signInRequired:"需要登录",signInMessage:"请登录以访问您的账户设置",goToHome:"返回首页",profile:"个人资料",username:"用户名",usernamePlaceholder:"输入用户名(3-30个字符)",usernameHint:"3-30个字符,必须唯一",email:"邮箱",emailHint:"邮箱不能更改",timezone:"时区",yourTimezone:"您的时区",timezoneHint:"所有剧集时间将按您当地时区显示",favoritedAnime:"收藏的动漫",noFavorites:"您还没有收藏任何动漫。",visitShows:"访问番剧页面关注您喜欢的动漫!",unfollow:"取消关注",signOut:"退出登录",saveChanges:"保存更改",saving:"保存中...",usernameTaken:"用户名已被使用",settingsSaved:"设置已成功保存!",failedToSave:"保存设置失败",unfollowedSuccess:"已成功取消关注",failedToUnfollow:"取消关注失败",signedOut:"已成功退出登录",failedToLoad:"加载账户失败",failedToCreateProfile:"创建个人资料失败"},ou={title:"动漫类型",description:"按您喜欢的类型发现动漫。从热血冒险到温馨浪漫。",anime:"部动漫",browseAll:"浏览所有类型",names:{Action:"动作",Adventure:"冒险",Comedy:"喜剧",Drama:"剧情",Fantasy:"奇幻",Horror:"恐怖",Mystery:"悬疑",Romance:"爱情","Sci-Fi":"科幻","Slice of Life":"日常",Sports:"运动",Supernatural:"超自然",Thriller:"惊悚",Mecha:"机甲",Isekai:"异世界",Shounen:"少年",Shoujo:"少女",Seinen:"青年",Psychological:"心理",Music:"音乐",Ecchi:"擦边","Mahou Shoujo":"魔法少女"},descriptions:{Action:"充满激烈战斗和精彩打斗场面的高能动漫",Adventure:"穿越奇幻世界的史诗冒险之旅",Comedy:"让您开怀大笑的轻松娱乐",Drama:"情感丰富、角色塑造深刻的故事",Fantasy:"充满超自然元素和奇幻生物的魔法世界",Horror:"令人毛骨悚然的恐怖故事",Mystery:"引人入胜的谜题和侦探故事",Romance:"温馨感人的爱情故事","Sci-Fi":"未来科技与科学概念","Slice of Life":"日常生活中的点点滴滴",Sports:"竞技体育与团队精神",Supernatural:"超自然现象与异能力量",Thriller:"悬念迭起、出人意料的叙事",Mecha:"巨型机器人与机甲战斗",Isekai:"穿越到异世界的冒险",Shounen:"面向青少年男性的热血故事",Shoujo:"面向青少年女性的浪漫故事",Seinen:"面向成年男性的成熟题材",Psychological:"探索人类心理的烧脑作品",Music:"以音乐和音乐家为中心的故事"}},ru={title:"动漫工作室",description:"探索您喜爱动漫背后的传奇工作室",searchPlaceholder:"搜索工作室...",founded:"成立于",anime:"部动漫",animationStudio:"动画工作室",productionCompany:"制作公司",allStudios:"所有工作室",noStudiosFound:"未找到匹配的工作室。",noAnimeLinked:"此工作室暂无关联动漫。",exploreAnimeBy:"探索由此工作室制作的动漫",descriptions:{MAPPA:"以《进击的巨人》、《咒术回战》和《链锯人》的突破性动画而闻名",ufotable:"以《鬼灭之刃》和Fate系列的惊艳画面著称","Kyoto Animation":"因《紫罗兰永恒花园》和《轻音少女》的感人故事而深受喜爱","Studio Ghibli":"《千与千寻》和《龙猫》背后的传奇工作室",Bones:"《我的英雄学院》和《钢之炼金术师》的创作者","Wit Studio":"以《进击的巨人》和《间谍过家家》闻名","A-1 Pictures":"《刀剑神域》和《辉夜大小姐想让我告白》的制作方",CloverWorks:"《约定的梦幻岛》和《更衣人偶坠入爱河》的幕后团队",Madhouse:"《一拳超人》和《死亡笔记》背后的传奇工作室",Trigger:"以《斩服少女》和《赛博朋克:边缘行者》的独特风格著称","P.A.Works":"《Angel Beats!》和《白箱》中的精美画面","Production I.G":"《攻壳机动队》和《心理测量者》的创作者",Sunrise:"高达和《叛逆的鲁路修》的家园","Toei Animation":"《龙珠》、《海贼王》和《美少女战士》的幕后团队","J.C.Staff":"《某科学的超电磁炮》和《食戟之灵》的制作方","White Fox":"以《Re:从零开始的异世界生活》和《命运石之门》闻名",Shaft:"物语系列和《魔法少女小圆》中的独特视觉风格","CoMix Wave Films":"《你的名字。》和《天气之子》背后的工作室","Science SARU":"《恶魔人Crybaby》和《歪小子斯科特》中的创新动画"}},au={title:"动漫季度",description:"按季度和年份浏览动漫",winter:"冬季",spring:"春季",summer:"夏季",fall:"秋季",anime:"部动漫",backToSeasons:"返回季度列表",noAnimeFound:"此季度未找到动漫。"},su={title:"动漫角色",description:"发现标志性的动漫角色",searchPlaceholder:"搜索角色...",favorites:"收藏",gender:"性别",age:"年龄",birthday:"生日",bloodType:"血型",appearsIn:"出演作品",voiceActor:"声优",main:"主角",supporting:"配角",noCharactersFound:"未找到角色。",backToCharacters:"返回角色列表"},iu={title:"观看顺序指南",description:"热门动漫系列的完整填充剧情指南。准确了解哪些集可以跳过,以及能节省多少时间。",searchPlaceholder:"搜索动漫...",syncData:"同步填充数据",syncing:"同步中...",loadingGuides:"加载指南中...",loadingGuide:"加载指南中...",noGuidesYet:"暂无填充指南。",syncFillerData:"同步填充数据",guideNotFound:"未找到指南",noGuideFor:'我们还没有"{{slug}}"的填充指南。',noGuidesFor:'未找到"{{search}}"的指南',backToWatchOrders:"返回观看顺序",watchOrder:"观看顺序",total:"总计",eps:"集",canon:"正片",filler:"填充",mixed:"混合",fillerPercent:"填充率",bingeTime:"刷剧时间",canonOnly:"仅正片",hideFiller:"隐藏填充",export:"导出",discuss:"讨论",generatingImage:"正在生成图片...",imageDownloaded:"图片已下载!",failedToGenerate:"生成图片失败",episode:"第",mainStory:"主线剧情",footer:"WHAT-ANIME.COM // 观看顺序指南"},lu={common:Vd,home:Ud,dailyGame:Wd,screenshot:Gd,explore:qd,correction:Yd,schedule:Kd,footer:Jd,shows:Xd,navigation:Qd,blog:Zd,events:eu,upcoming:tu,account:nu,genres:ou,studios:ru,seasons:au,characters:su,watchOrders:iu},Jt=[{code:"en",name:"English",nativeName:"English"},{code:"ja",name:"Japanese",nativeName:"日本語"},{code:"es",name:"Spanish",nativeName:"Español"},{code:"pt",name:"Portuguese",nativeName:"Português"},{code:"zh",name:"Chinese",nativeName:"中文"}],cu={en:{translation:Dc},ja:{translation:nd},es:{translation:Sd},pt:{translation:Bd},zh:{translation:lu}};ce.use(Pr).use(kl).init({resources:cu,fallbackLng:"en",supportedLngs:["en","ja","es","pt","zh"],interpolation:{escapeValue:!1},detection:{order:["localStorage","navigator","htmlTag"],caches:["localStorage"],lookupLocalStorage:"i18nextLng"}});function du(){const{i18n:t}=Lt(),e=Jt.find(o=>o.code===t.language)||Jt[0],n=o=>{t.changeLanguage(o)};return s.jsxs(ql,{children:[s.jsx(Yl,{asChild:!0,children:s.jsxs(Re,{variant:"ghost",size:"icon",className:"text-foreground hover:text-primary",children:[s.jsx(Ss,{className:"h-5 w-5"}),s.jsx("span",{className:"sr-only",children:e.nativeName})]})}),s.jsx(Cr,{align:"end",className:"glass-card border-white/10",children:Jt.map(o=>s.jsxs(Er,{onClick:()=>n(o.code),className:`cursor-pointer ${t.language===o.code?"text-primary bg-primary/10":""}`,children:[s.jsx("span",{className:"mr-2",children:o.nativeName}),s.jsxs("span",{className:"text-muted-foreground text-xs",children:["(",o.name,")"]})]},o.code))})]})}const uu=Lo,pu=Mo,hu=Oo,kr=h.forwardRef(({className:t,...e},n)=>s.jsx(jt,{className:K("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:n}));kr.displayName=jt.displayName;const mu=gn("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Rr=h.forwardRef(({side:t="right",className:e,children:n,...o},r)=>s.jsxs(hu,{children:[s.jsx(kr,{}),s.jsxs(Nt,{ref:r,className:K(mu({side:t}),e),...o,children:[n,s.jsxs(Io,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[s.jsx(yn,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Rr.displayName=Nt.displayName;const fu=h.forwardRef(({className:t,...e},n)=>s.jsx(Pt,{ref:n,className:K("text-lg font-semibold text-foreground",t),...e}));fu.displayName=Pt.displayName;const gu=h.forwardRef(({className:t,...e},n)=>s.jsx(kt,{ref:n,className:K("text-sm text-muted-foreground",t),...e}));gu.displayName=kt.displayName;function yu(t,[e,n]){return Math.min(n,Math.max(e,t))}function bu(t,e){return h.useReducer((n,o)=>e[n][o]??n,t)}var vn="ScrollArea",[Ir,Mh]=vo(vn),[vu,me]=Ir(vn),Or=h.forwardRef((t,e)=>{const{__scopeScrollArea:n,type:o="hover",dir:r,scrollHideDelay:a=600,...l}=t,[i,c]=h.useState(null),[d,u]=h.useState(null),[m,f]=h.useState(null),[p,g]=h.useState(null),[b,y]=h.useState(null),[x,w]=h.useState(0),[A,j]=h.useState(0),[I,k]=h.useState(!1),[V,te]=h.useState(!1),S=Ie(e,R=>c(R)),E=ka(r);return s.jsx(vu,{scope:n,type:o,dir:E,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:u,content:m,onContentChange:f,scrollbarX:p,onScrollbarXChange:g,scrollbarXEnabled:I,onScrollbarXEnabledChange:k,scrollbarY:b,onScrollbarYChange:y,scrollbarYEnabled:V,onScrollbarYEnabledChange:te,onCornerWidthChange:w,onCornerHeightChange:j,children:s.jsx(we.div,{dir:E,...l,ref:S,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":A+"px",...t.style}})})});Or.displayName=vn;var Lr="ScrollAreaViewport",Mr=h.forwardRef((t,e)=>{const{__scopeScrollArea:n,children:o,nonce:r,...a}=t,l=me(Lr,n),i=h.useRef(null),c=Ie(e,i,l.onViewportChange);return s.jsxs(s.Fragment,{children:[s.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),s.jsx(we.div,{"data-radix-scroll-area-viewport":"",...a,ref:c,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...t.style},children:s.jsx("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});Mr.displayName=Lr;var Ae="ScrollAreaScrollbar",xn=h.forwardRef((t,e)=>{const{forceMount:n,...o}=t,r=me(Ae,t.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:l}=r,i=t.orientation==="horizontal";return h.useEffect(()=>(i?a(!0):l(!0),()=>{i?a(!1):l(!1)}),[i,a,l]),r.type==="hover"?s.jsx(xu,{...o,ref:e,forceMount:n}):r.type==="scroll"?s.jsx(wu,{...o,ref:e,forceMount:n}):r.type==="auto"?s.jsx(Dr,{...o,ref:e,forceMount:n}):r.type==="always"?s.jsx(wn,{...o,ref:e}):null});xn.displayName=Ae;var xu=h.forwardRef((t,e)=>{const{forceMount:n,...o}=t,r=me(Ae,t.__scopeScrollArea),[a,l]=h.useState(!1);return h.useEffect(()=>{const i=r.scrollArea;let c=0;if(i){const d=()=>{window.clearTimeout(c),l(!0)},u=()=>{c=window.setTimeout(()=>l(!1),r.scrollHideDelay)};return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",u),()=>{window.clearTimeout(c),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",u)}}},[r.scrollArea,r.scrollHideDelay]),s.jsx(dt,{present:n||a,children:s.jsx(Dr,{"data-state":a?"visible":"hidden",...o,ref:e})})}),wu=h.forwardRef((t,e)=>{const{forceMount:n,...o}=t,r=me(Ae,t.__scopeScrollArea),a=t.orientation==="horizontal",l=Dt(()=>c("SCROLL_END"),100),[i,c]=bu("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return h.useEffect(()=>{if(i==="idle"){const d=window.setTimeout(()=>c("HIDE"),r.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,r.scrollHideDelay,c]),h.useEffect(()=>{const d=r.viewport,u=a?"scrollLeft":"scrollTop";if(d){let m=d[u];const f=()=>{const p=d[u];m!==p&&(c("SCROLL"),l()),m=p};return d.addEventListener("scroll",f),()=>d.removeEventListener("scroll",f)}},[r.viewport,a,c,l]),s.jsx(dt,{present:n||i!=="hidden",children:s.jsx(wn,{"data-state":i==="hidden"?"hidden":"visible",...o,ref:e,onPointerEnter:se(t.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:se(t.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),Dr=h.forwardRef((t,e)=>{const n=me(Ae,t.__scopeScrollArea),{forceMount:o,...r}=t,[a,l]=h.useState(!1),i=t.orientation==="horizontal",c=Dt(()=>{if(n.viewport){const d=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;l(i?d:u)}},10);return Ye(n.viewport,c),Ye(n.content,c),s.jsx(dt,{present:o||a,children:s.jsx(wn,{"data-state":a?"visible":"hidden",...r,ref:e})})}),wn=h.forwardRef((t,e)=>{const{orientation:n="vertical",...o}=t,r=me(Ae,t.__scopeScrollArea),a=h.useRef(null),l=h.useRef(0),[i,c]=h.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Hr(i.viewport,i.content),u={...o,sizes:i,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:f=>a.current=f,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:f=>l.current=f};function m(f,p){return ju(f,l.current,i,p)}return n==="horizontal"?s.jsx(Su,{...u,ref:e,onThumbPositionChange:()=>{if(r.viewport&&a.current){const f=r.viewport.scrollLeft,p=po(f,i,r.dir);a.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:f=>{r.viewport&&(r.viewport.scrollLeft=f)},onDragScroll:f=>{r.viewport&&(r.viewport.scrollLeft=m(f,r.dir))}}):n==="vertical"?s.jsx(Au,{...u,ref:e,onThumbPositionChange:()=>{if(r.viewport&&a.current){const f=r.viewport.scrollTop,p=po(f,i);a.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:f=>{r.viewport&&(r.viewport.scrollTop=f)},onDragScroll:f=>{r.viewport&&(r.viewport.scrollTop=m(f))}}):null}),Su=h.forwardRef((t,e)=>{const{sizes:n,onSizesChange:o,...r}=t,a=me(Ae,t.__scopeScrollArea),[l,i]=h.useState(),c=h.useRef(null),d=Ie(e,c,a.onScrollbarXChange);return h.useEffect(()=>{c.current&&i(getComputedStyle(c.current))},[c]),s.jsx(_r,{"data-orientation":"horizontal",...r,ref:d,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Mt(n)+"px",...t.style},onThumbPointerDown:u=>t.onThumbPointerDown(u.x),onDragScroll:u=>t.onDragScroll(u.x),onWheelScroll:(u,m)=>{if(a.viewport){const f=a.viewport.scrollLeft+u.deltaX;t.onWheelScroll(f),Vr(f,m)&&u.preventDefault()}},onResize:()=>{c.current&&a.viewport&&l&&o({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:Ct(l.paddingLeft),paddingEnd:Ct(l.paddingRight)}})}})}),Au=h.forwardRef((t,e)=>{const{sizes:n,onSizesChange:o,...r}=t,a=me(Ae,t.__scopeScrollArea),[l,i]=h.useState(),c=h.useRef(null),d=Ie(e,c,a.onScrollbarYChange);return h.useEffect(()=>{c.current&&i(getComputedStyle(c.current))},[c]),s.jsx(_r,{"data-orientation":"vertical",...r,ref:d,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Mt(n)+"px",...t.style},onThumbPointerDown:u=>t.onThumbPointerDown(u.y),onDragScroll:u=>t.onDragScroll(u.y),onWheelScroll:(u,m)=>{if(a.viewport){const f=a.viewport.scrollTop+u.deltaY;t.onWheelScroll(f),Vr(f,m)&&u.preventDefault()}},onResize:()=>{c.current&&a.viewport&&l&&o({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:Ct(l.paddingTop),paddingEnd:Ct(l.paddingBottom)}})}})}),[Tu,Fr]=Ir(Ae),_r=h.forwardRef((t,e)=>{const{__scopeScrollArea:n,sizes:o,hasThumb:r,onThumbChange:a,onThumbPointerUp:l,onThumbPointerDown:i,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:u,onResize:m,...f}=t,p=me(Ae,n),[g,b]=h.useState(null),y=Ie(e,S=>b(S)),x=h.useRef(null),w=h.useRef(""),A=p.viewport,j=o.content-o.viewport,I=ve(u),k=ve(c),V=Dt(m,10);function te(S){if(x.current){const E=S.clientX-x.current.left,R=S.clientY-x.current.top;d({x:E,y:R})}}return h.useEffect(()=>{const S=E=>{const R=E.target;g?.contains(R)&&I(E,j)};return document.addEventListener("wheel",S,{passive:!1}),()=>document.removeEventListener("wheel",S,{passive:!1})},[A,g,j,I]),h.useEffect(k,[o,k]),Ye(g,V),Ye(p.content,V),s.jsx(Tu,{scope:n,scrollbar:g,hasThumb:r,onThumbChange:ve(a),onThumbPointerUp:ve(l),onThumbPositionChange:k,onThumbPointerDown:ve(i),children:s.jsx(we.div,{...f,ref:y,style:{position:"absolute",...f.style},onPointerDown:se(t.onPointerDown,S=>{S.button===0&&(S.target.setPointerCapture(S.pointerId),x.current=g.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),te(S))}),onPointerMove:se(t.onPointerMove,te),onPointerUp:se(t.onPointerUp,S=>{const E=S.target;E.hasPointerCapture(S.pointerId)&&E.releasePointerCapture(S.pointerId),document.body.style.webkitUserSelect=w.current,p.viewport&&(p.viewport.style.scrollBehavior=""),x.current=null})})})}),Tt="ScrollAreaThumb",zr=h.forwardRef((t,e)=>{const{forceMount:n,...o}=t,r=Fr(Tt,t.__scopeScrollArea);return s.jsx(dt,{present:n||r.hasThumb,children:s.jsx(Cu,{ref:e,...o})})}),Cu=h.forwardRef((t,e)=>{const{__scopeScrollArea:n,style:o,...r}=t,a=me(Tt,n),l=Fr(Tt,n),{onThumbPositionChange:i}=l,c=Ie(e,m=>l.onThumbChange(m)),d=h.useRef(void 0),u=Dt(()=>{d.current&&(d.current(),d.current=void 0)},100);return h.useEffect(()=>{const m=a.viewport;if(m){const f=()=>{if(u(),!d.current){const p=Nu(m,i);d.current=p,i()}};return i(),m.addEventListener("scroll",f),()=>m.removeEventListener("scroll",f)}},[a.viewport,u,i]),s.jsx(we.div,{"data-state":l.hasThumb?"visible":"hidden",...r,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:se(t.onPointerDownCapture,m=>{const p=m.target.getBoundingClientRect(),g=m.clientX-p.left,b=m.clientY-p.top;l.onThumbPointerDown({x:g,y:b})}),onPointerUp:se(t.onPointerUp,l.onThumbPointerUp)})});zr.displayName=Tt;var Sn="ScrollAreaCorner",$r=h.forwardRef((t,e)=>{const n=me(Sn,t.__scopeScrollArea),o=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&o?s.jsx(Eu,{...t,ref:e}):null});$r.displayName=Sn;var Eu=h.forwardRef((t,e)=>{const{__scopeScrollArea:n,...o}=t,r=me(Sn,n),[a,l]=h.useState(0),[i,c]=h.useState(0),d=!!(a&&i);return Ye(r.scrollbarX,()=>{const u=r.scrollbarX?.offsetHeight||0;r.onCornerHeightChange(u),c(u)}),Ye(r.scrollbarY,()=>{const u=r.scrollbarY?.offsetWidth||0;r.onCornerWidthChange(u),l(u)}),d?s.jsx(we.div,{...o,ref:e,style:{width:a,height:i,position:"absolute",right:r.dir==="ltr"?0:void 0,left:r.dir==="rtl"?0:void 0,bottom:0,...t.style}}):null});function Ct(t){return t?parseInt(t,10):0}function Hr(t,e){const n=t/e;return isNaN(n)?0:n}function Mt(t){const e=Hr(t.viewport,t.content),n=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=(t.scrollbar.size-n)*e;return Math.max(o,18)}function ju(t,e,n,o="ltr"){const r=Mt(n),a=r/2,l=e||a,i=r-l,c=n.scrollbar.paddingStart+l,d=n.scrollbar.size-n.scrollbar.paddingEnd-i,u=n.content-n.viewport,m=o==="ltr"?[0,u]:[u*-1,0];return Br([c,d],m)(t)}function po(t,e,n="ltr"){const o=Mt(e),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,a=e.scrollbar.size-r,l=e.content-e.viewport,i=a-o,c=n==="ltr"?[0,l]:[l*-1,0],d=yu(t,c);return Br([0,l],[0,i])(d)}function Br(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const o=(e[1]-e[0])/(t[1]-t[0]);return e[0]+o*(n-t[0])}}function Vr(t,e){return t>0&&t<e}var Nu=(t,e=()=>{})=>{let n={left:t.scrollLeft,top:t.scrollTop},o=0;return function r(){const a={left:t.scrollLeft,top:t.scrollTop},l=n.left!==a.left,i=n.top!==a.top;(l||i)&&e(),n=a,o=window.requestAnimationFrame(r)}(),()=>window.cancelAnimationFrame(o)};function Dt(t,e){const n=ve(t),o=h.useRef(0);return h.useEffect(()=>()=>window.clearTimeout(o.current),[]),h.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(n,e)},[n,e])}function Ye(t,e){const n=ve(e);wo(()=>{let o=0;if(t){const r=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(n)});return r.observe(t),()=>{window.cancelAnimationFrame(o),r.unobserve(t)}}},[t,n])}var Ur=Or,Pu=Mr,ku=$r;const Wr=h.forwardRef(({className:t,children:e,...n},o)=>s.jsxs(Ur,{ref:o,className:K("relative overflow-hidden",t),...n,children:[s.jsx(Pu,{className:"h-full w-full rounded-[inherit]",children:e}),s.jsx(Gr,{}),s.jsx(ku,{})]}));Wr.displayName=Ur.displayName;const Gr=h.forwardRef(({className:t,orientation:e="vertical",...n},o)=>s.jsx(xn,{ref:o,orientation:e,className:K("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...n,children:s.jsx(zr,{className:"relative flex-1 rounded-full bg-border"})}));Gr.displayName=xn.displayName;function Ru(){const t=pn(),{t:e}=Lt(),[n,o]=h.useState(!1),[r,a]=h.useState(!1);h.useEffect(()=>{xt.auth.getSession().then(({data:{session:d}})=>{o(!!d)});const{data:{subscription:c}}=xt.auth.onAuthStateChange((d,u)=>{o(!!u)});return()=>c.unsubscribe()},[]);const l=[{path:"/",label:e("common.home"),icon:_n},{path:"/explore",label:e("common.explore"),icon:Dn}],i=[{path:"/",label:e("common.home"),icon:_n},{path:"/explore",label:e("common.explore"),icon:Dn},{path:"/seasonal",label:"Seasonal Releases",icon:Ps},{path:"/schedule",label:e("common.schedule"),icon:ys},{path:"/watch-orders",label:"Watch Orders",icon:Ts},{path:"/shows",label:e("common.shows"),icon:Rs},{path:"/genres",label:e("navigation.genres"),icon:Ns},{path:"/studios",label:e("navigation.studios"),icon:fs},{path:"/seasons",label:e("navigation.seasons"),icon:gs},{path:"/characters",label:e("navigation.characters"),icon:Ls},{path:"/blog",label:e("common.blog"),icon:ms},{path:"/upcoming",label:e("common.upcoming"),icon:ws},{path:"/events",label:e("common.events"),icon:Es},{path:n?"/account":"/auth",label:e(n?"common.account":"common.signIn"),icon:n?Os:Cs}];return s.jsx("header",{className:"sticky top-0 z-50 glass-card border-b border-white/10",children:s.jsxs("nav",{className:"mx-auto flex h-16 max-w-7xl items-center justify-between px-3 md:px-6",children:[s.jsx(le,{to:"/",className:"flex items-center gap-2 transition-transform hover:scale-105 overflow-visible flex-shrink-0",children:s.jsx(Gl,{size:80,className:"md:w-[120px]"})}),s.jsx("div",{className:"hidden md:flex items-center gap-6",children:l.map(c=>{const d=c.icon,u=t.pathname===c.path;return s.jsxs(le,{to:c.path,className:`
flex items-center gap-2 text-sm font-medium transition-colors
${u?"text-primary":"text-muted-foreground hover:text-foreground"}
`,children:[s.jsx(d,{className:"w-4 h-4"}),c.label]},c.path)})}),s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(du,{}),s.jsxs(uu,{open:r,onOpenChange:a,children:[s.jsx(pu,{asChild:!0,children:s.jsxs(Re,{variant:"ghost",size:"icon",className:"text-foreground hover:text-primary","aria-label":"Open navigation menu",children:[s.jsx(js,{className:"h-6 w-6"}),s.jsx("span",{className:"sr-only",children:"Menu"})]})}),s.jsx(Rr,{side:"right",className:"w-[280px] glass-card border-l border-white/10 p-0",children:s.jsx(Wr,{className:"h-full px-6 py-8",children:s.jsx("div",{className:"flex flex-col gap-4",children:i.map(c=>{const d=c.icon,u=t.pathname===c.path;return s.jsxs(le,{to:c.path,onClick:()=>a(!1),className:`
flex items-center gap-3 px-4 py-3 rounded-lg text-base font-medium
transition-all duration-300 relative
${u?"text-primary bg-primary/10 neon-glow-pink":"text-muted-foreground hover:text-foreground hover:bg-accent/50"}
`,children:[s.jsx(d,{className:"w-5 h-5"}),s.jsx("span",{children:c.label})]},c.path)})})})})]})]})]})})}function Iu(){const{t}=Lt(),e=new Date().getFullYear();return s.jsx("footer",{className:"glass-card border-t border-white/10 mt-12",children:s.jsxs("div",{className:"mx-auto max-w-7xl px-4 py-8",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-8",children:[s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-lg mb-4",children:"What Anime"}),s.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t("footer.siteDescription")})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-lg mb-4",children:t("footer.quickLinks")}),s.jsxs("ul",{className:"space-y-1",children:[s.jsx("li",{children:s.jsx(le,{to:"/shows",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("common.browseShows")})}),s.jsx("li",{children:s.jsx(le,{to:"/schedule",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("common.schedule")})}),s.jsx("li",{children:s.jsx(le,{to:"/upcoming",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("common.upcoming")})}),s.jsx("li",{children:s.jsx(le,{to:"/events",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("common.events")})})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-lg mb-4",children:t("footer.support")}),s.jsxs("ul",{className:"space-y-1",children:[s.jsx("li",{children:s.jsx(le,{to:"/about",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("common.aboutUs")})}),s.jsx("li",{children:s.jsx(le,{to:"/contact",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("common.contact")})}),s.jsx("li",{children:s.jsx(le,{to:"/auth",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("common.signIn")})})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-lg mb-4",children:t("footer.legal")}),s.jsxs("ul",{className:"space-y-1",children:[s.jsx("li",{children:s.jsx(le,{to:"/privacy",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("footer.privacy")})}),s.jsx("li",{children:s.jsx(le,{to:"/terms",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:t("footer.terms")})}),s.jsx("li",{children:s.jsx("a",{href:"/sitemap-index.xml",className:"text-sm text-muted-foreground hover:text-primary transition-colors inline-block py-1.5",children:"Sitemap"})})]})]})]}),s.jsx("div",{className:"border-t border-white/10 pt-6",children:s.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[s.jsxs("p",{className:"text-sm text-muted-foreground text-center md:text-left",children:["© ",e," What Anime. ",t("footer.copyright")]}),s.jsxs("p",{className:"text-sm text-muted-foreground flex items-center gap-1",children:[t("common.madeWith")," ",s.jsx(As,{className:"w-3 h-3 text-primary fill-primary"})," ",t("common.forAnimeFans")]})]})})]})})}function Ou(){const{pathname:t}=pn();return h.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[t]),null}const Lu={initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8}},Mu={type:"tween",ease:"easeOut",duration:.25};function H({children:t}){return s.jsx(_a.div,{initial:"initial",animate:"animate",exit:"exit",variants:Lu,transition:Mu,children:t})}function ie({className:t,...e}){return s.jsx("div",{className:K("animate-pulse rounded-md bg-muted",t),...e})}var qr={exports:{}},Du="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Fu=Du,_u=Fu;function Yr(){}function Kr(){}Kr.resetWarningCache=Yr;var zu=function(){function t(o,r,a,l,i,c){if(c!==_u){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:Kr,resetWarningCache:Yr};return n.PropTypes=n,n};qr.exports=zu();var $u=qr.exports;const Z=Rt($u);function Hu(t){return t&&typeof t=="object"&&"default"in t?t.default:t}var Jr=h,Bu=Hu(Jr);function ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vu(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Uu=!!(typeof window<"u"&&window.document&&window.document.createElement);function Wu(t,e,n){if(typeof t!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof e!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function o(r){return r.displayName||r.name||"Component"}return function(a){if(typeof a!="function")throw new Error("Expected WrappedComponent to be a React component.");var l=[],i;function c(){i=t(l.map(function(u){return u.props})),d.canUseDOM?e(i):n&&(i=n(i))}var d=function(u){Vu(m,u);function m(){return u.apply(this,arguments)||this}m.peek=function(){return i},m.rewind=function(){if(m.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var g=i;return i=void 0,l=[],g};var f=m.prototype;return f.UNSAFE_componentWillMount=function(){l.push(this),c()},f.componentDidUpdate=function(){c()},f.componentWillUnmount=function(){var g=l.indexOf(this);l.splice(g,1),c()},f.render=function(){return Bu.createElement(a,this.props)},m}(Jr.PureComponent);return ho(d,"displayName","SideEffect("+o(a)+")"),ho(d,"canUseDOM",Uu),d}}var Gu=Wu;const qu=Rt(Gu);var Yu=typeof Element<"u",Ku=typeof Map=="function",Ju=typeof Set=="function",Xu=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function vt(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,o,r;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(o=n;o--!==0;)if(!vt(t[o],e[o]))return!1;return!0}var a;if(Ku&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(a=t.entries();!(o=a.next()).done;)if(!e.has(o.value[0]))return!1;for(a=t.entries();!(o=a.next()).done;)if(!vt(o.value[1],e.get(o.value[0])))return!1;return!0}if(Ju&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(a=t.entries();!(o=a.next()).done;)if(!e.has(o.value[0]))return!1;return!0}if(Xu&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(n=t.length,n!=e.length)return!1;for(o=n;o--!==0;)if(t[o]!==e[o])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(r=Object.keys(t),n=r.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,r[o]))return!1;if(Yu&&t instanceof Element)return!1;for(o=n;o--!==0;)if(!((r[o]==="_owner"||r[o]==="__v"||r[o]==="__o")&&t.$$typeof)&&!vt(t[r[o]],e[r[o]]))return!1;return!0}return t!==t&&e!==e}var Qu=function(e,n){try{return vt(e,n)}catch(o){if((o.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw o}};const Zu=Rt(Qu);/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var mo=Object.getOwnPropertySymbols,ep=Object.prototype.hasOwnProperty,tp=Object.prototype.propertyIsEnumerable;function np(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function op(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var o=Object.getOwnPropertyNames(e).map(function(a){return e[a]});if(o.join("")!=="0123456789")return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(a){r[a]=a}),Object.keys(Object.assign({},r)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var rp=op()?Object.assign:function(t,e){for(var n,o=np(t),r,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var l in n)ep.call(n,l)&&(o[l]=n[l]);if(mo){r=mo(n);for(var i=0;i<r.length;i++)tp.call(n,r[i])&&(o[r[i]]=n[r[i]])}}return o};const ap=Rt(rp);var Me={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},L={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(L).map(function(t){return L[t]});var ee={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},Et={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ct={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},sp=Object.keys(Et).reduce(function(t,e){return t[Et[e]]=e,t},{}),ip=[L.NOSCRIPT,L.SCRIPT,L.STYLE],xe="data-react-helmet",lp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cp=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},dp=function(){function t(e,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),ue=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},up=function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},fo=function(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n},pp=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t},ln=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},hp=function(e){var n=Ge(e,L.TITLE),o=Ge(e,ct.TITLE_TEMPLATE);if(o&&n)return o.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var r=Ge(e,ct.DEFAULT_TITLE);return n||r||void 0},mp=function(e){return Ge(e,ct.ON_CHANGE_CLIENT_STATE)||function(){}},Xt=function(e,n){return n.filter(function(o){return typeof o[e]<"u"}).map(function(o){return o[e]}).reduce(function(o,r){return ue({},o,r)},{})},fp=function(e,n){return n.filter(function(o){return typeof o[L.BASE]<"u"}).map(function(o){return o[L.BASE]}).reverse().reduce(function(o,r){if(!o.length)for(var a=Object.keys(r),l=0;l<a.length;l++){var i=a[l],c=i.toLowerCase();if(e.indexOf(c)!==-1&&r[c])return o.concat(r)}return o},[])},nt=function(e,n,o){var r={};return o.filter(function(a){return Array.isArray(a[e])?!0:(typeof a[e]<"u"&&vp("Helmet: "+e+' should be of type "Array". Instead found type "'+lp(a[e])+'"'),!1)}).map(function(a){return a[e]}).reverse().reduce(function(a,l){var i={};l.filter(function(f){for(var p=void 0,g=Object.keys(f),b=0;b<g.length;b++){var y=g[b],x=y.toLowerCase();n.indexOf(x)!==-1&&!(p===ee.REL&&f[p].toLowerCase()==="canonical")&&!(x===ee.REL&&f[x].toLowerCase()==="stylesheet")&&(p=x),n.indexOf(y)!==-1&&(y===ee.INNER_HTML||y===ee.CSS_TEXT||y===ee.ITEM_PROP)&&(p=y)}if(!p||!f[p])return!1;var w=f[p].toLowerCase();return r[p]||(r[p]={}),i[p]||(i[p]={}),r[p][w]?!1:(i[p][w]=!0,!0)}).reverse().forEach(function(f){return a.push(f)});for(var c=Object.keys(i),d=0;d<c.length;d++){var u=c[d],m=ap({},r[u],i[u]);r[u]=m}return a},[]).reverse()},Ge=function(e,n){for(var o=e.length-1;o>=0;o--){var r=e[o];if(r.hasOwnProperty(n))return r[n]}return null},gp=function(e){return{baseTag:fp([ee.HREF,ee.TARGET],e),bodyAttributes:Xt(Me.BODY,e),defer:Ge(e,ct.DEFER),encode:Ge(e,ct.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Xt(Me.HTML,e),linkTags:nt(L.LINK,[ee.REL,ee.HREF],e),metaTags:nt(L.META,[ee.NAME,ee.CHARSET,ee.HTTPEQUIV,ee.PROPERTY,ee.ITEM_PROP],e),noscriptTags:nt(L.NOSCRIPT,[ee.INNER_HTML],e),onChangeClientState:mp(e),scriptTags:nt(L.SCRIPT,[ee.SRC,ee.INNER_HTML],e),styleTags:nt(L.STYLE,[ee.CSS_TEXT],e),title:hp(e),titleAttributes:Xt(Me.TITLE,e)}},cn=function(){var t=Date.now();return function(e){var n=Date.now();n-t>16?(t=n,e(n)):setTimeout(function(){cn(e)},0)}}(),go=function(e){return clearTimeout(e)},yp=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||cn:global.requestAnimationFrame||cn,bp=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||go:global.cancelAnimationFrame||go,vp=function(e){return console&&typeof console.warn=="function"&&console.warn(e)},ot=null,xp=function(e){ot&&bp(ot),e.defer?ot=yp(function(){yo(e,function(){ot=null})}):(yo(e),ot=null)},yo=function(e,n){var o=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,l=e.linkTags,i=e.metaTags,c=e.noscriptTags,d=e.onChangeClientState,u=e.scriptTags,m=e.styleTags,f=e.title,p=e.titleAttributes;dn(L.BODY,r),dn(L.HTML,a),wp(f,p);var g={baseTag:Ue(L.BASE,o),linkTags:Ue(L.LINK,l),metaTags:Ue(L.META,i),noscriptTags:Ue(L.NOSCRIPT,c),scriptTags:Ue(L.SCRIPT,u),styleTags:Ue(L.STYLE,m)},b={},y={};Object.keys(g).forEach(function(x){var w=g[x],A=w.newTags,j=w.oldTags;A.length&&(b[x]=A),j.length&&(y[x]=g[x].oldTags)}),n&&n(),d(e,b,y)},Xr=function(e){return Array.isArray(e)?e.join(""):e},wp=function(e,n){typeof e<"u"&&document.title!==e&&(document.title=Xr(e)),dn(L.TITLE,n)},dn=function(e,n){var o=document.getElementsByTagName(e)[0];if(o){for(var r=o.getAttribute(xe),a=r?r.split(","):[],l=[].concat(a),i=Object.keys(n),c=0;c<i.length;c++){var d=i[c],u=n[d]||"";o.getAttribute(d)!==u&&o.setAttribute(d,u),a.indexOf(d)===-1&&a.push(d);var m=l.indexOf(d);m!==-1&&l.splice(m,1)}for(var f=l.length-1;f>=0;f--)o.removeAttribute(l[f]);a.length===l.length?o.removeAttribute(xe):o.getAttribute(xe)!==i.join(",")&&o.setAttribute(xe,i.join(","))}},Ue=function(e,n){var o=document.head||document.querySelector(L.HEAD),r=o.querySelectorAll(e+"["+xe+"]"),a=Array.prototype.slice.call(r),l=[],i=void 0;return n&&n.length&&n.forEach(function(c){var d=document.createElement(e);for(var u in c)if(c.hasOwnProperty(u))if(u===ee.INNER_HTML)d.innerHTML=c.innerHTML;else if(u===ee.CSS_TEXT)d.styleSheet?d.styleSheet.cssText=c.cssText:d.appendChild(document.createTextNode(c.cssText));else{var m=typeof c[u]>"u"?"":c[u];d.setAttribute(u,m)}d.setAttribute(xe,"true"),a.some(function(f,p){return i=p,d.isEqualNode(f)})?a.splice(i,1):l.push(d)}),a.forEach(function(c){return c.parentNode.removeChild(c)}),l.forEach(function(c){return o.appendChild(c)}),{oldTags:a,newTags:l}},Qr=function(e){return Object.keys(e).reduce(function(n,o){var r=typeof e[o]<"u"?o+'="'+e[o]+'"':""+o;return n?n+" "+r:r},"")},Sp=function(e,n,o,r){var a=Qr(o),l=Xr(n);return a?"<"+e+" "+xe+'="true" '+a+">"+ln(l,r)+"</"+e+">":"<"+e+" "+xe+'="true">'+ln(l,r)+"</"+e+">"},Ap=function(e,n,o){return n.reduce(function(r,a){var l=Object.keys(a).filter(function(d){return!(d===ee.INNER_HTML||d===ee.CSS_TEXT)}).reduce(function(d,u){var m=typeof a[u]>"u"?u:u+'="'+ln(a[u],o)+'"';return d?d+" "+m:m},""),i=a.innerHTML||a.cssText||"",c=ip.indexOf(e)===-1;return r+"<"+e+" "+xe+'="true" '+l+(c?"/>":">"+i+"</"+e+">")},"")},Zr=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(o,r){return o[Et[r]||r]=e[r],o},n)},Tp=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(o,r){return o[sp[r]||r]=e[r],o},n)},Cp=function(e,n,o){var r,a=(r={key:n},r[xe]=!0,r),l=Zr(o,a);return[v.createElement(L.TITLE,l,n)]},Ep=function(e,n){return n.map(function(o,r){var a,l=(a={key:r},a[xe]=!0,a);return Object.keys(o).forEach(function(i){var c=Et[i]||i;if(c===ee.INNER_HTML||c===ee.CSS_TEXT){var d=o.innerHTML||o.cssText;l.dangerouslySetInnerHTML={__html:d}}else l[c]=o[i]}),v.createElement(e,l)})},Ce=function(e,n,o){switch(e){case L.TITLE:return{toComponent:function(){return Cp(e,n.title,n.titleAttributes)},toString:function(){return Sp(e,n.title,n.titleAttributes,o)}};case Me.BODY:case Me.HTML:return{toComponent:function(){return Zr(n)},toString:function(){return Qr(n)}};default:return{toComponent:function(){return Ep(e,n)},toString:function(){return Ap(e,n,o)}}}},ea=function(e){var n=e.baseTag,o=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,l=e.linkTags,i=e.metaTags,c=e.noscriptTags,d=e.scriptTags,u=e.styleTags,m=e.title,f=m===void 0?"":m,p=e.titleAttributes;return{base:Ce(L.BASE,n,r),bodyAttributes:Ce(Me.BODY,o,r),htmlAttributes:Ce(Me.HTML,a,r),link:Ce(L.LINK,l,r),meta:Ce(L.META,i,r),noscript:Ce(L.NOSCRIPT,c,r),script:Ce(L.SCRIPT,d,r),style:Ce(L.STYLE,u,r),title:Ce(L.TITLE,{title:f,titleAttributes:p},r)}},jp=function(e){var n,o;return o=n=function(r){up(a,r);function a(){return cp(this,a),pp(this,r.apply(this,arguments))}return a.prototype.shouldComponentUpdate=function(i){return!Zu(this.props,i)},a.prototype.mapNestedChildrenToProps=function(i,c){if(!c)return null;switch(i.type){case L.SCRIPT:case L.NOSCRIPT:return{innerHTML:c};case L.STYLE:return{cssText:c}}throw new Error("<"+i.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},a.prototype.flattenArrayTypeChildren=function(i){var c,d=i.child,u=i.arrayTypeChildren,m=i.newChildProps,f=i.nestedChildren;return ue({},u,(c={},c[d.type]=[].concat(u[d.type]||[],[ue({},m,this.mapNestedChildrenToProps(d,f))]),c))},a.prototype.mapObjectTypeChildren=function(i){var c,d,u=i.child,m=i.newProps,f=i.newChildProps,p=i.nestedChildren;switch(u.type){case L.TITLE:return ue({},m,(c={},c[u.type]=p,c.titleAttributes=ue({},f),c));case L.BODY:return ue({},m,{bodyAttributes:ue({},f)});case L.HTML:return ue({},m,{htmlAttributes:ue({},f)})}return ue({},m,(d={},d[u.type]=ue({},f),d))},a.prototype.mapArrayTypeChildrenToProps=function(i,c){var d=ue({},c);return Object.keys(i).forEach(function(u){var m;d=ue({},d,(m={},m[u]=i[u],m))}),d},a.prototype.warnOnInvalidChildren=function(i,c){return!0},a.prototype.mapChildrenToProps=function(i,c){var d=this,u={};return v.Children.forEach(i,function(m){if(!(!m||!m.props)){var f=m.props,p=f.children,g=fo(f,["children"]),b=Tp(g);switch(d.warnOnInvalidChildren(m,p),m.type){case L.LINK:case L.META:case L.NOSCRIPT:case L.SCRIPT:case L.STYLE:u=d.flattenArrayTypeChildren({child:m,arrayTypeChildren:u,newChildProps:b,nestedChildren:p});break;default:c=d.mapObjectTypeChildren({child:m,newProps:c,newChildProps:b,nestedChildren:p});break}}}),c=this.mapArrayTypeChildrenToProps(u,c),c},a.prototype.render=function(){var i=this.props,c=i.children,d=fo(i,["children"]),u=ue({},d);return c&&(u=this.mapChildrenToProps(c,u)),v.createElement(e,u)},dp(a,null,[{key:"canUseDOM",set:function(i){e.canUseDOM=i}}]),a}(v.Component),n.propTypes={base:Z.object,bodyAttributes:Z.object,children:Z.oneOfType([Z.arrayOf(Z.node),Z.node]),defaultTitle:Z.string,defer:Z.bool,encodeSpecialCharacters:Z.bool,htmlAttributes:Z.object,link:Z.arrayOf(Z.object),meta:Z.arrayOf(Z.object),noscript:Z.arrayOf(Z.object),onChangeClientState:Z.func,script:Z.arrayOf(Z.object),style:Z.arrayOf(Z.object),title:Z.string,titleAttributes:Z.object,titleTemplate:Z.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=e.peek,n.rewind=function(){var r=e.rewind();return r||(r=ea({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),r},o},Np=function(){return null},Pp=qu(gp,xp,ea)(Np),un=jp(Pp);un.renderStatic=un.rewind;const kp=Lo,Dh=Mo,Rp=Oo,ta=h.forwardRef(({className:t,...e},n)=>s.jsx(jt,{ref:n,className:K("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));ta.displayName=jt.displayName;const na=h.forwardRef(({className:t,children:e,...n},o)=>s.jsxs(Rp,{children:[s.jsx(ta,{}),s.jsxs(Nt,{ref:o,className:K("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...n,children:[e,s.jsxs(Io,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[s.jsx(yn,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));na.displayName=Nt.displayName;const oa=({className:t,...e})=>s.jsx("div",{className:K("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});oa.displayName="DialogHeader";const ra=h.forwardRef(({className:t,...e},n)=>s.jsx(Pt,{ref:n,className:K("text-lg font-semibold leading-none tracking-tight",t),...e}));ra.displayName=Pt.displayName;const Ip=h.forwardRef(({className:t,...e},n)=>s.jsx(kt,{ref:n,className:K("text-sm text-muted-foreground",t),...e}));Ip.displayName=kt.displayName;const Op=`
query TrendingAnime($season: MediaSeason, $seasonYear: Int) {
Page(page: 1, perPage: 6) {
media(
type: ANIME
sort: TRENDING_DESC
season: $season
seasonYear: $seasonYear
isAdult: false
) {
id
title {
romaji
english
}
description(asHtml: false)
bannerImage
coverImage {
large
extraLarge
}
genres
averageScore
episodes
status
}
}
}
`,Lp=[{id:145064,title:{romaji:"Jujutsu Kaisen 3rd Season",english:"Jujutsu Kaisen Season 3"},description:"The third season of Jujutsu Kaisen continues the story of Yuji Itadori and his fellow sorcerers as they face increasingly powerful curses.",bannerImage:"https://s4.anilist.co/file/anilistcdn/media/anime/banner/145064-S7qAgxf6kGDZ.jpg",coverImage:{large:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx145064-5fa4ZBbW4dqA.jpg",extraLarge:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx145064-5fa4ZBbW4dqA.jpg"},genres:["Action","Fantasy","Supernatural"],averageScore:87,episodes:24,status:"RELEASING"},{id:154587,title:{romaji:"Sousou no Frieren 2nd Season",english:"Frieren: Beyond Journey's End Season 2"},description:"Frieren continues her journey of understanding humanity and the bonds she formed with her former companions.",bannerImage:"https://s4.anilist.co/file/anilistcdn/media/anime/banner/154587-ivXNJ23SM1xB.jpg",coverImage:{large:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx154587-gHSraOSa0nBG.jpg",extraLarge:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx154587-gHSraOSa0nBG.jpg"},genres:["Adventure","Drama","Fantasy"],averageScore:92,episodes:24,status:"RELEASING"},{id:163134,title:{romaji:"Solo Leveling Season 2",english:"Solo Leveling Season 2"},description:"Sung Jinwoo continues his rise to become the most powerful hunter as new threats emerge.",bannerImage:"https://s4.anilist.co/file/anilistcdn/media/anime/banner/163134-d1Y8lWHRNzXu.jpg",coverImage:{large:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx163134-Y5Gu0Vm1SknC.png",extraLarge:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx163134-Y5Gu0Vm1SknC.png"},genres:["Action","Fantasy"],averageScore:85,episodes:12,status:"RELEASING"},{id:171018,title:{romaji:"Dandadan",english:"Dandadan"},description:"A high school girl who believes in ghosts and a boy who believes in aliens team up to prove each other wrong.",bannerImage:"https://s4.anilist.co/file/anilistcdn/media/anime/banner/171018-9Cggs6UMFuZE.jpg",coverImage:{large:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx171018-4LCWtPHsgB4o.jpg",extraLarge:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx171018-4LCWtPHsgB4o.jpg"},genres:["Action","Comedy","Supernatural"],averageScore:84,episodes:12,status:"RELEASING"},{id:153518,title:{romaji:"Oshi no Ko 2nd Season",english:"Oshi no Ko Season 2"},description:"Aqua and Ruby continue their journey in the entertainment industry while seeking the truth about their past.",bannerImage:"https://s4.anilist.co/file/anilistcdn/media/anime/banner/153518-ZEaT5l7qXmPB.jpg",coverImage:{large:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx153518-7jxBLyYsJP03.jpg",extraLarge:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx153518-7jxBLyYsJP03.jpg"},genres:["Drama","Mystery","Supernatural"],averageScore:84,episodes:13,status:"FINISHED"},{id:166531,title:{romaji:"Blue Lock 2nd Season",english:"Blue Lock Season 2"},description:"The intense soccer battle continues as players compete to become Japan's ultimate striker.",bannerImage:"https://s4.anilist.co/file/anilistcdn/media/anime/banner/166531-1DqYxf5k4P3u.jpg",coverImage:{large:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx166531-fY4hIvmXKwNH.jpg",extraLarge:"https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx166531-fY4hIvmXKwNH.jpg"},genres:["Sports"],averageScore:80,episodes:14,status:"FINISHED"}],Mp=()=>{const t=new Date,e=t.getMonth()+1,n=t.getFullYear();return e>=1&&e<=3?{season:"WINTER",year:n}:e>=4&&e<=6?{season:"SPRING",year:n}:e>=7&&e<=9?{season:"SUMMER",year:n}:{season:"FALL",year:n}};function Dp(){const{season:t,year:e}=Mp();return La({queryKey:["anilist-trending",t,e],queryFn:async()=>{const n=await fetch("https://graphql.anilist.co",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:Op,variables:{season:t,seasonYear:e}})});if(!n.ok)throw new Error("Failed to fetch from AniList");const o=await n.json();if(!o.data?.Page?.media?.length)throw new Error("No trending anime found");return o.data.Page.media},staleTime:1e3*60*30,retry:2})}const Fp=t=>t?t.replace(/<[^>]*>/g,"").replace(/\n/g," ").trim():"";function _p(){const{data:t,isLoading:e,isError:n}=Dp(),[o,r]=h.useState(0),[a,l]=h.useState(!0),[i,c]=h.useState(null),d=n||!t?.length?Lp:t,u=h.useCallback(()=>{r(y=>(y+1)%d.length)},[d.length]),m=h.useCallback(()=>{r(y=>(y-1+d.length)%d.length)},[d.length]);h.useEffect(()=>{if(!a)return;const y=setInterval(u,6e3);return()=>clearInterval(y)},[a,u]);const f=()=>l(!1),p=()=>l(!0);if(e)return s.jsx(zp,{});const g=d[o],b=g.title.english||g.title.romaji;return s.jsxs(s.Fragment,{children:[s.jsxs("section",{className:"relative w-full h-[100px] md:h-[120px] overflow-hidden",style:{contain:"layout style"},onMouseEnter:f,onMouseLeave:p,children:[s.jsxs("div",{className:"absolute inset-0",children:[s.jsx("div",{className:"absolute inset-0 bg-cover bg-center transition-opacity duration-500",style:{backgroundImage:g.bannerImage?`url(${g.bannerImage})`:`url(${g.coverImage.extraLarge})`}}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background via-background/90 to-background/60"})]}),s.jsx("div",{className:"relative z-10 h-full max-w-7xl mx-auto px-4 md:px-6 flex items-center",children:s.jsxs("div",{className:"flex items-center gap-4 w-full",children:[s.jsx("div",{className:"flex-shrink-0",children:s.jsx("img",{src:g.coverImage.large,alt:b,width:64,height:90,className:"w-14 md:w-16 h-20 md:h-[90px] object-cover rounded-md shadow-lg ring-1 ring-primary/20",fetchPriority:"high"})}),s.jsxs("div",{className:"flex-1 min-w-0 flex flex-col md:flex-row md:items-center md:gap-6",children:[s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsxs("span",{className:"inline-flex items-center gap-1 px-1.5 py-0.5 rounded bg-primary/20 text-primary text-[10px] font-medium",children:[s.jsx(ks,{className:"w-2.5 h-2.5"}),"Trending"]}),g.averageScore&&s.jsxs("span",{className:"flex items-center gap-0.5 text-[10px] text-yellow-500",children:[s.jsx($n,{className:"w-2.5 h-2.5 fill-yellow-500"}),g.averageScore,"%"]})]}),s.jsx("h2",{className:"text-sm md:text-lg font-bold line-clamp-1 mb-0.5",children:b}),s.jsx("div",{className:"flex items-center gap-1.5 text-[10px] text-muted-foreground",children:g.genres.slice(0,3).map((y,x)=>s.jsxs("span",{className:"flex items-center gap-1",children:[x>0&&s.jsx("span",{className:"text-muted-foreground/50",children:"•"}),y]},y))})]}),s.jsxs(Re,{size:"sm",variant:"secondary",className:"hidden md:flex gap-1 h-7 text-xs mt-2 md:mt-0",onClick:()=>c(g),children:[s.jsx(zn,{className:"w-3 h-3"}),"Details"]})]}),s.jsx(Re,{size:"icon",variant:"ghost",className:"md:hidden flex-shrink-0 h-8 w-8",onClick:()=>c(g),"aria-label":`View details for ${b}`,children:s.jsx(zn,{className:"w-4 h-4"})})]})}),s.jsx("button",{onClick:m,className:"absolute left-2 top-1/2 -translate-y-1/2 z-20 p-2 rounded-full bg-background/50 backdrop-blur-sm hover:bg-background/80 transition-colors min-w-[44px] min-h-[44px] flex items-center justify-center","aria-label":"Previous slide",children:s.jsx(vs,{className:"w-5 h-5"})}),s.jsx("button",{onClick:u,className:"absolute right-2 top-1/2 -translate-y-1/2 z-20 p-2 rounded-full bg-background/50 backdrop-blur-sm hover:bg-background/80 transition-colors min-w-[44px] min-h-[44px] flex items-center justify-center","aria-label":"Next slide",children:s.jsx(sr,{className:"w-5 h-5"})}),s.jsx("div",{className:"absolute bottom-0 right-4 z-20 flex items-center gap-0",role:"tablist","aria-label":"Trending anime slides",children:d.map((y,x)=>s.jsx("button",{role:"tab",onClick:()=>r(x),className:`
rounded-full transition-all duration-300 min-w-[44px] min-h-[44px] flex items-center justify-center
${x===o?"":"hover:bg-muted-foreground/10"}
`,"aria-label":`Go to slide ${x+1} of ${d.length}`,"aria-selected":x===o,"aria-current":x===o?"true":"false",children:s.jsx("span",{className:`block rounded-full ${x===o?"w-3 h-2 bg-primary":"w-2 h-2 bg-muted-foreground/40"}`})},x))})]}),s.jsx(kp,{open:!!i,onOpenChange:()=>c(null),children:s.jsx(na,{className:"glass-card max-w-2xl max-h-[90vh] overflow-y-auto",children:i&&s.jsxs(s.Fragment,{children:[s.jsx(oa,{children:s.jsx(ra,{className:"text-2xl pr-8",children:i.title.english||i.title.romaji})}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"relative rounded-xl overflow-hidden h-48",children:[s.jsx("img",{src:i.bannerImage||i.coverImage.extraLarge,alt:"",className:"w-full h-full object-cover"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background to-transparent"}),s.jsx("img",{src:i.coverImage.large,alt:i.title.romaji,className:"absolute bottom-4 left-4 w-24 h-36 object-cover rounded-lg shadow-xl ring-2 ring-background"})]}),s.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-sm",children:[i.averageScore&&s.jsxs("span",{className:"flex items-center gap-1 text-yellow-500",children:[s.jsx($n,{className:"w-4 h-4 fill-current"}),i.averageScore,"% Rating"]}),i.episodes&&s.jsxs("span",{className:"text-muted-foreground",children:[i.episodes," Episodes"]}),s.jsx("span",{className:"text-muted-foreground capitalize",children:i.status.toLowerCase().replace("_"," ")})]}),s.jsx("div",{className:"flex flex-wrap gap-2",children:i.genres.map(y=>s.jsx("span",{className:"px-3 py-1 rounded-full bg-primary/10 text-primary text-sm",children:y},y))}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold mb-2",children:"Synopsis"}),s.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:Fp(i.description)||"No synopsis available."})]}),s.jsxs("div",{className:"pt-4 border-t border-border",children:[s.jsx("h3",{className:"font-semibold mb-3",children:"Where to Watch"}),s.jsxs("div",{className:"flex flex-wrap gap-3",children:[s.jsxs("a",{href:`https://www.crunchyroll.com/search?q=${encodeURIComponent(i.title.romaji)}`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-4 py-2 rounded-lg bg-orange-500 text-white text-sm font-medium hover:opacity-90 transition-opacity",children:[s.jsx(Fn,{className:"w-4 h-4"}),"Watch on Crunchyroll"]}),s.jsxs("a",{href:`https://anilist.co/anime/${i.id}`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-4 py-2 rounded-lg bg-muted text-foreground text-sm font-medium hover:bg-muted/80 transition-colors",children:[s.jsx(Fn,{className:"w-4 h-4"}),"View on AniList"]})]})]})]})]})})})]})}function zp(){return s.jsx("section",{className:"relative w-full h-[100px] md:h-[120px] bg-muted/30",style:{contain:"layout style"},children:s.jsx("div",{className:"h-full max-w-7xl mx-auto px-4 md:px-6 flex items-center",children:s.jsxs("div",{className:"flex items-center gap-4 w-full",children:[s.jsx(ie,{className:"w-14 md:w-16 h-20 md:h-[90px] rounded-md flex-shrink-0"}),s.jsxs("div",{className:"flex-1 space-y-2",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ie,{className:"h-4 w-16"}),s.jsx(ie,{className:"h-4 w-10"})]}),s.jsx(ie,{className:"h-5 w-48"}),s.jsx(ie,{className:"h-3 w-32"})]})]})})})}const $p=h.lazy(()=>_(()=>import("./VibeSearch-irRmegFT.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),Hp=h.lazy(()=>_(()=>import("./ScreenshotSearchSection-BdnuKlWc.js"),__vite__mapDeps([9,1,2,10,11,3,12,13,14,15,16,17,18,19,5,4,20,21,6,7,8]))),Bp=h.lazy(()=>_(()=>import("./WhatToWatchQuiz-C693lJYd.js"),__vite__mapDeps([22,7,1,2,6,8,23]))),Vp=h.lazy(()=>_(()=>import("./ThisWeekSection-Ciwb9mms.js"),__vite__mapDeps([24,1,2,6,25,26,7,8]))),Up=h.lazy(()=>_(()=>import("./LatestNewsSection-Dlr_S5nP.js"),__vite__mapDeps([27,1,2,6,25,7,8]))),Wp=h.lazy(()=>_(()=>import("./BlogSection-D1SGFZs5.js"),__vite__mapDeps([28,1,2,6,25,7,8])));function rt(){return s.jsx("div",{className:"px-4 py-12 md:py-16",children:s.jsxs("div",{className:"mx-auto max-w-7xl",children:[s.jsx(ie,{className:"h-8 w-64 mb-8"}),s.jsxs("div",{className:"grid gap-4 md:grid-cols-3",children:[s.jsx(ie,{className:"h-48"}),s.jsx(ie,{className:"h-48"}),s.jsx(ie,{className:"h-48"})]})]})})}function Gp(){return s.jsx("div",{className:"px-4 py-12 md:py-16",children:s.jsx("div",{className:"mx-auto max-w-2xl",children:s.jsx(ie,{className:"h-64 rounded-xl"})})})}const qp={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"How do I find what anime a screenshot is from?",acceptedAnswer:{"@type":"Answer",text:"Upload your anime screenshot to What-Anime's image search tool. Our AI will analyze the image and identify the anime, episode number, and exact timestamp within seconds."}},{"@type":"Question",name:"Is the anime screenshot search free?",acceptedAnswer:{"@type":"Answer",text:"Yes! What-Anime's screenshot search is completely free to use. Simply upload any anime screenshot and get instant results including the anime title, episode, and timestamp."}},{"@type":"Question",name:"What anime are releasing this week?",acceptedAnswer:{"@type":"Answer",text:"Check our release schedule for the latest anime episodes airing this week. We track all currently airing anime with exact air times in your local timezone."}},{"@type":"Question",name:"How accurate is the anime scene finder?",acceptedAnswer:{"@type":"Answer",text:"What-Anime uses advanced image recognition to match screenshots against a database of millions of anime frames. Most searches return results with 85%+ accuracy, identifying the exact episode and timestamp."}},{"@type":"Question",name:"Can I search for anime by genre or studio?",acceptedAnswer:{"@type":"Answer",text:"Yes! Browse our extensive anime database by genre (Action, Romance, Fantasy, etc.) or by animation studio. Each anime page includes detailed information, ratings, and related recommendations."}}]};function Yp(){const{t}=Lt(),[e,n]=h.useState(null);return h.useEffect(()=>{const{data:{subscription:o}}=xt.auth.onAuthStateChange((r,a)=>{n(a?.user??null)});return xt.auth.getSession().then(({data:{session:r}})=>{n(r?.user??null)}),()=>o.unsubscribe()},[]),s.jsxs(s.Fragment,{children:[s.jsxs(un,{children:[s.jsx("title",{children:"What-Anime | Find Any Anime Scene from Screenshots"}),s.jsx("meta",{name:"description",content:"Identify any anime from a screenshot instantly. Search anime by image, browse release schedules, explore genres, studios, and discover new series. Free anime scene finder."}),s.jsx("meta",{property:"og:title",content:"What-Anime | Anime Screenshot Search & Database"}),s.jsx("meta",{property:"og:description",content:"Find what anime a screenshot is from in seconds. Browse thousands of anime series, characters, and upcoming releases."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{property:"og:url",content:"https://www.what-anime.com/"}),s.jsx("link",{rel:"canonical",href:"https://www.what-anime.com/"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify(qp)})]}),s.jsxs("div",{className:"min-h-screen",children:[s.jsx(Kp,{user:e,t}),s.jsx(_p,{}),s.jsx(h.Suspense,{fallback:s.jsx(rt,{}),children:s.jsx($p,{})}),s.jsx(h.Suspense,{fallback:s.jsx(rt,{}),children:s.jsx(Hp,{})}),s.jsx(h.Suspense,{fallback:s.jsx(rt,{}),children:s.jsx(Vp,{})}),s.jsx(h.Suspense,{fallback:s.jsx(Gp,{}),children:s.jsx(Bp,{})}),s.jsx(h.Suspense,{fallback:s.jsx(rt,{}),children:s.jsx(Up,{})}),s.jsx(h.Suspense,{fallback:s.jsx(rt,{}),children:s.jsx(Wp,{})})]})]})}function Kp({user:t,t:e}){const[n,o]=h.useState(!1),r=h.useRef(null);return h.useEffect(()=>{const a=new Image;a.src="/hero-bg.webp",a.onload=()=>o(!0)},[]),s.jsxs("section",{className:"hero-section relative overflow-hidden px-4 py-20 md:py-32 min-h-[420px] md:min-h-[520px]",children:[s.jsx("div",{className:"absolute inset-0 hero-gradient","aria-hidden":"true"}),s.jsx("div",{className:`absolute inset-0 transition-opacity duration-500 ${n?"opacity-40":"opacity-0"}`,"aria-hidden":"true",children:s.jsx("img",{ref:r,src:"/hero-bg.webp",alt:"",width:1920,height:1080,className:"w-full h-full object-cover",fetchPriority:"high",decoding:"async"})}),s.jsx("div",{className:"absolute inset-0 flickering-lights opacity-20","aria-hidden":"true"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/80 to-transparent","aria-hidden":"true"}),s.jsxs("div",{className:"relative mx-auto max-w-4xl text-center z-10",children:[s.jsxs("h1",{className:"mb-6 text-5xl md:text-7xl font-bold tracking-tight",children:[s.jsx("span",{className:"neon-text",children:e("home.heroTitle1")}),s.jsx("br",{}),s.jsx("span",{className:"text-foreground",children:e("home.heroTitle2")})]}),s.jsx("p",{className:"mb-8 text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto",children:e("home.heroDescription")}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsx(le,{to:"/shows",children:s.jsxs(Re,{size:"lg",className:"neon-glow-pink bg-gradient-to-r from-primary to-secondary hover:opacity-90 rounded-full px-8 group",children:[e("home.exploreShows"),s.jsx(hs,{className:"ml-2 w-4 h-4 group-hover:translate-x-1 transition-transform"})]})}),s.jsx(le,{to:"/schedule",children:s.jsx(Re,{size:"lg",variant:"outline",className:"glass-card-hover rounded-full px-8 border-primary/30",children:e("home.releaseSchedule")})})]}),s.jsx("div",{className:"mt-4",children:s.jsx(le,{to:t?"/account":"/auth",children:s.jsxs(Re,{size:"lg",variant:"ghost",className:"rounded-full px-8 text-muted-foreground hover:text-foreground",children:[s.jsx(Is,{className:"mr-2 w-4 h-4"}),e(t?"home.myAccount":"home.createAccount")]})})})]})]})}const Jp=h.lazy(()=>_(()=>import("./Schedule-BEtDHQUl.js"),__vite__mapDeps([29,1,2,6,30,11,31,32,25,26,7,8]))),Xp=h.lazy(()=>_(()=>import("./Shows-Bg4xPpgw.js"),__vite__mapDeps([33,1,2,12,34,6,3,31,4,32,7,8]))),Qp=h.lazy(()=>_(()=>import("./ShowDetail-CBBDWm4r.js"),__vite__mapDeps([35,1,2,34,6,36,10,37,38,31,39,40,25,7,8]))),Zp=h.lazy(()=>_(()=>import("./Upcoming-BaG6M3-1.js"),__vite__mapDeps([41,1,2,25,6,7,8]))),eh=h.lazy(()=>_(()=>import("./Events-Ch17PGxC.js"),__vite__mapDeps([42,1,2,6,30,11,32,43,25,7,8]))),th=h.lazy(()=>_(()=>import("./Account-DpLXcmMq.js"),__vite__mapDeps([44,1,2,12,14,6,7,8]))),nh=h.lazy(()=>_(()=>import("./Auth-B7Donxuh.js"),__vite__mapDeps([45,1,2,12,14,6,7,8]))),oh=h.lazy(()=>_(()=>import("./ArticleDetail-2lgb--QM.js"),__vite__mapDeps([46,1,2,6,39,25,7,8]))),rh=h.lazy(()=>_(()=>import("./Blog-Cy7hCfp2.js"),__vite__mapDeps([47,1,2,6,3,10,7,8]))),ah=h.lazy(()=>_(()=>import("./BlogDetail-BY1u0q37.js"),__vite__mapDeps([48,1,2,6,36,3,18,19,39,7,8]))),sh=h.lazy(()=>_(()=>import("./AdminBlog-9EYGz-DT.js"),__vite__mapDeps([49,1,2,6,12,14,13,10,7,8]))),ih=h.lazy(()=>_(()=>import("./Privacy-CAC2MWWj.js"),__vite__mapDeps([50,1,2,39,6,7,8]))),lh=h.lazy(()=>_(()=>import("./Terms-B1Mr-yG1.js"),__vite__mapDeps([51,1,2,39,6,7,8]))),ch=h.lazy(()=>_(()=>import("./About-H6qInbSm.js"),__vite__mapDeps([52,1,2,39,17,6,7,8]))),dh=h.lazy(()=>_(()=>import("./Contact-BfxCK_Vl.js"),__vite__mapDeps([53,1,2,12,14,13,39,54,15,6,7,8]))),uh=h.lazy(()=>_(()=>import("./Explore-DURNYZZg.js"),__vite__mapDeps([55,1,2,6,56,8,23,57,7]))),ph=h.lazy(()=>_(()=>import("./SceneDetail-CsCTkL6h.js"),__vite__mapDeps([58,1,2,38,6,13,12,10,19,39,8,23,56,21,59,15,7]))),hh=h.lazy(()=>_(()=>import("./AnimeDetail-BzT-TtN6.js"),__vite__mapDeps([60,1,2,6,10,3,61,20,39,8,40,59,23,7]))),mh=h.lazy(()=>_(()=>import("./Genres-Cs3U84nL.js"),__vite__mapDeps([62,1,2,6,10,4,37,16,56,17,7,8]))),fh=h.lazy(()=>_(()=>import("./GenreDetail-DxSI5sfR.js"),__vite__mapDeps([63,1,2,6,10,3,38,39,40,7,8]))),gh=h.lazy(()=>_(()=>import("./Studios-DKDaccMg.js"),__vite__mapDeps([64,1,2,6,10,3,12,4,40,7,8]))),yh=h.lazy(()=>_(()=>import("./StudioDetail-zv-8D6xC.js"),__vite__mapDeps([65,1,2,6,10,3,38,39,40,7,8]))),bh=h.lazy(()=>_(()=>import("./Seasons-BwoLHUUO.js"),__vite__mapDeps([66,1,2,6,10,3,7,8]))),vh=h.lazy(()=>_(()=>import("./SeasonDetail-C6x5S3eH.js"),__vite__mapDeps([67,1,2,6,10,3,38,39,23,40,7,8]))),xh=h.lazy(()=>_(()=>import("./Characters-DmoOdgj8.js"),__vite__mapDeps([68,1,2,6,12,7,8]))),wh=h.lazy(()=>_(()=>import("./CharacterDetail-T2ErgeaQ.js"),__vite__mapDeps([69,1,2,6,61,38,39,7,8]))),bo=h.lazy(()=>_(()=>import("./WatchOrders-DOaG8Rd9.js"),__vite__mapDeps([70,1,2,12,11,57,43,54,8,6,38,39,4,31,7,71]))),Sh=h.lazy(()=>_(()=>import("./SeasonalReleases-CPa0LGqG.js"),__vite__mapDeps([72,1,2,38,3,23,12,4,32,5,6,7,8]))),Ah=h.lazy(()=>_(()=>import("./NotFound-S2l0MGwU.js"),__vite__mapDeps([73,1,2])));function B(){return s.jsxs("div",{className:"min-h-[60vh] px-4 py-8 bg-background",children:[s.jsx(ie,{className:"h-8 w-64 mb-4 bg-muted/50"}),s.jsx(ie,{className:"h-4 w-full max-w-2xl mb-2 bg-muted/50"}),s.jsx(ie,{className:"h-4 w-3/4 max-w-xl mb-8 bg-muted/50"}),s.jsxs("div",{className:"grid gap-4 md:grid-cols-3",children:[s.jsx(ie,{className:"h-48 bg-muted/50"}),s.jsx(ie,{className:"h-48 bg-muted/50"}),s.jsx(ie,{className:"h-48 bg-muted/50"})]})]})}function Th(){const t=pn();return s.jsx(za,{mode:"wait",children:s.jsxs(Ia,{location:t,children:[s.jsx($,{path:"/",element:s.jsx(Yp,{})}),s.jsx($,{path:"/explore",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(uh,{})})})}),s.jsx($,{path:"/scene/:id",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(ph,{})})})}),s.jsx($,{path:"/anime/:slug",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(hh,{})})})}),s.jsx($,{path:"/schedule",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(Jp,{})})})}),s.jsx($,{path:"/shows",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(Xp,{})})})}),s.jsx($,{path:"/shows/:id",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(Qp,{})})})}),s.jsx($,{path:"/upcoming",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(Zp,{})})})}),s.jsx($,{path:"/events",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(eh,{})})})}),s.jsx($,{path:"/news/:id",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(oh,{})})})}),s.jsx($,{path:"/blog",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(rh,{})})})}),s.jsx($,{path:"/blog/:slug",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(ah,{})})})}),s.jsx($,{path:"/admin/blog",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(sh,{})})})}),s.jsx($,{path:"/genres",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(mh,{})})})}),s.jsx($,{path:"/genre/:slug",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(fh,{})})})}),s.jsx($,{path:"/studios",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(gh,{})})})}),s.jsx($,{path:"/studio/:slug",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(yh,{})})})}),s.jsx($,{path:"/seasons",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(bh,{})})})}),s.jsx($,{path:"/season/:slug",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(vh,{})})})}),s.jsx($,{path:"/characters",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(xh,{})})})}),s.jsx($,{path:"/character/:slug",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(wh,{})})})}),s.jsx($,{path:"/watch-orders",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(bo,{})})})}),s.jsx($,{path:"/watch-orders/:slug",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(bo,{})})})}),s.jsx($,{path:"/seasonal",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(Sh,{})})})}),s.jsx($,{path:"/auth",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(nh,{})})})}),s.jsx($,{path:"/account",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(th,{})})})}),s.jsx($,{path:"/privacy",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(ih,{})})})}),s.jsx($,{path:"/terms",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(lh,{})})})}),s.jsx($,{path:"/about",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(ch,{})})})}),s.jsx($,{path:"/contact",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(dh,{})})})}),s.jsx($,{path:"*",element:s.jsx(h.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(H,{children:s.jsx(Ah,{})})})})]},t.pathname)})}const Ch=new Ma,Eh=()=>s.jsx(Da,{client:Ch,children:s.jsxs(Ki,{children:[s.jsx(gi,{}),s.jsx(Yi,{}),s.jsxs(Oa,{children:[s.jsx(Ou,{}),s.jsx(h.Suspense,{fallback:s.jsx(Xi,{}),children:s.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[s.jsx(Ru,{}),s.jsx("main",{className:"flex-1",children:s.jsx(Th,{})}),s.jsx(Iu,{})]})})]})]})});Fo(document.getElementById("root")).render(s.jsx(Eh,{}));export{hs as A,Re as B,ys as C,ql as D,Fn as E,kp as F,Ss as G,As as H,zn as I,Dh as J,na as K,Cs as L,Es as M,oa as N,ra as O,Z as P,Ip as Q,fs as R,$n as S,Rs as T,Ls as U,gn as V,yn as X,Wa as a,ws as b,G as c,Yl as d,Cr as e,Zl as f,ec as g,Lh as h,Ql as i,ks as j,Xl as k,ie as l,rr as m,un as n,Oh as o,yu as p,K as q,bs as r,xt as s,Os as t,Lt as u,Is as v,ms as w,Ps as x,_n as y,sr as z};