PageSourceSearch

https://reservations.praktikhotels.com/_next/static/chunks/8794-fc0897142c68f337.js

js praktikhotels.com collected 2026-09-26 01:36:40 UTC 15,312 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8794],{75963:function(e,t,s){s.d(t,{A8:function(){return j}});var l=s(31549),r=s(44194),n=s(33406),o=s(622),a=s(14517),i=s(11451),c=s(19694),d=s(36582),m=s(35490),u=s(63322),x=s(16888),h=s(8991),f=s(17259);let p="70px",g=(0,c.vU)({...m.fi}),y=(0,r.memo)(function(e){let{activeDiscounts:t,className:s,showPrevButton:r=!0,showNextButton:n=!0,showAllControl:c=!1,onClickShowAll:h,loading:f,useGradient:p,isLuminanceOK:g,isBookingFormWhite:y,borderColorClassName:v="border-gray-100",textColorClassName:j="text-gray-300 "}=e,b=(0,a.Z)(s," sm:border-x-0 border-b border-gray-100 ".concat(y?"border-t":"border-t sm:border-t-0"));if(f)return(0,l.jsx)("div",{className:b,children:(0,l.jsx)(x.R,{quantity:6})});if(!(null==t?void 0:t.length))return null;let w=t.map((e,t,s)=>{let{ticker:r,name:n}=e;return(0,l.jsx)(o.J2,{zIndex:"z-30",className:"flex h-full items-center justify-center gap-0",elementClassName:"w-full outline-none",arrowClassName:"before:bg-primary-100",distance:16,tabIndex:t,element:(0,l.jsxs)("div",{className:(0,a.Z)("min-w-[130px] h-5 flex flex-row items-center justify-center grow-0 shrink-1 basis-auto outline-none pr-4 pl-4 hover:fill-primary-100 hover:text-primary-100 group",0===t&&"pl-0 !min-w-0",t!==s.length-1||c?"border-r ".concat(v):""),children:[(0,l.jsx)(u.z,{discount:e}),(0,l.jsx)("div",{className:"".concat(j," font-bold text-property-subtitle2 sm:text-property-subtitle1-sm cursor-pointer line-clamp-3 group-hover:text-primary-100 opacity-100"),children:(0,l.jsx)("div",{children:n})})]}),children:(0,l.jsx)(i.q,{discount:e})},r)});return w.length&&c&&h&&w.push((0,l.jsx)("div",{className:(0,a.Z)("h-full flex",g?"text-primary-100":"text-gray-200"),onClick:h,children:(0,l.jsx)("div",{className:"min-w-[150px] max-w-[250px] flex flex-row items-center justify-items-start",children:(0,l.jsxs)("div",{className:"flex items-center font-bold text-property-subtitle2 cursor-pointer",children:[(0,l.jsx)("button",{className:"w-[22px] h-[22px] ml-4 mr-2",children:(0,l.jsx)(o.Mi,{})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{...m.i4.seeAll})})]})})},"discount-carousel-show-all")),(0,l.jsx)(o.pC,{showPrevButton:r,showNextButton:n,className:b,slides:w,useGradient:p})}),v=(0,r.memo)(function(e){let{brand:t,tier:s,className:i,loyaltyLoginLink:c,loyaltyRegisterLink:m,loyaltyProfileLink:u,onLoyaltyToggle:x,loyaltyStatus:h,isBookingFormWhite:p,addBorderLeft:y}=e,[v,j]=(0,r.useState)(h===n.wcI.AVAILABLE_FOR_PROPERTY||h===n.wcI.ACTIVE_BY_LOGGED_USER||h===n.wcI.AVAILABLE_AND_PRE_ACCEPTED),b=(0,r.useCallback)(e=>{j(e),x(e)},[x]),[w,N]=(0,r.useState)(!1),E=(0,r.useCallback)(e=>{N(e)},[]);if(!t)return null;let C=h===n.wcI.ACTIVE_BY_LOGGED_USER,A=h===n.wcI.AVAILABLE_AND_PRE_ACCEPTED||h===n.wcI.AVAILABLE_AND_REJECTED,L=!C&&!A;return console.debug("showLoggedInControls",{showLoggedInControls:C,showOptOutInfoMessage:A,showRegularControls:L,loyaltyStatus:h}),(0,l.jsxs)("div",{className:(0,a.Z)(i,"px-5 py-2 border sm:rounded-none rounded-md sm:border-x-0 sm:border-b border-gray-100 ".concat(p?"sm:border-t":"sm:border-t-0")),children:[(0,l.jsx)(o.dK,{open:w,onToggleDialog:E,paddingless:!0,contentClassName:"sm:!max-w-fit !overflow-auto",embeddedCloseButton:!0,fullHeight:!0,children:(0,l.jsx)(f.V,{className:"sm:h-auto h-screen flex items-center",as:"div",html:(null==s?void 0:s.translations.benefitDescription)||""})}),(0,l.jsxs)("div",{className:"relative flex flex-row justify-between items-center gap-4 h-full",children:[y&&(0,l.jsx)("hr",{className:"absolute top-0 left-0 border-l border-gray-100 h-[56px]"}),(0,l.jsxs)("div",{className:"".concat(y?"ml-8":""),children:[(0,l.jsx)("div",{className:"!font-bold text-property-body2 sm:text-property-h3-sm text-primary-100",style:{color:null==s?void 0:s.color},children:t.translations.name}),(0,l.jsx)("div",{className:"mt-1.5 text-property-body3 sm:text-property-body3-sm text-gray-300 hidden",children:null==s?void 0:s.translations.highlightedNameTop}),(0,l.jsxs)("div",{className:"mt-2 font-bold text-property-caption sm:text-property-caption-sm uppercase text-gray-300",children:[C&&
1(0,l.jsxs)("span",{children:[(0,l.jsxs)("span",{className:"cursor-pointer",onClick:()=>E(!0),children:[(0,l.jsx)(d.Z,{...g.tier}),": ",null==s?void 0:s.translations.name]})," ","|"," ",(0,l.jsx)("a",{href:u,children:(0,l.jsx)(d.Z,{...g.myAccount})})]}),L&&(0,l.jsxs)("span",{children:[(0,l.jsx)("a",{href:c,children:(0,l.jsx)(d.Z,{...g.login})})," ","|"," ",(0,l.jsx)("a",{href:m,children:(0,l.jsx)(d.Z,{...g.register})})]}),A&&(0,l.jsx)("span",{className:(0,a.Z)("text-property-body3 sm:text-property-body3 normal-case",h!==n.wcI.AVAILABLE_AND_PRE_ACCEPTED&&"text-gray-200"),style:h===n.wcI.AVAILABLE_AND_PRE_ACCEPTED?{color:null==s?void 0:s.color}:{},children:(0,l.jsx)(d.Z,{...h===n.wcI.AVAILABLE_AND_PRE_ACCEPTED?g.optOutRateActive:g.optOutRateInactive})})]})]}),(0,l.jsx)(o.ZD,{screenReaderLabel:"Enable club",checked:v,onChange:b,style:{backgroundColor:null==s?void 0:s.color}})]})]})}),j=(0,r.memo)(e=>{let{activeDiscounts:t,brand:s,tier:n,user:o,loyaltyProfileLink:i,loyaltyRegisterLink:c,loyaltyLoginLink:d,className:m,onLoyaltyToggle:u,loyaltyStatus:x,loading:f,promoCodeInputElement:g,isLuminanceOK:j,isBookingFormWhite:b,showLoyalty:w,borderColorClassName:N,textColorClassName:E}=e,[C,A]=(0,r.useState)(!1),L=s&&i&&c&&d&&w,_=t.length>3?[...t].splice(0,3):t,k=(0,r.useCallback)(()=>A(!C),[C]);return(0,l.jsxs)("div",{className:(0,a.Z)(m),children:[(0,l.jsxs)("div",{className:(0,a.Z)("hidden","sm:flex"),children:[(0,l.jsx)(y,{className:(0,a.Z)("grow shrink basis-0 w-0 sm:rounded-none",L&&"border-r-0"),activeDiscounts:t,loading:f,isLuminanceOK:j,isBookingFormWhite:b,borderColorClassName:N,textColorClassName:E}),L&&(0,l.jsx)(v,{className:"grow-0 shrink-0 basis-[360px]",loyaltyProfileLink:i,loyaltyLoginLink:d,loyaltyRegisterLink:c,onLoyaltyToggle:u,brand:s,tier:n,user:o,loyaltyStatus:x,isBookingFormWhite:b,addBorderLeft:!0})]}),(0,l.jsxs)("div",{className:(0,a.Z)("sm:hidden","flex flex-col gap-5"),children:[(0,l.jsx)(y,{className:"h-[".concat(p,"] sm:rounded-none border-l-0 border-r-0 pl-0 pr-0"),activeDiscounts:_,showPrevButton:!1,showNextButton:!1,showAllControl:!0,onClickShowAll:k,loading:f,useGradient:!0,isLuminanceOK:j,isBookingFormWhite:b,borderColorClassName:N,textColorClassName:E}),L&&(0,l.jsx)(v,{className:"mx-5 sm:rounded-none h-[".concat(p,"]"),brand:s,tier:n,user:o,loyaltyProfileLink:i,loyaltyLoginLink:d,loyaltyRegisterLink:c,onLoyaltyToggle:u,loyaltyStatus:x,isBookingFormWhite:b})]}),C?(0,l.jsx)(h.w,{activeDiscounts:t,closeDialog:k,promoCodeInputElement:g,isLuminanceOK:j}):null]})})},19108:function(e,t,s){s.d(t,{i:function(){return i}});var l=s(31549),r=s(44194),n=s(75963),o=s(8082),a=s(68954);let i=(0,r.memo)(e=>{let{brand:t,tier:s,activeDiscounts:i,user:c,loyaltyRegisterLink:d,loyaltyLoginLink:m,loyaltyProfileLink:u,onLoyaltyToggle:x,loyaltyStatus:h,loading:f,promoCodeInputElement:p,isLuminanceOK:g,isBookingFormWhite:y,intl:v,bottomGap:j=0}=e,b=(0,r.useRef)(null),w=(0,r.useRef)(null),N=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e;let t=document.querySelector("main"),s=null!==(e=null==t?void 0:t.style.paddingBottom)&&void 0!==e?e:"";return t&&(t.style.paddingBottom="".concat(80+j,"px")),()=>{t&&(t.style.paddingBottom=s);let e=w.current,l=N.current;w.current=null,N.current=null,b.current=null,e&&queueMicrotask(()=>{e.unmount(),l&&l.isConnected&&(l.innerHTML="")})}},[j]);let E=()=>{let e=b.current;if(!e)return;let t=document.getElementById("main-footer");if(!t)return;let s=window.innerHeight-t.getBoundingClientRect().top;e.style.bottom="".concat(s>0?s:0,"px")};return(0,r.useEffect)(()=>{if(!f)return E(),window.addEventListener("scroll",E,{passive:!0}),window.addEventListener("resize",E),()=>{window.removeEventListener("scroll",E),window.removeEventListener("resize",E)}},[f]),(0,r.useEffect)(()=>{let e=(0,l.jsx)(a.Z,{locale:v.locale,children:(0,l.jsxs)("div",{ref:e=>{b.current=e,e&&E()},className:"fixed w-full py-4 h-[".concat(80,"px] z-20 items-center hidden sm:flex"),style:{bottom:0,boxShadow:"8px 8px 10px 10px #00000040"},children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-secondary-100 opacity-90",style:{zIndex:-1}}),(0,l.jsx)(n.A8,{activeDiscounts:i,brand:t,tier:s,user:c,loyaltyLoginLink:m,loyaltyRegisterLink:d,loyaltyProfileLink:u,onLoyaltyToggle:x,loyaltyStatus:h,loading:f,className:"w-full text-property-subtitle1",promoCodeInputElement:p,isLuminanceOK:g,isBookingFormWhite:y,showLoyalty:!1,borderColorClassName:"border-secondary-contrast",textColorClassName:"text-secondary-contrast"})]})}),r=document.getElementById("booking-advantages-container");r&&(w.current&&N.current===r||(w.current=o.createRoot(r),N.current=r),w.current.render(e))},[v,i,t,y,g,f,m,u,d,h,x,p,s,c]),null})},16888:function(e,t,s){s.d(t,{R:function(){return o}});var l=s(31549),r=s(14517),n=s(622);let o=e=>{let{quantity:t}=e;return(0,l.jsx)("div",{className:"h-20 px-4 sm:px-12",children:(0,l.jsx)("div",{className:"h-full w-full flex items-center justify-start sm:justify-center overflow-hidden",children:Array.from({length:t}).map((e,s)=>(0,l.jsxs)("div",{className:(0,r.Z)("h-5 flex items-center pr-4",s!==t-1?"mr-4 border-r border-gray-100":""),children:[(0,l.jsx)(n.Od,{animation:"wave",width:24,height:40,className:"mr-3"}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)(n.Od,{animation:"wave",width:72,height:10}),(0,l.jsx)(n.Od,{animation:"wave",width:72,height:10})]})]},s))})})}},11451:function(e,t,s){s.d(t,{q:function(){return c}});var l=s(31549),r=s(44194),n=s(14517),o=s(622),a=s(17259),i=s(38022);function c(e){let{className:t,discount:s}=e,c=(0,r.useMemo)(()=>s&&s.restrictions.length>0?s.restrictions:[],[s]);return(0,l.jsx)("div",{className:(0,n.Z)("flex flex-col items-start p-4 bg-primary-100 shadow-lg rounded-card max-w-xs sm:max-w-sm",t),children:(0,l.jsxs)(o.xv,{variant:"body3",className:"text-primary-contrast",children:[(0,l.jsx)(a.V,{html:s.description}),c.length>0&&(0,l.jsx)(i.w,{restrictions:c})]})})}},67278:function(e,t,s){s.d(t,{x:function(){return f}});var l=s(31549),r=s(622),n=s(44194),o=s(66443),a=s(98342),i=s(36582),c=s(35490),d=s(17258),m=s(14517),u=s(17259),x=s(21048),h=s(28496);function f(e){var t;let{open:s,onClose:f,onSubmit:p,accommodation:g,startDate:y,endDate:v,guests:j,multimedia:b}
1=e,[w,N]=(0,n.useState)(""),[E,C]=(0,n.useState)(!1),[A,L]=(0,n.useState)(!1),[_,k]=(0,n.useState)(!1),[S,Z]=(0,n.useState)(!1),[B,D]=(0,n.useState)(!1),I=(0,a.Z)(),{property:O}=function(){let[e]=(0,x.oR)(e=>Object.keys(e.engineStaticDataAggregate));return{property:(0,x.oR)(t=>t.engineStaticDataAggregate[e]).property}}();async function R(){if(null==p)return;let e=!(0,h.v)(w),t=!E;k(e),Z(t),e||t||(L(!0),await p(w),L(!1))}return(0,l.jsx)(r.dK,{open:s,onToggleDialog:f,fullHeight:!0,paddingless:!0,embeddedCloseButton:!0,children:(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row w-full h-full min-h-[400px] sm:max-h-[400px]",children:[(0,l.jsx)("div",{className:"sm:flex-[5_1_55%] max-h-[250px] sm:max-h-fit relative",children:(0,l.jsx)(r.t3,{sizes:["(min-width: 768px) 40vw","100vw"],src:b.url,alt:"hotel-image",className:"w-full h-full object-cover"},b.url)}),(0,l.jsxs)("div",{className:"flex-1 sm:flex-[4_1_45%] flex flex-col gap-8 p-5 sm:p-8 justify-between sm:justify-center",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)(r.xv,{variant:"h3",className:"text-lg sm:text-base",children:g}),(0,l.jsxs)(r.xv,{variant:"body1",className:"!text-sm",children:[(0,l.jsx)(o._h,{dateFrom:y,dateTo:v,dateFormat:o.kH.DATE_RANGE_FORMATTED})," | ",(0,l.jsxs)("span",{children:["".concat(j," "),(0,l.jsx)(i.Z,{...c.i4.guests})]})]})]}),(0,l.jsx)("div",{className:"flex flex-col",children:(0,l.jsx)(r.xv,{variant:"body1",className:"!text-sm",children:(0,l.jsx)(i.Z,{...d.O.description})})}),(0,l.jsxs)("div",{className:"flex flex-col gap-6 sm:mt-0 sm:gap-4 mt-4",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-3.5 sm:gap-2",children:[(0,l.jsx)("label",{htmlFor:"waiting-list-email",className:"font-bold text-sm",children:(0,l.jsx)(i.Z,{...d.O.email})}),(0,l.jsxs)("div",{children:[(0,l.jsx)(r.II,{id:"waiting-list-email",inputClassName:(0,m.Z)("text-base sm:text-sm",_?"!border-red-100":""),value:w,type:"email",onChange:function(e){(0,h.v)(e.target.value)&&_&&k(!1),N(e.target.value)},placeholder:I.formatMessage(d.O.emailPlaceholder),required:!0}),_&&(0,l.jsx)("span",{className:"text-red-100 text-sm",children:(0,l.jsx)(i.Z,{...d.O.emailError})})]})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,l.jsx)(r.XZ,{id:"waiting-list-accept-terms",className:(0,m.Z)(S?"!border-red-100":""),checked:E,onChange:function(){!E&&S&&Z(!1),C(!E)}}),(0,l.jsx)(r.xv,{variant:"body1",as:"label",forLabel:"waiting-list-accept-terms",className:"leading-none !text-sm",children:(0,l.jsx)(i.Z,{...d.O.acceptTerms,values:{policyLink:(0,l.jsx)("a",{className:"font-bold uppercase hover:opacity-80 cursor-pointer",href:"#",role:"button",onClick:function(e){e.preventDefault(),D(!0)},children:(0,l.jsx)(i.Z,{...d.O.communicationPolicy})})}})})]}),S&&(0,l.jsxs)("span",{className:"text-red-100 text-sm",children:[" ",(0,l.jsx)(i.Z,{...d.O.acceptTermsError})]})]})]})]}),(0,l.jsx)(r.zx,{type:"submit",label:I.formatMessage(d.O.receiveNotice),className:"w-full sm:w-fit !text-xs",onClick:R,isLoading:A})]}),(0,l.jsx)(r.dK,{title:(0,l.jsx)(i.Z,{...d.O.communicationPolicy}),open:B,onToggleDialog:()=>D(!1),contentClassName:"!overflow-auto",children:(0,l.jsx)(r.xv,{variant:"body2",className:"self-center",children:(0,l.jsx)(u.V,{html:null!==(t=O.getCommunicationPolicy())&&void 0!==t?t:""})})})]})})}},92116:function(e,t,s){s.d(t,{K:function(){return a}});var l=s(31549),r=s(622),n=s(36582),o=s(17258);function a(e){let{open:t,type:s,onClosed:a}=e;return(0,l.jsx)(r.A9,{open:t,autoHideDuration:1500,anchorOrigin:{vertical:"bottom",horizontal:"center"},sx:{bottom:{xs:125,sm:0}},action:"",onClose:a,children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(r.bZ,{severity:s,variant:"filled",sx:{width:"100%"},children:"success"===s?(0,l.jsx)(n.Z,{...o.O.submitSuccessMsg}):(0,l.jsx)(n.Z,{...o.O.submitErrorMsg})})})})}s(44194)},68167:function(e,t,s){s.d(t,{C:function(){return c}});var l=s(44194),r=s(33406),n=s(24608),o=s(21048);let a=(e,t)=>{let s={position:t.position,messageId:t.id};n.Ke.saveToStorage(o.Xs.WB_WBV21_WEB_MESSAGES,[...e,s])},i=(e,t,s)=>e&&e.length>0&&e[0].notExistOnSession(t)&&(s===r.Qyf.MODAL_STEP_1||s===r.Qyf.MODAL_STEP_2);function c(e){let{isNotAvailable:t,propertyTicker:s,messagePosition:r}=e,c=(0,o.fi)(e=>e.validPromoCodes),d=(0,o.oR)(e=>e.engineStaticDataAggregate[s]),m=(0,l.useMemo)(()=>(0,n.e5)(),[]),[u,x]=(0,l.useState)(),[h,f]=(0,l.useState)(),p=(0,l.useCallback)(e=>d.getMessagesForPosition(e,t,m),[t,m,d]);return(0,l.useEffect)(()=>{let e=n.Ke.getFromStorage(o.Xs.WB_WBV21_WEB_MESSAGES)||[];
1if(c){let t=p(r).filter(e=>!e.code||c.includes(e.code.toLowerCase()));x(t),i(t,e,r)&&(f(t[0]),a(e,t[0]))}},[c,t,r,p]),{filteredAllMessages:u,filteredModalMessage:h}}},28496:function(e,t,s){s.d(t,{v:function(){return r}});let l=/^[\w-.]+@([\w-]+\.)+[\w-]{2,4}$/g;function r(e){return null!=e.match(l)}}}]);

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.