1import{a as g,b as L,c as b,d as R,e as x}from"/build/_shared/chunk-MEDNP2CG.js";import{a as y,b as q,d as S}from"/build/_shared/chunk-YUFADS5N.js";import{B as G,C as P,E as O,z as C}from"/build/_shared/chunk-BDJJDRIM.js";import{h as k,i as I,m as v}from"/build/_shared/chunk-UXYFIVMC.js";import{a as V,w as u}from"/build/_shared/chunk-PBYQIKHM.js";import{d as l}from"/build/_shared/chunk-G5WX4PPA.js";var E=l(I());var h=l(I()),_=l(V());q();G();O();function A(s){try{return s!=null&&s.startsWith("http")?new URL(s).hostname.endsWith("ligonier.org"):!1}catch{return!1}}var r=l(u()),$=({className:s,content:i,components:w,linksClassName:c="",textClassName:d="",headingClassName:n="",emClassName:f="",ulClassName:M="",olClassName:U=""})=>(0,r.jsx)(y,{className:s,rehypePlugins:[C],remarkPlugins:[P],components:{section:({node:o,children:e,className:t,...a})=>/footnotes/.exec(t||"")?(0,r.jsx)("section",{className:"text-xs [&_p]:leading-normal",...a,children:e}):(0,r.jsx)("section",{...a,children:e}),h1:({node:o,children:e,...t})=>(0,r.jsx)("h1",{className:n,...t,children:e}),h2:({node:o,children:e,id:t,...a})=>/footnote-label/.exec(t||"")?(0,r.jsx)("hr",{className:"border-slate"}):(0,r.jsx)("h2",{className:n,...a,children:e}),h3:({node:o,children:e,...t})=>(0,r.jsx)("h3",{className:n,...t,children:e}),h4:({node:o,children:e,...t})=>(0,r.jsx)("h4",{className:n,...t,children:e}),h5:({node:o,children:e,...t})=>(0,r.jsx)("h5",{className:n,...t,children:e}),h6:({node:o,children:e,...t})=>(0,r.jsx)("h6",{className:n,...t,children:e}),em:({node:o,children:e,...t})=>(0,r.jsx)("em",{className:(0,h.default)(f,"not-italic"),...t,children:e}),a:({node:o,children:e,href:t,...a})=>{let p=!A(t??"");return(0,r.jsx)("a",{className:c,href:t??"",target:p?"_blank":void 0,rel:p?"noopener noreferrer":void 0,...a,children:e})},p:({node:o,children:e,...t})=>(0,r.jsx)("p",{className:d,...t,children:e}),ol:({node:o,children:e,ordered:t,...a})=>(0,r.jsx)("ol",{...a,className:(0,h.default)("list-decimal",U),children:e}),ul:({node:o,children:e,ordered:t,...a})=>(0,r.jsx)("ul",{...a,className:(0,h.default)("list-disc",M),children:e}),...w},children:i}),N=_.default.memo($);var m=l(u());function B({heading:s,subheading:i,class:w}){let c=k(),d={placeholder:"Search",querySuggestionsIndex:`${c.PUBLIC_ALGOLIA_ENV}_${v.querySuggestions}`||"",searchResultsIndex:c.PUBLIC_ALGOLIA_ENV||"",onSelectSearchResult:n=>{let f=S(R(n));window.location.href=f},onSearch:n=>{window.location.href=`https://search.ligonier.org/?query=${n}&type=product|productCollection`},renderItemImage:g,renderPersonItemImage:g,renderProductItemImage:L,renderAvatarImage:b,inputVariant:"white",filters:'type:"product" OR type:"productCollection"',SearchComponent:x};return(0,m.jsxs)("header",{className:"flex w-full flex-col items-center justify-center bg-cream py-20 px-5",children:[(0,m.jsxs)("div",{className:"mb-12 text-center",children:[(0,m.jsx)(N,{textClassName:"mb-6 font-mercury text-4xl text-dark-copy md:text-5xl",linksClassName:"markdown-link",content:s||""}),(0,m.jsx)(N,{textClassName:"text-lg text-body-copy md:text-xl",linksClassName:"markdown-link",content:i||""})]}),c&&d.SearchComponent&&(0,m.jsx)("div",{className:"relative w-full max-w-md",children:(0,m.jsx)(x,{...d,className:"w-full",dropdownClassName:(0,E.default)("absolute top-full left-0 w-full","md:w-screen md:max-w-xl","md:left-1/2 md:-translate-x-1/2","xl:max-w-3xl")})})]})}export{B as a};
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.