1import{j as e}from"./ui-vendor-CbI7yHw7.js";import{f as C,r as o,L as I}from"./react-vendor-ClgjMRcK.js";import{N as D}from"./Navigation-CVqUgilI.js";import{F as P}from"./Footer-Dk2FW7IN.js";import{S as O}from"./SEO-B5lNeS22.js";import{d as k,u as S,D as $,b as E,h as L,i as K}from"./index-Cl5noaVm.js";import"./query-vendor-C4NYfvwt.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const M=k("Pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]),z=[{id:36,dateRange:"2026. 05. 04",type:"notice"},{id:35,dateRange:"2026. 05. 04",type:"notice"},{id:39,dateRange:"2026. 08. 30"},{id:38,dateRange:"2026. 07. 26"},{id:37,dateRange:"2026. 06. 28"},{id:34,dateRange:"2026. 05. 31"},{id:33,dateRange:"2026. 04. 26"},{id:32,dateRange:"2026. 03. 29"},{id:31,dateRange:"2026. 02. 22"},{id:30,dateRange:"2026. 01. 25"},{id:29,dateRange:"2025. 12. 28"},{id:28,dateRange:"2025. 11. 30"},{id:27,dateRange:"2025. 11. 02"},{id:26,dateRange:"2025. 10. 26"},{id:25,dateRange:"2025. 09. 28"},{id:24,dateRange:"2025. 08. 31"},{id:23,dateRange:"2025. 07. 27"},{id:22,dateRange:"2025. 06. 29"},{id:21,dateRange:"2025. 05. 25"},{id:20,dateRange:"2025. 04. 27"},{id:19,dateRange:"2025. 03. 23"},{id:18,dateRange:"2025. 02. 23"},{id:17,dateRange:"2025. 01. 19"},{id:16,dateRange:"2024. 12. 29"},{id:15,dateRange:"2024. 12. 21"},{id:14,dateRange:"2024. 11. 17"},{id:13,dateRange:"2024. 10. 27"},{id:12,dateRange:"2024. 10. 20"},{id:11,dateRange:"2024. 09. 29"},{id:10,dateRange:"2024. 09. 21"},{id:9,dateRange:"2024. 08. 25"},{id:8,dateRange:"2024. 07. 28"},{id:7,dateRange:"2024. 07. 20"},{id:6,dateRange:"2024. 06. 30"},{id:5,dateRange:"2024. 06. 01"},{id:4,dateRange:"2024. 05. 01"},{id:3,dateRange:"2024. 04. 01"},{id:2,dateRange:"2024. 01. 12"},{id:1,dateRange:"2023. 12. 27"}];function B(a){const l=a.replace(/\.\s*/g,"-").replace(/-$/,"");return new Date(`${l}T18:00:00+09:00`)}function F(a){return new Date<B(a)}const U=()=>{const{t:a}=S(),[l,h]=C(),[b,u]=o.useState(null),[N,r]=o.useState(!1),[s,c]=o.useState(1),x=5;o.useEffect(()=>{const t=l.get("audition");if(t){const n=parseInt(t);isNaN(n)||(u(n),r(!0),h({}))}},[l,h]);const j=t=>F(t)?"auditionStatusOpen":"auditionStatusClosed",m=z.map(t=>({...t,statusKey:t.type==="notice"?"auditionStatusNotice":j(t.dateRange)})),f=m.filter(t=>t.type==="notice"),g=m.filter(t=>t.type!=="notice"),w=t=>{u(t),r(!0)},i=m.find(t=>t.id===b),d=Math.ceil(g.length/x),p=(s-1)*x,v=p+x,R=[...f,...g.slice(p,v)],y=()=>{s<d&&c(s+1)},T=()=>{s>1&&c(s-1)},A=t=>{c(t)};return e.jsxs("div",{className:"min-h-screen bg-black",children:[e.jsx(O,{title:"Audition Board â TITAN CONTENT Global K-pop Auditions",description:"Browse the latest TITAN CONTENT audition notices, schedules, and updates for our global K-pop audition program.",canonical:"https://thetitan.xyz/audition/board",structuredData:{"@context":"https://schema.org","@type":"CollectionPage",name:"TITAN CONTENT Audition Board",description:"Notices and schedules for TITAN CONTENT global K-pop auditions.",url:"https://thetitan.xyz/audition/board",isPartOf:{"@id":"https://thetitan.xyz/#website"}}}),e.jsx(D,{}),e.jsx("main",{className:"pt-20",children:e.jsxs("section",{className:"min-h-screen flex flex-col bg-cover bg-center bg-no-repeat relative",style:{backgroundImage:"url(/lovable-uploads/07cd4592-3f47-4c83-8d2c-d153243fc05a.webp)"},children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-transparent to-black"}),e.jsx("div",{className:"container mx-auto px-4 flex-1 relative z-10",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"flex justify-between items-start px-2 md:px-2 mb-16 pt-16",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-4xl md:text-6xl lg:text-8xl font-bold text-white mb-4 whitespace-pre-line",children:a("auditionBoardTitle")})}),e.jsx("div",{children:e.jsxs(I,{to:"/audition",className:"border border-white text-white text-base sm:text-lg md:text-xl lg:text-2xl font-semibold px-3 md:px-6 py-2 md:py-3 rounded-md bg-white/25 hover:bg-white hover:text-black transition-colors flex items-center gap-2 md:gap-3",children:[e.jsx("span",{children:"â"}),a("auditionMain")]})})]}),e.jsxs("div",{className:"flex items-center px-4 md:px-4 gap-4 mb-8",children:[e.jsx("span",{className:"text-white text-xl md:text-2xl",children:s}),e.jsx("span",{className:"text-white/60 text-xl md:text-2xl",children:"/"}),e.jsx("span",{className:"text-white/60 text-xl md:text-2xl",children:d}),e.jsxs("div",{className:"flex gap-5 ml-3",children:[e.jsx("button",{onClick:T,disabled:s===1,"aria-label":"Previous page",className:`transition-colors text-3xl md:text-4xl ${s===1?"text-white/30":"text-white/60 hover:text-white"}`,children:e.jsx("span",{"aria-hidden":"true",children:"<"})}),e.jsx("button",{onClick:y,disabled:s===d,"aria-label":"Next page",className:`transition-colors text-3xl md:text-4xl ${s===d?"text-white/30":"text-white/60 hover:text-white"}`,children:e.jsx("span",{"aria-hidden":"true",children:">"})})]})]}),e.jsx("div",{className:"space-y-4",children:R.map((t,n)=>e.jsx("div",{className:"border-b border-white/20 pb-6 cursor-pointer hover:bg-white/5 transition-colors rounded-lg p-4",children:e.jsx("div",{className:"flex items-start justify-between",children:e.jsxs("div",{className:"flex-1",children:[e.jsxs("h2",{className:"text-white text-lg md:text-2xl font-medium mb-2 cursor-pointer hover:text-white/80 transition-colors flex items-center gap-2",onClick:()=>w(t.id),children:[t.type==="notice"&&e.jsx(M,{className:"w-5 h-5 md:w-6 md:h-6 text-blue-400 shrink-0",fill:"currentColor"}),e.jsx("span",{children:a(`audition${t.id}Title`)})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("span",{className:`px-3 py-1 rounded text-sm ${t.statusKey==="auditionStatusOpen"?"bg-white text-black font-medium border border-gray-300":t.statusKey==="auditionStatusNotice"?"bg-blue-500 text-white font-medium":"bg-gray-600 text-white font-medium"}`,children:a(t.statusKey)}),e.jsx("span",{className:"text-white/80",children:t.dateRange})]})]})})},t.id))}),e.jsx("div",{className:"flex justify-center mt-12 pb-16",children:e.jsx("div",{className:"flex items-center gap-2",children:Array.from({length:d},(t,n)=>n+1).map(t=>e.jsx("button",{onClick:()=>A(t),className:`w-8 h-8 rounded-full flex items-center justify-center transition-colors ${s===t?"bg-white/20 text-white hover:bg-white/30":"text-white/60 hover:bg-white/20"}`,children:t},t))})})]})})]})}),e.jsx($,{open:N,onOpenChange:r,children:e.jsx(E,{className:"bg-black border-white/20 text-white max-w-[50rem] max-h-[80vh] overflow-y-auto",children:i&&e.jsxs(e.Fragment,{children:[e.jsx(L,{children:e.jsx(K,{className:"text-lg md:text-2xl font-bold text-white mb-6",children:a(`audition${i.id}Title`)})}),i.id===2&&e.jsx("div",{className:"mb-6",children:e.jsx("img",{src:"/lovable-uploads/8aa4f198-d066-4ecb-986b-defd6ebe932f.webp",alt:"TITAN x 1MILLION Audition Poster",className:"w-full h-auto rounded-lg"})}),i.id===27&&e.jsx("div",{className:"mb-6",children:e.jsx("img",{src:"/lovable-uploads/la-audition-nov-2025-v2.webp",alt:"TITAN CONTENT L.A. Audition Nov 2 2025",className:"w-full h-auto rounded-lg"})}),[39,38,37,34,33,32,31,30,29,28,26,25,24,23,22,21,20,19,18,17,16,14,12,11,9,8,6,4,3].includes(i.id)&&e.jsx("div",{className:"mb-6 flex justify-center",children:e.jsx("img",{src:"/lovable-uploads/monthly-audition.webp",alt:"TITAN CONTENT Seoul Monthly Audition",className:"h-auto rounded-lg w-full max-w-[224px] md:max-w-[300px] lg:max-w-[320px]"})}),i.id===35&&e.jsx("div",{className:"mb-6 flex justify-center",children:e.jsx("img",{src:"/lovable-uploads/audition-qa-notice.webp",alt:"TITAN CONTENT Audition Q&A",className:"w-full h-auto rounded-lg"})}),i.id===36&&e.jsx("div",{className:"mb-6 flex justify-center",children:e.jsx("img",{src:"/lovable-uploads/audition-reels-challenge.webp",alt:"TITAN CONTENT Reels Challenge Audition",className:"w-full h-auto rounded-lg"})}),i.type==="notice"?e.jsx("div",{className:"text-white/90 whitespace-pre-line leading-relaxed text-base",dangerouslySetInnerHTML:{__html:a(`audition${i.id}Body`)}}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold mb-2",children:a("auditionDetailLocation")}),e.jsx("p",{className:"text-white/90",children:a(`audition${i.id}Location`)}),e.jsx("p",{className:"text-white/90",children:a(`audition${i.id}Address`)})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold mb-2",children:a("auditionDetailDate")}),e.jsx("p",{className:"text-white/90",children:a(`audition${i.id}Date`)}),e.jsx("p",{className:"text-white/90",children:a(`audition${i.id}Registration`)})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold mb-2",children:a("auditionDetailEligibility")}),e.jsx("p",{className:"text-white/90",children:a(`audition${i.id}
6Eligibility`)})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold mb-2",children:a("auditionDetailCategory")}),e.jsx("p",{className:"text-white/90",children:a(`audition${i.id}Category`)})]}),e.jsx("div",{children:e.jsx("p",{className:"text-white/80 text-sm whitespace-pre-line",children:a(`audition${i.id}Note`)})})]})]})})}),e.jsx(P,{})]})};export{U 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.