1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19550,53271],{118:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var i=a(37876),n=a(14232),r=a(48230),s=a.n(r),l=a(89099),o=a(61852),c=a.n(o);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ko";switch(e){case"en":return"\uD83D\uDEF0ï¸ Space Station Signal";case"ja":return"\uD83D\uDEF0ï¸ å®å®ã¹ãã¼ã·ã§ã³ã·ã°ãã«";case"es":return"\uD83D\uDEF0ï¸ Se\xf1al de Estaci\xf3n Esp";case"vi":return"\uD83D\uDEF0ï¸ T\xedn hiá»u Trạm vÅ© trụ";case"zh-tw":return"\uD83D\uDEF0ï¸ å¤ªç©ºç«å¯¦æä¿¡è";case"de":return"\uD83D\uDEF0ï¸ Raumstation Signal";default:return"\uD83D\uDEF0ï¸ ì°ì£¼ ì ê±°ì¥ ì¤ìê° ì í¸"}}let u=()=>{let e=(0,l.useRouter)().locale||"ko",[t,a]=(0,n.useState)([]),[r,o]=(0,n.useState)(0);if((0,n.useEffect)(()=>{let t=async()=>{try{let t=await fetch(`/api/community/signals?locale=${e}`),i=await t.json();if(i&&i.length>0){let e=i.map(e=>({id:e.resultId,topic:e.testName,userName:e.userName,createdAt:e.createdAt,testType:e.testType}));a(e)}else a([{id:"1",topic:"ëì 미ë ìë
ê´ì ì ì",userName:"ì°ì£¼ííê°",createdAt:new Date().toISOString(),testType:"ai-face-reading"}])}catch(e){a([{id:"1",topic:"ëì 미ë ìë
ê´ì ì ì",userName:"ì°ì£¼ííê°",createdAt:new Date().toISOString(),testType:"ai-face-reading"}])}};t();let i=setInterval(t,6e4);return()=>clearInterval(i)},[e]),(0,n.useEffect)(()=>{if(t.length<=1)return;let e=setInterval(()=>{o(e=>(e+1)%t.length)},4e3);return()=>clearInterval(e)},[t]),0===t.length||!t[r])return(0,i.jsx)("div",{className:c().communityBridgeContainer,children:(0,i.jsxs)("div",{className:c().communityBridgeLink,style:{opacity:.6,pointerEvents:"none"},children:[(0,i.jsx)("div",{className:c().communityBridgeBadge,children:d(e)}),(0,i.jsxs)("div",{className:c().communityBridgeText,children:[(0,i.jsx)("span",{className:c().timeAgo,children:"..."}),(0,i.jsx)("span",{className:c().userName,style:{color:"rgba(255,255,255,0.3)"},children:"en"===e?"Connecting to Space Station...":"ja"===e?"å®å®ã¹ãã¼ã·ã§ã³ã«æ¥ç¶ä¸...":"ì°ì£¼ ì ê±°ì¥ íµì ì°ê²° ì¤..."})]}),(0,i.jsx)("div",{className:c().communityBridgeArrow,children:"â"})]})});let u=t[r],p=u.testType&&"1"!==u.id?`/${u.testType}/result/${u.id}`:"/community",h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ko",t=arguments.length>1?arguments[1]:void 0;if(t<=60)switch(e){case"en":return"Just now";case"ja":return"ãã£ãä»";case"es":return"Justo ahora";case"vi":return"Vừa xong";case"zh-tw":return"åå";case"de":return"Gerade eben";default:return"ë°©ê¸ ì "}if(t<=3600){let a=Math.floor(t/60);switch(e){case"en":return`${a}m ago`;case"ja":return`${a}åå`;case"es":return`Hace ${a} min`;case"vi":return`${a} ph\xfat trưá»c`;case"zh-tw":return`${a}åéå`;case"de":return`Vor ${a} Min`;default:return`${a}ë¶ ì `}}{let a=Math.floor(t/3600);switch(e){case"en":return`${a}h ago`;case"ja":return`${a}æéå`;case"es":return`Hace ${a} h`;case"vi":return`${a} giá» trưá»c`;case"zh-tw":return`${a}å°æå`;case"de":return`Vor ${a} Std`;default:return`${a}ìê° ì `}}}(e,Math.floor((new Date().getTime()-new Date(u.createdAt).getTime())/1e3));return(0,i.jsx)("div",{className:c().communityBridgeContainer,children:(0,i.jsxs)(s(),{href:p,className:c().communityBridgeLink,prefetch:!1,children:[(0,i.jsx)("div",{className:c().communityBridgeBadge,children:d(e)}),(0,i.jsx)("div",{className:c().communityBridgeText,children:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ko",t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,r=function(e,t){if(!e||["ìµëª
ì¬ì©ì","ìµëª
","Anonymous","Anonymous User","å¿åã¦ã¼ã¶ã¼","Usuario an\xf3nimo","Ngưá»i d\xf9ng ẩn danh","å¿åç¨æ¶"].includes(e))switch(t){case"en":return"Anonymous";case"ja":return"å¿åã¦ã¼ã¶ã¼";case"es":return"Usuario an\xf3nimo";case"vi":return"Ngưá»i d\xf9ng ẩn danh";case"zh-tw":return"å¿åç¨æ¶";default:return"ìµëª
ì¬ì©ì"}return e}(t,e);switch(e){case"en":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:c().timeAgo,children:n})," ",(0,i.jsx)("span",{className:c().userName,children:r})," just sent a ",(0,i.jsxs)("span",{className:c().topic,children:["'",a,"'"]})," signal!"]});case"ja":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:c().timeAgo,children:n})," ",(0,i.jsx)("span",{className:c().userName,children:r}),"ããã ",(0,i.jsxs)("span",{className:c().topic,children:["'",a,"'"]}
1)," ã·ã°ãã«ãéãã¾ããï¼"]});case"es":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:c().timeAgo,children:n})," ",(0,i.jsx)("span",{className:c().userName,children:r})," acaba de enviar una se\xf1al de ",(0,i.jsxs)("span",{className:c().topic,children:["'",a,"'"]}),"!"]});case"vi":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:c().timeAgo,children:n})," ",(0,i.jsx)("span",{className:c().userName,children:r})," vừa gá»i t\xedn hiá»u ",(0,i.jsxs)("span",{className:c().topic,children:["'",a,"'"]}),"!"]});case"zh-tw":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:c().timeAgo,children:n})," ",(0,i.jsx)("span",{className:c().userName,children:r})," ååç¼éäº ",(0,i.jsxs)("span",{className:c().topic,children:["ã",a,"ã"]}),"çä¿¡èï¼"]});case"de":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:c().timeAgo,children:n})," ",(0,i.jsx)("span",{className:c().userName,children:r})," hat gerade ein ",(0,i.jsxs)("span",{className:c().topic,children:["'",a,"'"]}),"-Signal gesendet!"]});default:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:c().timeAgo,children:n})," ",(0,i.jsx)("span",{className:c().userName,children:r}),"ëì´ ",(0,i.jsxs)("span",{className:c().topic,children:["'",a,"'"]})," ì í¸ë¥¼ ë³´ëìµëë¤!"]})}}(e,u.userName,u.topic,h)}),(0,i.jsx)("div",{className:c().communityBridgeArrow,children:"â"})]})})}},10477:(e,t,a)=>{a.r(t),a.d(t,{LiveTickerBar:()=>c,default:()=>d});var i=a(37876),n=a(14232),r=a(48230),s=a.n(r),l=a(89099);let o={ko:{badge:"ì¤ìê° í¡",noticeBadge:"ê³µì§",more:"ì°ì£¼ì ê±°ì¥",empty:"ì°ì£¼ì ê±°ì¥ ê´ì¥ìì ìì§í ì´ì¼ê¸°ë¥¼ ëë ë³´ì¸ì"},en:{badge:"LIVE",noticeBadge:"NOTICE",more:"Station",empty:"Join honest conversations in Space Station Plaza"},ja:{badge:"ãªã¢ã«ã¿ã¤ã ",noticeBadge:"ãç¥ãã",more:"å®å®ã¹ãã¼ã·ã§ã³",empty:"å®å®ã¹ãã¼ã·ã§ã³åºå ´ã§æ¬é³ãã¼ã¯ãå
±æãã¾ããã"},es:{badge:"EN VIVO",noticeBadge:"AVISO",more:"Comunidad",empty:"Comparte tu historia en la comunidad"},vi:{badge:"TRá»°C TIẾP",noticeBadge:"TH\xd4NG B\xc1O",more:"Cá»ng Äá»ng",empty:"Chia sẻ t\xe2m sá»± tại quảng trưá»ng"},"zh-tw":{badge:"峿ç±è",noticeBadge:"å
¬å",more:"å¿éå»£å ´",empty:"å¨å¿éå»£å ´åäº«ä½ ç第ä¸å話é¡å§"}},c=e=>{let{variant:t="standalone"}=e,a=function(e){{let e=window.location.pathname.match(/^\/(en|ja|es|vi|zh-tw)(\/|$)/);if(e&&e[1])return e[1]}return e||"ko"}((0,l.useRouter)().locale),r=o[a]||o.ko,[c,d]=(0,n.useState)([]),[u,p]=(0,n.useState)(0),[h,m]=(0,n.use
1State)(!1),[g,x]=(0,n.useState)(!1),[f,b]=(0,n.useState)(null),y=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=!0;return(async()=>{try{let t=[];try{let e=await fetch("/api/notice");if(e.ok){let a=await e.json();a?.success&&a.notice?.is_active&&new Date(a.notice.expires_at)>new Date&&t.push({id:`notice-${a.notice.id}`,title:a.notice.title||a.notice.content,isNotice:!0,noticeContent:a.notice.content})}}catch{}try{let e=await fetch(`/api/community/feed?category=trending&limit=8&locale=${a}`);if(e.ok){let i=await e.json();if(Array.isArray(i)&&i.length>0)t.push(...i);else{let e=await fetch(`/api/community/feed?category=all&sort=latest&limit=8&locale=${a}`);if(e.ok){let a=await e.json();Array.isArray(a)&&t.push(...a)}}}}catch{}e&&t.length>0&&d(t)}catch{}})(),()=>{e=!1}},[a]);let j=(0,n.useCallback)(()=>{c.length<=1||(x(!0),setTimeout(()=>{p(e=>(e+1)%c.length),x(!1)},280))},[c.length]);(0,n.useEffect)(()=>{if(!(c.length<=1)&&!h)return y.current=setInterval(()=>{j()},3800),()=>{y.current&&clearInterval(y.current)}},[c.length,h,j]);let v="embedded"===t;if(0===c.length)return(0,i.jsxs)(s(),{href:"/community",prefetch:!1,style:{display:"flex",alignItems:"center",gap:"10px",background:v?"transparent":"rgba(30, 30, 45, 0.65)",backdropFilter:v?"none":"blur(12px)",WebkitBackdropFilter:v?"none":"blur(12px)",border:v?"none":"1px solid rgba(168, 85, 247, 0.25)",borderRadius:v?"0":"14px",padding:v?"0 2px":"0 14px 0 10px",textDecoration:"none",color:"#cbd5e1",fontSize:"0.82rem",maxWidth:"100%",height:v?"36px":"42px",margin:v?"0":"0 auto 14px auto",width:"100%",boxSizing:"border-box",overflow:"hidden",boxShadow:v?"none":"0 4px 16px rgba(0, 0, 0, 0.25)"},children:[(0,i.jsx)("span",{style:{background:"linear-gradient(135deg, #a855f7 0%, #6366f1 100%)",color:"#fff",fontSize:"0.74rem",fontWeight:700,padding:"2px 8px",borderRadius:"8px",flexShrink:0},children:r.badge}),(0,i.jsx)("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,color:"#94a3b8",fontSize:"0.78rem"},children:r.empty}),(0,i.jsx)("span",{style:{color:"#c084fc",fontSize:"0.82rem",fontWeight:700},children:"â"})]});let w=c[u],S=w.isNotice,N=w.squad?.name||w.category,k=w._count?.comments||0;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onTouchStart:()=>m(!0),onTouchEnd:()=>m(!1),style:{width:"100%",maxWidth:"100%",height:v?"36px":"42px",margin:v?"0":"0 auto 14px auto",display:"flex",alignItems:"center",justifyContent:"space-between",background:v?"transparent":S?"linear-gradient(90deg, rgba(236, 72, 153, 0.18) 0%, rgba(168, 85, 247, 0.12) 100%)":"rgba(30, 30, 45, 0.65)",backdropFilter:v?"none":"blur(12px)",WebkitBackdropFilter:v?"none":"blur(12px)",border:v?"none":S?"1px solid rgba(236, 72, 153, 0.4)":"1px solid rgba(168, 85, 247, 0.25)",borderRadius:v?"0":"14px",padding:v?"0 2px":"0 14px 0 10px",boxSizing:"border-box",overflow:"hidden",gap:"10px",transition:"all 0.25s ease",boxShadow:v?"none":"0 4px 16px rgba(0, 0, 0, 0.25)"},children:[(0,i.jsxs)("span",{style:{background:S?"linear-gradient(135deg, #ec4899 0%, #f43f5e 100%)":"linear-gradient(135deg, #a855f7 0%, #6366f1 100%)",color:"#ffffff",fontSize:"0.74rem",fontWeight:700,padding:"3px 9px",borderRadius:"10px",flexShrink:0,display:"inline-flex",alignItems:"center",gap:"4px",letterSpacing:"0.02em",boxShadow:S?"0 2px 6px rgba(236, 72, 153, 0.4)":"0 2px 6px rgba(168, 85, 247, 0.4)"},children:[(0,i.jsx)("span",{children:S?"\uD83D\uDCE2":"â¡"}),(0,i.jsx)("span",{children:S?r.noticeBadge:r.badge})]}),S?(0,i.jsx)("div",{onClick:()=>b(w),style:{display:"flex",alignItems:"center",gap:"6px",flex:1,minWidth:0,cursor:"pointer",overflow:"hidden"},children:(0,i.jsx)("span",{style:{fontSize:"0.8rem",fontWeight:600,color:"#fed7aa",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",transition:"transform 0.25s ease, opacity 0.25s ease",transform:g?"translateY(-4px)":"translateY(0)",opacity:+!g},children:w.title})}):(0,i.jsxs)(s(),{href:`/community/post/${w.id}`,prefetch:!1,style:{display:"flex",alignItems:"center",gap:"6px",flex:1,minWidth:0,textDecoration:"none",overflow:"hidden"},children:[N&&(0,i.jsxs)("span",{style:{fontSize:"0.7rem",color:"#c084fc",fontWeight:600,flexShrink:0},children:["[",N,"]"]}),(0,i.jsx)("span",{style:{fontSize:"0.8rem",fontWeight:500,color:"#f1f5f9",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",transition:"transform 0.25s ease, opacity 0.25s ease",transform:g?"translateY(-4px)":"translateY(0)",opacity:+!g},children:w.title}),k>0&&(0,i.jsxs)("span",{style:{fontSize:"0.72rem",color:"#38bdf8",fontWeight:600,flexShrink:0,display:"inline-flex",alignItems:"center",gap:"2px"},children:["\uD83D\uDCAC",k]})]}),(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"4px",flexShrink:0},children:[(0,i.jsxs)("span",{style:{fontSize:"0.68rem",color:"#64748b",fontVariantNumeric:"tabular-nums",fontWeight:600},children:[u+1,"/",c.length]}),(0,i.jsx)(s(),{href:"/community",prefetch:!1,style:{color:"#a85
15f7",textDecoration:"none",fontSize:"0.8rem",fontWeight:800,display:"inline-flex",alignItems:"center",padding:"0 2px"},title:"ì°ì£¼ì ê±°ì¥ ê´ì¥ ê°ê¸°",children:"â"})]})]}),f&&(0,i.jsx)("div",{style:{position:"fixed",inset:0,zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.7)",backdropFilter:"blur(4px)",padding:"20px"},onClick:()=>b(null),children:(0,i.jsxs)("div",{onClick:e=>e.stopPropagation(),style:{maxWidth:"420px",width:"100%",background:"#131b2e",border:"1px solid rgba(168, 85, 247, 0.4)",borderRadius:"16px",padding:"20px",boxShadow:"0 10px 40px rgba(0,0,0,0.5)",color:"#f8fafc"},children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[(0,i.jsx)("span",{style:{background:"linear-gradient(135deg, #ec4899 0%, #f43f5e 100%)",color:"#fff",fontSize:"0.75rem",fontWeight:700,padding:"2px 8px",borderRadius:"6px"},children:"\uD83D\uDCE2 ìë´ ì¬í"}),(0,i.jsx)("button",{onClick:()=>b(null),style:{background:"none",border:"none",color:"#94a3b8",fontSize:"1.1rem",cursor:"pointer"},children:"â"})]}),(0,i.jsx)("h4",{style:{margin:"0 0 10px 0",fontSize:"1rem",fontWeight:700,color:"#f8fafc"},children:f.title}),(0,i.jsx)("div",{style:{fontSize:"0.86rem",color:"#cbd5e1",lineHeight:1.5,whiteSpace:"pre-wrap",marginBottom:"16px"},children:f.noticeContent||f.title}),(0,i.jsx)("button",{onClick:()=>b(null),style:{width:"100%",padding:"10px",borderRadius:"10px",background:"linear-gradient(135deg, #a855f7 0%, #6366f1 100%)",color:"#fff",border:"none",fontWeight:700,cursor:"pointer"},children:"íì¸"})]})})]})},d=c},12863:(e,t,a)=>{a.d(t,{A:()=>u});var i=a(37876),n=a(14232),r=a(48230),s=a.n(r),l=a(89099),o=a(61852),c=a.n(o);let d={ko:{sectionTitle:"ì¤ìê° ì°ì£¼ì ê±°ì¥ ê´ì¥",subTitle:"\uD83D\uDCAC ì¤ìê° ì° ì´ì¼ê¸°",sectionSubtitle:"ì§ê¸ ì´ ìê° ì ì ë¤ì´ ì¤ìê°ì¼ë¡ ëëë ìì§í ì´ì¼ê¸°",viewAll:"ì 체보기",writePost:"ëë ì° í기 âï¸",morePosts:"ì°ì£¼ì ê±°ì¥ ê´ì¥ìì ë ë§ì ì´ì¼ê¸° 보기",tabs:{trending:"\uD83D\uDD25 ì¤ìê° ì¸ê¸°",latest:"\uD83D\uDCAC ìµì ì°",mbti:"\uD83E\uDDE0 MBTI 과몰ì
",saju:"\uD83D\uDD2E ì¬ì£¼\xb7ì´ì¸"},emptyTitle:"ìì§ ë±ë¡ë ì´ì¼ê¸°ê° ììµëë¤",emptyDesc:"첫 ë²ì§¸ í¥ë¯¸ì§ì§í ì´ì¼ê¸°ë¥¼ ììí´ë³´ì¸ì!",firstPostCta:"첫 ë²ì§¸ ê¸ ì°ë¬ê°ê¸° â"},en:{sectionTitle:"Live Space Station Plaza",subTitle:"\uD83D\uDCAC Real-time Stories",sectionSubtitle:"Real-time honest talks and stories shared by users right now",viewAll:"View All",writePost:"Write a Story âï¸",morePosts:"Explore more in Space Station Plaza",tabs:{trending:"\uD83D\uDD25 Trending",latest:"\uD83D\uDCAC Latest",mbti:"\uD83E\uDDE0 MBTI Talk",saju:"\uD83D\uDD2E Fortune & Saju"},emptyTitle:"No stories yet",emptyDesc:"Be the first to share an interesting story!",firstPostCta:"Write the First Post â"},ja:{sectionTitle:"ãªã¢ã«ã¿ã¤ã ã»å®å®ã¹ãã¼ã·ã§ã³åºå ´",subTitle:"\uD83D\uDCAC ãªã¢ã«ã¿ã¤ã ã»ãã¼ã¯",sectionSubtitle:"ä»ãã®ç¬éã«ã¦ã¼ã¶ã¼ããªã¢ã«ã¿ã¤ã ã§å
±æããæ¬é³ãã¼ã¯",viewAll:"ãã¹ã¦è¦ã",writePost:"話ãæç¨¿ãã âï¸",morePosts:"å®å®ã¹ãã¼ã·ã§ã³åºå ´ã§ãã£ã¨è©±é¡ãè¦ã",tabs:{trending:"\uD83D\uDD25 ãã¬ã³ã",latest:"\uD83D\uDCAC ææ°ãã¼ã¯",mbti:"\uD83E\uDDE0 MBTIæ²¼",saju:"\uD83D\uDD2E åæ±ã»éå¢"},emptyTitle:"ã¾ã æç¨¿ãããã¾ãã",emptyDesc:"æåã®é¢ç½ãã¨ãã½ã¼ããå
±æãã¦ã¿ã¾ãããï¼",firstPostCta:"æåã®è¨äºãæ¸ã â"},es:{sectionTitle:"Plaza de la Estaci\xf3n Espacial en Vivo",subTitle:"\uD83D\uDCAC Historias en Vivo",sectionSubtitle:"Historias sinceras y debates compartidos en tiempo real por los usuarios",viewAll:"Ver todo",writePost:"Publicar historia âï¸",morePosts:"Ver m\xe1s historias en la Plaza Espacial",tabs:{trending:"\uD83D\uDD25 Tendencias",latest:"\uD83D\uDCAC Lo \xfaltimo",mbti:"\uD83E\uDDE0 Debate MBTI",saju:"\uD83D\uDD2E Destino y Tarot"},emptyTitle:"A\xfan no hay historias",emptyDesc:"\xa1S\xe9 el primero en compartir algo interesante!",firstPostCta:"Escribir la primera historia â"},vi:{sectionTitle:"Quảng trưá»ng Trạm VÅ© trụ Trá»±c tiếp",subTitle:"\uD83D\uDCAC Chuyá»n Trá»±c Tiếp",sectionSubtitle:"Những cuá»c tr\xf2 chuyá»n ch\xe2n tháºt ÄÆ°á»£c chia sẻ theo thá»i gian thá»±c",viewAll:"Xem tất cả",writePost:"Viết t\xe2m sá»± âï¸",morePosts:"Xem th\xeam tại Quảng trưá»ng Trạm VÅ© trụ",tabs:{trending:"\uD83D\uDD25 Thá»nh h\xe0nh",latest:"\uD83D\uDCAC Má»i nhất",mbti:"\uD83E\uDDE0 G\xf3c MBTI",saju:"\uD83D\uDD2E Tá
1» vi & Váºn má»nh"},emptyTitle:"Chưa c\xf3 c\xe2u chuyá»n n\xe0o",emptyDesc:"H\xe3y l\xe0 ngưá»i Äầu ti\xean bắt Äầu cuá»c tr\xf2 chuyá»n!",firstPostCta:"Viết b\xe0i Äầu ti\xean ngay â"},"zh-tw":{sectionTitle:"å³æå¤ªç©ºç«å»£å ´",subTitle:"\uD83D\uDCAC å³æè©±é¡å¿è²",sectionSubtitle:"æ¤ææ¤å»ç¨æ¶æ£å¨å³æå享çç實å¿è²è話é¡",viewAll:"æ¥çå
¨é¨",writePost:"æä¹è¦ç¼æ âï¸",morePosts:"å¨å¤ªç©ºç«å»£å ´æ¢ç´¢æ´å¤ç²¾å½©è©±é¡",tabs:{trending:"\uD83D\uDD25 峿ç±é",latest:"\uD83D\uDCAC ææ°è©±é¡",mbti:"\uD83E\uDDE0 MBTI å°å",saju:"\uD83D\uDD2E å
«å\xb7å½ç"},emptyTitle:"ç®åå°ç¡è²¼æ",emptyDesc:"æçºç¬¬ä¸åå享æè¶£è©±é¡ç人å§ï¼",firstPostCta:"æ°å¯«ç¬¬ä¸ç¯è²¼æ â"}},u=e=>{let{isEmbedded:t=!1}=e,a=function(e){{let e=window.location.pathname.match(/^\/(en|ja|es|vi|zh-tw)(\/|$)/);if(e&&e[1])return e[1]}return e||"ko"}((0,l.useRouter)().locale),r=d[a]||d.ko,[o,u]=(0,n.useState)("trending"),[p,h]=(0,n.useState)({}),[m,g]=(0,n.useState)(!1),x=(0,n.useCallback)(async e=>{if(p[e])return;g(!0);let t=`/api/community/feed?locale=${a}&limit=8`;"trending"===e?t+="&category=trending":"latest"===e?t+="&category=all&sort=latest":"mbti"===e?t+="&squadSlug=mbti":"saju"===e&&(t+="&squadSlug=saju");try{let a=await fetch(t);if(a.ok){let t=await a.json();Array.isArray(t)&&h(a=>({...a,[e]:t}))}}catch{}finally{g(!1)}},[p,a]);(0,n.useEffect)(()=>{h({}),x(o)},[a]),(0,n.useEffect)(()=>{x(o)},[o,x]);let f=(0,n.useMemo)(()=>(p[o]||[]).slice(0,3),[p,o]);return(0,i.jsxs)("div",{className:t?c().embeddedPart:c().balanceSection,style:{padding:t?0:void 0,paddingBottom:t?0:"16px"},children:[(0,i.jsxs)("div",{className:c().balanceHeader,style:{flexWrap:"wrap",gap:"14px",marginBottom:t?"16px":"20px"},children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"14px"},children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:c().balanceTitle,style:{fontSize:t?"1.05rem":void 0,margin:0,display:"flex",alignItems:"center",gap:"8px"},children:t?r.subTitle:r.sectionTitle}),!t&&(0,i.jsx)("p",{className:c().balanceSubtitle,children:r.sectionSubtitle})]}),(0,i.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"4px",background:"rgba(255, 255, 255, 0.03)",border:"1px solid rgba(255, 255, 255, 0.08)",padding:"3px",borderRadius:"10px",height:"fit-content"},children:["trending","latest","mbti","saju"].map(e=>{let t=o===e;return(0,i.jsx)("button",{onClick:()=>u(e),style:{background:t?"linear-gradient(90deg, #a855f7, #6366f1)":"transparent",color:t?"#ffffff"
1:"#94a3b8",border:"none",padding:"5px 12px",borderRadius:"8px",fontSize:"0.78rem",fontWeight:"bold",cursor:"pointer",whiteSpace:"nowrap",transition:"all 0.25s ease",boxShadow:t?"0 4px 10px rgba(168, 85, 247, 0.25)":"none"},children:r.tabs[e]},e)})})]}),(0,i.jsxs)("div",{className:c().balanceActionGroup,children:[!t&&(0,i.jsx)(s(),{href:"/community",className:c().balanceSquareLink,prefetch:!1,children:r.viewAll}),(0,i.jsx)(s(),{href:"/community?compose=true",className:c().balanceCreateBtn,prefetch:!1,style:{textDecoration:"none",display:"inline-block",padding:t?"8px 14px":void 0,fontSize:t?"0.8rem":void 0},children:r.writePost})]})]}),m&&0===f.length?(0,i.jsx)("div",{className:c().balanceGridContainer,children:[1,2,3].map(e=>(0,i.jsxs)("div",{className:c().balanceSlimCard,style:{opacity:.5,animation:"pulse 1.5s infinite ease-in-out",background:"rgba(255, 255, 255, 0.02)",borderColor:"rgba(255, 255, 255, 0.03)"},children:[(0,i.jsx)("div",{style:{height:"18px",background:"rgba(255,255,255,0.06)",borderRadius:"4px",marginBottom:"16px",width:"50%"}}),(0,i.jsx)("div",{style:{height:"24px",background:"rgba(255,255,255,0.04)",borderRadius:"6px",marginBottom:"12px",width:"85%"}}),(0,i.jsx)("div",{style:{height:"36px",background:"rgba(255,255,255,0.03)",borderRadius:"8px",width:"100%"}})]},e))}):0===f.length?(0,i.jsxs)("div",{style:{textAlign:"center",padding:"36px 20px",background:"rgba(30, 30, 45, 0.3)",borderRadius:"20px",border:"1px dashed rgba(255, 255, 255, 0.1)",backdropFilter:"blur(10px)"},children:[(0,i.jsx)("div",{style:{fontSize:"1.8rem",marginBottom:"8px"},children:"\uD83C\uDF31"}),(0,i.jsx)("h3",{style:{fontSize:"0.98rem",color:"#e2e8f0",margin:"0 0 6px 0",fontWeight:600},children:r.emptyTitle}),(0,i.jsx)("p",{style:{fontSize:"0.82rem",color:"#94a3b8",margin:"0 0 16px 0"},children:r.emptyDesc}),(0,i.jsx)(s(),{href:"/community?compose=true",prefetch:!1,style:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"8px 18px",background:"linear-gradient(135deg, #a855f7 0%, #6366f1 100%)",color:"#ffffff",borderRadius:"12px",fontSize:"0.84rem",fontWeight:600,textDecoration:"none"},children:r.firstPostCta})]}):(0,i.jsx)("div",{className:c().balanceGridContainer,children:f.map(e=>{let t=e.squad?.name||e.category||"í í¬",n=e.author?.nickname||"ìµëª
",r=e.author?.mbti,l=function(e){return e?e.replace(/<!--[\s\S]*?-->/g,"").replace(/<[^>]*>/g,"").replace(/!\[.*?\]\(.*?\)/g,"").replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/\s+/g," ").trim():""}(e.content),o=function(e,t){try{let a=Date.now(),i=new Date(e).getTime(),n=Math.max(1,Math.floor((a-i)/1e3));if(n<60){if("en"===t)return"Just now";if("ja"===t)return"ãã£ãä»";if("zh-tw"===t)return"åå";if("es"===t)return"Ahora";if("vi"===t)return"Vừa xong";return"ë°©ê¸ ì "}if(n<3600){let e=Math.floor(n/60);if("en"===t)return`${e}m ago`;if("ja"===t)return`${e}åå`;if("zh-tw"===t)return`${e}åéå`;if("es"===t)return`Hace ${e}m`;if("vi"===t)return`${e} ph\xfat trưá»c`;return`${e}ë¶ ì `}if(n<86400){let e=Math.floor(n/3600);if("en"===t)return`${e}h ago`;if("ja"===t)return`${e}æéå`;if("zh-tw"===t)return`${e}å°æå`;if("es"===t)return`Hace ${e}h`;if("vi"===t)return`${e} giá» trưá»c`;return`${e}ìê° ì `}let r=Math.floor(n/86400);if(r<30){if("en"===t)return`${r}d ago`;if("ja"===t)return`${r}æ¥å`;if("zh-tw"===t)return`${r}天å`;if("es"===t)return`Hace ${r}d`;if("vi"===t)return`${r} ng\xe0y trưá»c`;return`${r}ì¼ ì `}return new Date(e).toLocaleDateString()}catch{return""}}(e.createdAt,a);return(0,i.jsxs)(s(),{href:`/community/post/${e.id}`,prefetch:!1,className:c().balanceSlimCard,style:{textDecoration:"none",color:"inherit",cursor:"pointer",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",fontSize:"0.75rem"},children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px",minWidth:0},children:[(0,i.jsx)("span",{style:{background:"rgba(168, 85, 247, 0.15)",border:"1px solid rgba(168, 85, 247, 0.3)",color:"#c084fc",padding:"2px 8px",borderRadius:"6px",fontWeight:700,fontSize:"0.72rem",whiteSpace:"nowrap"},children:t}),(0,i.jsx)("span",{style:{color:"#cbd5e1",fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"90px"},children:n}),r&&(0,i.jsx)("span",{style:{background:"rgba(56, 189, 248, 0.12)",border:"1px solid rgba(56, 189, 248, 0.25)",color:"#38bdf8",fontSize:"0.68rem",padding:"1px 5px",borderRadius:"4px",fontWeight:700},children:r})]}),(0,i.jsx)("span",{style:{color:"#64748b",fontSize:"0.72rem",whiteSpace:"nowrap",marginLeft:"6px"},children:o})]}),(0,i.jsx)("h3",{className:c().balanceSlimQuestion,style:{marginBottom:"8px",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",height:"42px"},children:e.title}),l&&(0,i.jsx)("p",{style:{margin:"0 0 14px 0",fontSize:"0.82rem",color:"rgba(255, 255, 255, 0.55)",lineHeight:1.45,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical"},children:l})]}),(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:"8px",paddingTop:"12px",borderTop:"1px solid rgba(255, 255, 255, 0.06)",fontSize:"0.76rem",color:"#94a3b8"},children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[(0,i.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",color:"#38bdf8"},children:[(0,i.jsx)("span",{children:"\uD83D\uDCAC"}),(0,i.jsx)("span",{style:{fontWeight:600},children:e._count?.comments||0})]}),(0,i.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",color:"#f43f5e"},children:[(0,i.jsx)("span",{children:"â¤ï¸"}),(0,i.jsx)("span",{style:{fontWeight:600},children:e._count?.likes||0})]}),(0,i.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",color:"#64748b"},children:[(0,i.jsx)("span",{children:"\uD83D\uDC41ï¸"}),(0,i.jsx)("span",{children:e.views||0})]})]}),(0,i.jsx)("span",{style:{color:"#c084fc",fontSize:"0.82rem",fontWeight:600,display:"inline-flex",alignItems:"center",gap:"2px"},children:"보기 â"})]})]},e.id)})})]})}},19550:(e,t,a)=>{a.d(t,{DI:()=>y,wd:()=>j,Zp:()=>v.A,KE:()=>p,VH:()=>k,LF:()=>x,Jh:()=>h.A});var i=a(37876),n=a(14232),r=a(48230),s=a.n(r),l=a(61852),o=a.n(l),c=a(91122),d=a(88509),u=a(66188);let p=e=>{let{tests:t,locale:a="ko"}=e,n=t[0],{getParticipantCount:r}=(0,d.q)(),l=n?.slug?r(n.slug):0,p=l>0?l:n?.participants||0,h={ko:{participants:"ì°¸ì¬ì",startNow:"ë°ë¡ ììí기",badge:"ì¤ë ë§ëì ìí½"},en:{participants:"Participants",startNow:"Start Now",badge:"Today's Madi's Pick"},ja:{participants:"åå è
",startNow:"ä»ããå§ãã",badge:"仿¥ã®ãããã"},es:{participants:"Participantes",startNow:"Comenzar Ahora",badge:"La Ele
1cci\xf3n de Hoy"},vi:{participants:"Ngưá»i tham gia",startNow:"Bắt Äầu ngay",badge:"Lá»±a Chá»n H\xf4m Nay"},"zh-tw":{participants:"åèè
",startNow:"ç«å³éå§",badge:"仿¥æ¨è¦"}},m=h[a]||h.ko;if(!n)return null;let g=(0,c.OU)(n),x=(0,u.s)(n.thumbnail||"/thumbnails/default.avif");return(0,i.jsx)("section",{className:o().heroSection,children:(0,i.jsx)("div",{className:o().heroCinemaWrapper,style:{display:"block",height:"auto"},children:(0,i.jsx)("div",{className:o().cinemaSlide,children:(0,i.jsx)(s(),{href:g,className:o().cinemaSlideLink,prefetch:!1,children:(0,i.jsxs)("div",{className:o().cinemaContent,children:[(0,i.jsxs)("div",{className:o().cinemaTextArea,children:[(0,i.jsx)("h2",{className:o().cinemaTitle,children:n.title}),(0,i.jsx)("p",{className:o().cinemaDescription,children:n.description||n.catchphrase||""}),(0,i.jsx)("div",{className:o().cinemaStats,children:(0,i.jsxs)("span",{className:o().cinemaStatItem,children:[((e,t)=>0===e?"0":"ko"===t?e>=1e4?`${(e/1e4).toFixed(1)}ë§`:e.toLocaleString("ko-KR"):"ja"===t?e>=1e4?`${(e/1e4).toFixed(1)}ä¸`:e.toLocaleString("ja-JP"):"zh-tw"===t?e>=1e4?`${(e/1e4).toFixed(1)}è¬`:e.toLocaleString("zh-TW"):new Intl.NumberFormat({en:"en-US",es:"es-ES",vi:"vi-VN"}[t]||"en-US",{notation:"compact",compactDisplay:"short"}).format(e))(p,a),"+ ",m.participants]})}),(0,i.jsxs)("div",{className:o().cinemaCta,children:[m.startNow," â"]})]}),(0,i.jsx)("div",{className:o().cinemaPosterArea,children:(0,i.jsx)("div",{className:o().cinemaPoster,style:{aspectRatio:"3/4",position:"relative",width:"100%",overflow:"hidden",borderRadius:"15px"},children:(0,i.jsxs)("picture",{children:[(0,i.jsx)("source",{media:"(max-width: 768px)",srcSet:x.replace(/\.(webp|png|jpe?g|avif)$/i,"-mobile.avif"),type:"image/avif"}),(0,i.jsx)("source",{media:"(min-width: 769px)",srcSet:x.replace(/\.(webp|png|jpe?g)$/i,".avif"),type:"image/avif"}),(0,i.jsx)("img",{src:x,alt:n.title,className:o().cinemaPosterImage,fetchPriority:"high",loading:"eager",decoding:"async",style:{objectFit:"cover",width:"100%",height:"100%"}})]})})})]})})})})})};var h=a(97952),m=a(40625);let g=()=>{let{ref:e,inView:t}=(0,m.Wx)({triggerOnce:!0,rootMargin:"400px 0px"}),[a,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(t&&!a)try{(window.adsbygoogle=window.adsbygoogle||[]).push({}),r(!0)}catch(e){console.error(e)}},[t,a]),(0,i.jsx)("div",{ref:e,className:o().testCard,style:{overflow:"hidden",background:"transparent",position:"relative",minWidth:"260px",height:"100%",border:"none",boxShadow:"none"},children:(0,i.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center"},children:t&&(0,i.jsx)("ins",{className:"adsbygoogle",style:{display:"block",width:"100%",height:"100%"},"data-ad-format":"fluid","data-ad-layout-key":"-6t+ed+2i-1n-4w","data-ad-client":"ca-pub-3713361723411048","data-ad-slot":"4582727546"})})})},x=e=>{let{title:t,emoji:a,tests:r,seeAllLink:s,seeAllText:l="ì 체보기",small:c=!1,adIndex:d}
1=e,u=(0,n.useRef)(null),[p,m]=(0,n.useState)(!1),x=(0,n.useRef)({isDown:!1,startX:0,scrollLeft:0}),f=(0,n.useRef)(!1);if(0===r.length)return null;let b=()=>{x.current.isDown=!1,m(!1)};(0,n.useEffect)(()=>{if(!p)return;let e=()=>b();return window.addEventListener("mouseup",e),window.addEventListener("blur",e),()=>{window.removeEventListener("mouseup",e),window.removeEventListener("blur",e)}},[p]);let y=e=>{f.current&&(e.preventDefault(),e.stopPropagation())};return(0,i.jsxs)("section",{className:o().railSection,children:[(0,i.jsxs)("div",{className:o().railHeader,children:[(0,i.jsxs)("h2",{className:o().railTitle,children:[a&&(0,i.jsx)("span",{children:a}),t]}),s&&(0,i.jsxs)("a",{href:s,className:o().railSeeAll,children:[l," â"]})]}),(0,i.jsx)("div",{ref:u,className:`${o().railScrollContainer} ${c?o().railSmall:""}`,onMouseDown:e=>{u.current&&(x.current={isDown:!0,startX:e.pageX-u.current.offsetLeft,scrollLeft:u.current.scrollLeft},m(!0),f.current=!1)},onMouseLeave:b,onMouseUp:b,onMouseMove:e=>{if(!x.current.isDown||!u.current)return;if(1!==e.buttons)return void b();e.preventDefault();let t=(e.pageX-u.current.offsetLeft-x.current.startX)*1.5;Math.abs(t)>5&&(f.current=!0),u.current.scrollLeft=x.current.scrollLeft-t},onClick:y,onDragStart:e=>e.preventDefault(),style:{cursor:p?"grabbing":"grab"},children:r.map((e,t)=>(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("div",{className:o().railScrollItem,onClickCapture:y,children:(0,i.jsx)(h.A,{...e,priority:!1})}),void 0!==d&&t===d&&(0,i.jsx)("div",{className:o().railScrollItem,children:(0,i.jsx)(g,{})})]},e.id))})]})};var f=a(53271),b=a(53412);let y=e=>{let{title:t,emoji:a,items:n}=e;return(0,i.jsxs)("section",{className:o().bentoSection,children:[(0,i.jsxs)("h2",{className:o().bentoTitle,children:[a&&(0,i.jsx)("span",{children:a}),t]}),(0,i.jsx)("div",{className:o().bentoGrid,children:n.map((e,t)=>{let a=(0,b.j)(e);return(0,i.jsxs)(s(),{href:e.link,className:`${o().bentoCard} ${(e=>{switch(e){case"large":return o().bentoCardLarge;case"medium":return o().bentoCardMedium;default:return o().bentoCardSmall}})(e.size)}`,prefetch:!1,children:[e.thumbnail?(0,i.jsxs)("div",{className:o().bentoCardThumbnail,children:[(0,i.jsx)(f.A,{src:e.thumbnail,alt:e.title,fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:o().bentoCardImage,quality:90,priority:!1,unoptimized:!1}),(0,i.jsx)("div",{className:o().bentoCardOverlay})]}):(0,i.jsx)("div",{className:`${o().bentoCardBg} ${(e=>{let t=[o().bentoCardBg1,o().bentoCardBg2,o().bentoCardBg3,o().bentoCardBg4,o().bentoCardBg5];return t[e%t.length]})(e.bgIndex??t)}`}),(0,i.jsx)("span",{className:o().bentoEmoji,children:e.icon}),a&&(0,i.jsx)("span",{style:{position:"absolute",top:"12px",left:"12px",zIndex:10,background:a.background,boxShadow:a.shadow,fontWeight:800,letterSpacing:"0.3px",padding:"3px 8px",borderRadius:"6px",fontSize:"0.72rem",color:"#ffffff"},children:a.label}),(0,i.jsx)("div",{className:o().bentoCardInner,children:(0,i.jsxs)("div",{className:o().bentoContent,children:[(0,i.jsx)("h3",{className:o().bentoCardTitle,children:e.title}),e.description&&(0,i.jsx)("p",{className:o().bentoCardDesc,children:e.description})]})})]},e.id)})})]})},j=e=>{let{categories:t,selectedCategory:a,onSelect:r}=e,l=(0,n.useRef)(null),[c,d]=(0,n.useState)(!1),[u,p]=(0,n.useState)(0),[h,m]=(0,n.use
1State)(0),g=(0,n.useRef)(!1);(0,n.useEffect)(()=>{if(!c)return;let e=()=>{d(!1)};return window.addEventListener("mouseup",e),window.addEventListener("blur",e),()=>{window.removeEventListener("mouseup",e),window.removeEventListener("blur",e)}},[c]);let x=e=>{g.current&&(e.preventDefault(),e.stopPropagation())};return(0,i.jsx)("section",{className:o().categorySection,children:(0,i.jsx)("div",{className:o().categoryScroll,ref:l,onMouseDown:e=>{l.current&&(d(!0),g.current=!1,p(e.pageX-l.current.offsetLeft),m(l.current.scrollLeft))},onMouseLeave:()=>{d(!1)},onMouseUp:()=>{d(!1)},onMouseMove:e=>{if(!c||!l.current)return;if(1!==e.buttons)return void d(!1);e.preventDefault();let t=(e.pageX-l.current.offsetLeft-u)*1.5;Math.abs(t)>5&&(g.current=!0),l.current.scrollLeft=h-t},style:{cursor:c?"grabbing":"grab"},children:t.map(e=>e.isLink?(0,i.jsxs)(s(),{href:e.link||"",className:o().categoryChip,onClick:x,prefetch:!1,children:[(0,i.jsx)("span",{children:e.icon}),e.name]},e.name):(0,i.jsxs)("button",{className:`${o().categoryChip} ${a===e.name?o().categoryChipActive:""}`,onClick:t=>{x(t),g.current||r(e.name)},children:[(0,i.jsx)("span",{children:e.icon}),e.name]},e.name))})})};var v=a(36676);a(118),a(10477),a(12863);var w=a(89099);let S={ko:"ì´ë¤ í
ì¤í¸ë¥¼ ì°¾ê³ ê³ì ê°ì? (MBTI, ì°ì , ì¬ì£¼...)",en:"What test are you looking for? (MBTI, Love, Saju...)",ja:"ã©ããªãã¹ãããæ¢ãã§ããï¼ï¼MBTIãææãå ã...ï¼",es:"\xbfQu\xe9 prueba est\xe1s buscando? (MBTI, Amor, Saju...)",vi:"Bạn Äang t\xecm b\xe0i kiá»m tra n\xe0o? (MBTI, T\xecnh y\xeau, Tá» vi...)","zh-tw":"æ¨æ£å¨å°æ¾ä»éº¼æ¸¬é©ï¼ï¼MBTIãææãå
«å...ï¼"},N={ko:"ê²ì",en:"Search",ja:"æ¤ç´¢",es:"Buscar",vi:"T\xecm","zh-tw":"æå°"},k=e=>{let{locale:t="ko"}=e,a=(0,w.useRouter)(),[r,s]=(0,n.useState)(""),l=t||a.locale||"ko",c=S[l]||S.ko,d=N[l]||N.ko;return(0,i.jsx)("div",{className:o().heroSearchBarSection,children:(0,i.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),r.trim()){let e="ko"===l?"":`/${l}`;a.push(`${e}/search?q=${encodeURIComponent(r.trim())}`)}},className:o().heroSearchForm,children:[(0,i.jsxs)("div",{className:o().heroSearchInputWrapper,children:[(0,i.jsx)("span",{className:o().heroSearchIcon,"aria-hidden":"true",children:(0,i.jsxs)("svg",{width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,i.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}),(0,i.jsx)("input",{type:"text",className:o().heroSearchInput,placeholder:c,value:r,onChange:e=>s(e.target.value),"aria-label":"ì¬ë¦¬í
ì¤í¸ ê²ì"}),r&&(0,i.jsx)("button",{type:"button",className:o().heroSearchClearBtn,onClick:()=>{s("")},"aria-label":"ê²ìì´ ì§ì°ê¸°",children:"â"})]}),(0,i.jsx)("button",{type:"submit",className:o().heroSearchSubmitBtn,children:d})]})})}},53271:(e,t,a)=>{a.d(t,{A:()=>r});var i=a(37876);a(14232);var n=a(66188);function r(e){let{src:t,alt:a,fill:r,priority:s,unoptimized:l,quality:o,blurDataURL:c,placeholder:d,hasMobileSrc:u,forceMobile:p,style:h,layout:m,objectFit:g,...x}=e;if(!t)return(0,i.jsx)("img",{alt:a||"",...x});let f=r||"fill"===m?{position:"absolute",height:"100%",width:"100%",inset:"0px",color:"transparent",objectFit:g||x.objectFit||"cover",objectPosition:x.objectPosition}:{},{loader:b,onLoadingComplete:y,...j}=x,v="object"==typeof t&&t.default?t.default.src:t,w=(0,n.s)(v),S="";(u||p)&&"string"==typeof w&&(S=w.replace(/(\.avif|\.webp|\.jpg|\.png|\.jpeg)(\?.*)?$/i,"-mobile$1$2"));let N=p&&S?S:w,k=u&&S?`${S} 768w, ${w} 1200w`:void 0,C=u&&S?e.sizes||"(max-width: 768px) 100vw, 1200px":void 0;return(0,i.jsx)("img",{src:N,srcSet:k,sizes:C,alt:a||"",style:{...f,...h},loading:s?"eager":"lazy",decoding:"async",...j})}},53412:(e,t,a)=>{a.d(t,{j:()=>i});function i(e){let{title:t="",slug:a="",category:i="",isHot:n,isNew:r,badge:s}=e;return["ai-face-score","mbti-64","ai-face-reading","saju-reading"].includes(a)?{label:"\uD83D\uDC51 TOP 1%",background:"linear-gradient(135deg, #ffaa00 0%, #ff5500 100%)",shadow:"0 2px 8px rgba(255, 170, 0, 0.4)"}:["baduk-game","omok-game","dad-joke-quiz","dad-joke-questions","animal-quiz","friendship-quiz","pokemon-quiz","pokemon-quiz-normal","flag-quiz","neural-iq","mystery-turtle-soup","typing-game"].includes(a)||t.includes("ë°ë")||t.includes("ì¤ëª©")||t.includes("í´ì¦")||t.includes("ìì¬ê°ê·¸")||t.includes("ë§ì¶ê¸°")||a.includes("quiz")||a.includes("game")||i.includes("ê²ì")||i.includes("í´ì¦")?{label:"\uD83E\uDDE9 PLAY",background:"linear-gradient(135deg, #11998e 0%, #38ef7d 100%)",shadow:"0 2px 8px rgba(17, 153, 142, 0.4)"}:a.startsWith("ai-")||a.includes("gwansang")||t.includes("ê´ì")||i.includes("AI")?{label:"\uD83E\uDD16 AI",background:"linear-gradient(135deg, #8a2be2 0%, #00d2ff 100%)",shadow:"0 2px 8px rgba(138, 43, 226, 0.4)"}:["yandere-test","yeomisae-test","nammisae-test","cheating-test","love-detector","love-mbti","couple-animal-match","peach-blossom","love-power-balance","love-red-flag"].includes(a)||i.includes("ì°ì ")||i.includes("Love")||i.includes("Amor")||t.includes("ì°ì ")||t.includes("ê¶í©")?{label:"\uD83D\uDC98 LOVE",background:"linear-gradient(135deg, #ff0055 0%, #ff77aa 100%)",shadow:"0 2px 8px rgba(255, 0, 85, 0.4)"}:["new-year-2026","new-year-2027","saju-wealth","saju-reading","celebrity-saju","daily-tarot","name-fortune","guardian-star","guardian-animal"].includes(a)||i.includes("ì´ì¸")||i.includes("ì¬ì£¼")||i.includes("Fortune")||i.includes("Tarot")||a.includes("saju")||a.includes("tarot")||t.includes("ì¬ì£¼")||t.includes("ì´ì¸")||t.includes("ìí¸ì±")||t.includes("íë¡")?{label:"\uD83D\uDD2E ì´ì¸",background:"linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%)",shadow:"0 2px 8px rgba(74, 0, 224, 0.4)"}:["political-spectrum","dopa-sero","burnout-care","dog-behavior-analysis","cat-personality","dog-personality","attachment-style","mbti-64","simple-mbti","imti","egogram-test","big-five-personality","disc-behavior","find-my-value","mind-weather","mind-color","mbti-maturity"].includes(a)||a.includes("mbti")||t.includes("ì±í¥")||t.includes("ë§ì")||t.includes("ì ì¹")||t.includes("ì±ê²©")||t.includes("ìê¹")||i.includes("ì±ê²©")||i.includes("MBTI")?{label:"\uD83E\uDDE0 ì±ê²©",background:"linear-gradient(135deg, #0052d4 0%, #4364f7 100%)",shadow:"0 2px 8px rgba(0, 82, 212, 0.4)"}:["pushover-test","kkondae-level-test","caffeine-mbti-test","summer-vacation-test","diet-villain","dubai-cookie-test","dubai-trend-test","fool-test","god-made-me","god-made-me-couple","snack-worldcup"].includes(a)?{label:"\uD83C\uDF7F TREND",background:"linear-gradient(135deg, #ff007a 0%, #7928ca 100%)",shadow:"0 2px 8px rgba(255, 0, 122, 0.4)"}:n||"HOT"===s?{label:"\uD83D\uDD25 HOT",background:"linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%)",shadow:"0 2px 8px rgba(255, 65, 108, 0.4)"}:r||"NEW"===s?{label:"⨠NEW",background:"linear-gradient(135deg, #00c6ff 0%, #0072ff 100%)",shadow:"0 2px 8px rgba(0, 198, 255, 0.4)"}:{label:"\uD83C\uDFAF PICK",background:"linear-gradient(135deg, #f7971e 0%, #ffd200 100%)",shadow:"0 2px 8px rgba(247, 151, 30, 0.4)"}}},88509:(e,t,a)=>{a.d(t,{q:()=>r});var i=a(57384);let n=e=>fetch(e).then(e=>
1e.json()),r=e=>{let{data:t,error:a}=(0,i.Ay)("/api/test-stats",n,{refreshInterval:6e5,revalidateOnFocus:!1,revalidateOnReconnect:!1,dedupingInterval:3e5,fallbackData:{},errorRetryCount:1,errorRetryInterval:15e3}),r=e=>t&&e&&t[e]||0;return{participantCount:r(e),testStats:t,isLoading:!a&&!t,error:a,getParticipantCount:r}}},91122:(e,t,a)=>{a.d(t,{OU:()=>s,xA:()=>r});var i=a(68583),n=a(66188);function r(e,t){return e.map(e=>({id:e.id,slug:e.slug,title:(0,i.bT)(e,"title",t),description:(0,i.bT)(e,"description",t),category:(0,i.bT)(e,"category",t),participants:e.participants,isNew:e.isNew,isHot:e.isHot,icon:e.icon,emoji:e.emoji,estimatedTime:(0,i.bT)(e,"estimatedTime",t)||e.estimatedTime,thumbnail:(0,n.s)(e.thumbnail),catchphrase:(0,i.bT)(e,"catchphrase",t),pathPrefix:e.pathPrefix,updatedAt:e.updatedAt,version:e.version}))}function s(e){if("etheria"===e.slug)return"/etheria";if("balance-game-universe"===e.slug)return"/balance-game";if("face-vote-universe"===e.slug)return"/face-vote";let t=e.pathPrefix?e.pathPrefix.endsWith("/")?e.pathPrefix:e.pathPrefix+"/":"/";return("/ai/"===t||t.startsWith("/ai/"))&&(t=t.replace("/ai/","/")),t.includes("/quiz/")&&(t=t.replace("/quiz/","/")),`${t}${e.slug}`}},97952:(e,t,a)=>{a.d(t,{A:()=>d});var i=a(37876);a(14232);var n=a(48230),r=a.n(n),s=a(53271),l=a(61852),o=a.n(l),c=a(53412);let d=e=>{let{id:t,title:a,link:n,gradientIndex:l,thumbnail:d,priority:u=!1,catchphrase:p,version:h}=e,m=[o().meshGradient1,o().meshGradient2,o().meshGradient3,o().meshGradient4,o().meshGradient5],g=(0,c.j)(e);return(0,i.jsx)(r(),{href:n,className:`${o().testCard} group`,prefetch:!1,children:(0,i.jsxs)("div",{className:o().testCardThumbnail,children:[d?(0,i.jsx)(s.A,{src:d,alt:a,fill:!0,sizes:"(max-width: 768px) 50vw, (min-width: 769px) 400px",className:`${o().testCardImage} transition-all duration-300 group-hover:brightness-110`,quality:90,priority:u,fetchPriority:u?"high":"auto",loading:u?"eager":"lazy",unoptimized:!0}):(0,i.jsx)("div",{className:`${o().testCardBg} ${m[(void 0!==l?l:t)%m.length]} transition-all duration-300 group-hover:brightness-75`}),(0,i.jsx)("div",{className:o().testCardBadges,children:g&&(0,i.jsx)("span",{className:o().badge,style:{background:g.background,boxShadow:g.shadow,fontWeight:800,letterSpacing:"0.3px",padding:"3px 8px",borderRadius:"6px",fontSize:"0.72rem",color:"#ffffff"},children:g.label})}),(0,i.jsx)("div",{className:o().testCardOverlay}),(()=>{let e=null!=h?h:2;return e>=1?(0,i.jsxs)("div",{style:{position:"absolute",bottom:"8px",right:"12px",fontSize:"0.7rem",color:"rgba(255,255,255,0.7)",fontWeight:"bold",zIndex:10,background:"rgba(0,0,0,0.4)",padding:"2px 6px",borderRadius:"4px"},children:["v",e%1==0?e+".0":e]}):null})(),p&&(0,i.jsx)("div",{className:o().catchphraseBubble,children:(0,i.jsx)("span",{className:o().catchphraseText,children:p})}),(0,i.jsx)("div",{className:`${o().testCardPlayBtn} transition-all duration-300 group-hover:scale-110 group-hover:bg-white/30`,children:"â¶"}),(0,i.jsx)("div",{className:o().testCardTitle,children:a})]})})}}}]);
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.