1import{_ as u}from"./5WRHfKaI.js";import{a7 as f,q as m,$ as g,f as h,i as s,X as y,k as d,V as C,U as k,R as P,o as r,Q as v,a1 as x}from"./BhL76PjB.js";import"./CRWIw-cT.js";import"./DplMkkpz.js";import"./C_0d1FCB.js";import"./7xFuDiYd.js";import"./C0Y1gDnb.js";import"./y_fljhru.js";import"./DEs0K2cw.js";import"./DolFRah1.js";import"./U6_YhDT0.js";const $={key:0,class:"c-paragraph-product-cards__list"},w=f({__name:"ParagraphProductCards",props:{data:{},classes:{}},async setup(c){let a,n;const i=m([]),t=m("idle"),o=c.data.field_products?.links?.related?.href;if(o){t.value="pending";const _=["field_image_entity.field_media_image","field_product_components_node.field_tags","field_product_components_node.field_image_entity.field_media_image","field_product_purchase_links.field_platforms.field_icon_white.field_media_image","field_distribution_channels.field_logo_white.field_media_image"].join(",");try{const l=([a,n]=g(()=>$fetch(`${o}${o.includes("?")?"&":"?"}include=${_}`)),a=await a,n(),a),e=h(l);e.data&&Array.isArray(e.data)&&(i.value=e.data),t.value="success"}catch{t.value="error"}}return(_,l)=>{const e=u;return r(),s("div",{class:P([c.classes,"c-paragraph-product-cards"])},[d(t)==="success"&&d(i)?.length?(r(),s("ul",$,[(r(!0),s(C,null,k(d(i),p=>(r(),s("li",{key:p.id},[v(e,{product:p},null,8,["product"])]))),128))])):y("",!0)],2)}}}),I=Object.assign(x(w,[["__scopeId","data-v-dff76f1c"]]),{__name:"ParagraphProductCards"});export{I 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.