PageSourceSearch

https://statics.piclumen.com/app-1790217403140/_nuxt/BnvjPaWy.js

js piclumen.com collected 2026-09-24 09:47:12 UTC 5,310 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DfdV3KbE.js","./CmUz1GCm.js","./swiper.B_eW0lLV.css"])))=>i.map(i=>d[i]);
2import{_ as e}from"./pyVxiBLO.js";import{f as t,aw as l,T as s}from"./DCCPWw9Y.js";import{N as r,R as a}from"./Bx1xfRBz.js";import{_ as o}from"./BoOLQUuV.js";import{_ as i}from"./eV3Qz6hV.js";import{w as n,l as c,f as u,r as d,H as p,c as m,o as v,g as x,a as f,aI as w,aV as h,e as _,d as g,P as y,S as b,J as k,V as j,N as S,s as O,X as T,O as z}from"./CmUz1GCm.js";import"./DTLJGphe.js";const A={class:"relative min-h-60 group/show-item"},I={key:0,class:"flex gap-4 overflow-hidden"},P={class:"mt-3 text-sm xs:text-base font-medium text-text-2 line-clamp-2"},E={class:"mt-3 text-sm xs:text-base font-medium text-text-2 line-clamp-2"},R={class:"arrow w-12 h-12 bg-fill-dw-10 backdrop-blur-lg rounded-full flex justify-center items-center cursor-pointer"},U={class:"arrow w-12 h-12 bg-fill-dw-10 backdrop-blur-lg rounded-full flex justify-center items-center cursor-pointer"},V={__name:"NewSOTAModels",props:{title:String,icon:Object,list:Array},setup(V){const $=V;let C=null,N=!1;const D=d(null),L=O(null),M=O(null),q=O(null),B=d(!1);let F=null;const H=c((()=>e=>{const{href:t}=e;return s(t,{source_from:"home_sota_banner"})})),J=d(!0),W=d(!0),X=c((()=>$.list?.length?$.list.map((e=>(e=>{const{title:t,description:l,coverUrl:s,realUrl:r}=e;return{...e,name:t,description:l,result:r,cover:s,isRaw:!0}})(e))):[])),Y=c((()=>X.value.length)),G=c((()=>Y.value>1)),K=c((()=>{const e=X.value;if(!e.length)return[];if(1===e.length)return e.map(((e,t)=>({...e,_key:`0-${t}`})));return Array.from({length:3},((t,l)=>e.map(((e,t)=>({...e,_key:`${l}-${t}`}))))).flat()})),Q=c((()=>`${Y.value}-${$.list?.map((e=>e.id)).join(",")??""}`)),Z=c((()=>({slidesPerView:"auto",spaceBetween:16,speed:500,loop:!1,grabCursor:!0,watchOverflow:!0,observer:!1,observeParents:!1,resizeObserver:!1,updateOnWindowResize:!0,autoplay:!!G.value&&{delay:5e3,disableOnInteraction:!1},modules:q.value?[q.value]:[]}))),ee=()=>C&&!N&&!C.destroyed,te=()=>{ee()&&C.slideNext()},le=()=>{ee()&&C.slidePrev()},se=e=>{C=e;const t=Y.value;t>1&&e.slideTo(t,0,!1)},re=e=>{const t=Y.value;if(t<=1)return;const{activeIndex:l}=e;let s=null;l>=2*t?s=l-t:l<t&&(s=l+t),null!==s&&(N=!0,e.slideTo(s,0,!1),requestAnimationFrame((()=>{N=!1})))};n(Q,(()=>{C=null,N=!1}));const ae=async()=>{if(B.value)return;const[{Swiper:t,SwiperSlide:l},{Autoplay:s}]=await Promise.all([e((()=>import("./DfdV3KbE.js").then((e=>e.s))),__vite__mapDeps([0,1,2]),import.meta.url),e((()=>import("./DfdV3KbE.js").then((e=>e.i))),__vite__mapDeps([0,1,2]),import.meta.url),e((()=>import("./DfdV3KbE.js").then((e=>e.b))),__vite__mapDeps([0,1,2]),import.meta.url)]);L.value=t,M.value=l,q.value=s,B.value=!0};return u((()=>{if(!D.value)return void ae();const e=new IntersectionObserver((t=>{t.some((e=>e.isIntersecting))&&(ae(),e.disconnect())}),{rootMargin:"200px 0px"});e.observe(D.value),F=e})),p((()=>{F?.disconnect(),F=null})),(e,s)=>{const n=t,c=l,u=r,d=a;return v(),m("section",{ref_key:"sectionRef",ref:D,class:"p-4 xs:p-6 flex flex-col gap-4 overflow-hidden relative max-w-[1720px] w-full mx-auto"},[x(o,w(h($)),null,16),f("div",A,[g(B)?_("",!0):(v(),m("div",I,[(v(!0),m(y,null,b(g(X),((e,t)=>(v(),m("div",{key:t,class:"shrink-0 !w-[80%] md:!w-[66%] lg:!w-[55%] xl:!w-[calc(50%-16px)] 2xl:!w-[44%] 3xl:!w-[38%] 4xl:!w-[calc(33%-10px)] h-60 xs:h-[362px]"},[x(n,{to:g(H)(e),target:2===e.linkType?"_blank":"_self",class:"slider overflow-hidden relative z-10"},{default:k((()=>[x(i,{class:"w-full aspect-video object-cover transition-all duration-200 rounded-2xl",videoSrc:e?.realUrl,poster:e?.coverUrl,"alt-text":"","video-title":"","video-description":"",autoplay:!1,preload:"none",muted:!0,loop:!0,"lazy-load":!0}
2,null,8,["videoSrc","poster"]),f("div",P,j(e.title),1)])),_:2},1032,["to","target"])])))),128))])),x(c,null,{default:k((()=>[g(B)&&g(L)&&g(K).length?(v(),S(T(g(L)),z({key:g(Q)},g(Z),{class:"sota-models-swiper",onSwiper:se,onSlideChangeTransitionEnd:re}),{default:k((()=>[(v(!0),m(y,null,b(g(K),(e=>(v(),S(T(g(M)),{key:e._key,class:"!w-[80%] md:!w-[66%] lg:!w-[55%] xl:!w-[calc(50%-16px)] 2xl:!w-[44%] 3xl:!w-[38%] 4xl:!w-[calc(33%-10px)] h-60 xs:h-[362px]"},{default:k((()=>[x(n,{to:g(H)(e),target:2===e.linkType?"_blank":"_self",class:"slider overflow-hidden relative z-10"},{default:k((()=>[x(i,{class:"w-full aspect-video object-cover transition-all duration-200 rounded-2xl",videoSrc:e?.realUrl,poster:e?.coverUrl,"alt-text":"","video-title":"","video-description":"",autoplay:!1,preload:"none",muted:!0,loop:!0,"lazy-load":!0},null,8,["videoSrc","poster"]),f("div",E,j(e.title),1)])),_:2},1032,["to","target"])])),_:2},1024)))),128))])),_:1},16)):_("",!0)])),_:1}),g(J)&&g(G)?(v(),m("div",{key:1,class:"opacity-0 group-hover/show-item:opacity-100 z-20 absolute arrow-bg-left left-0 bottom-6 px-4 h-60 xs:h-[362px] hidden xs:flex justify-center items-center",onClick:le},[f("div",R,[x(u,{class:"w-6 h-6 text-text-1"})])])):_("",!0),g(W)&&g(G)?(v(),m("div",{key:2,class:"opacity-0 group-hover/show-item:opacity-100 z-20 absolute arrow-bg-right right-0 bottom-6 px-4 h-60 xs:h-[362px] hidden xs:flex justify-center items-center",onClick:te},[f("div",U,[x(d,{class:"w-6 h-6 text-text-1"})])])):_("",!0)])],512)}}};export{V 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.