1import{d as q,ae as F,j as p,i,k as j,S as z,l as r,o as a,m as s,p as d,q as v,e as c,t as g,am as P,bR as V,n as A,F as H,x as O,_ as W}from"./rNMPrltl.js";import{_ as G}from"./DvHYKSnT.js";import{i as J}from"./BpJa6I6o.js";import{f as K,n as Q,r as X}from"./C1dxbtEK.js";import{S as k}from"./BvJO-9OF.js";import{u as Y,g as Z}from"./boj7xwiX.js";import{u as tt}from"./CUF8NFeV.js";import"./Bg3951aB.js";import"./CXXDZoq4.js";const et={class:"page-container"},st={class:"scroll1-section"},nt=["onClick"],ot=["src"],it={class:"intro1-title"},lt={style:{"text-shadow":"2px 2px 2px gray"}},rt={class:"scroll2-section"},at=["onClick"],ct={class:"intro2-title"},ut={class:"scroll3-section"},dt={key:0,class:"scroll3-title"},_t={key:1,class:"scroll3-title"},mt={key:2,class:"scroll3-title"},pt={class:"intro3-section"},vt=["onClick"],ht={class:"text"},ft=q({__name:"mobile",props:{ssrData:{},isEmbed:{type:Boolean}},setup(b){const l=b,{isTradChin:L,isSimpChin:S}=Y(),U=tt(),C=F(),w=p("clickedMenuId"),D=p("activeMenuId"),$=p("currentParentId"),u=p("userInfo"),y=i("");i(""),i([{columnName:"æå°å
¨é¨"}]);const h=i([]),_=i([]),x=i([]);if(l.ssrData&&l.ssrData.length>0){const e=l.ssrData;h.value=e.slice(0,2),e.length>2&&(_.value=e.slice(2,7))}i([]);const I=()=>{w.value="aboutUnion",D.value="aboutUnion",$.value="aboutUs"},M=async()=>{try{const e=Z(),n=await J(e),t=K(Q(n));t&&t.length>0&&(h.value=t.slice(0,2),t.length>2&&(_.value=t.slice(2,7))),console.log("åè¡¨æ°æ®",_.value)}catch(e){console.error("å è½½ä»ç»æ¿å失败:",e)}},B=[{title:"åå·¥æ¬ç",key:"laborRights",externalLinkUrl:"labourServices"},{title:"å
§å°æå",key:"mainland",externalLinkUrl:"consultingService"},{title:"é²ä¿®ã»å¹è¨ã»å°±æ¥æå",key:"education",externalLinkUrl:"myService"},{title:"é«çæå",key:"medical",externalLinkUrl:"medicalService"},{title:"æå¨åº·æ¨",key:"culture",externalLinkUrl:"clubsSponsors"},{title:"å°åæå",key:"regional",externalLinkUrl:"regionalService"},{title:"é·è
æå",key:"elderly",externalLinkUrl:"elderlyService"}],E=()=>{x.value=B.reduce((e,n,t)=>(t%2===0&&e.push([]),e[e.length-1].push(n),e),[])},T=(e,n)=>{if(!n||!e.startsWith("/about/"))return e;const t=e.split("/"),o=t[t.length-1];return t[t.length-1]=`${o}${n}`,t.join("/")},f=e=>{const n=l.isEmbed?"_embed":"",t=X(e);if(t){if(t.kind==="external"){typeof window<"u"&&window.open(t.url,"_blank");return}U.push({path:T(t.path,n),query:t.query})}},N=()=>{u.value&&(u.value.nickname?y.value=u.value.nickname:u.value.phone&&(y.value=u.value.phone.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")))};return j(()=>{N(),I(),(!l.ssrData||l.ssrData.length===0)&&M(),E()}),z(()=>C.path,()=>{I()}),(e,n)=>{const t=P;return a(),r("div",et,[s("div",st,[d(k,{items:c(h),"initial-offset":-20},{content:v(({item:o})=>[s("div",{class:"intro1-section",onClick:m=>f(o)},[s("img",{src:o.imgUrl,class:"tag-icon",alt:""},null,8,ot),s("div",it,[s("span",lt,g(o.title),1),d(t,null,{default:v(()=>[d(c(V))]),_:1})])],8,nt)]),_:1},8,["items"])]),s("div",rt,[d(k,{items:c(_),"initial-offset":-20},{content:v(({item:o})=>[s("div",{class:"intro2-section",onClick:m=>f(o),style:A({backgroundImage:`url('${o.imgUrl}')`})},[s("div",ct,[s("span",null,g(o.title),1)])],12,at)]),_:1},8,["items"])]),s("div",ut,[c(L)?(a(),r("div",dt,"æåçæå")):c(S)?(a(),r("div",_t,"æä»¬çæå¡")):(a(),r("div",mt,"Our Services")),d(k,{items:c(x),"initial-offset":-20},{content:v(({item:o})=>[s("div",pt,[(a(!0),r(H,null,O(o,(m,R)=>(a(),r("div",{key:R,class:"intro3-item",onClick:gt=>f(m)},[s("span",ht,g(m.title),1),n[0]||(n[0]=s("img",{src:G,style:{width:"36px",height:"36px"},alt:""},null,-1))],8,vt))),128))])]),_:1},8,["items"])])])}}}),wt=W(ft,[["__scopeId","data-v-4cbe8078"]]);export{wt 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.