PageSourceSearch

https://amiethompson.com/assets/flexible-editorial-page-TvcHGJbj.js

js amiethompson.com collected 2026-10-09 22:58:04 UTC 8,854 bytes, 1 lines download raw bytes

1import{c as e,f as t,l as n,n as r,r as i,t as a,u as o}from"./site-shell-JyQ-h_d0.js";import{i as s,n as c,r as l,t as u}from"./accordion-Clwx3oaF.js";import{t as d}from"./arrow-right-Dk728uSH.js";import{t as f}from"./check-DdtYR7q6.js";import{t as p}from"./download-BA-2JriV.js";var m=e(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),h=t(o(),1),g=n();function _({children:e,light:t=!1}){return(0,g.jsx)(`p`,{className:`text-[0.68rem] font-semibold uppercase leading-none tracking-[0.14em] ${t?`text-primary-foreground/70`:`text-muted-foreground`}`,children:e})}function v({eyebrow:e,title:t,subheadline:n,intro:r,cta:a,visual:o}){return(0,g.jsx)(`section`,{className:`border-b border-primary/15 bg-warm`,children:(0,g.jsxs)(`div`,{className:`mx-auto grid max-w-[1440px] gap-12 px-5 py-20 sm:px-8 sm:py-24 lg:px-12 lg:py-28 xl:px-16 ${o?`lg:grid-cols-[minmax(0,3fr)_minmax(18rem,2fr)] lg:items-center`:``}`,children:[(0,g.jsxs)(`div`,{className:`max-w-4xl`,children:[e?(0,g.jsx)(_,{children:e}):null,(0,g.jsx)(`h1`,{className:`mt-7 font-display text-5xl font-normal leading-[1.04] text-primary sm:text-6xl lg:text-7xl`,children:t}),(0,g.jsx)(`p`,{className:`mt-8 max-w-3xl border-t border-primary/20 pt-7 text-lg leading-8 text-primary/75 sm:text-xl sm:leading-9`,children:n}),r?(0,g.jsx)(`div`,{className:`mt-6 max-w-3xl text-base leading-8 text-primary/70`,children:r}):null,a?(0,g.jsx)(i,{asChild:!0,className:`mt-8 h-auto rounded-none px-5 py-3`,children:(0,g.jsxs)(`a`,{href:a.href,children:[a.label,(0,g.jsx)(d,{"aria-hidden":`true`})]})}):null]}),o?(0,g.jsx)(`div`,{className:`min-w-0`,children:o}):null]})})}function y({children:e,hero:t}){return(0,g.jsxs)(`div`,{id:`top`,className:`min-h-screen overflow-x-hidden bg-background text-foreground`,children:[(0,g.jsx)(r,{}),(0,g.jsxs)(`main`,{children:[t,(0,g.jsx)(`div`,{className:`mx-auto max-w-[1440px] px-5 py-16 sm:px-8 lg:px-12 lg:py-24 xl:px-16`,children:e})]}),(0,g.jsx)(a,{})]})}function b({eyebrow:e,heading:t,children:n,emphasized:r,wide:i=!1,tone:a=`plain`}){return(0,g.jsx)(`section`,{className:`border-t border-primary/15 py-14 sm:py-18 ${a===`navy`?`bg-primary text-primary-foreground`:a===`warm`?`bg-warm text-primary`:`text-primary`}`,children:(0,g.jsxs)(`div`,{className:i?`max-w-none`:`max-w-4xl`,children:[e?(0,g.jsx)(_,{light:a===`navy`,children:e}):null,(0,g.jsx)(`h2`,{className:`${e?`mt-5`:``} font-display text-4xl leading-tight sm:text-5xl`,children:t}),(0,g.jsx)(`div`,{className:`mt-7 space-y-6 text-base leading-8 sm:text-lg ${a===`navy`?`text-primary-foreground/75`:`text-primary/75`}`,children:n}),r?(0,g.jsx)(`div`,{className:`mt-9 border-l-2 pl-6 font-display text-2xl leading-snug sm:text-3xl ${a===`navy`?`border-primary-foreground/50`:`border-burgundy text-primary`}`,children:r}):null]})})}function x({items:e,columns:t=2}){return(0,g.jsx)(`div`,{className:`grid gap-x-12 gap-y-9 ${t===3?`lg:grid-cols-3`:`md:grid-cols-2`}`,children:e.map(e=>(0,g.jsxs)(`article`,{className:`border-t border-primary/20 pt-6`,children:[e.eyebrow?(0,g.jsx)(_,{children:e.eyebrow}):null,(0,g.jsx)(`h3`,{className:`mt-4 font-display text-2xl leading-tight sm:text-3xl`,children:e.heading}),(0,g.jsx)(`div`,{className:`mt-4 text-sm leading-7 text-primary/70`,children:e.copy}),e.link?(0,g.jsxs)(`a`,{href:e.link.href,className:`group mt-6 inline-flex items-center gap-2 text-sm font-semibold text-primary underline-offset-4 hover:underline`,children:[e.link.label,(0,g.jsx)(d,{className:`size-4 transition-transform group-hover:translate-x-1`,"aria-hidden":`true`})]}):null]},e.heading))})}function S({versions:e,allowCopy:t=!0}){let[n,r]=(0,h.useState)(null),a=async e=>{await navigator.clipboard.writeText(e.copy),r(e.label),window.setTimeout(()=>r(null),1600)};return(0,g.jsx)(`div`,{children:e.map(e=>(0,g.jsxs)(`article`,{className:`border-t border-primary/20 py-8`,children:[(0,g.jsxs)(`div`,{className:`flex items-center justify-between gap-6`,children:[(0,g.jsx)(_,{children:e.label}),t?(0,g.jsxs)(i,{type:`button`,variant:`ghost`,size:`sm`,className:`rounded-none`,onClick:()=>void a(e),children:[n===e.label?(0,g.jsx)(f,{"aria-hidden":`true`}):(0,g.jsx)(m,{"aria-hidden":`true`}),n===e.label?`Copied`:`Copy`]}):null]}),(0,g.jsx)(`p`,{className:`mt-5 max-w-4xl text-base leading-8 text-primary/75`,children:e.copy})]},e.label))})}function C({items:e}){return(0,g.jsx)(`div`,{className:`grid gap-8 sm:grid-cols-2 ${e.length>=4?`lg:grid-cols-4`:`lg:grid-cols-3`}`,children:e.map(e=>(0,g.jsxs)(`article`,{className:`border-t border-primary/20 pt-5`,children:[e.image?(0,g.jsx)(`img`,{src:e.image,alt:e.alt??``,className:`aspect-[4/3] w-full object-cover`}):null,(0,g.jsxs)(`div`,{className:`mt-4 flex items-start justify-between gap-4`,children:[(0,g.jsxs)(`div`,{children:[(0,g.jsx)(`p`,{className:`font-semibold text-primary`,children:e.label}),e.description?(0,g.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-primary/70`,children:e.description}):null]}),(0,g.jsx)(`a`,{href:e.href,download:!0,className:`inline-flex size-10 shrink-0 items-center justify-center text-primary`,"aria-label":`Download ${e.label}`,children:(0,g.jsx)(p,{"aria-hidden":`true`})})]})]},e.label))})}function w({items:e}){return(0,g.jsx)(`div`,{className:`grid gap-10 md:grid-cols-2`,children:e.map(e=>(0,g.jsxs)(`article`,{className:`border-t border-primary/20 pt-6`,children:[e.embedUrl?(0,g.jsx)(`div`,{className:`aspect-video overflow-hidden bg-warm`,children:(0,g.jsx)(`iframe`,{src:e.embedUrl,title:e.title,loading:`lazy`,allowFullScreen:!0,className:`h-full w-full border-0`})}):null,(0,g.jsxs)(`div`,{className:e.embedUrl?`mt-5`:``,children:[e.organization?(0,g.jsx)(_,{children:e.organization}):null,(0,g.jsx)(`h3`,{className:`mt-4 font-display text-2xl leading-tight`,children:e.title}),e.date?(0,g.jsx)(`p`,{className:`mt-2 text-xs text-muted-foreground`,children:e.date}):null,(0,g.jsx)(`p`,{className:`mt-4 text-sm leading-7 text-primary/70`,children:e.description}),e.href?(0,g.jsxs)(`a`,{href:e.href,className:`group mt-5 inline-flex items-center gap-2 text-sm font-semibold text-primary underline-offset-4 hover:underline`,children:[`View appearance`,(0,g.jsx)(d,{className:`size-4`,"aria-hidden":`true`})]}):null]})]},e.title))})}function T({resources:e}){return(0,g.jsx)(`div`,{className:`grid gap-x-12 md:grid-cols-2`,children:e.map(e=>(0,g.jsxs)(`article`,{className:`border-t border-primary/20 py-7`,children:[(0,g.jsx)(_,{children:e.type}),(0,g.jsx)(`h3`,{className:`mt-4 font-display text-2xl leading-tight sm:text-3xl`,children:e.title}),(0,g.jsx)(`p`,{className:`mt-4 text-sm leading-7 text-primary/70`,children:e.description}),(0,g.jsxs)(`a`,{href:e.href,className:`group mt-6 inline-flex items-center gap-2 text-sm font-semibold text-primary underline-offset-4 hover:underline`,children:[e.linkLabel??`Explore resource`,(0,g.jsx)(d,{className:`size-4 transition-transform group-hover:translate-x-1`,"aria-hidden":`true`})]})]},e.title))})}function E({eyebrow:e,heading:t,copy:n,link:r,pendingLabel:a}){return(0,g.jsxs)(`section`,{className:`bg-primary px-6 py-12 text-primary-foreground sm:px-10 lg:grid lg:grid-cols-2 lg:gap-16 lg:py-16`,children:[` `,(0,g.jsxs)(`div`,{children:[e?(0,g.jsx)(_,{light:!0,children:e}):null,(0,g.jsx)(`h2`,{className:`mt-5 font-display text-4xl leading-tight sm:text-5xl`,children:t})]}),(0,g.jsxs)(`div`,{className:`mt-8 lg:mt-0`,children:[n?(0,g.jsx)(`p`,{className:`text-base leading-8 text-primary-foreground
1/75 sm:text-lg`,children:n}):null,r?(0,g.jsx)(i,{asChild:!0,variant:`secondary`,className:`${n?`mt-7`:``} h-auto rounded-none px-5 py-3`,children:(0,g.jsxs)(`a`,{href:r.href,children:[r.label,r.label.endsWith(`→`)?null:(0,g.jsx)(d,{"aria-hidden":`true`})]})}):a?(0,g.jsxs)(`div`,{children:[(0,g.jsx)(i,{type:`button`,disabled:!0,variant:`secondary`,className:`${n?`mt-7`:``} h-auto rounded-none px-5 py-3`,children:a}),(0,g.jsx)(`p`,{className:`mt-3 text-xs text-primary-foreground/65`,children:`Page connection coming soon`})]}):null]})]})}function D({heading:e,faqs:t}){return(0,g.jsxs)(`section`,{children:[(0,g.jsx)(_,{children:`Frequently asked questions`}),(0,g.jsx)(`h2`,{className:`mt-5 font-display text-4xl leading-tight sm:text-5xl`,children:e}),(0,g.jsx)(u,{type:`single`,collapsible:!0,className:`mt-10 border-t border-primary/20`,children:t.map((e,t)=>(0,g.jsxs)(l,{value:`faq-${t}`,className:`border-primary/20`,children:[(0,g.jsx)(s,{className:`py-6 text-left text-base font-semibold leading-6 text-primary hover:text-burgundy hover:no-underline sm:text-lg`,children:e.question}),(0,g.jsx)(c,{className:`max-w-4xl pb-6 pr-10 text-base leading-7 text-primary/75`,children:e.answer})]},e.question))})]})}export{_ as a,y as c,w as d,E as i,T as l,C as n,D as o,x as r,v as s,S as t,b as u};

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.