PageSourceSearch

https://www.color4care.no/_nuxt/Bn44Lv7O.js

js color4care.no collected 2026-10-04 20:56:59 UTC 4,504 bytes, 1 lines download raw bytes

1import{d as I,u as B,i as M,s as P,c as n,g as s,t as b,f as t,h as o,n as h,F as p,r as y,e as k,w as g,a5 as R,o as a,a7 as x,x as w,aT as C,b as v,z as H}from"#entry";import{P as S}from"./BxGPsHLu.js";import{N as $}from"./erzjY4bj.js";import{S as E,a as V}from"./DG2Eh2UX.js";import"./CobDqpzJ.js";import{_ as j}from"./DlAUqK2U.js";const q={class:"ClerkProductList relative"},z={class:"layout-container mt-32 mb-24"},D={key:0},F={class:"type-base-medium md:type-headline-xl-desktop mb-12 md:mb-16"},O=["innerHTML"],G={key:1,class:"transition-opacity duration-300 opacity-100 grid-cols-2 md:layout-container md:grid-cols-4 smOnly:mt-24"},U={class:"layout-container mb-16"},A={class:"flex justify-between align-items items-center"},J={class:"type-base-medium md:type-headline-xl-desktop"},K=["innerHTML"],Q={key:0,class:"hidden md:flex justify-end"},W={class:"layout-container mb-16"},X={class:"type-base-medium md:type-headline-xl-desktop"},Y={class:"flex gap-12 md:gap-24 px-24 md:px-0 overflow-hidden md:layout-container"},Z=I({__name:"ClerkProductList",props:{headline:{},text:{},products:{},placement:{},desktopColumns:{},slider:{type:Boolean,default:!0},disableLink:{type:Boolean,default:!1}},setup(e){const r=B(),T=M(),{isMobile:l}=P(T),L=e,c="swiper-for-blok-"+(Math.random()+1).toString(36).substring(7),f=H(()=>parseInt(L.desktopColumns||"4",10));return(u,m)=>{const N=R;return a(),n("div",q,[s("div",z,[e.slider?o("",!0):(a(),n("div",D,[s("div",F,b(e.headline),1),e.text?(a(),n("div",{key:0,class:"type-xs md:type-base md:max-w-1/2 empty:hidden",innerHTML:("renderRichText"in u?u.renderRichText:t(x))(e.text)},null,8,O)):o("",!0)]))]),e.slider?e.slider?(a(),n("div",G,[k(N,null,{placeholder:g(()=>[s("div",W,[s("div",X,b(e.headline),1)]),s("div",Y,[(a(!0),n(p,null,y(t(f),i=>(a(),n("div",{key:i,class:"flex-none w-[calc(40%-6px)] md:w-[calc(25%-18px)]"},[...m[1]||(m[1]=[s("div",{class:"w-full aspect-product bg-gray-100 animate-pulse"},null,-1),s("div",{class:"p-16 pb-24"},[s("div",{class:"h-[32px] bg-gray-100 animate-pulse rounded mb-8"}),s("div",{class:"h-[16px] w-1/2 bg-gray-100 animate-pulse rounded"})],-1)])]))),128))])]),default:g(()=>[s("div",U,[s("div",A,[s("div",null,[s("div",J,b(e.headline),1),e.text?(a(),n("div",{key:0,class:"type-xs md:type-base md:max-w-1/2 empty:hidden",innerHTML:("renderRichText"in u?u.renderRichText:t(x))(e.text)}
1,null,8,K)):o("",!0)]),e.products.length>parseInt(e.desktopColumns,10)?(a(),n("div",Q,[s("div",{class:h(["swiper-button-prev",[`${c}`]])},null,2),s("div",{class:h(["swiper-button-next ml-12",[`${c}`]])},null,2)])):o("",!0)])]),k(t(E),{"space-between":t(l)?12:24,"slides-per-view":t(l)?2.5:parseInt(e.desktopColumns,10),"slides-per-group":t(l)?2:parseInt(e.desktopColumns,10),"slides-offset-before":t(l)?24:0,"slides-offset-after":t(l)?24:0,modules:[t($)],navigation:{enabled:!0,nextEl:`.swiper-button-next.${c}`,prevEl:`.swiper-button-prev.${c}`},class:"smOnly:px-24"},{default:g(()=>[(a(!0),n(p,null,y(e.products,(i,d)=>(a(),v(t(V),{key:i.partNo},{default:g(()=>[w((a(),v(S,{key:i.partNo,product:i,"enable-quick-buy":!0,placement:e.placement,"disable-multiple-images":!0,"disable-link":e.disableLink,"high-priority":e.placement===0&&d===0},null,8,["product","placement","disable-link","high-priority"])),[[t(C),{product:i,index:d,pageName:t(r).currentStory.name,pageId:t(r).currentStory.id}]])]),_:2},1024))),128))]),_:1},8,["space-between","slides-per-view","slides-per-group","slides-offset-before","slides-offset-after","modules","navigation"])]),_:1})])):o("",!0):(a(),n("div",{key:0,class:h(["grid grid-cols-2 w-window gap-8 md:gap-x-24 md:layout-container transition-opacity duration-300 opacity-100",{"md:grid-cols-4":e.desktopColumns==="4","md:grid-cols-6":e.desktopColumns==="6"}])},[e.products.length?(a(!0),n(p,{key:0},y(e.products,(i,d)=>w((a(),v(S,{key:i.partNo,product:i,"enable-quick-buy":!0,placement:e.placement,"high-priority":t(l)&&e.placement<3||!t(l)&&e.placement<=6&&d===0},null,8,["product","placement","high-priority"])),[[t(C),{product:i,index:d,pageName:t(r).currentStory.name,pageId:t(r).currentStory.id}]])),128)):(a(!0),n(p,{key:1},y(t(f),i=>(a(),n("div",{key:i},[...m[0]||(m[0]=[s("div",{class:"w-full aspect-product bg-gray-100 animate-pulse"},null,-1),s("div",{class:"p-16 pb-24"},[s("div",{class:"h-[32px] bg-gray-100 animate-pulse rounded mb-8"}),s("div",{class:"h-[16px] w-1/2 bg-gray-100 animate-pulse rounded"})],-1)])]))),128))],2))])}}}),ie=j(Z,[["__scopeId","data-v-6ad5642e"]]);export{ie as C};

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.