1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="9f3ccd92-cc0c-718a-42c5-61a17aed7572")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,558619,e=>{"use strict";var t=e.i(843476),a=e.i(657688),s=e.i(648587),i=e.i(895975);let r={lilac:"bg-lilac-50",mint:"bg-mint-100",white:"bg-white",surface:"bg-surface-strong"};e.s(["Eyebrow",0,({tone:e="lilac",withDot:l=!1,className:n,children:o})=>(0,t.jsxs)("div",{className:(0,i.cn)("flex max-w-full shrink-0 items-center gap-[8px] rounded-pill px-[14px] py-[7px]",r[e],n),children:[l?(0,t.jsxs)("span",{className:"relative -mx-[4px] flex size-[15px] shrink-0 items-center justify-center",children:[(0,t.jsx)("span",{className:"absolute size-[15px] animate-live-ring rounded-pill bg-accent"}),(0,t.jsx)(a.default,{src:"/assets/icons/pill-dot.svg",alt:"",width:7,height:7,className:"relative size-[7px]"})]}):null,(0,t.jsx)(s.Text,{variant:"label",tone:l?"accent":"ink",as:"span",className:"md:whitespace-nowrap",children:o})]})])},124684,e=>{"use strict";var t=e.i(843476),a=e.i(648587),s=e.i(895975),i=e.i(117581);e.s(["ComparisonColumn",0,({variant:e,emoji:r,title:l,items:n})=>{let o="us"===e,[c,d]=(0,i.useInView)({threshold:.25}),p=!o||d;return(0,t.jsxs)("div",{ref:c,className:(0,s.cn)("flex min-w-px flex-1 flex-col gap-[14px] rounded-[20px] p-[20px] md:gap-[18px] md:p-[24px] lg:p-[32px]",o?"border-2 border-mint-50 bg-white drop-shadow-[0px_5px_10px_rgba(0,0,0,0.1)]":"bg-surface-muted"),children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-[10px]",children:[(0,t.jsx)(a.Text,{as:"span",tone:"ink","aria-hidden":!0,className:"leading-normal whitespace-nowrap",children:r}),(0,t.jsx)(a.Text,{as:"span",tone:o?"ink":"muted",className:"font-semibold whitespace-nowrap",children:l})]}),(0,t.jsx)("ul",{className:"flex w-full flex-col gap-[10px] md:gap-[18px]",children:n.map((e,i)=>(0,t.jsx)("li",{style:o?{transitionDelay:`${110*i}ms`}:void 0,className:(0,s.cn)(o&&"transition-[opacity,translate] duration-500 ease-out-soft",p?"translate-x-0 opacity-100":"-translate-x-[10px] opacity-0"),children:(0,t.jsxs)("div",{className:(0,s.cn)("flex w-full items-start gap-[10px] rounded-box-sm px-[8px] py-[4px]",o&&"group transition-colors duration-200 ease-out-soft hover:bg-mint-50"),children:[(0,t.jsx)(a.Text,{variant:"label",tone:o?"accent":"muted",as:"span","aria-hidden":!0,className:(0,s.cn)("shrink-0 font-bold leading-[24px]",o&&"transition-transform duration-200 ease-out-soft group-hover:scale-125"),children:o?"â":"â"}),(0,t.jsx)(a.Text,{as:"span",tone:o?"body":"muted",className:(0,s.cn)("min-w-px flex-1 leading-[24px]",o&&"font-medium"),children:e})]})},e))})]})}])},813971,e=>{"use strict";var t=e.i(843476),a=e.i(657688),s=e.i(271645),i=e.i(394245),r=e.i(832783);let l={uuid:null,previewBase64:null,image:"/assets/mock/listing-photo.jpg",isNew:!1,isPartner:!1,isPrivate:!1},n=[{...l,id:"mock-1",image:"/assets/mock/public-listing-1.webp",hostAvatar:"/assets/avatars/avatar-25.png",hostName:"Anna M.",isNew:!0,city:"Berlin",district:"Mitte",listingType:"ROOM",size:"18 m²",furnishing:"FURNISHED",price:"1200 â¬",availability:"LIMITED",period:"01.11.2026 â 01.02.2027"},{...l,id:"mock-2",image:"/assets/mock/public-listing-2.webp",hostAvatar:"/assets/avatars/avatar-26.png",hostName:"Lena K.",city:"Berlin",district:"Neukölln",listingType:"ROOM",size:"22 m²",furnishing:"FURNISHED",price:"610 â¬",availability:"UNLIMITED",period:"01.12.2026"},{...l,id:"mock-3",hostAvatar:"/assets/avatars/avatar-29.png",hostName:"Jonas R.",city:"Berlin",district:"Kreuzberg",listingType:"FLAT",size:"46 m²",furnishing:"UNFURNISHED",price:"890 â¬",availability:"LIMITED",period:"01.01.2027 â 01.07.2027"},{...l,id:"mock-4",image:"/assets/mock/public-listing-3.webp",hostAvatar:"/assets/avatars/avatar-27.png",hostName:"Mara S.",city:"Berlin",district:"Prenzlauer Berg",listingType:"FLAT",size:"48 m²",furnishing:"FURNISHED",price:"1150 â¬",availability:"L
2IMITED",period:"01.02.2027 â 01.08.2027"},{...l,id:"mock-5",hostAvatar:"/assets/avatars/avatar-09.png",hostName:"Tim B.",city:"Berlin",district:"Wedding",listingType:"ROOM",size:"17 m²",furnishing:"FURNISHED",price:"495 â¬",availability:"LIMITED",period:"01.03.2027 â 01.09.2027"},{...l,id:"mock-6",image:"/assets/mock/public-listing-4.webp",hostAvatar:"/assets/avatars/avatar-28.png",hostName:"Peter G.",city:"Berlin",district:"Friedrichshain",listingType:"ROOM",size:"19 m²",furnishing:"UNFURNISHED",price:"640 â¬",availability:"LIMITED",period:"01.04.2027 â 01.10.2027"}],o={...l,isPrivate:!0},c=[n[5],n[1],{...o,id:"private-3",image:"/assets/mock/private-listing-3.webp",hostAvatar:"/assets/avatars/avatar-24.png",hostName:"Elias H.",city:"Berlin",district:"Schöneberg",listingType:"ROOM",size:"24 m²",furnishing:"FURNISHED",price:"780 â¬",availability:"LIMITED",period:"01.11.2026 â 01.05.2027"},n[3],n[0]];var d=e.i(117581);let p=[{key:"offers",emoji:"ð ",active:!0},{key:"searches",emoji:"ðµð¼",active:!1},{key:"friendz",emoji:"ð¥",active:!1,isNew:!0}],x=({inView:e})=>{let a=(0,s.useRef)(null),[i,l]=(0,s.useState)(0);(0,s.useEffect)(()=>{let t;if(!e||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let a=()=>l(e=>e+1),s=setTimeout(()=>{a(),t=setInterval(a,3400)},1e3);return()=>{clearTimeout(s),clearInterval(t)}},[e]),(0,s.useLayoutEffect)(()=>{let e=a.current,t=e?.firstElementChild;0!==i&&e&&t instanceof HTMLElement&&e.animate({translate:[`0 ${-(t.offsetHeight+12.018)}px`,"0 0"]},{duration:1100,easing:"cubic-bezier(0.4, 0, 0.2, 1)"})},[i]);let n=Array.from({length:3},(e,t)=>{let a=i-t,s=c.length;return{id:a,listing:c[(-a%s+s)%s]}});return(0,t.jsx)("div",{style:{paddingTop:124.188},className:"px-[16.024px]",children:(0,t.jsx)("div",{ref:a,className:"flex flex-col items-center",children:n.map(({id:e,listing:a})=>(0,t.jsx)("div",{style:{marginBottom:12.018},className:"shrink-0",children:(0,t.jsx)(r.ListingCard,{listing:a,scale:.668,interactive:!1})},e))})})},m=()=>{let e=(0,i.useTranslations)("hero.mock"),[s,r]=(0,d.useInView)({threshold:.2});return(0,t.jsxs)("div",{ref:s,style:{width:288,height:480},className:"absolute top-[29px] left-1/2 -translate-x-1/2 overflow-hidden rounded-[26.707px] bg-surface",children:[(0,t.jsx)(x,{inView:r}),(0,t.jsxs)("div",{className:"absolute inset-x-0 top-0 flex flex-col items-center gap-[8.012px] bg-surface px-[16.024px] pt-[44.067px] drop-shadow-[0px_3.338px_8.346px_rgba(0,0,0,0.05)]",children:[(0,t.jsxs)("div",{className:"flex w-[254.387px] items-center justify-between",children:[(0,t.jsxs)("span",{className:"text-[17.36px] leading-[17.36px] font-extrabold tracking-[-0.434px] text-ink-strong",children:[e("title")," ð"]}),(0,t.jsx)(a.default,{src:"/assets/icons/plus.svg",alt:"",width:20,height:20,className:"size-[20.03px]"})]}),(0,t.jsx)("div",{className:"flex h-[40.061px] w-full items-end justify-center border-b-[0.668px] border-[#e1e1e1]",children:(0,t.jsx)("div",{className:"relative flex h-[28.043px] items-end justify-center gap-[33.384px] px-[2.671px]",children:p.map(a=>(0,t.jsxs)("div",{className:`relative flex w-[50.076px] flex-col items-center gap-[1.335px] px-[8.012px] pt-[2.671px] ${a.active?"":"opacity-65"}`,children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"text-[16.692px] leading-[13.354px]",children:a.emoji}),(0,t.jsx)("span",{className:"text-[8.68px] leading-[13.354px] font-medium text-ink-strong",children:e(`tabs.${a.key}`)}),a.active?(0,t.jsx)("span",{className:"absolute bottom-[-2.003px] h-[2.003px] w-[50.076px] rounded-t-full bg-ink-strong"}):null,a.isNew?(0,t.jsx)("span",{className:"absolute top-0 -right-[6px] rounded-[8.012px] bg-[#6ca1f8] px-[3px] py-[1.335px] text-[6.677px] leading-none font-medium text-white",children:e("new")}):null]},a.key))})})]})]})};var u=e.i(530552);let h=[{id:"a03",avatar:"hero-avatar-03",x:511.56,y:45.43,badge:{ring:"ring-03",emoji:"ð ",dx:42.4,dy:38.66},phase:0,amplitude:{x:7,y:-6}},{id:"a04",avatar:"hero-avatar-04",x:95.58,y:314.58,badge:null,phase:1.7,amplitude:{x:-6,y:7},nudge:8},{id:"a05",avatar:"hero-avatar-05",x:74.26,y:88.76,badge:{ring:"ring-04",emoji:"ð",dx:39,dy:44},phase:3.1,amplitude:{x:8,y:5},nudge:18.65},{id:"a06",avatar:"hero-avatar-06",x:519.58,y:181.58,badge:{ring:"ring-04",emoji:"ð",dx:44.9,dy:42.4},phase:4.4,amplitude:{x:-7,y:-7}},{id:"a08",avatar:"hero-avatar-08",x:514.58,y:314.58,badge:{ring:"ring-05",emoji:"ð",dx:42.4,dy:39.91},phase:5.6,amplitude:{x:6,y:8}}],g=e=>{let t=h.find(t=>
2t.id===e);if(!t)throw Error(`HeroVisual: no node "${e}"`);return t},f={"stub-tl":{from:"a05",via:{x:25.26,y:18.76},length:85},"stub-l":{from:"a05",via:{x:5.26,y:143.76},length:88},"stub-tr":{from:"a03",via:{x:568,y:4},length:81},"stub-tr-low":{from:"a03",via:{x:600,y:90},length:73},"stub-r":{from:"a06",via:{x:572,y:148},length:71},"stub-br":{from:"a08",via:{x:568,y:372},length:92},"stub-b":{from:"a08",via:{x:509.58,y:414.58},length:118},"stub-bl":{from:"a04",via:{x:2.58,y:493.58},length:133}},v=Object.fromEntries(Object.entries(f).map(([e,{from:t,via:a,length:s}])=>{let i=g(t),r=a.x-i.x,l=a.y-i.y,n=Math.hypot(r,l);return[e,{x:i.x+r/n*s,y:i.y+l/n*s}]})),b=[["a05","a03"],["a03","a06"],["a06","a08"],["a05","a04"],["a04","a08"],...Object.entries(f).map(([e,{from:t}])=>[t,e])];e.s(["HeroVisual",0,()=>{let e=(0,s.useRef)({}),i=(0,s.useRef)([]),r=(0,s.useRef)([]);return(0,s.useEffect)(()=>{let t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=window.matchMedia("(width < 48rem)"),s=e=>a.matches?g(e).nudge??0:0,l=a=>{let l=a/1e3,n=+!t,o={};for(let[e,t]of Object.entries(v))o[e]={x:t.x+s(f[e].from),y:t.y};for(let t of h){let a=t.x+n*t.amplitude.x*Math.sin(.32*l+t.phase),i=t.y+n*t.amplitude.y*Math.sin(.24*l+1.4*t.phase),r=1+.08*n*Math.sin(.5*l+t.phase);o[t.id]={x:a+s(t.id),y:i};let c=e.current[t.id];c&&(c.style.transform=`translate3d(${a-t.x}px, ${i-t.y}px, 0) scale(${r})`)}b.forEach(([e,t],a)=>{let s=i.current[a],l=o[e],n=o[t];if(l&&n)for(let e of[s,r.current[a]])e?.setAttribute("x1",String(l.x)),e?.setAttribute("y1",String(l.y)),e?.setAttribute("x2",String(n.x)),e?.setAttribute("y2",String(n.y))})};if(t){let e=()=>l(0);return e(),a.addEventListener("change",e),()=>a.removeEventListener("change",e)}let n=0,o=e=>{l(e),n=requestAnimationFrame(o)};return n=requestAnimationFrame(o),()=>cancelAnimationFrame(n)},[]),(0,t.jsx)("div",{className:"relative shrink-0 self-center [--hero-nudge:0] max-md:[--hero-nudge:1] [--hero-visual-scale:0.56] min-[375px]:[--hero-visual-scale:0.64] min-[480px]:[--hero-visual-scale:0.8] md:[--hero-visual-scale:1] lg:[--hero-visual-scale:0.75] xl:[--hero-visual-scale:1]",style:{width:"calc(572px * var(--hero-visual-scale))",height:"calc(463px * var(--hero-visual-scale))",marginBlock:-5.5},children:(0,t.jsxs)("div",{"aria-hidden":!0,style:{width:572,height:463,"--hero-phone-offset":"23.076999999999998px"},className:"absolute top-0 left-0 origin-top-left max-md:[translate:calc(var(--hero-phone-offset)*var(--hero-visual-scale)*-1)] max-xl:[scale:var(--hero-visual-scale)]",children:[(0,t.jsxs)("svg",{"aria-hidden":!0,role:"presentation",viewBox:"0 0 572 463",width:572,height:463,className:"absolute inset-0 overflow-visible",children:[(0,t.jsx)("defs",{children:b.map(([e,a],s)=>a in v?(0,t.jsxs)("linearGradient",{id:`hero-${a}`,ref:e=>{r.current[s]=e},gradientUnits:"userSpaceOnUse",x1:g(e).x,y1:g(e).y,x2:v[a].x,y2:v[a].y,children:[(0,t.jsx)("stop",{offset:"0.35",stopColor:"var(--color-line)"}),(0,t.jsx)("stop",{offset:"1",stopColor:"var(--color-line)",stopOpacity:"0"})]},a):null)}),b.map(([e,a],s)=>{let r=h.find(t=>t.id===e)??v[e],l=h.find(e=>e.id===a)??v[a];return(0,t.jsx)("line",{ref:e=>{i.current[s]=e},x1:r.x,y1:r.y,x2:l.x,y2:l.y,stroke:a in v?`url(#hero-${a})`:"var(--color-line)",strokeWidth:4,strokeLinecap:"round"},`${e}-${a}`)})]}),(0,t.jsx)(u.PhoneMockup,{className:"absolute top-[24px]",style:{left:151},width:316.154,screen:(0,t.jsx)(m,{}),lcp:!0}),h.map(s=>(0,t.jsxs)("div",{ref:t=>{e.current[s.id]=t},style:{position:"absolute",left:s.x-32.583-3.833500000000001,top:s.y-32.583-3.833500000000001,width:72.833,height:72.833,translate:s.nudge?`calc(var(--hero-nudge) * ${s.nudge}px)`:void 0,willChange:"transform"},children:[(0,t.jsx)(a.default,{src:`/assets/avatars/${s.avatar}.png`,alt:"",width:Math.round(72.833),height:Math.round(72.833),className:"size-full rounded-pill object-cover"}),s.badge?(0,t.jsxs)("span",{style:{position:"absolute",left:s.badge.dx,top:s.badge.dy,width:33.63,height:33.63},className:"flex items-center justify-center",children:[(0,t.jsx)(a.default,{src:`/assets/icons/${s.badge.ring}.svg`,alt:"",width:Math.round(33.63),height:Math.round(33.63),className:"absolute inset-0 size-full"}),(0,t.jsx)("span",{className:"relative text-[16px] leading-none",children:s.badge.emoji})]}):null]},s.id))]})})}],813971)},844303,e=>{"use strict";var t=e.i(843476),a=e.i(657688),s=e.i(394245),i=e.i(271645),r=e.i(648587),l=e.i(895975),n=e.i(117581);let o={x:281.5,y:178},c=[{id:"f1",avatar:"avatar-03",layer:1,x:340.5,y:107,size:56,badge:{ring:"ring-03",emoji:"ð "}},{id:"f2",avatar:"avatar-04",layer:1,x:191.1,y:125.3,size:56},{id:"f3",avatar:"avatar-05",layer:1,x:179.3,y:219,size:56,badge:{ring:"ring-04",emoji:"ð"}},{id:"f4",avatar:"avatar-06",layer:1,x:371.9,y:230.7,size:56,badge:{ring:"ring-04",emoji:"ð"}}],d=[{id:"g1",avatar:"avatar-15",layer:2,x:261.6,y:38.5,size:44},{id:"g2",avatar:"avatar-16",layer:2,x:478.9,y:108,size:44},{id:"g3",avatar:"avatar-07",layer:2,x:488.1,y:237.2,size:44,badge:{ring:"ring-07",emoji:"ð "}},{id:"g5",avatar:"avatar-09",layer:2,x:74.9,y:237.2,size:44},{id:"g6",avatar:"avatar-17",layer:2,x:84.1,y:108,size:44,badge:{ring:"ring-05",emoji:"ð"},rim:"var(--color-lilac-100)"}],p=[{id:"p1",avatar:"avatar-18",layer:3,x:150,y:48,size:34},{id:"p2",avatar:"avatar-13",layer:3,x:424,y:36,size:34},{id:"p3",avatar:"avatar-19",layer:3,x:522,y:178,size:34},{id:"p4",avatar:"avatar-20",layer:3,x:418,y:306,size:34},{id:"p5",avatar:"avatar-21",layer:3,x:104,y:302,size:34}],x=[...c,...d,...p],m=(e,t,a)=>({"--left":`${e}px`,"--top":`${t}px`,"--size":`${a}px`,"--left-pct":`${e/563*100}%`,"--top-pct":`${t/394*100}%`,"--width-pct":`${a/563*100}%`,"--height-pct":`${a/394*100}%`}),u="absolute top-(--top-pct) left-(--left-pct) h-(--height-pct) w-(--width-pct) @min-[563px]:top-(--top) @min-[563px]:left-(--left) @min-[563px]:size-(--size)",h=e=>{if(null===e)return o;let t=x.find(t=>
2t.id===e);return t?{x:t.x,y:t.y}:o},g=e=>null===e?32:(x.find(t=>t.id===e)?.size??0)/2,f=[{from:null,to:"f1",layer:1},{from:null,to:"f2",layer:1},{from:null,to:"f3",layer:1},{from:null,to:"f4",layer:1},{from:"f1",to:"g1",layer:2},{from:"f1",to:"g2",layer:2},{from:"f2",to:"g6",layer:2},{from:"f2",to:"g1",layer:2},{from:"f3",to:"g5",layer:2},{from:"f4",to:"g3",layer:2}].map(e=>{let t=h(e.from),a=h(e.to),s=Math.hypot(a.x-t.x,a.y-t.y),i=(a.x-t.x)/s,r=(a.y-t.y)/s,l=g(e.from)-2,n=s-g(e.to)+2;return{key:`${e.from??"du"}-${e.to}`,x1:t.x+i*l,y1:t.y+r*l,x2:t.x+i*n,y2:t.y+r*n,length:n-l,delay:450*(1!==e.layer),duration:1===e.layer?450:1500}}),v={};for(let[e,t,a]of[[c,300,70],[d,1800,70],[p,3600,160]])e.forEach((e,s)=>{v[e.id]=t+s*a});let b=[{at:300,caption:"friendz"},{at:1800,caption:"friendzOfFriendz"},{at:3760,caption:"public"}],y=3600+(p.length-1)*160+400;e.s(["NetworkGraphic",0,({className:e})=>{let c=(0,s.useTranslations)("communityFriendz"),[d,p]=(0,n.useInView)({threshold:.5,rootMargin:"0px",repeat:!0}),[h,g]=(0,i.useState)("reset"),[w,j]=(0,i.useState)(null),[N,k]=(0,i.useState)(!1),T="built"===h,L=!N&&"reset"!==h;return(0,i.useEffect)(()=>{if(!p){g(e=>"built"===e?"dissolving":e),j(null);return}if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){k(!0),g("built"),j("public");return}k(!1);let e=[],t=(t,a)=>e.push(setTimeout(a,t)),a=()=>{for(let{at:e,caption:a}of(g("reset"),t(200,()=>g("built")),b))t(200+e,()=>j(a));let e=200+y+3500;t(e,()=>{g("dissolving"),j(null)}),t(e+400,a)};return a(),()=>e.forEach(clearTimeout)},[p]),(0,t.jsx)("div",{ref:d,"aria-hidden":!0,className:(0,l.cn)("@container relative w-full max-w-[563px] overflow-hidden rounded-[28px] bg-white pb-[24px] md:rounded-[40px] md:pb-0",e),children:(0,t.jsxs)("div",{className:"relative aspect-[563/394] w-full",children:[(0,t.jsx)("svg",{"aria-hidden":!0,role:"presentation",viewBox:"0 0 563 394",width:"100%",height:"100%",className:"absolute inset-0",children:f.map(e=>(0,t.jsx)("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:"var(--color-line)",strokeWidth:2.5,strokeLinecap:"round",strokeDasharray:e.length,style:{strokeDashoffset:"reset"===h?e.length:0,opacity:+!!T,transition:L?T?`stroke-dashoffset ${e.duration}ms linear ${e.delay}ms`:"opacity 400ms ease-out":"none"}},e.key))}),x.map(e=>(0,t.jsxs)("div",{style:{...m(e.x-e.size/2,e.y-e.size/2,e.size),transitionDelay:T?`${v[e.id]}ms`:"0ms"},className:(0,l.cn)(u,"transition-[opacity,scale] duration-400 ease-out-soft",!L&&"transition-none",T?"scale-100 opacity-100":"scale-50 opacity-0",3===e.layer&&T&&"opacity-70"),children:[(0,t.jsx)(a.default,{src:`/assets/avatars/${e.avatar}.png`,alt:"",width:e.size,height:e.size,className:"size-full rounded-pill object-cover"}),e.rim?(0,t.jsx)("span",{style:{background:`radial-gradient(closest-side, transparent 89.5%, ${e.rim} 91%)`},className:"absolute inset-0 rounded-pill"}):null,e.badge?(0,t.jsxs)("span",{className:"absolute -right-[4px] -bottom-[2px] flex size-[46%] items-center justify-center",children:[(0,t.jsx)(a.default,{src:`/assets/icons/${e.badge.ring}.svg`,alt:"",width:26,height:26,className:"absolute inset-0 size-full"}),(0,t.jsx)("span",{className:"relative text-[1.95cqw] leading-none @min-[563px]:text-[11px]",children:e.badge.emoji})]}):null]},e.id)),(0,t.jsx)("div",{style:m(o.x-32,o.y-32,64),className:(0,l.cn)(u,"flex items-center justify-center rounded-pill bg-line"),children:(0,t.jsx)(r.Text,{variant:"bodyStrong",as:"span",children:c("youNode")})}),w?(0,t.jsx)("div",{className:"absolute inset-x-0 top-[83%] flex justify-center",children:(0,t.jsx)(r.Text,{variant:"bodyStrong",as:"span",className:"animate-pin-pop text-[18px] leading-[26px] whitespace-nowrap",children:c(`layers.${w}`)},w)}):null]})})}])},332671,e=>{"use strict";var t=e.i(843476),a=e.i(394245),s=e.i(271645),i=e.i(648587),r=e.i(895975);let l=({count:e=5,className:a})=>(0,t.jsx)(i.Text,{variant:"caption",as:"span","aria-hidden":!0,className:(0,r.cn)("whitespace-nowrap tracking-[2px]",a),children:"âï¸".repeat(e)}),n={mint:"bg-mint-200",lilac:"bg-lilac-50",sky:"bg-sky-50"},o=["mint","lilac","sky"],c=({testimonial:e,tone:a="mint"})=>(0,t.jsxs)("figure",{className:"flex min-w-px flex-1 flex-col items-start justify-between self-stretch rounded-box bg-white px-[26px] py-[24px] shadow-[0px_8px_24px_-4px_rgba(0,0,0,0.07)]",children:[(0,t.jsxs)("div",{className:"flex w-full shrink-0 flex-col gap-[11px]",children:[(0,t.jsx)(l,{}),e.title?(0,t.jsx)(i.Text,{variant:"bodyStrong",children:e.title}):null,(0,t.jsx)("blockquote",{children:(0,t.jsx)(i.Text,{variant:"caption",children:e.quote})})]}),(0,t.jsxs)("figcaption",{className:"flex w-full shrink-0 items-center gap-[12px] border-t border-line-soft pt-[15px]",children:[(0,t.jsx)("span",{className:(0,r.cn)("flex size-[34px] shrink-0 items-center justify-center rounded-pill border border-line-soft",n[a]),children:(0,t.jsx)(i.Text,{variant:"label",as:"span",children:e.name.charAt(0)})}),(0,t.jsxs)("div",{className:"flex shrink-0 flex-col gap-px",children:[(0,t.jsx)(i.Text,{variant:"caption",tone:"ink",as:"span",className:"whitespace-nowrap",children:e.name}),(0,t.jsx)(i.Text,{variant:"caption",tone:"muted",as:"span",className:"whitespace-nowrap",children:e.meta})]})]})]});var d=e.i(117581);e.s(["TestimonialMarquee",0,({items:e})=>{let i=(0,a.useTranslations)("testimonials"),[r,l]=(0,d.useInView)({threshold:.2,repeat:!0}
2),[n,p]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(!l||n)return;let e=setTimeout(()=>p(!0),900);return()=>clearTimeout(e)},[l,n]),((e,{drifting:t,secondsPerLoop:a})=>{(0,s.useEffect)(()=>{let s,i=e.current,r=i?.firstElementChild;if(!i||!r)return;let l=window.matchMedia("(prefers-reduced-motion: reduce)"),n=r.scrollWidth/3,o=i.scrollLeft,c=o,d=!1,p=!1,x=!1,m=-1/0,u=0,h=0,g=null,f=e=>{o=e,c=e,i.scrollLeft=e},v=()=>{if(0===n||d)return;let e=n+((o-n)%n+n)%n;Math.abs(e-o)>.5&&f(e)},b=()=>{clearTimeout(s),s=setTimeout(v,160)},y=()=>{1.5>=Math.abs(i.scrollLeft-c)||(c=o=i.scrollLeft,m=performance.now(),b())},w=e=>{(d=e.touches.length>0)||b()},j=()=>{g&&(g=null,d=!1,delete i.dataset.dragging,b())},N=e=>{"mouse"===e.pointerType&&0===e.button&&(g={startX:e.clientX,startLeft:i.scrollLeft},d=!0,i.dataset.dragging="true",i.setPointerCapture(e.pointerId))},k=e=>{g&&(i.scrollLeft=g.startLeft-(e.clientX-g.startX))},T=e=>{p="mouse"===e.pointerType},L=()=>{p=!1},M=()=>{x=i.matches(":focus-visible")},E=()=>{x=!1},z=e=>{if(l.matches){u=0;return}u=requestAnimationFrame(z);let t=Math.min(e-h,64);if(h=e,d||p||x||performance.now()-m<160)return;let s=o+n/a*(t/1e3);f(s>=2*n?s-n:s)},S=()=>{u||!t||l.matches||(h=performance.now(),u=requestAnimationFrame(z))},_=new ResizeObserver(()=>{let e=r.scrollWidth/3;n>0&&e>0&&(o=o/n*e),n=e,f(o),v()});return n>0&&i.scrollLeft<1&&f(n),_.observe(r),i.addEventListener("scroll",y,{passive:!0}),i.addEventListener("touchstart",w,{passive:!0}),i.addEventListener("touchend",w,{passive:!0}),i.addEventListener("touchcancel",w,{passive:!0}),i.addEventListener("pointerdown",N),i.addEventListener("pointermove",k),i.addEventListener("pointerup",j),i.addEventListener("pointercancel",j),i.addEventListener("lostpointercapture",j),i.addEventListener("pointerenter",T),i.addEventListener("pointerleave",L),i.addEventListener("focusin",M),i.addEventListener("focusout",E),l.addEventListener("change",S),S(),()=>{cancelAnimationFrame(u),clearTimeout(s),_.disconnect(),i.removeEventListener("scroll",y),i.removeEventListener("touchstart",w),i.removeEventListener("touchend",w),i.removeEventListener("touchcancel",w),i.removeEventListener("pointerdown",N),i.removeEventListener("pointermove",k),i.removeEventListener("pointerup",j),i.removeEventListener("pointercancel",j),i.removeEventListener("lostpointercapture",j),i.removeEventListener("pointerenter",T),i.removeEventListener("pointerleave",L),i.removeEventListener("focusin",M),i.removeEventListener("focusout",E),l.removeEventListener("change",S),delete i.dataset.dragging}},[e,t,a])})(r,{drifting:n&&l,secondsPerLoop:5*e.length});let x=Array.from({length:3},()=>e).flat();return(0,t.jsx)("section",{ref:r,"aria-label":i("railLabel"),tabIndex:0,className:"-mx-[20px] -my-[14px] w-[calc(100%+40px)] scroll-auto overflow-x-auto overscroll-x-contain py-[40px] [mask-image:linear-gradient(to_right,transparent,black_9%,black_91%,transparent)] [scrollbar-width:none] md:-mx-[40px] md:w-[calc(100%+80px)] xl:mx-0 xl:w-full [&::-webkit-scrollbar]:hidden md:cursor-grab data-[dragging=true]:cursor-grabbing data-[dragging=true]:select-none",children:(0,t.jsx)("div",{className:"flex w-max items-stretch",children:x.map((a,s)=>(0,t.jsx)("div",{"aria-hidden":s>=e.length,className:"mr-[16px] flex w-[260px] shrink-0 transition-transform duration-300 ease-out-soft hover:z-10 hover:scale-[1.05] md:mr-[20px] md:w-[300px]",children:(0,t.jsx)(c,{testimonial:a,tone:o[s%e.length%o.length]})},`${s}-${a.name}`))})})}],332671)},651167,e=>{"use strict";var t=e.i(843476),a=e.i(657688),s=e.i(861745),i=e.i(394245),r=e.i(271645),l=e.i(93467),n=e.i(558619),o=e.i(648587),c=e.i(895975);let d=({eyebrow:e,eyebrowTone:a="lilac",eyebrowWithDot:s=!1,heading:i,subline:r,sublineWidth:l,sublineVariant:d="body",align:p="center",action:x,className:m})=>{let u="center"===p&&!x,h=(0,t.jsxs)("div",{className:(0,c.cn)("flex min-w-0 flex-col gap-[14px]",x&&"md:shrink-0",u?"items-center":"items-start"),children:[e?(0,t.jsx)(n.Eyebrow,{tone:a,withDot:s,children:e}):null,i,r?(0,t.jsx)("div",{style:l?{maxWidth:l}
2:void 0,children:(0,t.jsx)(o.Text,{variant:d,className:(0,c.cn)("max-md:text-[15px] max-md:leading-[24px]",u&&"text-center"),children:r})}):null]});return(0,t.jsxs)("div",{className:(0,c.cn)("flex w-full",x?"flex-col items-start gap-[20px] md:flex-row md:items-center md:justify-between":u?"justify-center":"",m),children:[h,x]})};var p=e.i(119209),x=e.i(189131),m=e.i(953819),u=e.i(71895),h=e.i(476966),g=e.i(221356),f=e.i(185516),v=e.i(730817),b=e.i(393265),y=e.i(548820),w=e.i(174080),j=e.i(485728),N=e.i(94889);let k=["München","Berlin","Hamburg","Münster","Köln","Frankfurt am Main","Wien","Düsseldorf","Stuttgart","Mannheim","Lissabon","Leipzig","Hannover","Würzburg","Bonn","Osnabrück","Aachen","Regensburg","Augsburg","Bremen","Nürnberg","Wiesbaden","Mainz","Heidelberg","Kiel","Karlsruhe","Darmstadt","Maastricht","Göttingen","Freiburg im Breisgau","Amsterdam","Passau","Bielefeld","Innsbruck","Paris","Dortmund","Tübingen","Zürich","Barcelona","GieÃen","Oldenburg","London","Essen","Potsdam","Konstanz","Bochum","Dresden","Braunschweig","Mailand","Marburg"].flatMap((e,t)=>{let a=N.cities.find(t=>
2(t.apiName??t.name)===e);return a?[{...a,rank:t}]:[]}),T=k.filter(e=>!e.outsideFrame);var L=e.i(967727);let M={sm:{width:740,height:320,safeWidth:276},md:{width:960,height:440,safeWidth:684},lg:{width:810,height:560,safeWidth:540},xl:{width:890,height:560,safeWidth:716}},E=Object.keys(M),z={top:90,right:90,bottom:70,left:70},S={top:56,right:64,bottom:32,left:24},_=[Math.min(...T.map(e=>e.lng)),Math.min(...T.map(e=>e.lat)),Math.max(...T.map(e=>e.lng)),Math.max(...T.map(e=>e.lat))];var I=e.i(793735);let $=({images:e,alt:s,eager:i=!1})=>{let r=e.map(e=>({media:e.media,props:(0,a.getImageProps)({src:e.src,alt:s,width:e.camera.width,height:e.camera.height}).props})),l=r[r.length-1];return(0,t.jsxs)("picture",{children:[r.slice(0,-1).map(({media:e,props:a})=>(0,t.jsx)("source",{media:e,srcSet:a.srcSet},e)),(0,t.jsx)("img",{...l.props,alt:s,loading:i?"eager":"lazy",fetchPriority:i?"high":void 0,className:"size-full text-transparent"})]})},A=()=>{let e=(0,i.useTranslations)("mapAttribution");return(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 flex items-end justify-between gap-[8px]",children:[(0,t.jsx)("a",{href:"https://www.mapbox.com/",target:"_blank",rel:"noopener noreferrer",className:"pointer-events-auto m-[6px] shrink-0",children:(0,t.jsx)("img",{src:"/assets/mapbox-logo.svg",alt:"Mapbox",width:88,height:23})}),(0,t.jsxs)("p",{className:"pointer-events-auto rounded-tl-[4px] bg-white/60 px-[5px] text-right text-[10px] text-black/75 leading-[18px] [&_a]:whitespace-nowrap [&_a]:hover:underline",children:[(0,t.jsx)("a",{href:"https://www.mapbox.com/about/maps/",target:"_blank",rel:"noopener noreferrer",children:"© Mapbox"})," ",(0,t.jsx)("a",{href:"https://www.openstreetmap.org/copyright",target:"_blank",rel:"noopener noreferrer",children:"© OpenStreetMap"})," ",(0,t.jsx)("a",{href:"https://apps.mapbox.com/feedback/",target:"_blank",rel:"noopener noreferrer",className:"font-bold",children:e("improve")})]})]})};var C=e.i(563895),O=e.i(117581);let B=[[-30,25],[50,68]],R=[[_[0],_[1]],[_[2],_[3]]],H=e=>13*!!e+6,P=(e,t)=>{let a=document.createElement("canvas").getContext("2d");return a?(a.font=getComputedStyle(e).font,new Map(k.map(e=>[e.slug,a.measureText((0,N.cityName)(e,t)).width]))):new Map},F=()=>(0,t.jsx)(o.Text,{variant:"label",as:"span","aria-hidden":!0,"data-label-font":!0,className:"invisible absolute size-0 overflow-hidden",children:"M"}),D=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top,W={labelled:new Set,covered:new Set,revealed:null},U=(e,t)=>e.size===t.size&&[...e].every(e=>t.has(e)),q=(e,t)=>e.revealed===t.revealed&&U(e.labelled,t.labelled)&&U(e.covered,t.covered),K=(e,t,a,s=1)=>{let i=e-H(!0)*s,r=38*s;return{left:i-4,right:i+a*s+4,top:t-r/2-4,bottom:t+r/2+4}},V=(e,t)=>e.left>=0&&e.right<=t.width&&e.top>=0&&e.bottom<=t.height-L.ATTRIBUTION_HEIGHT&&!t.obstacles.some(t=>D(e,t)),Z=(e,t,a,s,i)=>{let r=new Map,l=e=>{let t;return t=a.get(e.slug)??0,H(!0)+6+9+t+16},n=[];for(let a of e){if(6===n.length)break;let{x:e,y:s}=t(a),r=K(e,s,l(a));(!i||V(r,i))&&n.push({city:a,box:r})}for(let{city:e,box:t}of n)[...r.values()].some(e=>D(t,e))||r.set(e.slug,t);let o=e.find(e=>e.slug===s),c=null;if(o){let{x:e,y:a}=t(o),s=K(e,a,l(o),1.1);for(let[e,t]of(c=r.has(o.slug)?null:o.slug,r))e!==o.slug&&D(s,t)&&r.delete(e);r.set(o.slug,s)}let d=new Set,p=[];for(let a of e){if(r.has(a.slug))continue;let{x:e,y:s}=t(a),i={left:e-6,right:e+6,top:s-6,bottom:s+6};[...r.values()].some(e=>D(i,e))||p.some(t=>14>Math.hypot(t.x-e,t.y-s))?d.add(a.slug):p.push({x:e,y:s})}return{labelled:new Set(r.keys()),covered:d,revealed:c}},G=({city:e,labelled:a,active:i,pop:r,interactive:l})=>{let n=(0,s.useLocale)();return(0,t.jsxs)("span",{"data-pin-pill":!0,className:(0,c.cn)("flex items-center rounded-pill transition-[background-color,box-shadow,transform] duration-200 ease-out-soft",l&&"cursor-pointer",l&&!a&&"relative after:absolute after:-inset-[7px] after:content-['']",a?"gap-[9px] bg-white py-[8px] pr-[16px] pl-[13px] shadow-[0px_2px_8px_0px_rgba(0,0,0,0.12)]":"gap-0 p-0",i&&"scale-110 shadow-[0px_6px_18px_0px_rgba(0,0,0,0.2)]"),style:{transformOrigin:`${H(a)}px center`}
2,children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"size-[12px] shrink-0 rounded-full border-[1.5px] border-white bg-ink"}),a?(0,t.jsx)(o.Text,{variant:"label",as:"span",className:(0,c.cn)("whitespace-nowrap",r&&"animate-pin-pop"),children:(0,N.cityName)(e,n)}):null]})},X="absolute top-0 left-0 w-max transition-transform duration-200 ease-out-soft",J=e=>({transform:`translate(-${H(e)}px, -50%)`}),Y=({city:e,labelled:a,active:s,label:i,onHover:l})=>{let n=(0,r.useRef)(!1);return(0,t.jsx)(m.AppLink,{href:(0,v.exploreUrl)(e.slug),"aria-label":i,onPointerEnter:e=>{n.current="touch"===e.pointerType},onClick:t=>{n.current&&!a&&(t.preventDefault(),l(e.slug))},onMouseEnter:()=>!n.current&&l(e.slug),onMouseLeave:()=>l(null),onFocus:()=>!n.current&&l(e.slug),onBlur:()=>l(null),className:X,style:J(a),children:(0,t.jsx)(G,{city:e,labelled:a,active:s,pop:!0,interactive:!0})})},Q={sm:"md:hidden",md:"hidden md:block lg:hidden",lg:"hidden lg:block xl:hidden",xl:"hidden xl:block"},ee=E.map(e=>{let t=(0,L.fitStaticMapCamera)(_,M[e],"sm"===e?S:z),a=(0,L.staticMapProjection)(t);return{variant:e,camera:t,src:`/api/europe-map/${(0,L.staticMapImageName)(e,t)}`,positions:new Map(T.map(e=>{let[t,s]=a(e.lng,e.lat);return[e.slug,{x:Math.round(10*t)/10,y:Math.round(10*s)/10}]}))}}),et={x:0,y:0},ea=({active:e})=>{let a=(0,s.useLocale)(),[i,l]=(0,r.useState)(()=>{let e;return e=new Map(T.map(e=>[e.slug,7.7*(0,N.cityName)(e,a).length])),Object.fromEntries(ee.map(({variant:t,positions:a})=>[t,Z(T,e=>a.get(e.slug)??et,e,null)]))});return(0,r.useEffect)(()=>{let t=document.querySelector("[data-label-font]");if(!t)return;let s=!1,i=t=>{l(a=>{let s=!1,i={...a};for(let{variant:r,positions:l}of ee){let n=Z(T,e=>l.get(e.slug)??et,t,e);q(a[r],n)||(i[r]=n,s=!0)}return s?i:a})};return i(P(t,a)),document.fonts.ready.then(()=>{s||i(P(t,a))}),()=>{s=!0}},[e,a]),(0,t.jsxs)("div",{className:(0,c.cn)("absolute top-0 left-1/2 -translate-x-1/2","h-[320px] w-[740px] md:h-[440px] md:w-[960px] lg:h-[560px] lg:w-[810px] xl:w-[890px]"),children:[(0,t.jsx)(F,{}),(0,t.jsx)($,{images:[{media:"(min-width: 1280px)",...ee[3]},{media:"(min-width: 1024px)",...ee[2]},{media:"(min-width: 768px)",...ee[1]},ee[0]],alt:""}),ee.map(({variant:a,positions:s})=>(0,t.jsx)("div",{"data-static-pins":!0,"aria-hidden":"true",className:(0,c.cn)("pointer-events-none absolute inset-0",Q[a]),children:T.map(r=>{let l=s.get(r.slug),{labelled:n,covered:o,revealed:d}=i[a];if(!l||o.has(r.slug))return null;let p=e===r.slug;return(0,t.jsx)("span",{className:(0,c.cn)("absolute",p&&"z-10"),style:{left:l.x,top:l.y},children:(0,t.jsx)("span",{className:X,style:J(n.has(r.slug)),children:(0,t.jsx)(G,{city:r,labelled:n.has(r.slug),active:p,pop:d===r.slug,interactive:!1})})},r.slug)})},a))]})},es=({highlighted:l=null,onHighlight:n,staticMapAvailable:o=!1})=>{let d=(0,i.useTranslations)("discoverMap"),p=(0,s.useLocale)(),[x,m]=(0,O.useInView)({threshold:0,rootMargin:"300px 0px"}),u=(0,r.useRef)(null),h=(0,r.useRef)(null),g=(0,r.useRef)(null),[f,v]=(0,r.useState)([]),[b,y]=(0,r.useState)(null),{unavailable:T,awaitingConsent:L,onFailed:M}=(0,C.useMapPane)(),[E,_]=(0,r.useState)(null),[$,H]=(0,r.useState)(W),D=E??l;(0,r.useEffect)(()=>{if(!m||!I.ACCESS_TOKEN||T)return;let t=null,a=[],s=null,i=!1;return e.A(52498).then(({default:e})=>{let r=u.current;if(i||!r)return;if(!e.supported())return void M();let l=r.clientWidth<600,n=t=new e.Map({container:r,accessToken:I.ACCESS_TOKEN,style:I.MAP_STYLE,language:p,projection:"mercator",bounds:R,fitBoundsOptions:{padding:l?S:z},maxBounds:B,minZoom:l?2.8:3.6,maxZoom:12,cooperativeGestures:!0,locale:{"ScrollZoomBlocker.CtrlMessage":d("gestures.ctrl"),"ScrollZoomBlocker.CmdMessage":d("gestures.cmd"),"TouchPanBlocker.Message":d("gestures.touch")},dragRotate:!1,pitchWithRotate:!1,touchPitch:!1});n.touchZoomRotate.disableRotation(),g.current=n,(s=new ResizeObserver(()=>n.resize())).observe(r);let o=()=>{let e=n.getZoom(),t={canIn:e<11.99,canOut:e>n.getMinZoom()+.01};y(e=>e?.canIn===t.canIn&&e.canOut===t.canOut?e:t)};o(),n.on("zoom",o),n.on("style.load",()=>(e=>{for(let t of e.getStyle().layers)"symbol"===t.type&&t.id.startsWith("settlement-")&&e.setLayoutProperty(t.id,"visibility","none")})(n)),t.on("error",()=>{t?.isStyleLoaded()||M()}),v(k.map(s=>{let i=document.createElement("div");return a.push(new e.Marker({element:i,anchor:"center"}).setLngLat([s.lng,s.lat]).addTo(t)),{city:s,node:i}}))}),()=>{for(let e of(i=!0,s?.disconnect(),a))e.remove();a=[],t?.remove(),g.current=null,v([]),y(null)}},[m,p,T,M,d]),(0,r.useLayoutEffect)(()=>{let e=g.current,t=f.length?document.querySelector("[data-label-font]"):null;if(!e||!t)return;let a=!1,s=P(t,p),i=()=>{let t=e.getContainer(),a=t.getBoundingClientRect(),i=h.current?.getBoundingClientRect(),r=Z(k,t=>e.project([t.lng,t.lat]),s,D,{width:t.clientWidth,height:t.clientHeight,obstacles:i?[{left:i.left-a.left-4,right:i.right-a.left+4,top:i.top-a.top-4,bottom:i.bottom-a.top+4}]:[]});H(e=>q(e,r)?e:r)};return i(),e.on("moveend",i),document.fonts.ready.then(()=>{a||(s=P(t,p),i())}),()=>{a=!0,e.off("moveend",i)}},[f,D,p]);let U=e=>{_(e),n?.(e)};return(0,t.jsxs)("div",{ref:x,className:"relative h-[320px] w-full overflow-clip bg-lilac-50 md:h-[440px] lg:h-[560px] lg:w-auto lg:min-w-0 lg:flex-1 canvas:w-[880px] canvas:flex-none",children:[T&&o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ea,{active:D}),(0,t.jsx)(A,{})]}):T?(0,t.jsx)(a.default,{src:"/assets/mock/city-map.png",alt:"",fill:!0,sizes:"(min-width: 1024px) 880px, 100vw",className:"pointer-events-none object-cover object-center"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(F,{}),(0,t.jsx)("div",{ref:u,className:"size-full"})]}),L?(0,t.jsx)(j.MapConsentNotice,{}):null,f.map(({city:e,node:a})=>(0,w.createPortal)($.covered.has(e.slug)?null:(0,t.jsx)(Y,{city:e,labelled:$.labelled.has(e.slug),active:D===e.slug,label:d("cityLink",{city:(0,N.cityName)(e,p)}),onHover:U}),a,e.slug)),T?null:(0,t.jsx)("div",{ref:h,className:"absolute top-[20px] right-[20px] z-10 flex flex-col overflow-hidden rounded-[14px] border border-line bg-white shadow-[0px_4px_14px_0px_rgba(0,0,0,0.1)]",children:[["in",!b?.canIn],["out",!b?.canOut]].map(([e,a])=>(0,t.jsx)("button",{type:"button",disabled:a,onClick:()=>"in"===e?g.current?.zoomIn():g.current?.zoomOut(),"aria-label":d(`zoom.${e}
2`),className:(0,c.cn)("flex size-[38px] items-center justify-center text-[18px] leading-none font-medium text-ink transition-colors duration-150","in"===e&&"border-b border-line",a?"cursor-not-allowed text-muted opacity-50":"cursor-pointer hover:bg-surface-strong"),children:"in"===e?"+":"â"},e))})]})};var ei=e.i(456787);e.s(["DiscoverMap",0,({staticMapAvailable:e})=>{let n=(0,i.useTranslations)("discoverMap"),w=(0,s.useLocale)(),[j,k]=(0,r.useState)(""),T=(0,r.useRef)(null),[L,M]=(0,r.useState)(null),{cities:E,pending:z}=(0,f.useLiveCities)(j),S=(0,r.useMemo)(()=>{let e=(0,N.searchCities)(j,12).map(e=>({key:e.slug,name:(0,N.cityName)(e,w),emoji:e.emoji??"ð",href:(0,v.exploreUrl)(e.slug)})),t=new Set(e.map(e=>(0,h.fold)(e.name)));return[...e,...E.filter(e=>!t.has((0,h.fold)(e))).map(e=>({key:`live:${e}`,name:e,emoji:"ð",href:(0,y.exploreHref)({city:e})}))]},[j,w,E]);return(0,t.jsxs)(l.Section,{id:v.sectionIds.cities,anchorToContent:!0,className:"flex flex-col items-start gap-[28px] md:gap-[40px]",children:[(0,t.jsx)(d,{heading:(0,t.jsxs)(p.Heading,{level:2,className:(0,c.cn)("text-center xl:flex xl:items-center xl:whitespace-nowrap",ei.TABLET_H2),children:[(0,t.jsxs)("span",{children:[n("headlineLead")," "]}),(0,t.jsx)(x.Highlight,{variant:"inlineWide",tone:"mint",children:n("headlineHighlight")})]}),subline:n("subline")}),(0,t.jsxs)("div",{className:"flex w-full flex-col overflow-hidden rounded-[28px] border border-line bg-white shadow-[0px_5px_20px_0px_rgba(0,0,0,0.1)] lg:flex-row lg:items-start",children:[(0,t.jsxs)("div",{className:"flex w-full flex-col gap-[18px] overflow-hidden px-[20px] pt-[24px] pb-[20px] md:gap-[22px] md:px-[36px] md:py-[32px] lg:h-[560px] lg:w-[400px] lg:shrink-0 lg:py-[40px]",children:[(0,t.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-x-[12px] gap-y-[4px]",children:[(0,t.jsx)(o.Text,{variant:"action",as:"span",className:"whitespace-nowrap",children:n("panelTitle")}),(0,t.jsxs)("div",{className:"flex items-center gap-[8px]",children:[(0,t.jsx)(a.default,{src:"/assets/icons/live-dot.svg",alt:"",width:6,height:6,className:"size-[6px] shrink-0"}),(0,t.jsx)(o.Text,{variant:"caption",as:"span",className:"font-medium whitespace-nowrap leading-[20px]",children:n("activeCities",{count:b.siteConfig.stats.cities})})]})]}),(0,t.jsxs)("div",{className:"flex w-full shrink-0 items-center gap-[10px] rounded-pill border border-line bg-white px-[18px] py-[15px] transition-[border-color,box-shadow] duration-200 ease-out-soft focus-within:border-ink/25 focus-within:shadow-[0px_6px_18px_0px_rgba(0,0,0,0.08)]",children:[(0,t.jsx)("input",{ref:T,type:"search",value:j,onChange:e=>k(e.target.value),placeholder:n("searchPlaceholder"),"aria-label":n("searchPlaceholder"),className:"min-w-px flex-1 bg-transparent text-[16px] leading-[26px] text-ink outline-none placeholder:text-body [&::-webkit-search-cancel-button]:hidden"}),j?(0,t.jsx)("button",{type:"button",onClick:()=>{k(""),T.current?.focus()},"aria-label":n("clearSearch"),className:"relative flex size-[18px] shrink-0 cursor-pointer items-center justify-center text-muted transition-colors duration-150 after:absolute after:-inset-[13px] after:content-[''] hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ink",children:(0,t.jsx)(g.CloseIcon,{size:18})}):(0,t.jsx)(g.SearchIcon,{size:18,className:"shrink-0 text-muted"})]}),S.length>0?(0,t.jsx)("ul",{className:"grid w-full grid-cols-2 gap-[10px] md:grid-cols-3 md:gap-[12px] lg:grid-cols-2",children:S.map(e=>(0,t.jsx)("li",{className:"min-w-px max-md:nth-[n+7]:hidden",children:(0,t.jsx)(m.AppLink,{href:e.href,onMouseEnter:()=>M(e.key),onMouseLeave:()=>M(null),onFocus:()=>M(e.key),onBlur:()=>M(null),className:(0,c.cn)("flex w-full cursor-pointer items-center rounded-pill border bg-white py-[11px] pr-[10px] pl-[14px] transition-[background-color,border-color,transform,box-shadow] duration-200 ease-out-soft md:py-[13px] md:pr-[14px] md:pl-[16px]",L===e.key?"-translate-y-px border-mint-200 bg-mint-50 shadow-[0px_6px_16px_-4px_rgba(0,0,0,0.12)]":"border-line"),children:(0,t.jsxs)(o.Text,{variant:"label",as:"span",className:"min-w-0 truncate font-medium",children:[e.emoji," ",e.name]})})},e.key))}):z?(0,t.jsx)(u.CitySearchPending,{label:n("searching"),className:"px-0"}):(0,t.jsx)(o.Text,{variant:"caption",tone:"muted",children:n("noResults",{query:j})})]}),(0,t.jsx)(es,{highlighted:L,onHighlight:M,staticMapAvailable:e})]})]})}],651167)},409455,e=>{"use strict";var t=e.i(843476),a=e.i(394245),s=e.i(93467),i=e.i(337658),r=e.i(119209),l=e.i(189131),n=e.i(54790),o=e.i(730817),c=e.i(864947),d=e.i(657688),p=e.i(648587),x=e.i(895975);let m=({items:e,size:a="default"})=>(0,t.jsx)("div",{className:(0,x.cn)("flex w-full flex-col items-center justify-center gap-[8px] pt-[4px] md:flex-row md:flex-wrap md:gap-x-[20px] md:gap-y-[10px] lg:flex-nowrap lg:gap-[28px]",e.length>3&&"md:max-lg:max-w-[440px]"),children:e.map((e,s)=>(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-[28px]",children:[s>0?(0,t.jsx)(d.default,{src:"/assets/icons/dot-muted.svg",alt:"",width:3,height:3,className:"hidden size-[3px] shrink-0 lg:block"}):null,(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-[8px]",children:[(0,t.jsx)("span",{"aria-hidden":!0,
2className:"large"===a?"text-[15px]":"text-[16px]",children:e.emoji}),(0,t.jsx)(p.Text,{variant:"large"===a?"badge":"caption",as:"span",className:"font-medium whitespace-nowrap",children:e.label})]})]},e.label))});var u=e.i(456787);e.s(["FinalCta",0,()=>{let e=(0,a.useTranslations)("finalCta"),{open:d}=(0,c.useAppNudge)(),p=e.raw("trust");return(0,t.jsxs)(s.Section,{tone:"lilacFade",className:"flex flex-col items-center gap-[36px] md:gap-[50px]",children:[(0,t.jsx)(i.Reveal,{from:"scale",children:(0,t.jsxs)(r.Heading,{level:2,className:(0,x.cn)("text-center xl:flex xl:items-center xl:leading-[60px] xl:whitespace-nowrap",u.TABLET_H2),children:[(0,t.jsxs)("span",{children:[e("headlineLead")," "]}),(0,t.jsx)(l.Highlight,{variant:"inlineWide",tone:"mint",children:e("headlineHighlight")})]})}),(0,t.jsxs)(i.Reveal,{delay:140,className:"flex w-full max-w-[400px] flex-col items-stretch gap-[12px] md:w-auto md:max-w-none md:shrink-0 md:flex-row md:items-start md:gap-[16px]",children:[(0,t.jsx)(n.Button,{href:o.anchors.cities,compactOnTablet:!0,className:"border-[1.5px] border-transparent",children:e("primaryCta")}),(0,t.jsx)(n.Button,{variant:"secondary",compactOnTablet:!0,onClick:()=>d("createOffer"),children:e("secondaryCta")})]}),(0,t.jsx)(i.Reveal,{delay:260,className:"w-full",children:(0,t.jsx)(m,{items:p,size:"large"})})]})}],409455)},693251,e=>{"use strict";var t=e.i(843476),a=e.i(657688),s=e.i(861745),i=e.i(394245),r=e.i(271645),l=e.i(93467),n=e.i(558619),o=e.i(119209),c=e.i(189131),d=e.i(648587),p=e.i(730817),x=e.i(530552),m=e.i(456787),u=e.i(895975),h=e.i(117581);let g={de:"/assets/mock/profile-de.png",en:"/assets/mock/profile-en.png"},f={searching:[{key:"profile",screen:g},{key:"discover",screen:{de:"/assets/mock/searching-discover-de.png",en:"/assets/mock/searching-discover-en.png"}},{key:"request",screen:{de:"/assets/mock/searching-request-de.png",en:"/assets/mock/searching-request-en.png"}}],offering:[{key:"offerProfile",screen:g},{key:"createOffer",screen:{de:"/assets/mock/offering-create-de.png",en:"/assets/mock/offering-create-en.png"}},{key:"manageRequests",screen:{de:"/assets/mock/offering-requests-de.png",en:"/assets/mock/offering-requests-en.png"}}]},v=Object.keys(f),b=e=>(0,u.cn)("transition-[opacity,translate,scale] ease-out-soft",e?"translate-y-0 scale-100 opacity-100 duration-700 delay-(--step-delay) motion-reduce:delay-0":"translate-y-[20px] scale-[0.97] opacity-0 duration-[180ms,0ms,0ms] delay-[0ms,180ms,180ms]"),y=e=>({"--step-delay":`${e}ms`});e.s(["HowItWorks",0,()=>{let e=(0,i.useTranslations)("howItWorks"),g=(0,s.useLocale)(),w=(0,r.useId)(),[j,N]=(0,r.useState)("searching"),[k,T]=(0,h.useInView)({threshold:.2});return(0,t.jsxs)(l.Section,{id:p.sectionIds.howItWorks,tone:"surface",className:"flex flex-col items-center gap-[32px] md:gap-[40px]",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-[14px]",children:[(0,t.jsx)(n.Eyebrow,{children:e("eyebrow")}),(0,t.jsxs)(o.Heading,{level:2,className:(0,u.cn)("text-center xl:flex xl:items-center xl:whitespace-nowrap",m.TABLET_H2),children:[(0,t.jsxs)("span",{children:[e("headlineLead")," "]}),(0,t.jsx)(c.Highlight,{tone:"mint",children:e("headlineHighlight")}),(0,t.jsx)("span",{children:" ð±"})]})]}),(0,t.jsxs)("div",{role:"tablist","aria-label":e("tablistLabel"),className:"relative flex w-full max-w-[498px] shrink-0 items-start gap-(--tab-gap) rounded-pill bg-surface-strong p-(--tab-inset) [--tab-gap:12px] [--tab-inset:6px] max-xl:[--tab-inset:4px] md:w-auto md:max-w-none",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:(0,u.cn)("pointer-events-none absolute inset-y-(--tab-inset) left-(--tab-inset) w-[calc((100%-2*var(--tab-inset)-var(--tab-gap))/2)] rounded-pill bg-white drop-shadow-[0px_5px_10px_rgba(0,0,0,0.1)] transition-[translate] duration-500 ease-out-soft",j===v[0]?"translate-x-0":"translate-x-[calc(100%+var(--tab-gap))]")}),v.map(a=>{let s=a===j;return(0,t.jsx)("button",{type:"button",role:"tab",id:`${w}-tab-${a}`,"aria-selected":s,"aria-controls":`${w}-panel-${a}`,onClick:()=>N(a),className:(0,u.cn)("group relative flex min-w-0 flex-1 cursor-pointer items-center justify-center rounded-pill px-[8px] py-[8px] transition-colors duration-300 ease-out-soft max-xl:py-[6px] md:w-[243px] md:flex-none md:px-[18px] md:max-xl:w-[200px]",!s&&"hover:bg-black/[0.04]"),children:(0,t.jsx)(d.Text,{variant:"action",as:"span",tone:s?"ink":"muted",className:(0,u.cn)("text-center whitespace-nowrap transition-colors duration-300 ease-out-soft max-xl:text-[14px]",!s&&"group-hover:text-ink"),children:e(`tabs.${a}`)})},a)})]}),(0,t.jsx)("div",{ref:k,className:"grid w-full grid-cols-1",children:v.map(s=>{let i=s===j,r=T&&i;return(0,t.jsx)("div",{id:`${w}-panel-${s}`,role:"tabpanel","aria-labelledby":`${w}-tab-${s}`,"aria-hidden":!i,inert:!i,className:"col-start-1 row-start-1 min-w-0",children:(0,t.jsx)("ol",{className:"[--phone-scale:0.74] md:[--phone-scale:1] lg:[--phone-scale:0.74] -mx-[20px] -my-[24px] flex snap-x snap-mandatory scroll-px-[20px] items-start gap-[16px] overflow-x-auto overscroll-x-contain px-[20px] py-[24px] [scrollbar-width:none] md:-mx-[40px] md:scroll-px-[40px] md:gap-[24px] md:px-[40px] lg:m-0 lg:justify-center lg:overflow-visible lg:p-0 xl:gap-[56px] [&::-webkit-scrollbar]:hidden",children:f[s].map((s,i)=>{let l=180+140*i;return(0,t.jsxs)("li",{className:"flex w-[78vw] max-w-[300px] shrink-0 snap-start flex-col items-center gap-[20px] md:w-[300px] md:gap-[26px] lg:gap-[18px] lg:w-auto lg:min-w-0 lg:flex-1 xl:w-[300px] xl:flex-none",children:[(0,t.jsx)("div",{style:y(l),className:(0,u.cn)("relative h-[calc(520.3px*var(--phone-scale))] w-full shrink-0",b(r)),children:(0,t.jsx)(x.PhoneMockup,{width:239.631,className:"absolute top-[calc(-11px*var(--phone-scale))] left-1/2 origin-top -translate-x-1/2 scale-(--phone-scale)",screen:(0,t.jsx)(a.default,{src:s.screen[g],alt:"",width:220,height:477,className:"absolute top-[21px] left-1/2 h-[477px] w-[220px] -translate-x-1/2 object-cover"})})}),(0,t.jsxs)("div",{style:y(l+120),className:(0,u.cn)("flex w-full flex-col gap-[8px]",b(r)),children:[(0,t.jsxs)("div",{className:"flex w-full items-center gap-[12px]",children:[(0,t.jsx)("span",{className:"flex size-[30px] shrink-0 items-center justify-center rounded-pill bg-mint-100",children:(0,t.jsx)(d.Text,{variant:"label",as:"span",children:i+1})}),(0,t.jsx)(d.Text,{variant:"bodyStrong",as:"span",className:"md:whitespace-nowrap",children:e(`steps.${s.key}.title`)})]}),(0,t.jsx)(d.Text,{className:"w-full",children:e(`steps.${s.key}.description`)})]})]},s.key)})})},s)})})]})}])},456787,e=>{"use strict";e.s(["TABLET_H2",0,"md:max-xl:text-[34px] md:max-xl:leading-[44px]"])}]); 3
4//# debugId=9f3ccd92-cc0c-718a-42c5-61a17aed7572
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.