1import{d as e,y as a,a as s,c as t,e as l,f as n,s as o,g as i,F as c,h as r,r as p,n as g}from"./vue-BLbPMQBZ.js";import"./preload-helper-D9jEkzRM.js";import"./exports-DzJyI3gR.js";import"./apollo.client-CTIoy0fp.js";const u=["innerHTML"],v={key:0,class:"active-page"},d=e({__name:"GamePage",props:{label:{},activePage:{},selectPage:{type:Function},pageId:{},mode:{},points:{}},setup(e){const d=e,f=r(()=>d.activePage===d.pageId),m=p(null),y=a(m);return(a,r)=>(s(),t(c,null,[l("div",{class:n(["selection",{"wrong-answer":""!==e.activePage&&0===e.points,"correct-answer":""!==e.activePage&&e.points>0,"active-selection":f.value}]),onClick:r[0]||(r[0]=e=>async function(){const e=m.value.getBoundingClientRect().y;d.selectPage(d.pageId),await g(),(!y||m.value.getBoundingClientRect().y<0)&&window.scrollBy({left:0,top:m.value.getBoundingClientRect().y-e,behavior:"smooth"})}())},[l("div",{ref_key:"$selector",ref:m,class:"selector"},null,512),l("span",{innerHTML:d.label},null,8,u)],2),f.value?(s(),t("div",v,[o(a.$slots,"default")])):i("",!0)],64))}});export{d 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.