1import{_ as V}from"./1VEy05ga.js";import q from"./qZ2ZDjVj.js";import{_ as F}from"./D72e_6Gq.js";import{_ as D}from"./DdaaPf7x.js";import M from"./Dp5HDaRD.js";import G from"./rinK_iF-.js";import{_ as H}from"./4w-3zW5v.js";import{_ as O}from"./DJ9Zsb5y.js";import{_ as Q}from"./CJWvlUdk.js";import{r as N,w as B,o as n,c as v,g as p,d as l,f as i,b as r,e as w,t as x,a as _,v as T,u as f,m as E}from"./B2aqk5pg.js";import{u as U}from"./BZtm3Qk9.js";import{u as Y}from"./BCOhtnqJ.js";import{u as J}from"./DkyjBK86.js";import{u as j}from"./W5vrPy6f.js";import"./D_BIlcc6.js";import"./C4O3RvNu.js";import"./sgKpHroy.js";import"./CSpg7YhI.js";import"./CNsrSb1h.js";import"./CfNcFcyB.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"348d925b74041012259bb47f190333bc67b2c0ef"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f145b83d-237d-44a9-be46-31aec7f1ea02",t._sentryDebugIdIdentifier="sentry-dbid-f145b83d-237d-44a9-be46-31aec7f1ea02")}catch{}})();const K={class:"card card-approach w-full h-full overflow-hidden p-8 min-h-[240px] lg:min-h-[420px] relative bg-gray-300"},W={class:"relative z-[2] flex flex-col w-full h-full pt-20"},X={__name:"CardApproach",props:{card:{type:Object,default:()=>({})},index:{type:[Number,String],default:null}},setup(t){const e=t;return(s,o)=>{const g=G,c=D,b=H,d=O,h=N("editable");return B((n(),v("div",K,[p("div",W,[e.card.icon?(n(),l(g,{key:0,name:e.card.icon,class:"absolute top-0 left-0 w-8 h-8 text-dark z-[2]"},null,8,["name"])):i("",!0),o[0]||(o[0]=p("img",{src:Q,alt:"","aria-hidden":"true",loading:"lazy",class:"w-[52px] h-[52px] absolute top-0 right-0"},null,-1)),e.card.title?(n(),l(c,{key:1,level:"h4",class:"mb-1"},{default:r(()=>[w(x(e.card.title),1)]),_:1})):i("",!0),e.card.description?(n(),l(b,{key:2,"rich-text":e.card.description,class:"mb-4"},null,8,["rich-text"])):i("",!0),_(d,{type:"btn-link",icon:"fa-solid:arrow-right","icon-before":!1,link:{cached_url:e.card.full_slug},class:"z-[3] mb-0 mt-auto"},{default:r(()=>[w(x(s.$t("global.learnMore")),1)]),_:1},8,["link"])])])),[[h,t.card]])}}},Z=["id"],ee={key:0},we={__name:"LinkedApproaches",props:{blok:{type:Object,default:()=>({})}},async setup(t){let e,s;const o=t,g=U(),c=E(0),b=o.blok.showFourColumns?4:3,d=E([]),h=a=>a.slice(0,b).map(m=>({...m.content,full_slug:m.full_slug})),C=Y();let u=J.createTagFilterQuery(C.value.content),y=[],I=[];o.blok.overrides?.length>0&&(y=([e,s]=T(()=>j("approach",{by_uuids_ordered:o.blok.overrides.join(",")})),e=await e,s(),e).data.stories),C.value?.content?.component==="projectPage"&&u?.filter_query?.tagsProject&&(u={filter_query:{tagsProject:u.filter_query.tagsProject}}),u&&(I=([e,s]=T(()=>j("approach",u)),e=await e,s(),e).data.stories);const z=new Set(y.map(a=>a.uuid)),$=[...y,...I.filter(a=>!z.has(a.uuid))];return c.value=$.length,d.value=h($),(a,k)=>{const m=V,S=q,L=F,P=D,A=M,R=N("editable");return B((n(),v("section",{id:t.blok.anchorId||null},[f(c)===0&&f(g)?(n(),v("div",ee,[_(S,null,{default:r(()=>[_(m,{"indent-left":!0,"indent-right":!0,"no-indent-mobile":""},{default:r(()=>[...k[0]||(k[0]=[p("p",null,[p("strong",null,"No page tag set or no related approaches found")],-1),p("p",null,"Please add at least one page tag in the 'tagging' tab and tag some updates with the same tag.",-1)])]),_:1})]),_:1}),_(L,{size:"md"})])):i("",!0),f(c)>0?(n(),l(S,{key:1},{default:r(()=>[_(m,{"indent-left":!1,"indent-right":!1,"no-indent-mobile":""},{default:r(()=>[o.blok.title?(n(),l(P,{key:0,alignment:o.blok.centerTitle&&"center",level:"h2",class:"mb-8"},{default:r(()=>[w(x(o.blok.title),1)]),_:1},8,["alignment"])):i("",!0),f(d)?.length?(n(),l(A,{key:1,items:f(d),"show-four-columns":o.blok.showFourColumns,"card-type":X},null,8,["items","show-four-columns"])):i("",!0)]),_:1})]),_:1})):i("",!0)],8,Z)),[[R,o.blok]])}}};export{we 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.