PageSourceSearch

https://www.myposter.de/_nuxt/DTiLQ6y9.js

js myposter.de collected 2026-09-24 09:58:50 UTC 3,777 bytes, 1 lines download raw bytes

1import{d as D,D as H,c1 as P,w as G,r as F,c as v,h as l,g as p,b as T,k as i,W as N,X as V,l as x,F as I,j as W,a7 as z,o as a,a as M,f as g,ba as m,aA as b,H as L,C,K as S,G as X,T as j,ae as K,_ as Y}from"./Cdma0c0o.js";import{R}from"./BRInCMfI.js";import{c as U}from"./CdBxpRen.js";import"./CK94_uCC.js";import"./l1OykVI3.js";const q={class:"image-block","data-testid":"image-block"},J={class:"image-block__container"},Q={class:"image-block__dots dots"},Z=["aria-label","onClick","onMouseenter"],ee={class:"image-block__tooltips tooltips"},te={class:"info-tooltip__content"},oe={class:"info-tooltip__text"},ie={class:"info-tooltip__title"},ne={class:"info-tooltip__description"},se={key:0,class:"info-tooltip__arrow arrow"},O=250,h=25,le=150,ae=D({__name:"ImageBlock",props:{blok:{}},setup(f){K(t=>({v02bd328c:O,v6dbbf030:B}));const n={LEFT:"left",RIGHT:"right",BOTTOM:"bottom"},B=`${h}px`,w=x(()=>f.blok.dots?.map(t=>({...t,top:`${t.top}%`,left:`${t.left}%`}))),s=z(void 0),$=x(()=>typeof window>"u"?!1:U()),E=C,d=t=>!!t?.url,k=t=>{if(typeof window>"u")return t.isLeftAligned?n.LEFT:n.RIGHT;const o=Number.parseFloat(String(t.left))/100*window.innerWidth,_=o-O-h<0,e=o+h+O>window.innerWidth;return t.isLeftAligned&&_&&!e?n.RIGHT:!t.isLeftAligned&&e&&!_?n.LEFT:_&&e?n.BOTTOM:t.isLeftAligned?n.LEFT:n.RIGHT},A=t=>{s.value===t?s.value=void 0:s.value=t};let r;const c=t=>{$.value&&(r&&(clearTimeout(r),r=void 0),t?s.value=t:r=setTimeout(()=>{s.value=void 0},le))},y=t=>{if(s.value===void 0)return;const o=t.target;o.closest(".info-dot")||o.closest(".info-tooltip")||(s.value=void 0)};return H(()=>{document.addEventListener("click",y,{passive:!0})}),P(()=>{document.removeEventListener("click",y),r&&clearTimeout(r)}),(t,o)=>{const _=F("editable");return G((a(),v("div",q,[l("div",J,[p(V,{src:f.blok.image.filename,alt:f.blok.image.alt||"",provider:i(N).STORYBLOK,class:"image-block__image","aspect-ratio":f.blok.aspectRatio,sizes:"xxs:100vw xl:1200px"},null,8,["src","alt","provider","aspect-ratio"]),i(w)?.length?(a(!0),v(I,{key:0},W(i(w),e=>(a(),v(I,{key:e._uid},[l("div",Q,[i($)&&d(e.link)?(a(),M(C,{key:0,to:e.link.url,class:L(["dots__info-dot info-dot",{"info-dot--active":i(s)===e._uid}]),style:b({top:e.top,left:e.left}),"aria-label":`${i(m)(e.title)} ${e.description?`- ${i(m)(e.description)}`:""}`,onMouseenter:u=>c(e._uid),onMouseleave:o[0]||(o[0]=u=>c(void 0))},{default:g(()=>[...o[3]||(o[3]=[l("div",{class:"info-dot__marker"},null,-1)])]),_:1},8,["to","class","style","aria-label","onMouseenter"])):(a(),v("button",{key:1,type:"button",class:L(["dots__info-dot info-dot",{"info-dot--active":i(s)===e._uid}]),style:b({top:e.top,left:e.left}),"aria-label":`${i(m)(e.title)} ${e.description?`- ${i(m)(e.description)}`:""}`,onClick:u=>A(e._uid),onMouseenter:u=>c(e._uid),onMouseleave:o[1]||(o[1]=u=>c(void 0))},[...o[4]||(o[4]=[l("div",{class:"info-dot__marker"},null,-1)])],46,Z))]),l("div",ee,[p(j,{name:"tooltip"},{default:g(()=>[i(s)===e._uid?(a(),M(X(d(e.link)?i(E):"div"),{key:0,to:d(e.link)?e.link.url:void 0,class:L(["tooltips__info-tooltip info-tooltip",{"info-tooltip--left":k(e)===n.LEFT,"info-tooltip--right":k(e)===n.RIGHT,"info-tooltip--bottom":k(e)===n.BOTTOM,"info-tooltip--has-link":d(e.link)}]),style:b({top:e.top,left:e.left}),onMouseenter:u=>c(e._uid),onMouseleave:o[2]||(o[2]=u=>c(void 0))},{default:g(()=>[l("div",te,[l("div",oe,[l("h4",ie,[p(R,{doc:e.title},null,8,["doc"])]),l("p",ne,[p(R,{doc:e.description},null,8,["doc"])])]),d(e.link)?(a(),v("span",se,[p(S,{class:"arrow__icon",name:"arrow-right"})])):T("",!0)])]),_:2},1064,["to","class","style","onMouseenter"])):T("",!0)]),_:2},1024)])],64))),128)):T("",!0)])])),[[_,f.blok]])}}}),_e=Object.assign(Y(ae,[["__scopeId","data-v-ae5541e1"]]),{__name:"ImageBlock"});export{_e as default};

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.