1import{d as R,J as b,Q as z,ac as F,c as q,P as J,o as u,u as _,N as O,W as G,ad as H,a4 as K,w as Q,e as m,p as g,g as r,M as P,K as U,L as W,I as Y,h as X}from"./CJIORRdx.js";import{h as L,p as k,k as Z,a as ee,_ as te}from"./CrGS6B3s.js";import{u as se}from"./CQe3rob-.js";import{q as oe}from"./DHT3rmrm.js";function ne(i){return{type:"root",children:i.value.map(A)}}function A(i){if(typeof i=="string")return{type:"text",value:i};const[y,s,...d]=i;return{type:"element",tag:y,props:s,children:d.map(A)}}const M=["ProseA","ProseBlockquote","ProseCode","ProseEm","ProseH1","ProseH2","ProseH3","ProseH4","ProseH5","ProseH6","ProseHr","ProseImg","ProseLi","ProseOl","ProseP","ProsePre","ProseScript","ProseStrong","ProseTable","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl"],$=[],re=Object.freeze(Object.defineProperty({__proto__:null,globalComponents:M,localComponents:$},Symbol.toStringTag,{value:"Module"})),ae=R({__name:"ContentRenderer",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})},prose:{type:Boolean,default:void 0},class:{type:[String,Object],default:void 0},unwrap:{type:[Boolean,String],default:!1}},setup(i){var T,S,B,E;const y=["render","ssrRender","__ssrInlineRender"],s=i,d=!1,n=b(()=>{let e=s.value.body||s.value;return s.excerpt&&s.value.excerpt&&(e=s.value.excerpt),e.type==="minimal"?ne(e):e}),C=b(()=>{var e,t;return!((t=(e=n.value)==null?void 0:e.children)!=null&&t.length)}),v=b(()=>{const{body:e,excerpt:t,...o}=s.value;return{...o,...s.data}}),h=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),{mdc:a}=z().public||{},x={...(T=a==null?void 0:a.components)!=null&&T.prose&&s.prose!==!1?h:{},...((S=a==null?void 0:a.components)==null?void 0:S.map)||{},...F(((E=(B=s.data)==null?void 0:B.mdc)==null?void 0:E.components)||{}),...s.components},l=b(()=>{}),w=b(()=>n.value?N(n.value,{tags:x}):{});function I(e){let t=e;if(typeof e=="string"){if(L.includes(e))return e;if(M.includes(k(e))?t=G(e,!1):$.includes(k(e))&&(t=H(()=>K(()=>Promise.resolve().then(()=>re),void 0,import.meta.url).then(p=>{const f=p[k(e)];return f?f():void 0}))),typeof t=="string")return t}if(!t)return t;const o=t;return"__asyncLoader"in o?o:"setup"in o?H(()=>Promise.resolve(o)):o}function N(e,t){if(!e)return;const o=Array.from(new Set(j(e,t))),c={};for(const[p,f]of o)if(!c[p]){if(typeof f=="object"&&y.some(D=>Object.hasOwnProperty.call(f,D))){c[p]=f;continue}c[p]=I(f)}return c}function j(e,t){const o=e.tag;if(e.type==="text"||o==="binding"||e.type==="comment")return[];const c=V(e,t.tags),p=[];e.type!=="root"&&!L.includes(c)&&p.push([o,c]);for(const f of e.children||[])p.push(...j(f,t));return p}function V(e,t){var c;const o=e.tag;return!o||typeof((c=e.props)==null?void 0:c.__ignoreMap)<"u"?o:t[o]||t[k(o)]||t[Z(e.tag)]||o}return(e,t)=>C.value?J(e.$slots,"empty",{key:1,body:n.value,data:v.value,dataContentId:_(d)?i.value.id:void 0}):(u(),q(ee,{key:l.value,body:n.value,data:v.value,class:O(s.class),tag:s.tag,prose:s.prose,unwrap:s.unwrap,components:w.value,"data-content-id":_(d)?i.value.id:void 0},null,8,["body","data","class","tag","prose","unwrap","components","data-content-id"]))}}),le={class:"py-5 text-center"},ie={key:0,class:"container"},ce={key:0,class:"row"},ue={class:"col"},de={class:"row justify-content-center g-4"},pe={key:0,class:"quote"},fe={class:"user d-sm-flex justify-content-center mt-auto"},me={class:"align-self-center text-sm-start ps-sm-3 order-sm-1"},ye={class:"d-block"},_e={class:"d-block"},ve={key:0,class:"d-block fst-italic"},he=["src"],ke=R({__name:"TestimonialsGrid",props:{featuredOnly:{type:Boolean},featuredExcluded:{type:Boolean}},async setup(i){let y,s;const d=i,{data:n}=([y,s]=Q(()=>se(()=>oe("data").where("stem","=","data/testimonials").first(),"$JjjPSnL8nY")),y=await y,s(),y),C=b(()=>{var h;if(!((h=n.value)!=null&&h.testimonials))return[];const v=n.value.testimonials;return d.featuredOnly?v.filter(a=>a.featured):d.featuredExcluded?v.filter(a=>!a.featured):v});return(v,h)=>{const a=ae,x=te;return u(),m("section",le,[_(n)&&C.value.length?(u(),m("div",ie,[d.featuredOnly?g("",!0):(u(),m("div",ce,[r("div",ue,[h[0]||(h[0]=r("div",{role:"presentation",class:"text-warning"},[r("i",{class:"fas fa-star"}),r("i",{class:"fas fa-star"}),r("i",{class:"fas fa-star"}),r("i",{class:"fas fa-star"}),r("i",{class:"fas fa-star"})],-1)),_(n).title?(u(),m("h2",{key:0,class:O({"mb-4":!_(n).intro,"gradient-text-primary":!0})},P(_(n).title),3)):g("",!0),_(n).intro?(u(),q(a,{key:1,class:"fs-5 mb-4",value:_(n).intro},null,8,["value"])):g("",!0)])])),r("div",de,[(u(!0),m(U,null,W(C.value,(l,w)=>(u(),m("div",{key:w,class:O({"col-md-6":!l.full_width})},[r("div",{class:"testimonial h-100",style:Y({borderTop:d.featuredOnly?"4px s
1olid #cfa124":"none"})},[l.testimonial?(u(),m("div",pe,[X(x,{value:l.testimonial,tag:"div"},null,8,["value"])])):g("",!0),r("div",fe,[r("div",me,[r("strong",null,P(l.name),1),r("small",ye,P(l.position),1),r("small",_e,P(l.company),1),l.certification?(u(),m("small",ve,P(l.certification),1)):g("",!0)]),l.photo?(u(),m("img",{key:0,class:"order-2 order-sm-0",src:l.photo,alt:"",width:"120",height:"120"},null,8,he)):g("",!0)])],4)],2))),128))])])):g("",!0)])}}});export{ke as _};
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.