1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="056754d2-dd84-442c-9277-fe629274a83c",e._sentryDebugIdIdentifier="sentry-dbid-056754d2-dd84-442c-9277-fe629274a83c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5767],{6067:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/coupons/code/[code]",function(){return t(58723)}])},58723:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSP:()=>T,default:()=>z});var n=t(49111),o=t(95132),s=t(39174),l=t(69711),r=t(71463),a=t(15745),d=t(83500),c=t(12436),g=t(8239),p=t(98721),h=t(94780),u=t(15126),x=t(69189);let m=({coupon:e})=>{let[i]=(0,p.Bd)(["coupons"]),t=(0,d.gf)(),{mutate:s}=(0,c.n)({mutationFn:()=>t.my.coupons.post({couponId:e.id})});(0,o.useEffect)(()=>{s()},[s]);let l=e=>null!=e?g.Y.formatDate(e,"short_no_day_of_week"):"",r=l(e.eligibleFrom),a=l(e.eligibleUntil),h=null==e.eligibleFrom&&null==e.eligibleUntil?i("coupons:eligibleDateNone"):`${r} ã ${a}`,m=e.image?.mediumUrl??e.landmark?.image?.mediumUrl;return(0,n.FD)("main",{css:Y,children:[(0,n.Y)("div",{css:b,children:i("coupons:showThisCouponToStaff")}),(0,n.Y)(u._,{css:w,src:m,alt:e.name,loading:"eager"}),(0,n.Y)("h1",{css:$,children:e.name}),(0,n.Y)("div",{css:_,children:e.description}),(0,n.FD)("div",{css:v,children:[(0,n.Y)("div",{css:k}),(0,n.Y)("div",{css:A}),(0,n.Y)("div",{css:H})]}),(0,n.FD)("div",{css:K,children:[(0,n.FD)("div",{css:y,children:[(0,n.Y)(x.IconTime,{css:D,"aria-hidden":!0}),i("coupons:eligibleDate")]}),(0,n.Y)("div",{css:F,children:h})]}),(0,n.FD)("div",{css:E,children:[(0,n.Y)(u._,{css:I,src:"/__v2__/images/logo_tamaki.svg",width:120,height:44,alt:i("coupons:tamaki")}),null!==e.landmark&&(0,n.Y)("div",{css:N,children:e.landmark.name})]})]})},f="#cf0010",Y=(0,h.AH)` 2 width: 100%; 3 max-width: 600px; 4 margin: 0 auto; 5`,b=(0,h.AH)` 6 height: 40px; 7 margin: ${a.YK["m.px"]}; 8 overflow: hidden; 9 font-size: ${a.J.m}; 10 font-weight: bold; 11 line-height: 40px; 12 color: #fff; 13 text-align: center; 14 background-color: ${f}; 15 border-radius: 20px; 16`,w=(0,h.AH)` 17 width: 100%; 18`,$=(0,h.AH)` 19 margin: ${a.YK["xs.px"]} ${a.YK["xs.px"]} 0; 20 font-size: ${a.J.xl}; 21 font-weight: bold; 22 line-height: 1.5; 23 color: ${f}; 24 text-align: center; 25`,_=(0,h.AH)` 26 margin: ${a.YK["4xs.px"]} ${a.YK["xs.px"]} 0; 27 font-size: ${a.J.s}; 28 text-align: center; 29 white-space: pre-wrap; 30`,v=(0,h.AH)` 31 position: relative; 32 height: 10px; 33 margin-top: ${a.YK["s.px"]}; 34`,k=(0,h.AH)` 35 position: absolute; 36 top: -2.5px; 37 left: 0; 38 width: 5px; 39 height: 10px; 40 background: #000; 41 border-radius: 0% 100% 100% 0% / 50%; 42`,A=(0,h.AH)` 43 height: 4px; 44 margin: 0 ${a.YK["2xs.px"]}; 45 border-bottom: dotted 4px #000; 46`,H=(0,h.AH)` 47 position: absolute; 48 top: -2.5px; 49 right: 0; 50 width: 5px; 51 height: 10px; 52 background: #000; 53 border-radius: 100% 0 0 100% / 50%; 54`,K=(0,h.AH)` 55 margin: ${a.YK["s.px"]} ${a.YK["xs.px"]} 0; 56`,y=(0,h.AH)` 57 font-size: ${a.J.m}; 58 font-weight: bold; 59 line-height: 1; 60 color: ${f}; 61 text-align: center; 62`,D=(0,h.AH)` 63 width: 16px; 64 height: 16px; 65 margin-right: ${a.YK["4xs.px"]}; 66 vertical-align: bottom; 67`,F=(0,h.AH)` 68 margin: ${a.YK["xs.px"]} ${a.YK["xs.px"]} 0; 69 font-size: ${a.J.l}; 70 font-weight: bold; 71 color: ${f}; 72 text-align: center; 73`,E=(0,h.AH)` 74 margin-top: ${a.YK["m.px"]}; 75`,I=(0,h.AH)` 76 display: block; 77 margin: 0 auto; 78`,N=(0,h.AH)` 79 padding: ${a.YK["l.px"]} ${a.YK["xs.px"]}; 80 margin-top: ${a.YK["l.px"]}; 81 font-size: ${a.J.l}; 82 font-weight: bold; 83 line-height: 1.5; 84 text-align: center; 85 background-color: ${"#ececec"}; 86`;var T=!0;let z=({coupon:e,error:i})=>i?(0,n.Y)(r.w7,{children:(0,n.Y)(s.e,{status:i.status})}):null==e?(0,n.Y)(r.w7,{children:(0,n.Y)(s.e,{status:404})}):(0,n.FD)(o.Fragment,{children:[(0,n.Y)(l.p,{title:e.name,noindex:!0}),(0,n.Y)(m,{coupon:e})]})},71463:(e,i,t)=>{"use strict";t.d(i,{Cc:()=>n.C,Y$:()=>s.Y,w7:()=>o.w}),t(75554),t(3348);var n=t(35114);t(10005);var o=t(85810);t(58972),t(93217);var s=t(82310);t(15665),t(4839),t(71038)}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=6067)),_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.