1import{_ as y}from"./DSHHiM_F.js";import{_ as w,u as C,a as N,b as L,c as b,w as B,e as c,f as t,g as r,h as u,i as _,t as s,F as E,j as F,o as d,k as m,n as I,m as P}from"./CeikiBVP.js";import{u as z}from"./cIp-gc4I.js";const D={"aria-label":"breadcrumb",class:"bs-breadcrumb"},H={class:"breadcrumb"},S={class:"breadcrumb-item"},V={class:"breadcrumb-item"},K={class:"breadcrumb-item page-breadcrumb-onhover"},M={class:"base-page font-content"},R={class:"my-2"},U={class:"font-normal mt-8 mb-2"},j={class:"text-sm my-5"},A={class:"pt-3"},T=["href"],q={__name:"legislations",async setup(G){let n,p;const{locale:f,t:h}=C(),o=N(),g=P();L({title:h("page_titles.legislations"),meta:[{name:"description",content:h("page_descriptions.legislations")}]});const v=b(()=>({en:"en",sc:"zh-CN",tc:"zh-Hant-HK"})[f.value]||"en"),{data:$}=([n,p]=B(()=>z(()=>{const e=`${g.public.apiBase}/legislation-lists`,a=new URLSearchParams;return a.append("locale",v.value),`${e}?${a.toString()}`},"$aKNeDas91u")),n=await n,p(),n),x=b(()=>{var e;return(((e=$.value)==null?void 0:e.data)||[]).map(a=>({id:a.documentId,title:a.title,url:a.link}))});return(e,a)=>{const l=y;return d(),c("div",null,[t("nav",D,[t("ol",H,[t("li",S,[r(l,{to:_(o)("/")},{default:u(()=>[m(s(e.$t("nav.home")),1)]),_:1},8,["to"])]),t("li",V,[r(l,{to:_(o)("/database/legislations")},{default:u(()=>[m(s(e.$t("nav.info")),1)]),_:1},8,["to"])]),t("li",K,[r(l,{to:_(o)("#"),tabindex:"0","aria-current":"page"},{default:u(()=>[m(s(e.$t("nav.info_submenu.legislation")),1)]),_:1},8,["to"])])])]),t("div",M,[t("h1",R,s(e.$t("nav.info_submenu.legislation")),1),t("h2",U,s(e.$t("legislation.subtitle")),1),t("span",j,s(e.$t("legislation.chapterInfo")),1),t("div",A,[(d(!0),c(E,null,F(x.value,(i,k)=>(d(),c("div",{key:i.id,class:I(["w-full px-4 py-1 text-[18px] font-[400]",{"bg-[#ECF1EE]":k%2===0}])},[t("a",{class:"hover:underline hover:text-inherit",target:"_blank",href:i.url,hreflang:"en"},s(i.title),9,T)],2))),128))])])])}}},W=w(q,[["__scopeId","data-v-0ed95915"]]);export{W 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.