1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6505],{59411:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/souvenir",function(){return s(12870)}])},12870:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return j},default:function(){return v}});var l=s(85893),n=s(67294),i=s(11163),r=s(46107),c=s(89048),a=s(80642),d=s(87576),o=s(73702),x=s(36e3),u=s(10059),m=n.memo(e=>{let{data:t,currentIdx:s,className:n}=e;return(0,l.jsx)("div",{className:"mt-3",children:(0,l.jsx)("ul",{className:"pb-2 pb-xl-5 row g-2 gy-md-5 gy-xl-6",children:t.filter((e,t)=>t<s).map(e=>(0,l.jsx)("li",{className:"col-12 col-md-6 col-xl-3 d-flex",children:(0,l.jsx)(u.Z,{data:e})},e.id))})})}),f=s(75988),p=s(31488),h=s(74306),j=!0,v=e=>{let{title:t,locale:s}=e,{query:n}=(0,i.useRouter)(),u=(0,h.bU)(),{data:j}=(0,o.BN)({lang:u})||{},v=(0,c.pY)(j,n);return(0,l.jsxs)("div",{children:[(0,l.jsx)(r.Z,{title:"".concat((0,p.Iu)(t,s))}),(0,l.jsx)(d.Z,{className:"position-relative z-10 text-center text-default border-bottom",unit:"souvenir"}),(0,l.jsxs)("div",{className:"w-100 maw-1200px mx-auto pb-5 pb-md-8 pb-xl-10",children:[(0,l.jsx)("div",{className:"py-3 py-md-4 py-xl-5 text-center",children:(0,l.jsx)("h2",{className:"fz-32px fz-md-40px fz-xl-48px font-weight-bold",children:(0,l.jsx)(p.ZP,{children:t})})}),(0,l.jsx)("div",{className:"pb-3 d-xl-flex align-items-center justify-content-between border-bottom",children:(0,l.jsx)("div",{className:"ml-md-auto maw-xl-520px flex-fill",children:(0,l.jsx)(a.Z,{data:j,query:n,options:{noAdvance:!0}})})}),!v&&(0,l.jsx)("div",{className:"d-flex justify-content-center p-5",children:(0,l.jsx)(f.Z,{size:18})}),v&&(0,l.jsx)(x.Z,{className:"mt-3 mt-md-4",data:v,component:m})]})]})}},36e3:function(e,t,s){"use strict";var l=s(85893),n=s(67294),i=s(75988),r=s(11163),c=s(89048),a=s(31488);let d=(0,n.lazy)(()=>s.e(2388).then(s.bind(s,62388)));t.Z=n.memo(e=>{let{data:t,initItemNums:s=24,perScrollNums:o=12,component:x,filterOptions:u,className:m,texts:f,showCount:p=!0}=e,h=(0,r.useRouter)(),j=h.query,v=j.sortby||"hits",N=j.sortValue||"",[b,y]=(0,n.useState)(null),[w,g]=(0,n.useState)(s),[z,Z]=(0,n.useState)(!1),_=(0,n.useRef)(null),E=new IntersectionObserver((e,t)=>{Z(e[0].isIntersecting)});return(0,n.useEffect)(()=>{let e,s=[...t];u&&(null==v?void 0:v.toLowerCase())==="hits"&&(s=[...s.filter(e=>0===e.priority).sort((e,t)=>e.priority-t.priority),...s.filter(e=>0!==e.priority).sort((e,t)=>t.viewsCount-e.viewsCount)]),N&&(e=N.split(","),s.sort((t,s)=>(0,c.TE)(t.lat,t.lng,1*e[0],1*e[1])-(0,c.TE)(s.lat,s.lng,1*e[0],1*e[1]))),y(s)},[t,v,N]),(0,n.useEffect)(()=>(_.current&&E.observe(_.current),()=>{E.disconnect()}),[b,_.current]),(0,n.useEffect)(()=>{t&&z&&b&&w<b.length&&(g(w+o),E.unobserve(_.current),E.observe(_.current))},[z,t,b]),(0,l.jsxs)("div",{className:m,children:[!!(null==b?void 0:b.length)&&(0,l.jsxs)(l.Fragment,{children:[p&&(0,l.jsxs)("div",{className:" pb-10px border-bottom fz-16px d-md-flex justify-content-between",children:[(0,l.jsx)("div",{className:"text-info",role:"status",children:(0,l.jsx)(a.ZP,{params:[b.length],children:"å
±æ {0} ççµæ"})}),f&&(0,l.jsx)("div",{className:"text-info py-1 py-md-0",children:f})]}),(0,l.jsxs)(n.Suspense,{fallback:(0,l.jsx)("div",{}),children:[u&&(0,l.jsx)(d,{options:u,onSort:e=>{let t={...h.query};delete t.sortby,delete t.sortValue,h.push({query:{...t,...e}},null,{scroll:!1})}}),(0,l.jsx)(x,{data:b,currentIdx:w})]})]}),b&&!b.length&&(0,l.jsx)("div",{className:"py-10 text-info text-center fz-18px",children:(0,l.jsx)(a.ZP,{children:"æ«ç¡è³æ"})}),t&&w<(null==b?void 0:b.length)&&(0,l.jsx)("div",{className:"d-flex justify-content-center mt-5",ref:_,children:(0,l.jsx)(i.Z,{size:16})})]})})},10059:function(e,t,s){"use strict";var l=s(85893),n=s(67294),i=s(41664),r=s.n(i),c=s(26340),a=s(31488),d=s(61654);s(94960),t.Z=n.memo(e=>{let{data:t}=e,s=(0,d.Z)("(min-width: 768px)"),{id:n,title:i,name:o,cover:x,hits:u}=t;return(0,l.jsxs)(r(),{href:"/souvenir/".concat(n),className:"d-flex flex-md-column w-100 rounded text-default hover-primary trs-all",children:[(0,l.jsx)("div",{className:"position-relative",children:(0,l.jsx)(c.Z,{src:(null==x?void 0:x.replace("150x150","480x360"))||"/images/not-found/miss.jpg",alt:"",ratio:"".concat(s?"4by3":"1by1"),isRounded:!0,priority:!0,roundedSize:"20px",className:"w-20 w-md-100 flex-shrink-0"})}),(0,l.jsxs)("div",{className:"d-flex flex-column my-auto py-1 px-10px px-md-1 pt-md-2 flex-fill miw-0",children:[(0,l.jsx)("div",{className:"mb-md-2 fz-18px fz-xl
1-20px lh-initial line-clamp-2",children:i||o}),(0,l.jsx)("div",{className:"d-flex justify-content-between align-items-center w-100 mt-1 mt-md-auto",children:null!==u&&(0,l.jsxs)("div",{className:"h-3 d-flex align-items-center text-info fz-13px",children:[(0,l.jsx)("i",{className:"icon icon-view fz-12px fz-xl-16px h-12px mr-4px","aria-hidden":"true"}),(0,l.jsx)("div",{className:"sr-only",children:(0,l.jsx)(a.ZP,{children:"人氣"})}),u]})})]})]})})}},function(e){e.O(0,[2962,4081,9435,2888,9774,179],function(){return e(e.s=59411)}),_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.