PageSourceSearch

https://reservations.hotelpraktikvinoteca.com/_next/static/chunks/1705-214e8efebe722cd4.js

js hotelpraktikvinoteca.com collected 2026-09-26 11:51:27 UTC 8,318 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1705],{42267:function(e,t,a){a.d(t,{x:function(){return c}});var s=a(31549),l=a(622),r=a(11983),n=a(35490),o=a(36582),i=a(44194);function c(e){let{multimedia:t,isAvailable:a,title:c,subTitle:u,restrictionMessage:d,dailyRate:x,nightText:p,showMultimedia:m,buttonLink:h,showSeeAllMessage:g,subTitleClassName:v,className:f="",showCloseButton:y,priceClassName:b}=e,j=(0,i.useMemo)(()=>{if(m&&(null==t?void 0:t.length))return(0,s.jsx)(l.t3,{width:176,height:160,sizes:["176px"],src:t[0].url,alt:"accommodation-image",className:"w-full h-full object-cover"},t[0].url)},[t,m]);return(0,s.jsxs)("div",{className:"".concat(j?"pt-0 px-0":""," bg-white border border-gray-100 rounded-card w-[176px] p-4 max-w shadow flex flex-col gap-4 relative z-10 ").concat(f),children:[!!j&&(0,s.jsx)("div",{className:"w-[176px] h-[160px] shrink-0 grow-0 relative",children:j}),y&&(0,s.jsx)("button",{className:"absolute top-2 right-2 text-gray-200 hover:text-gray-500 focus:outline-none",style:{fontSize:"1.80rem",lineHeight:"1rem"},children:"\xd7"}),(0,s.jsxs)("div",{className:"h-full flex flex-col gap-4 transform text-gray-300 ".concat(j?"px-4":""),children:[(0,s.jsxs)("div",{className:"gap-1",children:[(0,s.jsx)(l.xv,{className:"leading-none",variant:"h3",children:c}),u&&(0,s.jsx)(l.xv,{variant:"body3",className:v,children:u})]}),a?(0,s.jsxs)("span",{className:"flex gap-1",children:[(0,s.jsx)(r.x,{value:x.amount,inline:!0,inlineClassName:"text-property-subtitle1 sm:text-property-subtitle1-sm text-right cursor-pointer ".concat(b),shortenNumber:!0}),(0,s.jsx)("span",{className:"text-property-subtitle1 sm:text-property-subtitle1-sm text-right cursor-pointer text-gray-300",children:" / ".concat(p)})]}):d&&(0,s.jsx)(l.xv,{variant:"subtitle1",children:d}),(0,s.jsx)("a",{className:"block",href:h,children:(0,s.jsx)(l.zx,{className:"w-full",label:(0,s.jsx)(o.Z,{...a?n.i4.book:g?n.i4.seeAll:n.i4.options})})})]})]})}},28102:function(e,t,a){a.d(t,{X:function(){return c},K:function(){return l}});var s,l,r=a(31549),n=a(622);(s=l||(l={})).WARNING="warning",s.ERROR="error";let o={warning:"border-orange-100",error:"border-red-100"},i={warning:"text-orange-100",error:"text-red-100"};function c(e){let{content:t,children:a,type:s="error"}=e;return(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 items-start justify-start sm:justify-center sm:items-center border ".concat(o[s]," rounded-card p-2.5 sm:mx-0 mx-5"),children:[t&&(0,r.jsxs)("span",{className:"flex items-center gap-3 text-property-body1 ".concat(i[s]),children:[(0,r.jsx)("div",{className:"w-5 h-5",children:(0,r.jsx)(n.sz,{})}),t]}),a&&a]})}},3440:function(e,t,a){a.d(t,{S:function(){return k}});var s=a(31549),l=a(44194),r=a(622),n=a(33406),o=a(42267),i=a(98342),c=a(36582),u=a(31121),d=a(37497),x=a(84551),p=a(17259),m=a(24608),h=a(89275),g=a(11983),v=a(35490),f=a(21048),y=a(14517);function b(e,t){var a,s;let l=null!==(s=null===(a=e.positionIcon)||void 0===a?void 0:a[0])&&void 0!==s?s:e.values[0],r=t?n.Rj2.POINT:e.type,o={type:n.Rj2.POINT,values:t?l:e.values[0]},i={type:n.Rj2.POLYGON,values:e.values,positionIcon:l};switch(r){case n.Rj2.POINT:return o;case n.Rj2.POLYGON:return i;default:return o}}function j(e,t,a,l){let{icon:r,showIconPrice:n,color:o="#000000",contrastText:i="#ffffff"}=e;if(n&&t)return(0,s.jsx)("div",{className:"rounded-[100px] p-[10px] font-bold text-property-h3 sm:text-property-h3-sm min-w-[48px] flex justify-center cursor-pointer",style:{color:i,backgroundColor:o},children:a?(0,s.jsx)(g.x,{value:t.amount,inline:!0,inlineClassName:"text-property-h3 sm:text-property-h3-sm text-[".concat(i,"]"),noTextColor:!0}):(0,s.jsx)("span",{className:"text-property-h3 sm:text-property-h3-sm",children:l})});if(r){let{iconPack:e,icon:t}=(0,m.Bw)(r);return(0,s.jsx)("div",{className:"rounded-full w-[36px] h-[36px] p-2",style:{backgroundColor:o},children:(0,s.jsx)(h.Z,{iconPack:e,icon:t,className:"h-full w-full",color:i})})}}function N(e){return(0,s.jsxs)("div",{className:"relative inline-block top-[-50px]",children:[(0,s.jsx)("div",{className:"bg-white text-grey-300 px-6 py-3 rounded-lg shadow-lg",children:e}),(0,s.jsx)("div",{className:"absolute left-1/2 transform -translate-x-1/2 -bottom-2 w-4 h-4 bg-white rotate-45 shadow-lg"})]})}function w(e,t,a){return a?(0,s.jsx)("div",{className:"w-[200px] h-[66px] bg-white p-3 absolute right-[-100px] top-[-45px] flex items-center",children:(0,s.jsx)(r.xv,{className:"leading-none",variant:"subtitle1",children:e})}):(0,s.jsx)("div",{className:"w-[200px] min-h-[66px] bg-white p-3 absolute right-[-70px] top-[-70px] flex align-middle flex-col",children:(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("span",{className:"absolute top-0 right-0 text-gray-200 text-[1.8rem] leading-[1rem]",children:"\xd7"}),(0,s.jsx)(r.xv,{className:"leading-none pr-4 break-words",variant:"subtitle1",children:(0,s.jsx)(p.V,{as:"div",html:e})}),(0,s.jsx)(r.xv,{variant:"body1",children:(0,s.jsx)(p.V,{as:"div",html:t||"<div></div>"})})]})})}function k(e){let{inventoryGroups:t,nights:a,engineStaticData:p,selectedRoom:h,mapType:g,showFullScreen:k}=e,C=(0,f.JD)(e=>e.ariRequest),R=(0,i.Z)(),O=(0,d.useRouter)(),P=(0,l.useCallback)(e=>{var l,r,i;let c=O.asPath.split("?"),d=null===(i=e.category)||void 0===i?void 0:null===(r=i.mapTo)||void 0===r?void 0:null===(l=r.tickers)||void 0===l?void 0:l.reduce((e,a)=>{let s=t.filter(e=>a.toUpperCase()===e.accommodation.ticker.toUpperCase());return{...e,...s}},[]),p=d&&d[0];if(p){let{accommodation:t}=p,{category:l,status:r,geo:i,...d}=e,m=b(i,h),g=m.type===n.Rj2.POLYGON&&l.name&&l.description,f=p.totalRate,{restrictionMessage:y,bookableStatusText:k}=(0,u.Az)({intl:R,bookableStatus:t.status,bookableRestriction:t.getRestriction()}),O=t.isAvailable();return{category:h?{name:l.name,ticker:l.ticker,content:w(t.name,l.description,h)}:{name:l.name,ticker:l.ticker,content:g?w(l.name,l.description,h):(0,s.jsx)(o.x,{title:t.name,multimedia:t.media,isAvailable:t.isAvailable(),nights:a,nightText:R.formatMessage(v.i4.night).toLowerCase(),dailyRate:f,restrictionMessage:y,showMultimedia:!0,buttonLink:"".concat(c[0],"/room/?").concat(x.R8.roomId,"=").concat(t.ticker),subTitle:"".concat(C.calculateTotalGuests(),"  ").concat(R.formatMessage(v.i4.guests)),showCloseButton:!0,subTitleClassName:"lowercase",priceClassName:"text-gray-300"}),hover:g?N(l.name):N(t.name),pin:j(l,f,O,k),polygonColor:l.polygonColor,alwaysShowPolygon:l.alwaysShowPolygon},geo:m,status:n.UfL[r],...d}}},[C,h,R,t,a,O.asPath]),T=(0,l.useCallback)(e=>{let{category:t,geo:a,status:s,...l}=e,r=b(a);return{category:{name:t.name,ticker:t.ticker,content:w(t.name,t.description),pin:j(t),polygonColor:t.polygonColor,alwaysShowPolygon:t.alwaysShowPolygon,hover:N(t.name)},geo:r,status:n.UfL[s],...l}},[]),M=(0,l.useCallback)(e=>{let{locations:t,googleMapsConfig:a,name:s}=e,l=t;if(h){let e=l.findIndex(e=>{var t;
1return!!(null===(t=e.category.mapTo)||void 0===t?void 0:t.tickers.find(e=>e.toUpperCase()===h.toUpperCase()))});if(-1===e)return;l=[l[e]]}let r=l.reduce((e,t)=>{let a;let{category:s}=t;switch(s.type){case"ACCOMMODATION":a=P(t);break;case"CUSTOM":a=T(t)}return a&&e.push(a),e},[]);if(h&&1===r.length&&(a.defaultCenter={lat:("POINT"===r[0].geo.type?r[0].geo.values.lat:r[0].geo.values[0].lat)||0,lng:("POINT"===r[0].geo.type?r[0].geo.values.lng:r[0].geo.values[0].lng)||0}),(null==r?void 0:r.length)>0)return{apiKey:"AIzaSyAn8VyZMq8Qqt3vWC6pdSEaNtXr1_kvpK8",name:s,googleMapsConfig:a,locations:r}},[h,P,T]),I=(0,l.useMemo)(()=>{if(p.customMaps&&(null==t?void 0:t.length)){let e=p.customMaps.find(e=>e.type===g);if(e)return M(e)}},[M,g,p.customMaps,t.length]),S=(0,l.useCallback)(e=>{let{setDefaultTab:t}=e;return I?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:(0,y.Z)("sm:hidden"),children:(0,l.createElement)(r.lg,{fullScreen:!0,closeButton:(0,s.jsx)(r.zx,{className:"w-fit",variant:"black",label:(0,s.jsx)(c.Z,{...v.i4.close}),onClick:t}),onClose:t,...I,key:(0,m.pN)()})}),(0,s.jsx)("div",{className:(0,y.Z)("sm:contents"),children:(0,l.createElement)(r.lg,{fullScreen:k,closeButton:k?(0,s.jsx)(r.zx,{className:"w-fit",variant:"black",label:(0,s.jsx)(c.Z,{...v.i4.close}),onClick:t}):void 0,onClose:t,...I,key:(0,m.pN)()})})]}):(0,s.jsx)(s.Fragment,{})},[I,k]);return I?S:void 0}}}]);

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.