PageSourceSearch

https://vthunt.com/assets/Hub-lmyBNsrI.js

js vthunt.com collected 2026-10-03 02:42:01 UTC 3,827 bytes, 1 lines download raw bytes

1import{d as L,$ as E,x as T,u as V,y as o,r as m,o as R,b as U,c as _,g as h,k as y,f as n,F as I,j as P,h as t,m as W,l as q,z as A,n as b,i as Y,q as v,D as G,E as J,v as K}from"./index-B37RkkIh.js";import{h as O,_ as Q}from"./pasthunt_2026-xgxQATHK.js";const X="/img/crest.webp",Z={class:"flex flex-col items-center w"},z={class:"flex mx-2 my-6"},ee={class:"w-full text-center text-sm lg:text-lg h-6 my-6"},te=["src","onClick"],ae=["src","onClick"],oe=["innerHTML"],le=L({__name:"Hub",setup(ne){E();const k=T();V(),o(()=>k.team);const C=Y(),f=m(""),w=m(""),c=m(!1),s=o(()=>O.puzzles),p=o(()=>s.value?.filter(e=>e.generic_metadata.round==1&&e.generic_metadata.meta=="true"&&e.node_object.answer).length>0),x=o(()=>s.value?.filter(e=>e.generic_metadata.round==2&&e.generic_metadata.meta=="true"&&e.node_object.answer).length>0);o(()=>s.value?.filter(e=>e.generic_metadata.round==3&&e.generic_metadata.meta=="true"&&e.node_object.answer).length>0);const r=o(()=>s.value?.filter(e=>e.generic_metadata.round==1&&e.generic_metadata.meta=="true"&&e.node_object.answer)),d=o(()=>s.value?.filter(e=>e.generic_metadata.round==2&&e.generic_metadata.meta=="true"&&e.node_object.answer)),u=o(()=>s.value?.filter(e=>e.generic_metadata.round==3&&e.generic_metadata.meta=="true"&&e.node_object.answer)),H=o(()=>r.value&&r.value[0]&&r.value[0].node_object.solved_metadata&&r.value[0].node_object.solved_metadata.html?r.value[0].node_object.solved_metadata.html:""),S=o(()=>d.value&&d.value[0]&&d.value[0].node_object.solved_metadata&&d.value[0].node_object.solved_metadata.html?d.value[0].node_object.solved_metadata.html:""),M=o(()=>u.value&&u.value[0]&&u.value[0].node_object.solved_metadata&&u.value[0].node_object.solved_metadata.html?u.value[0].node_object.solved_metadata.html:""),l=o(()=>[{image:"/img/fool.webp",title:"A Single Step",disabled:!1,url:"/past-hunts/hunt-2026/course",rotate:"-5deg",unlocked:p.value,icon:"/img/graduated.webp",html:H.value},{image:"/img/hermit.webp",title:"Under Your Nose",disabled:!p.value,url:"/past-hunts/hunt-2026/dungeon",rotate:"0deg",unlocked:x.value,icon:"/img/topple.webp",html:S.value},{image:"/img/justice.webp",title:"Mind over Magic",disabled:!x.value,url:"/past-hunts/hunt-2026/boss",rotate:"5deg",unlocked:!1,icon:"/img/theend.webp",html:M.value}]),N=e=>{e.disabled||C.push(e.url)},$=e=>{c.value=!0,f.value=e.title,w.value=e.html},j=m(!1),g=()=>{j.value=window.innerWidth<768};return R(()=>{window.addEventListener("resize",g),g()}),U(()=>{window.removeEventListener("resize",g)}),(e,i)=>{const B=Q,D=A;return v(),_("div",{class:b(["flex flex-col lg:flex-row h-[100vh] w-screen",t(j)?"flex-col":"flex-row"])},[h(B),h(D,{class:"grow overflow-y-auto text-black",style:{"background-color":"#F5F5F5"}},{default:y(()=>[n("div",Z,[i[1]||(i[1]=n("h2",{class:"text-md lg:text2xl w-full text-center mt-6"},"Welcome to Virginia Polythaumaturgic Institute and Spell Multiversity!",-1)),n("div",z,[(v(!0),_(I,null,P(t(l).length,a=>(v(),_("div",{class:b(["lg:w-[20vw]",`z-${t(l).length-a} splay-${a}`])},[n("div",ee,J(t(l)[a-1].disabled?"":t(l)[a-1].title),1),n("img",{class:b(["w-full splay",t(l)[a-1].disabled?"grayscale":"cursor-pointer"]),src:t(l)[a-1].image,style:{"object-fit":"contain"},onClick:F=>N(t(l)[a-1])},null,10,te),t(l)[a-1].unlocked?(v(),_("img",{key:0,class:"w-1/3 mt-4 mx-auto cursor-pointer",src:t(l)[a-1].icon,onClick:F=>$(t(l)[a-1])},null,8,ae)):G("",!0)],2))),256))]),i[2]||(i[2]=n("img",{src:X,class:"w-[50vw] lg:w-[25vw]",style:{"object-fit":"contain"}},null,-1))]),h(t(W),{visible:t(c),"onUpdate:visible":i[0]||(i[0]=a=>q(c)?c.value=a:null),modal:"",header:t(f),class:"w-10/12 lg:w-6/12 px-6 lg:px-16 py-10"},{default:y(()=>[n("div",{innerHTML:t(w)},null,8,oe)]),_:1},8,["visible","header"])]),_:1})],2)}}}),re=K(le,[["__scopeId","data-v-cca72320"]]);export{re 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.