const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CrjT0ae4.js","./BQe3tx2U.js","./entry.CcUsuPTo.css","./index.fLJeW-uk.css","./CWwRN6dm.js","./DsWDAK6L.js"])))=>i.map(i=>d[i]);
import{i as Ue,g as Me,e as We,r as p,f as H,h as e,j as qe,k as re,s as Ke,l as ge,m as Pe,p as Xe,n as Qe,q as fe,v as Ae,c as D,o as _,x as ce,y as K,a as t,b as d,w as T,z as ue,A as ie,B as k,C as de,T as be,D as je,E as ee,F as Z,G as le,t as g,H as Je,I as Ze,J as et,K as tt,d as q,_ as pe,L as ot,M as Ce,N as xe,O as at,P as st,Q as Ie}from"#entry";import{_ as lt}from"./DsWDAK6L.js";import{_ as nt}from"./DSCrla1M.js";import{u as rt,E as $e,a as it,b as ct}from"./C55C_g8I.js";import{b as ze,_ as Fe,w as ut,a as dt}from"./COfxcSTK.js";import{u as ft}from"./CJbXZyQO.js";import{u as mt,E as vt,a as pt}from"./DmNwCPp5.js";import{f as ht}from"./CyOsrYVo.js";import{C as gt}from"./DedMas4Y.js";import{t as ke}from"./CyTS_0RV.js";import{E as yt}from"./DuHs4DMR.js";import{E as _t}from"./lcLncvTV.js";import"./Do5lZzCb.js";import{F as J}from"./DMrV8xxx.js";import{_ as De,a as Se}from"./B0QXv2qJ.js";import{_ as wt}from"./DlAUqK2U.js";import{u as Ee}from"./Da-ry1ed.js";import{u as bt}from"./CeoMCebT.js";import{u as Ct}from"./zQI2en4d.js";import{u as Te}from"./i_Em5ZMg.js";import"./fFxklVic.js";import"./Cvbs7TFY.js";import"./DVelNPei.js";import"./Bp3YSIOJ.js";import"./Pf81aNp_.js";import"./BN7fr1Nn.js";import"./x56Fih9j.js";import"./DLMDsZ5Z.js";import"./CRUlBoqP.js";import"./Bro-MU8y.js";import"./BdITQT5f.js";const xt=ze({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),It={change:(n,c)=>[n,c].every(Ue)},Le=Symbol("carouselContextKey"),he="ElCarouselItem",Ne=300,$t=(n,c,w)=>{const{children:u,addChild:i,removeChild:h,ChildrenSorter:N}=mt(Me(),he),E=We(),a=p(-1),b=p(null),A=p(!1),j=p(),O=p(0),I=p(!0),U=H(()=>n.arrow!=="never"&&!e(M)),G=H(()=>u.value.some(o=>o.props.label.toString().length>0)),V=H(()=>n.type==="card"),M=H(()=>n.direction==="vertical"),z=H(()=>n.height!=="auto"?{height:n.height}:{height:`${O.value}px`,overflow:"hidden"}),W=ke(o=>{S(o)},Ne,{trailing:!0}),f=ke(o=>{s(o)},Ne),m=o=>I.value?a.value<=1?o<=1:o>1:!0;function C(){b.value&&(clearInterval(b.value),b.value=null)}function $(){n.interval<=0||!n.autoplay||b.value||(b.value=setInterval(()=>F(),n.interval))}const F=()=>{a.value<u.value.length-1?a.value=a.value+1:n.loop&&(a.value=0)};function S(o){if(qe(o)){const x=u.value.filter(P=>P.props.name===o);x.length>0&&(o=u.value.indexOf(x[0]))}if(o=Number(o),Number.isNaN(o)||o!==Math.floor(o))return;const y=u.value.length,l=a.value;o<0?a.value=n.loop?y-1:0:o>=y?a.value=n.loop?0:y-1:a.value=o,l===a.value&&L(l),R()}function L(o){u.value.forEach((y,l)=>{y.translateItem(l,a.value,o)})}function v(o,y){var l,x,P,ye;const ne=e(u),_e=ne.length;if(_e===0||!o.states.inStage)return!1;const Oe=y+1,Ve=y-1,we=_e-1,He=ne[we].states.active,Re=ne[0].states.active,Ge=(x=(l=ne[Oe])==null?void 0:l.states)==null?void 0:x.active,Ye=(ye=(P=ne[Ve])==null?void 0:P.states)==null?void 0:ye.active;return y===we&&Re||Ge?"left":y===0&&He||Ye?"right":!1}function X(){A.value=!0,n.pauseOnHover&&C()}function te(){A.value=!1,$()}function oe(o){e(M)||u.value.forEach((y,l)=>{o===v(y,l)&&(y.states.hover=!0)})}function ae(){e(M)||u.value.forEach(o=>{o.states.hover=!1})}function r(o){a.value=o}function s(o){n.trigger==="hover"&&o!==a.value&&(a.value=o)}function Y(){S(a.value-1)}function B(){S(a.value+1)}function R(){C(),n.pauseOnHover||$()}function Q(o){n.height==="auto"&&(O.value=o)}function me(){var o;const y=(o=E.default)==null?void 0:o.call(E);if(!y)return null;const x=ht(y).filter(P=>Qe(P)&&P.type.name===he);return x?.length===2&&n.loop&&!V.value?(I.value=!0,x):(I.value=!1,null)}re(()=>a.value,(o,y)=>{L(y),I.value&&(o=o%2,y=y%2),y>-1&&c(gt,o,y)});const ve=H({get:()=>I.value?a.value%2:a.value,set:o=>a.value=o});re(()=>n.autoplay,o=>{o?$():C()}),re(()=>n.loop,()=>{S(a.value)}),re(()=>n.interval,()=>{R()});const se=Ke();return ge(()=>{re(()=>u.value,()=>{u.value.length>0&&S(n.initialIndex)},{immediate:!0}),se.value=ft(j.value,()=>{L()}),$()}),Pe(()=>{C(),j.value&&se.value&&se.value.stop()}),Xe(Le,{root:j,isCardType:V,isVertical:M,items:u,loop:n.loop,cardScale:n.cardScale,addItem:i,removeItem:h,setActiveItem:S,setContainerHeight:Q}),{root:j,activeIndex:a,exposeActiveIndex:ve,arrowDisplay:U,hasLabel:G,hover:A,isCardType:V,items:u,isVertical:M,containerStyle:z,isItemsTwoLength:I,handleButtonEnter:oe,handleButtonLeave:ae,handleIndicatorClick:r,handleMouseEnter:X,handleMouseLeave:te,setActiveItem:S,prev:Y,next:B,PlaceholderItem:me,isTwoLengthShow:m,ItemsSorter:N,throttledArrowClick:W,throttledIndicatorHover:f}},kt="ElCarousel",Dt=fe({name:kt}),St=fe({...Dt,props:xt,emits:It,setup(n,{expose:c,emit:w}){const u=n,{root:i,activeIndex:h,exposeActiveIndex:N,arrowDisplay:E,hasLabel:a,hover:b,isCardType:A,items:j,isVertical:O,containerStyle:I,handleButtonEnter:U,handleButtonLeave:G,handleIndicatorClick:V,handleMouseEnter:M,handleMouseLeave:z,setActiveItem:W,prev:f,next:m,PlaceholderItem:C,isTwoLengthShow:$,ItemsSorter:F,throttledArrowClick:S,throttledIndicatorHover:L}=$t(u,w),v=Ae("carousel"),{t:X}=rt(),te=H(()=>{const s=[v.b(),v.m(u.direction)];return e(A)&&s.push(v.m("card")),s}),oe=H(()=>{const s=[v.e("indicators"),v.em("indicators",u.direction)];return e(a)&&s.push(v.em("indicators","labels")),u.indicatorPosition==="outside"&&s.push(v.em("indicators","outside")),e(O)&&s.push(v.em("indicators","right")),s});function ae(s){if(!u.motionBlur)return;const Y=e(O)?`${v.namespace.value}-transitioning-vertical`:`${v.namespace.value}-transitioning`;s.currentTarget.classList.add(Y)}function r(s){if(!u.motionBlur)return;const Y=e(O)?`${v.namespace.value}-transitioning-vertical`:`${v.namespace.value}-transitioning`;s.currentTarget.classList.remove(Y)}return c({activeIndex:N,setActiveItem:W,prev:f,next:m}),(s,Y)=>(_(),D("div",{ref_key:"root",ref:i,class:k(e(te)),onMouseenter:ie(e(M),["stop"]),onMouseleave:ie(e(z),["stop"])},[e(E)?(_(),ce(be,{key:0,name:"carousel-arrow-left",persisted:""},{default:T(()=>[ue(t("button",{type:"button",class:k([e(v).e("arrow"),e(v).em("arrow","left")]),"aria-label":e(X)("el.carousel.leftArrow"),onMouseenter:B=>e(U)("left"),onMouseleave:e(G),onClick:ie(B=>e(S)(e(h)-1),["stop"])},[d(e($e),null,{default:T(()=>[d(e(it))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[de,(s.arrow==="always"||e(b))&&(u.loop||e(h)>0)]])]),_:1})):K("v-if",!0),e(E)?(_(),ce(be,{key:1,name:"carousel-arrow-right",persisted:""},{default:T(()=>[ue(t("button",{type:"button",class:k([e(v).e("arrow"),e(v).em("arrow","right")]),"aria-label":e(X)("el.carousel.rightArrow"),onMouseenter:B=>e(U)("right"),onMouseleave:e(G),onClick:ie(B=>e(S)(e(h)+1),["stop"])},[d(e($e),null,{default:T(()=>[d(e(ct))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[de,(s.arrow==="always"||e(b))&&(u.loop||e(h)<e(j).length-1)]])]),_:1})):K("v-if",!0),t("div",{class:k(e(v).e("container")),style:ee(e(I)),onTransitionstart:ae,onTransitionend:r},[d(e(C)),je(s.$slots,"default")],38),d(e(F),null,{default:T(()=>[s.indicatorPosition!=="none"?(_(),D("ul",{key:0,class:k(e(oe))},[(_(!0),D(Z,null,le(e(j),(B,R)=>ue((_(),D("li",{key:R,class:k([e(v).e("indicator"),e(v).em("indicator",s.direction),e(v).is("active",R===e(h))]),onMouseenter:Q=>e(L)(R),onClick:ie(Q=>e(V)(R),["stop"])},[t("button",{class:k(e(v).e("button")),"aria-label":e(X)("el.carousel.indicator",{index:R+1})},[e(a)?(_(),D("span",{key:0},g(B.props.label),1)):K("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[de,e($)(R)]])),128))],2)):K("v-if",!0)]),_:1}),u.motionBlur?(_(),D("svg",{key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},[t("defs",null,[t("filter",{id:"elCarouselHorizontal"},[t("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),t("filter",{id:"elCarouselVertical"},[t("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])])])):K("v-if",!0)],42,["onMouseenter","onMouseleave"]))}});var Et=Fe(St,[["__file","carousel.vue"]]);const Tt=ze({name:{type:String,default:""},label:{type:[String,Number],default:""}}),Nt=n=>{const c=Je(Le),w=Me(),u=p(),i=p(!1),h=p(0),N=p(1),E=p(!1),a=p(!1),b=p(!1),A=p(!1),{isCardType:j,isVertical:O,cardScale:I}=c;function U(f,m,C){const $=C-1,F=m-1,S=m+1,L=C/2;return m===0&&f===$?-1:m===$&&f===0?C:f<F&&m-f>=L?C+1:f>S&&f-m>=L?-2:f}function G(f,m){var C,$;const F=e(O)?((C=c.root.value)==null?void 0:C.offsetHeight)||0:(($=c.root.value)==null?void 0:$.offsetWidth)||0;return b.value?F*((2-I)*(f-m)+1)/4:f<m?-(1+I)*F/4:(3+I)*F/4}function V(f,m,C){const $=c.root.value;return $?((C?$.offsetHeight:$.offsetWidth)||0)*(f-m):0}const M=(f,m,C)=>{var $;const F=e(j),S=($=c.items.value.length)!=null?$:Number.NaN,L=f===m;!F&&!et(C)&&(A.value=L||f===C),!L&&S>2&&c.loop&&(f=U(f,m,S));const v=e(O);E.value=L,F?(b.value=Math.round(Math.abs(f-m))<=1,h.value=G(f,m),N.value=e(E)?1:I):h.value=V(f,m,v),a.value=!0,L&&u.value&&c.setContainerHeight(u.value.offsetHeight)};function z(){if(c&&e(j)){const f=c.items.value.findIndex(({uid:m})=>m===w.uid);c.setActiveItem(f)}}const W={props:n,states:Ze({hover:i,translate:h,scale:N,active:E,ready:a,inStage:b,animating:A}),uid:w.uid,getVnode:()=>w.vnode,translateItem:M};return c.addItem(W),Pe(()=>{c.removeItem(W)}),{carouselItemRef:u,active:E,animating:A,hover:i,inStage:b,isVertical:O,translate:h,isCardType:j,scale:N,ready:a,handleItemClick:z}},Mt=fe({name:he}),Pt=fe({...Mt,props:Tt,setup(n){const c=n,w=Ae("carousel"),{carouselItemRef:u,active:i,animating:h,hover:N,inStage:E,isVertical:a,translate:b,isCardType:A,scale:j,ready:O,handleItemClick:I}=Nt(c),U=H(()=>[w.e("item"),w.is("active",i.value),w.is("in-stage",E.value),w.is("hover",N.value),w.is("animating",h.value),{[w.em("item","card")]:A.value,[w.em("item","card-vertical")]:A.value&&a.value}]),G=H(()=>{const M=`${`translate${e(a)?"Y":"X"}`}(${e(b)}px)`,z=`scale(${e(j)})`;return{transform:[M,z].join(" ")}});return(V,M)=>ue((_(),D("div",{ref_key:"carouselItemRef",ref:u,class:k(e(U)),style:ee(e(G)),onClick:e(I)},[e(A)?ue((_(),D("div",{key:0,class:k(e(w).e("mask"))},null,2)),[[de,!e(i)]]):K("v-if",!0),je(V.$slots,"default")],14,["onClick"])),[[de,e(O)]])}});var Be=Fe(Pt,[["__file","carousel-item.vue"]]);const At=ut(Et,{CarouselItem:Be}),jt=dt(Be),zt={class:"video-container"},Ft=["poster"],Lt=["src"],Bt={__name:"XgPlayer.client",props:{url:{type:String,required:!0},poster:{type:String,default:""},playsinline:{type:Boolean,default:!0}},setup(n){const c=n,w=p(null),u=p(null),i=p(!1);let h=null;const N=async()=>{try{const{default:a}=await pe(async()=>{const{default:b}=await import("./CrjT0ae4.js");return{default:b}},__vite__mapDeps([0,1,2]),import.meta.url);await pe(()=>Promise.resolve({}),__vite__mapDeps([3]),import.meta.url),h=new a({el:w.value,url:c.url,poster:c.poster,fluid:!0,playsinline:c.playsinline,playbackRate:[5,4,2,1,.5]}),h.on("error",()=>{i.value=!0,h?.destroy()})}catch(a){console.error("XGPlayer 加载失败，降级到原生视频:",a),i.value=!0}},E=()=>{h?.destroy()};return ge(()=>{N()}),tt(()=>{E()}),(a,b)=>(_(),D("div",zt,[t("div",{ref_key:"playerRef",ref:w,class:"xgplayer-wrapper"},null,512),i.value?(_(),D("video",{key:0,ref_key:"fallbackVideo",ref:u,controls:"",playsinline:"","webkit-playsinline":"",poster:n.poster,class:"fallback-video"},[t("source",{src:n.url,type:"video/mp4"},null,8,Lt),b[0]||(b[0]=q(" 您的浏览器不支持视频播放 ",-1))],8,Ft)):K("",!0)]))}},Ot=wt(Bt,[["__scopeId","data-v-c9b5087c"]]),Vt=at(()=>pe(()=>import("./CWwRN6dm.js"),__vite__mapDeps([4,5,1,2]),import.meta.url).then(n=>n.default||n)),Ht={ref:"boxElement",class:"w-full"},Rt={class:"realtive text-white"},Gt={class:"absolute z-20 left-0 top-0 w-full bg-black text-white bg-opacity-30 text-xs pl-1/12 py-1.5"},Yt={class:"absolute z-10 left-0 top-0 w-full h-full flex flex-col items-center justify-center"},Ut={class:"md:px-1/12 pt-30 pb-40 flex flex-col items-center bg-[#f7f7f7]"},Wt={class:"text-9 leading-11 font-bold FST-PingFang-Heavy"},qt={class:"leading-6 text-center text-black text-opacity-50 mt-10 mb-17 px-1/6"},Kt={class:"grid grid-cols-5 gap-5 w-full",ref:"productDom"},Xt=["onMouseenter"],Qt={class:"flex flex-col items-center"},Jt={class:"color-white text-6 font-bold text-center"},Zt={class:"flex flex-col gap-3 2xl:gap-6 text-[#424242] h-full",style:{height:"calc(100% - 5rem)"}},eo={class:""},to={class:"px-4 2xl:px-9 py-4 bg-[#aa2345] flex items-center justify-center gap-4 text-white cursor-pointer transition hover:scale-110 duration-150 ease-in-out"},oo={class:"md:px-1/12 py-40 flex flex-col items-center relative"},ao={class:"text-9 leading-11 font-bold FST-PingFang-Heavy"},so={class:"leading-6 text-center text-black text-opacity-50 mt-10 mb-17 px-1/6"},lo={class:"mb-18"},no={key:0,class:"w-full grid grid-cols-6 gap-16 relative z-2"},ro={class:"w-full h-60"},io=["src"],co={class:"px-8 py-5 bg-white flex flex-col justify-between gap-6 flex-1 h-full"},uo={class:"flex flex-col gap-6"},fo={class:"flex items-center justify-end text-[#545454] gap-2"},mo={key:1,class:"w-full grid grid-cols-6 gap-16 relative z-2"},vo={class:"w-full h-60"},po=["src"],ho={class:"px-8 py-5 bg-white flex flex-col justify-between gap-6 flex-1 h-full"},go={class:"flex flex-col gap-6"},yo={class:"flex items-center justify-end text-[#545454] gap-2"},_o={key:2,class:"w-full relative z-2"},wo={class:"w-full px-9 py-4 flex items-center justify-center gap-4 border-2 border-solid border-[#B2B2B2] cursor-pointer mt-15 relative z-2 hover:bg-[#aa2345] hover:text-white hover:border-[#aa2345]"},bo={class:"w-full relative"},Co={class:"absolute left-0 top-0 w-full h-full flex flex-col items-center justify-center px-2/13"},xo={class:"text-9 leading-11 text-white font-bold lg:mb-6 2xl:mb-10 FST-PingFang-Heavy"},Io={class:"leading-6 text-white text-center lg:mb-10 2xl:mb-15 px-20"},$o={class:"px-9 py-4 bg-[#aa2345] flex items-center justify-center gap-4 text-white cursor-pointer transition hover:scale-110 duration-150 ease-in-out"},aa=fe({__name:"index",async setup(n){let c,w;const u=bt(),{t:i,locale:h}=ot(),N=p(1420);ge(()=>{N.value=window.screen.width});const{scrollToTop:E}=Ct(),a=r=>{E()},b=r=>{E(),u.set("newCenterItem",`${r.id}`,{path:"/"})},A=p(0),j=Ce("boxElement");Ee(j,r=>{const s=r[0],{width:Y}=s.contentRect;A.value=Y});const O=p([{img:"carousel1.jpg",color:{r:255,g:255,b:255},url:"",carouselDesc:i("home.carouselDesc1"),carouselEnDesc:"Focus on scientific research and inject vitality into future development."},{img:"carousel4.jpg",color:{r:255,g:255,b:255},url:"",carouselDesc:i("home.carouselDesc2"),carouselEnDesc:"Customer First, Develop High-Quality PV Encapsulation Materials"},{img:"carousel5.jpg",color:{r:255,g:255,b:255},url:"",carouselDesc:i("home.carouselDesc3"),carouselEnDesc:"Scientific Vision, Explore the Future of New Materials"},{img:"carousel2.jpg",color:{r:255,g:255,b:255},url:"",carouselDesc:i("home.carouselDesc4"),carouselEnDesc:"Becoming a World-Class Materials Supplier"}]),I=p(0),U=r=>{I.value=r},G=p(0),V=p(16),M=Ce("productDom");Ee(M,r=>{const s=r[0],{width:Y}=s.contentRect;if(G.value=Y,M.value){const R=window.getComputedStyle(M.value).columnGap,Q=parseFloat(R);V.value=Q}});const z=p("first"),W=p({first:"/newsCenter?type=company",second:"/newsCenter?type=industry",third:"/newsCenter?type=company"}),f=[{icon:"a-Group2577",name:i("common.productPhotovoltaic"),img:"productPhotovoltaic.png",descName:i("home.productPhotovoltaicDescName"),desc:[i("home.productPhotovoltaicDesc1"),i("home.productPhotovoltaicDesc2")],url:"/product?type=photovoltaic"},{icon:"dianzicailiao",name:i("common.productElectron"),img:"productElectron.png",descName:i("home.productElectronDescName"),desc:[i("home.productElectronDesc1"),i("home.productElectronDesc2")],url:"/product?type=electron"},{icon:"gongnengmocailiao",name:i("common.productFunctional"),img:"productFunctional.png",descName:i("home.productFunctionalDescName"),desc:[i("home.productFunctionalDesc1"),i("home.productFunctionalDesc2")],url:"/product?type=functional"},{icon:"qitacailiao",name:i("common.productOther"),img:"productOther.png",descName:i("home.productOtherDescName"),desc:[i("home.productOtherDesc1"),i("home.productOtherDesc2"),i("home.productOtherDesc3")],url:"/product?type=other"}],m=p(0),C=p(null),$=r=>{C.value=setTimeout(()=>{m.value=r},0)},F=()=>{C.value&&clearTimeout(C.value)},{data:S,refresh:L}=([c,w]=xe(()=>Te("/api/dashboard/newsCenter",{query:{page:1,pageSize:3,language:h.value,type:"NewsCenterCompany"}},!1)),c=await c,w(),c),{data:v,refresh:X}=([c,w]=xe(()=>Te("/api/dashboard/newsCenter",{query:{page:1,pageSize:3,language:h.value,type:"NewsCenterIndustry"}},!1)),c=await c,w(),c);L(),X();const te=H(()=>S.value?.data.list||[]),oe=H(()=>S.value?.data.total||0),ae=H(()=>v.value?.data.list||[]);return H(()=>v.value?.data.total||0),(r,s)=>{const Y=lt,B=nt,R=jt,Q=At,me=Vt,ve=yt,se=vt,o=pt,y=_t;return _(),D(Z,null,[t("div",Ht,[d(Q,{trigger:"click",arrow:"never",interval:5e3,"pause-on-hover":!1,onChange:U,style:ee({height:e(N)>768?"calc(100vh - 4rem)":"671px"})},{default:T(()=>[(_(!0),D(Z,null,le(e(O),(l,x)=>(_(),ce(R,{key:l.img,style:ee({height:e(N)>768?"calc(100vh - 4rem)":"671px"})},{default:T(()=>[t("div",Rt,[d(Y,{src:`/images/home/${l.img}`,class:"w-full h-fit",style:ee({height:e(N)>768?"calc(100vh - 4rem)":"671px"})},null,8,["src","style"]),t("div",Gt,g(r.$t("home.imgDesc")),1),t("div",Yt,[t("div",{class:k(["text-8xl font-bold mb-20 transition-all duration-700 ease-out delay-300 FST-PingFang-Heavy text-center",[e(I)==x?"translate-y-0 opacity-100":"translate-y-20 opacity-0",e(h)=="zh"?"tracking-6":""]])},g(r.$t("home.carouselTitle")),3),t("div",{class:k(["text-xl mb-7 transition-all duration-500 ease-out delay-1000",e(I)==x?"translate-y-0 opacity-100":"translate-y-20 opacity-0"])},g(l.carouselDesc),3),t("div",{class:k(["text-lg transition-all duration-500 ease-out delay-1500",e(I)==x?"translate-y-0 opacity-100":"translate-y-20 opacity-0"])},g(l.carouselEnDesc),3),d(B,{to:"/aboutUs?type=profile",onClick:s[0]||(s[0]=P=>a("grey"))},{default:T(()=>[t("div",{class:k(["px-9 py-4 bg-[#aa2345] flex items-center justify-center gap-4 text-white cursor-pointer mt-24 duration-500 ease-out delay-2000",e(I)==x?"translate-y-0 opacity-100":"translate-y-20 opacity-0"])},[q(g(r.$t("common.aboutUs")),1),d(J,{class:"fill-white",icon:"arrow-right"})],2)]),_:2},1024)])])]),_:2},1032,["style"]))),128))]),_:1},8,["style"])],512),t("div",Ut,[t("div",null,[t("div",Wt,g(r.$t("home.productCenter")),1),s[6]||(s[6]=t("div",{class:"flex justify-center gap-2 mt-5"},[t("span",{class:"h-1 w-8 bg-[#aa2345]"}),t("span",{class:"h-1 w-8 bg-[#aa2345]"})],-1))]),t("div",qt,g(r.$t("home.productCenterDesc")),1),t("div",Kt,[(_(),D(Z,null,le(f,(l,x)=>t("div",{key:l.icon,class:k(["flex bg-white cursor-pointer h-150 2xl:h-180 shrink-0",[e(m)==x?"col-span-2":""]]),onMouseenter:P=>$(x),onMouseleave:s[2]||(s[2]=P=>F())},[t("div",{class:k(["flex flex-col items-center justify-between pt-30 bg-[#262626]",[e(m)==x?"w-1/2":"w-full"]])},[t("div",Qt,[d(J,{class:"text-15 mb-6",icon:l.icon},null,8,["icon"]),t("span",Jt,g(l.name),1)]),d(me,{src:`/images/home/${l.img}`,class:"w-full h-fit",style:ee({width:`${(e(G)-e(V)*3)*(2/5)*.5+7}px`})},null,8,["src","style"])],2),t("div",{class:k([e(m)==x?"w-1/2 transition-[width] ease-linear duration-200 delay-0":"w-0","flex flex-col overflow-hidden bg-white"])},[t("div",{class:"h-full flex flex-col justify-between px-6 pb-10 pt-10 2xl:pt-15 relative",style:ee({width:`${(e(G)-e(V)*3)*(2/5)*.5}px`})},[t("div",Zt,[t("span",{class:k(["text-6 font-bold FST-PingFang-Heavy text-[#aa2345]",[e(h)=="zh"?"leading-6":""]])},g(l.name),3),t("span",{class:k(["font-bold mb-4",[e(h)=="zh"?"leading-6 2xl:leading-7":""]])},g(l.descName),3),d(ve,{height:"100%"},{default:T(()=>[t("ul",eo,[(_(!0),D(Z,null,le(l.desc,P=>(_(),D("li",{class:k(["relative before:content-['·'] before:absolute before:-left-3 before:text-6 before:text-[#D9D9D9]",[e(h)=="zh"?"leading-6 2xl:leading-7":""]]),key:P},g(P),3))),128))])]),_:2},1024)]),d(B,{to:l.url,onClick:s[1]||(s[1]=P=>a()),class:"h-15"},{default:T(()=>[t("div",to,[q(g(r.$t("common.learnMore")),1),d(J,{class:"fill-white",icon:"arrow-right"})])]),_:1},8,["to"])],4)],2)],42,Xt)),64))],512)]),t("div",oo,[t("div",null,[t("div",ao,g(r.$t("common.newsCenter")),1),s[7]||(s[7]=t("div",{class:"flex justify-center gap-2 mt-5"},[t("span",{class:"h-1 w-8 bg-[#aa2345]"}),t("span",{class:"h-1 w-8 bg-[#aa2345]"})],-1))]),t("div",so,g(r.$t("home.newsCenterDesc")),1),t("div",lo,[d(o,{modelValue:e(z),"onUpdate:modelValue":s[3]||(s[3]=l=>st(z)?z.value=l:null),class:"demo-tabs",style:{"--el-color-primary":"#000","--el-text-color-primary":"#999","--el-font-size-base":"20px"}},{default:T(()=>[d(se,{label:r.$t("common.newsCenterCompany"),name:"first"},null,8,["label"]),d(se,{label:r.$t("common.newsCenterIndustry"),name:"second"},null,8,["label"])]),_:1},8,["modelValue"])]),e(z)=="first"?(_(),D("div",no,[(_(!0),D(Z,null,le(e(te),(l,x)=>(_(),ce(B,{class:k(["flex flex-col col-span-2 transition hover:scale-110 duration-150 ease-in-out",[`col-start-${2*x+(4-e(te).length)}`]]),to:`/newsCenterDetails?type=company&newsType=NewsCenterCompany&total=${e(oe)}&news=${l.id}`,onClick:P=>b(l)},{default:T(()=>[t("div",ro,[t("img",{src:`/files/${l.coverPath}`,class:"w-full h-full object-cover",alt:""},null,8,io)]),t("div",co,[t("div",uo,[d(De,{data:l,raw:""},null,8,["data"]),d(Se,{data:l,raw:"","max-length":200},null,8,["data"])]),t("div",fo,[d(y,{style:{"--el-color-danger":"#aa2345","--el-color-danger-light-9":"#f6e9ec"},class:"mr-2",type:"danger"},{default:T(()=>[q(g(r.$t("common.newsCenterCompany")),1)]),_:1}),d(J,{icon:"rini"}),q(" "+g(e(Ie)(l.sortDate).format("YYYY-MM-DD")),1)])])]),_:2},1032,["class","to","onClick"]))),256))])):e(z)=="second"?(_(),D("div",mo,[(_(!0),D(Z,null,le(e(ae),(l,x)=>(_(),ce(B,{class:k(["flex flex-col col-span-2 transition hover:scale-110 duration-150 ease-in-out",[`col-start-${2*x+(4-e(ae).length)}`]]),to:`/newsCenterDetails?type=industry&newsType=NewsCenterIndustry&total=${e(oe)}&news=${l.id}`,onClick:P=>b(l)},{default:T(()=>[t("div",vo,[t("img",{src:`/files/${l.coverPath}`,class:"w-full h-full object-cover",alt:""},null,8,po)]),t("div",ho,[t("div",go,[d(De,{data:l,raw:""},null,8,["data"]),d(Se,{data:l,raw:""},null,8,["data"])]),t("div",yo,[d(y,{style:{"--el-color-danger":"#aa2345","--el-color-danger-light-9":"#f6e9ec"},class:"mr-2",type:"danger"},{default:T(()=>[q(g(r.$t("common.newsCenterIndustry")),1)]),_:1}),d(J,{icon:"rini"}),q(" "+g(e(Ie)(l.sortDate).format("YYYY-MM-DD")),1)])])]),_:2},1032,["class","to","onClick"]))),256))])):e(z)=="third"?(_(),D("div",_o,[d(Ot,{url:"/images/xuanchuan.mp4",poster:"/images/sustainableDevelopment.png"})])):K("",!0),d(B,{to:e(W)[e(z)],onClick:s[4]||(s[4]=l=>a())},{default:T(()=>[t("div",wo,[q(g(r.$t("common.learnMore")),1),d(J,{icon:"arrow-right"})])]),_:1},8,["to"]),s[8]||(s[8]=t("div",{class:"w-full h-2/5 bg-[#f7f7f7] absolute left-0 bottom-0"},null,-1))]),t("div",bo,[d(me,{src:"/images/home/develop.jpg",class:"w-full h-fit"}),t("div",Co,[t("div",xo,g(r.$t("common.develop")),1),t("div",Io,[t("div",null,g(r.$t("home.developDesc1")),1),t("div",null,g(r.$t("home.developDesc2")),1),t("div",null,g(r.$t("home.developDesc3")),1),t("div",null,g(r.$t("home.developDesc4")),1)]),d(B,{to:"/develop",onClick:s[5]||(s[5]=l=>a())},{default:T(()=>[t("div",$o,[q(g(r.$t("common.learnMore")),1),d(J,{class:"fill-white",icon:"arrow-right"})])]),_:1})])])],64)}}});export{aa as default};
