PageSourceSearch

https://orchidisland.immo/assets/invest-DNTFvi-8.js

js orchidisland.immo collected 2026-10-04 23:12:39 UTC 23,956 bytes, 2 lines download raw bytes

1import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-BhxXKzgZ.js";import{t as r}from"./link-CjvUfQZT.js";import{m as i}from"./i18n-DxFAMQZQ.js";import{t as a}from"./useTranslation-C6Ax6HCe.js";import{c as o}from"./contact-functions-Dgihc-T2.js";import{F as s,P as c,c as l}from"./index-C2cUvjnx.js";import{n as u,r as d,t as f}from"./useForm-CZXRZYMe.js";import{t as p}from"./site-header-BCifrkDt.js";import{t as m}from"./MapPin.es-J2ykecE_.js";import{t as h}from"./PaperPlaneTilt.es-B_pNzxig.js";import{t as g}from"./Phone.es-BYVxm03x.js";import{t as _}from"./Plus.es-BOe6X-Vw.js";import{t as v}from"./WhatsappLogo.es-sUfpA3pS.js";import{n as y}from"./button-ChKd240m.js";import{t as b}from"./utils-B6KiDbIe.js";import{i as x,n as S,r as C,t as ee}from"./textarea-CgxgLJHc.js";import{n as w,t as T}from"./turnstile-field-hEiltF-b.js";import{a as E,i as D,n as O,r as k,t as A}from"./select-CmorJYtB.js";import{n as te}from"./agency-contact-J6rWwYWV.js";import{t as j}from"./section-label-CusMTFT2.js";import{t as M}from"./site-footer-h7l3maX8.js";import{i as N,n as P,r as F,t as I}from"./accordion-Dkgmqn9j.js";import{n as L,r as R,t as ne}from"./branding-image-Dd8krLU9.js";import{t as re}from"./hero-assistant-note-Ctkm86-m.js";import{t as ie}from"./blog-article-card-B4J7PVv3.js";var z=e(t(),1),B=n();function V(){let e=(0,z.useRef)(null),[t,n]=(0,z.useState)(!1),[r,i]=(0,z.useState)(!1);return(0,z.useEffect)(()=>{let t=e.current;if(!t||typeof IntersectionObserver>`u`||t.getBoundingClientRect().top<=window.innerHeight*.86)return;n(!0);let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(i(!0),r.disconnect())},{rootMargin:`0px 0px -12% 0px`});return r.observe(t),()=>r.disconnect()},[]),{ref:e,state:t&&!r?`hidden`:`shown`}}var H=`transition-[opacity,translate] duration-500 ease-[cubic-bezier(0.23,1,0.32,1)] group-data-[reveal=hidden]/reveal:translate-y-2 group-data-[reveal=hidden]/reveal:opacity-0`,U=`m-0 text-[48px] leading-[52px] tracking-[-1.92px] max-md:text-[32px] max-md:leading-9 max-md:tracking-[-1.28px]`,W=`ms-auto mt-13 max-w-[460px] text-base leading-[22.4px] text-muted-foreground max-md:mt-4.5 max-md:mb-9 max-md:max-w-none`,G=[[0,0],[66,-96],[180,-148],[272,-36]];function K(e){let t=1-e,[n,r,i,a]=G,o=o=>t*t*t*n[o]+3*t*t*e*r[o]+3*t*e*e*i[o]+e*e*e*a[o];return[o(0),o(1)]}function q(e){let t=1-e,[n,r,i,a]=G,o=o=>3*t*t*(r[o]-n[o])+6*t*e*(i[o]-r[o])+3*e*e*(a[o]-i[o]),s=o(0),c=o(1),l=Math.hypot(s,c);return[s/l,c/l]}var J=`M0 0 C 66 -96, 180 -148, 272 -36`,Y=22,X=34*Math.PI/180,ae=(()=>{let e=[],t=Math.cos(X),n=Math.sin(X);for(let r=0;r<Y;r++){let i=r/(Y-1),a=.06+i*.91,[o,s]=K(a),[c,l]=q(a),u=26+30*Math.sin(Math.PI*(.1+.8*i));for(let i of[1,-1]){let a=c*t-i*l*n,d=i*c*n+l*t,f=o+a*u,p=s+d*u;e.push({d:`M${o.toFixed(1)} ${s.toFixed(1)} L${f.toFixed(1)} ${p.toFixed(1)}`,station:r})}}return e})();function Z({transform:e,delayBase:t}){return(0,B.jsxs)(`g`,{transform:e,children:[(0,B.jsx)(`path`,{d:J,pathLength:100,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,className:`transition-[stroke-dashoffset] duration-[800ms] ease-[cubic-bezier(0.23,1,0.32,1)] [stroke-dasharray:100] [stroke-dashoffset:0] group-data-[reveal=hidden]/crown:[stroke-dashoffset:100]`,style:{transitionDelay:`${t}ms`}}),ae.map((e,n)=>(0,B.jsx)(`path`,{d:e.d,stroke:`currentColor`,strokeWidth:`1.05`,strokeLinecap:`round`,opacity:`0.7`,className:`transition-opacity duration-300 ease-out group-data-[reveal=hidden]/crown:opacity-0`,style:{transitionDelay:`${t+260+e.station*24}ms`}},n))]})}function oe({state:e}){return(0,B.jsxs)(`svg`,{viewBox:`0 0 1180 264`,fill:`none`,"aria-hidden":`true`,"data-reveal":e,className:`group/crown h-auto w-full text-primary`,children:[(0,B.jsx)(`line`,{x1:`590`,y1:`218`,x2:`590`,y2:`264`,stroke:`currentColor`,strokeWidth:`1.4`,strokeDasharray:`2 6`,opacity:`0.55`}),(0,B.jsx)(Z,{transform:`translate(590 218) rotate(-38) scale(0.72)`,delayBase:0}),(0,B.jsx)(Z,{transform:`translate(590 218) rotate(-8)`,delayBase:140}),(0,B.jsx)(Z,{transform:`translate(590 218) scale(-1 1) rotate(-8)`,delayBase:280})]})}var Q=[`transactions`,`airport`,`tourism`,`dirham`];function se(){let{t:e}=a(),t=V();return(0,B.jsx)(`section`,{className:`page-grid`,"aria-labelledby":`market-heading`,children:(0,B.jsxs)(`div`,{className:`page-shell pt-20 pb-24 max-md:pt-15 max-md:pb-16`,children:[(0,B.jsxs)(`div`,{className:`px-8 max-md:px-0`,children:[(0,B.jsx)(j,{children:e(`invest.market.label`)}),(0,B.jsxs)(`h2`,{id:`market-heading`,className:U,children:[e(`invest.market.title1`),(0,B.jsx)(`br`,{}),e(`invest.market.title2`)]})]}),(0,B.jsxs)(`div`,{ref:t.ref,"data-reveal":t.state,className:`group/reveal mt-14 max-md:mt-2`,children:[(0,B.jsx)(`ul`,{className:`m-0 grid list-none grid-cols-4 border border-line-soft bg-background p-0 max-md:grid-cols-2`,children:Q.map((t,n)=>(0,B.jsxs)(`li`,{className:b(`border-line-soft px-7 py-8 max-lg:px-5 max-md:px-5 max-md:py-6`,`md:[&:not(:first-child)]:border-s`,`max-md:odd:border-e max-md:[&:nth-child(n+3)]:border-t`,H),style:{transitionDelay:`${n*70}ms`},children:[(0,B.jsx)(`p`,{className:`mb-0 font-heading text-[44px] leading-none tracking-[-1.3px] tabular-nums max-md:text-[34px]`,children:e(`invest.market.facts.${t}.value`)}),(0,B.jsx)(`p`,{className:`mt-3.5 mb-0 text-sm leading-[1.45] text-muted-foreground`,children:e(`invest.market.facts.${t}.label`)}),(0,B.jsx)(`p`,{className:`mt-4 mb-0 text-[10.5px] leading-none tracking-[0.08em] text-faint uppercase`,children:e(`invest.market.facts.${t}.source`)})]},t))}),(0,B.jsx)(`p`,{className:b(`mt-0 mb-0 max-w-[860px] border-x border-b border-dashed border-border px-7 py-4 text-[13.5px] leading-relaxed text-muted-foreground max-md:px-5`,H),style:{transitionDelay:`280ms`},children:e(`invest.market.outlook`)})]})]})})}var ce=[{id:`yield`,type:`villa`,image:`/img/branding/marrakech-palmeraie-villa.webp`},{id:`value`,type:`riad`,image:`/img/branding/marrakech-property-medina-riad.webp`},{id:`land`,type:`land`,image:`/img/branding/marrakech-property-building-land.webp`}];function le({strategy:e,index:t}){let{t:n}=a(),o=i();return(0,B.jsxs)(`article`,{className:b(`flex flex-col border border-line-soft bg-background`,H),style:{transitionDelay:`${420+t*90}ms`},"aria-labelledby":`strategy-${e.id}-heading`,children:[(0,B.jsx)(`div`,{className:`border-b border-line-soft bg-muted`,children:(0,B.jsx)(`img`,{className:`aspect-[16/9] w-full object-cover`,src:e.image,srcSet:R(e.image),sizes:L,alt:``,width:1586,height:992,loading:`lazy`,decoding:`async`})}),(0,B.jsxs)(`div`,{className:`flex flex-1 flex-col px-6 pt-6 pb-7 max-lg:px-5 max-md:px-5`,children:[(0,B.jsx)(j,{boxed:!0,className:`mb-5`,children:n(`invest.strategies.items.${e.
1id}.label`)}),(0,B.jsx)(`h3`,{id:`strategy-${e.id}-heading`,className:`mb-2.5 text-[24px] leading-7 tracking-[-0.96px] max-md:text-[22px] max-md:leading-[26px]`,children:n(`invest.strategies.items.${e.id}.title`)}),(0,B.jsx)(`p`,{className:`mb-6 flex-1 text-[14.5px] leading-[20px] text-muted-foreground`,children:n(`invest.strategies.items.${e.id}.copy`)}),(0,B.jsx)(r,{"data-slot":`button`,className:b(y({variant:`outline`,size:`cta`}),`self-start text-muted-foreground`),to:`/{-$locale}/properties`,params:{locale:o},search:{type:e.type},children:n(`invest.strategies.items.${e.id}.action`)})]})]})}function ue(){let{t:e}=a(),t=V();return(0,B.jsx)(`section`,{className:`page-grid`,"aria-labelledby":`strategies-heading`,children:(0,B.jsxs)(`div`,{className:`page-shell pt-20 pb-24 max-md:pt-15 max-md:pb-16`,children:[(0,B.jsxs)(`div`,{className:`px-8 max-md:px-0`,children:[(0,B.jsx)(j,{children:e(`invest.strategies.label`)}),(0,B.jsxs)(`h2`,{id:`strategies-heading`,className:U,children:[e(`invest.strategies.title1`),(0,B.jsx)(`br`,{}),e(`invest.strategies.title2`)]})]}),(0,B.jsxs)(`div`,{ref:t.ref,"data-reveal":t.state,className:`group/reveal mt-8 max-md:mt-2`,children:[(0,B.jsx)(`div`,{className:`pointer-events-none mx-auto -mb-px w-[min(1120px,96%)] max-md:hidden`,children:(0,B.jsx)(oe,{state:t.state})}),(0,B.jsx)(`div`,{className:`grid grid-cols-3 gap-x-8 max-lg:gap-x-5 max-md:grid-cols-1 max-md:gap-y-8`,children:ce.map((e,t)=>(0,B.jsx)(le,{strategy:e,index:t},e.id))})]})]})})}var de=[`strategy`,`diligence`,`acquisition`,`management`,`exit`];function fe(){let{t:e}=a(),t=V();return(0,B.jsx)(`section`,{className:`page-grid`,"aria-labelledby":`method-heading`,children:(0,B.jsxs)(`div`,{className:`page-shell grid grid-cols-2 items-start pt-20 pb-24 max-md:block max-md:pt-15 max-md:pb-16`,children:[(0,B.jsxs)(`div`,{className:`px-8 max-md:px-0 md:sticky md:top-24`,children:[(0,B.jsx)(j,{children:e(`invest.method.label`)}),(0,B.jsxs)(`h2`,{id:`method-heading`,className:U,children:[e(`invest.method.title1`),(0,B.jsx)(`br`,{}),e(`invest.method.title2`)]}),(0,B.jsx)(`p`,{className:`mt-4.5 mb-0 max-w-[400px] text-base leading-[22.4px] text-muted-foreground max-md:text-sm max-md:leading-[19.6px]`,children:e(`invest.method.copy`)})]}),(0,B.jsx)(`div`,{ref:t.ref,"data-reveal":t.state,className:`group/reveal max-md:mt-10`,children:(0,B.jsx)(`ol`,{className:`m-0 list-none border-t border-line-soft p-0`,children:de.map((t,n)=>(0,B.jsxs)(`li`,{className:b(`flex gap-5 border-b border-line-soft py-6 ps-8 max-md:gap-4 max-md:py-5 max-md:ps-0`,H),style:{transitionDelay:`${n*70}ms`},children:[(0,B.jsx)(`span`,{"aria-hidden":`true`,className:`grid size-7 flex-none place-items-center border border-border text-[12px] leading-none text-faint tabular-nums`,children:String(n+1).padStart(2,`0`)}),(0,B.jsxs)(`div`,{className:`min-w-0 pt-0.5`,children:[(0,B.jsx)(`h3`,{className:`mb-0 text-[19px] leading-6 tracking-[-0.57px] max-md:text-[17px] max-md:leading-[22px]`,children:e(`invest.method.steps.${t}.title`)}),(0,B.jsx)(`p`,{className:`mt-2 mb-0 max-w-[520px] text-[15px] leading-[21px] text-muted-foreground`,children:e(`invest.method.steps.${t}.copy`)})]})]},t))})})]})})}function pe({articles:e}){let{t}=a(),n=i(),o=V();return e.length===0?null:(0,B.jsx)(`section`,{className:`page-grid`,"aria-labelledby":`invest-journal-heading`,children:(0,B.jsxs)(`div`,{className:`page-shell pt-20 pb-24 max-md:pt-15 max-md:pb-16`,children:[(0,B.jsxs)(`div`,{className:`grid grid-cols-2 items-center px-8 max-md:block max-md:px-0`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(j,{children:t(`invest.journal.label`)}),(0,B.jsxs)(`h2`,{id:`invest-journal-heading`,className:U,children:[t(`invest.journal.title1`),(0,B.jsx)(`br`,{}),t(`invest.journal.title2`)]})]}),(0,B.jsx)(`p`,{className:W,children:t(`invest.journal.copy`)})]}),(0,B.jsxs)(`div`,{ref:o.ref,"data-reveal":o.state,className:`group/reveal mt-14 max-md:mt-2`,children:[(0,B.jsx)(`div`,{className:`grid grid-cols-3 gap-x-10 gap-y-12 max-lg:gap-x-7 max-md:grid-cols-1`,children:e.map((e,t)=>(0,B.jsx)(`div`,{className:H,style:{transitionDelay:`${t*80}ms`},children:(0,B.jsx)(ie,{article:e})},e.slug))}),(0,B.jsx)(`div`,{className:b(`mt-12 max-md:mt-9`,H,`delay-300`),children:(0,B.jsx)(r,{"data-slot":`button`,className:b(y({variant:`outline`,size:`cta`}),`text-muted-foreground`),to:`/{-$locale}/blog`,params:{locale:n},search:{category:`investment`},children:t(`invest.journal.cta`)})})]})]})})}var me=[`eligibility`,`repatriation`,`taxes`,`financing`,`management`,`exit`];function he(){let{t:e}=a();return(0,B.jsx)(`section`,{className:`page-grid`,"aria-labelledby":`invest-faq-heading`,children:(0,B.jsxs)(`div`,{className:`page-shell grid grid-cols-2 items-start pt-20 pb-24 max-md:block max-md:pt-15 max-md:pb-16`,children:[(0,B.jsxs)(`div`,{className:`px-8 max-md:px-0 md:sticky md:top-24`,children:[(0,B.jsx)(j,{children:e(`invest.faq.label`)}),(0,B.jsxs)(`h2`,{id:`invest-faq-heading`,className:U,children:[e(`invest.faq.title1`),(0,B.jsx)(`br`,{}),e(`invest.faq.title2`)]}),(0,B.jsx)(`p`,{className:`mt-4.5 mb-0 max-w-[400px] text-base leading-[22.4px] text-muted-foreground max-md:text-sm max-md:leading-[19.6px]`,children:e(`invest.faq.copy`)}),(0,B.jsx)(`a`,{"data-slot":`button`,className:b(y({variant:`outline`,size:`cta`}),`mt-9 text-muted-foreground max-md:hidden`),href:`#conversation`,children:e(`invest.faq.cta`)})]}),(0,B.jsx)(I,{multiple:!1,className:`border-t border-line-soft max-md:mt-10`,children:me.map(t=>(0,B.jsxs)(P,{value:t,children:[(0,B.jsxs)(N,{className:`gap-5 py-6 ps-8 max-md:gap-4 max-md:py-5 max-md:ps-0`,children:[(0,B.jsx)(`span`,{"aria-hidden":`true`,className:`grid size-7 flex-none place-items-center border border-border text-faint transition-colors duration-150 group-hover/accordion-trigger:border-foreground
1/45 group-hover/accordion-trigger:text-foreground group-data-[panel-open]/accordion-trigger:border-foreground/45 group-data-[panel-open]/accordion-trigger:text-foreground`,children:(0,B.jsx)(_,{className:`size-3.5 transition-transform duration-200 ease-[cubic-bezier(0.23,1,0.32,1)] group-data-[panel-open]/accordion-trigger:rotate-45 motion-reduce:transition-none`})}),(0,B.jsx)(`span`,{className:`flex-1 pt-0.5 text-[19px] leading-6 tracking-[-0.57px] max-md:text-[17px] max-md:leading-[22px]`,children:e(`invest.faq.items.${t}.question`)})]}),(0,B.jsx)(F,{children:(0,B.jsx)(`p`,{className:`mb-0 max-w-[560px] ps-20 pe-12 pb-6 text-[15px] leading-[21px] text-muted-foreground max-md:ps-11 max-md:pe-2 max-md:pb-5`,children:e(`invest.faq.items.${t}.answer`)})})]},t))})]})})}var ge=`+212 618-688-888`,_e=`tel:+212618688888`,ve=[`b1`,`b2`,`b3`,`b4`],ye=[`h1`,`h2`,`h3`,`h4`],be=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,xe=`font-sans text-[13px] leading-none font-medium`,$=`text-[12px] leading-normal text-destructive`;function Se(){let{t:e,i18n:t}=a(),[n,r]=(0,z.useState)(!1),i=(0,z.useRef)(null),[l,p]=(0,z.useState)(!1),[_,M]=(0,z.useState)(null),[N,P]=(0,z.useState)(0),F=f({defaultValues:{name:``,email:``,budget:null,horizon:null,message:``},onSubmit:async({value:a})=>{if(n)return;if(p(!1),!_){p(!0);return}let l=[e(`invest.form.emailGreeting`),``,e(`invest.form.emailName`,{value:a.name.trim()}),e(`invest.form.emailEmail`,{value:a.email.trim()})];a.budget&&l.push(e(`invest.form.emailBudget`,{value:e(`invest.form.budgetOptions.${a.budget}`)})),a.horizon&&l.push(e(`invest.form.emailHorizon`,{value:e(`invest.form.horizonOptions.${a.horizon}`)})),l.push(``,e(`invest.form.emailMessage`),a.message.trim());try{let n=await o({data:{source:`contact`,requestId:i.current??=crypto.randomUUID(),name:a.name.trim(),email:a.email.trim(),subject:e(`invest.form.emailSubject`,{name:a.name.trim()}),message:l.join(`
2`),locale:t.language,sessionId:c(),turnstileToken:_}});if(!n.ok)throw Error(`Request was not saved`);s(`contact_submit`),w(n.id,`investment`),r(!0)}catch{p(!0),M(null),P(e=>e+1)}}}),I=u(F.store,e=>e.submissionAttempts)>0,L=u(F.store,e=>e.isSubmitting),R=(0,B.jsx)(`span`,{"aria-hidden":`true`,className:`text-faint`,children:`*`});return(0,B.jsx)(`section`,{id:`conversation`,className:`page-grid`,"aria-labelledby":`conversation-heading`,children:(0,B.jsx)(`div`,{className:`page-shell pt-20 pb-24 max-md:pt-10 max-md:pb-16`,children:(0,B.jsxs)(`div`,{className:`grid grid-cols-[minmax(0,41%)_minmax(0,59%)] border border-line-soft bg-background max-md:block`,children:[(0,B.jsxs)(`aside`,{className:`flex flex-col`,children:[(0,B.jsx)(`div`,{className:`px-8 py-8 max-lg:px-7 max-md:px-5 max-md:py-4`,children:[{key:`response`,icon:d,title:e(`invest.form.responseTitle`),sub:e(`invest.form.responseSub`),value:(0,B.jsx)(`p`,{className:`mb-0 max-w-[300px] text-[14.5px] leading-[1.6] text-foreground`,children:e(`invest.form.responseValue`)})},{key:`phone`,icon:g,title:e(`contact.info.phone`),sub:e(`contact.info.phoneSub`),value:(0,B.jsx)(`a`,{className:`text-[17px] tracking-[-0.01em] tabular-nums decoration-1 underline-offset-[5px] hover:underline`,href:_e,dir:`ltr`,children:ge})},{key:`office`,icon:m,title:e(`contact.info.office`),sub:e(`contact.info.officeSub`),value:(0,B.jsx)(`p`,{className:`mb-0 max-w-[300px] text-[14.5px] leading-[1.6] text-foreground`,children:e(`contact.info.address`)})}].map(e=>(0,B.jsxs)(`div`,{className:`flex items-start gap-3.5 border-b border-dashed border-border py-6 last:border-b-0`,children:[(0,B.jsx)(`span`,{"aria-hidden":`true`,className:`mt-0.5 grid size-7 flex-none place-items-center border border-border text-faint`,children:(0,B.jsx)(e.icon,{className:`size-3.5`})}),(0,B.jsxs)(`div`,{className:`min-w-0`,children:[(0,B.jsx)(`h3`,{className:xe,children:e.title}),(0,B.jsx)(`p`,{className:`mt-2 mb-0 text-[12.5px] leading-none text-faint`,children:e.sub}),(0,B.jsx)(`div`,{className:`mt-3.5`,children:e.value})]})]},e.key))}),(0,B.jsx)(`img`,{className:`min-h-[180px] w-full flex-1 border-t border-line-soft object-cover object-center outline-1 -outline-offset-1 outline-black/8 max-md:hidden`,src:`/img/branding/marrakech-menara.webp`,alt:``,width:1568,height:960,loading:`lazy`})]}),(0,B.jsxs)(`div`,{className:`border-s border-line-soft px-9 py-10 max-lg:px-7 max-md:border-s-0 max-md:border-t max-md:px-5 max-md:py-8`,children:[(0,B.jsx)(j,{children:e(`invest.form.label`)}),(0,B.jsx)(`h2`,{id:`conversation-heading`,className:`text-[30px] leading-[1.08] tracking-[-0.03em] max-md:text-[26px]`,children:e(`invest.form.title`)}),(0,B.jsx)(`p`,{className:`mt-3 max-w-[520px] text-[13.5px] leading-relaxed text-muted-foreground`,children:e(`invest.form.description`)}),(0,B.jsxs)(`form`,{className:`mt-7`,onSubmit:e=>{e.preventDefault(),F.handleSubmit()},children:[(0,B.jsxs)(`div`,{className:`grid gap-4 sm:grid-cols-2`,children:[(0,B.jsx)(F.Field,{name:`name`,validators:{onChange:({value:t})=>t.trim()?void 0:e(`contact.form.nameRequired`)},children:t=>{let n=I&&!t.state.meta.isValid;return(0,B.jsxs)(S,{name:`name`,children:[(0,B.jsxs)(x,{children:[e(`contact.form.name`),` `,R]}),(0,B.jsx)(C,{type:`text`,autoComplete:`name`,placeholder:e(`contact.form.namePlaceholder`),value:t.state.value,onChange:e=>t.handleChange(e.target.value),onBlur:t.handleBlur,"aria-invalid":n||void 0,"aria-describedby":n?`invest-name-error`:void 0}),n?(0,B.jsx)(`p`,{id:`invest-name-error`,className:$,children:t.state.meta.errors[0]}):null]})}}),(0,B.jsx)(F.Field,{name:`email`,validators:{onChange:({value:t})=>{let n=t.trim();return n?be.test(n)?void 0:e(`contact.form.emailInvalid`):e(`contact.form.emailRequired`)}},children:t=>{let n=I&&!t.state.meta.isValid;return(0,B.jsxs)(S,{name:`email`,children:[(0,B.jsxs)(x,{children:[e(`contact.form.email`),` `,R]}
2),(0,B.jsx)(C,{type:`email`,autoComplete:`email`,spellCheck:!1,placeholder:e(`contact.form.emailPlaceholder`),value:t.state.value,onChange:e=>t.handleChange(e.target.value),onBlur:t.handleBlur,"aria-invalid":n||void 0,"aria-describedby":n?`invest-email-error`:void 0}),n?(0,B.jsx)(`p`,{id:`invest-email-error`,className:$,children:t.state.meta.errors[0]}):null]})}}),(0,B.jsx)(F.Field,{name:`budget`,children:t=>(0,B.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,B.jsx)(`label`,{className:`text-[13px] leading-none font-medium text-foreground`,htmlFor:`invest-budget`,children:e(`invest.form.budget`)}),(0,B.jsxs)(A,{value:t.state.value,onValueChange:e=>t.handleChange(e),children:[(0,B.jsx)(D,{id:`invest-budget`,children:(0,B.jsx)(E,{placeholder:e(`invest.form.budgetPlaceholder`)})}),(0,B.jsx)(O,{children:ve.map(t=>(0,B.jsx)(k,{value:t,children:e(`invest.form.budgetOptions.${t}`)},t))})]})]})}),(0,B.jsx)(F.Field,{name:`horizon`,children:t=>(0,B.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,B.jsx)(`label`,{className:`text-[13px] leading-none font-medium text-foreground`,htmlFor:`invest-horizon`,children:e(`invest.form.horizon`)}),(0,B.jsxs)(A,{value:t.state.value,onValueChange:e=>t.handleChange(e),children:[(0,B.jsx)(D,{id:`invest-horizon`,children:(0,B.jsx)(E,{placeholder:e(`invest.form.horizonPlaceholder`)})}),(0,B.jsx)(O,{children:ye.map(t=>(0,B.jsx)(k,{value:t,children:e(`invest.form.horizonOptions.${t}`)},t))})]})]})}),(0,B.jsx)(F.Field,{name:`message`,validators:{onChange:({value:t})=>t.trim()?void 0:e(`invest.form.messageRequired`)},children:t=>{let n=I&&!t.state.meta.isValid;return(0,B.jsxs)(S,{name:`message`,className:`sm:col-span-2`,children:[(0,B.jsxs)(x,{children:[e(`invest.form.message`),` `,R]}),(0,B.jsx)(ee,{rows:5,placeholder:e(`invest.form.messagePlaceholder`),value:t.state.value,onChange:e=>t.handleChange(e.target.value),onBlur:t.handleBlur,"aria-invalid":n||void 0,"aria-describedby":n?`invest-message-error`:void 0}),n?(0,B.jsx)(`p`,{id:`invest-message-error`,className:$,children:t.state.meta.errors[0]}):null]})}})]}),(0,B.jsx)(`div`,{className:`mt-5`,children:(0,B.jsx)(T,{onToken:M},N)}),(0,B.jsxs)(`div`,{className:`mt-7 flex flex-wrap items-center gap-3`,children:[(0,B.jsxs)(`button`,{type:`submit`,disabled:L||n||!_,"aria-busy":L,"data-slot":`button`,className:b(y({size:`cta`}),`gap-2 max-md:w-full`),children:[(0,B.jsx)(h,{"aria-hidden":`true`,className:`size-4`}),e(`invest.form.submit`)]}),(0,B.jsxs)(`a`,{"data-slot":`button`,className:b(y({variant:`outline`,size:`cta`}),`gap-2 max-md:w-full`),href:te(e(`invest.form.whatsappMessage`)),target:`_blank`,rel:`noreferrer`,children:[(0,B.jsx)(v,{"aria-hidden":`true`,className:`size-4`}),e(`invest.form.whatsapp`)]})]}),(0,B.jsxs)(`p`,{role:`status`,"aria-live":`polite`,children:[n?(0,B.jsx)(`span`,{className:`mt-3 block text-[12.5px] leading-normal text-muted-foreground`,children:e(`detail.enquiry.received`)}):null,l?(0,B.jsx)(`span`,{className:`mt-3 block text-[12.5px] text-destructive`,children:e(`detail.enquiry.sendFailed`)}):null]})]})]})]})})})}function Ce({articles:e}){let{t}=a(),n=i();return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(p,{}),(0,B.jsxs)(`main`,{id:`main-content`,children:[(0,B.jsxs)(`section`,{className:`relative isolate h-[clamp(700px,calc(100svh-60px),880px)] overflow-hidden bg-background max-md:h-[min(560px,calc(100svh-60px))]`,"aria-labelledby":`invest-heading`,children:[(0,B.jsx)(`img`,{className:`absolute inset-0 -z-2 h-full w-full max-w-none translate-y-[140px] object-cover object-bottom max-md:translate-y-[90px] max-md:object-[40%_bottom]`,src:`/img/branding/marrakech-palmeraie-villa.webp`,srcSet:R(`/img/branding/marrakech-palmeraie-villa.webp`),sizes:ne,alt:``,width:1568,height:960,fetchPriority:`high`}),(0,B.jsxs)(`div`,{className:`page-shell pt-24 text-center max-md:pt-16`,children:[(0,B.jsxs)(`h1`,{id:`invest-heading`,className:`mb-3.5 text-[60px] leading-[60px] tracking-[-2.4px] text-balance max-[420px]:text-[31px] max-[420px]:leading-[34px] max-md:mb-3 max-md:text-[34px] max-md:leading-[38px] max-md:tracking-[-1.36px]`,children:[t(`invest.heroTitle1`),(0,B.jsx)(`br`,{}),t(`invest.heroTitle2`)]}),(0,B.jsx)(`p`,{className:`mx-auto mb-9 max-w-[560px] text-[17px] leading-[24px] text-muted-foreground max-md:mb-7 max-md:max-w-[360px] max-md:text-[15px] max-md:leading-[21px]`,children:t(`invest.heroCopy`)}),(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center justify-center gap-3`,children:[(0,B.jsx)(`a`,{"data-slot":`button`,className:y({size:`cta`}),href:`#conversation`,children:t(`invest.heroCta`)}),(0,B.jsx)(r,{"data-slot":`button`,className:b(y({variant:`outline`,size:`cta`}),`text-muted-foreground`),to:`/{-$locale}/properties`,params:{locale:n},children:t(`invest.heroCtaSecondary`)})]})]}),(0,B.jsx)(re,{}),(0,B.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 -z-1 h-[132px] bg-linear-to-b from-transparent to-[oklch(0.993_0.004_88/0.95)] max-md:h-[76px]`,"aria-hidden":`true`})]}),(0,B.jsx)(`div`,{className:`section-rule`,"aria-hidden":`true`}),(0,B.jsx)(se,{}),(0,B.jsx)(`div`,{className:`section-rule`,"aria-hidden":`true`}),(0,B.jsx)(ue,{}),(0,B.jsx)(`div`,{className:`section-rule`,"aria-hidden":`true`}),(0,B.jsx)(fe,{}),(0,B.jsx)(`div`,{className:`section-rule`,"aria-hidden":`true`}),(0,B.jsx)(pe,{articles:e}),(0,B.jsx)(`div`,{className:`section-rule`,"aria-hidden":`true`}),(0,B.jsx)(he,{}),(0,B.jsx)(`div`,{className:`section-rule`,"aria-hidden":`true`}),(0,B.jsx)(Se,{})]}),(0,B.jsx)(M,{})]})}function we(){return(0,B.jsx)(Ce,{articles:l.useLoaderData()})}export{we as component};

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.