1import{c as e,r as s,t}from"./jsx-runtime.B3_jS9r6.js";import{r as l,t as a}from"./utilities.zKPpsOjM.js";import{g as i,l as r}from"./helpers.DHvB_xtA.js";import{t as n}from"./heading.Dusyo_V2.js";import{t as c}from"./src.BReuYsqT.js";import{n as d,t as o}from"./src.DF5fyvXD.js";import{t as m}from"./src.DGHonjfk.js";import{t as h}from"./src.CR13oyxm.js";import{t as x}from"./use-media-query.B_fPgbp9.js";var p=l(),u=e(s(),1),f=t(),g=e=>{const s=(0,p.c)(20);let t,l,a;s[0]!==e?(({title:l,titleId:a,...t}=e),s[0]=e,s[1]=t,s[2]=l,s[3]=a):(t=s[1],l=s[2],a=s[3]);const i=(0,u.useId)();let r;s[4]!==l||s[5]!==a?(r=l?(0,f.jsx)("title",{id:a,children:l}):null,s[4]=l,s[5]=a,s[6]=r):r=s[6];const n=`url(#${i}-quick-links-decorative_optimized_svg__a)`;let c,d,o;s[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,f.jsx)("path",{fill:"#FEEAC4",d:"M59.5 119C26.64 119 0 92.36 0 59.5S26.64 0 59.5 0H119v59.5c0 32.86-26.64 59.5-59.5 59.5"}),s[7]=c):c=s[7],s[8]!==n?(d=(0,f.jsx)("g",{clipPath:n,children:c}),s[8]=n,s[9]=d):d=s[9],s[10]===Symbol.for("react.memo_cache_sentinel")?(o=(0,f.jsx)("path",{fill:"#33E2E2",d:"M127 24c0-13.255 10.745-24 24-24h32c13.255 0 24 10.745 24 24s-10.745 24-24 24h-32c-13.255 0-24-10.745-24-24"}),s[10]=o):o=s[10];const m=`${i}-quick-links-decorative_optimized_svg__a`;let h,x,g;return s[11]===Symbol.for("react.memo_cache_sentinel")?(h=(0,f.jsx)("path",{fill:"#fff",d:"M0 119V0h119v119z"}),s[11]=h):h=s[11],s[12]!==m?(x=(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:m,children:h})}),s[12]=m,s[13]=x):x=s[13],s[14]!==t||s[15]!==r||s[16]!==d||s[17]!==x||s[18]!==a?(g=(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:207,height:119,fill:"none","aria-labelledby":a,...t,children:[r,d,o,x]}),s[14]=t,s[15]=r,s[16]=d,s[17]=x,s[18]=a,s[19]=g):g=s[19],g},j="Tell us who you are to display relevant links.",v="I am...",k=({BlockHeader:e,BlockHeaderIcon:s,Description:t,Image:l,ImageAltText:p,SegmentContainers:k=[],data:b})=>{const w=x("(min-width: 768px)"),{staticContent:N}=b||{},{WhoYouAreLabel:y=j,quickLinkSubHeaderText:I=v}=N||{},{Url:S}=s||{},{Url:_}=l||{},C=k.map((e,s)=>({label:e.SegmentLabel,value:(s+1).toString()})),[q,T]=(0,u.useState)(C.length>0?C[0]:{label:"",value:""}),z=e=>{const s=parseInt(e)-1;return s>=0&&s<k.length?k[s].SegmentItems.map((e,s)=>({id:(s+1).toString(),label:e.ItemLabel,url:e.ItemTextLink,icon:e.ItemIcon?.Url,iconAlt:e.ItemIconAltText})):[]},A=""!==q.value?z(q.value):[],[L,H]=(0,u.useState)(A);return(0,f.jsxs)("div",{className:"bg-container py-10 md:py-20","data-testid":"quick-links-container","data-scheme":"neutral",children:[(0,f.jsxs)("div",{className:a("container mb-6"),children:[(0,f.jsx)(d,{text:e,icon:S,blockHeaderSize:o.Large}),(0,f.jsx)(i,{html:t,className:"text-title-sm","data-testid":"quick-links-description"})]}),(0,f.jsx)("div",{className:"flex flex-col md:container",children:(0,f.jsxs)("div",{className:"relative grid-cols-12 grid-rows-1 md:grid",children:[(0,f.jsx)("div",{className:"col-span-8 col-start-1 row-start-1 w-full md:aspect-[840/643]",children:(0,f.jsx)(c,{alt:p,className:"h-293 w-full object-cover md:h-643 md:rounded-3xl","data-testid":"quick-links-main-image",src:r(_,{height:"643"}),responsiveSrc:{sm:r(_,{height:"293"}),md:r(_,{height:"643"})}})}),(0,f.jsxs)("div",{className:"relative z-10 col-span-6 col-start-7 row-start-1 flex flex-col self-start",children:[(0,f.jsx)("div",{className:"bg-container flex-1 px-0 py-10 md:mt-12 md:rounded-4xl md:px-16 md:py-16","data-scheme":"brand-primary",children:(0,f.jsxs)("div",{className:a("flex flex-col",{container:!w}),"data-testid":"quick-links-text-section",children:[(0,f.jsxs)("div",{className:"mb-6 flex flex-col gap-4 md:mb-8 md:flex-row md:gap-5",children:[(0,f.jsx)(n,{asTag:"h3",className:"text-display-md line-clamp-1 max-w-208 self-center text-ellipsis md:self-start","data-testid":"quick-links-subheading",children:(0,f.jsx)("div",{className:"text-on-container",children:I})}),k.length>0&&(0,f.jsx)("div",{"data-theme":"slhs",className:"w-full flex-1 md:w-1/2",children:(0,f.jsx)(h,{options:C,selected:q,onChange:e=>{T(e),H(z(e.value))},className:"h-70 w-full",variant:"rounded",showPlaceholder:!1,selectedOptionClasses:"text-primary font-bold",highlightClasses:"bg-hero-form-hover"})})]}),(0,f.jsx)("div",{className:"text-on-container mb-2",children:(0,f.jsx)(i,{asTag:"p",html:y,className:"text-title-xs","data-testid":"quick-links-who-you-are-label"})}),(0,f.jsx)(m,{separator:!0,showArrow:!0,list:L,underline:!1,linkClassName:"hover:text-primary-darker font-bold pl-2",linkItemClass:"gap-3",linkItemContainerClass:"gap-3"})]})}),(0,f.jsx)("div",{className:"hidden w-fit md:mt-2 md:ml-[37%] md:block","data-testid":"quick-links-decorative-image",children:(0,f.jsx)(g,{})})]})]})})]})};export{k as QuickLinks};
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.