1import{H as e,I as t,L as n,U as r,X as i,Z as a,at as o,d as s,dt as c,f as l,i as u,k as d,m as f,y as p,z as m}from"./GyE93cLe.js";import{t as h}from"./BexbpVNc.js";import{t as g}from"./CqmsZU0Z.js";import{t as _}from"./CETuCsaG.js";import{t as v}from"./BmABgtEb.js";import{t as y}from"./C_XED19c2.js";import{n as b,t as x}from"./C1mnlUV62.js";var S={class:`sblog`},C={class:`container-fixed`},w={class:`sblog__header section__title`},T={class:`d_flex justify-content_center`},E={class:`position_relative text_center`,"data-aos":`fade-up`,"data-aos-duration":`1200`},D={class:`sblog__header-bulb position_absolute d_xl-none`},O=[`src`],k={class:`sblog__body`,"data-aos":`fade-up`,"data-aos-duration":`1200`},A={class:`sblog__slider position_relative`},j={__name:`Sblog`,async setup(j){let M,N,P=o(null),F={type:`slide`,speed:2e3,focus:`center`,arrows:!0,pagination:!1,perPage:1,perMove:1,drag:!1,updateOnMove:!0,gap:`22px`,flickMaxPages:1,breakpoints:{1140:{gap:`55px`}}},{data:I}=([M,N]=i(()=>h(`sblog-slider`,()=>_(`blogPost`).where(`hero`,`!=`,null).order(`date`,`DESC`).limit(12).all())),M=await M,N(),M);function L(){let e=document.querySelector(`.sblog__slider .splide__slide.is-active .blog-card__header`);if(window.innerWidth>1140&&e){let t=e.offsetWidth;document.querySelectorAll(`.sblog__slider .blog-card__header-img-wrapper`).forEach(e=>{e.style.width=`${t}px`})}}let R=e=>e?e.startsWith(`The monday.com Impact Series, `)?e.substring(30):e:``;return t(async()=>{window.addEventListener(`resize`,L),window.addEventListener(`orientationchange`,L),document.addEventListener(`zoom`,L),await d(),setTimeout(L,1400)}),n(()=>{window.removeEventListener(`resize`,L),window.removeEventListener(`orientationchange`,L),document.removeEventListener(`zoom`,L)}),(t,n)=>{let i=y,o=g;return m(),f(`section`,S,[s(`div`,C,[s(`div`,w,[s(`div`,T,[s(`div`,E,[s(`div`,D,[s(`img`,{src:c(v),alt:`Pencil Icon`},null,8,O)]),r(t.$slots,`heading`)])])]),s(`div`,k,[p(o,null,{default:a(()=>[s(`div`,A,[p(c(x),{ref_key:`splideRef`,ref:P,class:`splide sblog__slider-track`,options:F,"aria-label":`Blog articles`,"onSplide:move":L,"onSplide:moved":L},{default:a(()=>[(m(!0),f(u,null,e(c(I),(e,t)=>(m(),l(c(b),{key:t},{default:a(()=>[p(i,{image:e.image,imageAlt:e.imageAlt,blogPart:e.part,title:R(e.title),description:e.description,link:e.path,doc:e},null,8,[`image`,`imageAlt`,`blogPart`,`title`,`description`,`link`,`doc`])]),_:2},1024))),128))]),_:1},512)])]),_:1})])])])}}};export{j 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.