1import{r as s,j as e}from"./index-Dujz2bhb.js";import{S as N}from"./SiteHeader-DVtW8TDB.js";import{c as g}from"./la-jolla-cove.jpg.asset-DmdKwdnI.js";import"./logo-lockup-white-CAiQggnz.js";import"./createLucideIcon-Bkv8Jmfi.js";const y=1,v="aba578fb-29ad-4ff6-9bf6-68bc3f21a585",w="0694f6d8-ead9-4897-836e-307674b5b14c",k="/__l5e/assets-v1/aba578fb-29ad-4ff6-9bf6-68bc3f21a585/the-jewel-q1-2026.pdf",E="a/v1/0694f6d8-ead9-4897-836e-307674b5b14c/aba578fb-29ad-4ff6-9bf6-68bc3f21a585/the-jewel-q1-2026.pdf",T="the-jewel-q1-2026.pdf",S=7479013,R="application/pdf",O="2026-06-27T12:35:51Z",o={version:y,asset_id:v,project_id:w,url:k,r2_key:E,original_filename:T,size:S,content_type:R,created_at:O};function I(){const[r,n]=s.useState(""),[m,b]=s.useState(""),[d,i]=s.useState("idle"),[p,u]=s.useState(null),[h,f]=s.useState(null),j=async t=>{t.preventDefault(),i("loading"),u(null);try{const l=await fetch("/api/public/jewel-subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:r,name:m||void 0,source:"jewel-page"})}),c=await l.json();if(!l.ok)throw new Error(c.error||"Something went wrong");f(c.url||o.url),i("done");const a=document.createElement("a");a.href=c.url||o.url,a.download="The-Jewel-Q1-2026.pdf",document.body.appendChild(a),a.click(),a.remove()}catch(l){u(l.message),i("error")}};return e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(N,{}),e.jsxs("section",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${g.url})`},"aria-hidden":!0}),e.jsx("div",{className:"absolute inset-0 bg-ink/70","aria-hidden":!0}),e.jsxs("div",{className:"relative px-6 lg:px-10 py-20 lg:py-28 max-w-6xl mx-auto",children:[e.jsx("p",{className:"text-[10px] tracking-[0.32em] text-gold mb-4",children:"QUARTERLY MARKET REPORT"}),e.jsx("h1",{className:"font-display text-4xl sm:text-5xl lg:text-6xl text-cream leading-[1.05] max-w-3xl",children:"The Jewel"}),e.jsx("p",{className:"mt-5 text-cream/80 max-w-2xl text-base sm:text-lg leading-relaxed",children:"La Jolla's quarterly residential market report. Median prices, featured sales, and neighborhood-by-neighborhood trends across 92037 â researched and written by L
1a Jolla Property Group at Compass."})]})]}),e.jsxs("section",{className:"px-6 lg:px-10 py-14 lg:py-20 max-w-6xl mx-auto grid lg:grid-cols-2 gap-12 lg:gap-16 items-start",children:[e.jsxs("div",{className:"order-2 lg:order-1",children:[e.jsxs("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",className:"block aspect-[8.5/11] relative border border-border shadow-2xl overflow-hidden group",children:[e.jsx("div",{className:"absolute inset-0 bg-cover bg-center scale-105 group-hover:scale-110 transition-transform duration-700",style:{backgroundImage:`url(${g.url})`},"aria-hidden":!0}),e.jsx("div",{className:"absolute inset-0 bg-ink/75","aria-hidden":!0}),e.jsxs("div",{className:"relative h-full flex flex-col justify-between p-8 lg:p-10 text-cream",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] tracking-[0.32em] text-gold mb-3",children:"LA JOLLA PROPERTY GROUP"}),e.jsx("p",{className:"text-[10px] tracking-[0.28em] text-cream/70",children:"QUARTERLY MARKET REPORT · Q1 2026"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-display text-5xl lg:text-6xl leading-[0.95] mb-3",children:"The Jewel"}),e.jsx("p",{className:"text-sm text-cream/70 max-w-xs leading-relaxed",children:"La Jolla's residential market â medians, featured sales, and neighborhood trends across 92037."})]}),e.jsxs("div",{className:"flex items-center justify-between text-[10px] tracking-[0.22em] text-cream/60",children:[e.jsx("span",{children:"92037 · SAN DIEGO"}),e.jsx("span",{className:"text-gold",children:"OPEN PDF â"})]})]})]}),e.jsx("p",{className:"mt-3 text-[11px] tracking-[0.18em] text-muted-foreground uppercase",children:"Q1 2026 · 4 pages · PDF"})]}),e.jsxs("div",{className:"order-1 lg:order-2",children:[e.jsx("h2",{className:"font-display text-2xl sm:text-3xl text-cream mb-3",children:"Download the latest report"}),e.jsx("p",{className:"text-muted-foreground mb-6 text-sm leading-relaxed",children:"Drop your email and we'll send you The Jewel the moment a new edition is published â once a quarter, nothing else. Unsubscribe anytime."}),d==="done"?e.jsxs("div",{className:"border border-gold/40 bg-gold/5 p-6",children:[e.jsx("p",{className:"text-[10px] tracking-[0.22em] text-gold mb-2",children:"YOU'RE ON THE LIST"}),e.jsx("h3",{className:"font-display text-xl text-cream mb-2",children:"Your download should start now."}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"If it didn't, use the button below. We'll email you the next edition automatically."}),e.jsx("a",{href:h||o.url,download:"The-Jewel-Q1-2026.pdf",className:"inline-block bg-gold text-ink px-5 py-3 text-[11px] tracking-[0.18em] font-medium hover:bg-gold/90",children:"DOWNLOAD THE JEWEL â Q1 2026"})]}):e.jsxs("form",{onSubmit:j,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-[10px] tracking-[0.22em] text-muted-foreground mb-2",children:"NAME (OPTIONAL)"}),e.jsx("input",{type:"text",value:m,onChange:t=>b(t.target.value),className:"w-full bg-card border border-border px-4 py-3 text-cream focus:outline-none focus:border-gold transition-colors",placeholder:"Jane Doe"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[10px] tracking-[0.22em] text-muted-foreground mb-2",children:"EMAIL ADDRESS"}),e.jsx("input",{type:"email",required:!0,value:r,onChange:t=>n(t.target.value),className:"w-full bg-card border border-border px-4 py-3 text-cream focus:outline-none focus:border-gold transition-colors",placeholder:"[email protected]"})]}),e.jsx("button",{type:"submit",disabled:d==="loading",className:"w-full sm:w-auto bg-gold text-ink px-6 py-3 text-[11px] tracking-[0.18em] font-medium hover:bg-gold/90 disabled:opacity-60",children:d==="loading"?"SENDINGâ¦":"GET THE REPORT"}),p&&e.jsx("p",{className:"text-sm text-red-400",children:p}),e.jsx("p",{className:"text-[11px] text-muted-foreground/80 pt-2",children:"By submitting, you agree to receive The Jewel quarterly from La Jolla Property Group. No spam, no third-party sharing."})]}),e.jsxs("div",{className:"mt-10 pt-8 border-t border-border/50 grid grid-cols-3 gap-6",children:[e.jsx(x,{label:"PAGES",value:"4"}),e.jsx(x,{label:"FREQUENCY",value:"Quarterly"}),e.jsx(x,{label:"COVERAGE",value:"92037"})]})]})]}),e.jsx("section",{className:"px-6 lg:px-10 py-14 border-t border-border/50",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsx("p",{className:"text-[10px] tracking-[0.32em] text-gold mb-4",children:"WHAT'S INSIDE"}),e.jsxs("ul",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 text-sm text-cream/80",children:[e.jsxs("li",{children:[e.jsx("span",{className:"block text-cream font-display text-lg mb-1",children:"Median Prices"}),"Single family and condo medians, Q1 2022 â Q1 2026."]}),e.jsxs("li",{children:[e.jsx("span",{className:"block text-cream font-display text-lg mb-1",children:"Featured Sales"}),"Notable closings across La Jolla's neighborhoods."]}),e.jsxs("li",{children:[e.jsx("span",{className:"block text-cream font-display text-lg mb-1",children:"Market Pace"}),"Inventory, days on market, and months of supply."]}),e.jsxs("li",{children:[e.jsx("span",{className:"block text-cream font-display text-lg mb-1",children:"Our Take"}),"Strategy notes from John McGuinness & Tyler Safran."]})]})]})})]})}function x({label:r,value:n}){return e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] tracking-[0.22em] text-muted-foreground mb-1",children:r}),e.jsx("p",{className:"font-display text-xl text-cream",children:n})]})}export{I 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.