PageSourceSearch

https://www.toptravel.lt/_next/static/chunks/2249.6df0ac6fd097ee40.js

js toptravel.lt collected 2026-10-03 01:58:30 UTC 26,022 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="273e4ee4-621b-4ac1-b2a9-31544ee0d56b",e._sentryDebugIdIdentifier="sentry-dbid-273e4ee4-621b-4ac1-b2a9-31544ee0d56b")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2249],{22858:function(e){e.exports=function(e){if(Array.isArray(e))return e}},13884:function(e){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}},80521:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},63038:function(e,t,n){var r=n(22858),o=n(13884),a=n(80521);e.exports=function(e,t){return r(e)||o(e,t)||a()}},75613:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.element=e}return e.prototype.getHorizontalScroll=function(){return this.element.scrollLeft},e.prototype.getVerticalScroll=function(){return this.element.scrollTop},e.prototype.getMaxHorizontalScroll=function(){return this.element.scrollWidth-this.element.clientWidth},e.prototype.getMaxVerticalScroll=function(){return this.element.scrollHeight-this.element.clientHeight},e.prototype.getHorizontalElementScrollOffset=function(e){return e.getBoundingClientRect().left+this.element.scrollLeft-this.element.getBoundingClientRect().left},e.prototype.getVerticalElementScrollOffset=function(e){return e.getBoundingClientRect().top+this.element.scrollTop-this.element.getBoundingClientRect().top},e.prototype.scrollTo=function(e,t){this.element.scrollLeft=e,this.element.scrollTop=t},e}(),o=function(){function e(){}return e.prototype.getHorizontalScroll=function(){return window.scrollX||document.documentElement.scrollLeft},e.prototype.getVerticalScroll=function(){return window.scrollY||document.documentElement.scrollTop},e.prototype.getMaxHorizontalScroll=function(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth},e.prototype.getMaxVerticalScroll=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight},e.prototype.getHorizontalElementScrollOffset=function(e){return(window.scrollX||document.documentElement.scrollLeft)+e.getBoundingClientRect().left},e.prototype.getVerticalElementScrollOffset=function(e){return(window.scrollY||document.documentElement.scrollTop)+e.getBoundingClientRect().top},e.prototype.scrollTo=function(e,t){window.scrollTo(e,t)},e}(),a={elements:[],cancelMethods:[],add:function(e,t){a.elements.push(e),a.cancelMethods.push(t)},stop:function(e){var t=a.elements.indexOf(e);t>-1&&(a.cancelMethods[t](),a.elements.splice(t,1),a.cancelMethods.splice(t,1))}},i="undefined"!=typeof window,s={cancelOnUserAction:!0,easing:function(e){return--e*e*e+1},elementToScroll:i?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function l(e,t){if(void 0===t&&(t={}),!i)return new Promise((function(e){e(!1)}));if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";var l,u,c,d=n(n({},s),t),f=d.elementToScroll===window,m=!!d.elementToScroll.nodeName;if(!f&&!m)throw"Element to scroll needs to be either window or DOM element.";var h=f?new o:new r(d.elementToScroll);if(e instanceof Element)c=e,l=h.getHorizontalElementScrollOffset(c),u=h.getVerticalElementScrollOffset(c);else if("number"==typeof e)l=h.getHorizontalScroll(),u=e;else{if(!Array.isArray(e)||2!==e.length)throw"Wrong function signature. Check documentation.\nAvailable method signatures are:\n  animateScrollTo(y:number, options)\n  animateScrollTo([x:number | null, y:number | null], options)\n  animateScrollTo(scrollToElement:Element, options)";l=null===e[0]?h.getHorizontalScroll():e[0],u=null===e[1]?h.getVerticalScroll():e[1]}l+=d.horizontalOffset,u+=d.verticalOffset;var p=h.getMaxHorizontalScroll(),g=h.getHorizontalScroll();l>
1p&&(l=p);var y=l-g,S=h.getMaxVerticalScroll(),w=h.getVerticalScroll();u>S&&(u=S);var E=u-w,b=Math.abs(Math.round(y/1e3*d.speed)),v=Math.abs(Math.round(E/1e3*d.speed)),x=b>v?b:v;return x<d.minDuration?x=d.minDuration:x>d.maxDuration&&(x=d.maxDuration),new Promise((function(e,t){var n;0===y&&0===E&&e(!0),a.stop(d.elementToScroll);var r=function(){c(),cancelAnimationFrame(n),e(!1)};a.add(d.elementToScroll,r);var o=d.cancelOnUserAction?r:function(e){return e.preventDefault()},i=d.cancelOnUserAction?{passive:!0}:{passive:!1},s=["wheel","touchstart","keydown","mousedown"],c=function(){s.forEach((function(e){d.elementToScroll.removeEventListener(e,o)}))};s.forEach((function(e){d.elementToScroll.addEventListener(e,o,i)}));var f=Date.now(),m=function(){var t=Date.now()-f,r=t/x,o=Math.round(g+y*d.easing(r)),a=Math.round(w+E*d.easing(r));t<x&&(o!==l||a!==u)?(h.scrollTo(o,a),n=requestAnimationFrame(m)):(h.scrollTo(l,u),cancelAnimationFrame(n),c(),e(!0))};n=requestAnimationFrame(m)}))}t.default=l,i&&(window.animateScrollTo=l)},77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},20731:function(e,t,n){var r=n(88668),o=n(47443),a=n(1196),i=n(29932),s=n(7518),l=n(74757);e.exports=function(e,t,n,u){var c=-1,d=o,f=!0,m=e.length,h=[],p=t.length;if(!m)return h;n&&(t=i(t,s(n))),u?(d=a,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++c<m;){var g=e[c],y=null==n?g:n(g);if(g=u||0!==g?g:0,f&&y==y){for(var S=p;S--;)if(t[S]===y)continue e;h.push(g)}else d(t,y,u)||h.push(g)}return h}},47556:function(e,t,n){var r=n(88668),o=n(47443),a=n(1196),i=n(29932),s=n(7518),l=n(74757),u=Math.min;e.exports=function(e,t,n){for(var c=n?a:o,d=e[0].length,f=e.length,m=f,h=Array(f),p=1/0,g=[];m--;){var y=e[m];m&&t&&(y=i(y,s(t))),p=u(y.length,p),h[m]=!n&&(t||d>=120&&y.length>=120)?new r(m&&y):void 0}y=e[0];var S=-1,w=h[0];e:for(;++S<d&&g.length<p;){var E=y[S],b=t?t(E):E;if(E=n||0!==E?E:0,!(w?l(w,b):c(g,b,n))){for(m=f;--m;){var v=h[m];if(!(v?l(v,b):c(e[m],b,n)))continue e}w&&w.push(b),g.push(E)}}return g}},45652:function(e,t,n){var r=n(88668),o=n(47443),a=n(1196),i=n(74757),s=n(23593),l=n(21814);e.exports=function(e,t,n){var u=-1,c=o,d=e.length,f=!0,m=[],h=m;if(n)f=!1,c=a;else if(d>=200){var p=t?null:s(e);if(p)return l(p);f=!1,c=i,h=new r}else h=t?[]:m;e:for(;++u<d;){var g=e[u],y=t?t(g):g;if(g=n||0!==g?g:0,f&&y==y){for(var S=h.length;S--;)if(h[S]===y)continue e;t&&h.push(y),m.push(g)}else c(h,y,n)||(h!==m&&h.push(y),m.push(g))}return m}},24387:function(e,t,n){var r=n(29246);e.exports=function(e){return r(e)?e:[]}},23593:function(e,t,n){var r=n(58525),o=n(50308),a=n(21814),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},91966:function(e,t,n){var r=n(20731),o=n(21078),a=n(5976),i=n(29246),s=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=s},84486:function(e,t,n){var r=n(77412),o=n(89881),a=n(54290),i=n(1469);e.exports=function(e,t){return(i(e)?r:o)(e,a(t))}},25325:function(e,t,n){var r=n(29932),o=n(47556),a=n(5976),i=n(24387),s=a((function(e){var t=r(e,i);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},50308:function(e){e.exports=function(){}},93386:function(e,t,n){var r=n(21078),o=n(5976),a=n(45652),i=n(29246),s=o((function(e){return a(r(e,1,i,!0))}));e.exports=s},53494:function(e,t,n){"use strict";var r=n(95318);t.Z=void 0;var o=d(n(67294)),a=r(n(67154)),i=r(n(6479)),s=d(n(12783)),l=n(67814),u=n(406),c=["showMessage","onClick","styles","ariaLabel"];function d(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(d=function(e,t){if(!t&&e&&e.__esModule)return e;var o,a,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(o=t?r:n){if(o.has(e))return o.get(e);o.set(e,i)}for(var s in e)"default"!==s&&{}.hasOwnProperty.call(e,s)&&((a=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,s))&&(a.get||a.set)?o(i,s,a):i[s]=e[s]);return i})(e,t)}var f=o.default.createElement,m=(0,o.forwardRef)((function(e,t){var n=e.showMessage,r=e.onClick,o=e.styles,s=e.ariaLabel,d=(0,i.default)(e,c),m=n?void 0:s||"Close";return f(p,(0,a.default)({ref:t,type:"button",onClick:r,styles:o,"aria-label":m,title:m},d),n&&f(g,null,f(u.FormattedMessage,{id:"close.label",description:"Close",defaultMessage:"Close"})),f(l.FontAwesomeIcon,{icon:"times","aria-hidden":"true"}))}));m.displayName="CloseButton";var h=m;t.Z=h;var p=s.default.button.withConfig({componentId:"sc-zjq8y0-0"})(["user-select:none;display:flex;align-items:center;padding:15px;background:none;border:none;font-size:16px;color:",";cursor:pointer;opacity:0.7;transition:opacity 0.3s;&:hover{opacity:1;}
1&:focus-visible{outline:1px solid ",";outline-offset:1px;}",";"],(function(e){return e.theme.colors.text.darkGrey}),(function(e){return e.theme.colors.adjacent.default}),(function(e){var t=e.styles;return t&&(0,s.css)(["",""],t)})),g=s.default.div.withConfig({componentId:"sc-zjq8y0-1"})(["margin-right:8px;font-weight:500;color:",";"],(function(e){return e.theme.colors.primary.dark}))},8082:function(e,t,n){"use strict";var r=n(95318);t.Z=void 0;var o=r(n(67294)),a=r(n(67154)),i=r(n(6479)),s=r(n(12783)),l=r(n(3838)),u=["onClick","children"],c=o.default.createElement,d={backgroundColor:"transparent",borderColor:"transparent",color:function(e){return e.theme.colors.links.default}};var f=function(e){var t=e.onClick,n=e.children,r=(0,i.default)(e,u);return c(m,(0,a.default)({intent:"custom",customVariant:d,onClick:t},r,{"data-sentry-element":"Root","data-sentry-component":"LinkButton","data-sentry-source-file":"LinkButton.jsx"}),n)};t.Z=f;var m=(0,s.default)(l.default).withConfig({componentId:"sc-hip2ol-0"})(["min-height:unset;width:auto;border:0;&:hover:not(:disabled):not([aria-disabled='true']){text-decoration:underline;transform:none;}&:disabled,&[aria-disabled='true']{background-color:transparent;}"])},7608:function(e,t,n){"use strict";var r=n(95318);t.Z=void 0;var o=r(n(12783)).default.div.withConfig({componentId:"sc-10ceepn-0"})(["display:inline-block;width:",";height:",";position:relative;background-color:",";border:none;border-radius:50%;font-size:16px;cursor:pointer;box-shadow:0px 0px 13px 1px rgba(0,0,0,0.05);&:before{content:'';display:",";width:2px;height:",";position:absolute;top:50%;right:50%;transform:translate(50%,-50%);background-color:",";}&:after{content:'';display:inline-block;width:",";height:2px;position:absolute;top:50%;right:50%;transform:translate(50%,-50%);background-color:",";}&:hover{box-shadow:0px 0px 13px 1px rgba(0,0,0,0.1);}"],(function(e){return e.small?"14px":"18px"}),(function(e){return e.small?"14px":"18px"}),(function(e){var t=e.light,n=e.theme;return t?n.colors.background.light:n.colors.background.grey}),(function(e){var t=e.collapsible,n=e.collapsed;return t&&!n?"none":"inline-block"}),(function(e){return e.small?"8px":"10px"}),(function(e){return e.theme.colors.primary.dark}),(function(e){return e.small?"8px":"10px"}),(function(e){return e.theme.colors.primary.dark}));t.Z=o},80466:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(12783)).default.div.withConfig({componentId:"sc-hay64x-0"})(["position:relative;margin:auto;width:2.5em;height:2.5em;border-radius:50%;color:",";font-size:10px;text-indent:-9999em;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation:load7 1.8s infinite ease-in-out;animation:load7 1.8s infinite ease-in-out;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-0.16s;animation-delay:-0.16s;&:before,:after{border-radius:50%;width:2.5em;height:2.5em;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation:load7 1.8s infinite ease-in-out;animation:load7 1.8s infinite ease-in-out;content:'';position:absolute;top:0;}&:before{left:-3.5em;-webkit-animation-delay:-0.32s;animation-delay:-0.32s;}&:after{left:3.5em;}@-webkit-keyframes load7{0%,80%,100%{box-shadow:0 2.5em 0 -1.3em;}40%{box-shadow:0 2.5em 0 0;}}@keyframes load7{0%,80%,100%{box-shadow:0 2.5em 0 -1.3em;}40%{box-shadow:0 2.5em 0 0;}}"],(function(e){return e.theme.colors.primary.default}));t.default=o},23213:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a,i,s,l,u,c=r(n(67294)),d=r(n(28655)),f=r(n(12783)),m=r(n(68019)),h=r(n(86936)),p=r(n(98215)),g=r(n(97203)),y=r(n(56694)),S=n(67814),w=n(68910),E=n(23635),b=c.default.createElement;var v=function(e){var t=e.isSearchPage,n=e.isFrontpage,r=e.onCloseDialog;return b(E.SearchFormRoot,{onSubmit:function(e){return e.preventDefault()},isSearchPage:t,"data-sentry-element":"SearchFormRoot","data-sentry-component":"SearchForm","data-sentry-source-file":"SearchForm.jsx"},b(E.SelectSection,{"data-sentry-element":"SelectSection","data-sentry-source-file":"SearchForm.jsx"},b(m.default,{isFrontpage:n,"data-sentry-element":"SelectOrigins","data-sentry-source-file":"SearchForm.jsx"}),b(P,{"data-sentry-element":"SwapButton","data-sentry-source-file":"SearchForm.jsx"},b(S.FontAwesomeIcon,{icon:"arrow-right","data-sentry-element":"FontAwesomeIcon","data-sentry-source-file":"SearchForm.jsx"})),b(h.default,{isFrontpage:n,"data-sentry-element":"SelectDestinations","data-sentry-source-file":"SearchForm.jsx"})),b(E.RightSection,{"data-sentry-element":"RightSection","data-sentry-source-file":"SearchForm.jsx"},b(_,{isSearchPage:t,isFrontpage:n,"data-sentry-element":"DatesSection","data-sentry-source-file":"SearchForm.jsx"},b(p.default,{isSearchPage:t,isFrontpage:n,"data-sentry-element":"SelectDates","data-sentry-source-file":"SearchForm.jsx"}
1)),b(D,{"data-sentry-element":"RoomSection","data-sentry-source-file":"SearchForm.jsx"},b("div",{className:"userIcon"},b(S.FontAwesomeIcon,{icon:["far","user"],"data-sentry-element":"FontAwesomeIcon","data-sentry-source-file":"SearchForm.jsx"})),b(g.default,{isFrontPage:n,"data-sentry-element":"SelectRoomConfigurations","data-sentry-source-file":"SearchForm.jsx"})),b(x,{"data-sentry-element":"ButtonSection","data-sentry-source-file":"SearchForm.jsx"},b(y.default,{isFrontpage:n,isHotelPage:!1,isSearchPage:t,className:"searchButtonContainer",onCloseDialog:r,"data-sentry-element":"SearchButton","data-sentry-source-file":"SearchForm.jsx"}))))};t.default=v;var x=(0,f.default)(E.ButtonSectionShell).withConfig({componentId:"sc-xpura0-0"})([".searchButtonContainer{height:100%;}.searchButton,.primary-button{background-color:",";color:",";border-radius:32px;height:100%;width:120px;font-size:1.4em;&:hover{background-color:",";}","}@media (max-width:660px){.searchButton,.primary-button{width:100%;}}"],(function(e){return e.theme.colors.adjacent.default}),(function(e){return e.theme.colors.text.white}),(function(e){return e.theme.colors.adjacent.dark}),w.mediaQueries.fromAndBelow.desktop(o||(o=(0,d.default)(["\n      background-color: ",";\n      height: 60px;\n      width: 120px;\n    "])),(function(e){return e.theme.colors.adjacent.default}))),_=(0,f.default)(E.DatesSectionShell).withConfig({componentId:"sc-xpura0-1"})([".date-range-picker-container{position:relative;width:",";height:100%;border:none;padding-top:4px;"," .DateRangePicker{.DateRangePicker_picker{top:",";}> div{width:100%;}}.flexible-dates-indicator{top:122%;}.DateRangePickerInput{align-items:center;}.date-range-label-container{.date-range-label{display:none;}position:relative;color:",";}.DateInput{"," &_input{padding:0;&__focused{background-color:transparent;}}&_input::placeholder{font-size:16px;font-weight:400;}& #selectDateFromHeader{text-align:right;padding:0;font-weight:400;display:flex;justify-content:center;}& #selectDateEndHeader{text-align:left;padding:0;display:flex;justify-content:center;font-weight:400;}}.date-range-line{width:6px;height:1px;background-color:",";}","}.DateRangePickerInput_calendarIcon{font-size:18px !important;z-index:1;left:8px;top:50% !important;transform:translate(-50%,-50%) !important;}.DateRangePickerInput_clearDates{margin:0;position:absolute;z-index:1;right:-10px;top:50%;transform:translate(-50%,-50%);padding:0;div{margin:0;padding:0;color:",";}","}"],(function(e){return e.isSearchPage?"240px":"100%"}),w.mediaQueries.fromAndBelow.phone(a||(a=(0,d.default)(["\n      width: 100%;"]))),(function(e){return e.isFrontpage?"57px !important":"47px !important"}),(function(e){return e.theme.colors.text.default}),w.mediaQueries.fromAndBelow.tablet(i||(i=(0,d.default)(["\n        width: 100%;\n      "]))),(function(e){return e.theme.colors.primary.dark}),w.mediaQueries.fromAndBelow.tablet(s||(s=(0,d.default)(["\n     width: 100%;\n  "]))),(function(e){return e.theme.colors.text.default}),w.mediaQueries.fromAndBelow.tablet(l||(l=(0,d.default)(["\n      right: 6px;\n    "])))),D=(0,f.default)(E.RoomSectionShell).withConfig({componentId:"sc-xpura0-2"})([".select-rooms{height:100%;padding:0;border:none;width:100%;.single-value-container-rooms{display:flex;flex-direction:row;justify-content:center;align-items:center;}.single-value-numberOfRooms{font-weight:400;font-size:16px;color:",";::after{content:',';}}.single-value-numberOfGuests{font-weight:400;}.select-rooms-menu{top:calc(100% + 16px);width:350px;}@media (min-width:1024px) and (max-width:1440px){width:100%;}}.userIcon{font-size:18px;margin-left:6px;}"],(function(e){return e.theme.colors.text.darkGrey})),P=f.default.div.withConfig({componentId:"sc-xpura0-3"})([""," display:flex;align-items:center;justify-content:center;border:none;font-size:12px;",""],E.swapButtonSizing,w.mediaQueries.fromAndBelow.phone(u||(u=(0,d.default)(["\n    position: absolute;\n    right: 14px;\n    bottom: 40%;\n    background-color: white;\n    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);\n    border-radius: 50%;\n    z-index: 1;\n    transform: rotate(90deg);\n  "]))))},69070:function(e,t,n){"use strict";var r=n(95318);
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(23213))},69947:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(7608)},5459:function(e,t,n){"use strict";n.r(t),n.d(t,{CloseButton:function(){return o.Z},LinkButton:function(){return a.Z},MoreIndicator:function(){return r.default}});var r=n(69947),o=n(53494),a=n(8082)},92935:function(e,t,n){"use strict";n.r(t),n.d(t,{usePreventHtmlScroll:function(){return a}});var r=n(67294),o=n(52827);const a=e=>{(0,r.useEffect)((()=>{if(e)try{const e=document.querySelector("html");if(!e)throw new Error("HTML element not found");return e.style.overflowY="hidden",(0,o.isMobile)()||(e.style.scrollbarGutter="stable"),()=>{e.style.overflowY="auto",(0,o.isMobile)()||(e.style.scrollbarGutter="unset")}}catch(e){console.error("Error in usePreventHtmlScroll:",e)}}),[e])}},24537:function(e,t){"use strict";const n=(()=>{function e(){try{if(void 0===window.sessionStorage)return!1;const e=window.sessionStorage,t="__storage_test__";return e.setItem(t,t),e.removeItem(t),!0}catch{return!1}}function t(t){if(!e())return null;try{return window.sessionStorage.getItem(t)}catch{return null}}function n(t,n){if(e())try{window.sessionStorage.setItem(t,n)}catch{}}return{isAvailable:e,getItem:t,setItem:n,removeItem:function(t){if(e())try{window.sessionStorage.removeItem(t)}catch{}},getJson:function(e){const n=t(e);if(!n)return null;try{return JSON.parse(n)}catch{return null}},setJson:function(e,t){n(e,JSON.stringify(t))}}})();t.Z=n},74815:function(e,t){"use strict";t.Z={SELECTED_ORIGINS_KEY:"selectedOrigins",SELECTED_DESTINATIONS_KEY:"selectedDestinations",SELECTED_DATES_KEY:"selectedDates",SELECTED_ROOM_CONFIGURATIONS_KEY:"selectedRoomConfigurations"}},52986:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(17563),o=n(74815),a="origin",i="dates",s="roomConfigurations",l="packageRoomId",u="packagePrice",c="packageBoardCode",d="packageDepFli",f="packageRetFli",m=n(72486),h=n(71897),p=n(92380),g=n(29189),y=n(98269),S=n.n(y),w=n(55743),E=n.n(w);const b={updateQueryParams(e){e?"string"==typeof e?(this.query=e.slice(e.indexOf("?")),this.queryParams=r.parse(this.query)):this.queryParams=e:this.query!==window.location.search&&(this.query=window.location.search,this.queryParams=r.parse(this.query))}};var v=new class{constructor(){this.queryParams={}}getSelectedOrigins(){b.updateQueryParams.call(this);const e={};return e[o.Z.SELECTED_ORIGINS_KEY]=this.queryParams.origins?this.queryParams.origins.split(",").map((e=>e.substring(0,3))):null,e[o.Z.SELECTED_ORIGINS_KEY]&&(e[o.Z.SELECTED_ORIGINS_KEY]=(0,m.Z)(e[o.Z.SELECTED_ORIGINS_KEY])),e}getSelectedDestinations(){b.updateQueryParams.call(this);const e={};return e[o.Z.SELECTED_DESTINATIONS_KEY]=this.queryParams.destinations?this.queryParams.destinations.split(","):null,e[o.Z.SELECTED_DESTINATIONS_KEY]&&(e[o.Z.SELECTED_DESTINATIONS_KEY]=(0,h.Z)(e[o.Z.SELECTED_DESTINATIONS_KEY])),e}getSelectedOriginsAndDestinations(){b.updateQueryParams.call(this);const e={};return e[o.Z.SELECTED_ORIGINS_KEY]=this.queryParams.origins?this.queryParams.origins.split(","):null,e[o.Z.SELECTED_DESTINATIONS_KEY]=this.queryParams.destinations?this.queryParams.destinations.split(","):null,e[o.Z.SELECTED_DESTINATIONS_KEY]&&(e[o.Z.SELECTED_DESTINATIONS_KEY]=(0,h.Z)(e[o.Z.SELECTED_DESTINATIONS_KEY])),e[o.Z.SELECTED_ORIGINS_KEY]&&(e[o.Z.SELECTED_ORIGINS_KEY]=(0,m.Z)(e[o.Z.SELECTED_ORIGINS_KEY])),e}getSelectedDates(){b.updateQueryParams.call(this);const e={startDate:this.queryParams.from||this.queryParams.offerFrom||null,endD
1ate:this.queryParams.to?this.queryParams.to:this.queryParams.offerTo?this.queryParams.offerTo:null,flexibleDates:this.queryParams.flexibleDates,calendarOption:this.queryParams.offerFrom&&this.queryParams.offerTo?g.PERIOD_CALENDAR:g.SPECIFIC_DATES_CALENDAR,numberOfDays:this.queryParams.numberOfDays?this.queryParams.numberOfDays.split(",").map((e=>parseInt(e))):null},t=g.CALENDAR_OPTION_QUERY_VALUES[this.queryParams.co];if(t&&t===g.SPECIFIC_DATES_CALENDAR)e.calendarOption=g.SPECIFIC_DATES_CALENDAR,e.startDate=null,e.endDate=null,e.numberOfDays=null;const n={};return n[o.Z.SELECTED_DATES_KEY]=e,n}getSelectedRoomConfigurations(){b.updateQueryParams.call(this);let e=[];if(void 0!==this.queryParams.rooms){const t=this.queryParams.rooms.split(",");e=(0,p.Z)(t)}const t={};return t[o.Z.SELECTED_ROOM_CONFIGURATIONS_KEY]=void 0!==this.queryParams.rooms?e:null,t}getPackageInfo(e){b.updateQueryParams.call(this,e);const t={search:{}},n={};t.search[a]=this.queryParams.origin?this.queryParams.origin:null,t.search[i]={from:this.queryParams.from?this.queryParams.from:null,to:this.queryParams.to?this.queryParams.to:null},t[l]=this.queryParams.packageRoomId?this.queryParams.packageRoomId:null,t[u]=this.queryParams.packagePrice&&function(e,t){try{const n=S().parse(e),r=E().stringify(n);return t.value=r,!0}catch{return!1}}(this.queryParams.packagePrice.replace(/-/g,""),n)?n.value:null,t[c]=this.queryParams.packageBoardCode?this.queryParams.packageBoardCode:null,t[d]=this.queryParams.packageDepFli?this.queryParams.packageDepFli:null,t[f]=this.queryParams.packageRetFli?this.queryParams.packageRetFli:null;let r=[{numberOfAdults:2,numberOfChildren:0,childrenAges:[]}];if(void 0!==this.queryParams.rooms){const e=this.queryParams.rooms.split(",");r=(0,p.Z)(e)}return t.search[s]=r,t}getQueryParam(e,t){return b.updateQueryParams.call(this,t),void 0!==this.queryParams[e]?this.queryParams[e]:null}}},10131:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(52986);var o=function(e){const t="search_query";return{get:function(n){return e.get(`${t}${n}`)},update:function(n,r,o){let a=e.get(`${t}${o}`);null===a&&(a={}),a[n]=r,e.set(`${t}${o}`,a,12096e5)}}}(n(41897).Z),a=n(24537);var i=(()=>{const e="search_query";function t(t){return a.Z.getJson(`${e}${t}`)}return{get:t,update:function(n,r,o){const i=`${e}${o}`,s=t(o)||{};s[n]=r,a.Z.setJson(i,s)}}})();const s="search_query_mode",l=["hotelOnly","package"];function u(){try{const e=window.sessionStorage;if(!e)return!1;const t="__storage_test__";return e.setItem(t,t),e.removeItem(t),!0}catch{return!1}}function c(e){return l.includes(e)}function d(){const e=r.Z.getQueryParam("mode");c(e)&&function(e){u()&&c(e)&&window.sessionStorage.setItem(s,e)}(e);return null!==function(){if(!u())return null;const e=window.sessionStorage.getItem(s);return c(e)?e:null}()?i:o}},46625:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(78541),o=n(74815),a=n(9906),i=n(10131);const s=e=>(t,n)=>{const s=t((0,a.Z)()),l=(0,i.Z)();t((0,r.setCalendarDates)(e)),l.update(o.Z.SELECTED_DATES_KEY,e,s)}},52827:function(e,t,n){"use strict";n.r(t),n.d(t,{isMobile:function(){return o}});var r=n(95297);function o(){return window.innerWidth<=r.breakpoints.below.desktop}},86207:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(98892);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={};for(const n in e)t[`data-${(0,r.default)(n)}`]=e[n];return t}},98892:function(e,t,n){"use strict";function r(e){return e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}n.r(t),n.d(t,{default:function(){return r}})}}]);

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.