import{U as E,z as f,o as R,ak as P,b as a,c as m,B as n,E as o,d as t,s as l,$ as S,H as j,A as w,p as h,V as F,q as x,aO as O,J as L,ab as H,R as M,W,M as z,L as q,v as V,a8 as C,F as k,D as B,N as $,G as T,a9 as G,O as J,P as Q,a7 as N,aW as X,aE as Y,a2 as K,x as Z,X as ee,ae as te,f as le,m as ne,aP as ae,ad as oe,an as se,aQ as re,aR as ie}from"./entry.DCZz6JvG.js";import{_ as ce,a as de,b as ue}from"./base-lang.DjwrBNEa.js";const me={class:"app-header"},pe={class:"d-flex justify-space-between align-center w-100 px-3 px-md-6 px-lg-10"},_e={class:"d-flex align-center"},fe={key:0,class:"d-flex align-center"},ge={__name:"app-header-landing",setup(A){const{$store:s,$localePath:p}=L(),{showDialog:y}=E(),v=[{title:"logout",icon:"/img/icon-logout.svg",clickEvent:()=>y("logout")}],r=f(0),g=()=>{r.value=window.pageYOffset};return R(()=>{document.addEventListener("scroll",g)}),P(()=>{document.removeEventListener("scroll",g)}),(b,_)=>{const u=H,d=de,i=ue,e=M;return a(),m("div",me,[n(O,{class:x({"on-top":l(r)<30}),app:"",fixed:"",flat:"",height:"60",color:"transparent"},{default:o(()=>[t("div",pe,[n(u,{to:l(p)("/explore")},{default:o(()=>_[1]||(_[1]=[t("img",{src:ce,alt:"logo-jcard-verify"},null,-1)])),_:1},8,["to"]),t("div",_e,[l(s).isLogin?(a(),h(d,{key:1,"open-on-hover":"",list:v},{button:o(()=>[n(F,{class:"rem-18 mr-3 ml-0 mx-md-7 can-click",icon:"mdi-account-circle"})]),_:1})):(a(),m("div",fe,[n(S,{class:"rem-2 font-weight-medium",flat:"",type:"text",onClick:_[0]||(_[0]=c=>l(y)("login"))},{default:o(()=>[j(w(`${b.$t("login")}/${b.$t("register")}`),1)]),_:1})])),n(i),n(e,{class:"ml-3 ml-md-7",height:"36px","btn-text":"startUsing",width:"fit-content",to:l(p)("/explore")},null,8,["to"])])])]),_:1},8,["class"])])}}},ve={class:"app-contact"},be=["textContent"],he=["textContent"],xe=["textContent"],ye={class:"d-flex flex-wrap flex-column flex-sm-row justify-space-between"},we={class:"d-flex align-center"},Ve=["href"],ke=["textContent"],Ce={class:"mb-4 mr-10"},$e={class:"mb-4 flex-grow-1"},Te=["textContent"],Ue={class:"d-flex justify-end"},U="rem-2 font-weight-light text-light-gray mb-2",Ae={__name:"app-contact",setup(A){const{t:s}=W(),{required:p,emailRule:y}=z();q();const v=f([{title:"Web",link:"https://star-bit.io"},{title:"Facebook",link:"https://www.facebook.com/STARBITInnovation"},{title:"Instagram",link:"https://www.instagram.com/star_bit_official"}]),r=f({}),g=f([{label:`*${s("contactName")}`,value:"name",rules:[p]},{label:s("conpanyName"),value:"conpanyName"},{label:`*${s("email")}`,value:"email",rules:[p,y]},{label:s("contactType"),value:"contactType",rules:[p]},{label:`*${s("content")}`,value:"content",rules:[p]}]),b=f([{title:s("websiteProblem"),value:"使用問題"},{title:s("scoreConcern"),value:"評分疑慮"},{title:s("accountProblem"),value:"帳號與資料問題"},{title:s("cooperation"),value:"合作事宜"},{title:s("otherProblem"),value:"其他問題"}]),_=f(null),u=f(!1);return(d,i)=>(a(),m("section",ve,[i[3]||(i[3]=t("h2",{class:"font-weight-bold text-primary mb-4 mb-sm-8",textContent:"CONTACT US"},null,-1)),d.$vuetify.display.mdAndDown?(a(),m("div",{key:0,class:"rem-0 rem-sm-6 font-weight-light lh-150 pre-wrap mb-10",textContent:w(d.$t("contactUsDescription"))},null,8,be)):V("",!0),n(N,null,{default:o(()=>[n(C,{cols:"12",lg:"6",order:"2","order-lg":"1"},{default:o(()=>[d.$vuetify.display.lgAndUp?(a(),m("div",{key:0,class:"rem-6 font-weight-light lh-150 pre-wrap mb-10",textContent:w(d.$t("contactUsDescription"))},null,8,he)):V("",!0),t("div",{class:"rem-2 font-weight-light mb-4",textContent:w(`STARBIT ${d.$t("starbit")}`)},null,8,xe),t("div",ye,[t("div",{class:x(["mb-4 mr-10",{"w-100":d.$vuetify.display.mdAndUp}])},[t("div",{class:x(U),textContent:"Follow Us"}),t("div",we,[(a(!0),m(k,null,B(l(v),(e,c)=>(a(),m(k,{key:e.title},[t("a",{rel:"noopener noreferrer",target:"_blank",href:e.link},[n($,null,{default:o(({isHovering:D,props:I})=>[t("span",T({ref_for:!0},I,{class:["rem-6 animate",D&&e.link?"text-primary":"text-floral-white"],textContent:w(e.title)}),null,16,ke)]),_:2},1024)],8,Ve),c!==l(v).length-1?(a(),h(G,{key:0,class:"border-opacity-100 mx-2",length:"20px"})):V("",!0)],64))),128))])],2),t("div",Ce,[t("div",{class:x(U),textContent:"Email"}),n($,null,{default:o(({isHovering:e,props:c})=>[t("a",T(c,{rel:"noopener noreferrer",class:["rem-6 animate",e?"text-primary":"text-floral-white"],target:"_blank",href:"mailto:service@jcardv.com"})," service@jcardv.com ",16)]),_:1})]),t("div",$e,[t("div",{class:x(U),textContent:"Location"}),t("div",{class:"rem-6",textContent:w(d.$t("starbitAddress"))},null,8,Te)])]),i[2]||(i[2]=t("div",{class:"rem-0 text-light-gray text-center text-md-left",textContent:"Copyright 2024. STARBIT. All Rights Reserved."},null,-1))]),_:1}),n(C,{cols:"12",lg:"6",order:"1","order-lg":"2"},{default:o(()=>[n(J,{ref_key:"form",ref:_,modelValue:l(u),"onUpdate:modelValue":i[1]||(i[1]=e=>Q(u)?u.value=e:null)},{default:o(()=>[n(N,{"no-gutters":""},{default:o(()=>[(a(!0),m(k,null,B(l(g),e=>(a(),h(C,{key:e.label,class:"px-2",cols:e.value==="content"?12:6},{default:o(()=>[e.value==="content"?(a(),h(X,{key:0,modelValue:l(r)[e.value],"onUpdate:modelValue":c=>l(r)[e.value]=c,class:"mb-2","hide-details":"",variant:"underlined",label:e.label,rules:e.rules||[]},null,8,["modelValue","onUpdate:modelValue","label","rules"])):e.value==="contactType"?(a(),h(Y,{key:1,modelValue:l(r).contactType,"onUpdate:modelValue":i[0]||(i[0]=c=>l(r).contactType=c),class:"mb-2","hide-details":"",variant:"underlined","menu-icon":"mdi-chevron-down","menu-props":{contentClass:"contact-select-menu"},label:e.label,items:l(b),rules:e.rules||[]},null,8,["modelValue","label","items","rules"])):(a(),h(K,{key:2,modelValue:l(r)[e.value],"onUpdate:modelValue":c=>l(r)[e.value]=c,class:"mb-2","hide-details":"",variant:"underlined",label:e.label,rules:e.rules||[]},null,8,["modelValue","onUpdate:modelValue","label","rules"]))]),_:2},1032,["cols"]))),128))]),_:1}),t("div",Ue,[n($,null,{default:o(({isHovering:e,props:c})=>[t("div",T({class:"submit-btn mt-7 can-click"},c),[t("div",{class:x(["submit-btn-hover h-100 bg-primary",{hover:e}])},null,2)],16)]),_:1})])]),_:1},8,["modelValue"])]),_:1})]),_:1})]))}},Be={__name:"landing",setup(A){const{$getRouteBaseName:s}=L(),p=ee(),{width:y}=te(),v=le(()=>s(p)==="index"),r=f(null),g=f(0),b=()=>{r.value||(r.value=document.getElementsByTagName("main")[0]);const _=r.value.getBoundingClientRect();g.value=_.height};return ne(y,()=>{b()}),R(()=>{b()}),(_,u)=>{const d=ge,i=ie,e=Ae;return a(),h(ae,{class:"bg-default text-floral-white"},{default:o(()=>[n(re,{class:"main-container overflow-x-hidden overflow-y-hidden"},{default:o(()=>[n(d),u[1]||(u[1]=t("div",{class:"bg-deco deco-top"},null,-1)),l(v)?V("",!0):(a(),m(k,{key:0},[u[0]||(u[0]=t("div",{class:"bg-deco deco-left"},null,-1)),l(g)>2e3?(a(),m("div",{key:0,class:"bg-deco deco-right",style:oe({bottom:`${l(g)*.3}px`})},null,4)):V("",!0)],64)),t("div",{class:x(["is-landing-page landing-main-content pb-15",{"v-container":!l(v)}])},[n(i),n(se,null,{default:o(()=>[n(e,{id:"contact"})]),_:1})],2)]),_:1})]),_:1})}}},Le=Z(Be,[["__scopeId","data-v-e79a254b"]]);export{Le as default};