PageSourceSearch

https://precoro.com/build/js/sections.grid-cards.DDZamIoa.js

js precoro.com collected 2026-09-24 08:54:29 UTC 2,040 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/swiper.CMUSlw1O.js","js/utils.DcUlYB3x.js","js/index.tTU0WRHM.js"])))=>i.map(i=>d[i]);
2import{g as n,_ as m}from"./app.qQtaN1au.js";const E=async s=>{const c=s.querySelectorAll(".swiper-slide");if(c.forEach(e=>{const i=e.querySelector(".js-show-more");i&&i.addEventListener("click",o=>{const t=o.currentTarget.closest(".swiper-slide"),p=t.querySelector(".js-image"),r=t.querySelector(".js-text");t.classList.contains("opened")?(t.classList.remove("opened"),n.to(r,{height:window.innerWidth>=1024?96:60,onComplete:()=>{n.to(p,{height:"auto"}),r.classList.remove("line-clamp-none!")}})):(c.forEach(a=>{if(a.classList.contains("opened")){const f=a.querySelector(".js-image"),h=a.querySelector(".js-text");a.classList.remove("opened"),n.to(h,{height:window.innerWidth>=1024?96:60,onComplete:()=>{n.to(f,{height:"auto"}),h.classList.remove("line-clamp-none!")}})}}),t.classList.add("opened"),r.classList.add("line-clamp-none!"),n.to(p,{height:0,onComplete:()=>n.to(r,{height:`${r.scrollHeight}px`})}))})}),window.innerWidth>=768)return;const w=(await m(async()=>{const{Swiper:e}=await import("./swiper.CMUSlw1O.js");return{Swiper:e}},__vite__mapDeps([0,1]))).Swiper,{Navigation:g,Mousewheel:y,FreeMode:S}=await m(async()=>{const{Navigation:e,Mousewheel:i,FreeMode:o}=await import("./index.tTU0WRHM.js");return{Navigation:e,Mousewheel:i,FreeMode:o}},__vite__mapDeps([2,1])),d=()=>new w(s.querySelector(".swiper"),{modules:[g,y,S],slidesPerView:1,speed:500,threshold:5,freeMode:{enabled:!0,sticky:!0,momentumRatio:.7,momentumVelocityRatio:1},mousewheel:{forceToAxis:!0},navigation:{nextEl:s.querySelector("[data-next]"),prevEl:s.querySelector("[data-prev]")}});let l=d(),u=window.innerWidth;const v=(e,i=200)=>{let o;return function(...t){clearTimeout(o),o=setTimeout(()=>e.apply(this,t),i)}};window.addEventListener("resize",v(()=>{const e=window.innerWidth;e!==u&&(u=e,l&&l.destroy(),e<768&&(l=d()))},250))};export{E as init};
3//# sourceMappingURL=sections.grid-cards.DDZamIoa.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.