1import{d as E,ae as F,i as M,c as d,S as U,u as j,l as i,o,m as t,e as n,t as r,F as T,x as y,s as z,y as _,C as m,b as S,q,p as A,cQ as G,O,am as P,_ as Q}from"./D1FcBL9p.js";import{_ as J}from"./BlRCviZe.js";import{_ as D}from"./7Vp9wS4X.js";import{_ as L}from"./snjROGSw.js";import{_ as K}from"./BLRPLIxb.js";import{u as X}from"./DqqOAuMb.js";import{u as Y}from"./C8uHJLGK.js";import{u as Z}from"./qJlnEoVS.js";import"./CILtB5eU.js";import"./DaI1dtU0.js";import"./BvC-Ff6-.js";import"./EgekFmNJ.js";import"./CXXDZoq4.js";const ee={class:"worker-rights-container"},se={class:"page-header flex items-center"},te={class:"page-title"},ae={class:"content-wrapper"},oe={class:"industry-tags flex wrap gap-2 mb-4"},ie=["onClick"],ne={class:"card-list"},le=["onClick"],re={class:"flex items-center justify-between"},ce={class:"card-title"},de={key:0,class:"toggle-btn"},ue={class:"card-info"},pe={key:0,class:"info-item-local"},_e=["innerHTML"],me={key:1,class:"info-item"},ve={key:2,class:"info-item"},he=["href"],fe={key:0,class:"branches-section"},ge={class:"branch-grid"},be={class:"branch-name"},Te={class:"branch-address mt-12px"},ye={class:"branch-phone mt-16px"},we=E({__name:"pc",setup(ke){const w=Z(),v=F(),h=M(v.query.id||""),{isTradChin:k,isSimpChin:x}=Y(),{navigationRows:N,unionList:C,defaultTag:g,toggleBranches:V}=X(),f=d(()=>k.value?{pageTitle:"屬æåè´å©æ",collapse:"æ¶èµ·",viewBranches:"æ¥çå
¨é¨åæ",goToWebsite:"åå¾ç¶²ç«"}:x.value?{pageTitle:"å±ä¼åèµå©ä¼",collapse:"æ¶èµ·",viewBranches:"æ¥çå
¨é¨åä¼",goToWebsite:"åå¾ç¶²ç«"}:{pageTitle:"Affiliated and Sponsorship Associations",collapse:"Hidden",viewBranches:"View Branches",goToWebsite:"Go to website"}),p=d(()=>N.value.flat().map(e=>({label:e.name,value:e.id,seoTit:e.seoTit,seoDesc:e.seoDesc})));U([p,()=>v.query.id],()=>{var s;const e=p.value;if(!e.length)return;const l=[typeof v.query.id=="string"?v.query.id:"",g.value].find(u=>e.some(c=>c.value===u));h.value=l||((s=e[0])==null?void 0:s.value)||""},{immediate:!0});const B=d(()=>{const e=p.value;if(!e.length)return 0;const a=h.value||g.value,l=e.findIndex(s=>s.value===a);return l>=0?l:0}),b=d(()=>p.value[B.value]),I=d(()=>{var a,l;const e=((a=b.value)==null?void 0:a.seoTit)||((l=b.value)==null?void 0:l.label);return e||(k.value?"屬æåè´å©æ":x.value?"å±ä¼åèµå©ä¼":"Affiliated and Sponsorship Associations")}),H=d(()=>{var e;return((e=b.value)==null?void 0:e.seoDesc)||I.value});j({title:I,titleTemplate:null,meta:[{name:"description",content:H}]});const R=e=>{h.value=e,w.replace({path:"/about/clubsSponsors",query:{id:e}})},W=d(()=>{const e=h.value||g.value;return e?C.value.filter(a=>a.tag===e):C.value});return(e,a)=>{const l=P;return o(),i("div",ee,[t("div",se,[t("img",{class:"w-24px h-24px",src:J,onClick:a[0]||(a[0]=()=>n(w).back()),style:{"vertical-align":"bottom",cursor:"pointer"}}),t("h1",te,r(n(f).pageTitle),1)]),t("div",ae,[t("div",oe,[(o(!0),i(T,null,y(n(p),(s,u)=>(o(),i("div",{class:z(["seleceTitle",n(B)==u?"selectActive":""]),onClick:c=>R(s.value),key:u},r(s.label),11,ie))),128))]),t("div",ne,[(o(!0),i(T,null,y(n(W),(s,u)=>(o(),i("div",{key:u,class:"union-card"},[t("div",{class:"card-header",onClick:c=>n(V)(s.name)},[t("div",re,[t("h3",ce,r(s.name),1),s.branches&&s.branches.length?(o(),i("div",de,[m(r(s.showBranches?n(f).collapse:n(f).viewBranches
1)+" ",1),s.showBranches?(o(),S(l,{key:0},{default:q(()=>[A(n(G))]),_:1})):(o(),S(l,{key:1},{default:q(()=>[A(n(O))]),_:1}))])):_("",!0)]),t("div",ue,[s.address?(o(),i("div",pe,[a[1]||(a[1]=t("div",{style:{"margin-top":"-2px"}},[t("img",{class:"icon",src:D,alt:"location"})],-1)),t("div",{innerHTML:s.address},null,8,_e)])):_("",!0),s.phone?(o(),i("div",me,[a[2]||(a[2]=t("img",{class:"icon",src:L,alt:"phone",style:{"vertical-align":"top"}},null,-1)),m(" "+r(s.phone),1)])):_("",!0),s.website?(o(),i("div",ve,[t("a",{href:s.website,class:"website-link",target:"_blank"},[a[3]||(a[3]=t("img",{class:"icon",src:K,alt:"website"},null,-1)),m(" "+r(n(f).goToWebsite),1)],8,he)])):_("",!0)])],8,le),s.showBranches&&s.branches.length?(o(),i("div",fe,[t("div",ge,[(o(!0),i(T,null,y(s.branches,(c,$)=>(o(),i("div",{key:$,class:"branch-item"},[t("div",be,r(c.name),1),t("div",Te,[a[4]||(a[4]=t("img",{class:"icon",src:D,alt:"location"},null,-1)),m(" "+r(c.address),1)]),t("div",ye,[a[5]||(a[5]=t("img",{class:"icon",src:L,alt:"phone"},null,-1)),m(" "+r(c.phone),1)])]))),128))])])):_("",!0)]))),128))])])])}}}),We=Q(we,[["__scopeId","data-v-717a8ca0"]]);export{We 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.