1import{d as v,c as t,a as i,i as r,e as l,k as C,t as s,F as g,D as u,g as k,h as _,m as x,E as w,j as h,J as L,b as y,C as m,o as a,_ as T}from"./BcLgFRTE.js";import{d as B}from"./B1GSJh7A.js";const V=["aria-label","aria-labelledby"],z={class:"training-guides-hero__inner"},j={class:"training-guides-hero__copy"},N={class:"training-guides-hero__intro"},G={class:"training-guides-hero__heading"},H=["aria-label"],A={key:0,"aria-hidden":"true",class:"training-guides-hero__title-prefix"},D={"aria-hidden":"true",class:"training-guides-hero__title-emphasis"},E={key:1,class:"training-guides-hero__labels","aria-label":"Training guide hub highlights"},F={class:"training-guides-hero__label-text color-text-secondary label-s-10-bold"},I={key:0,class:"training-guides-hero__description-row"},O=["src"],S={class:"training-guides-hero__description body-l-18-regular"},U={key:0,class:"training-guides-hero__actions"},$=["href","rel","target"],q=["href","rel","target"],J={class:"training-guides-hero__visual-wrap"},M={key:0,class:"training-guides-hero__portrait"},P=["alt","src"],R={key:1,class:"training-guides-hero__stats","aria-label":"Training hub stats"},K={class:"training-guides-hero__stat-value"},Q={class:"training-guides-hero__stat-label"},W=v({__name:"TrainingGuidesHero",props:{hero:{required:!0,type:Object}},setup(e){const b=e,d=C(()=>{const o=b.hero.title.trim().split(/\s+/).filter(Boolean);return o.length<=1?{emphasis:o[0]||"",prefix:""}:{emphasis:o.at(-1)||"",prefix:o.slice(0,-1).join(" ")}});return(o,c)=>(a(),t("section",{"aria-label":e.hero.title?void 0:"Training guides","aria-labelledby":e.hero.title?"training-guides-title":void 0,class:"training-guides-hero"},[c[0]||(c[0]=i("div",{"aria-hidden":"true",class:"training-guides-hero__background"},null,-1)),i("div",z,[i("div",j,[i("div",N,[i("div",G,[e.hero.title?(a(),t("h1",{key:0,id:"training-guides-title","aria-label":e.hero.title,class:"training-guides-hero__title"},[l(d).prefix?(a(),t("span",A,s(l(d).prefix),1)):r("",!0),i("span",D,s(l(d).emphasis),1)],8,H)):r("",!0),e.hero.labels.length?(a(),t("div",E,[(a(!0),t(g,null,u(e.hero.labels,(n,f)=>(a(),k(w,{key:n,class:"training-guides-hero__label bg-color-button-brand-gg-idle",size:"x-small",variant:"elevated"},{default:_(()=>[i("span",{style:x({opacity:Math.max(0,.6-f*.2)}),class:"training-guides-hero__label-overlay"},null,4),i("span",F,s(n),1)]),_:2},1024))),128))])):r("",!0)]),e.hero.copy?(a(),t("div",I,[i("img",{"aria-hidden":"true",alt:"",class:"training-guides-hero__description-arrow",src:l(B),height:"26",width:"69"},null,8,O),i("p",S,s(e.hero.copy),1)])):r("",!0)]),e.hero.primaryCta.href&&e.hero.primaryCtaLabel||e.hero.secondaryCta.href&&e.hero.secondaryCtaLabel?(a(),t("div",U,[e.hero.primaryCta.href&&e.hero.primaryCtaLabel?(a(),t("a",{key:0,href:e.hero.primaryCta.href,rel:e.hero.primaryCta.rel,target:e.hero.primaryCta.target,class:"training-guides-hero__primary-link"},[h(L,{size:"big",theme:"sts"},{default:_(()=>[h(m,{icon:"mdi-play-circle-outline",size:"20"}),y(" "+s(e.hero.primaryCtaLabel),1)]),_:1})],8,$)):r("",!0),e.hero.secondaryCta.href&&e.hero.secondaryCtaLabel?(a(),t("a",{key:1,href:e.hero.secondaryCta.href,rel:e.hero.secondaryCta.rel,target:e.hero.secondaryCta.target,class:"training-guides-hero__secondary-link title-s-14-semibold"},[y(s(e.hero.secondaryCtaLabel)+" ",1),h(m,{icon:"mdi-arrow-down",size:"18"})],8,q)):r("",!0)])):r("",!0)]),i("div",J,[e.hero.imageUrl?(a(),t("div",M,[i("img",{alt:e.hero.imageAlt,src:e.hero.imageUrl,class:"training-guides-hero__portrait-image",decoding:"async",fetchpriority:"high",height:"920",width:"736"},null,8,P)])):r("",!0),e.hero.stats.length?(a(),t("div",R,[(a(!0),t(g,null,u(e.hero.stats,n=>(a(),t("div",{key:`${n.value}-${n.label}`,class:"training-guides-hero__stat"},[i("span",K,s(n.value),1),i("span",Q,s(n.label),1)]))),128))])):r("",!0)])])],8,V))}}),Z=Object.assign(T(W,[["__scopeId","data-v-4d9682a0"]]),{__name:"TrainingGuidesHero"});export{Z as default};
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.