1"use strict";(self.webpackChunkwinshop=self.webpackChunkwinshop||[]).push([[7451],{507451:(e,t,n)=>{n.r(t),n.d(t,{newsSplide:()=>W});var i=n(898595),r=n.n(i),o=30,c=new Map,a=new Map,l=null;function d(e){return e.replace("Splide","")}function u(e,t){return"".concat(d(e),"-").concat(t)}function s(e,t){return"".concat(d(e)).concat(t)}function f(e){return Array.from(e.querySelectorAll(".splide__slide")).filter(function(e){return!e.classList.contains("splide__slide--clone")})}function g(e){var t=f(e).length,n=window.innerWidth;return!(t<function(){var e=window.innerWidth;return e<=575?1:e<=992?3:2}())&&(n<=575||function(e){var t=f(e);return t.reduce(function(e,n,i){return e+n.getBoundingClientRect().width+(i===t.length-1?0:o)},0)}(e)>function(e){var t=e.closest(".tab-pane"),n=e.closest(".newsListCol"),i=e.closest(".newsListContent");return t&&t.clientWidth?t.clientWidth:n&&n.clientWidth?n.clientWidth:i&&i.clientWidth?i.clientWidth:e.clientWidth}(e))}function m(e,t){var n=e.querySelector(".splide__list");e.classList.toggle("is-static",t),n&&(t?n.style.setProperty("transform","translateX(0px)","important"):n.style.removeProperty("transform"))}function v(){c.forEach(function(e,t){e&&a.set(t,e.index);var n=document.getElementById(u(t,"prev")),i=document.getElementById(u(t,"next"));n&&(n.onclick=null),i&&(i.onclick=null),e.destroy(!0)}),c.clear()}function p(e){var t=e.id;if(t){!function(e){var t=c.get(e);t&&a.set(e,t.index);var n=document.getElementById(u(e,"prev")),i=document.getElementById(u(e,"next"));n&&(n.onclick=null),i&&(i.onclick=null),t&&(t.destroy(!0),c.delete(e))}(t);var n=g(e);m(e,!n);var i=new(r())("#".concat(t),function(e){var t=g(e);return{type:"slide",gap:o,perMove:1,pagination:!1,arrows:!1,drag:t,rewind:!0,perPage:1,fixedWidth:"450px",lazyLoad:"nearby",speed:600,clones:t?void 0:0,breakpoints:{992:{drag:t},991:{fixedWidth:0,perPage:2},575:{fixedWidth:0,perPage:1,drag:t}}}}(e));i.mount(),c.set(t,i),function(e){var t=document.getElementById(u(e,"prev")),n=document.getElementById(u(e,"next"));t&&(t.onclick=function(){var t=c.get(e);t&&t.go("<")}),n&&(n.onclick=function(){var t=c.get(e);if(t){var n=document.getElementById(e),i=n?f(n):[],r=i[i.length-1];r&&r.classList.contains("is-visible")?t.go(0):t.go(">")}})}(t),function(e,t){var n=document.getElementById(e);if(n){var i=n.parentElement.querySelector(".customArrowsArea");i&&(i.style.display=t?"":"none")}}(t,n),n||(m(e,!0),function(e){var t=document.getElementById(s(e,"CurrentPage")),n=document.getElementById(s(e,"TotalPage")),i=document.getElementById(e),r=i?f(i).length:0;t&&(t.textContent=r>0?"01":"00"),n&&(n.textContent=r<10?"0".concat(r):"".concat(r))}(t))}}function w(e){e&&e.querySelectorAll(".splide[id]").forEach(p)}function y(){var e=document.querySelector(".newsListContent .tab-pane.active");e&&w(e)}function h(e){var t=e.target.getAttribute("href");if(t){var n=document.querySelector(t);n&&(v(),w(n))}}var E=window.innerWidth;function B(){var e=window.innerWidth;e!==E&&(E=e,window.clearTimeout(l),l=window.setTimeout(function(){v(),y()},200))}function W(){document.querySelector(".newsArea")&&(document.querySelectorAll(".newsNavList .nav-link").forEach(function(e){e.dataset.newsTabBound||($(e).on("shown.bs.tab",h),e.dataset.newsTabBound="true")}),window.addEventListener("resize",B),y())}}}]);
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.