1import{S as c,A as d,N as u}from"./swiper-DJSo96hm.js";import{P as p}from"./pagination-Co-SdclC.js";function g(){function a(){const n=document.querySelector(".intranet-home-news .intranet-home-news__slider .swiper");n&&new c(n,{modules:[d,p,u],direction:"horizontal",loop:!0,autoplay:!1,slidesPerView:1,spaceBetween:30,pagination:{el:".intranet-home-news .intranet-home-news__slider .swiper-pagination",type:"bullets",clickable:!1,renderBullet:(e,t)=>` 2 <span class="${t} w-full h-[2px] bg-gray-light [&.swiper-pagination-bullet-active]:bg-primary transition-colors"> 3 <span class="sr-only">Slide ${e+1}</span> 4 </span> 5 `},navigation:{nextEl:".intranet-home-news .intranet-home-news__slider .swiper-button-next",prevEl:".intranet-home-news .intranet-home-news__slider .swiper-button-prev"},breakpoints:{768:{slidesPerView:2}}})}function o(){const n=document.querySelectorAll(".intranet-home-news__events .add-to-calendar");n.length&&n.forEach(e=>{const t=e.querySelector(".calendar-icon"),s=e.querySelector(".calendar-cta"),r=e.querySelector(".fa-calendar-plus"),l=e.querySelector(".fa-xmark");!t||!s||t.addEventListener("click",()=>{const i=s.classList.contains("hidden");s.classList.toggle("hidden",!i),s.classList.toggle("block",i),r.classList.toggle("hidden",i),l.classList.toggle("hidden",!i),t.setAttribute("aria-expanded",i?"true":"false")})})}a(),o()}export{g 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.