1import{_ as y}from"./D-dzvYYf.js";import{_ as k}from"./C1qqnLTG.js";import{_ as C}from"./DERhu1P9.js";import{b as W,q as M,N as L,a4 as w,aZ as D,r as i,s as a,v as e,x as u,aN as F,A as s,y as _,F as P,z as U,aC as V,bm as v,Q as f,B,D as H,G as c}from"./CdZNBeWr.js";import{b as T}from"./DvRiLIsj.js";import"./CRqG-Scu.js";import"./D3G8aWt4.js";import"./DrkKwAwI.js";const O={"g-scroll-trigger-item":""},q={class:"media-2xl"},j={key:0,class:"media-2xl"},z={class:"advantage-list"},G=["data-scroll-class"],Q={class:"advantage-item"},Z={class:"content-box"},$={class:"name-box"},J=["innerHTML"],K={class:"advantage-item"},R={class:"content-box"},X={class:"name-box"},Y=["innerHTML"],ee=W({__name:"index",props:{id:{},type:{default:""},data:{default:null},blockIndex:{default:0}},emits:["widget:loaded","widget:not-exist","widget:empty"],setup(h,{emit:E}){const x=H(),r=T(h),{type:te,data:d,blockIndex:ie,blockUniqueId:ne}=r,N=E,m=c(()=>d.value?.field_main_title),g=c(()=>d.value?.field_sub_title),p=c(()=>d.value?.field_shopping_advantages?.list||[]);return M(async()=>{await L(),N("widget:loaded",r)}),w(()=>{}),(t,n)=>{const I=y,b=k,A=C,S=D("g-scroll-trigger");return i(),a("div",{class:"widget--shopping_advantages",ref_key:"sectionEl",ref:x},[e("div",O,[u(A,null,F({content:_(()=>[t.$useMedia.min("md")?(i(),a("div",j,[e("div",z,[(i(!0),a(P,null,U(s(p),(l,o)=>V((i(),a("div",{class:"item",key:o,"data-scroll-class":"CLASSNAME_IN_VIEW_FADEIN_UP"in t?t.CLASSNAME_IN_VIEW_FADEIN_UP:s(v)},[e("div",Q,[n[0]||(n[0]=e("div",{class:"icon-box"},[e("i",{class:"ds-ico-ex-special-offers","ds-ico":""})],-1)),e("div",Z,[e("div",$,[e("h4",null,f(l.title),1)]),e("div",{class:"des-box cmsEditor",innerHTML:l.field_content?.processed},null,8,J)])])],8,G)),[[S,{toggleClassOnlyEnterClassName:"CLASSNAME_IN_VIEW_FADEIN_UP"in t?t.CLASSNAME_IN_VIEW_FADEIN_UP:s(v),toggleClassOnlyEnter:!0}]])),128))])])):(i(),B(b,{key:1,items:s(p)},{item:_(({index:l,item:o})=>[e("div",K,[n[1]||(n[1]=e("div",{class:"icon-box"},[e("i",{class:"ds-ico-ex-special-offers","ds-ico":""})],-1)),e("div",R,[e("div",X,[e("h4",null,f(o.title),1)]),e("div",{class:"des-box cmsEditor",innerHTML:o.field_content?.processed},null,8,Y)])])]),_:1},8,["items"]))]),_:2},[s(m)||s(g)?{name:"header",fn:_(()=>[e("div",q,[u(I,{heading1:s(m),heading2:s(g)},null,8,["heading1","heading2"])])]),key:"0"}:void 0]),1024)])],512)}}}),ge=Object.assign(ee,{__name:"WidgetsWidgetShoppingAdvantagesWidget"});export{ge 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.