PageSourceSearch

https://www.bogestra.de/_nuxt/BZFxuwOt.js

js bogestra.de collected 2026-10-02 07:55:20 UTC 3,087 bytes, 1 lines download raw bytes

1import{_ as B}from"./xxWGf-G5.js";import{_ as D}from"./DEipjzGH.js";import{_ as F}from"./C-jLb1UD.js";import{_ as I}from"./CVAZKzC1.js";import{_ as O}from"./wTCSELwQ.js";import{f as S,n as x,q as M,E as H,G as b,h as u,c as f,a as g,b as r,l as U,m as o,O as T,w as y,t as j,y as V,z as R,o as d,x as q}from"./C3tjwUFb.js";import"./BDheTVmx.js";import"./C3pF8XgK.js";import"./BVXUO2RU.js";import"./DUMv2D7X.js";import"./C2XcsHaI.js";import"./rLaKf2Rs.js";import"./C6bnQzhl.js";const z={class:"bog-ce-vrr-information-list"},A={class:"bog-ce-vrr-information-list__top"},G={class:"bog-ce-vrr-information-list__container"},J={key:0,class:"bog-ce-vrr-information-list__filter"},K={key:0,class:"bog-ce-vrr-information-list__items"},P=["innerHTML"],Q={key:1,class:"bog-ce-vrr-information-list__container bog-ce-vrr-route-results__no-results"},W="line",X="stop",Y="date",dt=S({__name:"BogCeVrrInformationList",setup(Z){q(t=>({v6d49e541:o(p).background,v47c27052:o(p).input,v3ed3b3e6:o(p).divider}));const{injectContentElement:k}=x(),a=k(),p=M({[R.default]:{background:V.blueLight,divider:V.black[30],input:V.white}}),{t:h}=H(),s=b(""),m=b(""),c=b(""),C=u(()=>a.value.content.data.information.flatMap(t=>t.lines).filter((t,e,i)=>i.indexOf(t)===e).sort()),w=u(()=>[{label:h("vrr.information.filter.line.all"),value:""},...C.value.map(t=>({label:t,value:t}))]),E=u(()=>a.value.content.data.information.flatMap(t=>t.stops).filter((t,e,i)=>i.indexOf(t)===e).sort()),L=u(()=>[{label:h("vrr.information.filter.stop.all"),value:""},...E.value.map(t=>({label:t,value:t}))]),$=u(()=>{let t=a.value.content.data.information;if(s.value&&(t=t.filter(e=>e.lines.includes(s.value))),m.value&&(t=t.filter(e=>e.stops.includes(m.value))),c.value){const e=new Date(`${c.value}T00:00:00.000-02:00`);t=t.filter(i=>{const l=i.validity.at(0);if(l?.from&&l?.to){const _=new Date(l.from),v=new Date(l.to);return _.getTime()<=e.getTime()&&v.getTime()>=e.getTime()}return!0})}return t});return(t,e)=>{const i=B,l=D,_=F,v=I,N=O;return d(),f("div",z,[g("div",A,[g("div",G,[r(i,{class:"bog-ce-vrr-information-list__header",content:o(a).content},null,8,["content"]),o(a).content.data.type!=="manual"?(d(),f("div",J,[r(l,{modelValue:o(s),"onUpdate:modelValue":e[0]||(e[0]=n=>T(s)?s.value=n:null),label:t.$t("vrr.information.filter.line.label"),name:W,options:o(w)},null,8,["modelValue","label","options"]),r(l,{modelValue:o(m),"onUpdate:modelValue":e[1]||(e[1]=n=>T(m)?m.value=n:null),label:t.$t("vrr.information.filter.stop.label"),name:X,options:o(L)},null,8,["modelValue","label","options"]),r(_,{modelValue:o(c),"onUpdate:modelValue":e[2]||(e[2]=n=>T(c)?c.value=n:null),label:t.$t("vrr.information.filter.date.label"),name:Y,type:"date"},null,8,["modelValue","label"])])):U("",!0)])]),o($).length>0?(d(),f("div",K,[r(N,{items:o($),multiple:""},{title:y(({item:n})=>[r(v,{information:n},null,8,["information"])]),content:y(({item:n})=>[g("div",{innerHTML:n.content},null,8,P)]),_:1},8,["items"])])):(d(),f("div",Q,j(t.$t(o(a).content.data.api.error?"vrr.error":"vrr.information.noResults")),1))])}}});export{dt 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.