PageSourceSearch

https://www.hotel-royal.it/_next/static/chunks/app/%5Blocale%5D/(m…?dpl=dpl_CPnsRHEe75WEPXH6qiV9aJWmw3TY

js hotel-royal.it collected 2026-10-04 01:48:44 UTC 98,601 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9034],{299:(e,t,a)=>{"use strict";a.d(t,{T:()=>r});var s=a(22342),n=a(59434);let r=e=>{let{label:t,disabled:a,name:r,placeholder:i,required:l,onChange:o,value:d,id:c,rows:u=3,className:m}=e;return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("textarea",{id:c,name:r,placeholder:" ",required:l,onChange:o,value:d,disabled:a,rows:u,className:(0,n.cn)("border-foreground text-foreground placeholder:text-foreground/50 peer relative z-10 w-full rounded-none border-b py-2.5 text-base focus:ring-0 focus:outline-none",m)}),(0,s.jsxs)("label",{htmlFor:c,className:"text-foreground/50 absolute top-2.5 left-0 transition-all peer-focus:-top-4 peer-focus:text-xs peer-[:not(:placeholder-shown)]:-top-4 peer-[:not(:placeholder-shown)]:text-xs",children:[t,l&&(0,s.jsx)("span",{className:"ml-0.5 text-red-500",children:"*"})]}),(0,s.jsx)("span",{className:"sr-only",children:i})]})}},1101:(e,t,a)=>{"use strict";a.d(t,{Q:()=>n});var s=a(34477);let n=(0,s.createServerReference)("7f6eb416c50fa5efdefe92f0a9beb0726e3fe36a2b",s.callServer,void 0,s.findSourceMapURL,"revalidateSyncTags")},20739:(e,t,a)=>{"use strict";a.d(t,{T:()=>i});var s=a(22342),n=a(22656),r=a(42416);function i(e){var t,a,i,l,o,d,c,u,m;let{useOneImage:p,summer:x,winter:h,singleImage:f,alt:g,sizes:C}=e;return p?(null==f?void 0:null===(o=f.asset)||void 0===o?void 0:o.url)&&(0,s.jsx)(n.SanityImage,{src:null!==(c=null==f?void 0:null===(d=f.asset)||void 0===d?void 0:d.url)&&void 0!==c?c:"",alt:null!=g?g:"",fill:!0,className:"object-cover object-center",sizes:C}):(0,s.jsx)(r.SeasonWrapper,{winter:(null==h?void 0:null===(t=h.asset)||void 0===t?void 0:t.url)&&(0,s.jsx)(n.SanityImage,{src:null!==(u=null==h?void 0:null===(a=h.asset)||void 0===a?void 0:a.url)&&void 0!==u?u:"",alt:null!=g?g:"",fill:!0,className:"object-cover object-center",sizes:C}),summer:(null==x?void 0:null===(i=x.asset)||void 0===i?void 0:i.url)&&(0,s.jsx)(n.SanityImage,{src:null!==(m=null==x?void 0:null===(l=x.asset)||void 0===l?void 0:l.url)&&void 0!==m?m:"",alt:null!=g?g:"",fill:!0,className:"object-cover object-center",sizes:C})})}},22656:(e,t,a)=>{"use strict";a.r(t),a.d(t,{SanityImage:()=>i,default:()=>l});var s=a(22342),n=a(66766);function r(e){let{src:t,width:a,quality:s}=e;if(!t||!t.includes("cdn.sanity.io"))return t;let n=new URL(t);return n.searchParams.set("auto","format"),n.searchParams.set("fit","max"),n.searchParams.set("w",String(a)),n.searchParams.set("q",String(null!=s?s:65)),n.toString()}function i(e){let{quality:t=65,alt:a,...i}=e;return(0,s.jsx)(n.default,{loader:r,quality:t,alt:a,...i})}let l=i},28071:(e,t,a)=>{"use strict";a.d(t,{NewsletterWidget:()=>l});var s=a(22342),n=a(33670);a(33979);var r=a(39676),i=a(50802);let l=e=>{let{language:t="en",thankYouMessage:a="Thank you for submitting your form"}=e,[l,o]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=document.querySelector("script[data-newsletter-widget]");e&&e.remove();let a=document.createElement("script");return a.src="https://newsletter.additive-apps.tech/hotel-royal-it/widgets/e3ec0d13-daf8-4d65-8a65-50ad686a2c24/".concat(t),a.async=!0,a.setAttribute("data-newsletter-widget",""),document.body.appendChild(a),a.onload=()=>{o(!0)},()=>{let e=document.querySelector("script[data-newsletter-widget]");e&&e.remove()}},[t]),(0,r.L)(()=>{if(!l)return;let e=document.getElementById("additive-newsletter-6752e9086f848");if(!e)return;let t=e=>{let t=e.querySelector("div");if(!t)return;let a=document.createElement("div");a.style.overflow="hidden",a.style.position="relative",a.style.display="inline-block",a.style.height="".concat(t.offsetHeight,"px"),a.style.lineHeight=getComputedStyle(t).lineHeight;let s=t.cloneNode(!0);s.style.display="block",s.style.position="relative",s.style.transform="translateY(0%)";let n=t.cloneNode(!0);n.style.display="block",n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.transform="translateY(200%)",t.remove(),a.appendChild(s),a.appendChild(n),e.appendChild(a);let r=i.os.timeline({paused:!0});r.to(s,{y:"-200%",ease:"power1.inOut",duration:.5},0),r.to(n,{y:"0%",ease:"power1.inOut",duration:.5},0),e.addEventListener("mouseenter",()=>r.restart()),e.addEventListener("mouseleave",()=>{r.pause(),r.progress(0)})},a=new MutationObserver((a,s)=>{let n=e.querySelector('button[aria-label="generic button"]');n&&(s.disconnect(),t(n))});a.observe(e,{childList:!0,subtree:!0});let s=e.querySelector('button[aria-label="generic button"]');
1s&&(a.disconnect(),t(s))},[l]),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:l&&(0,s.jsx)("p",{className:"pb-8 text-xl opacity-0 transition-discrete delay-1000 duration-500 sm:text-3xl starting:opacity-0",children:a})}),(0,s.jsx)("div",{id:"additive-newsletter-6752e9086f848",className:"newsletterContainer"})]})}},33979:()=>{},35039:(e,t,a)=>{Promise.resolve().then(a.bind(a,18677)),Promise.resolve().then(a.bind(a,82546)),Promise.resolve().then(a.bind(a,47978)),Promise.resolve().then(a.t.bind(a,33063,23)),Promise.resolve().then(a.bind(a,48976)),Promise.resolve().then(a.bind(a,28071)),Promise.resolve().then(a.bind(a,13630)),Promise.resolve().then(a.bind(a,26875)),Promise.resolve().then(a.bind(a,78270))},40581:(e,t,a)=>{"use strict";a.d(t,{S:()=>r});var s=a(22342),n=a(59434);function r(e){let{children:t,className:a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("rounded-full border border-white bg-white/20 px-2.5 py-1.25 text-center text-base leading-normal text-white backdrop-blur-[50px] md:text-lg",a),children:t})}},42416:(e,t,a)=>{"use strict";a.d(t,{SeasonWrapper:()=>r});var s=a(22342),n=a(74923);function r(e){let{summer:t,winter:a}=e,r=(0,n.$)(e=>e.season);return(0,s.jsx)(s.Fragment,{children:"winter"===r?a:t})}},48976:(e,t,a)=>{"use strict";a.d(t,{O:()=>ek,AnfragenForm:()=>eN});var s=a(22342),n=a(33670),r=a(56671),i=a(81284),l=a(59434);function o(e){let{label:t,className:a,labelClassName:r,name:i,disableHiddenInput:o,value:d,hideLabel:c,onChange:u,canDecrease:m=!0,canIncrease:p=!0,disabled:x=!1}=e,[h,f]=(0,n.useState)(d||0);return(0,n.useEffect)(()=>{void 0!==d&&f(d)},[d]),(0,s.jsxs)("div",{className:(0,l.cn)("flex items-center gap-5",a,x&&"opacity-50"),children:[!o&&(0,s.jsx)("input",{type:"hidden",name:i,value:h}),!c&&(0,s.jsx)("span",{className:(0,l.cn)("text-foreground/50",r),children:t}),(0,s.jsxs)("div",{className:"flex w-fit gap-3 rounded-full border border-[#E8DDD1] p-2",children:[(0,s.jsxs)("button",{type:"button",disabled:x||!m||h<=0,className:"cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",onClick:()=>{let e=h>0?h-1:h;f(e),null==u||u(e)},children:[(0,s.jsx)("span",{className:"sr-only",children:"Decrease"}),(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_2805_5201)",children:[(0,s.jsx)("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",fill:"#5D4B36",stroke:"#5D4B36",strokeWidth:"1.5",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M8.25 12H15.75",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_2805_5201",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})]}),(0,s.jsx)("span",{className:"text-foreground flex w-6 items-center justify-center text-center",children:h}),(0,s.jsxs)("button",{type:"button",disabled:x||!p,onClick:()=>{let e=h+1;f(e),null==u||u(e)},className:"cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",children:[(0,s.jsx)("span",{className:"sr-only",children:"Increase"}),(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_2805_5206)",children:[(0,s.jsx)("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",fill:"#5D4B36",stroke:"#5D4B36",strokeWidth:"1.5",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M8.25 12H15.75",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12 8.25V15.75",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_2805_5206",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})]})]})]})}var d=a(5196),c=a(90877);function u(e){let{delayDuration:t=0,...a}=e;return(0,s.jsx)(c.Kq,{"data-slot":"tooltip-provider",delayDuration:t,...a})}function m(e){let{...t}=e;return(0,s.jsx)(u,{children:(0,s.jsx)(c.bL,{"data-slot":"tooltip",...t})})}function p(e){let{...t}=e;return(0,s.jsx)(c.l9,{"data-slot":"tooltip-trigger",...t})}function x(e){let{className:t,sideOffset:a=0,children:n,...r}=e;return(0,s.jsx)(c.ZL,{children:(0,s.jsxs)(c.UC,{"data-slot":"tooltip-content",sideOffset:a,className:(0,l.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",t),...r,children:[n,(0,s.jsx)(c.i3,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}function h(e){let{label:t,id:a="consent-checkbox",name:r,additionalInformation:i,required:o,checked:c,onCheckedChange:h}=e,[g,C]=(0,n.useState)(!1),v=void 0!==c?c:g,b=e=>{h?h(e):C(e)};return(0,s.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,s.jsx)("label",{htmlFor:a,className:"text-foreground/50 relative flex w-full cursor-pointer items-center gap-3",children:(0,s.jsxs)("span",{className:"relative w-fit pr-6",children:[t,i&&(0,s.jsx)(u,{children:(0,s.jsxs)(m,{children:[(0,s.jsx)(p,{type:"button",className:"absolute translate-x-2",children:(0,s.jsx)(f,{})}),(0,s.jsx)(x,{className:"max-w-60 bg-black md:max-w-90",children:i})]})})]})}),(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsxs)("button",{type:"button",onClick:()=>b(!v),className:"cursor-pointer focus:outline-none","aria-checked":v,role:"checkbox",children:[(0,s.jsx)("div",{className:(0,l.cn)("border-foreground
1/40 flex size-6 items-center justify-center rounded-[2px] border-2 transition-colors",v?"bg-primary border-primary":"bg-transparent"),children:v&&(0,s.jsx)(d.A,{size:16,className:"text-background"})}),(0,s.jsx)("input",{type:"checkbox",required:o,name:r,id:a,checked:v,onChange:e=>b(e.target.checked),className:"sr-only"})]})})]})}let f=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_2805_5278)",children:[(0,s.jsx)("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",stroke:"black",strokeOpacity:"0.443",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M11.25 11.25C11.4489 11.25 11.6397 11.329 11.7803 11.4697C11.921 11.6103 12 11.8011 12 12V15.75C12 15.9489 12.079 16.1397 12.2197 16.2803C12.3603 16.421 12.5511 16.5 12.75 16.5",stroke:"black",strokeOpacity:"0.443",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M11.625 9C12.2463 9 12.75 8.49632 12.75 7.875C12.75 7.25368 12.2463 6.75 11.625 6.75C11.0037 6.75 10.5 7.25368 10.5 7.875C10.5 8.49632 11.0037 9 11.625 9Z",fill:"black",fillOpacity:"0.443"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_2805_5278",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]});var g=a(34477);let C=(0,g.createServerReference)("400c01e4b4e5c5b2dd02afdaf590699cc75793df4e",g.callServer,void 0,g.findSourceMapURL,"submitAnfragenForm");var v=a(78270),b=a(63008),j=a(62713),y=a(27457),w=a(83039),N=a(42355),k=a(13052),z=a(29802),S=a(30285);function L(e){let{className:t,classNames:a,showOutsideDays:n=!1,...r}=e;return(0,s.jsx)(z.hv,{showOutsideDays:n,className:(0,l.cn)("",t),classNames:{months:"flex flex-col sm:flex-row gap-8",month:"flex flex-col gap-5",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-lg font-medium text-[#454849]",nav:"flex items-center gap-1",nav_button:"bg-transparent p-0 opacity-50 hover:opacity-100 cursor-pointer",nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"rounded-md w-10 font-normal text-sm text-[#454849]",row:"flex w-full mt-2 first:justify-end",cell:(0,l.cn)("relative p-0 px-0.5 text-center text-sm focus-within:relative focus-within:z-20 _[&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md","range"===r.mode?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:(0,l.cn)((0,S.r)({variant:"ghost"}),"size-10 text-lg p-0 font-normal rounded-[0.75rem] text-primary hover:bg-secondary/50 aria-selected:opacity-100 "),day_range_start:"day-range-start aria-selected:bg-[#CAAF92] aria-selected:text-primary ",day_range_end:"day-range-end aria-selected:bg-[#CAAF92] aria-selected:text-primary",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-transparent border border-primary ",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground ",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-[#E8DDD1] aria-selected:text-primary ",day_hidden:"invisible",...a},components:{IconLeft:e=>{let{className:t,...a}=e;return(0,s.jsx)(N.A,{className:(0,l.cn)("size-6",t),...a})},IconRight:e=>{let{className:t,...a}=e;return(0,s.jsx)(k.A,{className:(0,l.cn)("size-6",t),...a})}},...r})}var D=a(66372);function A(e){let{...t}=e;return(0,s.jsx)(D.bL,{"data-slot":"popover",...t})}function M(e){let{...t}=e;return(0,s.jsx)(D.l9,{"data-slot":"popover-trigger",...t})}function E(e){let{className:t,align:a="center",sideOffset:n=4,noPortal:r=!1,...i}=e;return r?(0,s.jsx)(D.UC,{"data-slot":"popover-content",align:a,sideOffset:n,className:(0,l.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...i}):(0,s.jsx)(D.ZL,{children:(0,s.jsx)(D.UC,{"data-slot":"popover-content",align:a,sideOffset:n,className:(0,l.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...i})})}let _=D.bm;var O=a(78229),P=a(47224);function H(e){let t,{label:a,placeholder:r,className:i,required:o,disabled:d,id:c,name:u,onChange:m,value:p,startDate:x,endDate:h,minNight:f,side:g,avoidCollisions:C=!1,contentClassName:v,noPortal:N=!1}=e,[k,z]=(0,n.useState)(p||{from:void 0,to:void 0}),D=(0,P.n)(),[H,Z]=(0,n.useState)(!0);switch((0,n.useEffect)(()=>{let e=()=>{Z(window.innerWidth<768)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,n.useEffect)(()=>{z(p)},[p]),D){case"de":t=j.de;break;case"it":t=y.it;break;default:t=w.c}return(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("input",{type:"hidden",name:"".concat(u,"-from"),value:(null==k?void 0:k.from)?(0,b.GP)(k.from,"yyyy-MM-dd"):""}),(0,s.jsx)("input",{type:"hidden",name:"".concat(u,"-to"),value:(null==k?void 0:k.to)?(0,b.GP)(k.to,"yyyy-MM-dd"):""}),(0,s.jsxs)(A,{children:[(0,s.jsx)(M,{asChild:!0,children:(0,s.jsxs)("button",{id:c,disabled:d,className:(0,l.cn)("border-foreground text-foreground placeholder:text-foreground/50 peer relative z-10 flex w-full cursor-pointer items-center justify-between rounded-none border-b py-2.5 text-left text-base",i),children:[(0,s.jsx)("span",{className:"truncate",children:(null==k?void 0:k.from)?k.to?(0,s.jsx)(s.Fragment,{children:(0,O.tX)(k.from,k.to,D)}):(0,O.tX)(k.from,k.to,D):""}),(0,s.jsx)(I,{})]})}),(0,s.jsxs)("label",{htmlFor:c,className:(0,l.cn)("text-foreground/50 absolute top-2.5 left-0 transition-all",(null==k?void 0:k.from)?"peer-focus:-top-4 peer-focus:text-xs peer-[:not(:placeholder-shown)]:-top-4 peer-[:not(:placeholder-shown)]:text-xs":""),children:[a,o&&(0,s.jsx)("span",{className:"ml-0.5 text-red-500",children:"*"})]}),(0,s.jsx)("span",{className:"sr-only",children:r}),(0,s.jsxs)(E,{align:"center",side:g,className:(0,l.cn)("flex w-auto flex-col gap-8 rounded-3xl border-[#
1E2D3C3] p-4 shadow-[0px_1px_20px_0px_rgba(216,214,212,0.50)] md:p-8",v),avoidCollisions:C,noPortal:N,children:[(0,s.jsx)("div",{className:"rounded-md",children:(0,s.jsx)(L,{initialFocus:!0,mode:"range",defaultMonth:null==k?void 0:k.from,selected:k,onSelect:e=>{z(e),m&&m(e)},numberOfMonths:H?1:2,locale:t,fromDate:x?new Date(x):void 0,toDate:h?new Date(h):void 0,min:f})}),(0,s.jsx)("div",{className:"h-px w-full bg-[#E2D3C3]"}),f&&(0,s.jsxs)("p",{className:"text-primary -mb-6 text-sm",children:[F.minNight[D]," ",(0,s.jsx)("span",{className:"font-semibold",children:f})]}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("p",{className:"text-foreground/44",children:F.checkIn[D]}),(0,s.jsx)("p",{className:"text-lg font-medium",children:(null==k?void 0:k.from)?(0,O.Yq)(null==k?void 0:k.from,D):"-"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("p",{className:"text-foreground/44 text-end",children:F.checkOut[D]}),(0,s.jsx)("p",{className:"text-lg font-medium",children:(null==k?void 0:k.to)?(0,O.Yq)(null==k?void 0:k.to,D):"-"})]})]}),(0,s.jsx)("div",{className:"flex md:justify-center",children:(0,s.jsx)(_,{asChild:!0,children:(0,s.jsx)(S.$,{size:"lg",className:"h-auto px-10 py-2.5 text-xl leading-normal font-normal max-md:w-full md:px-16",children:ek.apply[D]})})})]})]})]})}let F={minNight:{en:"Minimum number of nights: ",de:"Mindestanzahl an N\xe4chten: ",it:"Numero minimo di notti: "},checkIn:{en:"Check-In",de:"Anreise",it:"Check-In"},checkOut:{en:"Check-Out",de:"Abreise",it:"Check-Out"}},I=()=>(0,s.jsxs)("svg",{className:"text-primary size-6",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_2805_5248)",children:[(0,s.jsx)("path",{d:"M19.5 3.75H4.5C4.08579 3.75 3.75 4.08579 3.75 4.5V19.5C3.75 19.9142 4.08579 20.25 4.5 20.25H19.5C19.9142 20.25 20.25 19.9142 20.25 19.5V4.5C20.25 4.08579 19.9142 3.75 19.5 3.75Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M16.5 2.25V5.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M7.5 2.25V5.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M3.75 8.25H20.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12 13.5C12.6213 13.5 13.125 12.9963 13.125 12.375C13.125 11.7537 12.6213 11.25 12 11.25C11.3787 11.25 10.875 11.7537 10.875 12.375C10.875 12.9963 11.3787 13.5 12 13.5Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M16.125 13.5C16.7463 13.5 17.25 12.9963 17.25 12.375C17.25 11.7537 16.7463 11.25 16.125 11.25C15.5037 11.25 15 11.7537 15 12.375C15 12.9963 15.5037 13.5 16.125 13.5Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M7.875 17.25C8.49632 17.25 9 16.7463 9 16.125C9 15.5037 8.49632 15 7.875 15C7.25368 15 6.75 15.5037 6.75 16.125C6.75 16.7463 7.25368 17.25 7.875 17.25Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M12 17.25C12.6213 17.25 13.125 16.7463 13.125 16.125C13.125 15.5037 12.6213 15 12 15C11.3787 15 10.875 15.5037 10.875 16.125C10.875 16.7463 11.3787 17.25 12 17.25Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M16.125 17.25C16.7463 17.25 17.25 16.7463 17.25 16.125C17.25 15.5037 16.7463 15 16.125 15C15.5037 15 15 15.5037 15 16.125C15 16.7463 15.5037 17.25 16.125 17.25Z",fill:"currentColor"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_2805_5248",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]});var Z=a(76011);function B(e){let{label:t,active:a,onClick:n}=e;return(0,s.jsxs)("button",{type:"button",onClick:n,className:(0,l.cn)("flex cursor-pointer items-center gap-4 roun
1ded-2xl border border-[#E2D3C3] p-4 transition-colors",{"bg-[#F4EFEA]":!!a}),children:[(0,s.jsxs)("div",{className:"relative size-6",children:[(0,s.jsx)("div",{className:"absolute transition-opacity duration-300 ease-out data-[active=false]:opacity-0 data-[active=true]:opacity-100","data-active":a?"true":"false",children:(0,s.jsx)(R,{})}),(0,s.jsx)("div",{className:"absolute transition-opacity duration-300 ease-out data-[inactive=false]:opacity-0 data-[inactive=true]:opacity-100","data-inactive":a?"false":"true",children:(0,s.jsx)(q,{})})]}),(0,s.jsx)("span",{className:"text-primary text-start font-medium",children:t})]})}let R=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_3525_10865)",children:(0,s.jsx)("path",{d:"M12 2.25C10.0716 2.25 8.18657 2.82183 6.58319 3.89317C4.97982 4.96451 3.73013 6.48726 2.99218 8.26884C2.25422 10.0504 2.06114 12.0108 2.43735 13.9021C2.81355 15.7934 3.74215 17.5307 5.10571 18.8943C6.46928 20.2579 8.20656 21.1865 10.0979 21.5627C11.9892 21.9389 13.9496 21.7458 15.7312 21.0078C17.5127 20.2699 19.0355 19.0202 20.1068 17.4168C21.1782 15.8134 21.75 13.9284 21.75 12C21.7473 9.41498 20.7192 6.93661 18.8913 5.10872C17.0634 3.28084 14.585 2.25273 12 2.25ZM12 20.25C10.3683 20.25 8.77326 19.7661 7.41655 18.8596C6.05984 17.9531 5.00242 16.6646 4.378 15.1571C3.75358 13.6496 3.5902 11.9908 3.90853 10.3905C4.22685 8.79016 5.01259 7.32015 6.16637 6.16637C7.32016 5.01259 8.79017 4.22685 10.3905 3.90852C11.9909 3.59019 13.6497 3.75357 15.1571 4.37799C16.6646 5.00242 17.9531 6.05984 18.8596 7.41655C19.7661 8.77325 20.25 10.3683 20.25 12C20.2475 14.1873 19.3775 16.2843 17.8309 17.8309C16.2843 19.3775 14.1873 20.2475 12 20.25ZM17.25 12C17.25 13.0384 16.9421 14.0534 16.3652 14.9167C15.7883 15.7801 14.9684 16.453 14.0091 16.8504C13.0498 17.2477 11.9942 17.3517 10.9758 17.1491C9.95738 16.9466 9.02192 16.4465 8.28769 15.7123C7.55347 14.9781 7.05345 14.0426 6.85088 13.0242C6.64831 12.0058 6.75228 10.9502 7.14964 9.99091C7.547 9.0316 8.2199 8.21166 9.08326 7.63478C9.94662 7.05791 10.9617 6.75 12 6.75C13.3919 6.75149 14.7264 7.30509 15.7107 8.28933C16.6949 9.27358 17.2485 10.6081 17.25 12Z",fill:"#5D4B36"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_3525_10865",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),q=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_3525_10871)",children:[(0,s.jsx)("path",{d:"M12 2.25C10.0716 2.25 8.18657 2.82183 6.58319 3.89317C4.97982 4.96451 3.73013 6.48726 2.99218 8.26884C2.25422 10.0504 2.06114 12.0108 2.43735 13.9021C2.81355 15.7934 3.74215 17.5307 5.10571 18.8943C6.46928 20.2579 8.20656 21.1865 10.0979 21.5627C11.9892 21.9389 13.9496 21.7458 15.7312 21.0078C17.5127 20.2699 19.0355 19.0202 20.1068 17.4168C21.1782 15.8134 21.75 13.9284 21.75 12C21.7473 9.41498 20.7192 6.93661 18.8913 5.10872C17.0634 3.28084 14.585 2.25273 12 2.25ZM12 20.25C10.3683 20.25 8.77326 19.7661 7.41655 18.8596C6.05984 17.9531 5.00242 16.6646 4.378 15.1571C3.75358 13.6496 3.5902 11.9908 3.90853 10.3905C4.22685 8.79016 5.01259 7.32015 6.16637 6.16637C7.32016 5.01259 8.79017 4.22685 10.3905 3.90852C11.9909 3.59019 13.6497 3.75357 15.1571 4.37799C16.6646 5.00242 17.9531 6.05984 18.8596 7.41655C19.7661 8.77325 20.25 10.3683 20.25 12C20.2475 14.1873 19.3775 16.2843 17.8309 17.8309C16.2843 19.3775 14.1873 20.2475 12 20.25ZM17.25 12C17.25 13.0384 16.9421 14.0534 16.3652 14.9167C15.7883 15.7801 14.9684 16.453 14.0091 16.8504C13.0498 17.2477 11.9942 17.3517 10.9758 17.1491C9.95738 16.9466 9.02192 16.4465 8.28769 15.7123C7.55347 14.9781 7.05345 14.0426 6.85088 13.0242C6.64831 12.0058 6.75228 10.9502 7.14964 9.99091C7.547 9.0316 8.2199 8.21166 9.08326 7.63478C9.94662 7.05791 10.9617 6.75 12 6.75C13.3919 6.75149 14.7264 7.30509 15.7107 8.28933C16.6949 9.27358 17.2485 10.6081 17.25 12Z",fill:"#5D4B36"}),(0,s.jsx)("rect",{x:"6.75",y:"6.75",width:"10.5",height:"10.5",fill:"white"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_3525_10871",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]});var W=a(54165),T=a(54416),Y=a(40581),V=a(66766),G=a(69535);function U(e){var t,a,n,r,i,o,c;let{accommodation:u,selectedRoomCodexes:m=[],onRoomSelect:p,roomCodex:x}=e,h=(0,P.n)(),f=m.includes(null!==(o=u.codex)&&void 0!==o?o:""),g=null!==(c=null===(t=(0,G.z)(u.codex,x))||void 0===t?void 0:t.price)&&void 0!==c?c:0;return(0,s.jsxs)("div",{className:(0,l.cn)("relative h-fit cursor-pointer overflow-hidden rounded-3xl border-3 border-transparent p-3 transition-colors duration-300 ease-in-out md:rounded-4xl md:p-6",f&&"border-3 border-[#
1E2D3C3]"),onClick:()=>null==p?void 0:p(u),children:[(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)(V.default,{src:(null===(n=u.mainImage)||void 0===n?void 0:null===(a=n.asset)||void 0===a?void 0:a.url)||"",alt:u.name||"",fill:!0,className:"object-cover object-center"})}),(0,s.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%)"}}),(0,s.jsx)("div",{style:{boxShadow:"0px 0px 20px 10px rgba(232, 221, 209, 0.50) inset"},className:(0,l.cn)("absolute inset-0 opacity-0 transition-opacity duration-300 ease-in-out",f&&"opacity-100")}),(0,s.jsxs)("div",{className:"relative mb-20 flex flex-wrap gap-3 md:mb-30 md:flex md:justify-between md:gap-4",children:[g>0&&(0,s.jsx)("div",{className:"_max-md:hidden max-md:w-fit",children:(0,s.jsxs)(Y.S,{className:"text-sm md:text-base",children:[K.from[h]," ",g," €"]})}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,s.jsxs)(Y.S,{className:"text-sm md:text-base",children:[u.size," ",K.m2[h]]}),(0,s.jsxs)(Y.S,{className:"text-sm md:text-base",children:[K.for[h]," ",null===(r=(0,G.z)(u.codex,x))||void 0===r?void 0:r.minOccupancy,"-",null===(i=(0,G.z)(u.codex,x))||void 0===i?void 0:i.maxOccupancy," ",K.persons[h]]})]})]}),(0,s.jsxs)("div",{className:"relative flex gap-3 md:gap-6",children:[(0,s.jsx)("div",{className:"py-1",children:(0,s.jsx)("div",{className:"flex size-6 items-center justify-center border-2 border-[#EEE6DE] transition-colors duration-150 ease-out data-[checked='true']:bg-[#6C5944] max-md:size-5","data-checked":f?"true":"false",children:(0,s.jsx)(d.A,{size:20,"data-checked":f?"true":"false",className:"text-[#EEE6DE] transition-opacity duration-150 ease-out data-[checked='false']:opacity-0 max-md:size-4"})})}),(0,s.jsxs)("div",{className:"flex flex-col gap-1 md:gap-3",children:[(0,s.jsx)("h3",{className:"text-lg leading-normal font-medium text-white md:text-xl",children:u.name}),(0,s.jsx)("p",{className:"text-sm leading-normal text-white md:text-base",children:u.description})]})]})]})}let K={from:{en:"from",de:"von",it:"da"},for:{en:"for",de:"f\xfcr",it:"per"},m2:{en:"m\xb2",de:"m\xb2",it:"m\xb2"},persons:{en:"persons",de:"Personen",it:"persone"}};var J=a(79120);function $(e){let{onRoomSelect:t,selectedRoomCodexes:a=[],children:r,adultsAmount:i,childrenAmount:l,locale:o,roomCodex:d,accommodation:c}=e,[u,m]=(0,n.useState)(!1),[p,x]=(0,n.useState)(a),h=(0,n.useRef)(null);(0,n.useEffect)(()=>{x(a)},[a]),(0,n.useEffect)(()=>{if(!h.current)return;let e=()=>{var e,t;m((null!==(t=null===(e=h.current)||void 0===e?void 0:e.scrollTop)&&void 0!==t?t:0)>0)};return h.current.addEventListener("scroll",e),()=>{var t;null===(t=h.current)||void 0===t||t.removeEventListener("scroll",e)}},[]);let f=e=>{let t=e.codex;t&&(p.includes(t)?x(e=>e.filter(e=>e!==t)):x(e=>[...e,t]))},{minOccupancy:g,maxOccupancy:C}=(()=>{if(0===p.length)return{minOccupancy:1,maxOccupancy:4};let e=c.filter(e=>{var t;return p.includes(null!==(t=e.codex)&&void 0!==t?t:"")});return{minOccupancy:e.reduce((e,t)=>{var a;return e+((null===(a=(0,G.z)(t.codex,d))||void 0===a?void 0:a.minOccupancy)||1)},0),maxOccupancy:e.reduce((e,t)=>{var a;return e+((null===(a=(0,G.z)(t.codex,d))||void 0===a?void 0:a.maxOccupancy)||4)},0)}})();return(0,s.jsxs)(W.lG,{children:[(0,s.jsx)(W.zM,{asChild:!0,children:r}),(0,s.jsxs)(W.Cf,{overlayClassName:"bg-black/40 backdrop-blur-[10px] z-9999",className:"z-10000 w-full max-w-6xl gap-0 rounded-none bg-white p-5 pb-5 sm:max-w-[95vw] md:max-h-[95vh] md:rounded-4xl md:p-8 md:pb-5 2xl:max-w-[75rem]",hideCloseButton:!0,children:[(0,s.jsxs)("div",{className:"mb-6 flex justify-between gap-6 md:mb-8",children:[(0,s.jsx)(W.c7,{children:(0,s.jsx)(W.L3,{className:"text-2xl font-medium",children:X.selectRoom[o]})}),(0,s.jsx)(W.HM,{className:"cursor-pointer hover:opacity-75",children:(0,s.jsx)(T.A,{className:"size-6"})})]}),(0,s.jsx)("div",{className:"mb-5 h-px w-full bg-[#E8DDD1] md:mb-8"}),(0,s.jsxs)("p",{className:"mb-6 text-xl md:mb-10",children:[(0,s.jsxs)("strong",{className:"font-medium",children:[X.yourSelection[o]," "]}),i," ",X.adults[o]," |"," ",l," ",X.children[o],p.length>0&&(0,s.jsxs)(s.Fragment,{children:[" ","| ",X.occupancy[o]," ",g,"-",C]})]}),(0,s.jsx)("div",{className:"h-px w-full bg-[#E8DDD1]"}),(0,s.jsxs)("div",{className:"relative overflow-hidden",children:[(0,s.jsx)("div",{ref:h,className:"max-h-[calc(100vh-18rem)] flex-1 overflow-y-auto pt-6 pb-16 md:max-h-[calc(100vh-22rem)] md:pt-8 md:pb-20",children:(0,s.jsx)("div",{className:"grid flex-1 grid-cols-1 gap-4 md:gap-6 lg:grid-cols-2",children:c.map(e=>{var t;return(0,s.jsx)(U,{accommodation:e,roomCodex:d,selectedRoomCodexes:p,onRoomSelect:f},null===(t=e.slug)||void 0===t?void 0:t.current)})})}),(0,s.jsx)("div",{"data-active":u?"true":"false",className:"absolute inset-x-0 -top-2 h-8 bg-gradient-to-b from-white via-white via-30% to-transparent opacity-100 transition-opacity duration-300 ease-out data-[active='true']:opacity-100 md:h-10"}),(0,s.jsx)("div",{className:"absolute inset-x-0 -bottom-2 h-8 bg-gradient-to-t from-white via-white via-30% to-transparent md:h-10"})]}),(0,s.jsx)("div",{className:"flex pt-4 md:justify-center",children:(0,s.jsx)(W.HM,{asChild:!0,children:(0,s.jsxs)(S.$,{size:"lg",className:"h-auto px-10 py-2.5 text-xl leading-normal font-normal max-md:w-full md:px-16",onClick:()=>
1{p.forEach(e=>{let a=c.find(t=>t.codex===e);a&&(null==t||t(a))})},children:[X.selectRooms[o]," ",p.length," ",p.length>1?X.rooms[o]:X.room[o]," ",(0,s.jsx)(J.i,{})]})})})]})]})}let X={selectRoom:{en:"Select Room",de:"Zimmer ausw\xe4hlen",it:"Seleziona camera"},yourSelection:{en:"Your selection:",de:"Ihre Auswahl:",it:"La tua selezione:"},adults:{en:"adults",de:"Erwachsene",it:"adulti"},children:{en:"children",de:"Kinder",it:"bambini"},selectRooms:{en:"Select",de:"Ausw\xe4hlen",it:"Seleziona"},room:{en:"room",de:"Zimmer",it:"camera"},rooms:{en:"rooms",de:"Zimmer",it:"camere"},occupancy:{en:"Occupancy",de:"Belegung",it:"Occupazione"}};var Q=a(66474),ee=a(59409);function et(e){let{adultsAmount:t,childrenAmount:a,childrenAges:r,setAdultsAmount:i,setChildrenAmount:d,setChildrenAges:c,noPortal:u=!1,minOccupancy:m,maxOccupancy:p}=e,x=(0,P.n)(),[h,f]=(0,n.useState)(t),[g,C]=(0,n.useState)(a),[v,b]=(0,n.useState)(r),[j,y]=(0,n.useState)({}),[w,N]=(0,n.useState)(!1);(0,n.useEffect)(()=>{f(t),C(a),b(r),y({})},[t,a,r]);let k=()=>{let e={},t=!0;if(g>0)for(let a=0;a<g;a++)(void 0===v[a]||null===v[a])&&(e[a]="Please select an age",t=!1);return y(e),t},z=(e,t)=>{let a=[...v];a[e]=parseInt(t),b(a),j[e]&&y(t=>{let a={...t};return delete a[e],a})},L=h+g<p,D=g>0,_=h+g<p;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("input",{type:"hidden",name:"adults",value:t}),(0,s.jsx)("input",{type:"hidden",name:"children",value:a}),(0,s.jsx)("input",{type:"hidden",name:"minOccupancy",value:m}),(0,s.jsx)("input",{type:"hidden",name:"maxOccupancy",value:p}),a>0&&r.map((e,t)=>(0,s.jsx)("input",{type:"hidden",name:"children-".concat(t),value:e},t)),(0,s.jsxs)(A,{open:w,onOpenChange:N,children:[(0,s.jsx)(M,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:(0,l.cn)("border-foreground text-foreground placeholder:text-foreground/50 peer relative z-10 flex w-full cursor-pointer items-center justify-between rounded-none border-b py-2.5 text-left text-base"),children:[(0,s.jsxs)("span",{className:"",children:[(0,s.jsx)("strong",{className:"mr-1.5 font-semibold",children:t}),ek.adults[x],","," ",(0,s.jsx)("strong",{className:"mr-1.5 font-semibold",children:a}),ek.children[x]]}),(0,s.jsx)(Q.A,{})]})}),(0,s.jsx)(E,{onInteractOutside:e=>{e.preventDefault()},noPortal:u,align:"end",className:"flex w-[calc(100vw-4rem)] flex-col gap-8 rounded-3xl border-[#
1E2D3C3] p-0 shadow-[0px_1px_20px_0px_rgba(216,214,212,0.50)] md:w-100 md:p-0 lg:w-120",avoidCollisions:!1,children:(0,s.jsxs)("div",{className:"flex flex-col gap-6 p-4 md:gap-8 md:p-8",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-8",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("p",{className:"text-lg font-medium",children:ek.adults[x]}),(0,s.jsx)("p",{className:"text-foreground/50 text-base",children:ek.over17YearsOld[x]})]}),(0,s.jsx)(o,{disableHiddenInput:!0,labelClassName:"text-black",label:ek.adults[x],className:"max-md:justify-between",name:"adults",value:h,onChange:f,hideLabel:!0,canDecrease:h>1,canIncrease:L})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-8",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("p",{className:"text-lg font-medium",children:ek.children[x]}),(0,s.jsx)("p",{className:"text-foreground/50 text-base",children:ek.upTo17YearsOld[x]})]}),(0,s.jsx)(o,{disableHiddenInput:!0,labelClassName:"text-black",label:ek.children[x],className:"max-md:justify-between",name:"children",value:g,onChange:C,hideLabel:!0,canDecrease:D,canIncrease:_})]}),g>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"h-px w-full bg-[#E2D3C3]"}),Array.from({length:g}).map((e,t)=>{var a;return(0,s.jsxs)("div",{className:"flex items-center justify-between gap-10",children:[(0,s.jsxs)("p",{children:[(0,s.jsxs)("span",{className:"inline-block w-4",children:[t+1,"."]})," ","Child Age"]}),(0,s.jsxs)("div",{className:"flex-1 space-y-1",children:[(0,s.jsxs)(ee.l6,{value:null===(a=v[t])||void 0===a?void 0:a.toString(),onValueChange:e=>z(t,e),children:[(0,s.jsx)(ee.bq,{className:(0,l.cn)("text-foreground flex flex-1 cursor-pointer items-center justify-between rounded-none border-0 border-b border-[#595959] bg-transparent px-0 pt-0 pb-4 text-base font-normal shadow-none",j[t]&&"border-red-500"),children:(0,s.jsx)(ee.yv,{placeholder:"Select Years"})}),(0,s.jsx)(ee.gC,{noPortal:u,className:"scrollbar-thin scrollbar-thumb-[#CAAF92] scrollbar-track-transparent max-h-60 overflow-y-auto rounded-xl border border-[#E2D3C3] bg-white shadow-[0px_1px_20px_0px_rgba(216,214,212,0.50)]",children:Array.from({length:18},(e,a)=>(0,s.jsxs)(ee.eb,{value:a.toString(),className:(0,l.cn)("text-foreground cursor-pointer rounded-lg px-4 py-3 text-base font-normal transition-colors",v[t]===a&&"bg-[#F5F1ED]"),children:[a," ",1===a?"Year":"Years"]},a))})]}),j[t]&&(0,s.jsx)("p",{className:"mt-1 text-sm text-red-500",children:j[t]})]})]},t)})]}),(0,s.jsx)("div",{className:"h-px w-full bg-[#E2D3C3]"}),(0,s.jsx)("div",{className:"flex md:justify-center",children:(0,s.jsx)(S.$,{size:"lg",type:"button",className:(0,l.cn)("h-auto px-10 py-2.5 text-xl leading-normal font-normal max-md:w-full md:px-16",g>0&&Object.keys(j).length>0&&"cursor-not-allowed opacity-50"),onClick:()=>{k()&&(i(h),d(g),c(v.slice(0,g)),N(!1))},disabled:g>0&&Object.keys(j).length>0,children:ek.apply[x]})})]})})]})]})}var ea=a(299);function es(e){let{value:t,onValueChange:a,required:n}=e,r=(0,P.n)();return(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("p",{className:"text-foreground/50",children:[ek.salutation[r],n&&(0,s.jsx)("span",{className:"ml-0.5 text-red-500",children:"*"})]}),(0,s.jsx)("input",{type:"hidden",name:"salutation",value:t}),(0,s.jsxs)("div",{className:"text-foreground flex w-fit items-center justify-center gap-3 rounded-full bg-[#F4EFEA]/50 p-3 text-lg leading-normal",children:[(0,s.jsx)("input",{type:"hidden",name:"salutation",value:ek[t][r]}),(0,s.jsx)("button",{type:"button",onClick:()=>a("families"),className:(0,l.cn)("flex w-fit cursor-pointer items-center justify-center gap-4 roun
1ded-full bg-white px-4 py-2.5 transition-colors duration-300 ease-out hover:bg-white/50",{"text-primary bg-[#E8DDD1] hover:bg-[#E8DDD1]/80":"families"===t}),children:ek.families[r]}),(0,s.jsx)("button",{type:"button",onClick:()=>a("mr"),className:(0,l.cn)("flex w-fit cursor-pointer items-center justify-center gap-4 rounded-full bg-white px-6 py-2.5 transition-colors duration-300 ease-out hover:bg-white/50",{"text-primary bg-[#E8DDD1] hover:bg-[#E8DDD1]/80":"mr"===t}),children:ek.mr[r]}),(0,s.jsx)("button",{type:"button",onClick:()=>a("ms"),className:(0,l.cn)("flex w-fit cursor-pointer items-center justify-center gap-4 rounded-full bg-white px-4 py-2.5 transition-colors duration-300 ease-out hover:bg-white/50",{"text-primary bg-[#E8DDD1] hover:bg-[#E8DDD1]/80":"ms"===t}),children:ek.ms[r]})]})]})}var en=a(22656);function er(e){var t,a;let{offer:n,selectedOfferSlug:r,onOfferSelect:i}=e,o=(0,P.n)(),c=r===(null===(t=n.slug)||void 0===t?void 0:t.current);return(0,s.jsxs)("div",{className:(0,l.cn)("relative cursor-pointer overflow-hidden rounded-3xl border-3 border-transparent p-3 md:rounded-4xl md:p-6",c&&"border-3 border-[#E2D3C3]"),onClick:()=>null==i?void 0:i(n),children:[(0,s.jsx)("div",{className:"absolute inset-0",children:(0,s.jsx)(en.SanityImage,{src:(null===(a=n.image)||void 0===a?void 0:a.url)||"",alt:n.title||"",fill:!0,className:"object-cover object-center",sizes:"(min-width: 1024px) 50vw, 100vw"})}),(0,s.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%)"}}),(0,s.jsx)("div",{style:{boxShadow:"0px 0px 20px 10px rgba(232, 221, 209, 0.50) inset"},className:(0,l.cn)("absolute inset-0 opacity-0 transition-opacity duration-300 ease-in-out",c&&"opacity-100")}),(0,s.jsxs)("div",{className:"relative mb-30 flex w-full justify-between max-lg:flex-wrap md:mb-50 md:gap-4",children:[(0,s.jsx)("div",{className:"_max-md:hidden max-md:w-fit",children:(0,s.jsxs)(Y.S,{className:"text-sm md:text-base",children:[ei.from[o]," ",n.price," €"," ",ei.for[o]," ",ei.persons[o]]})}),(0,s.jsx)("div",{className:"grid",children:(0,s.jsx)(Y.S,{className:"text-sm md:text-base",children:(0,O.L_)(n.startDate,n.endDate,o)})})]}),(0,s.jsxs)("div",{className:"relative flex items-center gap-3 max-md:pb-1 md:gap-6",children:[(0,s.jsx)("div",{className:"py-1",children:(0,s.jsx)("div",{className:"flex size-6 items-center justify-center border-2 border-[#EEE6DE] transition-colors duration-150 ease-out data-[checked='true']:bg-[#6C5944] max-md:size-5","data-checked":c?"true":"false",children:(0,s.jsx)(d.A,{size:20,"data-checked":c?"true":"false",className:"text-[#EEE6DE] transition-opacity duration-150 ease-out data-[checked='false']:opacity-0 max-md:size-4"})})}),(0,s.jsx)("div",{className:"flex flex-col gap-1 md:gap-3",children:(0,s.jsx)("h3",{className:"text-lg leading-normal font-medium text-white md:text-xl",children:n.title})})]})]})}let ei={from:{en:"from",de:"ab",it:"da"},for:{en:"per",de:"pro",it:"per"},persons:{en:"person",de:"Person",it:"persona"}};function el(e){let{onOfferSelect:t,selectedOfferSlug:a,children:r,adultsAmount:i,childrenAmount:l,locale:o,offers:d}
1=e,[c,u]=(0,n.useState)(a);(0,n.useEffect)(()=>{u(a)},[a]);let m=e=>{var t;let a=null===(t=e.slug)||void 0===t?void 0:t.current;a&&(c===a?u(void 0):u(a))};return(0,s.jsxs)(W.lG,{children:[(0,s.jsx)(W.zM,{asChild:!0,children:r}),(0,s.jsxs)(W.Cf,{overlayClassName:"bg-black/40 backdrop-blur-[10px] z-9999",className:"z-10000 w-full max-w-6xl gap-0 rounded-none bg-white p-5 pb-5 sm:max-w-[95vw] md:max-h-[95vh] md:rounded-4xl md:p-8 md:pb-5 2xl:max-w-[75rem]",hideCloseButton:!0,children:[(0,s.jsxs)("div",{className:"mb-6 flex justify-between gap-6 md:mb-8",children:[(0,s.jsx)(W.c7,{children:(0,s.jsx)(W.L3,{className:"text-2xl font-semibold",children:eo.selectOffer[o]})}),(0,s.jsx)(W.HM,{className:"cursor-pointer hover:opacity-75",children:(0,s.jsx)(T.A,{className:"size-6"})})]}),(0,s.jsx)("div",{className:"mb-5 h-px w-full bg-[#E8DDD1] md:mb-8"}),(0,s.jsxs)("p",{className:"mb-6 text-xl md:mb-10",children:[(0,s.jsxs)("strong",{className:"font-medium",children:[eo.yourSelection[o]," "]}),i," ",eo.adults[o]," |"," ",l," ",eo.children[o]]}),(0,s.jsx)("div",{className:"h-px w-full bg-[#E8DDD1]"}),(0,s.jsxs)("div",{className:"relative overflow-hidden",children:[(0,s.jsx)("div",{className:"max-h-[calc(100vh-18rem)] flex-1 overflow-y-auto pt-6 pb-16 md:max-h-[calc(100vh-22rem)] md:pt-8 md:pb-20",children:(0,s.jsx)("div",{className:"grid flex-1 grid-cols-1 gap-6 md:grid-cols-2",children:d.map(e=>{var t;return(0,s.jsx)(er,{offer:e,selectedOfferSlug:c,onOfferSelect:m},null===(t=e.slug)||void 0===t?void 0:t.current)})})}),(0,s.jsx)("div",{className:"absolute inset-x-0 -top-2 h-8 bg-gradient-to-b from-white via-white via-30% to-transparent opacity-100 transition-opacity duration-300 ease-out md:h-10"}),(0,s.jsx)("div",{className:"absolute inset-x-0 -bottom-2 h-8 bg-gradient-to-t from-white via-white via-30% to-transparent md:h-10"})]}),(0,s.jsx)("div",{className:"flex pt-4 md:justify-center",children:(0,s.jsx)(W.HM,{asChild:!0,children:(0,s.jsxs)(S.$,{size:"lg",className:"h-auto px-10 py-2.5 text-xl leading-normal font-normal max-md:w-full md:px-16",onClick:()=>{let e=d.find(e=>{var t;return(null===(t=e.slug)||void 0===t?void 0:t.current)===c});e&&(null==t||t(e))},children:[eo.selectOffers[o]," ",(0,s.jsx)(J.i,{})]})})})]})]})}let eo={selectOffer:{en:"Select Offer",de:"Angebot ausw\xe4hlen",it:"Seleziona offerta"},yourSelection:{en:"Your selection:",de:"Ihre Auswahl:",it:"La tua selezione:"},adults:{en:"adults",de:"Erwachsene",it:"adulti"},children:{en:"children",de:"Kinder",it:"bambini"},selectOffers:{en:"Select",de:"Ausw\xe4hlen",it:"Seleziona"}},ed=[{value:"de",label:"Deutsch"},{value:"it",label:"Italiano"},{value:"en",label:"English"}];function ec(e){let{value:t,onChange:a,label:n,name:r="contactLanguage",className:i}=e;return(0,s.jsxs)("div",{className:(0,l.cn)("flex flex-col gap-2",i),children:[n&&(0,s.jsxs)("label",{className:"text-foreground/50",children:[n,(0,s.jsx)("span",{className:"ml-0.5 text-red-500",children:"*"})]}),(0,s.jsx)("div",{className:"grid grid-cols-3 gap-4",children:ed.map(e=>(0,s.jsx)("button",{type:"button",onClick:()=>a(e.value),className:(0,l.cn)("flex cursor-pointer items-center justify-center rounded-2xl border border-[#E2D3C3] p-4 transition-colors",{"bg-[#F4EFEA]":t===e.value}),children:(0,s.jsx)("span",{className:"text-primary text-center font-medium",children:e.label})},e.value))}),(0,s.jsx)("input",{type:"hidden",name:r,value:t})]})}var eu=a(35695);let em=e=>!!e&&["AllInclusive","BedAndBreakfast","FullBoard","HalfBoard","RoomOnly"].includes(e),ep=e=>!!e&&!isNaN(Date.parse(e));var ex=a(20739);let eh=e=>{let{isOpen:t,onClose:a,name:n,email:r}=e,i=(0,P.n)();return(0,s.jsx)(W.lG,{open:t,onOpenChange:a,children:(0,s.jsxs)(W.Cf,{hideCloseButton:!0,className:"z-20000 gap-0 overflow-hidden rounded-4xl border-0 bg-white p-0 md:w-full md:max-w-145",overlayClassName:"z-20000 bg-black/40 backdrop-blur-[10px]",children:[(0,s.jsx)(W.c7,{className:"sr-only",children:(0,s.jsx)("span",{children:"Thank you for your enquiry"})}),(0,s.jsxs)("div",{className:"relative flex h-60 w-full items-end justify-center pb-4 md:h-80 md:pb-8",children:[(0,s.jsx)(V.default,{fill:!0,src:"/images/thank-you-pop-up.png",alt:"",className:"w-full object-cover"}),(0,s.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%)"}}),(0,s.jsx)(eg,{}),(0,s.jsx)("div",{className:"absolute inset-0",style:{boxShadow:"0px 0px 20px 10px rgba(232, 221, 209, 0.50) inset"}})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center gap-10 p-8",children:[(0,s.jsxs)(W.L3,{className:"[&_strong]:text-primary text-foreground text-base leading-normal font-normal md:text-lg lg:text-xl [&_strong]:font-bold",children:[ef.hi[i]," ",(0,s.jsx)("strong",{children:n}),", ",(0,s.jsx)("br",{}),ef.thankYouText[i]," ",(0,s.jsx)("br",{})," ",(0,s.jsx)("strong",{children:r})]}),(0,s.jsxs)(W.rr,{className:"text-foreground w-full max-w-none text-base leading-normal font-normal md:text-lg lg:text-xl",children:[ef.sincere[i]," ",(0,s.jsx)("br",{}),ef.sender[i]]})]}),(0,s.jsx)("div",{className:"flex flex-col items-center p-6",children:(0,s.jsx)(W.HM,{asChild:!0,children:(0,s.jsx)(S.$,{className:"w-full",size:"lg",children:"Ok"})})})]})})},ef={hi:{en:"Hi",de:"Hallo",it:"Ciao"}
1,thankYouText:{en:"Thank you for your enquiry. We confirm that we've received your message and will process it as soon as possible. A reply will be sent to your email: ",de:"Vielen Dank f\xfcr Ihre Anfrage. Wir best\xe4tigen, dass wir Ihre Nachricht erhalten haben und werden sie so schnell wie m\xf6glich verarbeiten. Eine Antwort wird an Ihre E-Mail-Adresse gesendet: ",it:"Grazie per la sua richiesta. Confermiamo di aver ricevuto il suo messaggio e lo processeremo il prima possibile. Una risposta sar\xe0 inviata al tuo indirizzo email: "},sincere:{en:"Best regards from Sesto",de:"Mit freundlichen Gr\xfc\xdfen aus Sexten",it:"Saluti da Sesto"},sender:{en:"The Watschinger-Steiner Family",de:"Die Watschinger-Steiner Familie",it:"La Famiglia Watschinger-Steiner"}},eg=()=>(0,s.jsxs)("svg",{width:"95",height:"125",viewBox:"0 0 95 125",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative max-md:w-18.5",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_4440_14584)",children:[(0,s.jsx)("path",{d:"M25.9467 81.7717C26.871 81.7717 27.7692 81.7456 28.6464 81.6881C30.9231 81.5472 34.2547 81.1503 36.9074 79.3697C38.2546 78.4663 39.2415 77.166 39.936 75.3958C39.9517 75.3593 39.9517 75.3228 39.9569 75.281C39.9987 75.1713 40.0509 75.0669 40.0927 74.952C41.0953 72.1061 40.5417 68.4874 38.6828 65.7198C38.5627 65.5423 38.3172 65.4953 38.1397 65.6154C37.9622 65.7355 37.9152 65.9809 38.0353 66.1584C39.7585 68.7224 40.2807 72.0748 39.3564 74.6909C38.6462 76.7013 37.1632 78.1112 35.0693 78.7587C33.7429 79.1712 32.3539 79.2861 30.6777 79.3279C23.6178 79.5159 15.9783 78.5498 7.31005 76.3671C5.49285 75.9076 4.10907 75.5264 2.83494 75.1191C2.63129 75.0512 2.40675 75.1661 2.34409 75.375C2.27621 75.5786 2.39109 75.8032 2.59996 75.8658C3.88975 76.2783 5.2892 76.6648 7.12206 77.1295C15.1376 79.1503 22.2915 80.1373 28.918 80.1373C29.5185 80.1373 30.1085 80.1268 30.6986 80.1112C31.9832 80.0746 33.3304 79.9963 34.6306 79.683C32.5419 80.5446 30.2756 80.79 28.5994 80.8944C25.1269 81.1085 21.2471 80.8892 17.0592 80.2365C11.5345 79.3749 5.96282 78.0799 0.506009 76.3828C0.297136 76.3201 0.0778191 76.435 0.0151572 76.6386C-0.0475047 76.8475 0.0673754 77.0668 0.271027 77.1295C5.76439 78.8423 11.3674 80.1477 16.9339 81.0093C20.1244 81.521 23.1478 81.7717 25.9467 81.7717Z",fill:"white"}),(0,s.jsx)("path",{d:"M42.3498 70.1098C42.4594 71.0132 42.3707 71.927 42.0991 72.7939C41.8276 73.6607 41.3629 74.4648 40.7937 75.1907C40.7154 75.2899 40.731 75.4413 40.8302 75.5196C40.9294 75.6032 41.0809 75.5928 41.1644 75.4883C41.7858 74.7416 42.308 73.8957 42.6265 72.961C42.9503 72.0315 43.0756 71.0237 42.9816 70.0367C42.7989 68.0577 41.9007 66.2457 40.825 64.653L40.8198 64.6426C40.6945 64.4703 40.449 64.4285 40.2715 64.559C40.0992 64.6844 40.0574 64.9298 40.1879 65.1073C41.2532 66.6112 42.1305 68.2979 42.3498 70.1098Z",fill:"white"}),(0,s.jsx)("path",{d:"M94.2737 76.5527L94.2423 76.4849V76.4796C94.1692 76.3125 93.9813 76.2394 93.8142 76.3073C92.0387 77.0331 90.1275 77.4457 88.2268 77.9209C86.2321 78.4222 84.2112 78.8295 82.1747 79.1428C78.1069 79.7746 73.9817 80.1401 69.8877 79.8738C67.846 79.7276 65.7991 79.4717 63.8461 78.9287C61.8983 78.3752 59.9924 77.5605 58.4833 76.2603C57.7366 75.6128 57.1099 74.8348 56.6922 73.9523C56.4938 73.498 56.3162 73.075 56.2744 72.5894C56.2013 72.1142 56.2118 71.6129 56.2274 71.1168C56.358 69.1169 56.8854 67.096 57.5277 65.1796L57.5329 65.1692C57.6008 64.9655 57.4911 64.7462 57.2875 64.6731C57.0838 64.6 56.8593 64.7096 56.7914 64.9133C56.4468 65.9159 56.1648 66.9185 55.9246 67.942C55.6948 68.9654 55.5016 70.0046 55.4442 71.075C55.4233 71.6129 55.4128 72.1507 55.4964 72.699C55.5173 72.8348 55.5277 72.9706 55.5643 73.1116L55.6792 73.5241C55.7575 73.8008 55.8828 74.0358 55.9872 74.2917C56.452 75.2838 57.1569 76.1507 57.9715 76.8556C59.6164 78.2707 61.6164 79.1114 63.6372 79.6858C65.6737 80.255 67.7572 80.5109 69.8407 80.6623C74.0182 80.9339 78.1957 80.5579 82.3 79.9208C83.3496 79.7589 84.394 79.571 85.4383 79.3569C84.1955 79.7172 82.9371 80.0461 81.6734 80.3281C77.402 81.268 73.0156 81.691 68.6554 81.4247C66.4779 81.2889 64.3108 80.9808 62.196 80.4795C61.136 80.2341 60.0916 79.9365 59.1047 79.524C58.123 79.1062 57.183 78.5892 56.4311 77.8686C56.0447 77.5188 55.7105 77.1167 55.4285 76.6833C55.1413 76.2499 54.9063 75.7851 54.7392 75.2891C54.3841 74.3074 54.2536 73.2421 54.2849 72.1821C54.3633 70.0516 54.9533 67.9211 55.9298 66.0203V66.0151C56.029 65.8219 55.9507 65.5869 55.7627 65.4877C55.5747 65.3885 55.3345 65.4668 55.2353 65.6548C54.2014 67.6652 53.5852 69.8845 53.5017 72.156C53.4651 73.2943 53.6061 74.4588 54.003 75.5501C54.3841 76.6415 55.0421 77.6545 55.8985 78.4378C56.7444 79.242 57.7679 79.8059 58.807 80.2446C59.8566 80.678 60.9375 80.9913 62.0185 81.2367C64.1855 81.7537 66.3943 82.067 68.6136 82.2028C73.0522 82.4743 77.5168 82.0409 81.8457 81.0905C86.0702 80.1662 90.1693 78.725 94.117 76.9966C94.2737 76.9235 94.3468 76.7251 94.2737 76.5527Z",fill:"white"}),(0,s.jsx)("path",{d:"M11.8204 85.6127C11.2669 85.6492 11.2356 85.7223 11.1364 86.2706L10.6089 89.0904C10.5045 89.6491 10.5828 89.6961 11.1364 89.7483L11.0894 90.0042H8.96407L9.01629 89.7483C9.54892 89.7066 9.60636 89.6335 9.7108 89.0747L9.96144 87.7066H8.1338L7.88316 89.0852C7.78916 89.6282 7.8466 89.7013 8.41578 89.7431L8.35312 89.999H6.23828L6.28528 89.7431C6.80746 89.6909 6.88057 89.6335 6.97456 89.0852L7.50196 86.2654C7.61162 85.7014 7.56463 85.6492 7.01111 85.6074L7.06333 85.3516H9.15206L9.09984 85.6074C8.55155 85.6492 8.50455 85.7171 8.40012 86.2654L8.20691 87.362H10.0293L10.2278 86.2654C10.3322 85.7171 10.2956 85.6492 9.72646 85.6074L9.79434 85.3516H11.8779L11.8204 85.6127Z",fill:"white"}),(0,s.jsx)("path",{d:"M30.5981 87.3881C30.5981 88.9703 29.4284 90.2392 27.8984 90.2392C26.6922 90.2392 25.8984 89.4664 25.8984 88.2079C25.8984 86.7406 27.0159 85.3516 28.6033 85.3516C29.8357 85.3516 30.5981 86.1609 30.5981 87.3881ZM26.9689 88.4272C26.9689 89.3254 27.2613 89.9259 27.9506 89.9259C28.9532 89.9259 29.5224 88.469 29.5224 87.1896C29.5224 86.2236 29.2613 85.6701 28.5563 85.6701C27.6216 85.6701 26.9689 87.0434 26.9689 88.4272Z",fill:"white"}),(0,s.jsx)("path",{d:"M48.8733 85.3516C48.7897 85.6283 48.7062 86.1871 48.6435 86.5996L48.372 86.6152C48.372 86.4899 48.3563 86.2602 48.325 86.1296C48.278 85.8894 48.1579 85.7954 47.714 85.7954H47.312L46.6801 89.0591C46.5809 89.5551 46.61
175 89.6439 47.265 89.6857L47.2075 89.9259H44.9674L45.0248 89.6857C45.6149 89.6439 45.6723 89.5447 45.7663 89.0591L46.4138 85.7954H46.1214C45.6097 85.7954 45.4843 85.8685 45.3381 86.0617C45.2285 86.1975 45.1345 86.3542 45.0196 86.5996L44.748 86.5944C44.8786 86.1453 44.9987 85.7223 45.0614 85.3568H45.2493C45.3277 85.4978 45.3903 85.4978 45.5731 85.4978H48.3302C48.5025 85.4978 48.5234 85.4769 48.6696 85.3568H48.8733V85.3516Z",fill:"white"}),(0,s.jsx)("path",{d:"M65.6221 85.8314C65.972 85.8314 66.3062 85.8314 66.562 85.8262C66.515 86.0559 66.4419 86.5781 66.3845 86.8444L66.1286 86.8653C66.1025 86.2909 66.019 86.1134 65.5699 86.1134H65.1051C64.8493 86.1134 64.7448 86.1499 64.6926 86.3954L64.4367 87.6852H64.9641C65.5333 87.6852 65.5542 87.6068 65.7474 87.1682H66.0033L65.7265 88.5154H65.4707C65.4863 88.0246 65.4759 87.9723 64.9171 87.9723H64.3636L64.1339 89.142C64.0399 89.5963 64.0921 89.706 64.5046 89.706H64.8858C65.2722 89.706 65.4184 89.6538 65.5908 89.5128C65.7474 89.3875 65.9563 89.1473 66.1025 88.8809L66.3479 88.9697C66.2644 89.2047 66.0451 89.7582 65.9354 89.9828H62.4629L62.5151 89.7582C63.0582 89.7217 63.1365 89.6694 63.2409 89.1734L63.7683 86.6512C63.8728 86.1499 63.8153 86.1082 63.2775 86.0664L63.3454 85.8366H65.6221V85.8314Z",fill:"white"}),(0,s.jsx)("path",{d:"M84.0892 88.8181C84.0108 89.0896 83.7341 89.805 83.5983 90.0504H80.0684L80.1206 89.7998C80.6689 89.758 80.7315 89.6901 80.8412 89.1366L81.3947 86.2698C81.4939 85.7633 81.4313 85.7058 80.8777 85.6641L80.9404 85.4082H83.1179L83.0657 85.6641C82.4808 85.7006 82.4234 85.7737 82.3346 86.2802L81.7863 89.0844C81.6871 89.6274 81.7289 89.7423 82.1414 89.7423H82.507C82.815 89.7423 83.0396 89.7058 83.2693 89.4969C83.4417 89.335 83.6975 88.9956 83.8385 88.7293L84.0892 88.8181Z",fill:"white"}),(0,s.jsx)("path",{d:"M60.1078 58.6137C60.4524 59.8043 60.7919 60.9948 61.1313 62.1906C60.1757 61.5327 59.2201 60.8695 58.2645 60.2116C57.053 61.1985 55.8416 62.1906 54.6353 63.1776C55.1627 61.7833 55.6901 60.3891 56.2175 58.9897C55.0322 58.1646 53.8416 57.3396 52.6562 56.5145C54.228 56.5041 55.7998 56.4936 57.3716 56.4832C57.6483 55.4597 57.9198 54.4414 58.1966 53.418C58.6457 54.4362 59.1 55.4493 59.5491 56.4675C60.9328 56.2639 62.3166 56.0602 63.7056 55.8566C62.5046 56.7756 61.3088 57.6946 60.1078 58.6137Z",fill:"white"}),(0,s.jsx)("path",{d:"M46.3916 59.5291C46.8982 60.5996 47.3994 61.6701 47.9007 62.7458C46.7885 62.0408 45.6762 61.3411 44.564 60.6414L41.1489 63.2888C41.6711 62.0356 42.1881 60.7824 42.705 59.5291C41.4518 58.6884 40.1986 57.8477 38.9453 57.007C40.5432 57.0018 42.1411 56.9965 43.7389 56.9913L44.5066 52.793C44.9556 54.1924 45.4099 55.5919 45.8642 56.9913C47.2271 57.242 48.59 57.4978 49.9529 57.7485C48.7676 58.3438 47.5822 58.9338 46.3916 59.5291Z",fill:"white"}),(0,s.jsx)("path",{d:"M33.4622 56.4836C34.0053 57.8883 34.5536 59.2877 35.0967 60.6924C33.9217 59.6376 32.7416 58.588 31.5667 57.5384C30.4388 58.2695 29.3109 59.0005 28.1882 59.7316C28.7417 58.6455 29.2952 57.5593 29.8539 56.468C28.2874 55.4706 26.7208 54.468 25.1543 53.4654C26.9872 53.7578 28.8252 54.0503 30.6633 54.3479C30.9871 53.3088 31.3108 52.2696 31.6346 51.2305C32.0784 52.2853 32.5223 53.3349 32.9661 54.3845C34.0001 54.3897 35.034 54.4001 36.0679 54.4053C35.2011 55.0998 34.329 55.7943 33.4622 56.4836Z",fill:"white"}),(0,s.jsx)("path",{d:"M72.7198 25.3211C72.7302 25.3002 75.6753 19.5823 75.7798 18.6319C75.8842 17.6816 73.7746 15.5719 71.7329 15.5354C69.6702 15.4988 68.2917 18.2768 67.2055 19.6711C66.0776 21.1227 64.5946 22.6736 62.579 22.4021C57.5138 21.718 57.1326 15.3004 56.6418 11.3214C56.3441 8.935 55.6079 5.93245 56.4538 3.60874C56.6627 3.02912 56.4538 2.37117 55.258 1.42079C54.057 0.470422 53.4251 1.17537 53.4251 1.17537C52.2659 3.32154 51.9839 10.324 51.9839 10.324C51.9839 10.324 47.5454 16.3448 45.4358 19.128C43.3209 21.906 40.8249 23.4934 39.274 22.7154C36.9764 21.5666 38.496 18.0993 37.509 16.3291C36.9816 15.3892 35.5247 14.6686 34.449 14.867C33.4987 15.0445 33.2532 16.0993 33.7493 17.4361C34.2402 18.7729 33.9582 22.8564 33.9582 22.8564L29.1019 31.8693C27.9949 34.0363 26.8878 36.1929 25.7599 38.3443C25.1803 39.4566 24.4649 40.5793 24.7156 41.9004C24.961 43.1797 25.9949 44.3233 26.9975 45.0857C29.6293 47.0857 33.5613 47.942 36.7466 48.5112C42.2348 49.4877 47.984 49.7645 53.5505 49.5869C57.7645 49.4511 61.9367 49.1326 66.0306 48.0674C68.4953 47.4303 71.0175 46.5948 71.2577 43.6654C71.3778 42.2137 71.665 41.3625 71.0801 39.9735C70.7825 39.2738 70.417 38.595 70.0044 37.9631C69.9104 36.313 69.8478 34.6577 69.9 33.0076C69.9783 30.3863 71.5344 27.6135 72.7198 25.3211ZM67.5397 45.0596C65.4145 46.5165 62.6051 46.6053 60.1404 46.9081C55.1379 47.5191 49.9526 47.6392 44.9031 46.9708C42.3183 46.6314 39.7857 46.0622 37.2845 45.3155C35.5195 44.7933 33.1279 44.3599 31.6867 43.138C31.6867 43.138 32.188 41.7907 35.201 41.3155C38.2088 40.8404 43.253 40.997 43.911 39.467C44.7151 37.5976 41.9998 36.5219 40.6421 36.3548C37.9424 36.0206 34.9033 36.2347 32.188 36.4279C32.188 36.4279 31.3159 36.4801 31.953 34.924C32.5848 33.3679 36.5221 25.0757 36.5221 25.0757C36.5221 25.0757 39.133 26.8459 41.9058 26.2923C44.642 25.7441 47.0023 22.4856 48.5323 20.3499C49.5767 18.8982 50.4644 17.3369 51.4252 15.8278C51.9369 15.0289 53.1849 13.7443 53.3625 12.7992L54.104 8.97155C54.104 8.97155 54.8716 13.4571 54.5008 15.5458C54.1301 17.6293 54.2606 19.2429 54.527 20.2194C54.8611 21.4517 56.1875 22.423 57.0543 23.295C58.0882 24.3342 59.2005 25.425
15 60.4642 26.1827C62.2605 27.2688 66.1142 25.9477 67.3048 25.0234C67.3048 25.0234 66.5633 30.5429 66.5372 32.4175C66.511 34.2922 66.4849 39.0963 66.4849 39.0963L62.8714 38.0937C62.8714 38.0937 63.7644 39.4931 64.9027 40.0989C66.1194 40.7516 68.6415 41.279 68.7408 42.9865C68.793 43.8168 68.229 44.5896 67.5397 45.0596Z",fill:"white"}),(0,s.jsx)("path",{d:"M72.0612 53.1282C71.9463 53.2796 71.7427 53.337 71.5495 53.3527C71.0116 53.4049 70.3745 53.2796 69.8628 53.4676C69.1422 53.7339 68.6618 54.6634 68.9699 55.3997C69.278 56.1516 69.8576 56.7521 70.2492 57.4571C70.6722 58.2247 70.6252 59.0967 70.3014 59.9009C69.9307 60.8304 69.2153 61.598 68.3537 62.0993C67.5287 62.5797 66.4112 62.9609 65.4713 62.6058C64.641 62.2925 64.0353 61.4204 64.0614 60.5275C64.0614 60.4074 64.077 60.2768 64.1345 60.1724C64.1971 60.0627 64.3068 59.974 64.4269 59.974C64.4634 59.974 64.5 59.9792 64.5261 60.0001C64.5627 60.0314 64.5731 60.0836 64.5835 60.1306C64.7768 60.9609 65.4713 61.6554 66.3015 61.8434C67.2153 62.0523 68.1448 61.6397 68.7297 60.94C69.3458 60.1985 69.5704 59.1698 69.2832 58.2351C68.9803 57.2273 67.9725 56.5641 67.8524 55.4832C67.7845 54.8722 67.9621 54.2874 68.3485 53.8174C68.7819 53.29 69.3197 52.8462 69.915 52.5172C70.2597 52.324 70.6618 52.1726 71.0586 52.1517C71.304 52.1412 71.6069 52.1934 71.8262 52.3397C71.9307 52.4023 72.0142 52.4859 72.0716 52.5903C72.1656 52.7574 72.1709 52.9767 72.0612 53.1282Z",fill:"white"}),(0,s.jsx)("path",{d:"M11.8647 106.786C12.1623 107.047 14.6792 105.532 14.8359 105.417C17.1492 103.726 18.3972 101.172 18.1204 98.3001C17.969 96.7127 17.4364 94.9947 15.9638 94.154C14.2771 93.188 11.9639 93.7102 10.1728 94.0548C10.037 94.0809 9.90126 94.107 9.76549 94.1384C9.76549 94.1384 9.0501 92.8068 8.43393 92.5091C7.82297 92.2115 7.71331 94.4987 7.71331 94.4987C7.71331 94.4987 5.33738 95.6266 5.00319 96.154C4.66899 96.6814 5.10762 97.8093 5.64025 97.9137C6.16765 98.0182 7.59843 96.6709 7.59843 96.6709C7.42089 102.566 7.30601 109.323 7.23291 116.66C7.23291 116.66 7.08669 117.637 9.08143 117.396L9.36863 107.261C11.9795 112.279 14.5174 116.785 16.815 119.563C16.815 119.563 17.4155 119.83 18.0473 118.754C18.6791 117.678 18.6635 116.556 18.6635 116.556L17.5303 116.503C15.6923 114.399 13.7602 110.718 11.8647 106.786ZM9.40518 104.833V96.4151C9.40518 96.4151 10.7681 94.8485 13.0396 95.0887C15.3111 95.3237 16.1831 97.8354 15.9951 99.6839C15.8124 101.532 14.7576 104.331 12.7733 104.911C10.7942 105.491 9.40518 104.833 9.40518 104.833Z",fill:"white"}),(0,s.jsx)("path",{d:"M33.8682 94.4318C31.7377 94.484 30.1555 96.5048 29.5028 97.4552C28.8553 98.4056 28.025 100.818 28.8187 100.907C29.6125 100.996 30.0302 99.4082 30.0302 99.4082C30.1399 98.4943 31.7952 94.7973 34.3957 96.4892C37.0013 98.181 36.97 105.956 35.5967 109.622C34.8761 111.538 33.9883 113.669 32.1816 114.813C30.5367 115.857 28.354 115.951 27.0068 114.374C24.5055 111.45 26.1243 103.037 26.1243 103.037C27.7796 95.7477 32.1973 93.8678 32.1973 93.8678C32.7456 93.3561 32.0928 93.0062 32.0928 93.0062C30.2861 92.5832 28.2182 94.9331 26.3958 98.3638C24.5786 101.795 23.5708 106.787 23.623 109.899C23.6805 113.016 25.0799 117.345 27.743 117.899C32.1294 118.812 35.0954 114.416 36.5314 110.969C37.6906 108.191 38.3695 105.053 38.171 102.035C37.9099 97.9408 35.9988 94.3743 33.8682 94.4318Z",fill:"white"}),(0,s.jsx)("path",{d:"M53.0899 91.9805C53.518 96.2467 52.6982 101.03 51.0481 106.168L48.8393 113.489C48.1291 111.38 45.9986 94.3042 44.855 93.4426C43.7115 92.581 42.8133 93.265 42.8133 93.265C42.1971 93.7924 42.7036 94.8681 42.7036 94.8681C44.2023 97.2702 45.9621 107.134 47.7062 116.445C47.7062 116.445 45.2467 121.385 44.855 122.993C44.4582 124.606 45.4086 125.003 45.4086 125.003L53.2778 120.539C52.7191 119.562 52.0612 119.828 52.0612 119.828L47.3615 121.411L48.6565 117.573C48.6565 117.573 54.3953 101.698 54.8862 97.4738C55.377 93.2494 53.0899 91.9805 53.0899 91.9805Z",fill:"white"}),(0,s.jsx)("path",{d:"M70.622 104.374C70.246 102.505 69.9431 100.62 69.5828 98.7453C69.2434 96.9595 68.6063 92.9126 65.9693 93.487C65.5255 93.581 65.2226 94.0196 65.3584 94.453C65.4158 94.641 65.5307 94.8446 65.7291 95.0483C66.3975 95.7167 67.1024 96.5261 67.0346 97.1579C66.9615 97.7897 64.1469 107.753 64.1469 107.753L62.5438 107.711L61.0399 106.098C61.0399 106.098 60.2201 106.233 60.5908 107.946C60.9616 109.664 61.3584 109.957 61.3584 109.957L63.5464 109.983C63.5464 109.983 60.831 117.241 60.1679 118.165C59.5099 119.09 59.3219 118.035 58.6379 118.113C57.9538 118.191 58.1888 120.781 59.4577 121.544C60.7214 122.311 61.7814 119.962 62.0947 118.959C62.4132 117.956 65.421 109.346 65.421 109.346L69.8073 109.189C69.8073 109.189 71.0971 116.03 71.8909 117.293C72.3713 118.061 73.212 117.883 73.5514 117.09C74.1415 115.732 72.9665 113.44 72.6062 112.155C71.8804 109.581 71.1598 106.996 70.622 104.374ZM65.8962 107.581L67.5933 100.348C67.6194 100.249 67.7604 100.249 67.7813 100.348L69.2277 107.581H65.8962Z",fill:"white"}),(0,s.jsx)("path",{d:"M90.2389 115.366C90.2389 115.366 82.2704 115.523 82.2652 115.523C82.3278 115.523 82.5315 111.752 82.5472 111.528C82.7299 108.771 82.897 106.014 83.0224 103.251C83.0798 101.977 83.132 100.708 83.1477 99.4341C83.1686 97.9563 83.4036 96.2644 82.5576 94.9485C82.3279 94.5934 81.5759 93.9303 81.0798 94.2697C80.5159 94.6613 80.9754 97.2983 81.0798 99.408C81.3357 104.588 80.9023 109.805 80.9023 114.99C80.9023 114.99 80.2339 114.776 79.7953 114.687C79.4872 114.63 79.2626 114.823 79.1634 115.11C78.7509 116.327 79.3932 117.93 80.6673 118.285C82.6359 118.828 85.1059 117.851 86.9648 117.293C91.111 116.055 90.2389 115.366 90.2389 115.366Z",fill:"white"}),(0,s.jsx)("path",{d:"M60.0043 58.1918C61.2053 57.2728 62.4011 56.3537 63.6021 55.4347C62.2131 55.6383 60.8293 55.842 59.4455 56.0456C58.9965 55.0274 58.5422 54.0143 58.0931 52.9961C57.8163 54.0196 57.5448 55.0378 57.268 56.0613C55.6963 56.0718 54.1245 56.0822 52.5527 56.0926C53.7381 56.9177 54.9287 57.7427 56.114 58.5678C55.5866 59.9672 55.0592 61.3615 54.5318 62.7557C55.738 61.7688 56.9495 60.7766 58.161 59.7897C59.1166 60.4476 60.0722 61.1108 61.0278 61.7688C60.6883 60.573 60.3489 59.3824 60.0043 58.1918Z",fill:"white"}),(0,s.jsx)("path",{d:"M44.4585 60.2175C45.5708 60.9173 46.683 61.617 47.7953 62.3219C47.294 61.2462 46.7927 60.1758 46.2862 59.1053C47.4767 58.51 48.6621 57.9199 49.8475 57.3247C48.4846 57.074 47.1217 56.8181 45.7588 56.5675C45.3045 55.168 44.8502 53.7686 44.4011 52.3691L43.6335 56.5675C42.0356 56.5727 40.4377 56.5779 38.8398 56.5832C40.0931 57.4239 41.3463 58.2646 42.5996 59.1053C42.0826 60.3585 41.5656 61.6118 41.0435 62.865L44.4585 60.2175Z",fill:"white"}),(0,s.jsx)("path",{d:"M32.8607 53.9606C32.4168 52.911 31.973 51.8614 31.5291 50.8066C31.2054 51.8458 30.8816 52.8849 30.5579 53.9241C28.7198 53.6264 26.8817 53.334 25.0488 53.0416C26.6154 54.0442 28.1819 55.0468 29.7485 56.0441C29.1897 57.1355 28.6362 58.2216 28.0827 59.3078C29.2054 58.5767 30.3333 57.8457 31.4612 57.1146C32.6361 58.1642 33.8163 59.2138 34.9912 60.2686C34.4481 58.8639 33.8998 57.4645 33.3568 56.0598C34.2236 55.3705 35.0956 54.676 35.9624 53.9815C34.9285 53.9763 33.8946 53.9658 32.8607 53.9606Z",fill:"white"}),(0,s.jsx)("path",{d:"M71.6294 15.1116C69.5667 15.075 68.1882 17.853 67.102 19.2472C65.9741 20.6989 64.4911 22.2498 62.4755 21.9783C57.4103 21.2942 57.0291 14.8766 56.5383 10.8975C56.2406 8.51117 55.5044 5.50862 56.3503 3.18491C56.5592 2.60529 56.3503 1.94734 55.1545 0.996966C53.9535 0.0465935 53.3216 0.75154 53.3216 0.75154C52.1624 2.89771 51.8804 9.90018 51.8804 9.90018C51.8804 9.90018 47.4419 15.9209 45.3322 18.7042C43.2174 21.4822 40.7214 23.0696 39.1705 22.2916C36.8729 21.1428 38.3924 17.6755 37.4055 15.9053C36.8781 14.9653 35.4212 14.2447 34.3455 14.4432C33.3952 14.6207 33.1497 15.6755 33.6458 17.0123C34.1367 18.3491 33.8547 22.4326 33.8547 22.4326L28.9984 31.4454C27.8913 33.6125 26.7843 35.7691 25.6564 37.9205C25.0768 39.0327 24.3614 40.1554 24.612 41.4766C24.8575 42.7559 25.8914 43.8995 26.894 44.6619C29.5258 46.6618 33.4578 47.5182 36.6431 48.0874C42.1313 49.0639 47.8805 49.3406 53.447 49.1631C57.661 49.0273 61.8332 48.7088 65.9271 47.6435C68.3918 47.0065 70.914 46.171 71.1542 43.2415C71.2743 41.7899 71.5615 40.9387 70.9766 39.5497C70.679 38.85 70.3135 38.1711 69.9009 37.5393C69.8069 35.8892 69.7443 34.2339 69.7965 32.5838C69.8748 29.9624 71.4309 27.1896 72.6163 24.8973C72.6267 24.8764 75.5718 19.1585 75.6763 18.2081C75.7807 17.2577 73.6711 15.1481 71.6294 15.1116ZM67.4362 44.6358C65.3109 46.0926 62.5016 46.1814 60.0369 46.4843C55.0344 47.0952 49.8491 47.2153 44.7996 46.5469C42.2148 46.2075 39.6822 45.6383 37.181 44.8916C35.416 44.3694 33.0244 43.936 31.5832 42.7141C31.5832 42.7141 32.0845 41.3669 35.0975 40.8917C38.1052 40.4165 43.1495 40.5732 43.8075 39.0432C44.6116 37.1738 41.8963 36.0981 40.5386 35.931C37.8389 35.5968 34.7998 35.8109 32.0845 36.0041C32.0845 36.0041 31.2124 36.0563 31.8495 34.5002C32.4813 32.9441 36.4186 24.6518 36.4186 24.6518C36.4186 24.6518 39.0295 26.422 41.8023 25.8685C44.5385 25.3202 46.8988 22.0618 48.4288 19.9261C49.4732 18.4744 50.3609 16.9131 51.3217 15.404C51.8334 14.605 53.0814 13.3205 53.259 12.3753L54.0005 8.54772C54.0005 8.54772 54.7681 13.0333 54.3973 15.122C54.0266 17.2055 54.1571 18.8191 54.4234 19.7955C54.7576 21.0279 56.084 21.9991 56.9508 22.8712C57.9847 23.9103 59.097 25.0017 60.3607 25.7589C62.157 26.845 66.0107 25.5239 67.2012 24.5996C67.2012 24.5996 66.4597 30.1191 66.4336 31.9937C66.4075 33.8684 66.3814 38.6724 66.3814 38.6724L62.7679 37.6698C62.7679 37.6698 63.6608 39.0693 64.7992 39.675C66.0159 40.3277 68.538 40.8552 68.6372 42.5627C68.6895 43.393 68.1255 44.1658 67.4362 44.6358Z",fill:"white"}),(0,s.jsx)("path",{d:"M66.198 61.4196C65.3677 61.2316 64.6732 60.5371 64.48 59.7068C64.4696 59.6598 64.4591 59.6076 64.4226 59.5763C64.3965 59.5554 64.3599 59.5501 64.3234 59.5501C64.2033 59.5501 64.0936 59.6389 64.0309 59.7486C63.9735 59.853 63.9578 59.9836 63.9578 60.1037C63.9317 60.9966 64.5375 61.8686 65.3677 62.1819C66.3077 62.537 67.4251 62.1558 68.2502 61.6754C69.1118 61.1741 69.8272 60.4065 70.1979 59.477C70.5217 58.6729 70.5687 57.8008 70.1457 57.0332C69.7541 56.3283 69.1744 55.7278 68.8664 54.9758C68.5583 54.2395 69.0387 53.3101 69.7593 53.0438C70.271 52.8558 70.9081 52.9811 71.4459 52.9289C71.6392 52.9132 71.8428 52.8558 71.9577 52.7043C72.0673 52.5529 72.0621 52.3336 71.9681 52.1665C71.9107 52.062 71.8271 51.9785 71.7227 51.9158C71.5034 51.7696 71.2005 51.7174 70.9551 51.7279C70.5582 51.7487 70.1561 51.9002 69.8115 52.0934C69.2162 52.4224 68.6784 52.8662 68.245 53.3936C67.8585 53.8636 67.681 54.4484 67.7489 55.0594C67.869 56.1403 68.8768 56.8035 69.1797 57.8113C69.4669 58.746 69.2423 59.7747 68.6262 60.5162C68.0413 61.2159 67.1118 61.6284 66.198 61.4196Z",fill:"white"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_4440_14584",children:(0,s.jsx)("rect",{width:"94.3062",he
1ight:"124.504",fill:"white",transform:"translate(0 0.5)"})})})]});var eC=a(41962),ev=a(87671);function eb(e){let{locale:t,highlightNoPetsInHotel:a=!1}=e;return(0,s.jsxs)("div",{className:"w-full rounded-2xl border border-black/10 bg-[#F3F3F3] p-4 md:p-6",children:[(0,s.jsx)("p",{className:"mb-4 text-center text-base font-medium text-black/80 md:text-lg",children:ew.title[t]}),(0,s.jsxs)("ul",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3 sm:gap-2",children:[(0,s.jsx)(ej,{status:"allowed",icon:(0,s.jsx)(eC.A,{className:"h-7 w-7",strokeWidth:2}),label:ew.apartments[t],caption:ew.petsWelcome[t]}),(0,s.jsx)(ej,{status:"forbidden",highlighted:a,icon:(0,s.jsx)(eC.A,{className:"h-7 w-7",strokeWidth:2}),label:ew.hotel[t],caption:ew.noPets[t]}),(0,s.jsx)(ej,{status:"forbidden",icon:(0,s.jsx)(ev.A,{className:"h-7 w-7",strokeWidth:2}),label:ew.halfBoard[t],caption:ew.notAvailable[t]})]})]})}function ej(e){let{status:t,icon:a,label:n,caption:r,highlighted:i=!1}=e;return(0,s.jsxs)("li",{className:(0,l.cn)("flex flex-col items-center gap-2 rounded-xl px-2 py-3 text-center transition-colors",i&&"bg-red-50 ring-1 ring-red-200"),children:[(0,s.jsx)(ey,{status:t,children:a}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-medium text-black/80",children:n}),(0,s.jsx)("p",{className:(0,l.cn)("text-xs","forbidden"===t?"text-red-600":"text-green-700"),children:r})]})]})}function ey(e){let{status:t,children:a}=e;return(0,s.jsxs)("div",{className:"relative flex h-16 w-16 items-center justify-center",children:[(0,s.jsx)("div",{className:(0,l.cn)("flex h-16 w-16 items-center justify-center rounded-full border-4 bg-white","forbidden"===t?"border-red-600 text-black/70":"border-[#C8A96A] text-black/70"),children:a}),"forbidden"===t&&(0,s.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute left-1/2 top-1/2 h-1 w-[4.5rem] -translate-x-1/2 -translate-y-1/2 rotate-45 rounded-full bg-red-600"}),"allowed"===t&&(0,s.jsx)("span",{className:"absolute -right-1 -bottom-1 flex h-6 w-6 items-center justify-center rounded-full bg-green-600 text-white ring-2 ring-white",children:(0,s.jsx)(d.A,{className:"h-4 w-4",strokeWidth:3})})]})}let ew={title:{en:"Good to know",de:"Gut zu wissen",it:"Buono a sapere"},apartments:{en:"Apartments",de:"Appartements",it:"Appartamenti"},petsWelcome:{en:"Pets welcome",de:"Haustiere willkommen",it:"Animali ammessi"},hotel:{en:"Hotel",de:"Hotel",it:"Hotel"},noPets:{en:"No pets",de:"Keine Haustiere",it:"Niente animali"},halfBoard:{en:"Half board",de:"Halbpension",it:"Mezza pensione"},notAvailable:{en:"Not available",de:"Nicht verf\xfcgbar",it:"Non disponibile"}};function eN(e){var t,a,l,d,c;let{locale:u,data:m,roomCodex:p,offers:x,accommodation:f}=e,[g,v]=(0,n.useState)(!1),[b,j]=(0,n.useState)(void 0),[y,w]=(0,n.useState)([]),[N,k]=(0,n.useState)([]),[z,L]=(0,n.useState)(void 0),[D,A]=(0,n.use
1State)(void 0),[M,E]=(0,n.useState)([]),[_,O]=(0,n.useState)("families"),[P,F]=(0,n.useState)(2),[I,R]=(0,n.useState)(0),[q,W]=(0,n.useState)([]),[T,Y]=(0,n.useState)(""),[V,U]=(0,n.useState)(""),[K,X]=(0,n.useState)(""),[Q,ee]=(0,n.useState)(void 0),[en,er]=(0,n.useState)(1),[ei,eo]=(0,n.useState)(4),[ed,ef]=(0,n.useState)(0),[eg,eC]=(0,n.useState)(!1),[ev,ej]=(0,n.useState)(!1),[ey,ew]=(0,n.useState)(""),[eN,eS]=(0,n.useState)(u),[eL,eD]=(0,n.useState)(!1),eA=(0,n.useRef)(null),{hasParams:eM,adults:eE,children:e_,childrenAges:eO,offerId:eP,arrival:eH,departure:eF,mealPlan:eI,roomId:eZ}=function(){let e=(0,eu.useSearchParams)();return(0,n.useMemo)(()=>{let t=e.get("roomId")||void 0,a=e.get("offerId")||void 0,s=e.get("offerName")||void 0,n=e.get("offerBookingId")||void 0,r=e.get("ref")||void 0,i=e.get("lang")||void 0,l=e.get("arrival"),o=e.get("departure"),d=ep(l)?l:void 0,c=ep(o)?o:void 0,u=e.get("mealPlan"),m=em(u)?u:void 0,p=e.get("guests"),x=[],h=0,f=0,g=[];if(p)try{let e=JSON.parse(p),t=[];Array.isArray(e)&&(t=e.length>0&&Array.isArray(e[0])?e.flat():e),h=(x=t.map(e=>({age:Math.max(0,e),isAdult:e>=18}))).filter(e=>e.isAdult).length,f=x.filter(e=>!e.isAdult).length,g=x.filter(e=>!e.isAdult).map(e=>e.age)}catch(e){console.error("Error parsing guests parameter:",e),x=[],h=0,f=0,g=[]}let C=!!(t||a||s||n||r||i||d||c||m||x.length>0);return{roomId:t,offerId:a,offerName:s,offerBookingId:n,ref:r,lang:i,arrival:d,departure:c,mealPlan:m,guests:x,adults:h,children:f,childrenAges:g,hasParams:C}},[e])}(),eB=(0,n.useMemo)(()=>0!==y.length&&f.filter(e=>{var t;return y.includes(null!==(t=e.codex)&&void 0!==t?t:"")}).some(e=>{var t;return(null===(t=e.accommodationCategory)||void 0===t?void 0:t.slug)==="comfort-rooms"}),[y,f]);if((0,n.useEffect)(()=>{eB&&ef(0)},[eB]),(0,n.useEffect)(()=>{eM&&(eE&&F(Number(eE)),e_&&R(Number(e_)),eO&&W(eO),eI&&j(eI),eZ&&("RoomOnly"===eI||"BedAndBreakfast"===eI)&&w([eZ]),eP&&"BedAndBreakfast"===eI&&(L(eP),A(x.find(e=>{var t;return(null===(t=e.slug)||void 0===t?void 0:t.current)===eP}))))},[eM,eE,e_,eO,eZ,eP,eI,x]),(0,n.useEffect)(()=>{if(eH&&eF){let e=new Date(eH),t=new Date(eF);isNaN(e.getTime())||isNaN(t.getTime())||ee({from:e,to:t})}},[eH,eF]),(0,n.useEffect)(()=>{if(0===y.length){er(1),eo(4);return}let e=f.filter(e=>{var t;return y.includes(null!==(t=e.codex)&&void 0!==t?t:"")}),t=e.reduce((e,t)=>{var a;return e+((null===(a=(0,G.z)(t.codex,p))||void 0===a?void 0:a.minOccupancy)||1)},0),a=e.reduce((e,t)=>{var a;return e+((null===(a=(0,G.z)(t.codex,p))||void 0===a?void 0:a.maxOccupancy)||4)},0);er(t),eo(a)},[y,f,p]),!m)return null;let eR=async e=>{if(!Q||!Q.from||!Q.to){var t;ew(ek.dateRequired[u]),null===(t=eA.current)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"});return}v(!0);try{e.append("selectedRoomSlugs",JSON.stringify(y)),e.append("selectedRoomNames",JSON.stringify(N)),e.append("selectedRoomCodexes",JSON.stringify(y));let t=await C(e);t.success?eD(!0):t.error&&r.oR.error(t.error,{duration:5e3,className:"font-medium text-xl"})}catch(e){r.oR.error("An unexpected error occurred.",{duration:5e3,className:"font-medium text-xl"}),console.error("Form submission error:",e)}finally{v(!1)}},eq=()=>{var e;w([]),k([]),er(1),eo(4),L(void 0),A(void 0),E([]),j(void 0),O("families"),F(2),R(0),W([]),Y(""),U(""),X(""),ee(void 0),ef(0),eC(!1),ej(!1),ew(""),eS(u),null===(e=document.getElementById("anfragen-form"))||void 0===e||e.reset()};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("main",{id:"hero",className:"relative min-h-[100dvh] sm:min-h-screen",children:[(0,s.jsx)(r.l$,{position:"top-center"}),m.images&&(0,s.jsx)(ex.T,{...m.images}
1),(0,s.jsx)("div",{className:"bg-foreground/60 absolute inset-0"}),(0,s.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-[#FCF9F6] via-[rgba(252,249,246,0.55)] to-transparent"}),(0,s.jsxs)("div",{className:"relative grid h-full min-h-0 gap-16 px-4 pt-60 pb-40 md:gap-20 md:px-6 md:pt-70 md:pb-80 lg:px-8",children:[(0,s.jsxs)("div",{className:"text-background flex flex-col gap-6 text-center lg:mx-auto lg:w-full lg:max-w-[72.5rem] lg:gap-8",children:[(0,s.jsx)("h1",{className:"text-3xl leading-normal font-medium md:text-4xl lg:text-5xl",children:null===(t=m.title)||void 0===t?void 0:t.value}),(0,s.jsx)("p",{className:"text-lg leading-normal md:text-xl lg:text-2xl",children:null===(a=m.description)||void 0===a?void 0:a.value})]}),(0,s.jsx)("div",{className:"rounded-3xl bg-white px-4 py-6 md:p-10 lg:mx-auto lg:w-full lg:max-w-[60rem] xl:mx-auto xl:w-[90%]",children:(0,s.jsxs)("form",{id:"anfragen-form",onSubmit:e=>{e.preventDefault(),eR(new FormData(e.currentTarget))},className:"flex flex-col gap-8 md:gap-7",children:[(0,s.jsx)("input",{type:"hidden",name:"locale",value:u}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(eb,{locale:u,highlightNoPetsInHotel:eB}),eB&&(0,s.jsx)("div",{className:"w-full rounded-md border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-700",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(i.A,{className:"mt-0.5 h-4 w-4 shrink-0"}),(0,s.jsx)("p",{className:"leading-snug",children:ek.petsNotAllowedInHotel[u]})]})})]}),(0,s.jsx)("p",{className:"text-xl leading-normal font-medium",children:ek.detailsOfStay[u]}),(0,s.jsxs)("div",{className:"contents md:grid md:grid-cols-2 md:gap-6",children:[(0,s.jsxs)("div",{ref:eA,className:"relative",children:[(0,s.jsx)(H,{label:ek.arrival[u]+"/"+ek.departure[u],name:"date",placeholder:ek.arrival[u],value:Q,onChange:e=>{ee(e),(null==e?void 0:e.from)&&(null==e?void 0:e.to)&&ew("")},startDate:null!==(l=null==D?void 0:D.startDate)&&void 0!==l?l:void 0,endDate:null!==(d=null==D?void 0:D.endDate)&&void 0!==d?d:void 0,minNight:null!==(c=null==D?void 0:D.minNight)&&void 0!==c?c:void 0}),ey&&(0,s.jsx)("p",{className:"absolute bottom-0 translate-y-full pt-1 text-xs text-red-500",children:ey})]}),(0,s.jsx)(et,{adultsAmount:P,childrenAmount:I,childrenAges:q,setAdultsAmount:F,setChildrenAmount:R,setChildrenAges:W,minOccupancy:en,maxOccupancy:ei})]}),(0,s.jsxs)("div",{className:"grid gap-4 md:grid-cols-2 md:gap-6 xl:grid-cols-3",children:[(0,s.jsx)("input",{type:"hidden",name:"package",value:null!=b?b:""}),(0,s.jsx)(B,{label:ek.noParticularRoom[u],active:void 0===b,onClick:()=>{j(void 0),w([]),k([]),er(1),eo(4),L(void 0),A(void 0),E([]),j(void 0)}}),("RoomOnly"===b||"BedAndBreakfast"===b)&&(0,s.jsx)("input",{type:"hidden",name:"rooms",value:N.join(",")}),(0,s.jsx)($,{locale:u,adultsAmount:P,childrenAmount:I,onRoomSelect:e=>{var t;let a=null===(t=e.slug)||void 0===t?void 0:t.current,s=e.name,n=e.codex;a&&s&&n&&(y.includes(n)?(w(e=>e.filter(e=>e!==n)),k(e=>e.filter(e=>e!==s))):(w(e=>[...e,n]),k(e=>[...e,s]))),"BedAndBreakfast"!==b&&j("RoomOnly")},selectedRoomCodexes:y,roomCodex:p,accommodation:f,children:(0,s.jsx)(B,{label:ek.specificRoomRequest[u]+(N.length>0?" (".concat(N.join(", "),")"):""),active:y.length>0})}),"BedAndBreakfast"===b&&(0,s.jsx)("input",{type:"hidden",name:"offers",value:M.join(",")}),(0,s.jsx)(el,{locale:u,adultsAmount:P,childrenAmount:I,onOfferSelect:e=>{var t;let a=null===(t=e.slug)||void 0===t?void 0:t.current,s=e.title;a&&s&&(L(a),E(e=>[...e,s])),j("BedAndBreakfast"),A(e),ee(void 0)},selectedOfferSlug:z,offers:x,children:(0,s.jsx)(B,{label:ek.specificOffer[u]+(M.length>0?" (".concat(M.map(e=>e.length>10?e.split("").slice(0,10).join("")+"...":e).join(", "),")"):""),active:void 0!==z})})]}),(0,s.jsxs)("div",{className:"w-full space-y-2",children:[(0,s.jsx)(o,{label:ek.pets[u],className:"w-full justify-between",name:"pets",value:ed,onChange:ef,disabled:eB}),!eB&&(0,s.jsx)("p",{className:"text-foreground/50 whitespace-normal",children:ek.petsSurcharge[u]})]}),(0,s.jsx)("div",{className:"h-px w-full bg-[#E2D3C3]"}),(0,s.jsx)("p",{className:"text-xl leading-normal font-medium",children:ek.personalInformation[u]}),(0,s.jsx)(es,{value:_,onValueChange:e=>O(e),required:!0}),(0,s.jsxs)("div",{className:"contents md:grid md:grid-cols-2 md:gap-6",children:[(0,s.jsx)(Z.p,{type:"text",name:"name",label:ek.name[u],placeholder:ek.name[u],required:!0,value:T,onChange:e=>Y(e.target.value)}),(0,s.jsx)(Z.p,{type:"text",name:"surname",label:ek.surname[u],placeholder:ek.surname[u],required:!0,value:V,onChange:e=>U(e.target.value)})]}),(0,s.jsxs)("div",{className:"contents md:grid md:grid-cols-2 md:gap-6",children:[(0,s.jsx)(Z.p,{type:"email",name:"email",label:ek.email[u],placeholder:ek.email[u],required:!0,value:K,onChange:e=>X(e.target.value)}),(0,s.jsx)(Z.p,{type:"tel",name:"phone",label:ek.phone[u],placeholder:ek.phone[u],required:!0})]}),(0,s.jsx)(ec,{value:eN,onChange:eS,label:ek.preferredContactLanguage[u]}),(0,s.jsx)(ea.T,{name:"message",placeholder:ek.message[u],rows:4,label:ek.message[u]}),(0,s.jsx)(h,{label:ek.marketingConsent[u],id:"marketing-consent",name:"marketing-consent",additionalInformation:ez.marketingConsent[u],required:!0,checked:eg,onCheckedChange:eC}),(0,s.jsx)(h,{label:ek.profilingConsent[u],id:"profiling-consent",name:"profiling-consent",additionalInformation:ez.profilingConsent[u],required:!0,checked:ev,onCheckedChange:ej}),(0,s.jsxs)(S.$,{size:"lg",type:"submit",disabled:g,className:"h-auto justify-between px-10 py-2.5 text-xl leading-normal font-normal",children:[g?ek.sending[u]:ek.inquireNow[u]," ",(0,s.jsx)(J.i,{})]})]})})]})]}),(0,s.jsx)(eh,{isOpen:eL,onClose:()=>{eD(!1),eq()},name:T,email:K})]})}let ek={arrival:{en:"Arrival",de:"Ankunft",it:"Arrivo"},departure:{en:"Departure",de:"Abfahrt",it:"Partenza"},salutation:{en:"Salutation",de:"Anrede",it:"Saluto"},mr:{en:"Mr.",de:"Herr",it:"Sig."},ms:{en:"Ms.",de:"Frau",it:"Sig.ra"},families:{en:"Family",de:"Familie",it:"Famiglia"},name:{en:"Name",de:"Name",it:"Nome"},surname:{en:"Surname",de:"Nachname",it:"Cognome"},email:{en:"Email",de:"E-Mail",it:"E-mail"},phone:{en:"Phone Number",de:"Telefonnummer",it:"Numero di telefono"},message:{en:"Message",de:"Nachricht",it:"Messaggio"},inquireNow:{en:"Inquire Now",de:"Jetzt Anfragen",it:"Richiedi ora"},adults:{en:"Adults",de:"Erwachsene",it:"Adulti"},over17YearsOld:{en:"Over 17 years old",de:"\xdcber 17 Jahre alt",it:"Pi\xf9 di 17 anni"},children:{en:"Children",de:"Kinder",it:"Bambini"},upTo17YearsOld:{en:"Up to 17 years old",de:"Bis 17 Jahre alt",it:"Fino a 17 anni"},pets:{en:"Number of pets",de:"Anzahl Haustiere",it:"Numero di animali domestici"},petsNote:{en:"Pets are only allowed in apartments.",de:"Haustiere sind nur in den Wohnungen erlaubt.",it:"Gli animali domestici sono ammessi solo in appartamenti."},sending:{en:"Sending...",de:"Wird gesendet...",it:"Invio in corso..."},marketingConsent:{en:"Marketing activity consent",de:"Einwilligung f\xfcr Marketingaktivit\xe4ten",it:"Consenso attivit\xe0 di marketing"},profilingConsent:{en:"Profiling activity consent",de:"Einwilligung f\xfcr Profilierungsaktivit\xe4ten",it:"Consenso attivit\xe0 di profilazione"},detailsOfStay:{en:"Details of your stay",de:"Details Ihres Aufenthalts",it:"Dettagli del tuo soggiorno"},personalInformation:{en:"Personal Information",de:"Pers\xf6nliche Informationen",
1it:"Informazioni personali"},noParticularRoom:{en:"No particular room",de:"Kein bestimmtes Zimmer",it:"Nessuna camera specifica"},specificRoomRequest:{en:"Specific room request",de:"Spezifische Zimmeranfrage",it:"Richiesta camera specifica"},specificOffer:{en:"Specific offer",de:"Spezielles Angebot",it:"Offerta specifica"},petsSurcharge:{en:"surcharge of €14 per pet per day.",de:"Aufschlag von 14€ pro Tier und pro Tag.",it:"supplemento di 14€ al giorno per ogni animale domestico."},apply:{en:"Apply",de:"Anwenden",it:"Applica"},dateRequired:{en:"Please select arrival and departure dates.",de:"Bitte w\xe4hlen Sie Ankunfts- und Abreisedatum aus.",it:"Si prega di selezionare le date di arrivo e partenza."},preferredContactLanguage:{en:"Preferred language",de:"Bevorzugte Sprache",it:"Lingua preferita"},petsNotAllowedInHotel:{en:"Pets are not allowed in hotel rooms.",de:"Haustiere sind in den Hotelzimmern nicht erlaubt.",it:"Gli animali domestici non sono ammessi nelle camere dell'hotel."}},ez={marketingConsent:{de:(0,s.jsxs)("p",{children:["Der Unterfertigte, der die Aufkl\xe4rung laut"," ",(0,s.jsx)(v.Link,{href:"/legal/privacy-policy",className:"underline",children:"Link"})," ","gelesen und verstanden hat, stimmt – bezugnehmend auf die Datenverarbeitung, f\xfcr welche die Einwilligung der betroffenen Person gesetzlich vorgeschrieben ist – der Verarbeitung seiner personenbezogenen Daten seitens Hotel Royal f\xfcr die \xdcbermittlung von Werbe- und Marketingmitteilungen \xfcber unsere Dienstleistungen, Aktionen/Angebote usw., einschlie\xdflich des Versands von Newslettern, \xfcber automatisierte (E-Mail, SMS usw.) und nicht-automatisierte (postalisch, Call
1center) Systeme zu."]}),en:(0,s.jsxs)("p",{children:["The undersigned, who has read and understood the information pursuant to"," ",(0,s.jsx)(v.Link,{href:"/legal/privacy-policy",className:"underline",children:"Link"})," ","agrees - with reference to the data processing for which the consent of the data subject is required by law - to the processing of his/her personal data by Hotel Royal for the transmission of advertising and marketing communications regarding our services, actions/offers, etc., including the sending of newsletters, through automated (e-mail, SMS, etc.) and non-automated (postal, call center) systems."]}),it:(0,s.jsxs)("p",{children:["Il sottoscritto, che ha letto e compreso l'informativa ai sensi del"," ",(0,s.jsx)(v.Link,{href:"/legal/privacy-policy",className:"underline",children:"Link"})," ","acconsente - in riferimento al trattamento dei dati per il quale \xe8 richiesta per legge il consenso dell'interessato - al trattamento dei propri dati personali da parte di Hotel Royal per la trasmissione di comunicazioni pubblicitarie e di marketing relative ai nostri servizi, azioni/offerte, ecc., compresa l'invio di newsletter, tramite sistemi automatizzati (e-mail, SMS, ecc.) e non automatizzati (postali, call center)."]})},profilingConsent:{de:(0,s.jsxs)("p",{children:[" ","Der Unterfertigte, der die Aufkl\xe4rung laut folgendem"," ",(0,s.jsxs)(v.Link,{href:"/legal/privacy-policy",className:"underline",children:["Link"," "]})," ","gelesen und verstanden hat, stimmt – bezugnehmend auf die Datenverarbeitung, f\xfcr welche die Einwilligung der betroffenen Person gesetzlich vorgeschrieben ist – der Verarbeitung seiner personenbezogenen Daten seitens Hotel Royal zum Zwecke der gewerblichen Profilierung und Formulierung personalisierter Angebote und personalisierter Werbung auf der Grundlage der get\xe4tigten K\xe4ufe und/oder des Navigationsverhaltens und/oder sonstigen Konsumverhaltens und/oder seiner in den Formularen der Webseite eingegebenen Daten und/oder seiner Antworten in Marktforschungsumfragen zu."]}),en:(0,s.jsxs)("p",{children:["The undersigned, who has read and understood the information pursuant to the following"," ",(0,s.jsx)(v.Link,{href:"/legal/privacy-policy",className:"underline",children:"Link"})," ","agrees - with reference to the data processing for which the consent of the data subject is required by law - to the processing of his/her personal data by Hotel Royal for the purpose of commercial profiling and formulation of personalized offers and personalized advertising on the basis of purchases made and/or navigation behavior and/or other consumption behavior and/or data entered in the forms on the website and/or answers in market research surveys."]}),it:(0,s.jsxs)("p",{children:["Il sottoscritto, che ha letto e compreso l'informativa ai sensi del seguente"," ",(0,s.jsx)(v.Link,{href:"/legal/privacy-policy",className:"underline",children:"Link"})," ","acconsente - in riferimento al trattamento dei dati per il quale \xe8 richiesta per legge il consenso dell'interessato - al trattamento dei propri dati personali da parte di Hotel Royal per la finalit\xe0 di profilazione commerciale e formulazione di offerte personalizzate e pubblicit\xe0 personalizzata sulla base degli acquisti effettuati e/o del comportamento di navigazione e/o di altro comportamento di consumo e/o dei dati inseriti nei moduli del sito web e/o delle risposte ai sondaggi."]})}}},54165:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>m,HM:()=>c,L3:()=>x,c7:()=>p,lG:()=>l,rr:()=>h,zM:()=>o});var s=a(22342);a(33670);var n=a(25776),r=a(54416),i=a(59434);function l(e){let{...t}=e;return(0,s.jsx)(n.bL,{"data-slot":"dialog",...t})}function o(e){let{...t}=e;return(0,s.jsx)(n.l9,{"data-slot":"dialog-trigger",...t})}function d(e){let{...t}=e;return(0,s.jsx)(n.ZL,{"data-slot":"dialog-portal",...t})}function c(e){let{...t}=e;return(0,s.jsx)(n.bm,{"data-slot":"dialog-close",...t})}function u(e){let{className:t,...a}=e;return(0,s.jsx)(n.hJ,{"data-slot":"dialog-overlay",className:(0,i.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function m(e){let{className:t,children:a,overlayClassName:l,hideCloseButton:o,...c}=e;return(0,s.jsxs)(d,{"data-slot":"dialog-portal",children:[(0,s.jsx)(u,{className:l}),(0,s.jsxs)(n.UC,{"data-slot":"dialog-content",className:(0,i.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...c,children:[a,!o&&(0,s.jsxs)(n.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,s.jsx)(r.A,{}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function p(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"dialog-header",className:(0,i.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function x(e){let{className:t,...a}=e;return(0,s.jsx)(n.hE,{"data-slot":"dialog-title",className:(0,i.cn)("text-lg leading-none font-semibold",t),...a})}function h(e){let{className:t,...a}=e;return(0,s.jsx)(n.VY,{"data-slot":"dialog-description",className:(0,i.cn)("text-muted-foreground text-sm",t),...a})}},59409:(e,t,a)=>{"use strict";a.d(t,{bq:()=>u,eb:()=>p,gC:()=>m,l6:()=>d,yv:()=>c});var s=a(22342);a(33670);var n=a(7359),r=a(66474),i=a(5196),l=a(47863),o=a(59434);function d(e){let{...t}=e;return(0,s.jsx)(n.bL,{"data-slot":"select",...t})}function c(e){let{...t}=e;return(0,s.jsx)(n.WT,{"data-slot":"select-value",...t})}function u(e){let{className:t,size:a="default",children:i,...l}=e;return(0,s.jsxs)(n.l9,{"data-slot":"select-trigger","data-size":a,className:(0,o.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...l,children:[i,(0,s.jsx)(n.In,{asChild:!0,children:(0,s.jsx)(r.A,{className:"size-4 opacity-50"})})]})}function m(e){let{className:t,children:a,position:r="popper",noPortal:i=!1,...l}=e;return i?(0,s.jsxs)(n.UC,{"data-slot":"select-content",className:(0,o.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...l,children:[(0,s.jsx)(x,{}),(0,s.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:a}),(0,s.jsx)(h,{})]}):(0,s.jsx)(n.ZL,{children:(0,s.jsxs)(n.UC,{"data-slot":"select-content",className:(0,o.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...l,children:[(0,s.jsx)(x,{}),(0,s.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:a}),(0,s.jsx)(h,{})]})})}function p(e){let{className:t,children:a,...r}=e;return(0,s.jsxs)(n.q7,{"data-slot":"select-item",className:(0,o.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...r,children:[(0,s.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(n.VF,{children:(0,s.jsx)(i.A,{className:"size-4"})})}),(0,s.jsx)(n.p4,{children:a})]})}function x(e){let{className:t,...a}=e;return(0,s.jsx)(n.PP,{"data-slot":"select-scroll-up-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(l.A,{className:"size-4"})})}function h(e){let{className:t,...a}=e;return(0,s.jsx)(n.wn,{"data-slot":"select-scroll-down-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(r.A,{className:"size-4"})})}},69535:(e,t,a)=>{"use strict";a.d(t,{i:()=>s,z:()=>n});let s=[{title:"H",value:"H",name:"Panorama deluxe",minOccupancy:2,maxOccupancy:4,price:-1,pricePerPerson:-1}
1,{title:"I",value:"I",name:"Apartment Hotel Royal (2-4 pers.)",minOccupancy:2,maxOccupancy:4,price:-1,pricePerPerson:-1,minDisplayPrice:130},{title:"F",value:"F",name:"helmet",minOccupancy:2,maxOccupancy:4,price:-1,pricePerPerson:-1},{title:"B",value:"B",name:"Croda Rossa",minOccupancy:2,maxOccupancy:4,price:-1,pricePerPerson:-1},{title:"K",value:"K",name:"Apartment Hotel Royal (2-3 pers.)",minOccupancy:2,maxOccupancy:3,price:-1,pricePerPerson:-1,minDisplayPrice:110},{title:"E",value:"E",name:"panorama",minOccupancy:2,maxOccupancy:4,price:-1,pricePerPerson:-1},{title:"G",value:"G",name:"Sundial deluxe",minOccupancy:2,maxOccupancy:4,price:-1,pricePerPerson:-1},{title:"N",value:"N",name:"Tower deluxe",minOccupancy:2,maxOccupancy:4,price:-1,pricePerPerson:-1}],n=(e,t)=>t?t.find(t=>t.value===e):s.find(t=>t.value===e)},76011:(e,t,a)=>{"use strict";a.d(t,{p:()=>r});var s=a(22342),n=a(59434);let r=e=>{let{label:t,disabled:a,name:r,placeholder:i,required:l,onChange:o,value:d,id:c,type:u,className:m}=e;return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("input",{type:u,id:c,name:r,placeholder:" ",required:l,onChange:o,value:d,disabled:a,className:(0,n.cn)("border-foreground text-foreground placeholder:text-foreground/50 peer relative z-10 w-full rounded-none border-b py-2.5 text-base focus:ring-0 focus:outline-none",m)}),(0,s.jsxs)("label",{htmlFor:c,className:"text-foreground/50 absolute top-2.5 left-0 transition-all peer-focus:-top-4 peer-focus:text-xs peer-[:not(:placeholder-shown)]:-top-4 peer-[:not(:placeholder-shown)]:text-xs",children:[t,l&&(0,s.jsx)("span",{className:"ml-0.5 text-red-500",children:"*"})]}),(0,s.jsx)("span",{className:"sr-only",children:i})]})}},78229:(e,t,a)=>{"use strict";function s(e,t,a){if(!e)return"";if(!t)return n(e,a);let s="string"==typeof e?new Date(e):e,r="string"==typeof t?new Date(t):t,i={day:"numeric"},l={month:"long"},o=new Intl.DateTimeFormat(a,i).format(s),d=new Intl.DateTimeFormat(a,i).format(r),c=new Intl.DateTimeFormat(a,l).format(s),u=new Intl.DateTimeFormat(a,l).format(r);if(c===u)if("de"===a)return"".concat(o,". - ").concat(d,". ").concat(u);else return"".concat(o," - ").concat(d," ").concat(u);return"de"===a?"".concat(o,". ").concat(c," - ").concat(d,". ").concat(u):"".concat(o," ").concat(c," - ").concat(d," ").concat(u)}function n(e,t){let a="string"==typeof e?new Date(e):e,s={month:"short",day:"numeric",year:"numeric"};switch(t){case"de":return new Intl.DateTimeFormat(t,{day:"numeric",month:"short",year:"numeric"}).format(a);case"en":case"it":return new Intl.DateTimeFormat(t,s).format(a);default:return new Intl.DateTimeFormat("en",s).format(a)}}function r(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en";if(!e||!t)return"";let s=new Date(e),n=new Date(t),r=e=>e.toString().padStart(2,"0");if("en"===a)return"".concat(s.getFullYear(),"/").concat(r(s.getMonth()+1),"/").concat(r(s.getDate())," – ").concat(n.getFullYear(),"/").concat(r(n.getMonth()+1),"/").concat(r(n.getDate()));if("de"===a);else if("it"===a)return"".concat(r(s.getDate()),"/").concat(r(s.getMonth()+1),"/").concat(s.getFullYear()," – ").concat(r(n.getDate()),"/").concat(r(n.getMonth()+1),"/").concat(n.getFullYear());return"".concat(r(s.getDate()),".").concat(r(s.getMonth()+1),".").concat(s.getFullYear()," – ").concat(r(n.getDate()),".").concat(r(n.getMonth()+1),".").concat(n.getFullYear())}a.d(t,{L_:()=>r,Yq:()=>n,tX:()=>s})}},e=>{var t=t=>e(e.s=t);e.O(0,[6715,5592,4277,6874,4945,5100,3296,4262,3676,9676,4527,3063,7636,3657,9797,160,6671,1238,9461,5044,6708,4451,7358],()=>t(35039)),_N_E=e.O()}]);

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.