PageSourceSearch

https://www.slonline.si/_nuxt/Drd1dzF8.js

js slonline.si collected 2026-10-02 04:42:39 UTC 3,740 bytes, 1 lines download raw bytes

1import{x as A,y as g,z as r,j as C,h as D,S as U,c as n,o,a as l,A as $,H as x,k as d,B as F,l as t,C as m,F as M,E as z,t as H,b as _,G as j}from"./5wLzyRtQ.js";/* empty css        */import{C as k}from"./CUNspz4P.js";import{u as q}from"./VDTySwpT.js";import G from"./C8AHWD5k.js";import I from"./kd4So3z7.js";import"./C9f660-f.js";import"./CgTV4MWs.js";import"./DlKlalnc.js";import"./Bet3t9Qb.js";/* empty css        */import"./CF16eKqY.js";import"./DvGkQGqR.js";import"./BsSF90F1.js";import"./CC8tk5qr.js";import"./BKXNbrS0.js";import"./BKI-Y2dO.js";const O={class:"bg-white top-0 z-40"},P={class:"h-[70px] flex items-center justify-between"},R={class:"flex items-center flex-1"},K={class:"flex items-center whitespace-nowrap scrollbar-hide"},J={class:"relative"},Q={key:0,class:"absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-40"},W=["href"],X={__name:"Navbar_pregled",setup(w){const p=A(),{debug:f}=g(p),b=q();r([]);const{courses:te,coursesList:se,themesList:oe,sectionList:le,sectionTypeList:ae,exerciseList:T,exerciseTypeList:V,exerciseSectionTypeList:E,currentCourse:re,currentTheme:ie,currentSectionKey:L,currentSectionType:h,currentExercise:i,currentExerciseType:v,exerciseItem:ne,currentExerciseSectionType:c,nestedSectionList:ce}=g(b),u=r("");C(u,async a=>{try{await b.searchExercise(a)}catch{}});const y=r(!1),S=r(!1),N=r([{label:"Profile",href:"#"},{label:"Settings",href:"#"},{label:"Help",href:"#"},{label:"Sign out",href:"#"}]);return r([{id:1,name:"Vocabulary",children:[{id:11,data:"Naslov 1",section_key:"S1B-T1-A1"},{id:12,data:"Naslov 2",section_key:"S2B-T1-A1"},{id:13,data:"Naslov 3",section_key:"S3B-T1-A1"},{id:14,data:"Naslov 4",section_key:"S4B-T1-A"}]},{id:2,name:"Phrases",children:[{id:21,data:"Naslov 1",section_key:"S1F-T1-A1"},{id:22,data:"Naslov 2",section_key:"S2F-T1-A1"}]}]),D(()=>{document.addEventListener("click",a=>{const e=document.querySelector(".relative");e&&!e.contains(a.target)&&(y.value=!1,S.value=!1)})}),U(()=>{document.removeEventListener("click",a=>{const e=document.querySelector(".relative");e&&!e.contains(a.target)&&(y.value=!1,S.value=!1)})}),(a,e)=>(o(),n("nav",O,[l("div",P,[l("div",R,[l("div",K,[$(l("input",{type:"text",name:"search",id:"search",placeholder:"Naloga",class:"w-20 border","onUpdate:modelValue":e[0]||(e[0]=s=>m(u)?u.value=s:null)},null,512),[[F,t(u)]]),t(L)?(o(),x(k,{key:0,modelValue:t(i),"onUpdate:modelValue":e[1]||(e[1]=s=>m(i)?i.value=s:null),options:t(T),multiple:!1,placeholder:"Exercise","label-key":"data","value-key":"id",class:"inline-block w-20 flex-shrink-0"},null,8,["modelValue","options"])):d("",!0),t(i)&&t(h)!="Dialogues"?(o(),x(k,{key:1,modelValue:t(c),"onUpdate:modelValue":e[2]||(e[2]=s=>m(c)?c.value=s:null),options:t(h)==="Dialogues"?[]:t(E),multiple:!1,placeholder:"EST","label-key":"label","value-key":"value",class:"inline-block w-20 flex-shrink-0"},null,8,["modelValue","options"])):d("",!0),t(c)||t(h)==="Dialogues"&&t(i)?(o(),x(k,{key:2,modelValue:t(v),"onUpdate:modelValue":e[3]||(e[3]=s=>m(v)?v.value=s:null),options:t(V),multiple:!1,placeholder:"ET","label-key":"label","value-key":"value",class:"inline-block w-28 flex-shrink-0"},null,8,["modelValue","options"])):d("",!0)])]),l("div",J,[t(y)?(o(),n("div",Q,[(o(!0),n(M,null,z(t(N),(s,B)=>(o(),n("a",{key:B,href:s.href,class:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"},H(s.label),9,W))),128))])):d("",!0)])]),l("button",{class:"fixed top-5 right-5",onClick:e[4]||(e[4]=s=>f.value=!t(f))},"DEBUG")]))}},Y={class:"min-h-screen flex flex-col"},Z={class:"flex-1"},ee={class:"max-w-7xl mx-auto px-4"},Ee={__name:"pregled",setup(w){return(p,f)=>(o(),n("div",Y,[_(X),l("main",Z,[l("div",ee,[_(G),j(p.$slots,"default")])]),_(I)]))}};export{Ee 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.