1(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{173:function(t,e,o){"use strict";o.r(e);o(16),o(28),o(35),o(21),o(36);var n=o(9),r=o(1),c=(o(20),o(13),o(33),o(34),o(26),o(64),o(23),o(48),o(51),o(27),o(135),o(56),o(57),o(32),o(5)),l=o(18),d=o(6);function m(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function h(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?m(Object(o),!0).forEach((function(e){Object(n.a)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var _={name:"HeaderMain",components:{Promotion:function(){return Promise.resolve().then(o.bind(null,719))},ConnectionManager:function(){return Promise.resolve().then(o.bind(null,720))},AsiaLocalization:function(){return Promise.resolve().then(o.bind(null,260))},MapLocalization:function(){return Promise.resolve().then(o.bind(null,522))}},setup:function(){Object(c.onUnmounted)((function(){$nuxt.$off("updateCartWithCustomer"),$nuxt.$off("showModalLocalization"),$nuxt.$off("hideModalLocalization"),$nuxt.$off("showModalResetCart"),$nuxt.$off("logout")}))},data:function(){return{logoImages:{mobile:{url:this.getStaticGlobal("logos/ph_new_logo_horizontal.png"),style:"height: 42px; width: 165px",alt:"Logo home"},desktop:{url:this.getStaticGlobal("logos/ph_new_logo_horizontal.png"),style:"height: 42px; width: 165px",alt:"Logo home"}},isApp:!1,isMarketNZ:this.$const.REGION===this.$const.REGION_NZ,isMarketJP:this.$const.REGION===this.$const.REGION_JP,showPromotion:!0,showTrackOrder:1===this.$const.SHOW_TRACK_ORDER,showHutRewards:1===this.$const.SHOW_HUT_REWARD,isAdvanceOrder:!1,showDialog:!1,showMaintainDialog:!1,showResetCartDialog:!1,messageErrorOrderTime:"",orderType:null,name:"",token:"",address:"",outletName:"",outletCode:"",displayDateTime:"",tableId:"",titleMaintain:"",messageMaintain:"",messageResetCart:"",isHomePage:!0,isOrderPage:!1,isBack:!0,className:"",language:"",iconLanguage:""}},fetch:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.isLoadFirst||("undefined"!=typeof window&&(o(612),new(o(615))({boxClass:"wow",animateClass:"animated",offset:0,live:!0}).init()),0===t.$const.SIMLIFY_HOMEPAGE&&t.setIsLoadFirst(!0),t.getConfigClient(),t.getDataErrorMessage());case 1:case"end":return e.stop()}}),e)})))()},computed:h({},Object(l.c)({isLoadFirst:"isLoadFirst",isAuthenticated:"isAuthenticated",orderInfo:"orderInfo",isPromoted:"isPromoted",isMaintained:"isMaintained",point:"point"})),watch:{$route:function(t,e){if(this.$event_tracking.pushEventGA("CVR","fcds_page","new_code_base",null,!1),!("order-slug"!==t.name&&"order-slug-detail"!==t.name||"order-slug"!==e.name&&"order-slug-detail"!==e.name)){var o=this.getMetadataSEO(this.$metadataSEO,this.$route);o.title&&(document.title=o.title),document.getElementById("title-header-tag")&&(document.getElementById("title-header-tag").innerHTML=o.h1||o.title),document.querySelector('meta[name="description"]')&&document.querySelector('meta[name="description"]').setAttribute("content",o.description),document.querySelector('meta[name="keywords"]')&&document.querySelector('meta[name="keywords"]').setAttribute("content",o.primaryKeyword),document.querySelector('link[rel="canonical"]')&&document.querySelector('link[rel="canonical"]').setAttribute("href",this.$const.BASE_URL+o.path)}},orderInfo:function(){this.setOrderInfoData(this.orderInfo)},isMaintained:function(){this.showMaintainDialog=this.isMaintained,this.showMaintainDialog&&(this.titleMaintain=this.$common_functions.getTextInErrorMessage("WEB-MAINTAIN-TITLE"),this.messageMaintain=this.$common_functions.getTextInErrorMessage("WEB-MAINTAIN-MESSAGE"))}},mounted:function(){var t=this;document.cookie="random=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;",window.addEventListener("popstate",this.handlePopstate),this.$nuxt.$on("updateCartWithCustomer",(function(){t.updateCartWithCustomer()})),this.$nuxt.$on("showModalLocalization",(function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";t.showModalLocalization(e,o)})),this.$nuxt.$on("showModalResetCart",(function(e){t.showResetCartDialog=!0,t.messageResetCart=e&&e.replace(/\n/g,"<br>")})),this.$nuxt.$on("hideModalLocalization",(function(){t.showDialog=!1})),this.$nuxt.$on("logout",(function(){t.doLogout()})),this.initializeLanguage(),this.initializeCache();var e=this.$route.query&&this.$route.query.isApp;this.isApp=1===Number(e);var o=this.$common_functions.getCacheLocalStorage(this.$const.USER_INFO_STORE);if(o&&!o.expired){var n=o.data;this.name=this.isMarketJP?this.getValueFromAttr(n,"last_name",""):this.getValueFromAttr(n,"first_name","")+" "+this.getValueFromAttr(n,"last_name",""),"ja"===this.$i18n.locale.toLowerCase()&&(this.name=this.$t("hello_name",{name:this.getValueFromAttr(n,"last_name","")})),this.token=this.getValueFromAttr(n,"token",""),this.setAuthenticated(!0),this.setPoint(this.getValueFromAttr(n,"point",0)),this.setHutReward({point:this.getValueFromAttr(n,"point",0),rank:this.getValueFromAttr(n,"membership_id",6),rankNextMonth:this.getValueFromAttr(n,"rank_next_month",0),orderCountForNextRank:this.getValueFromAttr(n,"order_count_for_next_rank",0),totalOrderCountForNextRank:this.getValueFromAttr(n,"total_order_count_for_next_rank",0)})}if(this.checkValue(this.orderInfo))this.setOrderInfoData(this.orderInfo);else{var r=this.$common_functions.getCacheLocalStorage(this.$const.ORDER_INFO_STORE);if(r&&!r.expired){var data=r.data;this.setOrderInfoData(data),this.setOrderInfo(data)}}this.checkHeader()},destroyed:function(){this.showDialog=!1,window.removeEventListener("popstate",this.handlePopstate)},methods:h(h({},Object(l.b)({setIsLoadFirst:d.h,setAuthenticated:d.b,setIsComboAttribute:d.g,setCart:d.c,setPoint:d.r,setOrderInfo:d.q,setMaintained:d.m,
1setMaxCash:d.n,setMaxNonCash:d.o,setHutReward:d.f,setMaintainanceHutReward:d.l,setIsRolo:d.i,setIsSimplifyHomePage:d.j,setExpiredDaysHutReward:d.e})),{},{handlePopstate:function(t){"payment-status-id"===this.$route.name?this.$router.replace({name:"checkout"}):"tracker-order-uuid"===this.$route.name?this.$router.replace({name:"index"}):"checkout"===this.$route.name?this.redirectToMenu():"order-slug"===this.$route.name?(this.$nuxt.$emit("hideModalPizza"),this.$nuxt.$emit("changeCategoryMenu")):"order-slug-detail"===this.$route.name&&this.$nuxt.$emit("showModalPizza")},initializeLanguage:function(){var t=localStorage.getItem(this.$const.LANGUAGE_STORE);this.language=t||this.$const.LANGUAGE_DEFAULT;var e=this.getObjectInArrs(this.language,this.$const.LANGUAGES,"code");e||(this.language=this.$const.LANGUAGE_DEFAULT,e=this.getObjectInArrs(this.language,this.$const.LANGUAGES,"code")),this.iconLanguage=e&&e.icon,this.$i18n.locale=this.language,localStorage.setItem(this.$const.LANGUAGE_STORE,this.language)},initializeCache:function(){var t=this.$common_functions.getCacheLocalStorage(this.$const.PLATFORM_STORE);if(t&&!t.expired){var data=t.data;data.env===this.$const.ENV&&data.region===this.$const.REGION||(localStorage.removeItem(this.$const.TIMESTAMP_STORE),localStorage.removeItem(this.$const.MESSAGES_STORE),localStorage.removeItem(this.$const.ORDER_INFO_STORE),localStorage.removeItem(this.$const.USER_INFO_STORE),localStorage.removeItem(this.$const.CART_STORE),localStorage.removeItem(this.$const.CHECKOUT_STORE))}this.$common_functions.setCacheLocalStorage(this.$const.PLATFORM_STORE,{env:this.$const.ENV,region:this.$const.REGION},365,"days")},changeLanguage:function(t){if(this.language!==t.code){if(this.language=t.code,this.iconLanguage=t.icon,this.$i18n.locale=this.language,localStorage.setItem(this.$const.LANGUAGE_STORE,this.language),this.orderInfo){var e=JSON.parse(JSON.stringify(this.orderInfo));e.displayDateTime=this.$common_functions.generateDateTimeLabel(this.orderInfo.orderDate,this.orderInfo.orderTime,this.orderInfo.quoteTime,this.orderInfo.orderTime),this.$common_functions.setCacheLocalStorage(this.$const.ORDER_INFO_STORE,e,30,"days")}this.$router.go(this.$router.currentRoute)}},setOrderInfoData:function(t){this.orderType=this.getValueFromAttr(t,"orderType","D"),this.address=this.getValueFromAttr(t,"address",""),this.outletName=this.getValueFromAttr(t,"outletName",""),this.outletCode=this.getValueFromAttr(t,"outletCode",""),this.displayDateTime=this.getValueFromAttr(t,"displayDateTime",""),this.tableId=this.getValueFromAttr(t,"tableId","")},getDataErrorMessage:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,n,r,c,i,element,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o=(o=localStorage.getItem(t.$const.MESSAGES_STORE))?JSON.parse(o):[],n=localStorage.getItem(t.$const.TIMESTAMP_STORE),r={ignore_limit:1,timestamp:n||0},e.next=7,t.$api.getAPI(t.$apiURL.ERROR_MESSAGES,r);case 7:if(!((c=e.sent)&&c.items&&c.items.length>0)){e.next=29;break}i=0;case 10:if(!(i<c.items.length)){e.next=27;break}element=c.items[i],l=!1,d=0;case 14:if(!(d<o.length)){e.next=23;break}if(o[d].error_code!==element.error_code){e.next=20;break}return 1===element.active?o[d]=element:o.splice(d,1),l=!0,e.abrupt("break",23);case 20:d++,e.next=14;break;case 23:l||1!==element.active||o.push(element);case 24:i++,e.next=10;break;case 27:localStorage.setItem(t.$const.MESSAGES_STORE,JSON.stringify(o)),localStorage.setItem(t.$const.TIMESTAMP_STORE,c.timestamp);case 29:e.next=34;break;case 31:e.prev=31,e.t0=e.catch(0),console.error("Error function getDataErrorMessage: ".concat(e.t0));case 34:case"end":return e.stop()}}),e,null,[[0,31]])})))()},getConfigClient:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o={manual:1},e.next=4,t.$api.getAPI(t.$apiURL.CONFIG,o);case 4:(n=e.sent)&&n.item?(r={start_time:t.$common_functions.convertTimeToUTC(t.getValueFromAttr(n.item,"start_time_sf")),end_time:t.$common_functions.convertTimeToUTC(t.getValueFromAttr(n.item,"end_time_sf"))},t.setMaintainanceHutReward(r),t.setIsComboAttribute("1"===t.getValueFromAttr(n.item,"filter_combo",!1)||!1),t.setIsRolo("1"===t.getValueFromAttr(n.item,"show_rolo_menu",!1)||!1),t.setIsSimplifyHomePage("1"===t.getValueFromAttr(n.item,"simple_homepage",!1)||
1!1),t.setExpiredDaysHutReward(t.getValueFromAttr(n.item,"reward_number_expired_days",0))):(t.setIsComboAttribute(!1),t.setIsRolo(!1),t.setIsSimplifyHomePage(!1)),t.setIsLoadFirst(!0),t.checkMaintainMode(),t.$const.REGION===t.$const.REGION_NZ&&t.getMaxCashOrNonCash(),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.error("Error function getConfigClient: ".concat(e.t0));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))()},checkMaintainMode:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o={scope:"web_maintenance"},e.next=4,t.$api.getAPI(t.$apiURL.CONFIG,o);case 4:n=e.sent,t.setMaintained(1===Number(n)),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error("Error function checkMaintainMode: ".concat(e.t0));case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},getMaxCashOrNonCash:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o={scope:"max_cash_value,max_noncash_value"},e.next=4,t.$api.getAPI(t.$apiURL.CONFIGS,o);case 4:(n=e.sent)&&n.item&&(t.setMaxCash(Number(t.getValueFromAttr(n.item,"max_cash_value",0))),t.setMaxNonCash(Number(t.getValueFromAttr(n.item,"max_noncash_value",0)))),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error("Error function getMaxCashOrNonCash: ".concat(e.t0));case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},doBack:function(){"payment-status-id"===this.$route.name?this.$router.replace({name:"checkout"}):"tracker-order-uuid"===this.$route.name?this.$router.push({name:"index"}):"checkout"===this.$route.name?this.redirectToMenu():this.$router.go(-1)},checkHeader:function(){this.isHomePage=!1,this.isOrderPage=!1,this.isBack=!this.$const.NOT_BACK_PATHS.includes(this.$route.name),this.className="bg-white","index"!==this.$route.name&&"home"!==this.$route.name||(this.className="bg-white container",this.isHomePage=!0),"order-slug"!==this.$route.name&&"order-slug-detail"!==this.$route.name&&"order-coupons"!==this.$route.name||(this.className="bg-white my-container-header container-header-order",this.isOrderPage=!0)},goToStore:function(){this.$router.push({name:"huts-outlet",params:{outlet:this.outletCode}})},showModalLocalization:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.orderType===this.$const.EAT_IN&&t||(this.showDialog=!0,this.messageErrorOrderTime=e,this.isAdvanceOrder=t)},doResetCart:function(t){this.showResetCartDialog=!1,localStorage.removeItem(this.$const.CART_STORE),localStorage.removeItem(this.$const.CHECKOUT_STORE),this.$nuxt.$emit("clearOrUpdateCart"),0===t?this.$router.push({name:"track-order"}):this.redirectToMenu()},doLogout:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.token){e.next=3;break}return e.abrupt("return");case 3:return o={token:t.token},e.next=6,t.$api.postAPI(t.$apiURL.LOGOUT,o);case 6:e.sent&&(t.name="",t.token="",localStorage.removeItem(t.$const.USER_INFO_STORE),t.setAuthenticated(!1),t.$common_functions.logoutBranch(),setTimeout((function(){return t.updateCartWithCustomer()}),100)),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("Error function doLogout: ".concat(e.t0));case 13:t.$nuxt.$loading.finish();case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))()},updateCartWithCustomer:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,n,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,o=null,(n=t.$common_functions.getCacheLocalStorage(t.$const.CART_STORE))&&!n.expired&&(o=n.data),t.orderInfo&&o&&o.uuid){e.next=6;break}return e.abrupt("return");case 6:return r={cart_uuid:o.uuid,order_time:t.$common_functions.convertDateTimeFromTimezoneToUTC(t.getValueFromAttr(t.orderInfo,"timezone"),t.getValueFromAttr(t.orderInfo,"orderDate")+" "+t.getValueFromAttr(t.orderInfo,"valueTime"))},e.next=9,t.$api.postAPI(t.$apiURL.UPDATE_CART,r);case 9:(c=e.sent)&&c.item&&(t.setCart(c.item),t.$common_functions.setCacheLocalStorage(t.$const.CART_STORE,c.item,12,"hours"),t.$nuxt.$emit("clearOrUpdateCart")),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.error("Error function updateCartWithCustomer: ".concat(e.t0));case 16:case"end":return e.stop()}}),e,null,[[0,13]])})))()}})},f=_,v=(o(616),o(8)),component=Object(v.a)(f,(function(){var t=this,e=t._self._c;return t.isApp?t._e():e("div",{class:"bg-white ".concat(t.isOrderPage&&"order-slug-detail"!==t.$route.name?"":"border-bottom"),attrs:{id:"c
1ontainer-header"}},[e("h1",{staticClass:"d-none",attrs:{id:"title-header-tag"}},[t._v("\n Pizza Hut "+t._s(t.$const.COUNTRY_NAME)+"\n ")]),t._v(" "),t.orderType!==t.$const.EAT_IN&&"payment-status-id"!==t.$route.name&&"tracker-order-uuid"!==t.$route.name?e("promotion",{attrs:{"show-promotion":t.isPromoted}}):t._e(),t._v(" "),e("connection-manager"),t._v(" "),e("md-dialog",{staticClass:"modal-maintain modal-warning",attrs:{"md-fullscreen":!1,"md-click-outside-to-close":!1,"md-active":t.showMaintainDialog},on:{"update:mdActive":function(e){t.showMaintainDialog=e},"update:md-active":function(e){t.showMaintainDialog=e}}},[e("div",{staticClass:"p-3"},[e("h5",{staticClass:"mb-2 text-center font-weight-bold",domProps:{innerHTML:t._s(t.titleMaintain)}}),t._v(" "),e("p",{staticClass:"mb-0 text-center",domProps:{innerHTML:t._s(t.messageMaintain)}})])]),t._v(" "),e("ph-header",{attrs:{"logo-images":t.logoImages,"is-back":t.isBack,"is-logo-center":t.isBack||"payment-status-id"===t.$route.name,"title-back":"combo-slug-detail"!==t.$route.name||t.isMobile()?t.$t("back"):t.$t("back_to_deals"),height:t.isOrderPage&&!t.isMobile()?90:60,"class-name":t.className},on:{btnGoBack:t.doBack},scopedSlots:t._u([{key:"customizeUserLoggedIn",fn:function(){return[t.$const.REGION===t.$const.REGION_JP?e("div",{staticClass:"w-100"},[t.isHomePage?e("div",{staticClass:"rightHeaderWrap d-flex align-items-center"},[e("div",{staticClass:"pl-3 pr-3 border-left border-right",attrs:{"data-tag":"view-basket-lbl"},on:{click:function(){return t.redirectToMenu()}}},[e("div",{staticClass:"d-flex align-items-center cursor-pointer"},[e("img",{attrs:{loading:"lazy",src:t.getStaticLocal("header/icon-basket.svg"),alt:"icon-basket"}}),t._v(" "),e("span",{staticClass:"d-none d-lg-block ml-1"},[t._v(t._s(t.$t("view_basket")))])])]),t._v(" "),e("div",{staticClass:"btn-group"},[e("button",{staticClass:"btn-transparent dropdown-toggle d-flex align-items-center pl-3 pr-0 pr-md-3",attrs:{"data-tag":"my-account-lbl",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"Account"}},[t.isAuthenticated?e("div",[e("img",{staticClass:"mr-1",attrs:{loading:"lazy",src:t.getStaticLocal("header/icon-red-slice.svg"),alt:"logo-hut-rewards"}}),t._v(" "),e("span",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.name+" ("+t.$tc("slice",t.point,{point:t.point})+")")}})]):e("div",{staticClass:"d-flex align-items-center"},[e("img",{attrs:{loading:"lazy",src:t.getStaticLocal("header/icon-gray-slice.svg"),alt:"logo-hut-rewards"}}),t._v(" "),e("span",{staticClass:"ml-1 mr-1",domProps:{innerHTML:t._s(t.$t("my_account"))}})])]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right p-0",staticStyle:{width:"220px"}},[e("div",{staticClass:"dropdown-item logo-hut-rewards d-flex align-items-center p-3"},[e("img",{staticClass:"mr-2",staticStyle:{height:"24px",width:"auto"},attrs:{loading:"lazy",src:t.getStaticLocal("hut-rewards/pizza.png"),alt:"logo-hut-rewards"}}),t._v(" "),t.isAuthenticated?e("span",{staticClass:"text-white",domProps:{innerHTML:t._s(t.$tc("slice",t.point,{point:t.point}))}}):e("span",{staticClass:"text-white",domProps:{innerHTML:t._s(t.$t("my_account"))}})]),t._v(" "),t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"login-lbl",to:"/login"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-lock mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("login")))])]),t._v(" "),t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"register-lbl",to:"/register"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-user-plus mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("register")))])]),t._v(" "),t.isAuthenticated?e("nuxt-link",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"account-lbl",to:"/account-info"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-user mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("my_account")))])]):t._e(),t._v(" "),t.isAuthenticated?e("a",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{"data-tag":"logout-lbl",href:"javascript:void(0)"},on:{click:t.doLogout}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-arrow-right-from-bracket mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("logout")))])]):t._e(),t._v(" "),t.$const.LANGUAGES.length>0?e("div",{staticClass:"switch-buttons-language d-flex align-items-center justify-content-between p-2 pl-3 pr-3"},[e("img",{staticStyle:{height:"auto",width:"24px"},attrs:{loading:"lazy",src:t.getStaticGlobal(t.iconLanguage),alt:"icon-language"}}),t._v(" "),e("div",{staticClass:"switch-buttons-box ml-2"},t._l(t.$const.LANGUAGES,(function(o,i){return e("button",{key:i,class:"btn btn-sm p-1 pl-3 pr-3 ".concat(t.language===o.code?"btn-active":""),attrs:{type:"button"},on:{click:function(){return t.changeLanguage(o)}}},[e("small",[t._v(t._s(o.text))])])})),0)]):t._e()],1)])]):t._e(),t._v(" "),t.isOrderPage?e("div",{staticClass:"w-100"},[e("div",{staticClass:"rightHeaderWrap d-flex align-items-center"},[e("div",{staticClass:"d-none d-lg-block"},[t.address?e("div",{class:"container-localization-info media ml-4 ".concat(t.orderType===t.$const.EAT_IN?"":"cursor-pointer"),attrs:{"data-tag":"date-time-lbl"},on:{click:function(e){return e.stopPropagation(),function(){return t.showModalLocalization(!0)}.apply(null,arguments)}}},[t.orderType===t.$const.COLLECTION?e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_pick_up.gif"),alt:"Icon Collection",width:"32",height:"32"}}):t.orderType===t.$const.EAT_IN?e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_dine_in.png"),alt:"Icon Eat-in",width:"32",height:"32"}}):e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_delivery.gif"),alt:"Icon Delivery",width:"32",height:"32"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"w-100 mb-1 text-nowrap text-truncate",attrs:{"data-tag":"address-lbl"}},[t.orderType===t.$const.EAT_IN&&t.tableId?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.tableId)+" - ")]):t._e(),t._v(" "),t.orderType===t.$const.COLLECTION&&t.isMarketJP?e("span",{staticClass:"font-weight-bold",on:{click:function(e){return e.stopPropagation(),t.goToStore.apply(null,arguments)}}},[t._v(t._s(t.address))]):e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.address))])]),t._v(" "),t.orderType===t.$const.DELIVERY&&t.isMarketJP?e("div",{staticClass:"d-flex align-items-center mr-3 mb-1",on:{click:function(e){return e.stopPropagation(),t.goToStore.apply(null,arguments)}}},[e("img",{staticClass:"align-self-center mr-2",attrs:{loading:"lazy",src:t.getStaticLocal("icons/store.png"),alt:"Icon Delivery",width:"16",height:"16"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.outletName))])]):t._e(),t._v(" "),e("div",{staticClass:"w-100 d-flex align-items-center text-nowrap text-truncate"},[t.orderType===t.$const.DELIVERY?e("span",[t._v(t._s(t.$t("delivery")))]):t._e(),t._v(" "),t.orderType===t.$const.COLLECTION?e("span",[t._v(t._s(t.$t("take_out")))]):t._e(),t._v(" "),t.orderType===t.$const.EAT_IN?e("span",[t._v(t._s(t.$t("eat_in")))]):t._e(),t._v(" "),e("span",{staticClass:"ml-1 mr-1"},[t._v("-")]),t._v(" "),e("span",[t._v(t._s(t.displayDateTime))])])]),t._v(" "),t.orderType!==t.$const.EAT_IN?e("button",{staticClass:"ml-2 bt
1n btn-sm btn-transparent p-0 align-self-center text-success",attrs:{type:"button","data-tag":"change-btn"},on:{click:function(e){return e.stopPropagation(),function(){return t.showModalLocalization(!0)}.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("change"))+"\n ")]):t._e()]):e("div",{class:"container-localization-info media ml-4 ".concat(t.orderType===t.$const.EAT_IN?"":"cursor-pointer"),attrs:{"data-tag":"date-time-lbl"},on:{click:function(){return t.showModalLocalization(!1)}}},[e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_delivery.gif"),alt:"Icon Delivery",width:"32",height:"32"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"w-100 mb-2"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("msg_no_localization")))])]),t._v(" "),e("div",{staticClass:"w-100"},[e("small",[t._v(t._s(t.$t("msg_no_localization_description")))])])])])]),t._v(" "),e("div",{staticClass:"btn-group ml-auto"},[e("button",{staticClass:"btn-transparent dropdown-toggle d-flex align-items-center pl-3 pr-0",attrs:{"data-tag":"my-account-lbl",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"Account"}},[t.isAuthenticated?e("div",{staticClass:"d-flex align-items-center"},[e("img",{staticClass:"mr-1",attrs:{loading:"lazy",src:t.getStaticLocal("header/icon-red-slice.svg"),alt:"logo-hut-rewards"}}),t._v(" "),e("span",{staticClass:"mb-0 d-none d-lg-block",domProps:{innerHTML:t._s(t.name+" ("+t.$tc("slice",t.point,{point:t.point})+")")}}),t._v(" "),e("div",{staticClass:"d-block d-lg-none"},[e("div",[e("span",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.name)}})]),t._v(" "),e("div",[e("span",{staticClass:"mb-0",domProps:{innerHTML:t._s("("+t.$tc("slice",t.point,{point:t.point})+")")}})])])]):e("div",{staticClass:"d-flex align-items-center"},[e("img",{attrs:{loading:"lazy",src:t.getStaticLocal("header/icon-gray-slice.svg"),alt:"logo-hut-rewards"}}),t._v(" "),e("span",{staticClass:"ml-1 mr-1",domProps:{innerHTML:t._s(t.$t("my_account"))}})])]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right p-0",staticStyle:{width:"220px"}},[e("div",{staticClass:"dropdown-item logo-hut-rewards d-flex align-items-center p-3"},[e("img",{staticClass:"mr-2",staticStyle:{height:"24px",width:"auto"},attrs:{loading:"lazy",src:t.getStaticLocal("hut-rewards/pizza.png"),alt:"logo-hut-rewards"}}),t._v(" "),t.isAuthenticated?e("span",{staticClass:"text-white",domProps:{innerHTML:t._s(t.$tc("slice",t.point,{point:t.point}))}}):e("span",{staticClass:"text-white",domProps:{innerHTML:t._s(t.$t("my_account"))}})]),t._v(" "),t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"login-lbl",to:"/login"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-lock mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("login")))])]),t._v(" "),t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"register-lbl",to:"/register"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-user-plus mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("register")))])]),t._v(" "),t.isAuthenticated?e("nuxt-link",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"account-lbl",to:"/account-info"}},[e("i",{staticClass:"fa-solid fa-fw fa-user mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("my_account")))])]):t._e(),t._v(" "),t.isAuthenticated?e("a",{staticClass:"dropdown-item border-bottom p-2 pl-3 pr-3",attrs:{"data-tag":"logout-lbl",href:"javascript:void(0)"},on:{click:t.doLogout}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-arrow-right-from-bracket mr-1"}),t._v(" "),e("small",[t._v(t._s(t.$t("logout")))])]):t._e(),t._v(" "),t.$const.LANGUAGES.length>0?e("div",{staticClass:"switch-buttons-language d-flex align-items-center justify-content-between p-2 pl-3 pr-3"},[e("img",{staticStyle:{height:"auto",width:"24px"},attrs:{loading:"lazy",src:t.getStaticGlobal(t.iconLanguage),alt:"icon-language"}}),t._v(" "),e("div",{staticClass:"switch-buttons-box ml-2"},t._l(t.$const.LANGUAGES,(function(o,i){return e("button",{key:i,class:"btn btn-sm p-1 pl-3 pr-3 ".concat(t.language===o.code?"btn-active":""),attrs:{type:"button"},on:{click:function(){return t.changeLanguage(o)}}},[e("small",[t._v(t._s(o.text))])])})),0)]):t._e()],1)])])]):t._e()]):e("div",{staticClass:"w-100"},[t.isHomePage?e("div",{staticClass:"d-none d-lg-block"},[e("div",{staticClass:"rightHeaderWrap d-flex align-items-center"},[t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"pl-3 pr-3 border-left",attrs:{prefetch:!1,"data-tag":"login-lbl",to:"/login"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-lock mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("login")))])]),t._v(" "),t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"pl-3 pr-3 border-left",attrs:{prefetch:!1,"data-tag":"register-lbl",to:"/register"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-user-plus mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("register")))])]),t._v(" "),t.isAuthenticated?e("nuxt-link",{staticClass:"pl-3 pr-3 border-left",attrs:{prefetch:!1,"data-tag":"account-lbl",to:"/profile"}},[e("i",{staticClass:"fa-solid fa-fw fa-xl fa-circle-user text-success"}),t._v(" "),e("span",[t._v(t._s(t.$t("hello_name",{name:t.name})))])]):t._e(),t._v(" "),t.showHutRewards?e("nuxt-link",{staticClass:"pl-3 pr-3 border-left",attrs:{prefetch:!1,"data-tag":"hut-rewards-lbl",to:"/hut-rewards"}},[t.isAuthenticated?e("div",{staticClass:"d-flex align-items-center"},[e("span",{staticClass:"text-nowrap mr-1"},[t._v(t._s(t.point+" "+t.$tc("slices",t.point)))]),t._v(" "),e("img",{staticClass:"icon-slice",attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/pizza-icon.png"),alt:"logo-slice"}})]):e("img",{staticStyle:{height:"20px"},attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/hut-reward-3.png"),alt:"logo-hut-rewards"}})]):t._e(),t._v(" "),t.showTrackOrder?e("nuxt-link",{staticClass:"pl-3 pr-3 border-left",attrs:{prefetch:!1,"data-tag":"track-order-lbl",to:"/track-order"}},[e("img",{staticStyle:{height:"20px"},attrs:{loading:"lazy",src:t.getStaticLocal("icons/track_your_order.svg"),alt:"Icon Track Order"}}),t._v(" "),e("span",[t._v(t._s(t.$t("track_order")))])]):t._e(),t._v(" "),t.isAuthenticated?e("a",{class:"pl-3 pr-3 border-left ".concat(1===t.showTrackOrder?"border-right":""),attrs:{"data-tag":"logout-lbl",href:"javascript:void(0)"},on:{click:t.doLogout}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-arrow-right-from-bracket mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("logout")))])]):t._e()],1)]):t._e(),t._v(" "),t.isHomePage?e("div",{staticClass:"d-block d-lg-none"},[e("div",{staticClass:"btn-group dropdown-header pr-0"}
1,[e("button",{staticClass:"btn-transparent dropdown-toggle pr-0",attrs:{"data-tag":"my-account-mobile-lbl",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"Account"}},[e("i",{class:"fa-solid fa-fw fa-xl fa-circle-user ".concat(t.isAuthenticated?"text-success":"")})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"login-mobile-lbl",to:"/login"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-lock mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("login")))])]),t._v(" "),t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"registermobile-mobile-lbl",to:"/register"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-user-plus mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("register")))])]),t._v(" "),t.isAuthenticated?e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"account-mobile-lbl",to:"/profile"}},[e("span",[t._v(t._s(t.$t("hello_name",{name:t.name})))])]):t._e(),t._v(" "),t.showHutRewards?e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"hut-rewards-mobile-lbl",to:"/hut-rewards"}},[t.isAuthenticated?e("div",{staticClass:"d-flex align-items-center"},[e("span",{staticClass:"text-nowrap mr-1"},[t._v(t._s(t.point+" "+t.$tc("slices",t.point)))]),t._v(" "),e("img",{staticClass:"icon-slice",attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/pizza-icon.png"),alt:"logo-slice"}})]):e("img",{staticStyle:{height:"20px"},attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/hut-reward-3.png"),alt:"logo-hut-rewards"}})]):t._e(),t._v(" "),t.showTrackOrder?e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"track-order-mobile-lbl",to:"/track-order"}},[e("img",{staticClass:"icon-16",attrs:{loading:"lazy",src:t.getStaticLocal("icons/track_your_order.svg"),alt:"Icon Track Order"}}),t._v(" "),e("span",[t._v(t._s(t.$t("track_order")))])]):t._e(),t._v(" "),t.isAuthenticated?e("a",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{"data-tag":"logout-mobile-lbl",href:"javascript:void(0)"},on:{click:t.doLogout}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-arrow-right-from-bracket mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("logout")))])]):t._e()],1)])]):t._e(),t._v(" "),t.isOrderPage?e("div",{staticClass:"d-none d-lg-block"},[e("div",{staticClass:"d-flex align-items-center"},[t.address?e("div",{class:"container-localization-info media ml-4 ".concat(t.orderType===t.$const.EAT_IN?"":"cursor-pointer"),attrs:{"data-tag":"date-time-lbl"},on:{click:function(e){return e.stopPropagation(),function(){return t.showModalLocalization(!0)}.apply(null,arguments)}}},[t.orderType===t.$const.COLLECTION?e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_pick_up.gif"),alt:"Icon Collection",width:"32",height:"32"}}):t.orderType===t.$const.EAT_IN?e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_dine_in.png"),alt:"Icon Eat-in",width:"32",height:"32"}}):e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_delivery.gif"),alt:"Icon Delivery",width:"32",height:"32"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"w-100 mb-1 text-nowrap text-truncate",attrs:{"data-tag":"address-lbl"}},[t.orderType===t.$const.EAT_IN&&t.tableId?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.tableId)+" - ")]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.address))])]),t._v(" "),e("div",{staticClass:"w-100 d-flex align-items-center text-nowrap text-truncate"},[t.orderType===t.$const.DELIVERY?e("span",[t._v(t._s(t.$t("delivery")))]):t._e(),t._v(" "),t.orderType===t.$const.COLLECTION?e("span",[t._v(t._s(t.$t("take_out")))]):t._e(),t._v(" "),t.orderType===t.$const.EAT_IN?e("span",[t._v(t._s(t.$t("eat_in")))]):t._e(),t._v(" "),e("span",{staticClass:"ml-1 mr-1"},[t._v("-")]),t._v(" "),e("span",[t._v(t._s(t.displayDateTime))])])]),t._v(" "),t.orderType!==t.$const.EAT_IN?e("button",{staticClass:"ml-2 bt
1n btn-sm btn-transparent p-0 align-self-center text-success",attrs:{type:"button","data-tag":"change-btn"},on:{click:function(e){return e.stopPropagation(),function(){return t.showModalLocalization(!0)}.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("change"))+"\n ")]):t._e()]):e("div",{class:"container-localization-info media ml-4 ".concat(t.orderType===t.$const.EAT_IN?"":"cursor-pointer"),attrs:{"data-tag":"date-time-lbl"},on:{click:function(){return t.showModalLocalization(!1)}}},[e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_delivery.gif"),alt:"Icon Delivery",width:"32",height:"32"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"w-100 mb-2"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("msg_no_localization")))])]),t._v(" "),e("div",{staticClass:"w-100"},[e("small",[t._v(t._s(t.$t("msg_no_localization_description")))])])])]),t._v(" "),e("div",{staticClass:"ml-auto"},[t.showHutRewards?e("nuxt-link",{staticClass:"text-dark link-hover",attrs:{prefetch:!1,"data-tag":"hut-rewards-lbl",to:"/hut-rewards"}},[t.isAuthenticated?e("div",{staticClass:"d-flex align-items-center"},[e("span",{staticClass:"text-nowrap mr-1"},[t._v(t._s(t.point+" "+t.$tc("slices",t.point)))]),t._v(" "),e("img",{staticClass:"icon-slice",attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/pizza-icon.png"),alt:"logo-slice"}})]):e("img",{staticStyle:{height:"20px"},attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/hut-reward-3.png"),alt:"logo-hut-rewards"}})]):t._e()],1),t._v(" "),t.isAuthenticated?e("div",{staticClass:"ml-auto"},[e("i",{staticClass:"fa-solid fa-fw fa-xl fa-circle-user text-success"}),t._v(" "),e("nuxt-link",{staticClass:"text-dark link-hover",attrs:{prefetch:!1,"data-tag":"account-lbl",to:"/profile"}},[e("span",[t._v(t._s(t.$t("hello_name",{name:t.name})))])]),t._v(" "),e("span",[t._v("/")]),t._v(" "),t.isAuthenticated?e("a",{staticClass:"text-dark link-hover",attrs:{"data-tag":"logout-lbl",href:"javascript:void(0)"},on:{click:t.doLogout}},[e("span",[t._v(t._s(t.$t("logout")))])]):t._e()],1):e("div",{staticClass:"ml-3"},[e("i",{staticClass:"fa-solid fa-fw fa-xl fa-circle-user"}),t._v(" "),e("nuxt-link",{staticClass:"text-dark link-hover",attrs:{prefetch:!1,"data-tag":"login-lbl",to:"/login"}},[e("span",[t._v(t._s(t.$t("login")))])]),t._v(" "),e("span",[t._v("/")]),t._v(" "),e("nuxt-link",{staticClass:"text-dark link-hover",attrs:{prefetch:!1,"data-tag":"register-lbl",to:"/register"}},[e("span",[t._v(t._s(t.$t("register")))])])],1)])]):t._e(),t._v(" "),t.isOrderPage?e("div",{staticClass:"d-block d-lg-none"},[e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"btn-group dropdown-header pr-0 pl-0 ml-auto"},[e("button",{staticClass:"btn-transparent dropdown-toggle pr-0",attrs:{"data-tag":"my-account-mobile-lbl",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"Account"}},[e("i",{class:"fa-solid fa-fw fa-xl fa-circle-user ".concat(t.isAuthenticated?"text-success":"")})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"login-mobile-lbl",to:"/login"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-lock mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("login")))])]),t._v(" "),t.isAuthenticated?t._e():e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"register-mobile-lbl",to:"/register"}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-user-plus mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("register")))])]),t._v(" "),t.isAuthenticated?e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"account-mobile-lbl",to:"/profile"}},[e("span",[t._v(t._s(t.$t("hello_name",{name:t.name})))])]):t._e(),t._v(" "),t.showHutRewards?e("nuxt-link",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{prefetch:!1,"data-tag":"hut-rewards-mobile-lbl",to:"/hut-rewards"}},[t.isAuthenticated?e("div",{staticClass:"d-flex align-items-center"},[e("span",{staticClass:"text-nowrap mr-1"},[t._v(t._s(t.point+" "+t.$tc("slices",t.point)))]),t._v(" "),e("img",{staticClass:"icon-slice",attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/pizza-icon.png"),alt:"logo-slice"}})]):e("img",{staticStyle:{height:"20px"},attrs:{loading:"lazy",src:t.getStaticLocal("fcds/hutawards/hut-reward-3.png"),alt:"logo-hut-rewards"}})]):t._e(),t._v(" "),t.isAuthenticated?e("a",{staticClass:"dropdown-item p-2 pl-3 pr-3",attrs:{"data-tag":"logout-mobile-lbl",href:"javascript:void(0)"},on:{click:t.doLogout}},[e("i",{staticClass:"fa-solid fa-fw fa-lg fa-arrow-right-from-bracket mr-1"}),t._v(" "),e("span",[t._v(t._s(t.$t("logout")))])]):t._e()],1)])])]):t._e()])]},proxy:!0}],null,!1,71955539)}),t._v(" "),t.isOrderPage?e("div",{staticClass:"w-100 d-block d-lg-none"},[t.address?e("div",{class:"container-localization-info media ml-3 mr-3 ".concat(t.orderType===t.$const.EAT_IN?"":"cursor-pointer"),attrs:{"data-tag":"date-time-lbl"},on:{click:function(e){return e.stopPropagation(),function(){return t.showModalLocalization(!0)}.apply(null,arguments)}}},[t.orderType===t.$const.COLLECTION?e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_pick_up.gif"),alt:"Icon Collection",width:"32",height:"32"}}):t.orderType===t.$const.EAT_IN?e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_dine_in.png"),alt:"Icon Eat-in",width:"32",height:"32"}}):e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_delivery.gif"),alt:"Icon Delivery",width:"32",height:"32"}}),t._v(" "),e("div",{staticClass:"media-body",staticStyle:{"max-width":"calc(100% - 100px)"}},[e("div",{staticClass:"w-100 mb-1 text-nowrap text-truncate",staticStyle:{"max-width":"100%"},attrs:{"data-tag":"address-lbl"}},[t.orderType===t.$const.EAT_IN&&t.tableId?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.tableId)+" - ")]):t._e(),t._v(" "),t.orderType===t.$const.COLLECTION&&t.isMarketJP?e("span",{staticClass:"font-weight-bold",on:{click:function(e){return e.stopPropagation(),t.goToStore.apply(null,arguments)}}},[t._v(t._s(t.address))]):e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.address))])]),t._v(" "),t.orderType===t.$const.DELIVERY&&t.isMarketJP?e("div",{staticClass:"d-flex align-items-center mr-3 mb-1",on:{click:function(e){return e.stopPropagation(),t.goToStore.apply(null,arguments)}}},[e("img",{staticClass:"align-self-center mr-2",attrs:{loading:"lazy",src:t.getStaticLocal("icons/store.png"),alt:"Icon Delivery",width:"16",height:"16"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.outletName))])]):t._e(),t._v(" "),e("div",{staticClass:"w-100 d-flex align-items-center text-nowrap text-truncate"},[t.orderType===t.$const.DELIVERY?e("span",[t._v(t._s(t.$t("delivery")))]):t._e(),t._v(" "),t.orderType===t.$const.COLLECTION?e("span",[t._v(t._s(t.$t("take_out")))]):t._e(),t._v(" "),t.orderType===t.$const.EAT_IN?e("span",[t._v(t._s(t.$t("eat_in")))]):t._e(),t._v(" "),e("span",{staticClass:"ml-1 mr-1"},[t._v("-")]),t._v(" "),e("span",[t._v(t._s(t.displayDateTime))])])]),t._v(" "),t.orderType!==t.$const.EAT_IN?e("button",{staticClass:"ml-2 bt
1n btn-sm btn-transparent p-0 align-self-center text-success",attrs:{type:"button","data-tag":"change-btn"},on:{click:function(e){return e.stopPropagation(),function(){return t.showModalLocalization(!0)}.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("change"))+"\n ")]):t._e()]):e("div",{staticClass:"cursor-pointer container-localization-info media ml-3 mr-3",attrs:{"data-tag":"date-time-lbl"},on:{click:function(){return t.showModalLocalization(!1)}}},[e("img",{staticClass:"align-self-center mr-3",attrs:{loading:"lazy",src:t.getStaticGlobal("icons/icon_delivery.gif"),alt:"Icon Delivery",width:"32",height:"32"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"w-100 mb-2"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("msg_no_localization")))])]),t._v(" "),e("div",{staticClass:"w-100"},[e("small",[t._v(t._s(t.$t("msg_no_localization_description")))])])])])]):t._e(),t._v(" "),e("md-dialog",{staticClass:"modal-reset-cart",attrs:{"md-fullscreen":!1,"md-click-outside-to-close":!1,"md-active":t.showResetCartDialog},on:{"update:mdActive":function(e){t.showResetCartDialog=e},"update:md-active":function(e){t.showResetCartDialog=e}}},[e("div",{staticClass:"p-4"},[e("p",{domProps:{innerHTML:t._s(t.messageResetCart)}}),t._v(" "),t.isMarketNZ?e("button",{staticClass:"btn btn-success p-2 w-100 mt-4",attrs:{type:"button"},on:{click:function(){return t.doResetCart(0)}}},[t._v("\n "+t._s(t.$t("find_your_order"))+"\n ")]):t._e(),t._v(" "),e("button",{class:"btn btn-outline p-2 w-100 ".concat(t.isMarketNZ?"mt-3":"mt-4"),attrs:{type:"button"},on:{click:function(){return t.doResetCart(1)}}},[t._v("\n "+t._s(t.$t("close"))+"\n ")])])]),t._v(" "),"index"!==t.$route.name&&"home"!==t.$route.name?e("md-dialog",{class:"modal-localization ".concat(t.$const.REGION===t.$const.REGION_MY?"modal-localization-my":""),attrs:{"md-fullscreen":!1,"md-active":t.showDialog},on:{"update:mdActive":function(e){t.showDialog=e},"update:md-active":function(e){t.showDialog=e}}},[e("asia-localization",{attrs:{"is-home-page":!1,"is-order-page":t.isOrderPage,"is-advance-order":t.isAdvanceOrder,"message-error-order-time":t.messageErrorOrderTime}})],1):t._e(),t._v(" "),t.isOrderPage?e("map-localization",{attrs:{"handle-confirm-location":function(e,o,address,n,r){return t.$nuxt.$emit("doConfirmLocation",e,o,address,n,r)}}}):t._e()],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Promotion:o(719).default,ConnectionManager:o(720).default,AsiaLocalization:o(260).default,MapLocalization:o(522).default})},262:function(t,e,o){"use strict";o.r(e);var n=o(1),r=(o(51),o(13),o(21),o(16),o(20),{name:"FooterMain",data:function(){return{isApp:!1,data:[]}},fetch:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.getDataCategory();case 1:case"end":return e.stop()}}),e)})))()},mounted:function(){if(this.$const.REGION===this.$const.REGION_PH){var t=o(623);this.data=t.initialize(this)}if(this.$const.REGION===this.$const.REGION_MY){var e=o(624);this.data=e.initialize(this)}if(this.$const.REGION===this.$const.REGION_JP){var n=o(625);this.data=n.initialize(this)}if(this.$const.REGION===this.$const.REGION_NZ){var r=o(626);this.data=r.initialize(this)}var c=this.$route.query&&this.$route.query.isApp;this.isApp=1===Number(c)},methods:{getDataCategory:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var o,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$api.getAPI(t.$apiURL.CATEGORY_LIST);case 3:(o=e.sent)&&o.items&&o.items.length>0&&((n=o.items).length>0&&t.$const.REGION!==t.$const.REGION_JP&&(r=[],n.forEach((function(element){r.push({text:element.name,link:"/order/".concat(element.slug),isRouter:!0})})),t.data[0].data=r),localStorage.setItem(t.$const.CATEGORY_STORE,JSON.stringify(n))),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error("Error function getDataCategory: ",e.t0);case 10:t.$event_tracking.eventTrackingFooter(t.data);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))()}}}),c=(o(627),o(8)),component=Object(c.a)(r,(function(){var t=this,e=t._self._c;return t.isApp?t._e():e("div",{staticClass:"bg-black wow fadeInUp",attrs:{"data-wow-delay":"0.5s"}},[e("ph-footer",{attrs:{"is-listitem":!0,"list-item":t.data,"is-information":!0,"is-copyright":!1,"class-footer":"text-white bg-black container"},scopedSlots:t._u([{key:"customizeInformation",fn:function(){return[e("div",{staticClass:"d-none d-lg-block w-100"},[t.$const.REGION===t.$const.REGION_PH?e("div",{staticClass:"d-flex xs-flex-center footer-border-white"},[e("nuxt-link",{attrs:{prefetch:!1,to:"/contact"}},[t._v("\n "+t._s(t.$t("contact_us"))+"\n ")]),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("nuxt-link",{attrs:{prefetch:!1,to:"/privacy"}},[t._v("\n "+t._s(t.$t("privacy_policy"))+"\n ")]),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("nuxt-link",{attrs:{prefetch:!1,to:"/term"}}
1,[t._v("\n "+t._s(t.$t("terms_of_use"))+"\n ")]),t._v(" "),e("span",[t._v("|")]),t._v("\n "+t._s(t.$t("copyright"))+"\n "),e("span",[t._v("|")]),t._v(t._s(t.$t("photo_only"))+"\n ")],1):e("div",{staticClass:"d-flex xs-flex-center footer-border-white"},[t._v("\n "+t._s(t.$t("copyright"))+"\n ")])]),t._v(" "),e("div",{staticClass:"d-block d-lg-none w-100 pr-3"},[t.$const.REGION!==t.$const.REGION_NZ?e("div",{staticClass:"d-flex xs-flex-center footer-border-white"},[e("nuxt-link",{attrs:{prefetch:!1,to:"/contact"}},[t._v("\n "+t._s(t.$t("contact_us"))+"\n ")]),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("nuxt-link",{attrs:{prefetch:!1,to:"/privacy"}},[t._v("\n "+t._s(t.$t("privacy_policy"))+"\n ")]),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("nuxt-link",{attrs:{prefetch:!1,to:"/term"}},[t._v("\n "+t._s(t.$t("terms_of_use"))+"\n ")]),t._v(" "),e("span",[t._v("|")]),t._v(" "),e("span",[t._v(t._s(t.$t("photo_only")))])],1):t._e(),t._v(" "),e("div",{staticClass:"text-center mt-2"},[e("small",[t._v(t._s(t.$t("copyright")))])])])]},proxy:!0}],null,!1,242996961)})],1)}),[],!1,null,"a09741da",null);e.default=component.exports},341:function(t,e,o){t.exports={}},347:function(t,e,o){t.exports={}},616:function(t,e,o){"use strict";o(341)},627:function(t,e,o){"use strict";o(347)},720:function(t,e,o){"use strict";o.r(e);o(26),o(28),o(13),o(35),o(21),o(36);var n=o(9),r=(o(32),o(27),o(51),o(5)),c=o(18),l=o(6);function d(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function m(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?d(Object(o),!0).forEach((function(e){Object(n.a)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var h={name:"ConnectionManager",setup:function(){var t=Object(r.ref)(null),e=Object(r.ref)(null);return Object(r.onUnmounted)((function(){t.value&&t.value.close(),e.value&&clearTimeout(e.value)})),{socket:t,timeout:e}},data:function(){return{}},computed:m({},Object(c.c)({isComboAttribute:"isComboAttribute",isRolo:"isRolo",isSimplifyHomePage:"isSimplifyHomePage"})),mounted:function(){this.initilizeSocket(),window.addEventListener("beforeunload",this.beforeUnloadPage)},destroyed:function(){window.removeEventListener("beforeunload",this.beforeUnloadPage)},methods:m(m({},Object(c.b)({setIsComboAttribute:l.g,setPoint:l.r,setOrderInfo:l.q,setMaintained:l.m,setMaxCash:l.n,setMaxNonCash:l.o,setHutReward:l.f,setMaintainanceHutReward:l.l,setIsRolo:l.i,setIsSimplifyHomePage:l.j})),{},{initilizeSocket:function(){var t=this,e=this;this.socket=new WebSocket("wss://fndc9ovvqf.execute-api.ap-southeast-1.amazonaws.com/prod?Authorization=59bd1b34-2e5b-5622-8404-492d762bf855&ClientId=gms-apse1-prod&MarketId=ph&From=fcds"),this.connect(),this.socket.onerror=function(t){console.error("Error connect to websocket detected: "+t)},this.socket.onmessage=function(t){console.log("Receive message from websocket: ".concat(t)),e.processMessage(t)},clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.initilizeSocket()}),18e4)},connect:function(){this.socket.onopen=function(t){console.log("Connect to websocket opened")}},disconnect:function(){this.socket.onclose=function(t){console.log("Connect to websocket closed")}},beforeUnloadPage:function(){this.socket&&this.socket.close(),clearTimeout(this.timeout)},processMessage:function(t){try{var e=JSON.parse(t.data);if((e.event&&e.event.type)===this.$const.SOCKET_EVENT.UPDATE_CLIENT_CONFIG){var data=JSON.parse(e.data),o=data.config&&data.config.manual,n={start_time:this.$common_functions.convertTimeToUTC(this.getValueFromAttr(o,"start_time_sf")),end_time:this.$common_functions.convertTimeToUTC(this.getValueFromAttr(o,"end_time_sf"))};this.setMaintainanceHutReward(n);var r="1"===this.getValueFromAttr(o,"filter_combo",!1)||!1,c="1"===this.getValueFromAttr(o,"show_rolo_menu",!1)||!1,l="1"===this.getValueFromAttr(o,"simple_homepage",!1)||
1!1;this.isComboAttribute!==r&&this.setIsComboAttribute(r),this.isRolo!==c&&this.setIsRolo(c),this.isSimplifyHomePage!==l&&this.setIsSimplifyHomePage(l);var main=data.config&&data.config.main;this.setMaintained(1===Number(main.web_maintenance)),this.setMaxCash(Number(this.getValueFromAttr(main,"max_cash_value",0))),this.setMaxNonCash(Number(this.getValueFromAttr(main,"max_noncash_value",0)))}}catch(t){console.error("Receive message from websocket has error: "+t)}}})},_=o(8),component=Object(_.a)(h,(function(){return(0,this._self._c)("div",{staticClass:"d-none",attrs:{id:"connection-manager"}})}),[],!1,null,null,null);e.default=component.exports}}]);
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.