PageSourceSearch

https://www.flexispot.com/assets/js/chunk-components-carousel-index-601c40977422122589d5.js

js flexispot.com collected 2026-09-25 02:38:27 UTC 4,024 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4074],{2304:(function(z,L,a){a.r(L);var e=a(67294),I=a(90706),C=a(56359),K=a(64812),S=a(38845),x=a(46498),H=a(66518),$=a(85843);function W(c){const{onClick:l,type:s,arrowObj:o={}}=c,m={width:`${o.size||36}px`,height:`${o.size||36}px`,backgroundColor:o.bgColor||"rgba(0, 0, 0, 0.2)"};return s==="left"&&o.left?m.left=`${o.left}px`:s==="right"&&o.right&&(m.right=`${o.right}px`),e.createElement("div",{className:`eve-carousel-icon-wrap ${s}`,onClick:l,style:m},e.createElement(K.Z,{className:"eve-carousel-icon",type:`icon-${s}`,style:{color:o.color||"#fff"}}))}const N=(0,e.memo)(W);function Z({isFirstScreen:c=!1,disableTransform:l,data:s=[],otherProps:o}){const{isMobile:m,autoplaySpeed:f=0,innerHeight:u=400,target:A=!1,arrows:v,className:E,heightAdapting:g,adaptingHeight:n,_DESIGN_MODE_:M,arrowObj:_={}}=o||{},d=!!g;return e.createElement(I.Z,{className:`${E} ${M?"disign-mode":""}`,adaptiveHeight:d,dots:{className:"dots"},infinite:!0,draggable:!1,autoplay:!0,autoplaySpeed:f,arrows:v,prevArrow:e.createElement(N,{type:"left",arrowObj:_}),nextArrow:e.createElement(N,{type:"right",arrowObj:_}),useTransform:!l},s.length&&s.map(({src:r,link:h,gifUrl:i,gifTop:P,gifRight:b,videoUrl:p,_altText:w},y)=>e.createElement("div",{key:y,style:{width:"100%",height:d?n:`${u}px`,display:"block"},className:h?"pointer":"default",onClick:()=>{h&&window.open(h,A?"_blank":"_self")}},e.createElement("div",{style:{position:"relative"}},p?e.createElement("div",null,d?e.createElement("iframe",{allowfullscreen:!0,style:{width:"100%",height:n,border:"none"},src:p,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"}):e.createElement("iframe",{allowfullscreen:!0,width:"100%",height:u,style:{border:"none"},src:p,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"})):e.createElement("div",null,d?e.createElement(C.Z,{lazyLoad:!c||y!==0,className:"eve-carousel-adapting-image",src:r,style:{width:"100%",height:n},wrapperStyle:{width:"100%",height:n},alt:w}):e.createElement(C.Z,{lazyLoad:!0,className:"eve-carousel-image",src:r!=null?r:S,height:u,alt:w})),(i==null?void 0:i.src)&&e.createElement("div",{style:{position:"absolute",top:P||0,right:b||0}},e.createElement(C.Z,{src:i==null?void 0:i.src}))))))}const R=(0,e.memo)(Z);L.default=(c=>{const{_DESIGN_MODE_:l}=c,{mobileHeight:s=334,height:o=400,time:m=1.5,target:f=!0,carousel:u,mCarousel:A,heightAdapting:v,pcAspectRatio:E="650/1420",mobileAspectRatio:g="325/375",isFirstScreen:n=!1,arrowObj:M={},dotsBottom:_}=c.designContext,{currentBreakpoint:d}=(0,x.Z)(),r=d===H.cL.sm,h=m*1e3,i=r?s||334:o||400,P=(A||[]).filter(t=>(t==null?void 0:t.src)||(t==null?void 0:t.link)),b=(u||[]).filter(t=>(t==null?void 0:t.src)||(t==null?void 0:t.link)),[p,w]=(0,e.useState)(!1),y=(0,e.useRef)(),B=(0,e.useMemo)(()=>{if(r){const[O,T]=g.split("/");return g&&O&&T?`${(100*O/T).toFixed()}vw`:void 0}const[t,D]=E.split("/");return E&&t&&D?`${(100*t/D).toFixed()}vw`:void 0},[E,g,r]);(0,e.useEffect)(()=>{const t=$.j&&window.navigator.userAgent||"",D=/iPhone/i.test(t)&&window.screen.width===390,O=/CriOS/i.test(t);D&&O&&w(!0)},[]);const[j,U]=(0,e.useReducer)(t=>t+1,0);return(0,e.useEffect)(()=>{U()},[]),e.createElement("div",{className:`common-eve-carousel ${l?"in-design":""}`,ref:y,key:`${$.j?"browser":"server"}-${j}-${r}`,style:{"--dotsBottom":_?`${_}px`:"40px"}},r?e.createElement(R,{isFirstScreen:n,disableTransform:p,data:P,otherProps:{isMobile:r,autoplaySpeed:h,innerHeight:i,target:f,arrows:!1,className:`eve-carousel m-eve-carousel ${p?"disable-transform":""}`,heightAdapting:v,adaptingHeight:B,_DESIGN_MODE_:l}}):e.createElement(R,{isFirstScreen:n,data:b,otherProps:{isMobile:r,autoplaySpeed:h,innerHeight:i,target:f,arrows:!0,className:"eve-carousel p-eve-carousel",heightAdapting:v,adaptingHeight:B,_DESIGN_MODE_:l,carousel:u,arrowObj:M}}))})})}]);

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.