PageSourceSearch

https://www.clinique.com/cdn/shop/t/82/assets/comparison-table.kfKW_qCa.min.js

js clinique.com collected 2026-09-24 08:58:40 UTC 1,740 bytes, 1 lines download raw bytes

1const e=new WeakSet;function t(e,t){return Math.max(t.clientWidth-function(e){const t=e.querySelector(".comparison-table__corner, .comparison-row__label"),o=(null==t?void 0:t.getBoundingClientRect().width)??0;return o>2?o:0}(e),1)}function o(e,o,r){const n=window.matchMedia("(prefers-reduced-motion: reduce)").matches,l=o.scrollWidth-o.clientWidth,c=o.scrollLeft+r*t(e,o);o.scrollTo({left:Math.min(Math.max(c,0),l),behavior:n?"auto":"smooth"})}function r(r){var n;null==(n=r.querySelectorAll)||n.call(r,"[data-comparison-table]").forEach(r=>{r instanceof HTMLElement&&function(r){var n,l;if(e.has(r))return;const c=function(e){const t=e.querySelector(".comparison-table__scroll");return t?{scroll:t,prev:e.querySelector("[data-carousel-prev]"),next:e.querySelector("[data-carousel-next]"),counter:e.querySelector("[data-page-counter]")}:null}(r);if(!c)return;e.add(r);const a=()=>requestAnimationFrame(()=>function(e,o){const{scroll:r,prev:n,next:l,counter:c}=o,a=r.scrollWidth-r.clientWidth,s=a<=2;if(s?e.setAttribute("data-comparison-fits",""):e.removeAttribute("data-comparison-fits"),n&&(n.disabled=r.scrollLeft<=2),l&&(l.disabled=r.scrollLeft>=a-2),c){const o=t(e,r),n=s?1:Math.ceil(a/o)+1;let l=1;s||(l=r.scrollLeft>=a-2?n:Math.min(Math.round(r.scrollLeft/o)+1,n)),c.textContent=`${l} / ${n}`}}(r,c));null==(n=c.prev)||n.addEventListener("click",()=>o(r,c.scroll,-1)),null==(l=c.next)||l.addEventListener("click",()=>o(r,c.scroll,1)),c.scroll.addEventListener("scroll",a,{passive:!0});const s=new ResizeObserver(a);s.observe(c.scroll);const i=c.scroll.querySelector(".comparison-table__table");i&&s.observe(i),a()}(r)})}r(document),document.addEventListener("shopify:section:load",e=>{e.target instanceof HTMLElement&&r(e.target)});

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.