PageSourceSearch

https://www.toolstation.nl/_nuxt/asset/6.0.10/TsCheckoutProducts-DyRso4z7.js

js toolstation.nl collected 2026-09-26 04:01:54 UTC 5,972 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../carouselThumbnail.DHXAGmwn.css","../../entry.IC0nXJmS.css"])))=>i.map(i=>d[i]);
2import{_ as O,c as k,p as A,g as I,u as h}from"./carouselThumbnail-BVGIAQ2F.js";import{_ as L}from"./entry-COcyHNV4.js";import{_ as M}from"./TsEventsNote-CE6zsWOF.js";import{l as E,Q as s,P as l,S as i,J as r,u as e,a7 as x,ab as T,X as v,R as n,O as o,I as y,a6 as g}from"./carousel-BVOjnoof.js";const N=E({__name:"TsCardClickAndCollect",props:{img:{default:"/images/logos/purchase_trolley.svg"},alt:{default:"purchase_trolley"},imgDescription:{default:"Step 1"},title:{default:"Purchase"},description:{default:"Check online whether your product is in stock and choose Click & Collect"},msg:{default:""}},setup(C){const p=x(()=>k(()=>import("./TsCardYouMayAlsoLike-BNafwxAo.js").then(d=>d.b),__vite__mapDeps([0,1]),import.meta.url)),m=x(()=>k(()=>import("./TsChip-CcqmxPgV.js").then(d=>d.c),__vite__mapDeps([0,1]),import.meta.url)),t=C;return(d,_)=>{const w=O,c=L,b=M,f=A;return l(),s(f,{"append-class":"items-center h-full"},{default:i(()=>[r(e(p),null,{default:i(()=>[r(w,{src:t.img,alt:t.alt,height:"52",width:"52",loading:"lazy"},null,8,["src","alt"]),r(c,{variant:"sm",weight:"semibold","append-class":"max-w-[52px] text-black text-center"},{default:i(()=>[T(v(t.imgDescription),1)]),_:1})]),_:1}),r(e(m),{"append-class":"flex flex-col justify-center w-full py-4 md:py-5 bg-natural-soft-white rounded-lg px-5 h-full"},{default:i(()=>[r(c,{as:"h4","append-class":"mb-0"},{default:i(()=>[T(v(t.title),1)]),_:1}),r(c,null,{default:i(()=>[T(v(t.description),1)]),_:1}),t.msg?(l(),s(b,{key:0,variant:"info","append-class":"font-medium bg-info/10 border-l-[8px] border-primary py-2 px-3 mt-1.5 "},{default:i(()=>[T(v(t.msg),1)]),_:1})):n("",!0)]),_:1})]),_:1})}}}),X=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"})),j=["data-testid"],z=["data-testid"],R=["data-testid"],$=["data-testid"],B=E({__name:"TsCheckoutProducts",props:{dataTestid:{}},setup(C){const p=x(()=>k(()=>import("./TsTagTrolleyChannel-Bfbu4u6U.js").then(_=>_.d),__vite__mapDeps([0,1]),import.meta.url)),m=x(()=>k(()=>import("./entry-COcyHNV4.js").then(_=>_.af),__vite__mapDeps([0,1]),import.meta.url)),t=C,d=I();return(_,w)=>{var b,f,D,q,P,S,V;const c=A;return l(),o(y,null,[e(d).trolley_line_items&&e(d).trolley_line_items.Delivery&&e(d).trolley_line_items.Delivery.length?(l(),o("div",{key:0,class:"relative overflow-visible rounded-md pt-4 pb-2 px-4 mb-4 last:mb-0 bg-idle-white","data-testid":t.dataTestid+"-delivery-items-container"},[r(e(p),{"data-testid":t.dataTestid+"-delivery",label:e(h)("delivery","Levering"),variant:"success"},null,8,["data-testid","label"]),(l(!0),o(y,null,g((b=e(d).trolley_line_items)==null?void 0:b.Delivery,(a,u)=>(l(),s(c,{key:a.id,"data-testid":t.dataTestid+"-delivery-item-card-"+(u+1),"append-class":"items-center border-b last:border-b-0 max-md:block py-4 last:pb-2"},{default:i(()=>[a.product?(l(),s(e(m),{key:0,product:a.product,"data-testid":t.dataTestid+"-delivery",quantity:a.quantity},null,8,["product","data-testid","quantity"])):n("",!0)]),_:2},1032,["data-testid"]))),128))],8,j)):n("",!0),(f=e(d).trolley_line_items)!=null&&f.Collection.length?(l(),o("div",{key:1,class:"relative overflow-visible rounded-md pt-4 pb-2 px-4 mb-4 last:mb-0 bg-idle-white","data-testid":t.dataTestid+"-collection-items-container"},[r(e(p),{"data-testid":t.dataTestid+"-collection",label:e(h)("clickAndCollect","Klik & Verzamel")},null,8,["data-testid","label"]),(l(!0),o(y,null,g((D=e(d).trolley_line_items)==null?void 0:D.Collection,(a,u)=>(l(),s(c,{key:a.id,"data-testid":t.dataTestid+"-collection-item-card-"+(u+1),"append-class":"items-center border-b last:border-b-0 max-md:block py-4 last:pb-2"},{default:i(()=>[a.product?(l(),s(e(m),{key:0,product:a.product,quantity:a.quantity,"data-testid":t.dataTestid+"-collection"},null,8,["product","quantity","data-testid"])):n("",!0)]),_:2},1032,["data-testid"]))),128))],8,z)):n("",!0),(q=e(d).trolley_line_items)!=null&&q.Directship.length?(l(),o("div",{key:2,class:"relative overflow-visible rounded-md pt-4 pb-2 px-4 mb-4 last:mb-0 bg-idle-white","data-testid":t.dataTestid+"-directship-items-container"},[r(e(p),{"data-testid":t.dataTestid+"-directship",label:e(h)("Trolley-directFromSupplier","Vanuit leverancier"),variant:"warning"},null,8,["data-testid","label"]),(l(!0),o(y,null,g((P=e(d).trolley_line_items)==null?void 0:P.Directship,(a,u)=>(l(),s(c,{key:a.id,"data-testid":t.dataTestid+"-directship-item-card-"+(u+1),"append-class":"items-center border-b last:border-b-0 max-md:block py-4 last:pb-2"},{default:i(()=>[a.product?(l(),s(e(m),{key:0,product:a.product,quantity:a.quantity,"data-testid":t.dataTestid+"-directship"},null,8,["product","quantity","data-testid"])):n("",!0)]),_:2},1032,["data-testid"]))),128))],8,R)):n("",!0),(S=e(d).trolley_line_items)!=null&&S.NextDayCollection.length?(l(),o("div",{key:3,class:"relative overflow-visible rounded-md pt-4 pb-2 px-4 mb-4 last:mb-0 bg-idle-white","data-testid":t.dataTestid+"-next-day-collection-items-container"},[r(e(p),{"data-testid":t.dataTestid+"-next-day-collection",label:e(h)("Checkout-collectNextDay","Verzamelen op volgende dag")},null,8,["data-testid","label"]),(l(!0),o(y,null,g((V=e(d).trolley_line_items)==null?void 0:V.NextDayCollection,(a,u)=>(l(),s(c,{key:a.id,"data-testid":t.dataTestid+"-next-day-collection-item-card-"+(u+1),"append-class":"items-center border-b last:border-b-0 max-md:block py-4 last:pb-2"},{default:i(()=>[a.product?(l(),s(e(m),{key:0,product:a.product,quantity:a.quantity,"data-testid":t.dataTestid+"-next-day-collection"},null,8,["product","quantity","data-testid"])):n("",!0)]),_:2},1032,["data-testid"]))),128))],8,$)):n("",!0)],64)}}}),G=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"}));
2export{X as T,G as a};
3//# sourceMappingURL=TsCheckoutProducts-DyRso4z7.js.map

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.