PageSourceSearch

https://www.geelyauto.id/_nuxt/CVpxGaWf.js

js geelyauto.id collected 2026-10-07 12:11:34 UTC 2,772 bytes, 1 lines download raw bytes

1import{D as H,_ as M}from"./CfXyz13Y.js";import{_ as T}from"./B7aRVbD3.js";import{u as $}from"./Byx8oLKR.js";import{M as D}from"./DQbDMui9.js";import{S as O,r as S,c as P,i as U}from"./WnJdt45L.js";import{b as W,a as j,N as G,A as J}from"./BSVfxpQG.js";import{d as K,h as f,c as y,r as Q,a8 as n,a9 as r,b as d,ah as m,aa as p,u as s,F as C,at as N,ag as X,ap as Y,aq as Z,H as ee,l as B}from"./D9_Op53X.js";const ae={class:"modal-header"},se={class:"modal-hall"},te={class:"modal-picture"},oe={key:0,class:"swiper-indicator"},ne={class:"modal-info"},ve=K({__name:"ModalCard",setup(le,{expose:R}){const{breakpoint:I}=$(),o=f(),l=f(!1),E=y(()=>I.value==="desktop"?742:void 0),L=f(null),c=Q({isBeginning:!0,isEnd:!1,activeIndex:0}),V=[G,J];R({open:e=>{e&&(o.value=e,l.value=!0)}});const q=[S(P,({adapter:{renderNode:e},node:a,children:t,key:u})=>a.level===4?e("p",{key:u,class:"body3 mb-16",style:{"font-weight":500}},[...t]):e("p",{key:u,class:"h5 mb-16"},[...t])),S(U,({adapter:{renderNode:e},children:a,key:t})=>e("p",{key:t,class:"body5 mb-24 context"},[...a]))],z=({record:e,children:a,transformedMeta:t})=>{switch(e.__typename){case"LinkRecord":return B("a",{...t,href:e.url,target:"_blank"},a);case"NavigationRecord":return B("a",{...t,href:H(e.link,e.query)},a);default:return null}},g=e=>{L.value=e},A=({isBeginning:e,isEnd:a,realIndex:t})=>{c.isBeginning=e,c.isEnd=a,c.activeIndex=t},F=y(()=>{var e,a;return(((a=(e=o.value)==null?void 0:e.images)==null?void 0:a.length)??0)>1});return(e,a)=>{const t=M,u=T;return n(),r("section",null,[d(s(D),{visible:s(l),"onUpdate:visible":a[1]||(a[1]=i=>ee(l)?l.value=i:null),onSwiper:g,class:"cards-modal",width:s(E),destroyOnClose:"",centered:"",footer:null,closable:!1,maskClosable:!1,style:{top:"20px",paddingBottom:"24px"}},{title:m(()=>[p("div",ae,[d(t,{name:"modal-close-dark",style:{"font-size":"36px"},onClick:a[0]||(a[0]=i=>l.value=!1)})])]),default:m(()=>{var i,h,b,w,k,x;return[p("div",se,[p("div",te,[d(s(W),{class:"swiper",onSwiper:g,onSlideChange:A,modules:V,navigation:((h=(i=s(o))==null?void 0:i.images)==null?void 0:h.length)>1,loop:((w=(b=s(o))==null?void 0:b.images)==null?void 0:w.length)>1,"allow-touch-move":!1,centeredSlides:!0},{default:m(()=>{var _;return[(n(!0),r(C,null,N((_=s(o))==null?void 0:_.images,v=>(n(),X(s(j),null,{default:m(()=>[d(u,{class:"slide-image",data:v},null,8,["data"])]),_:2},1024))),256))]}),_:1},8,["navigation","loop"])]),s(F)?(n(),r("div",oe,[(n(!0),r(C,null,N((k=s(o))==null?void 0:k.images,(_,v)=>(n(),r("div",{class:Y(["swiper-indicator-item",{active:v===s(c).activeIndex}])},null,2))),256))])):Z("",!0)]),p("div",ne,[d(s(O),{data:(x=s(o))==null?void 0:x.text,customNodeRules:q,renderLinkToRecord:z},null,8,["data"])])]}),_:1},8,["visible","width"])])}}});export{ve as _};

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.