1import{U as n,H as l,O as m,a8 as Pe,r as h,e as Le,o as Oe,$ as a,a0 as s,a9 as W,aa as le,af as Fe,B as x,a2 as D,F as v,ab as $,a3 as B,a1 as G,ae as Ue,ac as de,V as ue,W as ce,T as me,ai as Ie,c as k,i as Ne,ag as Ye}from"./lazy-qrcode-oXPcgXJC-29.js";import We from"./Feature-DHNL6Ihq-29.js";import He from"./HowToWork-DVsS-Zlt-29.js";import Ve from"./FAQ-BxG5g6Hl-29.js";import Ke from"./Benefits-BTRTaa0g-29.js";import Qe from"./Testimonials-kJisZ5MW-29.js";import{f as H,e as Xe,s as Ze,a as ea,j as aa,c as ta,b as ra,d as sa}from"#entry";import"./lazy-pdf-GO-7vVHk-29.js";import{_ as oa}from"./_plugin-vue_export-helper-DlAUqK2U-29.js";import{r as ge}from"./SparklesIcon-C8fouFii-29.js";import{r as ia}from"./DocumentDuplicateIcon-DdDKQlq1-29.js";import{r as pe}from"./ArrowPathIcon-CkyHREyi-29.js";import{r as na}from"./EyeIcon-Z-H7U58h-29.js";import{r as la}from"./PlusIcon-Cou2tlSA-29.js";import{r as da}from"./XMarkIcon-drPAhXvj-29.js";import"./FeatureIcon-CGq9ZIrf-29.js";import"./nuxt-link-D_rgCK5z-29.js";import"./index-BvZBNbWF-29.js";const ua={meta:{title:"Jeopardy Game Maker - Build Review Games Fast | TeachAny",description:"Create a Jeopardy game board with categories, clues, and answers for lessons, review sessions, and trivia practice. Make a Jeopardy game in minutes.",keywords:"jeopardy game maker, make a jeopardy game, classroom jeopardy, jeopardy review game",ogSiteName:"TeachAny",ogTitle:"Jeopardy Game Maker for Classrooms and Trivia",ogDescription:"Turn any topic into a Jeopardy-style review game with categories, clue values, and ready-to-use answers.",ogImage:""},page:{title:"Jeopardy Game Maker",description:"Build a Jeopardy-style review board with categories, clue values, questions, and answers for any topic.",cards:{topic:"Game Topic",settings:"Board Settings",gameStatus:"Game Status"},labels:{topic:"Topic or Unit",customCategories:"Use custom category names",category:"Category",boardSize:"Board Size",difficulty:"Difficulty",language:"Game Language",boardPreview:"Board Preview",gameTitle:"Game Title",progress:"Progress",categories:"Categories",answer:"Answer"},placeholders:{topic:"e.g. Ancient Egypt, Fractions, World Capitals...",category:"Enter category"},buttons:{demo:"Try Example",clear:"Clear",generate:"Generate Jeopardy Game",generating:"Generating...",resetBoard:"Reset Board",revealAll:"Reveal All Answers",newGame:"Create New Game",revealAnswer:"Reveal Answer",hideAnswer:"Hide Answer",markAnswered:"Mark as Answered",markUnanswered:"Mark as Unanswered"},boardSizes:{small:"3 x 3",large:"5 x 5"},difficulties:{easy:"Easy",medium:"Medium",hard:"Hard"},difficultyHints:{easy:"Quick recall",medium:"Mixed depth",hard:"Challenge mode"},languages:{english:"English",spanish:"Spanish",french:"French",german:"German",japanese:"Japanese",chinese:"Chinese"},hints:{topic:"Use a unit, chapter, skill, or event. AI will build categories, clues, and answers for you.",customCategories:"Helpful when you already know the exact unit sections you want to review.",generate:"Generate a full board with categories, clue values, questions, and answers.",boardInteraction:"Click any value tile to open the clue, reveal the answer, and mark it complete.",boardPreview:"{size} board with {categories} categories and {clues} clue cards."},status:{revealed:"Revealed",answered:"Answered"},errors:{fallbackUsed:"AI generation was unavailable, so a ready-to-use fallback game was created instead."}},hero:{title:"Jeopardy Game Maker for Fast Classroom Review",description:"Create a Jeopardy-style game board with categories, clues, and answers for any lesson, quiz review, or trivia session in minutes."},howtowork:{title:"How to Make a Jeopardy Game Online",description:"Build a classroom-ready board in minutes. Add your topic, choose your settings, and present a full review game right away.",ctaText:"Create Your Jeopardy Game Now"},benefits:{title:"Why Teachers Use Our Jeopardy Game Maker",subtitle:"Plan faster, review smarter, and keep every student involved."},testimonials:{title:"Trusted for Review Days, Bell Ringers, and Trivia Games",description:"See how educators use Jeopardy boards to make revision more active and memorable."},faq:{title:"Jeopardy Game Maker FAQs",subtitle:"Common questions about building classroom Jeopardy games online."},features:[{label:"AI Game Builder",title:"Make a Jeopardy Game from Any Topic",description:"Type a unit, chapter, or vocabulary theme and generate category headers, clue values, questions, and answers instantly.",linkText:"Start with a Topic",imageAlt:"Jeopardy game maker generating a board from a lesson topic"},{label:"Flexible Board Layout",title:"Customize Categories, Difficulty, and Board Size",description:"Switch between compact and full boards, set challenge level, and keep your own category names when you need a focused review game.",linkText:"Customize Your Board",imageAlt:"Jeopardy board settings for board size and custom categories"}],steps:[{title:"Enter Your Topic",description:"Add a lesson topic, chapter, or trivia theme. Optionally type your own category names."}
1,{title:"Choose Board Settings",description:"Pick a 3 x 3 or 5 x 5 board, choose difficulty, and set the language for your game."},{title:"Present and Review",description:"Open clue cards, reveal answers, and run a full-class review game directly from the board."}],benefitsData:[{title:"Save Review Prep Time",description:"Build a full Jeopardy board without writing every clue from scratch.",points:["Generate categories in minutes","Reuse for review days and centers","Adjust difficulty for your class"]},{title:"Keep Students Engaged",description:"Turn passive revision into a lively whole-class challenge with visible categories and point values.",points:["Great for teams and stations","Works for warm-ups and test review","Supports active recall practice"]},{title:"Fit the Way You Teach",description:"Use the generator for science, history, language arts, training sessions, or trivia nights.",points:["Useful across grade levels","Supports subject-specific categories","Easy to adapt for PowerPoint or Slides later"]}],testimonialsData:[{name:"Maria Lopez",designation:"Middle School Social Studies Teacher",quote:"I made a full Jeopardy review for ancient civilizations in under 10 minutes, and my students stayed locked in the whole class."},{name:"Kevin Brooks",designation:"Instructional Coach",quote:"The custom category option is perfect when teams need to review exact unit sections before a benchmark."},{name:"Olivia Chen",designation:"ESL Teacher",quote:"I use it to turn vocabulary sets into game boards, and it gives me a lively speaking activity with almost no prep."}],faqsData:[{question:"What is a Jeopardy game maker used for?",answer:"A Jeopardy game maker helps you build a classroom review board with categories, clue values, questions, and answers. It is useful for lesson review, trivia, and team-based practice."},{question:"Can I make a Jeopardy game with my own categories?",answer:"Yes. Turn on custom categories and enter the exact headings you want before generating the board."},{question:"Can this help me make a Jeopardy game for PowerPoint or Google Slides?",answer:"Yes. You can use the generated board as your planning draft, then copy the categories and clues into PowerPoint or Google Slides if you need a slide-based version."},{question:"Is the board good for classroom review?",answer:"Yes. The board is designed for quick review sessions, team competitions, bell ringers, and test prep activities."},{question:"Can I use it for trivia games outside school?",answer:"Yes. The generator also works for club events, training sessions, family trivia, and themed game nights."}]},ca={jeopardygamemaker:ua},ma={__name:"JeopardyGameMakerLandingPage",setup(ye){const{t:r}=H(),E=[{label:r("jeopardygamemaker.features[0].label")||"AI Game Builder",title:r("jeopardygamemaker.features[0].title")||"Make a Jeopardy Game from Any Topic",description:r("jeopardygamemaker.features[0].description")||"Type a unit, chapter, or vocabulary theme and generate category headers, clue values, questions, and answers instantly.",linkText:r("jeopardygamemaker.features[0].linkText")||"Start with a Topic",link:"/tools/jeopardy-game-maker#tool-form",iconBgClass:"bg-blue-100",iconClass:"text-blue-600",iconType:"sparkles",imageSrc:"https://video.deletetweets.ai/asset_2026_04_21_teachany_jeopardy_feature1_MZhp3mWNc5KJNEhSMZyDnyQX8Re66DJ8.webp",imageAlt:r("jeopardygamemaker.features[0].imageAlt")||"Jeopardy game maker generating a board from a lesson topic",gradientClass:"from-blue-400 to-indigo-400"},{label:r("jeopardygamemaker.features[1].label")||"Flexible Board Layout",title:r("jeopardygamemaker.features[1].title")||"Customize Categories, Difficulty, and Board Size",description:r("jeopardygamemaker.features[1].description")||"Switch between compact and full boards, set challenge level, and keep your own category names when you need a focused review game.",linkText:r("jeopardygamemaker.features[1].linkText")||"Customize Your Board",link:"/tools/jeopardy-game-maker#tool-form",iconBgClass:"bg-amber-100",iconClass:"text-amber-600",iconType:"settings",imageSrc:"https://video.deletetweets.ai/asset_2026_04_21_teachany_
1jeopardy_feature2_1k_HnfcArJakGk5RCc2X5P5yQ25xFsdNxrN.webp",imageAlt:r("jeopardygamemaker.features[1].imageAlt")||"Jeopardy board settings for board size and custom categories",gradientClass:"from-amber-400 to-orange-400"}],u=[{title:r("jeopardygamemaker.steps[0].title")||"Enter Your Topic",description:r("jeopardygamemaker.steps[0].description")||"Add a lesson topic, chapter, or trivia theme. Optionally type your own category names.",iconType:"edit",iconBgClass:"bg-blue-100",iconClass:"text-blue-600"},{title:r("jeopardygamemaker.steps[1].title")||"Choose Board Settings",description:r("jeopardygamemaker.steps[1].description")||"Pick a 3 x 3 or 5 x 5 board, choose difficulty, and set the language for your game.",iconType:"settings",iconBgClass:"bg-purple-100",iconClass:"text-purple-600"},{title:r("jeopardygamemaker.steps[2].title")||"Present and Review",description:r("jeopardygamemaker.steps[2].description")||"Open clue cards, reveal answers, and run a full-class review game directly from the board.",iconType:"play",iconBgClass:"bg-green-100",iconClass:"text-green-600"}],R=[{title:r("jeopardygamemaker.benefitsData[0].title")||"Save Review Prep Time",description:r("jeopardygamemaker.benefitsData[0].description")||"Build a full Jeopardy board without writing every clue from scratch.",points:[r("jeopardygamemaker.benefitsData[0].points[0]")||"Generate categories in minutes",r("jeopardygamemaker.benefitsData[0].points[1]")||"Reuse for review days and centers",r("jeopardygamemaker.benefitsData[0].points[2]")||"Adjust difficulty for your class"],iconName:"lightning",iconBgClass:"bg-blue-50",iconColor:"text-blue-600"},{title:r("jeopardygamemaker.benefitsData[1].title")||"Keep Students Engaged",description:r("jeopardygamemaker.benefitsData[1].description")||"Turn passive revision into a lively whole-class challenge with visible categories and point values.",points:[r("jeopardygamemaker.benefitsData[1].points[0]")||"Great for teams and stations",r("jeopardygamemaker.benefitsData[1].points[1]")||"Works for warm-ups and test review",r("jeopardygamemaker.benefitsData[1].points[2]")||"Supports active recall practice"],iconName:"eye",iconBgClass:"bg-amber-50",iconColor:"text-amber-600"},{title:r("jeopardygamemaker.benefitsData[2].title")||"Fit the Way You Teach",description:r("jeopardygamemaker.benefitsData[2].description")||"Use the generator for science, history, language arts, training sessions, or trivia nights.",points:[r("jeopardygamemaker.benefitsData[2].points[0]")||"Useful across grade levels",r("jeopardygamemaker.benefitsData[2].points[1]")||"Supports subject-specific categories",r("jeopardygamemaker.benefitsData[2].points[2]")||"Easy to adapt for PowerPoint or Slides later"],iconName:"settings",iconBgClass:"bg-purple-50",iconColor:"text-purple-600"}],P=[{name:r("jeopardygamemaker.testimonialsData[0].name")||"Maria Lopez",designation:r("jeopardygamemaker.testimonialsData[0].designation")||"Middle School Social Studies Teacher",quote:r("jeopardygamemaker.testimonialsData[0].quote")||"I made a full Jeopardy review for ancient civilizations in under 10 minutes, and my students stayed locked in the whole class.",image:"https://video.deletetweets.ai/Transmonkey/Transmonkey_video_translator/user2.webp"},{name:r("jeopardygamemaker.testimonialsData[1].name")||"Kevin Brooks",designation:r("jeopardygamemaker.testimonialsData[1].designation")||"Instructional Coach",quote:r("jeopardygamemaker.testimonialsData[1].quote")||"The custom category option is perfect when teams need to review exact unit sections before a benchmark.",image:"https://video.deletetweets.ai/Transmonkey/homepage/user5.webp"},{name:r("jeopardygamemaker.testimonialsData[2].name")||"Olivia Chen",designation:r("jeopardygamemaker.testimonialsData[2].designation")||"ESL Teacher",quote:r("jeopardygamemaker.testimonialsData[2].quote")||"I use it to turn vocabulary sets into game boards, and it gives me a lively speaking activity with almost no prep.",image:"https://video.deletetweets.ai/Transmonkey/Transmonkey_video_translator/user4.webp"}],L=[{question:r("jeopardygamemaker.faqsData[0].question")||"What is a Jeopardy game maker used for?",answer:r("jeopardygamemaker.faqsData[0].answer")||"A Jeopardy game maker helps you build a classroom review board with categories, clue values, questions, and answers. It is useful for lesson review, trivia, and team-based practice.",isOpen:!0},{question:r("jeopardygamemaker.faqsData[1].question")||"Can I make a Jeopardy game with my own categories?",answer:r("jeopardygamemaker.faqsData[1].answer")||"Yes. Turn on custom categories and enter the exact headings you want before generating the board.",isOpen:!1},{question:r("jeopardygamemaker.faqsData[2].question")||"Can this help me make a Jeopardy game for PowerPoint or Google Slides?",answer:r("jeopardygamemaker.faqsData[2].answer")||"Yes. You can use the generated board as your planning draft, then copy the categories and clues into PowerPoint or Google Slides if you need a slide-based version.",isOpen:!1},{question:r("jeopardygamemaker.faqsData[3].question")||"Is the board good for classroom review?",answer:r("jeopardygamemaker.faqsData[3].answer")||"Yes. The board is designed for quick review sessions, team competitions, bell ringers, and test prep activities.",isOpen:!1},{question:r("jeopardygamemaker.faqsData[4].question")||"Can I use it for trivia games outside school?",answer:r("jeopardygamemaker.faqsData[4].answer")||"Yes. The generator also works for club events, training sessions, family trivia, and themed game nights.",isOpen:!1}];return(p,V)=>(n(),l("div",null,[m(We,{title:p.$t("jeopardygamemaker.hero.title")||"Jeopardy Game Maker for Fast Classroom Review",description:p.$t("jeopardygamemaker.hero.description")||"Create a Jeopardy-style game board
1with clues, categories, and answers for any lesson in minutes.",features:E},null,8,["title","description"]),m(He,{title:p.$t("jeopardygamemaker.howtowork.title")||"How to Make a Jeopardy Game Online",description:p.$t("jeopardygamemaker.howtowork.description")||"Build a ready-to-play review board in three quick steps.",ctaText:p.$t("jeopardygamemaker.howtowork.ctaText")||"Create Your Jeopardy Game Now",steps:u,routePath:"/tools/jeopardy-game-maker#tool-form"},null,8,["title","description","ctaText"]),m(Ke,{title:p.$t("jeopardygamemaker.benefits.title")||"Why Teachers Use Our Jeopardy Game Maker",subtitle:p.$t("jeopardygamemaker.benefits.subtitle")||"Plan faster, review smarter, and keep every student involved.",benefitsData:R},null,8,["title","subtitle"]),m(Qe,{title:p.$t("jeopardygamemaker.testimonials.title")||"Trusted for Review Days, Bell Ringers, and Trivia Games",description:p.$t("jeopardygamemaker.testimonials.description")||"See how educators use Jeopardy boards to make revision more active and memorable.",testimonials:P},null,8,["title","description"]),m(Ve,{title:p.$t("jeopardygamemaker.faq.title")||"Jeopardy Game Maker FAQs",subtitle:p.$t("jeopardygamemaker.faq.subtitle")||"Common questions about building classroom Jeopardy games online.",customFaqs:L},null,8,["title","subtitle"])]))}},ga={class:"min-h-screen bg-gradient-to-br from-slate-50 via-blue-50 to-indigo-50 dark:from-gray-900 dark:via-gray-800 dark:to-gray-900"},pa={class:"px-4 py-6 md:px-8 md:py-8 pt-20 md:pt-24 max-w-7xl mx-auto"},ya={id:"tool-form",class:"scroll-mt-24 text-center mb-6 md:mb-8"},ba={class:"text-2xl md:text-4xl font-bold text-gray-900 dark:text-gray-100 mb-2"},fa={class:"text-sm md:text-base text-gray-600 dark:text-gray-400 max-w-2xl mx-auto"},ha={key:0,class:"max-w-4xl mx-auto space-y-5"},va={class:"bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-2xl shadow-lg border border-gray-200/50 dark:border-gray-700/50 overflow-hidden"},ka={class:"grid grid-cols-1 lg:grid-cols-[1.3fr,0.7fr]"},wa={class:"p-5 md:p-6 border-b lg:border-b-0 lg:border-r border-gray-200/60 dark:border-gray-700/60"},xa={class:"flex items-center justify-between mb-4"},_a={class:"text-sm font-bold text-gray-800 dark:text-gray-100"},ja={class:"inline-flex items-center px-2.5 py-1 rounded-full text-xs font-semibold bg-blue-50 dark:bg-blue-900/40 text-blue-700 dark:text-blue-300"},Ca={class:"block text-sm font-semibold text-gray-700 dark:text-gray-200 mb-2.5"},$a={class:"relative"},Ta=["placeholder"],Aa={class:"absolute left-3.5 top-1/2 -translate-y-1/2 w-6 h-6 bg-gradient-to-br from-blue-500 to-indigo-500 rounded-lg flex items-center justify-center shadow-sm"},Sa={class:"text-xs text-gray-400 dark:text-gray-500 mt-2"},Ga={class:"mt-5"},qa={class:"flex items-center gap-3 cursor-pointer"},Ja={class:"text-sm font-medium text-gray-700 dark:text-gray-200"},Da={class:"text-xs text-gray-400 dark:text-gray-500 mt-2"},Ba={key:0,class:"mt-4 grid grid-cols-1 sm:grid-cols-2 gap-3"},Ra={class:"block text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-2"},Ma=["onUpdate:modelValue","placeholder"],za={class:"flex items-center gap-3 mt-5 pt-4 border-t border-gray-100 dark:border-gray-700/50"},Ea={class:"p-5 md:p-6"},Pa={class:"text-sm font-bold text-gray-800 dark:text-gray-100 mb-4"},La={class:"space-y-5"},Oa={class:"block text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-2"},Fa={class:"grid grid-cols-2 gap-2"},Ua=["onClick"],Ia={class:"block text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-2"},Na={class:"space-y-2"},Ya=["onClick"],Wa={class:"flex-1 text-left"},Ha={key:0,class:"text-[10px] opacity-70"},Va={class:"block text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wide mb-2"},Ka=["value"],Qa={class:"rounded-xl bg-gradient-to-br from-blue-50 to-indigo-50 dark:from-blue-900/20 dark:to-indigo-900/20 border border-blue-100 dark:border-blue-800/40 p-4"},Xa={class:"text-xs font-semibold uppercase tracking-wide text-blue-700 dark:text-blue-300 mb-2"},Za={class:"text-sm text-gray-700 dark:text-gray-200"},et={class:"bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-2xl shadow-lg border border-gray-200/50 dark:border-gray-700/50 p-5 md:p-6"},at=["disabled"],tt={key:0,class:"mt-4 flex items-start gap-2.5 p-3.5 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800/50 rounded-xl"},rt={class:"text-sm text-red-600 dark:text-red-400"},st={class:"text-xs text-gray-400 dark:text-gray-500 text-center mt-3"},ot={key:1,class:"space-y-6"},it={class:"grid grid-cols-1 xl:grid-cols-[300px,1fr] gap-6 items-start"},nt={class:"bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-2xl shadow-lg border border-gray-200/50 dark:border-gray-700/50 p-5 md:p-6 xl:sticky xl:top-24"},lt={class:"flex items-center justify-between mb-4"},dt={class:"text-sm font-bold text-gray-800 dark:text-gray-100"},ut={class:"inline-flex items-center px-2 py-1 rounded-full text-xs font-semibold bg-emerald-100 dark:bg-emerald-900/40 text-emerald-700 dark:text-emerald-300"},ct={class:"mb-4"},mt={class:"text-xs font-semibold uppercase tracking-wide text-gray-400 dark:text-gray-500 mb-2"},gt={class:"text-lg font-bold text-gray-900 dark:text-gray-100"},pt={class:"space-y-3 mb-5"},yt={class:"flex items-center justify-between text-sm"},bt={class:"text-gray-500 dark:text-gray-400"},ft={class:"font-semibold text-gray-800 dark:text-gray-200"},ht={class:"flex items-center justify-between text-sm"},vt={class:"text-gray-500 dark:text-gray-400"},kt={class:"font-semibold text-gray-800 dark:text-gray-200"},wt={class:"flex items-center justify-between text-sm"},xt={class:"text-gray-500 dark:text-gray-400"},_t={class:"font-semibold text-gray-800 dark:text-gray-200"},jt={class:"mb-5"},Ct={class:"flex items-center justify-between mb-2"},$t={class:"text-xs font-semibold uppercase tracking-wide text-gray-400 dark:text-gray-500"},Tt={class:"text-sm font-semibold text-gray-700 dark:text-gray-200"},At={class:"w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2.5"},St={class:"space-y-2.5"},Gt={class:"mt-5 pt-5 border-t border-gray-100 dark:border-gray-700/50"},qt={class:"text-xs font-semibold uppercase tracking-wide text-gray-400 dark:text-gray-500 mb-3"},Jt={class:"flex flex-wrap gap-2"},Dt={class:"bg-white/70 dark:bg-gray-800/70 backdrop-blur-sm rounded-3xl shadow-lg border border-gray-200/50 dark:border-gray-700/50 p-4 md:p-5 overflow-hidden"},Bt={class:"relative overflow-x-auto"},Rt={class:"min-w-[760px] rounded-2xl overflow-hidden border border-blue-200/60 dark:border-blue-800/40 bg-[#0b2d70] shadow-[0_20px_60px_rgba(11,45,112,0.25)]"},Mt={class:"text-sm md:text-base font-black tracking-wide uppercase text-white"},zt=["onClick"],Et={key:0,class:"text-3xl md:text-4xl font-black tracking-tight text-[#f4cc45] drop-shadow-[0_3px_0_rgba(0,0,0,0.25)]"},Pt={key:1,class:"text-sm font-semibold text-white/85"},Lt={class:"text-xs text-center text-gray-400 dark:text-gray-500 mt-4"},Ot={class:"w-full max-w-3xl rounded-3xl overflow-hidden shadow-2xl bg-[#0b2d70] border border-blue-300/20"},Ft={class:"px-6 md:px-8 py-5 bg-gradient-to-r from-[#1a4cc0] to-[#10388e] border-b border-white/10"},Ut={class:"flex items-start justify-between gap-4"},It={class:"text-xs font-semibold uppercase tracking-[0.25em] text-blue-100/80 mb-2"},Nt={class:"text-2xl md:text-3xl font-black text-white"},Yt={class:"px-6 md:px-8 py-8 md:py-10"},Wt={class:"min-h-[180px] rounded-3xl border border-white/10 bg-white/5 px-6 py-8 flex items-center justify-center text-center"},Ht={class:"text-2xl md:text-4xl font-bold leading-snug text-white"},Vt={key:0,class:"mt-5 rounded-2xl bg-[#f4cc45] text-[#0b2d70] px-5 py-4"},Kt={class:"text-xs font-semibold uppercase tracking-[0.25em] mb-2 opacity-80"},Qt={class:"text-xl md:text-2xl font-black"},Xt={class:"flex flex-col sm:flex-row gap-3 mt-6"},Zt={__name:"jeopardy-game-maker",async setup(ye){let r,E;const{t:u,locale:R}=H(),P=H(),L=Xe(),{user:p}=Ze(L),V=Ne("isWorkspace"),{openaiFetch:be}=sa(),F=ea(),fe=aa();P.mergeLocaleMessage("en",ca);try{const{data:e}=([r,E]=Pe(()=>ta(`i18n_jeopardy_game_maker_${R.value}`,()=>$fetch(`https://project.deletetweets.ai/i18n_languages/teachany/jeopardy-game-make/1.0.0/${R.value}.json`))),r=await r,E(),r);e.value&&P.mergeLocaleMessage(R.value,e.value)}catch{}const K={"3x3":[100,200,300],"5x5":[100,200,300,400,500]},y=h(F.query.text||""),b=h("5x5"),j=h("medium"),T=h("English"),w=h(!1),f=h(["","","","",""]),M=h(!1),q=h(""),O=h(!1),g=h({title:"",boardSize:"5x5",language:"English",categories:[]}),d=h(null),he=k(()=>[{value:"3x3",label:u("jeopardygamemaker.page.boardSizes.small")||"3 x 3"},{value:"5x5",label:u("jeopardygamemaker.page.boardSizes.large")||"5 x 5"}]),Q=k(()=>[{value:"easy",label:u("jeopardygamemaker.page.difficulties.easy")||"Easy",hint:u("jeopardygamemaker.page.difficultyHints.easy")||"Quick recall"},{value:"medium",label:u("jeopardygamemaker.page.difficulties.medium")||"Medium",hint:u("jeopardygamemaker.page.difficultyHints.medium")||"Mixed depth"},{value:"hard",label:u("jeopardygamemaker.page.difficulties.hard")||"Hard",hint:u("jeopardygamemaker.page.difficultyHints.hard")||"Challenge mode"}]),ve=k(()=>[{value:"English",label:u("jeopardygamemaker.page.languages.english")||"English"},{value:"Spanish",label:u("jeopardygamemaker.page.languages.spanish")||"Spanish"},{value:"French",label:u("jeopardygamemaker.page.languages.french")||"French"},{value:"German",label:u("jeopardygamemaker.page.languages.german")||"German"},{value:"Japanese",label:u("jeopardygamemaker.page.languages.japanese")||"Japanese"},{value:"Chinese",label:u("jeopardygamemaker.page.languages.chinese")||"Chinese"}]),A=k(()=>K[b.value]||K["5x5"]),X=k(()=>y.value.trim()?w.value?f.value.every(e=>e.trim().length>0):!0:!1),ke=k(()=>{const e=A.value.length*_.value;return u("jeopardygamemaker.page.hints.boardPreview",{size:b.value,categories:_.value,clues:e})||`${b.value} board with ${_.value} categories and ${e} clue cards.`}),_=k(()=>Number(b.value.split("x")[0])),U=k(()=>g.value.categories.reduce((e,o)=>e+o.clues.length,0)),Z=k(()=>g.value.categories.reduce((e,o)=>e+o.clues.filter(t=>t.answered).length,0)),ee=k(()=>U.value?Math.round(Z.value/U.value*100):0),we=k(()=>Q.value.find(e=>e.value===j.value)?.label||j.value);Le(b,()=>{ae()}),Oe(()=>{F.query.text&&fe.replace({path:F.path}),ae()});function ae(){const e=_.value,o=[...f.value];for(;o.length<e;)o.push("");f.value=o.slice(0,e)}function xe(e){return j.value===e?{easy:"bg-emerald-50 dark:bg-emerald-900/30 border-emerald-300 dark:border-emerald-700 text-emerald-700 dark:text-emerald-300 shadow-sm",medium:"bg-amber-50 dark:bg-amber-900/30 border-amber-300 dark:border-amber-700 text-amber-700 dark:text-amber-300 shadow-sm",hard:"bg-rose-50 dark:bg-rose-900/30 border-rose-300 dark:border-rose-700 text-rose-700 dark:text-rose-300 shadow-sm"}[e]:"bg-gray-50 dark:bg-gray-700/50 border-gray-200 dark:border-gray-600 text-gray-500 dark:text-gray-400 hover:border-gray-300 dark:hover:border-gray-500 hover:bg-gray-100 dark:hover:bg-gray-700"}function _e(e){return{easy:"bg-emerald-500",medium:"bg-amber-500",hard:"bg-rose-500"}[e]||"bg-gray-400"}function je(e){return e.answered?"bg-gradient-to-b from-slate-500 to-slate-600 text-white opacity-90":"bg-gradient-to-b from-[#163f9b] to-[#0b2d70] hover:from-[#1c4cb8] hover:to-[#12388d] active:scale-[0.99]"}function Ce(){y.value="",b.value="5x5",j.value="medium",T.value="English",w.value=!1,f.value=["","","","",""],q.value=""}function $e(){y.value="Ancient Egypt",b.value="5x5",j.value="medium",T.value="English",w.value=!0,f.value=["Pharaohs","Geography","Beliefs","Daily Life","Artifacts"]}function Te(){O.value=!1,d.value=null,q.value=""}function Ae(){g.value.categories?.length&&(g.value.categories.forEac
1h(e=>{e.clues.forEach(o=>{o.answered=!1,o.answerRevealed=!1})}),d.value&&(d.value.answered=!1,d.value.answerRevealed=!1))}function Se(){g.value.categories.forEach(e=>{e.clues.forEach(o=>{o.answerRevealed=!0,o.answered=!0})}),d.value&&(d.value.answerRevealed=!0,d.value.answered=!0)}function Ge(e,o){d.value={...o,category:e.name,categoryRef:e,clueRef:o}}function te(){d.value=null}function qe(){d.value&&(d.value.answerRevealed=!d.value.answerRevealed,d.value.clueRef.answerRevealed=d.value.answerRevealed)}function Je(){d.value&&(d.value.answered=!d.value.answered,d.value.clueRef.answered=d.value.answered)}async function re(){if(!(!X.value||M.value)){M.value=!0,q.value="";try{const e=await De();g.value=e,O.value=!0,d.value=null,L.addFreeUsageCnt()}catch{g.value=ze(),O.value=!0,q.value=u("jeopardygamemaker.page.errors.fallbackUsed")||"AI generation was unavailable, so a ready-to-use fallback game was created instead."}finally{M.value=!1}}}async function De(){const e=w.value?f.value.map(z=>z.trim()).filter(Boolean):[],o=`Create a classroom Jeopardy game in ${T.value}. 2 3Topic: "${y.value}" 4Board size: ${b.value} 5Difficulty: ${j.value} 6Point values: ${A.value.join(", ")} 7${e.length?`Required category names: ${e.join(", ")}`:"Create original category names that cover the topic well."} 8 9Rules: 10- Return exactly ${_.value} categories 11- Each category must include exactly ${A.value.length} clues 12- Each clue must include these keys: value, question, answer 13- Questions should be short enough to present on a classroom board 14- Answers should be concise and accurate 15- Keep the difficulty aligned with the selected level 16- Return ONLY valid JSON with this shape: 17{ 18 "title": "string", 19 "categories": [ 20 { 21 "name": "string", 22 "clues": [ 23 { "value": 100, "question": "string", "answer": "string" } 24 ] 25 } 26 ] 27}`,t={payload:{messages:[{role:"system",content:"You are an expert classroom game writer. Return only valid JSON. No markdown. No explanation."},{role:"user",content:o}],temperature:.8,top_p:1}},i=await be.chat(t);if(!i.ok)throw new Error("API request failed");const c=await Be(i),S=Re(c);return Me(S)}async function Be(e){const o=e.body.getReader(),t=new TextDecoder;let i="",c="";for(;;){const{done:S,value:z}=await o.read();if(S)break;const I=t.decode(z,{stream:!0}),N=c+I;c="";const C=N.split(` 28`);for(let J=0;J<C.length-1;J++){const ie=C[J].trim();if(ie.startsWith("data: ")){const ne=ie.substring(6);if(ne!=="[DONE]")try{const Y=JSON.parse(ne);Y.content&&(i+=Y.content)}catch{}}}c=C[C.length-1]}return i.trim()}function Re(e){const o=e.indexOf("{"),t=e.lastIndexOf("}");if(o===-1||t===-1||t<=o)throw new Error("Invalid JSON response");return JSON.parse(e.slice(o,t+1))}function Me(e){const o=Array.isArray(e.categories)?e.categories.slice(0,_.value):[];if(!o.length)throw new Error("No categories returned");const t=o.map((i,c)=>{const S=String(i.name||f.value[c]||`Category ${c+1}`).trim(),z=Array.isArray(i.clues)?i.clues.slice(0,A.value.length):[],I=A.value.map((N,C)=>{const J=z[C]||{};return{value:N,question:String(J.question||se(S,C)).trim(),answer:String(J.answer||oe(S,C)).trim(),answered:!1,answerRevealed:!1}});return{name:S.slice(0,24),clues:I}});return{title:String(e.title||y.value||"Jeopardy Review Game").trim(),boardSize:b.value,language:T.value,categories:t}}function ze(){const e=(w.value?f.value.map(o=>o.trim()).filter(Boolean):Ee(y.value,_.value)).slice(0,_.value);for(;e.length<_.value;)e.push(`Category ${e.length+1}`);return{title:y.value||"Jeopardy Review Game",boardSize:b.value,language:T.value,categories:e.map((o,t)=>({name:o,clues:A.value.map((i,c)=>({value:i,question:se(o,c,y.value,t),answer:oe(o,c,y.value),answered:!1,answerRevealed:!1}))}))}}function Ee(e,o){const t=e?.trim()||"Review";return[`${t} Basics`,`${t} Vocabulary`,`${t} Key People`,`${t} Important Events`,`${t} Strategy`].slice(0,o)}function se(e,o,t=y.value,i=0){const c=[`What is one key fact students should remember about ${e.toLowerCase()} in ${t}?`,`How would you explain the main idea of ${e.toLowerCase()} in one sentence?`,`Which detail from ${e.toLowerCase()} would be most useful on a quiz?`,`Why does ${e.toLowerCase()} matter when studying ${t}?`,`Give one classroom example connected to ${e.toLowerCase()}.`];return c[(o+i)%c.length]}function oe(e,o,t=y.value){const i=[`A core concept connected to ${e.toLowerCase()} and ${t}.`,`A short explanation students can use to review ${e.toLowerCase()}.`,`An important term or idea from ${e.toLowerCase()}.`,`A quick fact linked to ${t} and ${e.toLowerCase()}.`,`A classroom-ready answer about ${e.toLowerCase()}.`];return i[o%i.length]}return ra({title:u("jeopardygamemaker.meta.title")||"Jeopardy Game Maker - Build Review Games Fast | TeachAny",meta:[{name:"keywords",content:u("jeopardygamemaker.meta.keywords")||"jeopardy game maker, make a jeopardy game, classroom jeopardy"},{name:"description",content:u("jeopardygamemaker.meta.description")||"Build a Jeopardy game board for lessons, reviews, and trivia practice in minutes."},{property:"og:site_name",content:u("jeopardygamemaker.meta.ogSiteName")||"TeachAny"},{property:"og:title",content:u("jeopardygamemaker.meta.ogTitle")||"Jeopardy Game Maker for Classrooms"},{property:"og:image",content:u("jeopardygamemaker.meta.ogImage")||""},{property:"og:description",content:u("jeopardygamemaker.meta.ogDescription")||"Turn any topic into a Jeopardy-style review game with categories, clues, and answers."}]}),(e,o)=>(n(),l("div",ga,[a("div",pa,[a("div",ya,[a("h1",ba,s(e.$t("jeopardygamemaker.page.title")||"Jeopardy Game Maker"),1),a("p",fa,s(e.$t("jeopardygamemaker.page.description")||"Create a classroom-ready Jeopardy game board from any topic in minutes."),1)]),O.value?(n(),l("div",ot,[a("div",it,[a("div",nt,[a("div",lt,[a("h2",dt,s(e.$t("jeopardygamemaker.page.cards.gameStatus")||"Game Status"),1),a("span",ut,s(Z.value)+"/"+s(U.value),1)]),a("div",ct,[a("p",mt,s(e.$t("jeopardygamemaker.page.labels.gameTitle")||"Game Title"),1),a("p",gt,s(g.value.title),
281)]),a("div",pt,[a("div",yt,[a("span",bt,s(e.$t("jeopardygamemaker.page.labels.boardSize")||"Board Size"),1),a("span",ft,s(g.value.boardSize),1)]),a("div",ht,[a("span",vt,s(e.$t("jeopardygamemaker.page.labels.language")||"Game Language"),1),a("span",kt,s(g.value.language),1)]),a("div",wt,[a("span",xt,s(e.$t("jeopardygamemaker.page.labels.difficulty")||"Difficulty"),1),a("span",_t,s(we.value),1)])]),a("div",jt,[a("div",Ct,[a("span",$t,s(e.$t("jeopardygamemaker.page.labels.progress")||"Progress"),1),a("span",Tt,s(ee.value)+"%",1)]),a("div",At,[a("div",{class:"h-2.5 rounded-full bg-gradient-to-r from-blue-500 to-indigo-500 transition-all duration-300",style:de({width:`${ee.value}%`})},null,4)])]),a("div",St,[a("button",{onClick:Ae,class:"w-full py-2.5 px-4 bg-white dark:bg-gray-700 border-2 border-gray-200 dark:border-gray-600 hover:border-gray-300 dark:hover:border-gray-500 text-gray-700 dark:text-gray-200 font-semibold text-sm rounded-xl transition-all flex items-center justify-center gap-2"},[m(x(pe),{class:"w-4 h-4"}),G(" "+s(e.$t("jeopardygamemaker.page.buttons.resetBoard")||"Reset Board"),1)]),a("button",{onClick:Se,class:"w-full py-2.5 px-4 bg-white dark:bg-gray-700 border-2 border-gray-200 dark:border-gray-600 hover:border-gray-300 dark:hover:border-gray-500 text-gray-700 dark:text-gray-200 font-semibold text-sm rounded-xl transition-all flex items-center justify-center gap-2"},[m(x(na),{class:"w-4 h-4"}),G(" "+s(e.$t("jeopardygamemaker.page.buttons.revealAll")||"Reveal All Answers"),1)]),a("button",{onClick:Te,class:"w-full py-3 px-4 bg-gradient-to-r from-orange-500 to-rose-500 hover:from-orange-600 hover:to-rose-600 text-white font-semibold text-sm rounded-xl shadow-md shadow-orange-500/30 transition-all flex items-center justify-center gap-2"},[m(x(la),{class:"w-4 h-4"}),G(" "+s(e.$t("jeopardygamemaker.page.buttons.newGame")||"Create New Game"),1)])]),a("div",Gt,[a("p",qt,s(e.$t("jeopardygamemaker.page.labels.categories")||"Categories"),1),a("div",Jt,[(n(!0),l(v,null,$(g.value.categories,t=>(n(),l("span",{key:t.name,class:"inline-flex items-center px-2.5 py-1 rounded-lg text-xs font-semibold bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300"},s(t.name),1))),128))])])]),a("div",Dt,[a("div",Bt,[a("div",Rt,[a("div",{class:"grid gap-[1px] bg-blue-200/50 dark:bg-blue-800/40",style:de({gridTemplateColumns:`repeat(${g.value.categories.length}, minmax(0, 1fr))`})},[(n(!0),l(v,null,$(g.value.categories,t=>(n(),l("div",{key:t.name,class:"min-h-[92px] px-3 py-4 bg-gradient-to-b from-[#1845a8] to-[#0f3485] text-center flex items-center justify-center"},[a("span",Mt,s(t.name),1)]))),128)),(n(!0),l(v,null,$(A.value.length,t=>(n(),l(v,{key:`row-${t}`},[(n(!0),l(v,null,$(g.value.categories,i=>(n(),l("button",{key:`${i.name}-${t}`,type:"button",class:D(["group min-h-[118px] px-2 py-4 transition-all duration-200 flex items-center justify-center text-center",je(i.clues[t-1])]),onClick:c=>Ge(i,i.clues[t-1])},[a("div",null,[i.clues[t-1].answered?(n(),l("div",Pt,s(i.clues[t-1].answerRevealed?e.$t("jeopardygamemaker.page.status.revealed")||"Revealed":e.$t("jeopardygamemaker.page.status.answered")||"Answered"),1)):(n(),l("div",Et," $"+s(i.clues[t-1].value),1))])],10,zt))),128))],64))),128))],4)])]),a("p",Lt,s(e.$t("jeopardygamemaker.page.hints.boardInteraction")||"Click any value tile to open the clue, reveal the answer, and mark it complete."),1)])])])):(n(),l("div",ha,[a("div",va,[a("div",ka,[a("div",wa,[a("div",xa,[a("h2",_a,s(e.$t("jeopardygamemaker.page.cards.topic")||"Game Topic"),1),a("span",ja,s(b.value),1)]),a("label",Ca,s(e.$t("jeopardygamemaker.page.labels.topic")||"Topic or Unit"),1),a("div",$a,[W(a("input",{"onUpdate:modelValue":o[0]||(o[0]=t=>y.value=t),type:"text",placeholder:e.$t("jeopardygamemaker.page.placeholders.topic")||"e.g. Ancient Egypt, Fractions, World Capitals...",class:"w-full px-4 py-3.5 pl-12 border-2 border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700/60 rounded-xl text-base text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 transition-all duration-200 focus:border-blue-500 dark:focus:border-blue-400 focus:bg-white dark:focus:bg-gray-700 focus:ring-4 focus:ring-blue-500/10 focus:outline-none",onKeyup:Fe(re,["enter"])},null,40,Ta),[[le,y.value]]),a("div",Aa,[m(x(ge),{class:"w-3.5 h-3.5 text-white"})])]),a("p",Sa,s(e.$t("jeopardygamemaker.page.hints.topic")||"Use a unit, chapter, skill, or event. AI will build categories, clues, and answers for you."),1),a("div",Ga,[a("label",qa,[a("button",{type:"button",onClick:o[1]||(o[1]=t=>
28w.value=!w.value),class:D(["relative inline-flex h-6 w-11 items-center rounded-full transition-colors",w.value?"bg-blue-600":"bg-gray-300 dark:bg-gray-600"])},[a("span",{class:D(["inline-block h-5 w-5 transform rounded-full bg-white transition",w.value?"translate-x-5":"translate-x-1"])},null,2)],2),a("span",Ja,s(e.$t("jeopardygamemaker.page.labels.customCategories")||"Use custom category names"),1)]),a("p",Da,s(e.$t("jeopardygamemaker.page.hints.customCategories")||"Helpful when you already know the exact unit sections you want to review."),1)]),w.value?(n(),l("div",Ba,[(n(!0),l(v,null,$(f.value,(t,i)=>(n(),l("div",{key:i},[a("label",Ra,s(e.$t("jeopardygamemaker.page.labels.category")||"Category")+" "+s(i+1),1),W(a("input",{"onUpdate:modelValue":c=>f.value[i]=c,type:"text",placeholder:`${e.$t("jeopardygamemaker.page.placeholders.category")||"Enter category"} ${i+1}`,class:"w-full px-3.5 py-2.5 border-2 border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700/60 rounded-xl text-sm text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:border-blue-500 dark:focus:border-blue-400 focus:bg-white dark:focus:bg-gray-700 focus:ring-4 focus:ring-blue-500/10 focus:outline-none"},null,8,Ma),[[le,f.value[i]]])]))),128))])):B("",!0),a("div",za,[a("button",{onClick:$e,class:"inline-flex items-center gap-1.5 px-3.5 py-2 text-xs font-semibold text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-900/20 rounded-lg hover:bg-blue-100 dark:hover:bg-blue-900/40 transition-colors"},[m(x(ia),{class:"w-3.5 h-3.5"}),G(" "+s(e.$t("jeopardygamemaker.page.buttons.demo")||"Try Example"),1)]),a("button",{onClick:Ce,class:"inline-flex items-center gap-1.5 px-3.5 py-2 text-xs font-semibold text-gray-500 dark:text-gray-400 bg-gray-50 dark:bg-gray-700/40 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors"},[m(x(pe),{class:"w-3.5 h-3.5"}),G(" "+s(e.$t("jeopardygamemaker.page.buttons.clear")||"Clear"),1)])])]),a("div",Ea,[a("h2",Pa,s(e.$t("jeopardygamemaker.page.cards.settings")||"Board Settings"),1),a("div",La,[a("div",null,[a("label",Oa,s(e.$t("jeopardygamemaker.page.labels.boardSize")||"Board Size"),1),a("div",Fa,[(n(!0),l(v,null,$(he.value,t=>(n(),l("button",{key:t.value,type:"button",onClick:i=>b.value=t.value,class:D(["py-2.5 px-3 rounded-xl border-2 text-sm font-semibold transition-all",b.value===t.value?"border-blue-500 bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300":"border-gray-200 dark:border-gray-600 text-gray-600 dark:text-gray-300 hover:border-blue-300 dark:hover:border-blue-500"])},s(t.label),11,Ua))),128))])]),a("div",null,[a("label",Ia,s(e.$t("jeopardygamemaker.page.labels.difficulty")||"Difficulty"),1),a("div",Na,[(n(!0),l(v,null,$(Q.value,t=>(n(),l("button",{key:t.value,type:"button",onClick:i=>j.value=t.value,class:D(["w-full flex items-center gap-3 py-2.5 px-3 rounded-xl text-xs font-semibold transition-all border-2",xe(t.value)])},[a("span",{class:D(["w-2 h-2 rounded-full flex-shrink-0",_e(t.value)])},null,2),a("span",Wa,s(t.label),1),j.value===t.value?(n(),l("span",Ha,s(t.hint),1)):B("",!0)],10,Ya))),128))])]),a("div",null,[a("label",Va,s(e.$t("jeopardygamemaker.page.labels.language")||"Game Language"),1),W(a("select",{"onUpdate:modelValue":o[2]||(o[2]=t=>T.value=t),class:"w-full px-3.5 py-2.5 border-2 border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700/60 rounded-xl text-sm text-gray-900 dark:text-white focus:border-blue-500 dark:focus:border-blue-400 focus:bg-white dark:focus:bg-gray-700 focus:ring-4 focus:ring-blue-500/10 focus:outline-none"},[(n(!0),l(v,null,$(ve.value,t=>(n(),l("option",{key:t.value,value:t.value},s(t.label),9,Ka))),128))],512),[[Ue,T.value]])]),a("div",Qa,[a("p",Xa,s(e.$t("jeopardygamemaker.page.labels.boardPreview")||"Board Preview"),1),a("p",Za,s(ke.value),1)])])])])]),a("div",et,[a("button",{onClick:re,disabled:M.value||!X.value,class:"w-full py-4 px-6 bg-gradient-to-r from-blue-500 via-blue-600 to-indigo-600 hover:from-blue-600 hover:via-blue-700 hover:to-indigo-700 text-white font-bold text-base rounded-xl shadow-xl shadow-blue-500/25 transition-all duration-200 transform hover:scale-[1.01] hover:shadow-2xl hover:shadow-blue-500/30 active:scale-[0.99] disabled:opacity-50 disabled:transform-none disabled:shadow-none flex items-center justify-center gap-2.5"},[M.value?(n(),l(v,{key:0},[o[3]||(o[3]=a("svg",{class:"animate-spin w-5 h-5",fill:"none",viewBox:"0 0 24 24"},[a("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)),G(" "+s(e.$t("jeopardygamemaker.page.buttons.generating")||"Generating..."),1)],64)):(n(),l(v,{key:1},[m(x(ge),{class:"w-5 h-5"}),G(" "+s(e.$t("jeopardygamemaker.page.buttons.generate")||"Generate Jeopardy Game"),1)],64))],8,at),q.value?(n(),l("div",tt,[o[4]||(o[4]=a("svg",{class:"w-4 h-4 text-red-500 mt-0.5 flex-shrink-0",fill:"currentColor",viewBox:"0 0 20 20"},[a("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z","clip-rule":"evenodd"})],-1)),a("p",rt,s(q.value),1)])):B("",!0),a("p",st,s(e.$t("jeopardygamemaker.page.hints.generate")||"Generate a full board
28with categories, clue values, questions, and answers."),1)])])),!x(V)&&!x(p)?(n(),ue(ma,{key:2,class:"mt-12"})):B("",!0)]),(n(),ue(Ie,{to:"body"},[m(me,{name:"modal"},{default:ce(()=>[d.value?(n(),l("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black/70 backdrop-blur-sm p-4",onClick:Ye(te,["self"])},[a("div",Ot,[a("div",Ft,[a("div",Ut,[a("div",null,[a("p",It,s(d.value.category),1),a("h3",Nt," $"+s(d.value.value),1)]),a("button",{type:"button",class:"p-2 rounded-xl bg-white/10 hover:bg-white/20 text-white transition-colors",onClick:te},[m(x(da),{class:"w-6 h-6"})])])]),a("div",Yt,[a("div",Wt,[a("p",Ht,s(d.value.question),1)]),m(me,{name:"fade"},{default:ce(()=>[d.value.answerRevealed?(n(),l("div",Vt,[a("p",Kt,s(e.$t("jeopardygamemaker.page.labels.answer")||"Answer"),1),a("p",Qt,s(d.value.answer),1)])):B("",!0)]),_:1}),a("div",Xt,[a("button",{type:"button",class:"flex-1 py-3 px-4 rounded-xl bg-white text-[#0b2d70] font-semibold hover:bg-blue-50 transition-colors",onClick:qe},s(d.value.answerRevealed?e.$t("jeopardygamemaker.page.buttons.hideAnswer")||"Hide Answer":e.$t("jeopardygamemaker.page.buttons.revealAnswer")||"Reveal Answer"),1),a("button",{type:"button",class:"flex-1 py-3 px-4 rounded-xl bg-gradient-to-r from-orange-400 to-yellow-400 text-[#0b2d70] font-black hover:from-orange-300 hover:to-yellow-300 transition-colors",onClick:Je},s(d.value.answered?e.$t("jeopardygamemaker.page.buttons.markUnanswered")||"Mark as Unanswered":e.$t("jeopardygamemaker.page.buttons.markAnswered")||"Mark as Answered"),1)])])])])):B("",!0)]),_:1})]))]))}},hr=oa(Zt,[["__scopeId","data-v-72b64294"]]);export{hr 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.