PageSourceSearch

https://www.drinkies.sg/_next/static/chunks/pages/voucher-products/[handle]-b62a39a43432288c.js

js drinkies.sg collected 2026-10-09 22:24:02 UTC 7,152 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5024],{24692:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/voucher-products/[handle]",function(){return a(45727)}])},45727:(e,s,a)=>{"use strict";a.r(s),a.d(s,{__N_SSP:()=>y,default:()=>N});var t=a(37876),l=a(62595),i=a(69065),r=a(7943),n=a(79539),c=a(87966),d=a(61372),o=a(90825),m=a(66400),x=a(89099),h=a(42252),p=a(70455),j=a(63340),g=a(18847);let f=a.n(g)()(()=>Promise.all([a.e(8279),a.e(4311),a.e(1266),a.e(264),a.e(2899),a.e(9821),a.e(9086),a.e(2543),a.e(7773),a.e(5886)]).then(a.bind(a,17369)),{loadableGenerated:{webpack:()=>[17369]}}),u=async e=>await l.jS.products.list({handle:e}).then(e=>{let{products:s}=e;return s[0]}),v=e=>{let{notFound:s}=e,{t:a}=(0,p.Bd)("common"),{query:l,isFallback:o,replace:g}=(0,x.useRouter)(),v="string"==typeof l.handle?l.handle:"",{state:y,close:N,importantNoteContent:w}=(0,r.W)(),{data:b,isError:A,isLoading:k,isSuccess:_}=(0,h.I)(["get_product",v],()=>u(v),{enabled:v.length>0,keepPreviousData:!0});if(s)return i.KJ&&g("/404"),(0,t.jsx)(m.A,{});if(o||k||!b)return(0,t.jsx)(m.A,{});if(A&&g("/404"),_){var D;let e={items:[{title:a("common.home"),href:"/starbar",className:"text-secondary"},{title:a("starbar.vouchers.starBarVouchersTitle"),href:"/voucher-listing",className:"text-secondary"},{title:null!=(D=null==b?void 0:b.title)?D:""}]};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.A,{description:b.description,title:b.title,image:b.thumbnail}),(0,t.jsx)(j.A,{list:e,hiddenDefaultHomeItem:!0}),(0,t.jsx)("div",{className:"min-h-[calc(100vh-260px)]",children:(0,t.jsx)(f,{product:b})}),(0,t.jsxs)(n.A,{isOpen:y,close:N,children:[(0,t.jsx)(n.A.Title,{children:(0,t.jsx)("span",{className:"block text-[1.5rem] text-center font-bold",children:a("common.importantNote")})}),(0,t.jsx)(n.A.Body,{children:(0,t.jsx)("div",{className:"mt-2 mb-6 text-center",children:w})}),(0,t.jsx)(n.A.Footer,{children:(0,t.jsx)(d.A,{className:"!bg-primary-light !w-40 !text-white !border-primary-light min-h-0 rounded-xl mx-auto",onClick:N,children:"Ok"})})]})]})}return(0,t.jsx)(t.Fragment,{})};v.getLayout=e=>(0,t.jsx)(o.A,{children:e});var y=!0;let N=v},50101:(e,s,a)=>{"use strict";a.d(s,{A:()=>l});var t=a(37876);let l=()=>(0,t.jsx)("div",{className:"w-full min-h-[50px] px-5 py-[10px] bg-secondary-100"})},63340:(e,s,a)=>{"use strict";a.d(s,{A:()=>n});var t=a(37876),l=a(48230),i=a.n(l);a(14232);var r=a(70455);let n=e=>{var s;let{list:a,hiddenDefaultHomeItem:l=!1}=e,{t:n}=(0,r.Bd)("common");return(0,t.jsx)("div",{className:"w-full max-w-7xl mx-auto hidden regular:block regular:py-6 regular:px-4 ",children:(0,t.jsxs)("ul",{className:"flex text-tertiary",children:[!l&&(0,t.jsx)(i(),{href:"/",passHref:!0,children:(0,t.jsx)("span",{className:"text-secondary after:content-['/'] after:mx-1",children:n("common.home")})}),null==a||null==(s=a.items)?void 0:s.map((e,s)=>e.title?e.href?(0,t.jsx)(i(),{href:e.href,passHref:!0,className:null==e?void 0:e.className,children:(0,t.jsx)("span",{className:"text-dark-gray after:content-['/'] after:mx-1",children:e.title})},s):(0,t.jsx)("li",{children:e.title},e.title):null)]})})}},66400:(e,s,a)=>{"use strict";a.d(s,{A:()=>n});var t=a(37876),l=a(28066),i=a(50101);let r=()=>(0,t.jsxs)("div",{className:"flex flex-col animate-pulse w-full",children:[(0,t.jsx)("div",{className:"flex items-center gap-x-6 border-b border-secondary-100 pb-2",children:(0,l.A)(2).map(e=>(0,t.jsx)("div",{className:"h-6 pb-2 w-12 bg-secondary-100 flex-1 basis-0"},e))}),(0,t.jsx)("div",{className:"py-8",children:(0,t.jsx)("div",{className:"grid grid-cols-2 gap-x-8",children:(0,l.A)(2).map(e=>(0,t.jsx)("div",{className:"flex flex-col gap-y-4",children:(0,l.A)(3).map(e=>(0,t.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,t.jsx)("div",{className:"bg-secondary-100 h-4 w-32"}),(0,t.jsx)("div",{className:"bg-secondary-100 h-2 w-16"})]},e))},e))})})]}),n=()=>(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"content-container flex flex-col small:flex-row small:items-start py-6 relative",children:[(0,t.jsx)("div",{className:"flex flex-col gap-y-8 w-full",children:(0,t.jsxs)("div",{className:"flex items-start relative",children:[(0,t.jsx)("div",{className:"hidden small:flex flex-col gap-y-4 sticky top-20",children:(0,l.A)(2).map(e=>(0,t.jsx)("div",{className:"h-14 w-12 bg-secondary-100"},e))}),(0,t.jsx)("div",{className:"flex flex-col flex-1 small:mx-16 gap-y-4",children:(0,l.A)(2).map(e=>(0,t.jsx)("div",{className:"relative aspect-[29/34] w-full bg-secondary-100"},e))})]})}),(0,t.jsxs)("div",{className:"small:sticky small:top-20 w-full py-8 small:py-0 small:max-w-[344px] medium:max-w-[400px] flex flex-col gap-y-12",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"flex flex-col gap-y-12 lg:max-w-[500px] mx-auto",children:(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,t.jsx)("div",{className:"h-4 w-32 bg-secondary-100"}),(0,t.jsx)("div",{className:"h-12 w-52 bg-secondary-100"}),(0,t.jsx)("div",{className:"flex flex-col gap-y-2 mt-4",children:(0,l.A)(4).map(e=>(0,t.jsx)("div",{className:"h-4 w-62 bg-secondary-100"},e))}),(0,t.jsxs)("div",{className:"my-8 flex flex-col gap-y-6",children:[(0,t.jsx)("div",{className:"bg-secondary-100 h-6 w-16"}),(0,t.jsx)("div",{className:"grid grid-cols-3 lg:grid-cols-6 gap-2",children:(0,l.A)(4).map(e=>(0,t.jsx)("div",{className:"bg-secondary-100 w-[50px] h-[50px]"},e))})]}),(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)("div",{className:"bg-secondary-100 h-9 w-20"})}),(0,t.jsx)(i.A,{})]})})})}),(0,t.jsx)(r,{})]})]})})},87966:(e,s,a)=>{"use strict";a.d(s,{A:()=>r});var t=a(37876),l=a(77328),i=a.n(l);a(14232);let r=e=>{let{title:s,description:a,image:l,page:r="",hideAppName:n=!1}=e,c=window.location.origin?window.location.origin:"",d="".concat(c,"/social-sharing-banners_20231127.png"),o="".concat(s," | OMS");return"oms"!==r&&(o=n?s||"":"Drinkies"===s?"Drinkies - Fresh beer delivered to your doorstep":"".concat(s," - Drinkies")),(0,t.jsxs)(i(),{children:[(0,t.jsx)("title",{children:o}),(0,t.jsx)("meta",{name:"name",content:o}),a&&(0,t.jsx)("meta",{name:"description",content:a}),l&&(0,t.jsx)("meta",{name:"image",content:l}),(0,t.jsx)("link",{rel:"icon",href:"oms"===r?"/distributor/favicon.ico":"/favicon.ico"}),(0,t.jsx)("meta",{property:"og:title",content:o}
1,"ogtitle"),(0,t.jsx)("meta",{property:"og:type",content:"website"}),a&&(0,t.jsx)("meta",{property:"og:description",content:a},"ogdesc"),(0,t.jsx)("meta",{property:"og:image",content:d}),(0,t.jsx)("meta",{property:"og:image:url",content:d}),(0,t.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,t.jsx)("meta",{property:"og:image:height",content:"630"}),(0,t.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,t.jsx)("meta",{name:"twitter:site",content:"@drinkies"}),(0,t.jsx)("meta",{name:"twitter:creator",content:"@drinkies"}),(0,t.jsx)("meta",{name:"twitter:title",content:o}),a&&(0,t.jsx)("meta",{name:"twitter:description",content:a}),(0,t.jsx)("meta",{name:"twitter:image",content:d})]})}}},e=>{e.O(0,[3371,888,3193,8839,7892,1381,825,636,6593,8792],()=>e(e.s=24692)),_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.