PageSourceSearch

https://www.gimmemorethaimd.com/_next/static/chunks/pages/quickly-order/app/app-4b4397406639b28f.js

js gimmemorethaimd.com collected 2026-09-24 11:05:18 UTC 5,836 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66216],{63190:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/quickly-order/app/app",function(){return n(44391)}])},50636:function(e,a){"use strict";a.Z={getAppInfo:"/api/referral/referral-info",getAppHref:"/api/gift/card/query-redeem-short-link"}},44391:function(e,a,n){"use strict";n.r(a);var o=n(85893),i=n(67294),l=n(10367),d=n.n(l),s=n(25142),t=n(76213),r=n(24344),p=n(17333),_=n(60753),c=n.n(_),u=n(88737),v=n(50636);a.default=()=>{var e,a,n,l,_,m;let g=(0,r.hU)(),{appConfig:x}=(0,r.s6)(),[f,h]=(0,i.useState)(!1),[j,N]=(0,i.useState)(!1),w=(0,t.Z)(),{from:b,orgId:k,id:S}=w.query,P=(0,r.QT)({url:v.Z.getAppHref,method:"get"}),y=async()=>{if(!g.isPc&&"mail"===b&&S&&(k||(null==x?void 0:x.defaultSaleChannelId)))try{let{data:e}=await P.send({giftCardId:S});w.push(e)}catch(e){console.error(e)}};return(0,i.useEffect)(()=>{let e=navigator.userAgent.toLowerCase(),a=e.indexOf("applewebkit")>-1&&-1==e.indexOf("android")&&-1==e.indexOf("adr"),n=e.indexOf("android")>-1||e.indexOf("adr")>-1&&-1==e.indexOf("applewebkit");a&&h(a),n&&N(n)},[]),(0,i.useEffect)(()=>{y()},[]),(0,o.jsxs)("div",{className:c().q_app,children:[(0,o.jsx)(s.$4,{title:(0,u.aR)("App")}),(0,o.jsx)(p.Z,{appConfig:x,list:x.sloganList,hidden:!0}),(0,o.jsx)("div",{className:c().download,children:(0,o.jsx)("div",{className:c().container,children:g.isPc?(0,o.jsxs)("div",{className:c().pc_download,children:[(0,o.jsx)("div",{className:c().qrcode,children:(0,o.jsx)("img",{src:null===(e=x.app)||void 0===e?void 0:e.downloadQRImageLink,alt:""})}),(0,o.jsxs)("div",{className:c().icons,children:[(0,o.jsxs)("p",{children:["Scan QR-code to download",(0,o.jsx)("small",{children:"or view on App Store / Google Play"})]}),(0,o.jsx)("a",{className:c().icon_apple,href:null===(a=x.app)||void 0===a?void 0:a.appStoreLink,target:"_blank"}),(0,o.jsx)("a",{className:c().icon_google,href:null===(n=x.app)||void 0===n?void 0:n.googlePlayLink,target:"_blank"})]})]}):(0,o.jsxs)("div",{className:c().app_icon,children:[(0,o.jsx)("img",{src:null===(l=x.app)||void 0===l?void 0:l.appIconUrl,alt:""}),(0,o.jsx)("div",{})]})})}),g.isPc?(0,o.jsx)(s.Ar.Footer,{}):(0,o.jsxs)("div",{className:c().buttons,children:[f&&(0,o.jsxs)(d(),{block:!0,className:c().button,href:null==x?void 0:null===(_=x.app)||void 0===_?void 0:_.appStoreLink,target:"_blank",children:[(0,o.jsx)("img",{src:"/icon_ios.svg",alt:""}),"Download App"]}),j&&(0,o.jsxs)(d(),{block:!0,className:c().button,href:null==x?void 0:null===(m=x.app)||void 0===m?void 0:m.googlePlayLink,target:"_blank",children:[(0,o.jsx)("img",{src:"/icon_android.svg",alt:""}),"Download App"]})]})]})}},17333:function(e,a,n){"use strict";var o=n(85893),i=n(67294),l=n(24344),d=n(55251),s=n.n(d);a.Z=e=>{var a,n,d,t,r,p,_,c,u;let{appConfig:v,list:m,hidden:g,type:x="app"}=e,f=(0,l.hU)();(0,i.useMemo)(()=>{var e,a,n;if(!v)return;if(!(null===(e=v.app)||void 0===e?void 0:e.appName))return v.fullName;let o=null===(a=v.app)||void 0===a?void 0:a.appName.replace(/\s/g,"");return 0===o.length?v.fullName:null===(n=v.app)||void 0===n?void 0:n.appName},[v]);let h=(null===(a=v.app)||void 0===a?void 0:a.downloadSlogan)||"Earn points with every purchase",j=(null===(n=v.app)||void 0===n?void 0:n.downloadSubSlogan)||"Add your points and redeem for delicious rewards";return(0,o.jsx)("div",{className:"".concat(s().shop," ").concat(g&&s().hidden),style:{backgroundImage:"url(".concat(null==v?void 0:v.backgroundLogoUrl,")")},children:(0,o.jsxs)("div",{className:"".concat(s().shop_container),children:[(0,o.jsxs)("div",{className:s().text,children:[f.isPc&&(0,o.jsxs)("div",{className:s().text_title,children:[(0,o.jsx)("img",{src:null===(d=v.app)||void 0===d?void 0:d.appIconUrl,alt:""}),(null==v?void 0:null===(t=v.app)||void 0===t?void 0:t.appName)||(null==v?void 0:v.brandName)]}),(0,o.jsx)("div",{className:s().text_detail,children:"app"===x?(0,o.jsxs)(o.Fragment,{children:[h&&(0,o.jsx)("p",{className:s().download_slogan,children:h}),j&&(0,o.jsx)("div",{className:s().download_sub_slogan,dangerouslySetInnerHTML:{__html:j}})]}):(0,o.jsxs)(o.Fragment,{children:[(null===(r=v.app)||void 0===r?void 0:r.referralSlogan)&&(0,o.jsx)("p",{className:s().referral_slogan,children:null===(p=v.app)||void 0===p?void 0:p.referralSlogan}),(null===(_=v.app)||void 0===_?void 0:_.invitationContent)&&(0,o.jsx)("p",{className:s().invitation_content,children:null===(c=v.app)||void 0===c?void 0:c.invitationContent}),null==m?void 0:m.map((e,a)=>(0,o.jsx)("div",{className:"".concat(s().referred_item," ").concat(0===a?s().first_referred:""),dangerouslySetInnerHTML:{__html:e}},a))]})})]}),(0,o.jsx)("div",{className:s().pic,children:(0,o.jsx)("img",{src:null==v?void 0:null===(u=v.app)||void 0===u?void 0:u.appPhonePicUrl,alt:""})})]})})}},60753:function(e){e.exports={q_app:"app_q_app__ndeyW",download:"app_download__Wv7hm",container:"app_container__L8UAl",pc_download:"app_pc_download__LYvo3",qrcode:"app_qrcode__UpM_8",icons:"app_icons__5wNPn",icon_apple:"app_icon_apple__ppmUq",icon_google:"app_icon_google__AYIbn",app_icon:"app_app_icon__CXIx6",buttons:"app_buttons__RtCWX","text-animation":"app_text-animation__cPo7W"}},55251:function(e){e.exports={shop:"mods_shop__k5Wmv",shop_container:"mods_shop_container__I0Gne",text:"mods_text__5p69e",text_title:"mods_text_title__LPpd4",text_detail:"mods_text_detail__r2Hgj",pic:"mods_pic__2ZsSv",hidden:"mods_hidden__5ZejW",referred_item:"mods_referred_item__j7KWm",first_referred:"mods_first_referred__uG5hd",referral_slogan:"mods_referral_slogan__zg_Wo",invitation_content:"mods_invitation_content__CoTMf",download_slogan:"mods_download_slogan__S_eXj",download_sub_slogan:"mods_download_sub_slogan__lcBPj","text-animation":"mods_text-animation___iWrs"}}},function(e){e.O(0,[49774,92888,40179],function(){return e(e.s=63190)}),_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.