1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93033],{92587:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/group-order/end",function(){return r(27094)}])},54413:function(e,n,r){"use strict";r.d(n,{tn:function(){return N},lm:function(){return d},xn:function(){return a}});var i=r(85893),s=r(37415),t=r.n(s),a=e=>{let{rootClassName:n="",icon:r,text:s,title:a}=e;return(0,i.jsxs)("div",{className:"".concat(t().cancel," ").concat(n),children:[(0,i.jsx)("i",{className:"iconfont ".concat(r)}),(0,i.jsx)("h1",{children:a}),(0,i.jsx)("p",{children:s})]})},c=r(24344),o=r(1398),_=r.n(o),d=e=>{let{rootClassName:n="",imgUrl:r=""}=e,{appConfig:s}=(0,c.s6)();return(0,i.jsx)("div",{className:"".concat(_().header," ").concat(n),children:(0,i.jsx)("img",{src:r||(null==s?void 0:s.logoUrl),className:"group_order_index_header_img",alt:""})})},l=r(67294),u=r(10367),x=r.n(u),m=r(12958);let E={PICK_UP:{icon:"group-order-pickup",text:"PICKUP "},DELIVERY:{icon:"ideliver",text:"DELIVERY "},DINE_IN:{icon:"idine-type-dinein",text:"DINEIN "},TAKE_OUT:{icon:"idine-type-takeout",text:"TAKEOUT "}};var h=r(96821),R=r(64295),p=r.n(R),N=e=>{var n,r;let{rootClassName:s="",basicInfo:t,fullAddress:a}=e,{shoppingCartName:o,shopInfo:_,shareUrl:d,diningType:u,customerFirstName:R,deliveryAddress:N,groupAvatarUrl:f,state:g,isShowRefresh:j,onClickRefresh:v}=t,[O,D]=m.ZP.useMessage(),b=(0,c.hU)(),C=(0,l.useCallback)(()=>{if(navigator.share&&b.isMobile)navigator.share({title:"Invite Guests to Join",text:"Hey itâs your friend "+R+", please join my group order at "+(null==_?void 0:_.name)+".",url:d||""}).catch(e=>console.error("Error sharing",e));else{let e=document.createElement("input");e.value="Hey itâs your friend "+R+", please join my group order at "+(null==_?void 0:_.name)+"."+d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),document.body.removeChild(e),O.open({content:"Copy Success",key:"copy",className:p().message})}},[d,b.isMobile]);return(0,i.jsxs)("div",{className:"".concat(p().cartBasic," ").concat(s),children:[D,(0,i.jsx)("div",{className:"group_order_index_cart_basic_name",children:o}),(0,i.jsxs)("div",{className:"group_order_index_cart_basic_store",children:[(0,i.jsx)("i",{className:"iconfont icon-ishop"}),(0,i.jsx)("span",{children:null==_?void 0:_.name})]}),(0,i.jsxs)("div",{className:"group_order_index_cart_basic_type",children:[(0,i.jsx)("i",{className:"iconfont icon-".concat(null===(n=E[u||""])||void 0===n?void 0:n.icon)}),null===(r=E[u||""])||void 0===r?void 0:r.text,"\xa0","DELIVERY"===u&&(null==N?void 0:N.street)&&(0,i.jsxs)("div",{className:"group_order_index_cart_basic_type_street",children:["to ",null==N?void 0:N.street]}),"DELIVERY"!==u&&a&&(0,i.jsxs)("div",{className:"group_order_index_cart_basic_type_street",children:["@ ",a]})]}),(0,i.jsxs)("div",{className:"group_order_index_cart_basic_user",children:[f?(0,i.jsx)("img",{src:f,className:"group_order_index_cart_basic_user_avatar",alt:""}):(0,i.jsx)("i",{className:"iconfont icon-iuser group_order_index_cart_basic_user_avatar"}),(0,i.jsxs)("span",{children:["\xa0",(0,i.jsxs)("b",{children:[R," "]}),"is paying for this order"]})]}),(0,i.jsxs)("div",{className:"group_order_index_cart_basic_share",children:[(0,i.jsxs)(x(),{onClick:C,children:[(0,i.jsx)("i",{className:"iconfont icon-share2"}),"Share"]}),j&&(0,i.jsxs)(x(),{onClick:v,style:{marginLeft:10},children:[(0,i.jsx)("i",{className:"iconfont icon-ireload"}),"Refresh"]})]}),g===h.WF.GROUP_ORDER_ORDERED&&(0,i.jsx)("div",{className:"group_order_index_cart_basic_submitted",children:(0,i.jsxs)("span",{children:[(0,i.jsx)("i",{className:"iconfont icon-result-ok"}),"The group order has been submitted"]})})]})}},96821:function(e,n,r){"use strict";r.d(n,{Dl:function(){return s},PQ:function(){return t},WF:function(){return i}});let i={GROUP_ORDER_CANCEL:"CANCEL",GROUP_ORDER_ORDERED:"ORDERED",GROUP_ORDER_OPEN:"OPEN",GROUP_ORDER_COMPLETE:"COMPLETE",GROUP_ORDER_ORDERING:"ORDERING"},s={GROUP_ORDER_CANCEL:98500,GROUP_ORDER_LOCKED:98501},t={USER_READY_READY:"READY",USER_READY_ORDERING:"ORDERING"}},27094:function(e,n,r){"use strict";r.r(n);var i=r(85893),s=r(54413),t=r(34606),a=r.n(t);n.default=()=>(0,i.jsx)("div",{className:a().container,children:(0,i.jsx)(s.xn,{icon:"icon-group-order-end",title:"Oops",text:(0,i.jsxs)(i.Fragment,{children:["The group order session is ended. ",(0,i.jsx)("br",{}),"Please contact the creator for order status and details."]})})})},37415:function(e){e.exports={cancel:"cancel_cancel__XX66C","text-animation":"cancel_text-animation__HHgrs"}},64295:function(e){e.exports={cartBasic:"cartBasic_cartBasic__i90eu",message:"cartBasic_message__Xw1jb","text-animation":"cartBasic_text-animation__80hfj"}},1398:function(e){e.exports={header:"header_header__rgF79",header_img:"header_header_img__NrdHE","text-animation":"header_text-animation__7LTD7"}},34606:function(e){e.exports={container:"end_container___CRBQ","text-animation":"end_text-animation__GoefU"}}},function(e){e.O(0,[49774,92888,40179],function(){return e(e.s=92587)}),_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.