import Te from"./eNdXpQwH.js";import{d as qe,a as ze,b as Pe,ad as oe,e as g,f as Se,w as Le,c as i,a4 as e,$ as h,ae as b,a8 as r,ak as se,_ as P,ah as M,u as a,af as I,ag as Ne,aj as S,a2 as L,a5 as H,al as Ve,l as C,ai as je,o as n,a6 as A,aq as ae}from"./DINJ4NqB.js";import{_ as Me}from"./BOUV_QDM.js";import{_ as He,a as Ae,b as Be,c as Re,d as Ue}from"./CKepqiFw.js";import{_ as Fe}from"./DoOoYcOa.js";import{_ as De}from"./BCuGH__6.js";import{r as Ee,a as Ke}from"./bp1HLG3E.js";import{a as Oe,i as Ge,u as Je,b as re,L as Qe,c as Xe,_ as Ye}from"./Cw10yt2r.js";import{u as We}from"./DXvG1q6K.js";import{s as Ze}from"./ReGpERB8.js";import{u as B}from"./Is_7ybn1.js";import{u as et,a as R,b as tt}from"./CnTd85f_.js";import{A as ot,L as st}from"./-tSWNs99.js";import"./BQHNewu7.js";import"./BXzo-atK.js";import"./DZ6PF7WB.js";import"./44NoomrI.js";const at={class:"min-h-screen bg-white font-sans text-slate-800 pb-24 selection:bg-brand-dark selection:text-white"},rt={class:"relative w-full h-[350px] sm:h-[400px] md:h-[450px] flex items-center justify-center bg-brand-deep pb-8 overflow-hidden"},nt={class:"container mx-auto relative z-2 text-white text-center sm:text-left"},lt=["innerHTML"],it=["innerHTML"],dt={class:"container mx-auto"},ut={class:"mx-auto text-center mb-12"},ct={class:"flex justify-center mb-5"},pt={class:"inline-flex items-center gap-3 px-5 py-2 rounded-full bg-white border border-slate-200/60 shadow-[0_4px_16px_rgba(0,0,0,0.03)]"},mt={class:"text-[11px] font-bold tracking-[0.2em] text-slate-500 uppercase"},gt={class:"text-[10px] font-bold text-brand-main"},ht=["innerHTML"],bt={class:"text-slate-500 text-sm sm:text-base font-normal leading-relaxed max-w-xl mx-auto"},vt={class:"grid grid-cols-1 md:grid-cols-3 gap-4 max-w-4xl mx-auto"},xt=["onClick"],ft={class:"mb-3 flex items-center gap-3 relative z-10"},yt={class:"relative shrink-0 inline-flex h-9 w-9 items-center justify-center rounded-xl bg-gradient-to-br from-slate-50 to-slate-100 border border-slate-200/50 text-slate-500 transition-all duration-500 ease-out group-hover:from-brand-main group-hover:to-brand-dark group-hover:text-white group-hover:border-transparent group-hover:shadow-[0_4px_12px_rgba(15,49,85,0.2)]"},_t={class:"text-[14px] font-semibold tracking-tight text-slate-800 transition-colors duration-500 ease-out group-hover:text-brand-dark"},wt={class:"flex-grow relative z-10 pl-[48px]"},kt={class:"text-[12px] leading-[1.5] text-slate-500 font-light mb-3 transition-colors duration-500 ease-out group-hover:text-slate-600 line-clamp-2"},Ct={class:"absolute bottom-4 right-4 opacity-0 -translate-x-2 transition-all duration-500 ease-out group-hover:opacity-100 group-hover:translate-x-0"},$t={class:"flex items-center justify-center w-6 h-6 rounded-full bg-brand-main/5 text-brand-main"},It={class:"container mx-auto space-y-24 pt-16"},Tt={class:"flex flex-col md:flex-row justify-between items-end mb-10 gap-6"},qt={class:"flex items-center gap-3 mb-3"},zt={class:"text-[10px] font-bold tracking-[0.3em] text-brand-main/60 uppercase"},Pt={class:"text-2xl sm:text-3xl font-extralight text-slate-900 tracking-tight leading-tight"},St={class:"text-slate-400 mt-3 text-sm font-light max-w-lg leading-relaxed"},Lt={class:"relative w-full md:w-[380px] group z-10 shrink-0"},Nt={class:"absolute inset-y-0 left-0 pl-5 flex items-center pointer-events-none"},Vt=["placeholder"],jt={class:"mb-8 space-y-8"},Mt={class:"grid grid-cols-2 sm:grid-cols-4 md:grid-cols-4 lg:grid-cols-6 gap-3"},Ht=["onClick"],At={class:"flex items-center gap-3"},Bt={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-5"},Rt={class:"rounded-[14px] border border-slate-100 bg-white group-hover:bg-slate-50 flex items-center justify-center mb-5 relative overflow-hidden transition-colors aspect-video"},Ut={key:1,class:"text-slate-200 group-hover:text-brand-light transition-colors"},Ft={class:"flex-grow px-1"},Dt={class:"flex items-center gap-2 mb-2.5"},Et={class:"inline-flex items-center px-2 py-0.5 rounded-full border border-brand-light/30 bg-brand-light/10 text-brand-dark text-[10px] font-medium tracking-wide"},Kt={class:"text-[10px] text-slate-400 font-light tracking-wide"},Ot={class:"text-[14px] font-medium text-slate-900 mb-5 leading-[1.4] tracking-tight group-hover:text-brand-dark transition-colors line-clamp-2"},Gt={class:"mt-auto flex items-stretch gap-2"},Jt=["onClick"],Qt={class:"relative z-10 whitespace-nowrap"},Xt=["onClick"],Yt={class:"tracking-wide whitespace-nowrap"},Wt={class:"pb-24",id:"contact-us"},Zt={class:"relative rounded-[32px] overflow-hidden bg-white border border-slate-200/60 shadow-[0_20px_40px_-10px_rgba(0,0,0,0.05)]"},eo={class:"relative z-10 py-8 px-6 md:px-10 lg:p-10"},to={class:"grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-10"},oo={class:"lg:col-span-4 flex flex-col justify-center"},so={class:"space-y-4 mb-8"},ao=["innerHTML"],ro={class:"text-slate-500 font-light leading-relaxed text-sm max-w-sm"},no={class:"space-y-4"},lo={class:"flex items-center gap-4 text-slate-600 group cursor-pointer"},io={key:0,class:"font-medium text-base transition-all duration-500 ease-out group-hover:text-brand-main group-hover:translate-x-1"},uo={key:1,class:"font-medium text-base transition-all duration-500 ease-out group-hover:text-brand-main group-hover:translate-x-1"},co={key:0,class:"flex items-center gap-4 text-slate-600 group cursor-pointer"},po={class:"flex items-center gap-4 text-slate-600 group cursor-pointer"},mo={key:0,class:"font-medium text-base transition-all duration-500 ease-out group-hover:text-brand-main group-hover:translate-x-1"},go={key:1,class:"font-medium text-base transition-all duration-500 ease-out group-hover:text-brand-main group-hover:translate-x-1"},ho={class:"lg:col-span-8"},bo={class:"grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-4"},vo={class:"space-y-1.5"},xo={class:"text-sm font-medium text-slate-700 px-1"},fo=["placeholder"],yo={class:"space-y-1.5"},_o={class:"text-sm font-medium text-slate-700 px-1"},wo=["placeholder"],ko={class:"space-y-1.5"},Co={class:"text-sm font-medium text-slate-700 px-1"},$o=["placeholder"],Io={class:"space-y-1.5"},To={class:"text-sm font-medium text-slate-700 px-1"},qo=["placeholder"],zo={class:"space-y-1.5 md:col-span-2"},Po={class:"text-sm font-medium text-slate-700 px-1"},So=["placeholder"],Lo={class:"pt-4 flex justify-end"},No={class:"relative z-10"},Q=6,Vo=qe({__name:"support",async setup(jo){let _,N;const X=We(),d=Oe(),U=Ge(),{locale:V,t:l,tm:ne,rt:le}=Je(),ie=Xe(),de=C(()=>[{icon:"ph:sparkle-fill",label:l("support.ai.feature1.title"),type:"Product Discovery",description:l("support.ai.feature1.desc"),tip:l("support.ai.feature1.btn")},{icon:"ph:chat-circle-dots-fill",label:l("support.ai.feature2.title"),type:"Product Inquiry",description:l("support.ai.feature2.desc"),tip:l("support.ai.feature2.btn")},{icon:"ph:book-open-fill",label:l("support.ai.feature3.title"),type:"Manual Inquiry",description:l("support.ai.feature3.desc"),tip:l("support.ai.feature3.btn")}]),Y=C(()=>{const o=ne("support.ai.thinking");return Array.isArray(o)?o.map(t=>typeof t=="string"?t:le(t)):[]}),W=g(0);let F=null;ze(()=>{F=Ze(()=>{Y.value.length&&(W.value=(W.value+1)%Y.value.length)},3e3)}),Pe(()=>{F&&clearInterval(F)});const w=g("all"),{data:ue,pending:Mo,error:Ho}=([_,N]=oe(()=>B("/v1/category/read/tree-by-biz-type",{method:"GET",query:{bizType:2}})),_=await _,N(),_),D=g([{id:"all",name:l("common.all"),code:null}]);D.value=D.value.concat(ue.value?.data)||[];const y=C(()=>{const o=Number(d.query.page||1);return Number.isFinite(o)&&o>0?o:1}),T=g({list:[],total:0}),E=g(null),K=g(null),ce=g("all"),pe=g("all"),v=Se({pageNo:y.value,pageSize:Q,categoryId:null,name:null,type:null});function q({page:o=y.value,categoryId:t=E.value,subCategoryId:u=K.value,type:x=w.value,keyword:m=v.name}={}){const f={};return o>1&&(f.page=String(o)),t&&(f.category=String(t)),u&&(f.subCategory=String(u)),x&&x!=="all"&&(f.type=x),m?.trim()&&(f.keyword=m.trim()),f}function Z(o){const t=new URLSearchParams(q({page:o})).toString();return`${d.path}${t?`?${t}`:""}`}async function me(){const{data:o}=await B("/v1/resource/read/page",{method:"GET",query:{...v}});T.value=o.value?.data||{list:[],total:0}}Le(()=>[d.query.page,d.query.category,d.query.subCategory,d.query.type,d.query.keyword],async()=>{const o=Number(d.query.category),t=Number(d.query.subCategory),u=Number.isFinite(o)&&o>0?o:null,x=Number.isFinite(t)&&t>0?t:null,m=typeof d.query.type=="string"?d.query.type:"all",f=typeof d.query.keyword=="string"?d.query.keyword.trim():"";E.value=u,K.value=x,ce.value=u?String(u):"all",pe.value=x?String(x):"all",w.value=m,v.pageNo=y.value,v.categoryId=m==="all"?null:m||null,v.name=f||null,v.type=m==="all"?null:m,await me()},{immediate:!0});const ee=C(()=>Math.max(1,Math.ceil((T.value?.total||0)/Q))),O=C(()=>R(d.path,ie.public.siteUrl,d.path,q())),ge=C(()=>y.value>1||E.value!==null||K.value!==null||w.value&&w.value!=="all"||!!v.name?.trim());re({link:()=>{const o=[];return y.value>1&&o.push({rel:"prev",href:R(Z(y.value-1))}),y.value<ee.value&&o.push({rel:"next",href:R(Z(y.value+1))}),o}});const G=async o=>{o<1||o>ee.value||y.value===o||(await U.push({query:q({page:o})}),document.getElementById("support-resources")?.scrollIntoView({behavior:"smooth"}))},he=async o=>{const t=w.value===o&&o!=="all"?"all":o;await U.push({query:q({page:1,type:t})})},be=o=>{if(!o)return"ic:baseline-folder";const t=o.toLowerCase();return t.includes("manual")||t.includes("说明书")?"ic:baseline-menu-book":t.includes("wiring")||t.includes("接线图")?"ic:baseline-account-tree":t.includes("software")||t.includes("软件")?"ic:baseline-terminal":t.includes("app")||t.includes("应用")?"ic:baseline-smartphone":t.includes("protocol")||t.includes("协议")?"ic:baseline-settings-input-component":"ic:baseline-more-horiz"},ve=async()=>{await U.push({query:q({page:1,keyword:v.name})})},xe=o=>{window.open(o.url,"_blank")},fe=o=>{X.passParams("Manual Inquiry",[o])},ye=o=>{X.passParams(o,[])},c=g({clientName:"",email:"",content:"",country:"",phone:""}),te=g(),j=g(!1),_e=async o=>{if(o.preventDefault(),te.value.checkValidity()){j.value=!0;const{data:t,pending:u,error:x}=await B("/v1/messages/create",{method:"POST",body:{...c.value,products:null,type:1}});j.value=!1,t.value.code===0?(ae(l("contact.success"),{description:l("contact.successTips")}),c.value={clientName:"",email:"",content:"",country:"",phone:""}):ae(l("contact.error"),{description:t.value.msg})}},{data:$,pending:Ao,error:Bo}=([_,N]=oe(()=>B("/v1/seo-tdk/read/info-by-url",{query:{url:Ee(d.path,V.value),bizType:11},default:null,transform:o=>o.data||null})),_=await _,N(),_);return et({title:()=>$.value?.title,fallbackTitle:()=>l("support.title"),description:()=>$.value?.description,fallbackDescription:()=>l("support.desc"),keywords:()=>$.value?.keyword,ogImage:()=>$.value?.images?.[0]?.url||"",canonical:O,robots:()=>tt(!ge.value,!0)}),re({script:[{type:"application/ld+json",innerHTML:C(()=>JSON.stringify({"@context":"https://schema.org","@type":"CollectionPage",name:$.value?.title||l("support.title"),description:$.value?.description||l("support.desc"),url:O.value}))},{type:"application/ld+json",innerHTML:C(()=>JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:l("layout.nav.home"),item:R("/")},{"@type":"ListItem",position:2,name:l("support.title"),item:O.value}]}))}]}),(o,t)=>{const u=Te,x=Me,m=Be,f=Re,we=Ue,ke=Ae,Ce=He,$e=De,Ie=Fe,z=je("slide-in");return n(),i("div",at,[e("section",rt,[h(Qe,{material:"aurora"}),b((n(),i("div",nt,[e("h1",{class:"text-2xl sm:text-3xl md:text-4xl font-bold mb-3 text-white tracking-tight",innerHTML:o.$t("support.title")},null,8,lt),e("p",{class:"text-xs sm:text-sm text-white/70 font-light max-w-xl mx-auto sm:mx-0 leading-relaxed",innerHTML:o.$t("support.desc")},null,8,it)])),[[z]])]),e("section",{class:"relative z-2 -mt-20 rounded-t-[40px] bg-[#fbfbfd] px-6 py-12 sm:py-16 overflow-hidden",onMousemove:t[0]||(t[0]=s=>{const k=s.currentTarget.getBoundingClientRect(),p=s.clientX-k.left,J=s.clientY-k.top;s.currentTarget.style.setProperty("--mouse-x",`${p}px`),s.currentTarget.style.setProperty("--mouse-y",`${J}px`)})},[t[17]||(t[17]=e("div",{class:"absolute inset-0 -z-10 pointer-events-none"},[e("div",{class:"absolute top-0 left-1/2 -translate-x-1/2 w-full h-[800px] bg-[radial-gradient(ellipse_at_top,rgba(255,255,255,1)_0%,transparent_100%)]"}),e("div",{class:"absolute inset-0 opacity-[0.02]",style:{"background-image":"radial-gradient(#094b78 0.5px, transparent 0.5px)","background-size":"24px 24px"}})],-1)),e("div",dt,[e("div",ut,[b((n(),i("div",ct,[e("div",pt,[t[14]||(t[14]=e("span",{class:"relative flex h-2 w-2"},[e("span",{class:"animate-ping absolute inline-flex h-full w-full rounded-full bg-brand-main opacity-75"}),e("span",{class:"relative inline-flex rounded-full h-2 w-2 bg-brand-main"})],-1)),e("span",mt,r(o.$t("support.ai.tag")),1),t[15]||(t[15]=e("div",{class:"w-[1px] h-4 bg-slate-200"},null,-1)),e("span",gt,r(o.$t("support.ai.liveStatus")),1)])])),[[z]]),b(e("h2",{class:"text-3xl sm:text-4xl font-medium text-slate-900 tracking-tight leading-tight mb-4",innerHTML:o.$t("support.ai.title")},null,8,ht),[[z]]),b((n(),i("p",bt,[se(r(o.$t("support.ai.desc")),1)])),[[z]])]),e("div",vt,[(n(!0),i(P,null,M(a(de),(s,k)=>b((n(),i("div",{key:s.type,onClick:p=>ye(s.type),class:"group relative cursor-pointer flex flex-col p-4 rounded-[16px] bg-white border border-slate-100/80 transition-all duration-500 ease-out hover:-translate-y-1 hover:border-brand-main/30 hover:shadow-[0_12px_24px_-8px_rgba(134,197,231,0.25)] overflow-hidden"},[t[16]||(t[16]=e("div",{class:"absolute -right-6 -top-6 w-20 h-20 bg-brand-light/5 rounded-full blur-xl transition-all duration-500 group-hover:bg-gradient-to-br group-hover:from-brand-main/10 group-hover:to-brand-light/10 group-hover:scale-150"},null,-1)),e("div",ft,[e("div",yt,[h(u,{name:s.icon,mode:"svg",class:"h-4.5 w-4.5 transition-transform duration-500 ease-out group-hover:scale-110"},null,8,["name"])]),e("h3",_t,r(s.label),1)]),e("div",wt,[e("p",kt,r(s.description),1)]),e("div",Ct,[e("div",$t,[h(a(ot),{class:"h-3 w-3"})])])],8,xt)),[[z]])),128))])])],32),e("main",It,[e("section",null,[e("div",Tt,[e("div",null,[e("div",qt,[t[18]||(t[18]=e("div",{class:"w-8 h-[1px] bg-brand-main/40"},null,-1)),e("span",zt,r(o.$t("support.download.title")),1)]),e("h2",Pt,r(o.$t("support.download.title")),1),e("p",St,r(o.$t("support.download.desc")),1)]),e("div",Lt,[e("div",Nt,[h(u,{name:"ic:baseline-search",mode:"svg",class:"h-5 w-5 text-slate-300 group-focus-within:text-brand-main transition-colors"})]),b(e("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=s=>a(v).name=s),onKeyup:Ne(ve,["enter"]),class:"block w-full pl-12 pr-6 py-4 bg-white border border-slate-100 rounded-2xl leading-5 placeholder-slate-300 focus:outline-none focus:ring-4 focus:ring-brand-main/5 focus:border-brand-main/20 shadow-[0_8px_20px_rgba(0,0,0,0.02)] transition duration-500 ease-in-out text-sm font-light hover:border-slate-200",placeholder:o.$t("common.searchTip")},null,40,Vt),[[I,a(v).name]])])]),e("div",jt,[e("div",Mt,[(n(!0),i(P,null,M(a(D),s=>(n(),i("button",{key:s.id,onClick:k=>he(s.id),class:A(["group relative px-4 py-3 rounded-2xl border transition-all duration-500 hover:-translate-y-0.5 hover:shadow-[0_8px_20px_rgba(134,197,231,0.1)] cursor-pointer overflow-hidden",[a(w)==s.id?"border-brand-main bg-white shadow-[0_4px_16px_rgba(134,197,231,0.06)]":"border-slate-100 bg-[#fcfcfd] hover:border-brand-light/40 hover:bg-white"]])},[e("div",At,[e("div",{class:A(["inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg transition-all duration-500",[a(w)==s.id?"bg-brand-light/20 text-brand-dark":"bg-slate-100 text-slate-400 group-hover:bg-brand-light/20 group-hover:text-brand-dark"]])},[h(u,{name:be(s.code),mode:"svg",class:"h-4 w-4"},null,8,["name"])],2),e("h3",{class:A(["text-[13px] font-medium leading-snug tracking-tight transition-colors line-clamp-2 text-left",[a(w)==s.id?"text-brand-dark":"text-slate-600 group-hover:text-brand-dark"]])},r(s.name),3)])],10,Ht))),128))]),S("",!0)]),e("div",Bt,[(n(!0),i(P,null,M(a(T)?.list||[],(s,k)=>(n(),i("div",{key:k,class:"group bg-[#fcfcfd] rounded-[20px] p-4 border border-slate-100 min-w-[240px] shadow-[0_0_1px_rgba(0,0,0,0.05),0_1px_3px_rgba(0,0,0,0.1),0_12px_24px_-8px_rgba(0,0,0,0.05)] hover:shadow-[0_0_1px_rgba(0,0,0,0.1),0_8px_16px_-4px_rgba(0,0,0,0.08),0_20px_40px_-12px_rgba(0,0,0,0.12)] hover:-translate-y-1 transition-all duration-500 flex flex-col"},[e("div",Rt,[s.coverImageUrl?(n(),L(x,{key:0,src:s.coverImageUrl,alt:s.coverImageAlt,class:"w-full h-full object-contain mix-blend-multiply group-hover:scale-105 transition-transform duration-700",format:"webp",loading:"lazy"},null,8,["src","alt"])):(n(),i("div",Ut,[...t[19]||(t[19]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[e("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),e("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),e("polyline",{points:"21 15 16 10 5 21"})],-1)])])),t[20]||(t[20]=e("div",{class:"absolute inset-0 bg-gradient-to-tr from-brand-main/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"},null,-1))]),e("div",Ft,[e("div",Dt,[e("span",Et,r(s.categoryName),1),e("span",Kt,r(("formatFileSize"in o?o.formatFileSize:a(Ke))(s.size)),1)]),e("h4",Ot,r(s.name),1)]),e("div",Gt,[e("button",{onClick:p=>xe(s),class:"relative min-w-0 basis-0 flex-[1.2] px-2.5 flex items-center justify-center gap-1.5 bg-gradient-to-br from-brand-deep to-brand-dark text-white text-[13px] font-medium py-2.5 rounded-full shadow-sm hover:shadow-md hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-500 ease-out cursor-pointer group/btn overflow-hidden"},[t[21]||(t[21]=e("div",{class:"absolute inset-0 bg-gradient-to-tr from-white/10 to-transparent opacity-0 group-hover/btn:opacity-100 transition-opacity duration-500"},null,-1)),h(u,{name:"ic:baseline-download",mode:"svg",class:"relative z-10 h-3.5 w-3.5"}),e("span",Qt,r(o.$t("common.download")),1)],8,Jt),s.isParsed?(n(),i("button",{key:0,onClick:p=>fe(s),class:"min-w-0 basis-0 flex-1 px-2.5 flex items-center justify-center gap-1.5 bg-gradient-to-b from-brand-light/10 to-brand-light/5 border border-brand-light/30 text-brand-dark text-[13px] font-medium py-2.5 rounded-full hover:border-brand-main/50 hover:bg-brand-light/20 hover:shadow-sm hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-500 ease-out cursor-pointer group/ai"},[h(u,{name:"ph:sparkle-fill",mode:"svg",class:"h-3.5 w-3.5 text-brand-main/70 group-hover:ai:scale-110 transition-transform duration-500"}),e("span",Yt,r(o.$t("common.askAi")),1)],8,Xt)):S("",!0)])]))),128))]),a(T)?.list?.length>0?(n(),L(Ce,{key:0,class:"mt-12","items-per-page":Q,total:a(T)?.total,"default-page":1},{default:H(({page:s})=>[h(ke,null,{default:H(({items:k})=>[h(m,{onClick:p=>G(s-1)},null,8,["onClick"]),(n(!0),i(P,null,M(k,(p,J)=>(n(),i(P,{key:J},[p.type==="page"?(n(),L(f,{key:0,class:A(["text-brand-dark font-bold hover:text-primary",[p.value===s?"bg-brand-light/30 text-brand-deep shadow-xs":"bg-white"]]),value:p.value,onClick:Ro=>G(p.value)},{default:H(()=>[se(r(p.value),1)]),_:2},1032,["class","value","onClick"])):S("",!0)],64))),128)),h(we,{onClick:p=>G(s+1)},null,8,["onClick"])]),_:2},1024)]),_:1},8,["total"])):(n(),L($e,{key:1}))]),e("section",Wt,[e("div",Zt,[t[28]||(t[28]=e("div",{class:"absolute top-0 right-0 w-[500px] h-[500px] bg-brand-light/5 rounded-full blur-[80px] pointer-events-none"},null,-1)),t[29]||(t[29]=e("div",{class:"absolute bottom-0 left-0 w-[400px] h-[400px] bg-brand-main/5 rounded-full blur-[80px] pointer-events-none"},null,-1)),e("div",eo,[e("div",to,[e("div",oo,[e("div",so,[e("h2",{class:"text-3xl sm:text-4xl font-semibold text-slate-900 tracking-tight",innerHTML:o.$t("contact.slogan")},null,8,ao),e("p",ro,r(o.$t("contact.desc")),1)]),e("div",no,[e("div",lo,[t[22]||(t[22]=e("div",{class:"w-10 h-10 rounded-xl bg-slate-50 border border-slate-100 flex items-center justify-center group-hover:bg-brand-main group-hover:border-brand-main group-hover:shadow-md group-hover:text-white group-hover:-translate-y-0.5 transition-all duration-500 ease-out"},[e("svg",{class:"w-4 h-4 transition-transform duration-500 ease-out group-hover:scale-110",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"})])],-1)),a(V)==="zh-CN"?(n(),i("div",io,r("李先生: +86 13302810530"))):(n(),i("div",uo,r("+86 13336402066")))]),a(V)==="zh-CN"?(n(),i("div",co,[...t[23]||(t[23]=[e("div",{class:"w-10 h-10 rounded-xl bg-slate-50 border border-slate-100 flex items-center justify-center group-hover:bg-brand-main group-hover:border-brand-main group-hover:shadow-md group-hover:text-white group-hover:-translate-y-0.5 transition-all duration-500 ease-out"},[e("svg",{class:"w-4 h-4 transition-transform duration-500 ease-out group-hover:scale-110",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"})])],-1),e("div",{class:"font-medium text-base transition-all duration-500 ease-out group-hover:text-brand-main group-hover:translate-x-1"},r("龙先生: +86 13318313419"),-1)])])):S("",!0),e("div",po,[t[26]||(t[26]=e("div",{class:"w-10 h-10 rounded-xl bg-slate-50 border border-slate-100 flex items-center justify-center group-hover:bg-brand-main group-hover:border-brand-main group-hover:shadow-md group-hover:text-white group-hover:-translate-y-0.5 transition-all duration-500 ease-out"},[e("svg",{class:"w-4 h-4 transition-transform duration-500 ease-out group-hover:scale-110",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),e("polyline",{points:"22,6 12,13 2,6"})])],-1)),a(V)==="zh-CN"?(n(),i("span",mo,[...t[24]||(t[24]=[e("a",{href:"mailto:chico@chico-future.com"},"chico@chico-future.com",-1)])])):(n(),i("span",go,[...t[25]||(t[25]=[e("a",{href:"mailto:contact@chico-future.com"},"contact@chico-future.com",-1)])]))])])]),e("div",ho,[e("form",{ref_key:"messageFormRef",ref:te,class:"space-y-4",onSubmit:Ve(_e,["prevent"])},[e("div",bo,[e("div",vo,[e("label",xo,r(o.$t("contact.name.label")),1),b(e("input",{type:"text","onUpdate:modelValue":t[4]||(t[4]=s=>a(c).clientName=s),required:"",title:"",oninput:"setCustomValidity('')",placeholder:o.$t("contact.name.placeholder"),onInvalid:t[5]||(t[5]=s=>{s.target.setCustomValidity(o.$t("contact.name.error"))}),class:"w-full bg-slate-50 border border-slate-200 rounded-xl px-4 py-2.5 text-slate-900 placeholder-slate-400 focus:outline-none focus:ring-4 focus:ring-brand-main/10 focus:border-brand-main/30 focus:bg-white transition-all duration-500 ease-out hover:bg-white hover:border-slate-300 hover:shadow-sm text-sm"},null,40,fo),[[I,a(c).clientName]])]),e("div",yo,[e("label",_o,r(o.$t("contact.address.label")),1),b(e("input",{"onUpdate:modelValue":t[6]||(t[6]=s=>a(c).country=s),required:"",title:"",oninput:"setCustomValidity('')",placeholder:o.$t("contact.address.placeholder"),onInvalid:t[7]||(t[7]=s=>{s.target.setCustomValidity(o.$t("contact.address.error"))}),class:"w-full bg-slate-50 border border-slate-200 rounded-xl px-4 py-2.5 text-slate-900 placeholder-slate-400 focus:outline-none focus:ring-4 focus:ring-brand-main/10 focus:border-brand-main/30 focus:bg-white transition-all duration-500 ease-out hover:bg-white hover:border-slate-300 hover:shadow-sm text-sm"},null,40,wo),[[I,a(c).country]])]),e("div",ko,[e("label",Co,r(o.$t("contact.email.label")),1),b(e("input",{"onUpdate:modelValue":t[8]||(t[8]=s=>a(c).email=s),required:"",title:"",oninput:"setCustomValidity('')",placeholder:o.$t("contact.email.placeholder"),type:"email",onInvalid:t[9]||(t[9]=s=>{s.target.setCustomValidity(o.$t("contact.email.error"))}),class:"w-full bg-slate-50 border border-slate-200 rounded-xl px-4 py-2.5 text-slate-900 placeholder-slate-400 focus:outline-none focus:ring-4 focus:ring-brand-main/10 focus:border-brand-main/30 focus:bg-white transition-all duration-500 ease-out hover:bg-white hover:border-slate-300 hover:shadow-sm text-sm"},null,40,$o),[[I,a(c).email]])]),e("div",Io,[e("label",To,r(o.$t("contact.phone.label")),1),b(e("input",{"onUpdate:modelValue":t[10]||(t[10]=s=>a(c).phone=s),required:"",title:"",oninput:"setCustomValidity('')",placeholder:o.$t("contact.phone.placeholder"),onInvalid:t[11]||(t[11]=s=>{s.target.setCustomValidity(o.$t("contact.phone.error"))}),class:"w-full bg-slate-50 border border-slate-200 rounded-xl px-4 py-2.5 text-slate-900 placeholder-slate-400 focus:outline-none focus:ring-4 focus:ring-brand-main/10 focus:border-brand-main/30 focus:bg-white transition-all duration-500 ease-out hover:bg-white hover:border-slate-300 hover:shadow-sm text-sm"},null,40,qo),[[I,a(c).phone]])]),e("div",zo,[e("label",Po,r(o.$t("contact.message.label")),1),b(e("textarea",{"onUpdate:modelValue":t[12]||(t[12]=s=>a(c).content=s),required:"",title:"",oninput:"setCustomValidity('')",placeholder:o.$t("contact.message.placeholder"),onInvalid:t[13]||(t[13]=s=>{s.target.setCustomValidity(o.$t("contact.message.error"))}),rows:"3",class:"w-full bg-slate-50 border border-slate-200 rounded-xl px-4 py-3 text-slate-900 placeholder-slate-400 focus:outline-none focus:ring-4 focus:ring-brand-main/10 focus:border-brand-main/30 focus:bg-white transition-all duration-500 ease-out hover:bg-white hover:border-slate-300 hover:shadow-sm text-sm resize-y min-h-[80px]",style:{"transition-property":"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform"}},null,40,So),[[I,a(c).content]])])]),e("div",Lo,[h(Ie,{disabled:a(j),class:"group/submit relative cursor-pointer h-11 px-8 rounded-full bg-brand-deep text-white text-sm font-medium shadow-sm hover:shadow-[0_8px_24px_rgba(9,75,120,0.2)] hover:-translate-y-0.5 active:scale-[0.98] transition-all duration-500 ease-out overflow-hidden border border-transparent"},{default:H(()=>[t[27]||(t[27]=e("div",{class:"absolute inset-0 bg-gradient-to-r from-brand-main/0 via-white/20 to-brand-main/0 opacity-0 group-hover/submit:opacity-100 transition-opacity duration-500 ease-out"},null,-1)),a(j)?(n(),L(a(st),{key:0,class:"w-4 h-4 animate-spin"})):S("",!0),e("span",No,r(o.$t("contact.btn")),1)]),_:1},8,["disabled"])])],544)])])])])])])])}}}),as=Ye(Vo,[["__scopeId","data-v-f712b90c"]]);export{as as default};
