PageSourceSearch

https://www.nanointeractive.com/_nuxt/-ZWq5ylU.js

js nanointeractive.com collected 2026-10-01 12:31:26 UTC 2,733 bytes, 1 lines download raw bytes

1import k from"./D77lR7i6.js";import B from"./C2UTQ6iQ.js";import S from"./B3Tg54oe.js";import{_ as V,m as x,v as M,o,d as l,p as c,i as u,f as m,G as N,t as P,g as w,F as C,r as L,y as A,x as h,z,k as n,e as v}from"./CmEY7I1Z.js";import"./Dn8--vea.js";import"./BVA0Yfko.js";import"./BjUWEmzT.js";const H={key:0,class:"carousel-card"},$={class:"container"},D={key:0,class:"container"},E={__name:"CarouselCard",props:{heading:{type:String,default:""},items:{type:Array,required:!0,validator:e=>Array.isArray(e)},slidesPerView:{type:Number,default:3},spaceBetween:{type:Number,default:24},loop:{type:Boolean,default:!1},showDots:{type:Boolean,default:!1},showArrows:{type:Boolean,default:!1},bleedMode:{type:String,default:"bleed-right",validator:e=>["contained","bleed-right","bleed-both"].includes(e)},centeredSlides:{type:Boolean,default:!1},initialSlide:{type:Number,default:0}},setup(e){const s=e,d=z(1280);x(()=>{d.value=window.innerWidth;const t=()=>{d.value=window.innerWidth};window.addEventListener("resize",t),M(()=>window.removeEventListener("resize",t))});const g=n(()=>d.value>=1024?s.slidesPerView:d.value>=768?Math.min(s.slidesPerView,2):1),f=n(()=>i.value.length<=g.value),p=n(()=>({"--grid-gap":`${s.spaceBetween}px`,"--item-count":i.value.length,"--cols-sm":1,"--cols-md":Math.min(2,Math.ceil(s.slidesPerView)),"--cols-lg":Math.ceil(s.slidesPerView)})),i=n(()=>(s.items||[]).filter(t=>t.cardHeading||t.heading||t.image?.url||t.video?.url));return(t,G)=>{const y=k,r=B,_=S;return i.value.length?(o(),l("section",H,[c("div",$,[e.heading?(o(),u(y,{key:0,level:2,class:"mb-8 md:mb-12"},{default:m(()=>[N(P(e.heading),1)]),_:1})):w("",!0)]),f.value?(o(),l("div",D,[c("div",{class:"carousel-card__static-grid",style:A(p.value)},[(o(!0),l(C,null,L(i.value,(a,b)=>(o(),l("div",{key:b,class:"carousel-card__static-cell"},[h(t.$slots,"card",{item:a},()=>[v(r,{image:a.image,video:a.video,heading:a.cardHeading,body:a.cardBody,"cta-label":a.ctaLabel,"cta-link":a.ctaLink},null,8,["image","video","heading","body","cta-label","cta-link"])],!0)]))),128))],4)])):(o(),u(_,{key:1,items:i.value,"slides-per-view":e.slidesPerView,"space-between":e.spaceBetween,loop:e.loop,"bleed-mode":e.bleedMode,"centered-slides":e.centeredSlides,"initial-slide":e.initialSlide,"show-dots":e.showDots,"show-arrows":e.showArrows},{slide:m(({item:a})=>[h(t.$slots,"card",{item:a},()=>[v(r,{image:a.image,video:a.video,heading:a.cardHeading,body:a.cardBody,"cta-link":a.ctaLink},null,8,["image","video","heading","body","cta-link"])],!0)]),_:3},8,["items","slides-per-view","space-between","loop","bleed-mode","centered-slides","initial-slide","show-dots","show-arrows"]))])):w("",!0)}}},J=V(E,[["__scopeId","data-v-7f3949f1"]]);export{J 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.