PageSourceSearch

https://www.ftu.org.hk/_nuxt/CLMO68UG.js

js ftu.org.hk collected 2026-09-25 04:51:56 UTC 3,321 bytes, 1 lines download raw bytes

1import{d as B,ae as S,i as d,S as A,k as F,l as N,e,o as r,p as y,w as g,b as s,y as n,a0 as w,D as C,m as k,_ as G}from"./D1FcBL9p.js";import{_ as x}from"./DVnPm6X5.js";import{_ as V}from"./C8T8fdhQ.js";import I from"./Dlj6iMf9.js";import H from"./CQmGUytH.js";import M from"./DCvRM91j.js";import Q from"./BjM5be6p.js";import R from"./DJJWnyB5.js";import U from"./rr0-X3PW.js";import Y from"./BkXcWCgE.js";import{h,a as E}from"./CtcR-01g.js";import{u as W}from"./C8uHJLGK.js";import"./EgekFmNJ.js";import"./KYqwKzdr.js";import"./BlRCviZe.js";import"./skxs2esw.js";import"./C43kgiy-.js";import"./BEj7Kd8D.js";import"./B821GkuR.js";import"./DOihKCLc.js";import"./DQotCfF-.js";import"./CAySgnTA.js";import"./CXXDZoq4.js";const $={key:0,class:"history-gallery history-gallery-embed"},j={class:"embed-search-wrap"},z={key:1,class:"history-gallery history-gallery-embed"},J={class:"embed-search-wrap"},K=B({__name:"historyGallery_embed",setup(O){const p=S(),{isTradChin:L}=W(),v=o=>{const a=typeof o=="string"||typeof o=="number"?Number(o):NaN;return!Number.isFinite(a)||a<1?0:Math.min(a-1,3)},t=d(v(p.query.id)),i=d([{columnName:"全部年份",value:""}]),u=d(""),m=d(0),D=d([{label:"主頁"},{label:"歷史長廊"},{label:"代表大會文件"},{label:"歷代負責人"}]),q=d([{label:"主页"},{label:"历史长廊"},{label:"代表大会文件"},{label:"历代负责人"}]),f=o=>{m.value=o+1,u.value=h[o].year,window.scrollTo(0,0)},b=o=>{var a;u.value=(a=o.item.value)!=null?a:"",m.value=o.index},_=o=>{t.value=o.index},T=o=>{t.value=1,u.value=`${o}年`;let a=i.value.findIndex(l=>l.value===u.value);a===-1&&(a=i.value.findIndex(l=>{var c;return(c=l.value)==null?void 0:c.startsWith(o)})),m.value=a>-1?a:0};return A(()=>p.query.id,o=>{t.value=v(o)}),F(()=>{const o=h.map(l=>({columnName:l.year,value:l.year}));i.value=[...i.value,...o];const a=p.query.year;if(typeof a=="string"&&a){u.value=a;const l=i.value.findIndex(c=>c.value===a);l>-1&&(m.value=l)}}),(o,a)=>e(L)?(r(),N("div",$,[y(x,{"tab-list":e(D),modelValue:e(t),"onUpdate:modelValue":a[0]||(a[0]=l=>w(t)?t.value=l:null),onTabChange:_},null,8,["tab-list","modelValue"]),g(k("div",j,[y(V,{mini:!0,"search-width":"auto","default-type-value":e(m),"type-list":e(i),placeholder:"輸入關鍵字...",onTypeChange:b,"show-clear":""},null,8,["default-type-value","type-list"])],512),[[C,e(t)===1]]),e(t)===0?(r(),s(I,{key:0,onNavigateToTimeline:T})):n("",!0),e(t)===1?(r(),s(H,{key:1,"select-year":e(u),"history-data":e(h),onShowAll:f},null,8,["select-year","history-data"])):n("",!0),e(t)===2?(r(),s(Q,{key:2})):n("",!0),e(t)===3?(r(),s(U,{key:3})):n("",!0)])):(r(),N("div",z,[y(x,{"tab-list":e(q),modelValue:e(t),"onUpdate:modelValue":a[1]||(a[1]=l=>w(t)?t.value=l:null),onTabChange:_},null,8,["tab-list","modelValue"]),g(k("div",J,[y(V,{mini:!0,"search-width":"auto","default-type-value":e(m),"type-list":e(i),placeholder:"输入关键字...",onTypeChange:b,"show-clear":""},null,8,["default-type-value","type-list"])],512),[[C,e(t)===1]]),e(t)===0?(r(),s(I,{key:0,onNavigateToTimeline:T})):n("",!0),e(t)===1?(r(),s(M,{key:1,"select-year":e(u),"history-data":e(E),onShowAll:f},null,8,["select-year","history-data"])):n("",!0),e(t)===2?(r(),s(R,{key:2})):n("",!0),e(t)===3?(r(),s(Y,{key:3})):n("",!0)]))}}),Te=G(K,[["__scopeId","data-v-cb42da1a"]]);export{Te 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.