PageSourceSearch

https://eposqr.com/_next/static/chunks/pages/user/history/index-old-ee03877ec46f19e8afbe.js

js eposqr.com collected 2026-10-07 11:43:53 UTC 27,612 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[86],{"+Isj":function(e,t,n){"use strict";var a=n("wx14"),o=n("Ff2n"),r=n("q1tI"),i=n("iuhU"),l=n("H2TA"),c=n("kKU3"),s=r.forwardRef((function(e,t){var n=e.children,l=e.classes,s=e.className,d=e.invisible,u=void 0!==d&&d,p=e.open,m=e.transitionDuration,f=e.TransitionComponent,b=void 0===f?c.a:f,g=Object(o.a)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return r.createElement(b,Object(a.a)({in:p,timeout:m},g),r.createElement("div",{className:Object(i.a)(l.root,s,u&&l.invisible),"aria-hidden":!0,ref:t},n))}));t.a=Object(l.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(s)},"1Rcx":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/history/index-old",function(){return n("1VWL")}])},"1VWL":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return xe}));var a=n("SLcR"),o=n("bXiM"),r=n("Ji2X"),i=n("wb2y"),l=n("PsDL"),c=n("eD//"),s=n("tVbE"),d=n("IsqK"),u=n("R/WZ"),p=n("lO0E"),m=n("ofer"),f=n("gLOz"),b=n.n(f),g=n("E3hX"),y=n.n(g),h=n("Bo60"),v=n.n(h),O=n("SpDg"),x=n("sWYD"),j=n("nOHt"),N=n("q1tI"),k=n.n(N),C=n("/MKj"),P=n("kKAo"),w=n("/EAt"),S=n("Uf6+"),E=n("3PeG"),I=n("nCZa"),T=n("xMA7"),F=n("Imu7"),D=n("sRsu"),B=n("qG76"),W=n("hlFM"),A=n("B7jU"),z=n.n(A),R=n("Fu0n"),L=k.a.createElement;const M=Object(u.a)(()=>({mainContainer:{backgroundColor:"transparent",padding:"0px",margin:"auto"},table:{width:"100%"},appBar:{position:"sticky",backgroundColor:"transparent"},tableFooter:{padding:"3px 6px",borderBottom:"none",fontSize:"12pt",color:"#171717"}}));var q=function(e){const t=M(),n=e.historyOrder.order,a=e.historyOrder.outletName,o=e.historyOrder.areaName,i=e.historyOrder.tableName;return L(r.a,{className:t.mainContainer},L(I.a,{style:{boxShadow:"none",borderRadius:"0px",marginBottom:"0px"},component:P.a},L(w.a,{"aria-label":"spanning table"},L(F.a,null,L(D.a,null,L(B.c,{align:"left",colSpan:3,style:{height:"60px",fontSize:"16px",background:"#F4FAFF"}},L(m.a,{variant:"subtitle1",color:"primary",style:{textTransform:"uppercase"}},L(W.a,{fontWeight:"fontWeightBold",fontSize:18},n.orderServiceType)),L(m.a,{variant:"subtitle1"},L(W.a,{fontWeight:"fontWeightRegular",fontSize:18},a," / ",o," / ",i))))),L(S.a,null,n.lineItems.map(e=>L(B.d,{key:e.id},L(B.c,{align:"left",component:"th",scope:"row",style:{width:60}},e.quantity," x"),L(B.c,{align:"left"},L(m.a,{component:"span",style:{fontWeight:"bold",fontSize:"14px"}},e.name),L(m.a,{component:"p",color:"primary"},e.adjustmentApplied?L(W.a,{component:"span"},L(z.a,{fontSize:"inherit"}),e.adjustmentApplied.name||""):null),e.isAddOns?L(W.a,{component:"ul",spacing:0,margin:0,paddingLeft:2},e.properties.addOnsDataItem.filter(e=>0!==e.quantity).map((e,t)=>{let n="";return e.productAddOnItems.forEach(e=>{0!==e.quantity&&(n+=e.name+" / ")}),n=n.substr(0,n.length-3),n=0===n.length?"":e.name+": "+n,n=0===n.length?null:L(W.a,{key:t,component:"li"},n),n})):null,e.isSetMenu?L(W.a,{component:"ul",spacing:0,margin:0,paddingLeft:2},e.properties.cartSeparatorItems.map((e,t)=>L(W.a,{key:t,component:"li"},e.name))):null,e.note?L(m.a,{component:"p",style:{color:"rgba(0, 0, 0, 0.54)",fontSize:"8pt",marginTop:"10px"}},"Special: ",e.note):null),L(B.c,{align:"right",style:{fontWeight:"bold",fontSize:"14px"}},L(R.a,{value:e.originalTotal}))))),L(T.a,null,L(D.a,null,L(E.a,{className:t.tableFooter,style:{paddingTop:12},colSpan:2,align:"right"},"Subtotal (",n.totalItems," items)"),L(E.a,{className:t.tableFooter,align:"right",style:{paddingTop:12}},L(W.a,{fontWeight:"fontWeightBold"},L(R.a,{value:n.displayLineItemTotal})))),0===n.promotionsTotal?null:L(D.a,null,L(E.a,{className:t.tableFooter,colSpan:2,align:"right",style:{color:"#ff6323"}},"Promotion"),L(E.a,{className:t.tableFooter,align:"right",style:{color:"#ff6323"}},L(W.a,{fontWeight:"fontWeightBold"},L(R.a,{value:n.displayPromotionTotal})))),0===n.serviceChargeTotal?null:L(D.a,null,L(E.a,{className:t.tableFooter,colSpan:2,align:"right"},"Service Charge"),L(E.a,{className:t.tableFooter,align:"right"},L(W.a,{fontWeight:"fontWeightBold"},L(R.a,{value:n.serviceChargeTotal})))),0===n.shippingFeeAmount?null:L(D.a,null,L(E.a,{className:t.tableFooter,colSpan:2,align:"right"},"Shipping Fee"),L(E.a,{className:t.tableFooter,align:"right"},L(W.a,{fontWeight:"fontWeightBold"},L(R.a,{value:n.shippingFeeAmount})))),L(D.a,null,L(E.a,{className:t.tableFooter,colSpan:2,align:"right"},"Tax Exclusive"),L(E.a,{className:t.tableFooter,align:"right"},L(W.a,{fontWeight:"fontWeightBold"},L(R.a,{value:n.taxExclusive})))),L(D.a,{style:{height:"45px",backgroundColor:"#F4FAFF"}},L(E.a,{className:t.tableFooter,colSpan:2,align:"right"},L(W.a,{fontWeight:"fontWeightRegular",fontSize:22},"Order Total")),L(E.a,{className:t.tableFooter,align:"right"},L(W.a,{fontWeight:"fontWeightBold",fontSize:22},L(R.a,{value:n.grandTotal})))),(null===n||void 0===n?void 0:n.taxInclusive)>0&&L(D.a,null,L(E.a,{style:{color:"#858F89"},className:t.tableFooter,colSpan:2,align:"right"},"Tax Inclusive"),L(E.a,{style:{color:"#858F89"},className:t.tableFooter,align:"right"},L(W.a,{fontWeight:"fontWeightBold"},L(R.a,{value:n.taxInclusive}))))))))},H=n("wx14"),V=n("rePB"),_=n("r9w1"),G=n("ZGBi"),U=n("VmPI"),X=n("Ff2n"),$=n("iuhU"),K=n("NqtD"),Z=n("H2TA"),J=n("G7As"),Y=n("bfFb"),Q=N.forwardRef((function(e,t){var n=e.classes,a=e.className,o=e.color,r=void 0===o?"primary":o,i=e.component,l=void 0===i?"a":i,c=e.onBlur,s=e.onFocus,d=e.TypographyClasses,u=e.underline,p=void 0===u?"hover":u,f=e.variant,b=void 0===f?"inherit":f,g=Object(X.a)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),y=Object(J.a)(),h=y.isFocusVisible,v=y.onBlurVisible,O=y.ref,x=N.useState(!1),j=x[0],k=x[1],C=Object(Y.a)(t,O);return N.createElement(m.a,Object(H.a)({className:Object($.a)(n.root,n["underline".concat(Object(K.a)(p))],a,j&&n.focusVisible,"button"===l&&n.button),classes:d,color:r,component:l,onBlur:function(e){j&&(v(),k(!1)),c&&c(e)},onFocus:function(e){h(e)&&k(!0),s&&s(e)},ref:C,variant:b},g))})),ee=Object(Z.a)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(Q),te=n("ADg1"),ne=n("cVXz"),ae=n("jjAL"),oe=n("GE9s"),re=n("KZYA"),ie=n("UGp+"),le=n("wyBh"),ce=n("Nsao"),se=k.a.createElement;function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?de(Object(n),!0).forEach((function(t){Object(V.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const pe=Object(u.a)(e=>({root:{width:"100%",maxWidth:"1024px",padding:"5px"},button:{float:"center",color:"white",textTransform:"none",textAlign:"center",width:"240px"},form:{padding:"0 15px"},formControl:{marginRight:e.spacing(1),minWidth:90},typographyOutlet:{margin:"20px 0"},typographyTenant:{margin:"35px 0px 5px"},tenantName:{paddingRight:"10px",fontSize:"14pt",fontWeight:"bold",color:"black",display:"inline",flexWrap:"wrap"},tenantDescription:{fontSize:"14pt",fontWeight:"normal",color:"black",display:"inline",flexWrap:"wrap"},checkbox:{marginRight:10,transform:"scale(1.5)"},actionBtn:{margin:"20px auto",display:"flex",alignItems:"center",justifyContent:"center"},skipBtn:{marginLeft:"30px",textAlign:"center",textDecoration:"underline"}})),me=ie.c({phoneNumber:ie.e().required("Phone number must not be empty").matches(le.Ab,"Phone number is invalid").length(le.ib,"Phone number is invalid"),checkAgree:ie.a().oneOf([!0],"Please check as agreeing")});var fe=function(e){var t;const n=pe(),{phoneNumber:a,onConfirmPhoneNumber:o}=e,{0:i,1:l}=Object(N.useState)(""),{0:c,1:s}=Object(N.useState)(""),{0:d,1:u}=Object(N.useState)(""),{0:p,1:f}=Object(N.useState)(!0),b=Object(C.b)(),g=Object(C.c)(e=>e.config.userProfile),y=Object(C.c)(e=>e.config.storeProfile),{control:h,handleSubmit:v,formState:O}=Object(oe.f)({resolver:Object(re.a)(me),mode:"onChange"});return Object(N.useEffect)(()=>
1{l(g.tenantName),s(g.outletName),u(g.tableName);const e=y.phoneNumber||"";if(8===(null===e||void 0===e?void 0:e.length)){const e=ue(ue({},y),{},{phoneNumberOption:""});b(Object(ce.f)(e))}const t=y.phoneNumberOption||"";f(t!==le.mb)},[]),se(r.a,{className:n.root,component:"main",maxWidth:"xs"},se(P.a,{className:n.root},se("form",{className:n.form,onSubmit:v(e=>{o(e.phoneNumber)})},se(m.a,{variant:"h4",align:"center",color:"primary",className:n.typographyOutlet,gutterBottom:!0},se(W.a,null,c,"/",d)),se(m.a,{variant:"h5",align:"center",gutterBottom:!0},se(W.a,null,"Please input your phone number")),se(m.a,{variant:"subtitle2",align:"center",gutterBottom:!0},se(te.a,{variant:"outlined",className:n.formControl},se(ne.a,{value:null!==(t=null===g||void 0===g?void 0:g.countryPhoneCode)&&void 0!==t?t:""},se(ae.a,{value:null===g||void 0===g?void 0:g.countryPhoneCode},se("em",null,null===g||void 0===g?void 0:g.countryPhoneCode)))),se(oe.a,{name:"phoneNumber",control:h,defaultValue:a||"",render:e=>{var t;let{field:n,fieldState:a}=e;return se(_.a,Object(H.a)({style:{width:"auto"},placeholder:"Phone Number",variant:"outlined",error:a.invalid,helperText:null===(t=a.error)||void 0===t?void 0:t.message},n))}})),se(m.a,{variant:"subtitle1",align:"left",className:n.typographyTenant,gutterBottom:!0},se(W.a,{className:n.tenantName},i),se(W.a,{className:n.tenantDescription},"may collect, use and disclose your personal data, which you have provided in this form, for providing marketing material that you have agreed to receive, in accordance with the Personal Data Protection Act 2012 and our data protection policy.")),se(oe.a,{name:"checkAgree",control:h,defaultValue:!1,render:e=>{let{field:t}=e;return se(G.a,{label:"Yes, I agree.",control:se(U.a,Object(H.a)({className:n.checkbox,name:"checkedB",color:"primary"},t))})}}),se(W.a,{className:n.actionBtn},se(B.b,{type:"submit",className:n.button,disabled:!O.isValid},"Confirm"),p&&se(ee,{component:"button",color:"secondary",align:"center",className:n.skipBtn,onClick:()=>{o("00000000")}},"Skip")))))},be=n("LBXH"),ge=n("nYGq"),ye=n("VH6O"),he=n("P1d9"),ve=k.a.createElement;const Oe=Object(u.a)(e=>({mainContainer:{backgroundColor:"transparent",padding:"0px",margin:"auto"},root:{width:"100%",backgroundColor:e.palette.background.paper},item:{width:"100%",backgroundColor:e.palette.background.paper},iconDot:{width:"5px",height:"5px",marginTop:"2px",marginBottom:"2px",marginLeft:"10px",marginRight:"10px"},typoInline:{textTransform:"capitalize",display:"inline"},typoInlineConfirmed:{textTransform:"capitalize",display:"inline",color:e.palette.secondary.main},typoInlineProcessing:{textTransform:"capitalize",display:"inline",color:e.palette.orange.main}}));function xe(){const e=Oe(),t=Object(j.useRouter)(),{0:n,1:u}=Object(N.useState)({}),{0:f,1:g}=Object(N.useState)(!1),{0:h,1:P}=Object(N.useState)(!1),{0:w,1:S}=Object(N.useState)(""),E=Object(C.c)(e=>e.config.userProfile),I=Object(C.c)(e=>e.config.storeProfile),{historyOrders:T,isLoading:F}=Object(ge.G)(w,null===I||void 0===I?void 0:I.outletId,null===I||void 0===I?void 0:I.tableId),D=e=>{u(e),g(!0)};return Object(N.useEffect)(()=>{E.phoneNumber?S(E.phoneNumber):P(!0)},[]),ve(k.a.Fragment,null,ve(r.a,{className:e.mainContainer},ve(o.a,{position:"sticky",style:{backgroundColor:"white",flexGrow:1}},ve(p.a,{variant:"dense",style:{width:"100%"}},ve(l.a,{onClick:()=>t.replace(he.A).then(()=>console.log("Go to user page")),edge:"start",color:"secondary","aria-label":"back"},ve(b.a,null)),ve(m.a,{color:"primary",component:"span",variant:"h6",align:"center",style:{width:"85%"}},"Today's Orders"))),ve(c.a,{className:e.root},!F&&(null===T||void 0===T?void 0:T.length)>0?T.map((t,n)=>ve(k.a.Fragment,{key:n},ve(i.a,null),ve(s.a,{onClick:()=>D(t)},ve(d.a,{primary:ve(k.a.Fragment,null,ve(m.a,{component:"span",variant:"body2",style:{margin:"0px 0px 0px 5px"},className:e.typoInline,color:"textPrimary"},Object(x.a)(new Date(t.order.closedAt),"dd/MM/yyyy HH:mm")),ve(v.a,{className:e.iconDot}),ve(m.a,{component:"span",variant:"caption",className:"confirmed"===t.order.posStatus.toLowerCase()?e.typoInlineConfirmed:e.typoInlineProcessing},t.order.posStatus)),secondary:ve(k.a.Fragment,null,ve(m.a,{component:"span",style:{fontWeight:"bold",margin:"5px"},variant:"body1",color:"error"},t.order.orderServiceType),ve(m.a,{component:"span",style:{textTransform:"uppercase",fontWeight:"bold",margin:"5px",display:"block"},variant:"body1",color:"primary"},t.order.orderNo),ve(m.a,{component:"span",style:{margin:"5px",display:"block"},variant:"body2",color:"textPrimary"},t.outletName," / ",t.areaName," / ",t.tableName),ve(m.a,{component:"span",style:{fontWeight:"bold",margin:"0px 0px 0px 5px",display:"inline"},variant:"body2",color:"textPrimary"},t.order.lineItems?t.order.lineItems.length:0," Item(s)"),ve(v.a,{className:e.iconDot}),t.order.payments&&t.order.payments.length>0?t.order.payments.map((e,t)=>ve(m.a,{component:"span",key:t,style:{fontWeight:"bold",display:"inline"},variant:"body2",color:"textPrimary"},"$",e.attributes.tendered," (",e.attributes.payment_option_name,")")):ve(m.a,{component:"span",style:{fontWeight:"bold",display:"inline"},variant:"body2",color:"textPrimary"},"Pay later"))}),ve(a.a,null,ve(y.a,{color:"disabled",style:{marginLeft:"25px",marginRight:"5px"},onClick:()=>D(t)}))))):ye.e.map((e,t)=>ve(k.a.Fragment,{key:t},ve(i.a,null),ve(s.a,null,ve(d.a,null,ve(O.a,{style:{height:"90px"}}))))))),ve(be.a,{open:f},n?ve(q,{historyOrder:n,onCloseHandler:()=>{g(!1)}}):null),ve(be.a,{open:h,isTransparent:!0},ve(fe,{onConfirmPhoneNumber:e=>{e&&0!==(null===e||void 0===e?void 0:e.length)&&"00000000"!==e||t.back(),P(!1),S(e)}})))}},B7jU:function(e,t,n){"use strict";var a=n("TqRt"),o=n("284h");
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("q1tI")),i=(0,a(n("8/g6")).default)(r.createElement("path",{d:"M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"}),"LocalOffer");t.default=i},Bo60:function(e,t,n){"use strict";var a=n("TqRt"),o=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("q1tI")),i=(0,a(n("8/g6")).default)(r.createElement("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecordSharp");t.default=i},E3hX:function(e,t,n){"use strict";var a=n("TqRt"),o=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("q1tI")),i=(0,a(n("8/g6")).default)(r.createElement("path",{d:"M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"}),"ArrowForwardIos");t.default=i},IsqK:function(e,t,n){"use strict";var a=n("wx14"),o=n("Ff2n"),r=n("q1tI"),i=n("iuhU"),l=n("H2TA"),c=n("ofer"),s=n("MquD"),d=r.forwardRef((function(e,t){var n=e.children,l=e.classes,d=e.className,u=e.disableTypography,p=void 0!==u&&u,m=e.inset,f=void 0!==m&&m,b=e.primary,g=e.primaryTypographyProps,y=e.secondary,h=e.secondaryTypographyProps,v=Object(o.a)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),O=r.useContext(s.a).dense,x=null!=b?b:n;null==x||x.type===c.a||p||(x=r.createElement(c.a,Object(a.a)({variant:O?"body2":"body1",className:l.primary,component:"span",display:"block"},g),x));var j=y;return null==j||j.type===c.a||p||(j=r.createElement(c.a,Object(a.a)({variant:"body2",className:l.secondary,color:"textSecondary",display:"block"},h),j)),r.createElement("div",Object(a.a)({className:Object(i.a)(l.root,d,O&&l.dense,f&&l.inset,x&&j&&l.multiline),ref:t},v),x,j)}));t.a=Object(l.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(d)},Nsao:function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"c",(function(){return f}));var a=n("rePB"),o=n("i7Pf"),r=n("VH6O");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c={generalConfig:r.b,userProfile:r.d,storeProfile:r.c,courierConfig:r.a},s=Object(o.c)({name:"config",initialState:c,reducers:{initializeConfig:e=>{e.generalConfig=c.generalConfig,e.userProfile=c.userProfile,e.storeProfile=c.storeProfile,e.courierConfig=c.courierConfig},setGeneralConfig:(e,t)=>{const n=l(l({},t.payload),{},{isDefault:!1});e.generalConfig=n},setUserProfile:(e,t)=>{const n=l(l({},t.payload),{},{isDefault:!1});e.userProfile=n},setStoreProfile:(e,t)=>{const n=l(l({},t.payload),{},{isDefault:!1});e.storeProfile=n},setCourierConfig:(e,t)=>{const n=l(l({},t.payload),{},{isDefault:!1});e.courierConfig=n}}}),{initializeConfig:d,setGeneralConfig:u,setUserProfile:p,setStoreProfile:m,setCourierConfig:f}=s.actions;t.a=s.reducer},P1d9:function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"h",(function(){return o})),n.d(t,"u",(function(){return r})),n.d(t,"v",(function(){return i})),n.d(t,"A",(function(){return l})),n.d(t,"B",(function(){return c})),n.d(t,"z",(function(){return s})),n.d(t,"x",(function(){return d})),n.d(t,"y",(function(){return u})),n.d(t,"g",(function(){return p})),n.d(t,"p",(function(){return m})),n.d(t,"l",(function(){return f})),n.d(t,"r",(function(){return b})),n.d(t,"q",(function(){return g})),n.d(t,"t",(function(){return y}
1)),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return v})),n.d(t,"s",(function(){return O})),n.d(t,"k",(function(){return x})),n.d(t,"o",(function(){return j})),n.d(t,"j",(function(){return N})),n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return C})),n.d(t,"b",(function(){return P})),n.d(t,"w",(function(){return w})),n.d(t,"C",(function(){return S})),n.d(t,"e",(function(){return E})),n.d(t,"a",(function(){return I})),n.d(t,"f",(function(){return T}));const a="/[outletId]/[tableId]/ordering",o="/[outletId]/services",r="/services/delivery",i="/services/pickup",l="/user",c="/user/register",s="/user/history",d="/user/change-password",u="/user/email",p="/ordering/takeaway",m="/payment",f="/payment/delivery",b="/payment/pickup",g="/payment/paynow",y="/payment/pre-paynow",h="/payment/epos-pay",v="/payment/epos-pay/pending",O="/payment/antom/pre",x="/payment/antom",j="/payment/paid-membership",N="/paid-membership/cart",k="/menu/products",C="/menu/search-products",P="/cart",w="/thank-you",S="/[outletId]/[tableId]/wati",E="/404",I="[tableId]/orders",T="/order-summary"},"R/WZ":function(e,t,n){"use strict";var a=n("wx14"),o=n("RD7I"),r=n("cNwE");t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o.a)(e,Object(a.a)({defaultTheme:r.a},t))}},SLcR:function(e,t,n){"use strict";var a=n("wx14"),o=n("Ff2n"),r=n("q1tI"),i=n("iuhU"),l=n("H2TA"),c=n("MquD"),s=r.forwardRef((function(e,t){var n=e.classes,l=e.className,s=Object(o.a)(e,["classes","className"]),d=r.useContext(c.a);return r.createElement("div",Object(a.a)({className:Object(i.a)(n.root,l,"flex-start"===d.alignItems&&n.alignItemsFlexStart),ref:t},s))}));t.a=Object(l.a)({root:{minWidth:56,flexShrink:0},alignItemsFlexStart:{marginTop:8}},{name:"MuiListItemAvatar"})(s)},VH6O:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return l})),n.d(t,"e",(function(){return c}));var a=n("wyBh");const o={isDefault:!0,phoneNumber:"",fullName:"",address:"",serviceType:"",deliveryInfo:{deliveryFee:0,scheduledAt:""},remarks:"",postalCode:"",geolocation:{latitude:"",longitude:""},authentication:{userId:"",token:""},addressPostalCode:"",fullAddress:"",unitNo:"",pickupInfo:{fullName:"",phoneNumber:"",pickupTime:""},takeAwayInfo:{fullName:"",phoneNumber:""},phoneCode:a.nb,phoneNumberOption:a.kb,autoLogin:!1,memberId:""},r={isDefault:!0,sessionTimeout:30,timeout:"",configImages:{defaultImage:a.n,landingPageImage:a.l,outletLogo:""},previewModeEnabled:!1,orderSummaryEnabled:!1,priceBookEnabled:!1},i={isDefault:!0,name:"",tenantName:"",tenantSubDomain:"",outletId:"",outletName:"",tableId:"",tableName:"",areaName:"",postalCode:"",countryPhoneCode:"+65",countryCode:"SG",currency:"SGD",address:"",timeZone:"Asia/Singapore",geolocation:{latitude:"",longitude:""},phoneNumber:"",email:"",allowToChangeTable:!1,storePickupEnabled:!0,termsConditionsEnabled:!1,termsConditionsContent:"",dineinEnabled:!0,takeawayEnabled:!0,allowInputNotes:!0},l={isDefault:!0},c=[...Array(6).keys()]},VmPI:function(e,t,n){"use strict";var a=n("wx14"),o=n("Ff2n"),r=n("q1tI"),i=n("iuhU"),l=n("4ppn"),c=n("5AJ6"),s=Object(c.a)(r.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=Object(c.a)(r.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),u=n("ye/S"),p=Object(c.a)(r.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),m=n("NqtD"),f=n("H2TA"),b=r.createElement(d,null),g=r.createElement(s,null),y=r.createElement(p,null),h=r.forwardRef((function(e,t){var n=e.checkedIcon,c=void 0===n?b:n,s=e.classes,d=e.color,u=void 0===d?"secondary":d,p=e.icon,f=void 0===p?g:p,h=e.indeterminate,v=void 0!==h&&h,O=e.indeterminateIcon,x=void 0===O?y:O,j=e.inputProps,N=e.size,k=void 0===N?"medium":N,C=Object(o.a)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","
1size"]),P=v?x:f,w=v?x:c;return r.createElement(l.a,Object(a.a)({type:"checkbox",classes:{root:Object(i.a)(s.root,s["color".concat(Object(m.a)(u))],v&&s.indeterminate),checked:s.checked,disabled:s.disabled},color:u,inputProps:Object(a.a)({"data-indeterminate":v},j),icon:r.cloneElement(P,{fontSize:void 0===P.props.fontSize&&"small"===k?k:P.props.fontSize}),checkedIcon:r.cloneElement(w,{fontSize:void 0===w.props.fontSize&&"small"===k?k:w.props.fontSize}),ref:t},C))}));t.a=Object(f.a)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(h)},ZGBi:function(e,t,n){"use strict";var a=n("wx14"),o=n("Ff2n"),r=n("q1tI"),i=n("iuhU"),l=n("EHdT"),c=n("H2TA"),s=n("ofer"),d=n("NqtD"),u=r.forwardRef((function(e,t){e.checked;var n=e.classes,c=e.className,u=e.control,p=e.disabled,m=(e.inputRef,e.label),f=e.labelPlacement,b=void 0===f?"end":f,g=(e.name,e.onChange,e.value,Object(o.a)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),y=Object(l.a)(),h=p;"undefined"===typeof h&&"undefined"!==typeof u.props.disabled&&(h=u.props.disabled),"undefined"===typeof h&&y&&(h=y.disabled);var v={disabled:h};return["checked","name","onChange","value","inputRef"].forEach((function(t){"undefined"===typeof u.props[t]&&"undefined"!==typeof e[t]&&(v[t]=e[t])})),r.createElement("label",Object(a.a)({className:Object(i.a)(n.root,c,"end"!==b&&n["labelPlacement".concat(Object(d.a)(b))],h&&n.disabled),ref:t},g),r.cloneElement(u,v),r.createElement(s.a,{component:"span",className:Object(i.a)(n.label,h&&n.disabled)},m))}));t.a=Object(c.a)((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(u)},kKU3:function(e,t,n){"use strict";var a=n("wx14"),o=n("ODXe"),r=n("Ff2n"),i=n("q1tI"),l=n("dRu9"),c=n("wpWl"),s=n("tr08"),d=n("4Hym"),u=n("bfFb"),p={entering:{opacity:1},entered:{opacity:1}},m={enter:c.b.enteringScreen,exit:c.b.leavingScreen},f=i.forwardRef((function(e,t){var n=e.children,c=e.disableStrictModeCompat,f=void 0!==c&&c,b=e.in,g=e.onEnter,y=e.onEntered,h=e.onEntering,v=e.onExit,O=e.onExited,x=e.onExiting,j=e.style,N=e.TransitionComponent,k=void 0===N?l.a:N,C=e.timeout,P=void 0===C?m:C,w=Object(r.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),S=Object(s.a)(),E=S.unstable_strictMode&&!f,I=i.useRef(null),T=Object(u.a)(n.ref,t),F=Object(u.a)(E?I:void 0,T),D=function(e){return function(t,n){if(e){var a=E?[I.current,t]:[t,n],r=Object(o.a)(a,2),i=r[0],l=r[1];void 0===l?e(i):e(i,l)}}},B=D(h),W=D((function(e,t){Object(d.b)(e);var n=Object(d.a)({style:j,timeout:P},{mode:"enter"});e.style.webkitTransition=S.transitions.create("opacity",n),e.style.transition=S.transitions.create("opacity",n),g&&g(e,t)})),A=D(y),z=D(x),R=D((function(e){var t=Object(d.a)({style:j,timeout:P},{mode:"exit"});e.style.webkitTransition=S.transitions.create("opacity",t),e.style.transition=S.transitions.create("opacity",t),v&&v(e)})),L=D(O);return i.createElement(k,Object(a.a)({appear:!0,in:b,nodeRef:E?I:void 0,onEnter:W,onEntered:A,onEntering:B,onExit:R,onExited:L,onExiting:z,timeout:P},w),(function(e,t){return i.cloneElement(n,Object(a.a)({style:Object(a.a)({opacity:0,visibility:"exited"!==e||b?void 0:"hidden"},p[e],j,n.props.style),ref:F},t))}))}));t.a=f}},[["1Rcx",0,2,1,3,5,4,6,7,8,9,10,11,12,13,14,15,17,21,22,23,24,26,29,42]]]);

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.