PageSourceSearch

https://www.werkstatt-verlag.de/_next/static/chunks/HarborHarborTeaser.9bf9a4c55f4c9510.js

js werkstatt-verlag.de collected 2026-09-24 22:40:36 UTC 2,779 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25263],{66552:(e,a,i)=>{i.d(a,{k:()=>n});var s=i(49037),r=i.n(s);let n=e=>{let a={},i=["reisen-chartern","hafensuche"],s=r()(e?.location?.areas?.[0]?.parent?.name,a);return s&&i.push(s),i.push(r()(e?._search?.areas?.[0]?.toLowerCase()||"hafen",a)),i.push(r()(`${e.basic.name.official.toLowerCase()}-${e._id}`,a)),`/${i.join("/")}/`}},86197:(e,a,i)=>{i.r(a),i.d(a,{HarborTeaser:()=>b,HarborTeaserItem:()=>v});var s=i(6029),r=i(55729),n=i(42691),l=i(43340),t=i(75828),d=i.n(t),o=i(92818),c=i(90687),p=i(66552),u=i(19844),m=i(60451),h=i(93462),w=i(72866),g=i(99998),f=i(84908);h.A.use([w.A,g.A,f.A]);let b=({entries:e,title:a,showSliderPagination:i})=>{let t=(0,r.useRef)(),c=(0,r.useRef)(),[p,u]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=()=>{u(window.innerWidth<=768)};return u(window.innerWidth<=768),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e?.data?.length)?(0,s.jsxs)("div",{className:"col-span-12 mb-4 px-4 md:mb-8",children:[(0,s.jsx)("div",{className:"mb-2 md:mb-4",children:(0,s.jsx)(m.M,{title:a})}),(0,s.jsxs)("div",{className:"relative w-full",children:[(p||e.data.length>4)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.S,{navigationType:"next",ref:t}),(0,s.jsx)(o.S,{navigationType:"prev",ref:c})]}),(0,s.jsx)(n.R,{slidesPerView:1.2,breakpoints:{0:{slidesPerView:2},500:{slidesPerView:1.25},640:{slidesPerView:2.5},1024:{slidesPerView:4}},navigation:{nextEl:t?.current,prevEl:c?.current},onBeforeInit:e=>{e.params.navigation.prevEl=t.current,e.params.navigation.nextEl=c.current},pagination:{el:i?".swiper-pagination":"",clickable:"true",type:"bullets",renderBullet:function(){return'<div class="swiper-pagination-bullet swiper-pagination-bullet-secondary swiper-brand-bullet inline-block p-2 cursor-pointer"><div class="h-2 w-2 bg-skin-primary-dark opacity-20 rounded-full"></div></div>'}},allowTouchMove:!0,autoHeight:!1,observer:!0,spaceBetween:16,className:d()({"bg-body-light z-10":!0}),modules:[g.A],children:(e?.data||[]).map(e=>(0,s.jsx)(l.q,{children:(0,s.jsx)(v,{item:e})},`harbor-teaser-item-${e._id}`))}),i&&(p||e.data.length>4)?(0,s.jsx)("div",{className:d()({"swiper-pagination text-center max-w-md mt-2 mx-auto md:cursor-pointer":!0})}):null]})]}):null},v=({item:e})=>e?(e._displayImage&&(e._displayImage=e._displayImage.replace("h_500","h_281"),e._displayImage=e._displayImage.replace("c_fit","c_fill")),(0,s.jsx)(u.default,{href:(0,p.k)(e),children:(0,s.jsxs)("div",{children:[e._displayImage&&(0,s.jsx)(c._V,{cloudinary:e._displayImage,className:"mb-4 w-full"}),(0,s.jsx)("h3",{className:d()({"text-skin-primary font-serif break-words leading-snug text-xl font-medium":!0}),children:e.basic?.name?.official})]})})):null}}]);

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.