1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1608],{98787:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/bilingual-glossary",function(){return l(4257)}])},4257:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return j},default:function(){return g}});var s=l(85893),n=l(11163),r=l(46107),a=l(31488),i=l(73702),c=l(89048),o=l(80642),x=l(34406),d=l(36e3),m=l(67294),u=l(74306),p=m.memo(e=>{let{data:t,currentIdx:l}=e,n="zh-tw"===(0,u.bU)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("ul",{className:"mt-3 mt-md-4 row gy-0 gx-md-4 gy-xl-7 pb-2 pb-xl-5",children:t.filter((e,t)=>t<l).map(e=>{let{id:t,glossary:l,translation:r}=e;return(0,s.jsx)("li",{className:"col-12 col-md-6 col-xl-4",children:(0,s.jsxs)("div",{className:"".concat(n?"flex-column":"flex-column-reverse"," d-flex border-top border-primary fz-xl-18px mb-6 mb-md-8 mb-xl-10"),children:[(0,s.jsxs)("div",{className:"pt-2 d-flex",children:[(0,s.jsx)("img",{className:"d-inline-flex w-3 h-3 mr-1 mt-xl-4px",alt:"",src:"/images/global/language-tw.png"}),l]}),(0,s.jsxs)("div",{className:"pt-2 d-flex",children:[(0,s.jsx)("img",{className:"d-inline-flex w-3 h-3 mr-1 mt-xl-4px",alt:"",src:"/images/global/language-en.png"}),r]})]})},t)})})})}),h=l(75988),f=l(61269),b=l(87576),j=!0,g=e=>{let{title:t,locale:l}=e,{query:m}=(0,n.useRouter)(),j="zh-tw"===(0,u.bU)(),{data:g,category:v}=(0,i.fx)({lang:"zh-tw"})||{},y=(0,c.pY)(g,m);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{title:"".concat((0,a.Iu)(t,l))}),(0,s.jsx)(b.Z,{className:"mb-n6 position-relative z-10 text-center text-white bg-black-50",data:[{title:"è¨ç«æ
è¡"},{title:t}]}),(0,s.jsx)(f.Z,{src:"/images/banner/banner-bilingual-glossary.jpg"}),(0,s.jsxs)("div",{className:"w-100 maw-960px mx-auto pb-5 pb-md-8 pb-xl-10",children:[(0,s.jsx)("h2",{className:"py-3 py-md-4 py-xl-5 text-center fz-32px fz-md-40px fz-xl-48px font-weight-bold",children:(0,s.jsx)(a.ZP,{children:t})}),(0,s.jsxs)("div",{className:"pb-3 d-xl-flex align-items-center justify-content-between border-bottom",children:[j&&(0,s.jsx)(x.Z,{data:v,query:m}),(0,s.jsx)("div",{className:"ml-md-auto maw-xl-520px flex-fill",children:(0,s.jsx)(o.Z,{data:g,query:m,categoryData:v,options:j?{category:!0}:{noAdvance:!0}})})]}),!y&&(0,s.jsx)("div",{className:"d-flex justify-content-center p-5",children:(0,s.jsx)(h.Z,{size:18})}),y&&(0,s.jsx)(d.Z,{className:"mt-3 mt-md-4",data:y,component:p})]})]})}},34406:function(e,t,l){"use strict";var s=l(85893),n=l(67294),r=l(11163),a=l(89048);t.Z=n.memo(e=>{var t;let{data:l,query:n,paramKey:i="category"}=e,c=(0,r.useRouter)(),o=(null===(t=n[i])||void 0===t?void 0:t.split(",").map(e=>1*e))||[];return(0,s.jsxs)("ul",{className:"category-shortcut-blk scroll-x-blk d-flex flex-xl-wrap align-items-center flex-fill mx-n2 mb-2 pl-2 py-4px mr-xl-4 mb-xl-0 h-xl-6 overflow-xl-hidden maw-xl-760px",role:"tablist",children:[(0,s.jsx)("li",{className:"mr-1 mb-4px",children:(0,s.jsx)("button",{className:"".concat(o.length<1&&"btn-primary"," btn h-5 px-20px rounded"),"aria-selected":(o.length<1).toString(),onClick:()=>{let e=(0,a.dv)(n,{[i]:[]});c.push("".concat(c.asPath.split("?")[0]).concat(e?"?".concat(e):""),"",{scroll:!1,shallow:!1})},role:"tab",children:"ALL"})}),l&&l.filter(e=>e.shortcut).map((e,t)=>{let l=null==o?void 0:o.find(t=>t===e.id);return(0,s.jsx)("li",{className:"flex-shrink-0 mr-1 mb-4px",children:(0,s.jsx)("button",{className:"".concat(l?"btn-primary":"hover-primary hover-bg-white"," btn h-5 px-20px rounded "),"aria-selected":(!!l).toString(),onClick:()=>{let t;t=l?o.filter(t=>t!==e.id):[...o,e.id];let s=(0,a.dv)(n,{[i]:t});c.push("".concat(c.asPath.split("?")[0]).concat(s?"?".concat(s):""),"",{scroll:!1,shallow:!1})},role:"tab",children:e.name})},t)})]})})},61269:function(e,t,l){"use strict";var s=l(85893),n=l(67294),r=l(26340);t.Z=n.memo(e=>{let{src:t,className:l}=e;return(0,s.jsx)("div",{className:"mx-n2 mx-md-n3 mx-xl-n5 h-240px h-xl-320px position-relative ".concat(l),children:(0,s.jsx)(r.Z,{className:"fill-parent",src:t,alt:""})})})},36e3:function(e,t,l){"use strict";var s=l(85893),n=l(67294),r=l(75988),a=l(11163),i=l(89048),c=l(31488);let o=(0,n.lazy)(()=>l.e(2388).then(l.bind(l,62388)));t.Z=n.memo(e=>{let{data:t,initItemNums:l=24,perScrollNums:x=12,component:d,filterOptions:m,className:u,texts:p,showCount:h=!0}=e,f=(0,a.useRouter)(),b=f.query,j=b.sortby||"hits",g=b.sortValue||"",[v,y]=(0,n.use
1State)(null),[N,w]=(0,n.useState)(l),[Z,_]=(0,n.useState)(!1),z=(0,n.useRef)(null),k=new IntersectionObserver((e,t)=>{_(e[0].isIntersecting)});return(0,n.useEffect)(()=>{let e,l=[...t];m&&(null==j?void 0:j.toLowerCase())==="hits"&&(l=[...l.filter(e=>0===e.priority).sort((e,t)=>e.priority-t.priority),...l.filter(e=>0!==e.priority).sort((e,t)=>t.viewsCount-e.viewsCount)]),g&&(e=g.split(","),l.sort((t,l)=>(0,i.TE)(t.lat,t.lng,1*e[0],1*e[1])-(0,i.TE)(l.lat,l.lng,1*e[0],1*e[1]))),y(l)},[t,j,g]),(0,n.useEffect)(()=>(z.current&&k.observe(z.current),()=>{k.disconnect()}),[v,z.current]),(0,n.useEffect)(()=>{t&&Z&&v&&N<v.length&&(w(N+x),k.unobserve(z.current),k.observe(z.current))},[Z,t,v]),(0,s.jsxs)("div",{className:u,children:[!!(null==v?void 0:v.length)&&(0,s.jsxs)(s.Fragment,{children:[h&&(0,s.jsxs)("div",{className:" pb-10px border-bottom fz-16px d-md-flex justify-content-between",children:[(0,s.jsx)("div",{className:"text-info",role:"status",children:(0,s.jsx)(c.ZP,{params:[v.length],children:"å
±æ {0} ççµæ"})}),p&&(0,s.jsx)("div",{className:"text-info py-1 py-md-0",children:p})]}),(0,s.jsxs)(n.Suspense,{fallback:(0,s.jsx)("div",{}),children:[m&&(0,s.jsx)(o,{options:m,onSort:e=>{let t={...f.query};delete t.sortby,delete t.sortValue,f.push({query:{...t,...e}},null,{scroll:!1})}}),(0,s.jsx)(d,{data:v,currentIdx:N})]})]}),v&&!v.length&&(0,s.jsx)("div",{className:"py-10 text-info text-center fz-18px",children:(0,s.jsx)(c.ZP,{children:"æ«ç¡è³æ"})}),t&&N<(null==v?void 0:v.length)&&(0,s.jsx)("div",{className:"d-flex justify-content-center mt-5",ref:z,children:(0,s.jsx)(r.Z,{size:16})})]})})}},function(e){e.O(0,[2962,4081,9435,2888,9774,179],function(){return e(e.s=98787)}),_N_E=e.O()}]);
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.