PageSourceSearch

https://www.hkab.org.hk/_nuxt/B9Fdjhs8.js

js hkab.org.hk collected 2026-10-02 07:59:57 UTC 5,146 bytes, 1 lines download raw bytes

1import{_ as R}from"./D8_k6IND.js";import{_ as D}from"./DIdM3mYe.js";import{_ as H}from"./SaX2p7a5.js";import{H as P,G as U,a as q,a5 as E,r as C,X as F,O as A,x as G,V as K,L,y as u,I as t,A as e,B as i,C as z,a2 as J,Z as v,_ as w,J as h,K as O,z as _,R as B}from"./CqoNOEY2.js";import{_ as X}from"./Bndsh_Xg.js";import{u as V}from"./nH_dT3No.js";import"./DlAUqK2U.js";const Z={class:"section_container for_inner_banner"},j={class:"inner_banner_container"},Q={class:"inner_banner_text_block"},W={class:"inner_banner_breadcrumb_row"},Y={href:"home",class:"inner_banner_breadcrumb_btn"},ee={class:"inner_banner_breadcrumb_block","data-ix":"inner-banner-breadcrumb-action"},te=["href"],ne={class:"inner_banner_title"},ae={class:"section_container"},oe={class:"section_container_in"},se={class:"hkab_circular_search_form w-form"},ie={class:"hkab_circular_search_row"},le={class:"hkab_circular_search_block"},_e=["placeholder"],re={class:"notice_filter_row for_guidelines_faqs"},ce={class:"notice_filter_row_in"},de={class:"notice_filter_date_block"},ue={class:"notice_filter_title"},me={class:"notice_filter_date_block_in"},be={class:"notice_filter_date_block"},pe={class:"notice_filter_title"},he={class:"notice_filter_date_block_in"},fe={class:"general_table_container"},ge={class:"general_table_row title hidden_on_mobile white_border"},ve={class:"mobile_change_layout_table_cell notice_date"},we={class:"mobile_change_layout_table_cell"},ke=["href"],ye={class:"mobile_change_layout_table_cell notice_date"},Ne={class:"mobile_change_layout_table_cell_mobile_title for_guideline_faqs"},xe={class:"mobile_change_layout_table_cell"},Ce={class:"mobile_change_layout_table_cell_mobile_title for_guideline_faqs"},Ae="permission_mcra_news",De={__name:"index",async setup(Le){let m,k;const{data:y}=V("record","mcra-notice"),{data:f}=([m,k]=P(()=>V("page","mcra-notice",1)),m=await m,k(),m),$=U(),{$label:l}=q(),b=E(),N=C(!1),M=F();A(b,function(s){s&&(N.value=s.is_admin)}),G({title:f.value.title+l(" | The Hong Kong Association of Banks"," | 香港銀行公會"," | 香港银行公会")});const o=K({keyword:null,start:null,end:null,cat:null,pageNum:1}),S=(s,n,c)=>s.slice((c-1)*n,c*n),x=(s,n={},c=!1)=>{const{keyword:d,start:p,end:a,pageNum:Be}=n;return(s==null?void 0:s.filter(r=>(!d||r.title.toLowerCase().includes(d.toLowerCase())||(r.content||"").replace(/(<([^>]+)>)/gi,"").toLowerCase().includes(d.toLowerCase()))&&(!p||r.date>=p)&&(!a||r.date<=a)).sort((r,I)=>I.date>r.date?1:-1))||[]},g=C(x(y.value));A([o],([s])=>{g.value=x(y.value,s)});const T=()=>N.value||b.value&&b.value.user_account[Ae]>=1;return(s,n)=>{const c=R,d=D,p=H;return!t(b)||t(M)?(_(),L(c,{key:0,page:t(f)||{}},null,8,["page"])):T()?(_(),u(h,{key:2},[e("div",Z,[n[8]||(n[8]=e("div",{class:"inner_banner_img_container"},[e("div",{class:"inner_banner_img for_news","data-ix":"banner-loading-action"})],-1)),e("div",j,[e("div",Q,[e("div",W,[e("a",Y,i(t(l)("Home","主頁"))+" >",1),e("div",ee,[e("a",{href:`/${t($).params.lang}/mcra-area`,class:"inner_banner_breadcrumb_btn"},i(t(l)("MCRA Area","MCRA 專區"))+" >",9,te)])]),e("h1",ne,i(t(f).title),1)])])]),e("div",ae,[e("div",oe,[e("div",se,[e("form",{id:"wf-form-Search",name:"wf-form-Search","data-name":"Search",method:"get",class:"hkab_circular_search_form_in",onSubmit:n[2]||(n[2]=J(()=>{},["prevent"]))},[e("div",ie,[e("div",le,[v(e("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=a=>t(o).keyword=a),onInput:n[1]||(n[1]=a=>t(o).pageNum=1),class:"hkab_circular_search_field w-input",maxlength:"256",placeholder:t(l)("Search Title / Content","搜尋 標題 / 內文")},null,40,_e),[[w,t(o).keyword]])])])],32)]),e("div",re,[e("div",ce,[e("div",de,[e("div",ue,i(t(l)("From","由")),1),e("div",me,[v(e("input",{"onUpdate:modelValue":n[3]||(n[3]=a=>t(o).start=a),name:"date",type:"date",onInput:n[4]||(n[4]=a=>t(o).pageNum=1)},null,544),[[w,t(o).start]])])]),e("div",be,[e("div",pe,i(t(l)("To","至")),1),e("div",he,[v(e("input",{"onUpdate:modelValue":n[5]||(n[5]=a=>t(o).end=a),name:"date",type:"date",onInput:n[6]||(n[6]=a=>t(o).pageNum=1)},null,544),[[w,t(o).end]])])])])]),e("div",fe,[e("div",ge,[e("div",ve,[e("div",null,i(t(l)("Date","日期")),1
1)]),e("div",we,[e("div",null,i(t(l)("Title","標題")),1)]),n[9]||(n[9]=e("div",{class:"mobile_change_layout_table_cell for_notice_arrow"},null,-1))]),(_(!0),u(h,null,O(S(t(g),10,t(o).pageNum),a=>(_(),u(h,null,[a.content?(_(),u(h,{key:0},[a.title.toLowerCase().match(s.keyword)?(_(),u("a",{key:0,href:`news/${a.id}`,class:"general_table_row for_notice w-inline-block"},[e("div",ye,[e("div",Ne,i(t(l)("Date ","日期"))+" :",1),e("div",null,i(a.date),1)]),e("div",xe,[e("div",Ce,i(t(l)("Title","標題 "))+" :",1),e("div",null,i(a.title),1)]),n[10]||(n[10]=e("div",{class:"mobile_change_layout_table_cell for_notice_arrow"},[e("img",{src:X,loading:"lazy",alt:"arrow","aria-hidden":"true",class:"notice_arrow"})],-1))],8,ke)):B("",!0)],64)):B("",!0)],64))),256))]),z(p,{"page-num":t(o).pageNum,"onUpdate:pageNum":n[7]||(n[7]=a=>t(o).pageNum=a),"last-page":Math.ceil(t(g).length/10)},null,8,["page-num","last-page"])])])],64)):(_(),L(d,{key:1}))}}};export{De 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.