PageSourceSearch

https://tesana.com/assets/FavoritesPage-DhpmPyxM.js

js tesana.com collected 2026-10-09 22:39:51 UTC 2,836 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-motion-hRg_q8lq.js";import{u as m}from"./vendor-query-bOUN_gKe.js";import{u as d,H as l,L as n}from"./index-BKzE8EQ8.js";import{m as c}from"./social-DLS0gBy5.js";import{E as x}from"./ExploreGameCard-CoU7JXPp.js";import{G as p}from"./GameCardSkeleton-DXy1eHov.js";import{du as o}from"./vendor-fa-Bn2dnpnC.js";import{E as u}from"./exploreLaunch-BPkNcOSK.js";import"./vendor-react-E98sgxjj.js";import"./useLocaleNavigate-BNriJdRU.js";import"./Tooltip-C8AvPGtA.js";import"./ShareModal-YOmfr9ti.js";import"./SubmitVideoModal-DzX5MAqQ.js";import"./earnProgram-B9pqjKbP.js";import"./trailerShare-BGlMG0RV.js";import"./usePublishingFeatures-C8zY31rs.js";import"./MediaImage-DKgx-nW4.js";import"./MediaVideo-CBR0-TKg.js";import"./BadgeRow-Dfwgl-tB.js";import"./PlayingNowBadge-CH2HUoBo.js";import"./playingNowApi-CB_pr25U.js";import"./Avatar-B60wpoS5.js";import"./AdminGameMenu-DlEcDyIv.js";import"./useIsStaff-DZf24Ivp.js";import"./MakeCopy-DWExybqc.js";function O(){const{t}=d("explore"),{data:r,isLoading:i,error:a}=m(c());return e.jsxs(e.Fragment,{children:[e.jsx(l,{children:e.jsx("title",{children:t("favorites.pageTitle")})}),e.jsxs("div",{className:"px-4 md:px-8 pt-22 md:pt-8 pb-12 max-w-[1280px] mx-auto",children:[e.jsxs("div",{className:"mb-6",children:[e.jsx("h1",{className:"text-lg text-foreground mb-1",children:t("favorites.title")}),e.jsx("p",{className:"text-muted-foreground",children:t("favorites.subtitle")})]}),i?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:e.jsx(p,{count:18})}):a?e.jsxs("div",{className:"text-center py-16 rounded-md border border-border flex flex-col items-center justify-center",children:[e.jsx(o,{icon:["far","heart-broken"],className:"text-4xl mb-7 text-destructive"}),e.jsx("p",{className:"text-center text-destructive",children:t("favorites.loadError")})]}):r?.games.length===0?e.jsxs("div",{className:"text-center py-16 rounded-md border border-border flex flex-col items-center justify-center",children:[e.jsx(o,{icon:["far","heart"],className:"text-4xl mb-7 text-muted-foreground/50"}),e.jsx("p",{className:"text-foreground text-lg mb-3",children:t("favorites.noFavoritesYet")}),e.jsx("p",{className:"text-muted-foreground text-base mb-7",children:t("favorites.noFavoritesDescription")}),e.jsx(n,{to:u,className:"mx-auto px-3 h-9 flex items-center bg-foreground text-background rounded-md text-sm hover:opacity-80 transition-opacity",children:t("favorites.exploreGames")})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:r?.games.map(s=>e.jsx(x,{game:s},s.id))}),e.jsx("div",{className:"mt-12 text-center text-sm text-muted-foreground",children:t("favorites.favoritedCount",{count:r?.games.length??0})})]})]})]})}export{O as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.