1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2fca43b7-7c28-4f0f-8885-5825cb0e0401",e._sentryDebugIdIdentifier="sentry-dbid-2fca43b7-7c28-4f0f-8885-5825cb0e0401")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[740,3039,4481],{17117:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/restaurant2/[id]",function(){return n(44789)}])},18206:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,Jo:()=>c,Nr:()=>o.N});var r=n(37876),i=n(52245);n(14232);var a=n(87856),s=n(93222),o=n(87733);let l=e=>{let{onClick:t,className:n,children:a,outline:s,disabled:o=!1,line:l=!1,loading:d=!1}=e,u=o||d;return(0,r.jsxs)(c,{onClick:t,className:[n,s&&"outline",l&&"line"].filter(Boolean).join(" "),disabled:u,children:[d&&(0,r.jsx)(i.A,{className:"loading",size:16}),a]})},c=a.default.button.withConfig({componentId:"sc-cccc799b-0"})(["",";@keyframes rotate{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}svg.lucide.loading{",";cursor:not-allowed;animation:rotate 1s linear infinite;}"],o.V,(0,s.hz)(4))},22555:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(37876),i=n(71135),a=n(20917),s=n(77328),o=n.n(s),l=n(14232),c=n(87856),d=n(59727),u=n(93268),g=n(93222);let p=(0,l.memo)(({items:e,jsonLdId:t,jsonLdAbsoluteOrigin:n})=>{if(0===e.length)return null;let a=e.map((e,t)=>{let r={"@type":"ListItem",position:t+1,name:e.name};return e.href&&(r.item=`${n}${e.href}`),r}),s=e.length-1;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o(),{children:(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,u.I)({"@context":"https://schema.org","@type":"BreadcrumbList","@id":t,itemListElement:a})}})}),(0,r.jsx)(f,{"aria-label":"breadcrumb",children:(0,r.jsx)(m,{children:(0,r.jsx)(h,{children:e.map((e,t)=>{let n=t===s;return(0,r.jsxs)(l.Fragment,{children:[n||!e.href?(0,r.jsx)(w,{"aria-current":n?"page":void 0,children:e.name}):(0,r.jsx)(y,{children:(0,r.jsx)(i.A,{href:e.href,children:e.name})}),!n&&(0,r.jsx)(_,{"aria-hidden":"true",children:"âº"})]},`${e.name}-${e.href}`)})})})})]})}),f=c.default.nav.withConfig({componentId:"sc-4c28258c-0"})(["border-top:1px solid ",";background-color:",";"],(0,d.w4)("light-gray-border-color"),(0,d.w4)("secondary-background")),m=c.default.div.withConfig({componentId:"sc-4c28258c-1"})(["max-width:","px;margin:0 auto;",""],a.nP,(0,g.PR)(0,12,16,10)),h=c.default.ol.withConfig({componentId:"sc-4c28258c-2"})(["list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;"," color:",";& a{color:",";text-decoration:none;","}"],(0,g.J)(12),(0,d.w4)("text-gray"),(0,d.w4)("text-gray"),(0,g.PT)` 2 color: ${(0,d.w4)("text-dark")}; 3 text-decoration: underline; 4 `),y=c.default.li.withConfig({componentId:"sc-4c28258c-3"})(["display:inline-flex;align-items:center;"]),w=c.default.li.withConfig({componentId:"sc-4c28258c-4"})(["display:inline-flex;align-items:center;color:",";max-width:60vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],(0,d.w4)("text-dark")),_=c.default.span.withConfig({componentId:"sc-4c28258c-5"})([""," color:",";"],(0,g.Ab)("s1",0),(0,d.w4)("text-light-gray"))},44789:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>_,default:()=>b,getRestaurantRedirect:()=>x});var r=n(37876),i=n(67651),a=n(22555),s=n(14232),o=n(81539),l=n(42078);let c=(0,s.memo)(({ssrRestaurant:e})=>{let t=e?.info?.id;if(!t)return null;let n=(0,o._s)(t);if(!n)return null;let i=e.langs?.zh_TW?.name||"";if(!i)return null;let s=(0,l.l4)(t),c=[{name:"é¦é ",href:"/"},{name:"é¤å»³è¨ä½",href:"/search"},{name:n.brandName,href:`/channel/${n.channelId}`},{name:i}];return(0,r.jsx)(a.A,{items:c,jsonLdId:`${s}#breadcrumb`,jsonLdAbsoluteOrigin:l.t_})});var d=n(98592),u=n(75294),g=n(49364),p=n(5491),f=n(4798),m=n.n(f),h=n(33923),y=n(63085),w=n(35756),_=!0;let b=(0,s.memo)(e=>{let{ssrRestaurant:t,ssrMonthlyQuota:n,ssrPricingTable:a,ssrNavs:o,ssrAdvertisements:l,ssrRandomSeed:f,ssrBookDate:h,ssrBookPeople:_,ssrBookTime:b,ssrCoupons:x,ssrQuotaLinkToken:v}=e,j=(0,p.jL)(),A=(0,p.GV)("pic"),{isLogin:I}=(0,p.GV)("member"),C=A.isFromPIC&&A.verificationApiCalled&&!I;return((0,s.useEffect)(()=>{t&&(j((0,y.gf)(t)),"requestIdleCallback"in window?window.requestIdleCallback(()=>{w.A.logViewRestaurant(t)}):setTimeout(()=>{w.A.logViewRestaurant(t)},150),w.A.logRestaurantSupplyMetrics(t)),"requestIdleCallback"in window?window.requestIdleCallback(()=>{n&&j((0,y.UJ)(n)),a&&j((0,y.BK)(a)),o&&j((0,y.jL)(o))}):setTimeout(()=>{n&&j((0,y.UJ)(n)),a&&j((0,y.BK)(a)),o&&j((0,y.jL)(o))},150),j((0,y.IA)(v)),h&&j((0,y.MY)(h)),j((0,y.Vg)(_)),b&&j((0,y.hl)(b))},[j,t,n,a,o,h,b,_,v]),m()(t))?(0,r.jsx)(i.A,{}):C?(0,r.jsx)(i.A,{message:"系統åºé¯ï¼è«æ´½ç®¡çå¡ã"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.A,{ssrRestaurant:t}),(0,r.jsx)(u.A,{ssrRestaurant:t}),(0,r.jsx)(d.Ay,{ssrRestaurant:t,ssrMonthlyQuota:n,ssrPricingTable:a,ssrNavs:o,ssrAdvertisements:l,ssrRandomSeed:f,ssrCoupons:x}),(0,r.jsx)(c,{ssrRestaurant:t})]})}),x=e=>!e?.info||e.info.hide||e.info.active?e?.info?.redirect_type!==h.YQ.Permanent_301&&e?.info?.redirect_type!==h.YQ.Temporary_302?null:{redirect:{destination:(e.info.redirect_url||"/").replace("https://tw.eztable.com",""),permanent:e.info.redirect_type===h.YQ.Permanent_301}}:{redirect:{destination:"/",permanent:!1}}}
4,49364:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,h:()=>d});var r=n(37876),i=n(8859),a=n(5491),s=n(21652);n(14232);var o=n(61702),l=n(28143);let c=({ssrRestaurant:e})=>{let{msg:t}=(0,s.s)(),{locale:n}=(0,a.GV)("app"),l=o.A.formatLang(e?.langs,n),c=l?.name||"",u=l?.htmlTitle??"",g=u?t("meta_restaurant_title",{restaurantTitle:u}):t("meta_restaurant_default_title",{restaurantName:c}),p=e?.info?.meta_description||`${c}ï½${d(e)}`.replaceAll("\n","").substring(0,200),f=e?.info?.image[0]||"",m=e?.info?.hide&&!e?.info?.active;return(0,r.jsx)(i.A,{title:g,description:p,canonicalUrl:`https://tw.eztable.com/restaurant/${e.info.id}`,ogTitle:g,ogDescription:p,ogImage:f,htmlTitleVariables:e.info.htmlTitleVariables,robots:m?"noindex, follow":void 0})},d=e=>{let t=e?o.A.formatLang(e?.langs,l.gS.ZH_TW):{};return t?.highlight?.replace(/\/n/g,"").substring(0,200)??""}},52245:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(92949).A)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},65930:(e,t,n)=>{var r=n(79364),i=n(27136),a=n(68373),s=n(98825);e.exports=function(e,t,n){if(!s(n))return!1;var o=typeof t;return("number"==o?!!(i(n)&&a(t,n.length)):"string"==o&&t in n)&&r(n[t],e)}},75294:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(37876),i=n(14232),a=n(81539),s=n(26802),o=n(42078),l=n(38899),c=n(93268),d=n(25430),u=n(49364);let g=(0,i.memo)(e=>{let{ssrRestaurant:t}=e,n=(0,u.h)(t),i=t.langs.zh_TW,g=t?.info?.image??[],p=g.length>10?g.slice(0,10):g,f=i.opening_hours,m=f?.map(e=>{let[,t,n]=e.split("|");return{"@type":"OpeningHoursSpecification",dayOfWeek:(0,l.rW)(n).map(e=>e.key),opens:t.split("-")[0],closes:t.split("-")[1]}}),h=(0,d.Z)(i.tel)||i.tel,y=(0,o.l4)(t.info.id),w=(0,a._s)(t.info.id),_=w?(0,s.TA)(w.channelId,w.brandName):null,b={"@context":"https://schema.org","@type":"Restaurant",image:p,name:i.name,telephone:h,address:{"@type":"PostalAddress",streetAddress:i.address,addressLocality:i.city,addressCountry:"TW"},aggregateRating:{"@type":"AggregateRating",ratingValue:t.info.rating&&t.info.rating.avg?t.info.rating.avg:0,reviewCount:t.info.rating&&t.info.rating.review_count?t.info.rating.review_count:0},url:y,servesCuisine:i.cuisine_category,priceRange:i.price_range,acceptsReservations:!0,currenciesAccepted:t.info.currency||"TWD",paymentAccepted:["Credit Card"],geo:{"@type":"GeoCoordinates",latitude:Number(t.info.latitude),longitude:Number(t.info.longitude)},openingHoursSpecification:m,..._&&{parentOrganization:_}},x={"@context":"https://schema.org","@type":"Product",aggregateRating:{"@type":"AggregateRating",ratingValue:t.info.rating&&t.info.rating.avg?t.info.rating.avg:0,reviewCount:t.info.rating&&t.info.rating.review_count?t.info.rating.review_count:0},name:t.langs.zh_TW.name,image:p,description:n,sku:t.info.id,offers:{"@type":"Offer",url:y,availability:"https://schema.org/InStock",price:t.info.price3?t.info.price3:0,priceCurrency:"TWD",itemCondition:"https://schema.org/NewCondition",priceValidUntil:(0,l.Ay)().add(1,"year").format("YYYY-MM-DD"),shippingDetails:{"@type":"OfferShippingDetails",shippingRate:{"@type":"MonetaryAmount",value:"0",currency:"TWD"}},hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",applicableCountry:"TW",returnPolicyCategory:"https://schema.org/MerchantReturnNotPermitted"}}},v=!!t?.info?.rating,j=(t?.info?.price3??0)>0;return v?(0,r.jsxs)(r.Fragment,{children:[j&&(0,r.jsx)("script",{id:"schema-product",type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,c.I)(x)}}),(0,r.jsx)("script",{id:"schema-restaurant",type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,c.I)(b)}})]}):null})}},e=>{e.O(0,[672,8582,6282,7866,1158,8592,3143,3913,636,6593,8792],()=>e(e.s=17117)),_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.