PageSourceSearch

https://www.chartercheck.com/_next/static/chunks/pages/[...slug]-e9209aa4da350de1.js

js chartercheck.com collected 2026-10-05 11:46:09 UTC 46,568 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330],{38849:function(a,b,c){"use strict";var d,e,f,g=c(67294);function h(){return(h=Object.assign?Object.assign.bind():function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a}).apply(this,arguments)}b.Z=function(a){return g.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 284.5 285",style:{enableBackground:"new 0 0 284.5 285"},xmlSpace:"preserve"},a),d||(d=g.createElement("path",{d:"M273.6 201.9c0 20-9.8 38.7-26.3 50.1l-30 20.8-30-20.8c-16.4-11.4-26.3-30.1-26.3-50.1v-44.8c21.1 1.4 41.6-6.5 56.2-21.6 14.7 15.2 35.2 23 56.2 21.6v44.8zM11.1 11.3h154.7v42.2c0 2.6 2.1 4.7 4.7 4.7h42.2v68.5c-13.7 15.6-33.9 23.4-54.5 20.8l-1.2-.1c-.2 0-.4.1-.6.1v-.1h-46.9v9.4h42.2v9.4h-75v9.4h75V199H95.5v9.4h56.6c.3 3.2.7 6.3 1.4 9.4H29.9v9.4h126.5c1.2 3.2 2.8 6.4 4.5 9.4h-37.2v9.4h43.6c4.2 5.3 9.1 10.1 14.8 14l20.3 14.1H11.1V11.3zm195 37.5h-30.9V17.9l30.9 30.9zm75.3 99.6c-1-.9-2.3-1.3-3.7-1.1l-1.2.1c-20.6 2.6-40.9-5.2-54.5-20.8V53.4c0-.1-.1-.2-.1-.3 0-.4-.1-.8-.2-1.2-.1-.1-.1-.3-.2-.4-.2-.5-.5-1-.9-1.4L173.8 3.3c-.4-.4-.9-.7-1.4-.9-.1-.1-.3-.1-.5-.2-.3-.2-.7-.2-1.1-.2-.1 0-.2-.1-.3-.1H6.4C3.9 1.9 1.8 4 1.8 6.6v271.9c0 2.6 2.1 4.7 4.7 4.7h210.9c.9 0 1.9-.3 2.7-.8l32.7-22.6c19-13.1 30.3-34.7 30.3-57.8v-50c-.1-1.5-.7-2.7-1.7-3.6"})),e||(e=g.createElement("path",{d:"M254.9 201.9c0 13.8-6.8 26.8-18.2 34.7L217.4 250l-19.3-13.4c-11.4-7.9-18.2-20.9-18.2-34.7v-27c13.5-2.1 26.3-7.2 37.5-15 11.2 7.7 24 12.9 37.5 15v27zm5.2-35.8c-14.5-1.6-28.3-7-39.9-15.7-1.7-1.2-4-1.2-5.6 0-11.6 8.7-25.4 14.2-39.9 15.7-2.4.3-4.2 2.2-4.2 4.6v31.1c0 16.9 8.3 32.8 22.2 42.4l22 15.2c.8.5 1.7.8 2.7.8s1.9-.3 2.7-.8l22-15.2c13.9-9.6 22.2-25.5 22.2-42.4v-31.1c-.1-2.3-1.9-4.3-4.2-4.6"})),f||(f=g.createElement("path",{d:"m196.7 209.1-5.6 7.5 18.8 14.1c.8.6 1.8.9 2.8.9 1.4 0 2.8-.6 3.7-1.8l32.8-42.2-7.4-5.8-30 38.5-15.1-11.2M147.1 25.3h-75v9.4h75v-9.4M147.1 44.1h-75v9.4h75v-9.4M100.2 72.2H29.9v9.4h70.3v-9.4M123.6 90.9H29.9v9.4h93.8v-9.4M118.9 109.7h-89v9.4H119v-9.4M109.6 81.6H194v-9.4h-84.4v9.4M133 100.3h60.9v-9.4H133v9.4M133 109.7h-4.7v9.4h65.6v-9.4H133M193.9 128.4h-164v9.4H194v-9.4M100.2 147.2H29.9v9.4h70.3v-9.4M86.1 198.8H29.9v9.4h56.2v-9.4M67.4 165.9H29.9v9.4h37.5v-9.4M29.9 245.6h84.4v-9.4H29.9v9.4"})))}},84459:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return c(97787)}])},25729:function(a,b,c){"use strict";c.d(b,{Z:function(){return j}});var d=c(85893),e=c(88494),f=c(72821);c.n(f);var g=c(965),h=c(25675),i=c(41664);function j(a){var b,c=a.items;return(0,d.jsx)("div",{children:c&&c.length>0&&(0,d.jsx)(e.tq,{slidesPerView:3,spaceBetween:10,loop:!0,breakpoints:{"@0.1":{slidesPerView:1},"@0.75":{slidesPerView:2},"@1.00":{slidesPerView:3}},modules:[g.W_],navigation:!0,className:"w-full",children:c.map(function(a,c){var f,g;return(0,d.jsx)(d.Fragment,{children:a.thumbnail.length>0&&(0,d.jsx)(e.o5,{children:(0,d.jsx)(i.default,{href:a.link,children:(0,d.jsx)("a",{children:(0,d.jsxs)("div",{className:"relative group h-[250px]",children:[(0,d.jsx)(h.default,{src:a.thumbnail[0].publicUrl,alt:null!==(b=null===(f=a.thumbnail[0])|| void 0===f?void 0:null===(g=f.properties)|| void 0===g?void 0:g.alternative)&& void 0!==b?b:"",layout:"fill",objectFit:"cover"}),(0,d.jsx)("div",{className:"absolute text-primary z-20 bg-action group-hover:bg-primary group-hover:text-action right-0 bottom-0 px-3 py-2",children:(0,d.jsx)("div",{className:"cms-offer-text",dangerouslySetInnerHTML:{__html:a.offer}})})]})})})},c)})})})})}},51190:function(a,b,c){"use strict";c.r(b),c.d(b,{"default":function(){return i}});var d=c(85893),e=c(89388),f=c(81474),g=c(25675),h=c(34892);function i(a){var b=a.statusCode,c=a.title;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(e.Z,{title:"".concat(b||"Ups!"," - ").concat(void 0===c?"Seite nicht gefunden":c)}),(0,d.jsx)("div",{className:"max-w-7xl mx-auto w-full px-6 py-6 lg:py-4 xl:px-0 relative overflow-hidden",children:(0,d.jsxs)("div",{className:"grid md:grid-cols-2 min-h-screen",children:[(0,d.jsxs)("div",{className:"flex flex-col items-start justify-center relative",children:[(0,d.jsx)("h1",{className:"my-2 font-bold text-4xl",children:"Es ist ein Fehler aufgetreten - bitte entschuldigen Sie."}
1),(0,d.jsxs)("p",{className:"my-2 text-gray-800 mb-20 text-lg",children:["Sie k\xf6nnen den Vorgang wiederholen oder unser"," ",(0,d.jsx)(h.Z,{href:"/kontakt",children:(0,d.jsx)("a",{className:"underline",children:"Kontaktformular"})})," ","nutzen."]}),(0,d.jsx)(f.Z,{href:"/",variant:"primary",children:"Zur Startseite"}),(0,d.jsx)("p",{style:{fontSize:"20rem"},className:"font-bold text-primary-700 pointer-events-none opacity-10 absolute left-1/2 top-1/2 -translate-y-1/2 -translate-x-1/2",children:b})]}),(0,d.jsx)("div",{className:"flex-col items-center justify-center hidden md:flex",children:(0,d.jsx)(g.default,{src:"/images/Group.png",width:300,alt:"Broke",height:200,objectFit:"contain"})})]})})]})}},97787:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSP":function(){return Ia},"default":function(){return Ja}});var d=c(85893),e=c(34051),f=c.n(e),g=c(45363),h=c(89388),i=c(80384),j=c(66261),k=c(15948),l=c(88494);c(72821);var m=c(965),n=c(67294),o=c(25675),p=c(34892),q=c(1075),r=c(43424),s=c(68395),t=c(6231),u=c(54319),v=c(20614);function w(a){var b=a.searchQueryParams,c=(0,n.useState)([]),e=c[0],f=c[1];return(0,n.useEffect)(function(){var a=b;(null==b?void 0:b.limit)===void 0&&(a.limit=10),(0,r.Io)("/boat",a).then(function(a){f(a.data)})},[b]),(0,d.jsx)("div",{children:e.length>0&&(0,d.jsx)(l.tq,{slidesPerView:3,spaceBetween:10,loop:!0,breakpoints:{"@0.1":{slidesPerView:1},"@0.75":{slidesPerView:2},"@1.00":{slidesPerView:3}},modules:[m.W_],navigation:!0,className:"w-full",children:e.map(function(a,b){return(0,d.jsx)(l.o5,{children:(0,d.jsx)(p.Z,{href:{pathname:"/yacht/".concat(a.slug)},children:(0,d.jsxs)("div",{className:"text-primary cursor-pointer",children:[(0,d.jsx)("h5",{className:"p-1 pb-0 font-bold bg-action text-center",children:a.title}),(0,d.jsx)(o.default,{src:(0,q.Z)(a.photo_url),layout:"responsive",width:"400",height:"250",className:"object-cover",alt:a.title,title:a.title}),0===a.license&&(0,d.jsx)("div",{className:"-mt-7 w-3/5 relative bg-primary bg-opacity-75 text-white text-sm p-1 text-center",children:"auch ohne F\xfchrerschein"}),(0,d.jsxs)("div",{className:"relative p-2 bg-gray-200",children:[(0,d.jsxs)("div",{className:"flex",children:[(0,d.jsx)(v.Z,{className:"mr-2 ml-0.5 fill-primary",width:12}),(0,d.jsx)("span",{className:"line-clamp-1",children:a.basements[0].location.half})]}),(0,d.jsxs)("div",{className:"flex",children:[(0,d.jsxs)("div",{className:" basis-1/3 ",children:[(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsx)(s.Z,{height:14,className:"mr-1 fill-primary"}),(0,d.jsx)("span",{className:"font-semibold",children:"Kojen"})]}),(0,d.jsxs)("div",{className:"ml-5",children:[a.berth.fixed,"(+",a.berth.variable,")"]})]}),(0,d.jsxs)("div",{className:"basis-1/3",children:[(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsx)(t.Z,{height:14,className:"mx-1 fill-primary"}),(0,d.jsx)("span",{className:"font-semibold",children:"Kabinen"})]}),(0,d.jsx)("div",{className:"ml-5",children:a.cabins})]}),(0,d.jsxs)("div",{className:"basis-1/3",children:[(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsx)(u.Z,{height:14,className:"mx-1 fill-primary"}),(0,d.jsx)("span",{className:"font-semibold",children:"L\xe4nge"})]}),(0,d.jsxs)("div",{className:"ml-5",children:[a.length,"\xa0m"]})]})]})]}),(0,d.jsx)("div",{className:"w-full",children:(0,d.jsxs)("div",{className:"text-right font-bold pr-2 w-1/2 bg-primary text-white relative left-1/2",children:["Schon ab"," ",(0,d.jsxs)("strong",{children:[a.min_price,"\xa0€"]})]})})]})})},b)})})})}var x=c(6512),y=c(61782),z=c(17587);function A(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function B(a){var b=a.items,c={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[]};return b.forEach(function(a){a.items.forEach(function(a){c.mainEntity.push({"@type":"Question",name:a.question,acceptedAnswer:{"@type":"Answer",text:a.answer}})})}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("script",function(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{},d=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(d=d.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),d.forEach(function(b){A(a,b,c[b])})}return a}({},(0,g.h6)(c))),(0,d.jsx)("div",{className:"grid grid-cols-2 gap-10",children:b.map(function(a){return(0,d.jsx)("div",{children:(0,d.jsx)("div",{className:"mb-14",children:(0,d.jsxs)("div",{className:" divide-y-2 divide-gray-200",children:[(0,d.jsx)(z.Z,{children:a.name}),(0,d.jsx)("dl",{className:"mt-6 space-y-4 divide-y divide-gray-200",children:a.items.map(function(a){return(0,d.jsx)(x.p,{as:"div",className:"pt-4",children:function(b){var c=b.open;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("dt",{className:"text-lg",children:(0,d.jsxs)(x.p.Button,{className:"text-left w-full flex justify-between items-start text-gray-400",children:[(0,d.jsx)("h3",{className:"font-semibold text-gray-900",children:a.question}),(0,d.jsx)("span",{className:"ml-6 h-6 flex items-center",children:(0,d.jsx)(y.Z,{className:function(){for(var a=arguments.length,b=new Array(a),c=0;c<a;c++)b[c]=arguments[c];
1return b.filter(Boolean).join(" ")}(c?"-rotate-180":"rotate-0","h-6 w-6 transform"),"aria-hidden":"true"})})]})}),(0,d.jsx)(x.p.Panel,{as:"dd",className:"mt-2 pr-12",children:(0,d.jsx)("div",{className:"text-base",dangerouslySetInnerHTML:{__html:a.answer}})})]})}},a.question)})})]})})},a.name)})})]})}const C=n.forwardRef(function(a,b){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:b},a),n.createElement("path",{fillRule:"evenodd",d:"M7.707 14.707a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l2.293 2.293a1 1 0 010 1.414z",clipRule:"evenodd"}))});var D=C;const E=n.forwardRef(function(a,b){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:b},a),n.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))});var F=E,G=c(9008);function H(a){var b=a.pagination,c=a.position,e=void 0===c?"bottom":c;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(G.default,{children:[b.prev&&(0,d.jsx)("link",{rel:"prev",href:b.prev}),b.next&&(0,d.jsx)("link",{rel:"next",href:b.next})]}),(0,d.jsxs)("nav",{className:"".concat("bottom"===e?"border-t mt-5":"border-b mb-5"," border-gray-200 px-4 flex items-center justify-between sm:px-0"),children:[(0,d.jsx)("div",{className:"-mt-1 w-0 flex-1 flex",children:(0,d.jsx)(p.Z,{href:b.prev||b.first,children:(0,d.jsxs)("a",{className:"".concat("bottom"===e?"border-t pt-4":"border-b pb-4"," border-transparent pr-1 inline-flex items-center text-md font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300"),children:[(0,d.jsx)(D,{className:"mr-3 h-5 w-5 text-gray-400","aria-hidden":"true"}),"zur\xfcck"]})})}),(0,d.jsx)("div",{className:"".concat("bottom"===e?"md:-mt-px":"md:-mb-px"," hidden md:flex"),children:b.pages.map(function(a){return(0,d.jsx)("a",{href:a.link,className:"".concat("bottom"===e?"border-t pt-4":"border-b pb-4"," px-4 inline-flex items-center text-md font-medium ").concat(a.current?"border-primary-500 text-primary-600":"text-gray-500 hover:text-gray-700"),children:a.page},a.page)})}),(0,d.jsx)("div",{className:"-mt-px w-0 flex-1 flex justify-end",children:(0,d.jsx)(p.Z,{href:b.next||b.last,children:(0,d.jsxs)("a",{className:"".concat("bottom"===e?"border-t pt-4":"border-b pb-4"," border-transparent pl-1 inline-flex items-center text-md font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300"),children:["weiter",(0,d.jsx)(F,{className:"ml-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]})})})]})]})}function I(a){var b=a.item,c=a.page;return(0,d.jsxs)("div",{children:[(0,d.jsx)(H,{pagination:b.content.data.pagination,position:"top"}),(0,d.jsx)("div",{className:"grid gap-5 lg:grid-cols-3",children:b.content.data.list.map(function(a){return(0,d.jsxs)("div",{className:"flex flex-col shadow-lg overflow-hidden",children:[(0,d.jsx)(p.Z,{href:"".concat(a.slug),children:(0,d.jsx)("a",{className:"flex-shrink-0",children:a.media.length>0&&(0,d.jsx)(o.default,{height:"300",width:"500",src:(0,q.Z)(a.media[0].images.defaultImage.publicUrl),objectFit:"cover",alt:a.media[0].properties.alternative,title:a.media[0].properties.title})})}),(0,d.jsxs)("div",{className:"flex-1 bg-white p-6 flex flex-col justify-between",children:[(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"text-sm font-medium text-primary-600",children:a.categories.length>0?(0,d.jsx)(p.Z,{href:"".concat(c.slug,"/").concat(a.categories[0].slug),children:(0,d.jsx)("a",{className:"hover:underline",children:a.categories[0].title})}):(0,d.jsx)("span",{children:"-"})}),(0,d.jsx)(p.Z,{href:"".concat(a.slug),children:(0,d.jsxs)("a",{className:"block mt-2",children:[(0,d.jsx)("h2",{className:"text-xl font-semibold text-gray-900",children:a.title}),(0,d.jsx)("p",{className:"mt-3 text-base text-gray-500",children:a.teaser})]})})]}),(0,d.jsxs)("div",{className:"mt-6 flex items-center",children:[(0,d.jsx)("div",{className:"flex-shrink-0",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"sr-only",children:a.author.author}),(0,d.jsx)(o.default,{height:50,width:50,className:"rounded-full",src:"/icons/favicon.svg",alt:a.title,title:a.title})]})}),(0,d.jsxs)("div",{className:"ml-3",children:[(0,d.jsx)("p",{className:"text-sm font-medium text-gray-900",children:(0,d.jsx)("span",{className:"_hover:underline",children:a.author.author})}),(0,d.jsx)("div",{className:"flex space-x-1 text-sm text-gray-500",children:(0,d.jsx)("time",{dateTime:a.created_at,children:a.crdate})})]})]})]})]},a.title)})}),(0,d.jsx)(H,{pagination:b.content.data.pagination})]})}var J=c(41664);function K(a){var b,c=a.items;return(0,d.jsx)("section",{className:"grid gap-5 md:grid-cols-2 lg:grid-cols-3",children:(void 0===c?[]:c).map(function(a,c){var e,f,g;return(0,d.jsx)(d.Fragment,{children:a.thumbnail.length>0&&(0,d.jsx)("article",{className:"flex flex-col shadow-lg overflow-hidden",children:(0,d.jsx)(J.default,{href:a.link,children:(0,d.jsxs)("a",{children:[(0,d.jsx)("div",{className:"relative w-full h-[200px]",children:(0,d.jsx)(o.default,{src:a.thumbnail[0].publicUrl,alt:null!==(b=null===(e=a.thumbnail[0])|| void 0===e?void 0:null===(f=e.properties)|| void 0===f?void 0:f.alternative)&& void 0!==b?b:"",layout:"fill",objectFit:"cover"})}),(0,d.jsxs)("div",{className:"p-6 bg-white",children:[(0,d.jsx)("h2",{className:"text-xl font-semibold text-gray-900",children:a.title}),(null==a?void 0:null===(g=a.abstract)|| void 0===g?void 0:g.length)>0&&(0,d.jsx)("div",{className:"mt-3 text-base text-gray-500 mt-2",dangerouslySetInnerHTML:{__html:a.abstract}})]})]})},c)})})})})}var L=c(25729);function M(a){var b=a.item;return(0,d.jsx)("div",{className:"max-w-3xl",children:b.content.items.length>0&&(0,d.jsx)(l.tq,{slidesPerView:1,spaceBetween:0,breakpoints:{"@0.1":{slidesPerView:1},"@0.75":{slidesPerView:1},"@1.00":{slidesPerView:1}},modules:[m.W_],navigation:!0,className:"w-full",children:b.content.items.map(function(a,b){var c;
1return(0,d.jsx)(l.o5,{children:(0,d.jsxs)("div",{className:"relative block p-10",children:[(null===(c=a.backgroundImage[0])|| void 0===c?void 0:c.publicUrl)!==void 0&&(0,d.jsx)(o.default,{src:a.backgroundImage[0].publicUrl,layout:"fill",objectFit:"cover",alt:a.header||""}),(0,d.jsxs)("div",{className:"block w-full max-w-lg bg-white bg-opacity-90 p-10 z-10 relative ",children:[(0,d.jsx)("h3",{className:"text-4xl font-semibold text-primary mb-2",children:a.header}),(0,d.jsx)("div",{className:"text-lg",dangerouslySetInnerHTML:{__html:a.bodytext}}),(0,d.jsx)("button",{className:"bg-primary text-white mt-4 py-2 px-3 text-2xl font-bold",children:a.buttonText})]})]})},b)})})})}const N=n.forwardRef(function(a,b){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:b},a),n.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))});var O=N;function P(a){var b=a.items;return(0,d.jsx)("div",{className:"grid lg:grid-cols-4 md:grid-cols-2 gap-2 w-full",children:b.map(function(a){return(0,d.jsxs)("div",{className:"flex",children:[(0,d.jsx)("div",{className:"pt-3 pr-3",children:(0,d.jsx)("div",{className:"w-8",children:(0,d.jsx)(O,{className:"h-8 text-action"})})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"font-semibold py-3 text-xl",children:a.header}),(0,d.jsx)("div",{className:"lg:text-base text-sm font-extralight",dangerouslySetInnerHTML:{__html:a.bodytext}})]})]},a.header)})})}var Q=c(40169);function R(a){var b=a.items,c=(0,n.useRef)(null),e=(0,n.useState)(480),f=e[0],g=e[1],h=(0,n.use
1State)(380),i=h[0],j=h[1],k=(0,n.useState)(0),l=k[0],m=k[1],o=(0,n.useState)(150),p=o[0],q=o[1];return(0,n.useEffect)(function(){if(c.current){var a=c.current.children.length;g(c.current.clientWidth),j(a*c.current.firstChild.clientWidth+12),q(c.current.firstChild.clientWidth+16)}},[c.current]),(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsxs)("div",{className:"absolute right-0 -top-24 pt-10 pb-1 space-x-8 lg:flex hidden lg:visible",children:[(0,d.jsx)("button",{className:"bg-transparent border-none appearance-none",onClick:function(){l>0&&m(l-p)},children:(0,d.jsx)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 7 12",className:"".concat(l>0?"text-primary-500":"text-gray-300"," w-6 h-6"),children:(0,d.jsx)("path",{d:"M5.962.482L1.218 5.226l-.431.431c-.026.026-.178.127-.178.178-.025.127.38.431.457.507.913.965 1.826 1.929 2.765 2.867.71.761 1.446 1.497 2.156 2.258.254.254-.152.66-.405.406C3.983 10.2 2.385 8.524.762 6.85.583 6.647.38 6.47.202 6.266c-.38-.43-.025-.786.254-1.09L3.222 2.41 5.556.076c.254-.254.66.152.406.406z",fill:"currentColor"})})}),(0,d.jsx)("button",{className:"bg-transparent border-none appearance-none",onClick:function(){l<i-f?m(l+p):m(0)},children:(0,d.jsx)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 12",className:"text-primary-500 w-6 h-6",children:(0,d.jsx)("path",{d:"M.076.482L4.82 5.226l.431.431c.026.026.178.127.178.178.025.127-.38.431-.457.507-.913.965-1.826 1.929-2.765 2.867-.71.761-1.446 1.497-2.156 2.258-.254.254.152.66.406.406C2.055 10.2 3.653 8.524 5.277 6.85c.177-.203.38-.38.558-.584.38-.43.025-.786-.254-1.09L2.816 2.41.482.076C.228-.178-.178.228.076.482z",fill:"currentColor"})})})]}),(0,d.jsx)("div",{className:" lg:overflow-hidden",children:(0,d.jsx)("ul",{ref:c,style:{transform:"translateX(".concat(-l,"px)")},className:"grid grid-flow-col justify-items-start grid-rows-1 gap-4 overflow-y-hidden overflow-x-auto lg:overflow-visible transition-transform duration-500 ease-in-out",children:b.map(function(a,b){return(0,d.jsx)("li",{children:a},b)})})})]})}function S(a){var b=a.item;return(0,d.jsxs)("section",{className:"pt-4 pb-4",children:[(0,d.jsx)("header",{children:(0,d.jsx)(z.Z,{tag:b.content.headerLayout||2,after:b.content.suffix,before:b.content.prefix,className:"mb-2",children:b.content.header})}),(0,d.jsx)(R,{items:b.content.items.map(function(a){return(0,d.jsx)(p.Z,{href:a.link.href,children:(0,d.jsx)("a",{className:"group overflow-hidden w-slider-item lg:w-slider-item-lg bg-primary-300 text-white flex px-8 pt-8 pb-0 h-full cursor-pointer",children:(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("h5",{className:"text-lg font-bold uppercase leading-5 text-action",children:a.header}),(0,d.jsx)("div",{className:"py-4 h-full",dangerouslySetInnerHTML:{__html:a.bodytext}}),(0,d.jsx)("div",{className:"block",children:(0,d.jsxs)("div",{className:"transition-all duration-300 bg-action text-primary px-3 py-2 w-2/3 flex items-center justify-center font-semibold text-sm uppercase group-hover:bg-action-400",children:[(0,d.jsx)(Q.Z,{className:"h-3 mr-2"})," ",a.linkTitle]})})]})})},a.header)})})]})}var T=c(58130),U=c(81474);function V(a){var b=a.items;return b.length?(0,d.jsxs)("div",{className:"bg-gray-100 p-5",children:[(0,d.jsx)("p",{className:"mb-3 text-xl text-primary ml-5",children:"Themenbereiche"}),(0,d.jsx)("ul",{className:"grid grid-cols-1 grid-flow-row text-sm place-content-between divide-white divide-y",children:b.map(function(a,b){return(0,d.jsx)("li",{children:(0,d.jsxs)(j.rU,{className:"flex py-1.5 hover:text-primary hover:font-semibold",to:"".concat(a.id),smooth:!0,offset:-100,duration:500,children:[(0,d.jsx)(Q.Z,{className:"text-action h-4 mr-2 mt-0.5 flex-shrink-0"})," ",a.title]})},b)})})]}):(0,d.jsx)("div",{})}function W(a){var b=a.title,c=a.description,e=a.price,f=a.prefix,g=a.image,h=a.href;return(0,d.jsx)(p.Z,{href:h,children:(0,d.jsxs)("a",{className:"transition-all duration-200 block relative h-60 group",title:b,target:"_blank",children:[(0,d.jsx)(o.default,{src:g,alt:b,title:b,layout:"fill",objectFit:"cover"}),(0,d.jsxs)("div",{className:"transition bg-action text-primary absolute inset-y-0 right-0 left-[50%] md:left-[55%] p-3 md:p-5 flex flex-col group-hover:bg-primary-300 group-hover:text-action",children:[(0,d.jsx)("div",{className:"text-xl uppercase font-bold mb-3",children:b}),(0,d.jsx)("p",{className:"text-base",children:c}),null!==e&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("p",{className:"mt-auto text-sm",children:void 0===f?"ab":f}),(0,d.jsx)("p",{className:"text-4xl font-bold",children:e})]})]})]})})}function X(a){var b=a.variant;return"simple"===(void 0===b?"simple":b)?(0,d.jsx)("div",{className:"h-0.5 my-6 mx-12 border border-gray-200"}):(0,d.jsx)("div",{children:"wave"})}function Y(a){var b=a.title,c=a.icon,e=a.href;return(0,d.jsx)(p.Z,{href:e,children:(0,d.jsxs)("a",{className:"grid grid-cols-2 group",title:b,children:[(0,d.jsx)("div",{className:"bg-action text-primary px-4 py-6",children:(0,d.jsx)(c,{className:"w-full"})}),(0,d.jsxs)("div",{className:"bg-primary text-white text-xl font-bold flex flex-col items-center px-5 py-6 text-center uppercase",children:[(0,d.jsx)("div",{children:b}),(0,d.jsx)("svg",{fill:"currentColor",className:"transition-all duration-500 group-hover:text-action h-22 bi bi-arrow-right mt-3 group-hover:translate-x-3",viewBox:"0 0 16 16",children:(0,d.jsx)("path",{d:"M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"})})]})]})})}var Z=c(38849),$=c(68121);
1function _(a){var b=a.items,c=void 0===b?[]:b,e=(0,n.useState)(0),f=e[0],g=e[1],h=(0,n.useState)(c[0]),i=h[0],j=h[1],k=function(a){a<0?(g(c.length-1),j(c[c.length-1])):a+1>c.length?(g(0),j(c[0])):(g(a),j(c[a]))};return(0,d.jsx)("div",{className:"mb-5",children:(0,d.jsxs)("figure",{className:"relative",children:[c.length>1&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"absolute right-5 top-3 text-3xl z-20 italic text-white drop-shadow pr-2 tracking-widest",children:[f+1,"/",c.length]}),(0,d.jsx)($.Z,{className:"transition-all duration-500 h-14 drop-shadow-lg absolute z-20 text-white hover:text-action left-6 top-1/2 -translate-y-1/2 cursor-pointer hover:left-4",onClick:function(){return k(f-1)}}),(0,d.jsx)(Q.Z,{className:"transition-all duration-500 h-14 drop-shadow-lg absolute z-20 text-white hover:text-action right-6 top-1/2 -translate-y-1/2 cursor-pointer hover:right-4",onClick:function(){return k(f+1)}})]}),(0,d.jsx)(o.default,{src:(0,q.Z)(i.image,{w:1200}),alt:i.alt||i.title,layout:"responsive",objectFit:"cover",height:500,title:i.title,width:900}),i.title&&(0,d.jsx)("figcaption",{className:"w-full px-3 py-1 bg-action text-primary font-bold",children:i.title})]})})}function aa(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=new Array(b);c<b;c++)d[c]=a[c];return d}function ba(a){var b,c,e=a.item,f=a.cols,g=void 0===f?1:f,h=function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:{},b=[],c=Array.isArray(a.rows)?a.rows:Object.values(a.rows||{});return Object.values(c).forEach(function(a){Object.values(a.columns).flat(1).forEach(function(a){b.push(a)})}),b}(e.content.gallery||{}),i=h.length>0?h[0]:null;return e.appearance.backgroundImage&&e.appearance.backgroundImage.length&&(i=(c=1,(function(a){if(Array.isArray(a))return a})(b=e.appearance.backgroundImage)||(function(a,b){var c,d,e=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=e){var f=[],g=!0,h=!1;try{for(e=e.call(a);!(g=(c=e.next()).done)&&(f.push(c.value),!b||f.length!==b);g=!0);}catch(i){h=!0,d=i}finally{try{g||null==e.return||e.return()}finally{if(h)throw d}}return f}})(b,c)||(function(a,b){if(a){if("string"==typeof a)return aa(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);if("Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c)return Array.from(c);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return aa(a,b)}})(b,c)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})())[0]),(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsxs)("div",{className:"grid grid-cols-5 md:absolute md:inset-0 z-0",children:[(0,d.jsx)("div",{className:"col-span-5 relative h-40 md:h-auto ".concat(1===g?"md:col-span-2 lg:col-span-3":"md:col-span-1 lg:col-span-2"),children:i&&(0,d.jsx)(o.default,{src:(0,q.Z)(i.publicUrl),alt:i.properties.alternative,title:i.properties.title,layout:"fill",objectFit:"cover"})}),(0,d.jsx)("div",{className:"hidden md:block bg-gray-100 ".concat(1===g?"md:col-span-3 lg:col-span-2":"md:col-span-4 lg:col-span-3")})]}),(0,d.jsxs)("div",{className:"max-w-7xl mx-auto w-full grid md:grid-cols-5 grid-cols-1 md:gap-5 lg:gap-8 relative",children:[(0,d.jsx)("div",{className:"".concat(1===g?"md:col-span-2 lg:col-span-3":"md:col-span-1 lg:col-span-2")}),(0,d.jsxs)("div",{className:"bg-gray-100 ".concat(1===g?"px-10 py-10 md:col-span-3 lg:col-span-2":"px-5 py-10 md:col-span-4 lg:col-span-3"),children:[(0,d.jsx)(z.Z,{after:e.content.suffix,before:e.content.prefix,tag:e.content.headerLayout||2,children:e.content.header}),(0,d.jsx)("div",{className:"mb-5 lg:columns-2 prose text-justify",dangerouslySetInnerHTML:{__html:e.content.bodytext}}),e.content.headerLink&&(0,d.jsx)(U.Z,{href:e.content.headerLink.href,children:e.content.headerLink.title||"Mehr zum Thema"})]})]})]})}function ca(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=new Array(b);c<b;c++)d[c]=a[c];return d}function da(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:{},b=[],c=Array.isArray(a.rows)?a.rows:Object.values(a.rows||{});
1return Object.values(c).forEach(function(a){Object.values(a.columns).flat(1).forEach(function(a){b.push({image:(0,q.Z)(a.publicUrl),title:a.properties.title,alt:a.properties.alternative})})}),b}function ea(a){var b=a.item;return b.headerLink&&(0,d.jsx)("div",{className:"mt-5",children:(0,d.jsx)(U.Z,{width:"w-auto",href:b.headerLink.href,children:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{children:b.headerLink.title||"Mehr zum Thema"}),(0,d.jsx)(Q.Z,{className:"w-5 text-primary"})]})})})}function fa(a){var b=a.item,c=a.col;return(0,d.jsx)(ba,{cols:void 0===c?1:c,item:b})}function ga(a){var b=a.item;return(0,d.jsx)(i.Z,{pretitle:b.content.subtitle,title:b.content.header,teaser:b.content.teaser,href:b.content.headerLink,label:b.content.headerLabel,photoUrl:b.content.thumbnail,toggle:!1,after:b.content.suffix,before:b.content.prefix})}function ha(a){var b=a.item,c=da(b.content.gallery||{});return(0,d.jsxs)("div",{className:"max-w-7xl mx-auto w-full px-6 xl:px-0 lg:py-10 py-6",children:[b.content.header&&(0,d.jsx)(z.Z,{after:b.content.suffix,before:b.content.prefix,tag:b.content.headerLayout||2,children:b.content.header}),c.length>0&&(0,d.jsx)(_,{items:c}),(0,d.jsx)("div",{className:"text-lg mb-4 text-primary",dangerouslySetInnerHTML:{__html:b.content.teaser}}),(0,d.jsx)("div",{className:"prose lg:columns-2",dangerouslySetInnerHTML:{__html:b.content.bodytext}}),(0,d.jsx)(ea,{item:b.content})]})}function ia(a){var b=a.item;return(0,d.jsx)("div",{className:"bg-gray-100",children:(0,d.jsxs)("div",{className:"max-w-5xl mx-auto w-full px-6 xl:px-0 lg:py-10 py-6 text-center",children:[b.content.header&&(0,d.jsx)(z.Z,{after:b.content.suffix,before:b.content.prefix,tag:b.content.headerLayout||2,line:!1,children:b.content.header}),(0,d.jsx)("div",{className:"text-lg mb-4 text-primary",dangerouslySetInnerHTML:{__html:b.content.teaser}}),(0,d.jsx)("div",{className:"prose",dangerouslySetInnerHTML:{__html:b.content.bodytext}}),(0,d.jsx)(ea,{item:b.content})]})})}function ja(a){var b=a.position,c=a.item,e=da(c.content.gallery||{});if(c.appearance.backgroundImage&&c.appearance.backgroundImage.length){var f,g,h=(g=1,function(a){if(Array.isArray(a))return a}(f=c.appearance.backgroundImage)||function(a,b){var c,d,e=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=e){var f=[],g=!0,h=!1;try{for(e=e.call(a);!(g=(c=e.next()).done)&&(f.push(c.value),!b||f.length!==b);g=!0);}catch(i){h=!0,d=i}finally{try{g||null==e.return||e.return()}finally{if(h)throw d}}return f}}(f,g)||function(a,b){if(a){if("string"==typeof a)return ca(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);if("Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c)return Array.from(c);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return ca(a,b)}}(f,g)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];e.unshift({image:(0,q.Z)(h.publicUrl),alt:h.properties.alternative,title:h.properties.title})}return(0,d.jsxs)("div",{className:"max-w-7xl mx-auto w-full px-6 xl:px-0 lg:py-10 py-6 grid md:grid-cols-5 gap-10",children:[(0,d.jsx)("div",{className:"left"===b?"order-1 md:col-span-2":"order-2 md:col-span-2",children:e.length>0&&(0,d.jsx)(_,{items:e})}),(0,d.jsxs)("div",{className:"left"===b?"order-2 md:col-span-3":"order-1 md:col-span-3",children:[c.content.header&&(0,d.jsx)(z.Z,{after:c.content.suffix,before:c.content.prefix,tag:c.content.headerLayout||2,children:c.content.header}),(0,d.jsx)("div",{className:"prose-lg mb-4 text-primary",dangerouslySetInnerHTML:{__html:c.content.teaser}}),(0,d.jsx)("div",{className:"prose",dangerouslySetInnerHTML:{__html:c.content.bodytext}}),(0,d.jsx)(ea,{item:c.content})]})]})}function ka(a){var b,c,e,f=a.item,g=a.elements,h=a.page,i=(b=[],g.forEach(function(a,c){0!==c&&("header"===a.type&&b.push({title:[a.content.prefix,a.content.header,a.content.suffix].join(" "),id:"ce-".concat(c)}),"accordion"===a.type&&b.push({title:a.content.header,id:"ce-".concat(c)}),("text"===a.type||"textpic"===a.type)&&b.push({title:[a.content.prefix,a.content.header,a.content.suffix].join(" "),id:"ce-".concat(c)}
1),"cards"===a.type&&a.content.items.forEach(function(a){b.push({title:[a.prefix,a.header,a.suffix].join(" "),id:"ce-".concat(c)})}))}),b.filter(function(a){return a.title.trim().length>0})),j=da(f.content.gallery||{}),k=(e="/yachtcharter?sort=pc",(c=h.filter).country&&(e+="&country=".concat(c.country)),c.sd&&(e+="&sd=".concat(c.sd)),c.region_id&&(e+="&region_id=".concat(c.region_id)),c.location_id&&(e+="&location_id=".concat(c.location_id)),e),l="https://assets.5-anker.com/fileadmin/br24de/uploads/regionen/mueritz/seenlandschaft.jpg";return 0!==j.length&&(l=j[Math.floor(Math.random()*j.length)].image),(0,d.jsxs)("div",{className:"max-w-7xl mx-auto w-full px-6 xl:px-0 lg:py-10 py-6 grid md:grid-cols-3 grid-cols-1 lg:gap-8 gap-5",children:[(0,d.jsxs)("div",{className:"col-span-2",children:[(0,d.jsx)("div",{className:"grid grid-cols-3",children:(0,d.jsx)("div",{className:"col-span-3 md:col-span-2",children:f.content.header&&(0,d.jsx)(z.Z,{after:f.content.suffix,before:f.content.prefix,tag:f.content.headerLayout||2,children:f.content.header})})}),(0,d.jsx)("div",{className:"prose-lg mb-4 text-primary",dangerouslySetInnerHTML:{__html:f.content.teaser}}),j.length>0&&(0,d.jsx)(_,{items:j}),(0,d.jsx)("div",{className:"prose lg:columns-2",dangerouslySetInnerHTML:{__html:f.content.bodytext}}),(0,d.jsx)(ea,{item:f.content})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(V,{items:i}),(0,d.jsx)("div",{className:"h-12"}),(0,d.jsx)(W,{image:l,title:"Angebote",price:"1549 €",description:"Diverse Sonderangebote mit hohen Rabatten",href:k}),(0,d.jsx)(X,{}),(0,d.jsx)(Y,{icon:Z.Z,title:"Individuelles Angebot jetzt anfordern",href:"/kontakt"})]})]})}function la(a){var b,c,e,f=a.item,g=a.elements,h=a.page;return"toc"===f.appearance.frameLayout?(0,d.jsx)(ka,{item:f,elements:g,page:h}):"stripe-1col"===f.appearance.frameLayout?(0,d.jsx)(fa,{item:f}):"stripe-2col"===f.appearance.frameLayout?(0,d.jsx)(fa,{col:2,item:f}):"hero"===f.appearance.frameLayout?(0,d.jsx)(ga,{item:f}):"wide"===f.appearance.frameLayout?(0,d.jsx)(ia,{item:f}):"center"===f.content.headerPosition?(0,d.jsx)(ia,{item:f}):(null===(b=f.content.gallery)|| void 0===b?void 0:b.position.horizontal)==="left"?(0,d.jsx)(ja,{item:f,position:"left"}):(null===(c=f.content.gallery)|| void 0===c?void 0:c.position.horizontal)===""||(null===(e=f.content.gallery)|| void 0===e?void 0:e.position.horizontal)==="right"?(0,d.jsx)(ja,{item:f,position:"right"}):(0,d.jsx)(ha,{item:f})}function ma(a){var b=a.item;return b.linkTitle&&(0,d.jsx)("div",{className:"mt-5",children:(0,d.jsx)(U.Z,{href:b.link.href,children:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{children:b.linkTitle}),(0,d.jsx)(Q.Z,{className:"w-5 text-primary"})]})})})}function na(a){var b=a.item,c=a.tag,e=/^\d*$/.test(c)?"h".concat(c):c,f=b.image.length>0?b.image[0]:null;return(0,d.jsxs)("div",{children:[b.header&&(0,d.jsx)(z.Z,{after:b.suffix,before:b.prefix,tag:b.tag,children:b.header}),f&&(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)(o.default,{src:(0,q.Z)(f.publicUrl),alt:f.properties.alternative||f.properties.title,layout:"responsive",objectFit:"cover",height:500,title:f.properties.title,width:900}),(0,d.jsx)(e,{className:"absolute left-0 font-semibold bottom-0 bg-action rounded-tr-2xl px-7 py-3 text-2xl uppercase",children:b.header})]}),(0,d.jsxs)("div",{className:"p-4",children:[(0,d.jsx)("div",{className:"prose",dangerouslySetInnerHTML:{__html:b.bodytext}}),(0,d.jsx)(ma,{item:b})]})]})}function oa(a){var b=a.item,c=b.content.headerLayout||2;return(0,d.jsx)("div",{className:"max-w-7xl mx-auto w-full px-6 xl:px-0 lg:py-10 py-6",children:(0,d.jsx)("div",{className:"grid md:grid-cols-3 gap-y-10 md:gap-20",children:b.content.items.map(function(a,b){return(0,d.jsx)(na,{item:a,tag:c+1},b)})})})}function pa(a){var b=a.item,c=a.tag,e=a.index,f=/^\d*$/.test(c)?"h".concat(c):c,g=b.image.length>0?b.image[0]:null;return 0===e?(0,d.jsxs)("div",{className:"grid md:grid-cols-3 md:col-span-3 relative",children:[g&&(0,d.jsxs)("div",{className:"relative md:col-span-2",children:[(0,d.jsx)(o.default,{src:(0,q.Z)(g.publicUrl,{w:2e3}),alt:g.properties.alternative||g.properties.title,layout:"responsive",objectFit:"cover",height:600,title:g.properties.title,width:1e3}),b.header&&(0,d.jsxs)("div",{className:"absolute flex items-center flex-col justify-center flex-wrap break-after-all text-primary w-full max-w-[200px] right-0 font-semibold bottom-0 inset-y-0 bg-action px-3 text-center py-3 text-2xl uppercase",children:[b.subheader,(0,d.jsx)(Q.Z,{className:"h-8 mt-5"})]})]}),(0,d.jsxs)("div",{className:"p-6 bg-white",children:[(0,d.jsx)(f,{className:"text-xl text-primary font-semibold block mb-2",children:b.header}),(0,d.jsx)("div",{className:"text-base lg:leading-7 text-primary",dangerouslySetInnerHTML:{__html:b.bodytext}}),(0,d.jsx)(ma,{item:b})]})]}):(0,d.jsxs)("div",{className:" relative",children:[b.header&&(0,d.jsxs)("div",{className:"flex items-center flex-row justify-center text-primary font-semibold bg-action px-7 py-3 text-2xl uppercase",children:[b.subheader,(0,d.jsx)(Q.Z,{className:"h-6 ml-3"})]}),g&&(0,d.jsx)("div",{className:"relative",children:(0,d.jsx)(o.default,{src:(0,q.Z)(g.publicUrl,{w:700}),alt:g.properties.alternative||g.properties.title,layout:"responsive",objectFit:"cover",height:400,title:g.properties.title,width:900})}),(0,d.jsxs)("div",{className:"p-4 bg-white",children:[(0,d.jsx)(f,{className:"text-xl text-primary font-semibold block mb-2",children:b.header}),(0,d.jsx)("div",{className:"prose text-primary",dangerouslySetInnerHTML:{__html:b.bodytext}}),(0,d.jsx)(ma,{item:b})]})]})}function qa(a){var b=a.item,c=b.content.headerLayout||2;return(0,d.jsx)("div",{className:"bg-gray-50",children:(0,d.jsx)("div",{className:"max-w-7xl mx-auto w-full px-6 xl:px-0 lg:py-10 py-6",children:(0,d.jsx)("div",{className:"grid md:grid-cols-3 md:gap-5",children:b.content.items.map(function(a,b){return(0,d.jsx)(pa,{item:a,tag:c+1,index:b},b)})})})})}function ra(a){var b=a.item,c=a.elements;return(0,d.jsx)("div",{children:"cards-masonry"===b.appearance.frameLayout?(0,d.jsx)(qa,{item:b,elements:c}):(0,d.jsx)(oa,{item:b})})}function sa(a){var b=a.elements,c=a.page,e=[];return b&&b.forEach(function(a){var f,g,h;switch(a.type){case"accordion":e.push({wrapped:!0,content:(0,d.jsx)(T.Z,{item:a})});break;case"header":e.push({wrapped:!0,content:(0,d.jsx)(z.Z,{tag:a.content.headerLayout||2,before:a.content.prefix,after:a.content.suffix,children:a.content.header})});break;case"text":case"textpic":e.push({wrapped:!1,content:(0,d.jsx)(la,{elements:b,item:a,page:c})});break;case"card_group":"cards-features"===a.appearance.frameLayout?e.push({wrapped:!0,content:(0,d.jsx)(P,{items:a.content.items})}):"cards-topics"===a.appearance.frameLayout?e.push({wrapped:!0,content:(0,d.jsx)(S,{item:a})}):e.push({wrapped:!1,content:(0,d.jsx)(ra,{elements:b,item:a})});break;case"div":e.push({wrapped:!0,content:(0,d.jsx)("div",{style:{height:"50px"}})});break;case"carousel_small":e.push({wrapped:!0,content:(0,d.jsx)(M,{item:a})});break;case"news_pi1":(null===(f=a.content.data)|| void 0===f?void 0:null===(g=f.settings)|| void 0===g?void 0:g.action)==="list"&&e.push({wrapped:!0,content:(0,d.jsx)(I,{item:a,page:c})});break;case"headmore_cruise_slider":case"headmore_offers_slider":e.push({wrapped:!0,content:(0,d.jsx)(k.Z,{searchQueryParams:a.content.data})});break;case"headmore_boats_slider":e.push({wrapped:!0,content:(0,d.jsx)(w,{searchQueryParams:a.content.data})});break;case"headmore_json":(null===(h=a.content.data)|| void 0===h?void 0:h.type)==="faq_grouped"&&e.push({wrapped:!0,content:(0,d.jsx)(B,{items:a.content.data.items})});break;case"menu_card_list":"menu-cards-offer-slider"===a.appearance.frameLayout?e.push({wrapped:!0,content:(0,d.jsx)(L.Z,{contentItem:a.content.items})}):e.push({wrapped:!0,content:(0,d.jsx)(K,{items:a.content.items})});break;default:break}}),(0,d.jsx)("div",{children:e.map(function(a,b){var c;return(0,d.jsx)(j.W_,{name:"ce-".concat(b),children:a.wrapped?(c=a.content,(0,d.jsx)("div",{className:"max-w-7xl mx-auto w-full px-6 py-6 lg:py-4 xl:px-0",children:c})):a.content},b)})})}var ta=c(21859);function ua(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function va(a){var b,c,e,f=a.post,j=a.page,k=j.breadcrumbs,l=f.content.data.detail;return(0,d.jsxs)("div",{children:[(0,d.jsx)(h.Z,{title:l.title,de
1scription:l.metaData.description,image:l.photo_url,canonicalUrl:null===(b=j.meta.canonical)|| void 0===b?void 0:b.href}),(0,d.jsx)("script",function(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{},d=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(d=d.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),d.forEach(function(b){ua(a,b,c[b])})}return a}({},(0,g.h6)({"@context":"https://schema.org","@type":"Article",headline:l.title,image:l.photo_url?[(0,q.Z)(l.photo_url),]:[],datePublished:l.created_at,dateModified:l.updated_at,publisher:{"@type":"Organization",name:"CharterCheck",url:"/"},author:{"@type":"Organization",name:"CharterCheck",url:"/"}}))),(0,d.jsx)(i.Z,{title:l.title,teaser:l.teaser,pretitle:l.subtitle,photoUrl:null===(c=l.media[0])|| void 0===c?void 0:null===(e=c.images)|| void 0===e?void 0:e.defaultImage,toggle:!1}),(0,d.jsx)("div",{className:"mt-3"}),(0,d.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,d.jsx)("div",{className:"w-full px-6 xl:px-0 mb-10",children:(0,d.jsx)(ta.Z,{items:k})}),(0,d.jsx)(sa,{elements:f.content.data.contentElements,page:j})]})]})}f().mark(function a(b){var c,d,e;return f().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return c=b.post,d=b.page,e=b.locale,a.abrupt("return",{props:{post:c,page:d,locale:e}});case 2:case"end":return a.stop()}},a)});var wa=c(33587),xa=c(74675),ya=c(30381),za=c.n(ya),Aa=c(48387),Ba=c(28091);function Ca(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function Da(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{},d=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(d=d.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),d.forEach(function(b){Ca(a,b,c[b])})}return a}function Ea(a){var b,c=a.page,e=a.search,f=a.filter,g=(0,n.useState)(!1),j=g[0],k=g[1],l=Object.values(c.content).flat(1).filter(function(a){return null!==a}),m=(!c.options||!c.options.hideToggle)&&l.length>0,o=c.options&&c.options.searchButton?c.options.searchButton:"Revierinformationen",p=Object.keys(c.filter).length>0,q=(0,n.useState)((null==e?void 0:e.data)||[]),r=q[0],s=q[1],t=(0,n.useState)((null==e?void 0:e.meta)||{}),u=t[0],v=t[1];return(0,n.useEffect)(function(){s((null==e?void 0:e.data)||[]),v((null==e?void 0:e.meta)||{})},[e]),(0,d.jsxs)("div",{children:[(0,d.jsx)(h.Z,{title:c.meta.title,description:c.meta.description,canonicalUrl:null===(b=c.meta.canonical)|| void 0===b?void 0:b.href,image:c.meta.thumbnail}),(0,d.jsx)(i.Z,{title:c.meta.title,teaser:c.meta.abstract,pretitle:c.meta.subtitle,checked:j,setChecked:k,photoUrl:c.meta.thumbnail,switchLabel:o,toggle:m&&p}),p&&(0,d.jsx)(wa.u,{show:!j,enter:"transition-all ease-out duration-200",enterFrom:"opacity-0",enterTo:"opacity-100 ",leave:"transition-all ease-in duration-150",leaveFrom:"opacity-100 ",leaveTo:"opacity-0",children:(0,d.jsx)("div",{className:"-mt-24 md:-mt-30",children:(0,d.jsx)(xa.Z,{data:r,meta:u,filter:f,setData:s,setMeta:v})})}),!p&&(0,d.jsx)("div",{className:"mt-3"}),(0,d.jsx)("div",{className:"max-w-7xl mx-auto w-full px-6 xl:px-0 mt-2",children:(0,d.jsx)(ta.Z,{items:c.breadcrumbs})}),(0,d.jsx)(sa,{elements:l,page:c})]})}f().mark(function a(b){var c,d,e,g,h,i,j,k;return f().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(c=b.page,d=b.locale,e=b.params,g=b.query,h=b.serverSideTranslations,j={},k={data:[],meta:{total:0,to:1,from:1}},!(i=Object.keys(c.filter).length>0)){a.next=10;break}return(j=Da({group:"model",typ:"w",duration:7,page:1,channel:Aa.Z.channel,sort:"date_from"},null==c?void 0:c.filter,g)).date_from||(j.date_from=(0,Ba.Z)(),j.date_to=za()(j.date_from).add(3,"weeks").format("YYYY-MM-DD")),a.next=9,(0,r.Io)("/search",j);case 9:k=a.sent;case 10:return a.t0=Da,a.t1={page:c,search:k,filter:j,locale:d},a.next=14,h(d,["boat","common","footer"]);case 14:return a.t2=a.sent,a.t3=(0,a.t0)(a.t1,a.t2),a.abrupt("return",{props:a.t3});case 17:case"end":return a.stop()}},a)});var Fa=c(91736);function Ga(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function Ha(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{},d=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(d=d.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),d.forEach(function(b){Ga(a,b,c[b])})}return a}var Ia=!0;function Ja(a){var b=a.post,c=a.page,e=a.errorCode,f=function(a,b){if(null==a)return{};var c,d,e=function(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}(a,b);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(d=0;d<f.length;d++)c=f[d],!(b.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}return e}(a,["post","page","errorCode"]);return e?(0,d.jsx)(Fa.default,{statusCode:e,title:"Seite nicht gefunden"}):b?(0,d.jsx)(va,Ha({post:b,page:c},f)):(0,d.jsx)(Ea,Ha({page:c},f))}},91736:function(a,b,c){"use strict";c.r(b);var d,e,f=c(34051),g=c.n(f),h=c(85893),i=c(12918),j=c(92876),k=c(19985),l=c(51190);function m(a,b,c,d,e,f,g){try{var h=a[f](g),i=h.value}catch(j){c(j);return}h.done?b(i):Promise.resolve(i).then(d,e)}function n(a){var b=a.statusCode,c=a.hasGetInitialPropsRun,d=a.err;return!c&&d&&j.Tb(d),(0,h.jsx)(l.default,{statusCode:b})}d=g().mark(function a(b){var c,d,e,f;return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,i.default.getInitialProps(b);case 2:if(c=a.sent,d=b.res,e=b.err,f=b.asPath,c.hasGetInitialPropsRun=!0,(null==d?void 0:d.statusCode)!==404){a.next=7;break}return a.abrupt("return",c);case 7:if(!e){a.next=12;break}return j.Tb(e),a.next=11,k.yl(2e3);case 11:return a.abrupt("return",c);
1case 12:return j.Tb(new Error("_error.js getInitialProps missing data at path: ".concat(f))),a.next=15,k.yl(2e3);case 15:return a.abrupt("return",c);case 16:case"end":return a.stop()}},a)}),e=function(){var a=this,b=arguments;return new Promise(function(c,e){var f=d.apply(a,b);function g(a){m(f,c,e,g,h,"next",a)}function h(a){m(f,c,e,g,h,"throw",a)}g(void 0)})},n.getInitialProps=function(a){return e.apply(this,arguments)},b.default=n},12918:function(a,b,c){a.exports=c(89185)}},function(a){a.O(0,[141,399,840,550,541,749,501,419,708,423,68,774,888,179],function(){return a(a.s=84459)}),_N_E=a.O()}])
2//# sourceMappingURL=[...slug]-e9209aa4da350de1.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.