PageSourceSearch

https://www.candlescience.com/_nuxt/BwfRy4ks2.js

js candlescience.com collected 2026-10-02 03:09:21 UTC 1,918 bytes, 1 lines download raw bytes

1import{B as e,Gt as t,Jt as n,L as r,N as i,W as a,_t as o,at as s,d as c,p as l,u,v as d,x as f,y as p}from"./BY-DJIbu.js";import{t as m}from"./BDNMzG2s.js";import{t as h}from"./C-MYh6iZ2.js";import{t as g}from"./Cmk0zDQB2.js";var _={class:`sr-only`},v=Object.assign(f({__name:`index`,props:{visible:{type:Boolean},type:{},atText:{}},setup(r){return(i,a)=>(e(),l(`button`,{class:t([`flex h-9 w-9 cursor-pointer items-center justify-center rounded-full border-0 bg-white/80 text-onyx-500 shadow backdrop-blur-sm transition-opacity duration-200`,r.visible?`opacity-100`:`pointer-events-none opacity-0`])},[u(`span`,_,n(r.atText||`Scroll ${r.type}`),1),a[0]||=d(),p(h,{class:`h-6 w-6`,icon:`chevron-${r.type}`},null,8,[`icon`])],2))}}),{__name:`CsDsScrollButton`}),y={class:`product-slider-container`},b={class:`product-slider`},x={class:`product-slider-wrap`},S={class:`scroller-outer`},C={class:`scroll-button-pos scroll-button-pos--left`},w={class:`scroll-button-pos scroll-button-pos--right`},T=Object.assign(m(f({__name:`index`,setup(t){let n=o(null),l=o(!0),f=o(!1),m=o(0);function h(){let e=n.value;e&&(l.value=e.scrollLeft<=0,f.value=e.scrollLeft+e.clientWidth>=e.scrollWidth-1)}function _(){let e=n.value;e&&(e.scrollLeft-=m.value-20)}function T(){let e=n.value;e&&(e.scrollLeft+=m.value+20)}let E=null;return r(()=>{let e=n.value;e&&(h(),E=new ResizeObserver(()=>{m.value=e.clientWidth,h()}),E.observe(e))}),i(()=>E?.disconnect()),(t,r)=>(e(),c(g,{"padding-top":!1},{default:s(()=>[u(`div`,y,[u(`div`,b,[u(`div`,x,[u(`div`,S,[u(`div`,{ref_key:`scroller`,ref:n,class:`scroller`,onScroll:h},[a(t.$slots,`default`,{},void 0,!0)],544)]),r[0]||=d(),u(`div`,C,[p(v,{onClick:_,visible:!l.value,type:`left`},null,8,[`visible`])]),r[1]||=d(),u(`div`,w,[p(v,{onClick:T,visible:!f.value,type:`right`},null,8,[`visible`])])])])])]),_:3}))}}
1),[[`__scopeId`,`data-v-ee43973c`]]),{__name:`CsDsProductSlider`});export{T as t};

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.