PageSourceSearch

https://cdn.logitravel.fi/babylon/logitravel/logitravel/client/chunks/index.DIbgShvH.js

js logitravel.fi collected 2026-09-27 02:25:42 UTC 3,136 bytes, 2 lines download raw bytes

1import{j as e,cr as m,s as u,M as h,f as b,h as S,c as x}from"./constants.DVfzoI-P.js";import{cl as p,co as I,cx as f,cn as d,cy as j,cm as g,p as M,b as F,c as i}from"../entries/index.QO9ocoRj.js";import{u as L,a as T,e as c,d as C,b as R,c as D,f as y,g as w,T as P,C as V,h as N,i as O,j as v,S as B,k,l as _}from"./useSearcherFerView.CwbZoWiM.js";import{F as A}from"./index.BMFWOAs7.js";import{F as E}from"./index.D5NmNT3W.js";import"./useProductInput.CRJE_bSO.js";import"./ferries.CBo06JkH.js";import"./useConditionalFetchLoading.CyGCMPn3.js";import"./useFormDiscountsNoResidents.Bb-CxNLw.js";import"./useVehicleInputs.B1M6me8e.js";const $=()=>{const s=L();if(s.literals?.submitLabel)return e.jsx(p,{...s})},q=()=>e.jsx(p,{...T()}),z=()=>{const{config:s}=c(),{literals:t}=s??{},{selectLocation:r="",selectOriginLabel:n="",confirmLabel:o=""}=t??{},a=C(),l=R();return{literals:{...t,locationTitle:r||n||"",accept:o},origin:a,destination:l,variant:"select",originValidate:a.validate,destinationValidate:l.validate}},G=()=>e.jsx(I,{...z()}),H=()=>{const{config:s}=c(),{literals:t}=s??{},{calendarLabel:r="",confirmLabel:n="",departureDate:o=""}=t??{};return f({...D(),showMonths:12,label:o,modalTitle:r,modalConfirm:n})},J=()=>e.jsx(d,{...H()}),K=()=>{const{config:s}=c(),{literals:t}=s??{},{confirmLabel:r=""}=t??{};return{...y(),literals:{accept:r}}},Q=()=>{const s=K();if(s?.discount?.items?.length&&s?.discount?.items?.length>0)return e.jsx(A,{...s})},U=()=>{const{config:s}=c(),{literals:t}=s??{},{passengersLabel:r="",passengersSelection:n="",confirmLabel:o=""}=t??{},a=w();return{...a,label:r,literals:{...a.literals,passengersLabel:r,passengersTitle:n,acceptLabel:o}}},W=()=>{const s=U();return e.jsxs(j,{...s,children:[e.jsx(Q,{}),s.literals?.temporaryLabel&&e.jsx(P,{children:e.jsx(V,{name:"temporeros",label:s.literals?.temporaryLabel})})]})},X=()=>e.jsx(m,{...N()}),Y=()=>{const{config:s}=c(),{literals:t}=s??{},{calendarLabel:r="",confirmLabel:n="",departureDate:o="",returnDate:a=""}=t??{};return g({...O(),showMonths:12,startDateLabel:o,endDateLabel:a,modalTitle:r,modalConfirm:n})},Z=()=>e.jsx(d,{...Y()}),ee=()=>{const{config:s}=c(),{literals:t}=s??{},{confirmLabel:r=""}=t??{},n=v();return{...n,data:{...n.data,config:{...n.data.config,literals:{...n.data.config?.literals,accept:r}}}}},se=()=>e.jsx(E,{...ee()}),te={SearcherTopItem:()=>u([""])},re={SearcherTopItem:()=>u(["",""],h({x:"16px"}))},ne=b({default:te,[S.veci]:re}),oe=x(M).withConfig({displayName:"SearcherTopItem",componentId:"babylon-namespace__sc-12565ee9-0"})(["",""],ne("SearcherTopItem")),ae=()=>{const{config:s}=c(),{endpoints:t,literals:r}=s??{},{crossSelling:n=""}=t??{},{isOneway:o,isRoundtrip:a}=k(),l=!!r?.residentLabel?.trim();return e.jsxs(F,{"data-testid":"SearcherFer",top:e.jsx(_,{}),TopComponent:oe,children:[e.jsx(i,{children:e.jsx(G,{})}),e.jsxs(i,{children:[o&&e.jsx(J,{}),a&&e.jsx(Z,{})]}),e.jsx(i,{children:e.jsx(W,{})}),e.jsx(i,{children:e.jsx(se,{})}),l&&e.jsx(i,{children:e.jsx(X,{})}),e.jsx(q,{}),!!n&&e.jsx($,{})]})},xe=s=>e.jsx(B,{...s,children:e.jsx(ae,{})});export{xe as default};
2//# sourceMappingURL=index.DIbgShvH.js.map

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.