PageSourceSearch

https://oseth.com.gr/modules/custom/oasth_telematics_app/dist/assets/frontpageBlock-mT98r1-L.js?tm6d00

js oseth.com.gr collected 2026-10-01 12:33:55 UTC 9,053 bytes, 1 lines download raw bytes

1import{_ as m,x as d,y as h,ad as D,z as s,u as T,A as M,B as b,V as f,D as q,q as x,F as i,M as u,J as P,I as o,G as A,H,a4 as N,Q as l,E as O,a8 as Z,a9 as z,ab as E,aa as L,ac as U}from"./i18n-DwZY_BJx.js";const J={},Q={xmlns:"http://www.w3.org/2000/svg",width:"69",height:"69",viewBox:"0 0 69 69"};function F(g,n){return d(),h("svg",Q,n[0]||(n[0]=[D('<g id="Group_1498" data-name="Group 1498" transform="translate(-1347 -421)"><circle id="Ellipse_117" data-name="Ellipse 117" cx="34.5" cy="34.5" r="34.5" transform="translate(1347 421)" fill="#ae0a22"></circle><g id="bus_2" data-name="bus 2" transform="translate(1298.278 371.996)"><g id="Group_14" data-name="Group 14" transform="translate(65.92 69.544)"><g id="Group_15" data-name="Group 15"><path id="Vector_45" data-name="Vector 45" d="M65.92,72.061v8.765a1.1,1.1,0,0,0,2.193,0l.063-12.346A3.976,3.976,0,0,0,65.92,72.061Z" transform="translate(-65.92 -68.48)" fill="#fff"></path></g></g><g id="Group_16" data-name="Group 16" transform="translate(101.078 69.544)"><g id="Group_17" data-name="Group 17"><path id="Vector_46" data-name="Vector 46" d="M91.143,68.48,91.207,78.5v2.325a1.1,1.1,0,0,0,2.193,0V72.061A3.974,3.974,0,0,0,91.143,68.48Z" transform="translate(-91.143 -68.48)" fill="#fff"></path></g></g><g id="Group_18" data-name="Group 18" transform="translate(70.368 65.779)"><g id="Group_19" data-name="Group 19"><path id="Vector_47" data-name="Vector 47" d="M94.342,65.779H72.4a3.291,3.291,0,0,0-3.288,3.288V92.546a3.293,3.293,0,0,0,2.29,3.132v1.57a2.967,2.967,0,0,0,5.831.778,2.926,2.926,0,0,0,.1-.778V95.834H89.4v1.413a2.967,2.967,0,0,0,5.85.7,2.917,2.917,0,0,0,.085-.7v-1.57h0a3.294,3.294,0,0,0,2.29-3.132V69.067A3.292,3.292,0,0,0,94.342,65.779ZM76.089,90.144a1.1,1.1,0,1,1-2.193,0V87.515a1.1,1.1,0,0,1,2.193,0Zm16.754,0a1.1,1.1,0,1,1-2.191,0V87.515a1.1,1.1,0,0,1,2.191,0Zm2.594-9.037H71.3V72.992H95.437v8.115Z" transform="translate(-69.111 -65.779)" fill="#fff"></path></g></g></g></g>',1)]))}const j=m(J,[["render",F]]),K={},W={width:"20px",height:"20px",fill:"#ae0a22",xmlns:"http://www.w3.org/2000/svg","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd",viewBox:"0 0 512 512"};function X(g,n){return d(),h("svg",W,n[0]||(n[0]=[s("path",{"fill-rule":"nonzero",d:"M256 0c70.69 0 134.69 28.66 181.02 74.98C483.34 121.3 512 185.31 512 256s-28.66 134.7-74.98 181.02C390.69 483.34 326.69 512 256 512s-134.69-28.66-181.02-74.98C28.66 390.69 0 326.69 0 256S28.66 121.31 74.98 74.98C121.31 28.66 185.31 0 256 0m-9.96 161.03c0-4.28.76-8.26 2.27-11.91 1.5-3.63 3.77-6.94 6.79-9.91 3-2.95 6.29-5.2 9.84-6.7 3.57-1.5 7.41-2.28 11.52-2.28 4.12 0 7.96.78 11.49 2.27 3.54 1.51 6.78 3.76 9.75 6.73 2.95 2.97 5.16 6.26 6.64 9.91 1.49 3.63 2.22 7.61 2.22 11.89 0 4.17-.73 8.08-2.21 11.69-1.48 3.6-3.68 6.94-6.65 9.97-2.94 3.03-6.18 5.32-9.72 6.84-3.54 1.51-7.38 2.29-11.52 2.29-4.22 0-8.14-.76-11.75-2.26-3.58-1.51-6.86-3.79-9.83-6.79-2.94-3.02-5.16-6.34-6.63-9.97-1.48-3.62-2.21-7.54-2.21-11.77m13.4 178.16c-1.11 3.97-3.35 11.76 3.3 11.76 1.44 0 3.27-.81 5.46-2.4 2.37-1.71 5.09-4.31 8.13-7.75 3.09-3.5 6.32-7.65 9.67-12.42 3.33-4.76 6.84-10.22 10.49-16.31.37-.65 1.23-.87 1.89-.48l12.36 9.18c.6.43.73 1.25.35 1.86-5.69 9.88-11.44 18.51-17.26 25.88-5.85 7.41-11.79 13.57-17.8 18.43l-.1.06q-9.03 7.32-18.51 11.01c-17.58 6.81-45.36 5.7-53.32-14.83-5.02-12.96-.9-27.69 3.06-40.37l19.96-60.44c1.28-4.58 2.89-9.62 3.47-14.33.97-7.87-2.49-12.96-11.06-12.96h-17.45c-.76 0-1.38-.62-1.38-1.38l.08-.48 4.58-16.68c.16-.62.73-1.04 1.35-1.02l89.12-2.79c.76-.03 1.41.57 1.44 1.33l-.07.43zm158.3-244.93c-41.39-41.39-98.58-67-161.74-67s-120.35 25.61-161.74 67-67 98.58-67 161.74 25.61 120.35 67 161.74 98.58 67 161.74 67 120.35-25.61 161.74-67 67-98.58 67-161.74-25.61-120.35-67-161.74"},null,-1)]))}const Y=m(K,[["render",X]]),ee={id:"telematics-teaser"},te={class:"telematics-teaser__content"},se={class:"telematics-teaser__content__header"},ae={class:"telematics-teaser__content__header_info_wrapper"},oe={class:"telematics-teaser__content__header__title"},le={class:"telematics-teaser__content__header__description"},ne={class:"telematics-teaser__content__header__icon"},re={class:"telematics-teaser__content__body"},ie={class:"telematics-teaser__content__body__col-1"},ce={id:"line-info"},ue={class:"multiselect-wrapper"},de={class:"telematics-teaser__content__body__col-2"}
1,pe={id:"stop-info"},_e={class:"telematics-teaser__content__footer"},fe=["href"],me={class:"info-icon"},he={__name:"AppTeaser",setup(g){const n=window.drupalSettings.path.pathPrefix||"el/",t=T(),c=M(),V=b(null);b(null);const _=f(()=>t.state.routes.selectedRoute),y=async e=>{l.sequence=e};q(()=>{});const k=()=>{window.location.href=`/${window.drupalSettings.path.pathPrefix}/node/213?tripPlanner=true`},B=()=>{localStorage.setItem("selectedRoute",JSON.stringify(t.state.routes.selectedRoute)),localStorage.setItem("selectedRouteDirection",t.state.routes.selectedRouteDirection),localStorage.setItem("selectedStop",c.state.stops.selectedStop);let e=`/${window.drupalSettings.path.pathPrefix}/node/213`;l.route&&(e+=`?route=${l.route}`),l.sequence&&(e+=`&sequence=${l.sequence}`),l.stop&&(e+=`&stop=${l.stop}`),window.location.href=e},v=f(()=>t.state.routes.selectedRouteDirection==="all"?t.state.routes.allRouteSequences?t.state.routes.allRouteSequences.map(e=>e.stops.map(a=>({label:`${a.id} - ${a.name}`,value:a.id})).sort((a,r)=>a.label.localeCompare(r.label))).flat():[]:t.state.routes.routeSequence.stops?t.state.routes.routeSequence.stops.map(e=>({label:`${e.id} - ${e.name}`,value:e.id})).sort((e,a)=>e.label.localeCompare(a.label)):[]),G=f(()=>{if(c.state.stops.info.id&&t.state.routes.allRouteSequences.length>0)return t.state.routes.allRouteSequences.map(e=>{if(e.stops.find(r=>r.name===c.state.stops.info.name))return{label:e.headsign,value:e.shape.id}}).filter(e=>e);if(_.value&&_.value.tripHeadsigns)return _.value.tripHeadsigns.map(e=>({label:e.headsign,value:e.shapeId}))}),I=e=>{t.setRouteSelection(e),c.resetStopInfo()},C=async e=>t.state.routes.selectedRoute&&!e?[{label:`${t.state.routes.selectedRoute.shortName} - ${t.state.routes.selectedRoute.longName}`,value:t.state.routes.selectedRoute.id}]:await t.fetchRoutes(e);x(()=>{var e;return(e=t.state.routes.routeSequence.shape)==null?void 0:e.id},(e,a)=>{e&&S(null,!0)});const S=(e,a=!1)=>{l.stop=e};return(e,a)=>{var R;const r=O("Multiselect");return d(),h("div",ee,[s("div",te,[s("div",se,[s("div",ae,[s("h2",oe,i(e.$t("frontpageBlock.title")),1),s("p",le,i(e.$t("frontpageBlock.subtitle")),1)]),s("div",ne,[u(j)])]),s("div",re,[s("div",ie,[s("label",ce,i(e.$t("frontpageBlock.lineInfo")),1),s("div",ue,[(d(),P(r,{key:o(t).state.selectComponent.id,"model-value":(R=o(t).state.routes.selectedRoute)==null?void 0:R.id,"onUpdate:modelValue":I,placeholder:e.$t("route.chooseRoute"),"min-chars":1,"resolve-on-load":!0,delay:0,searchable:!0,"can-clear":!0,"can-deselect":!1,noOptionsText:e.$t("select.noOptionsText"),noResultsText:e.$t("select.noResultsText"),options:C,onClear:a[0]||(a[0]=$=>o(t).setRouteSelection(null)),aria:{"aria-placeholder":null,"aria-multiselectable":null,"aria-label":e.$t("route.chooseRoute"),"aria-labelledby":"line-info"}},null,8,["model-value","placeholder","noOptionsText","noResultsText","aria"])),A(u(r,{id:"trip-headsign",modelValue:o(t).state.routes.selectedRouteDirection,"onUpdate:modelValue":a[1]||(a[1]=$=>o(t).state.routes.selectedRouteDirection=$),"can-clear":!1,disabled:!o(t).state.routes.selectedRoute,"filter-results":!1,"min-chars":1,"resolve-on-load":!1,delay:0,searchable:!1,placeholder:o(t).state.routes.selectedRoute?e.$t("route.chooseDirection"):e.$t("stop.firstSelectRoute"),options:G.value,onSelect:y},null,8,["modelValue","disabled","placeholder","options"]),[[H,o(l).route]])])]),s("div",de,[s("label",pe,i(e.$t("frontpageBlock.stopInfo")),1),u(r,{ref_key:"searchInput",ref:V,id:"stop-info",class:"stop-select-multiselect","model-value":o(c).state.stops.selectedStop,"onUpdate:modelValue":S,disabled:!o(t).state.routes.selectedRouteDirection,placeholder:o(t).state.routes.selectedRoute?o(t).state.routes.selectedRouteDirection?e.$t("stop.selectStop"):e.$t("stop.firstSelectDirection"):e.$t("stop.firstSelectRoute"),"filter-results":!0,"min-chars":1,"resolve-on-load":!0,delay:1e3,searchable:!0,"can-clear":!0,options:v.value.length>0?v.value:[]},null,8,["model-value","disabled","placeholder","options"])])])]),s("div",_e,[s("a",{class:"telematics-link",href:`/${o(n)}taxonomy/term/84`},[s("span",me,[u(Y)]),N(i(e.$t("frontpageBlock.routeModification")),1)],8,fe),s("button",{class:"telematics-cta",i
1d:"select-stop",onClick:B},i(e.$t("frontpageBlock.continue")),1),s("button",{onClick:k,id:"telematics-trip-planner"},i(e.$t("frontpageBlock.findBestRoute")),1)])])}}},ge=m(he,[["__scopeId","data-v-fe22f726"]]),w=window.drupalSettings.path.currentLanguage,ve=Z({legacy:!1,locale:w,fallbackLocale:w==="el"?"en":"el",messages:U}),p=z(ge);p.component("Multiselect",E);p.use(L());p.use(ve);p.mount("#teaser-app");

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.