PageSourceSearch

https://www.sooters.ro/_nuxt/CmsElMainSlider.D9peLz62.js

js sooters.ro collected 2026-10-08 12:35:28 UTC 3,664 bytes, 1 lines download raw bytes

1import{_ as x}from"./UiImage.eqTLjDYG.js";import{ck as M,ch as I,cf as B}from"./entry.BqLZxx_8.js";import{k,j as A,M as i,Q as p,y as b,O as g,F as T,W as z,u as o,N as m,a1 as L,aj as f,U as N,V as d,$ as H,a0 as U,an as E,ao as V,ak as j,al as D}from"./swiper-vue.BOMw0qp1.js";import{_ as O}from"./SwSwiperControls.D67uVcnO.js";import{u as P}from"./useImageSettings.BExlMOYk.js";import{u as $}from"./useDevice.DwUz4wHJ.js";import{c as F}from"./cmsConfigMapper.B4B0JkR7.js";import{c as w}from"./cmsImageMapper.BImW2SWL.js";import"./nuxt-img.twVPM3ZI.js";import"./client-only.CL_e6S3a.js";import"./ElementWidthProvider.CSBHfx04.js";import"./BlockWidthProvider.D9GpaXKa.js";import"./getCmsComponent.Dyro5Qae.js";import"./useLazyImageBlock.CdUjhtWN.js";const Q=_=>{const a=k(()=>F(_)),{isMobileOrTablet:l}=$(),r=n=>{const u=n.isCustomButton.value?{textColor:n.buttonTextColor.value,buttonColor:n.buttonColor.value}:void 0;return{text:n.buttonText.value,type:n.buttonType.value,isCustom:u}},s=k(()=>{const n=l?a.value.general.sliderRwdHeight:a.value.general.sliderHeight,u={horizontal:{left:"flex-start",center:"center",right:"flex-end"}[a.value.layout.horizontalAlign],spacing:{none:"0",small:"1.2rem",standard:"2.4rem",large:"4rem"}[a.value.layout.spacing],vertical:{top:"flex-start",center:"center",bottom:"flex-end"}[a.value.layout.verticalAlign]},v=a.value.general.autoplay&&{delay:a.value.general.autoplayInterval,disableOnInteraction:!0},h={clickable:!0,enabled:a.value.general.dotNav},y=a.value.slides.map(e=>{const c=w(e.image),t=w(e.rwdImage);return{id:e.id,link:e.link.value?e.link.value:void 0,component:e.link.value&&!e.isButton?M:"div",imageUrl:l&&t.url?t.url:c.url,imageAlt:l&&t.alt?t.alt:c.alt,header:e.headerIsActive.value?e.header.value:!1,description:e.descriptionIsActive.value?e.description.value:!1,button:e.isButton?r(e):void 0}}).filter(e=>!!e.imageUrl);return{height:n,slides:y,layout:u,autoplay:v,pagination:h}});return{config:a,sliderConfig:s}},R={class:"CmsElMainSlider"},W=["innerHTML"],q=["innerHTML"],G=A({__name:"CmsElMainSlider",props:{content:{}},setup(_){const a=_,{config:l,sliderConfig:r}=Q(a.content),s=P();return(n,u)=>{const v=x,h=I,y=j,e=O,c=D;return i(),p("div",R,[b(c,{class:"swiper-css__container",modules:["SwiperAutoplay"in n?n.SwiperAutoplay:o(E),"SwiperPagination"in n?n.SwiperPagination:o(V)],"slides-per-view":1,loop:!0,pagination:o(r).pagination,height:o(r).height,autoplay:o(r).autoplay},{default:g(()=>[(i(!0),p(T,null,z(o(r).slides,t=>(i(),m(y,{class:"swiper-css__slide",key:t.id},{default:g(()=>[(i(),m(L(t.component),{to:t.link,style:f({height:`${o(r).height}px`})},{default:g(()=>{var C,S;return[b(v,{loading:o(s).imgLoadingStrategy,placeholder:o(s).imgLoadingStrategy==="lazy",height:o(r).height,"object-fit":"cover",src:t.imageUrl,alt:t.imageAlt,sizes:o(s).sizes},null,8,["loading","placeholder","height","src","alt","sizes"]),N("div",{class:"slideContent",style:f({justifyContent:o(r).layout.vertical,alignItems:o(r).layout.horizontal,padding:o(r).layout.spacing})},[t.header?(i(),p("div",{key:0,innerHTML:t.header},null,8,W)):d("",!0),t.description?(i(),p("div",{key:1,innerHTML:t.description},null,8,q)):d("",!0),t.button?(i(),m(h,{key:2,link:t.link,style:f(t.button.isCustom?{background:(C=t.button.isCustom)==null?void 0:C.buttonColor,color:(S=t.button.isCustom)==null?void 0:S.textColor}:{})},{default:g(()=>[H(U(t.button.text),1)]),_:2},1032,["link","style"])):d("",!0)],4)]}),_:2},1032,["to","style"]))]),_:2},1024))),128)),o(l).general.arrowNav?(i(),m(e,{key:0})):d("",!0)]),_:1},8,["modules","pagination","height","autoplay"])])}}}),ut=B(G,[["__scopeId","data-v-a83ec887"]]);export{ut 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.