1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9031],{4162:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>X,default:()=>q});var i=n(37876),r=n(14232),l=n(68050),s=n(67512),a=n(9505),o=n(89099),c=n(60746),d=n(74695),u=n(44780),m=n(21377),x=n(52378),h=n(82),p=n(95235);let j=e=>{let{setType:t,type:n,moduleType:r}=e,{t:l}=(0,h.Bd)();return(0,i.jsx)(m.A,{orientation:"horizontal",variant:"scrollable",scrollButtons:"auto","aria-label":"scrollable auto tabs example",children:(0,i.jsxs)(x.A,{children:["parcel"!==r&&(0,i.jsx)(p.z9,{background:"items"===n,onClick:()=>t("items"),sx:{width:{xs:"80px",md:"100px"}},children:l("Items")}),(0,i.jsx)(p.z9,{background:"delivery_man"===n,onClick:()=>t("delivery_man"),sx:{width:"100px"},children:l("Delivery man")})]})})};j.propTypes={};var g=n(39593),A=n(64410),v=n(22474),y=n(3801),f=n(80626),w=n(71538),_=n(78550),b=n(97685),S=n(65904),C=n(1992),I=n(70190),B=n(42107);let k=async e=>{let{data:t}=await B.A.post("".concat(I.IX),e);return t},R=()=>(0,C.useMutation)("submit-review",k);var z=n(58607),V=n(26068);let E=e=>{var t,n,r;let{data:l}=e,{t:s}=(0,h.Bd)(),{configData:a}=(0,d.d4)(e=>e.configData);null==a||null==(t=a.base_urls)||t.item_image_url;let{mutate:o,isLoading:u,error:m}=R(),x=(0,g.Wx)({initialValues:{rating:"",comment:""},onSubmit:async(e,t)=>{try{p(e)}catch(e){}}}),p=e=>{o({...e,delivery_man_id:null,item_id:null==l?void 0:l.item_id,order_id:null==l?void 0:l.order_id},{onSuccess:e=>{b.Ay.success(null==e?void 0:e.message)},onError:S.Jm})},j=localStorage.getItem("direction");return(0,i.jsx)(c.jB,{children:(0,i.jsx)("form",{onSubmit:x.handleSubmit,children:(0,i.jsxs)(A.Ay,{container:!0,spacing:2,children:[(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,children:(0,i.jsxs)(c.jB,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[(0,i.jsxs)(v.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,gap:"rtl"===j?"1rem":"0rem",children:[(0,i.jsx)(_.A,{src:null==l?void 0:l.image_full_url,width:"100px",height:"90px"}),(0,i.jsxs)(v.A,{children:[(0,i.jsx)(c.k5,{children:null==l||null==(n=l.item_details)?void 0:n.name}),(0,i.jsx)(c.k5,{children:(0,z.Yi)(null==l||null==(r=l.item_details)?void 0:r.price)})]})]}),(0,i.jsxs)(v.A,{direction:"row",spacing:.5,alignItems:"center",children:[(0,i.jsx)(c.yo,{sx:{fontSize:"18px"},children:s("Quantity")}),(0,i.jsx)(c.yo,{sx:{fontSize:"18px"},children:":"}),(0,i.jsx)(c.YO,{color:"primary.main",sx:{fontSize:"18px"},children:null==l?void 0:l.quantity})]})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,children:(0,i.jsx)(w.A,{sx:{width:"100%"}})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,align:"center",children:(0,i.jsxs)(v.A,{alignItems:"center",children:[(0,i.jsx)(c.yo,{sx:{fontSize:"18px"},children:s("Rate the item")}),(0,i.jsx)(V.A,{handleChangeRatings:e=>{x.setFieldValue("rating",e)},ratingValue:x.values.rating,fontSize:"2rem"})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,align:"center",children:(0,i.jsxs)(v.A,{alignItems:"center",spacing:1,sx:{".MuiInputBase-input":{height:"1.3em !important"}},children:[(0,i.jsx)(c.yo,{sx:{fontSize:"18px"},children:s("Share your opinion")}),(0,i.jsx)(f.A,{type:"textarea",label:s("Comment"),touched:x.touched.comment,errors:x.errors.comment,fieldProps:x.getFieldProps("comment"),multiline:!0,rows:4,value:x.values.comment})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,mt:"1rem",children:(0,i.jsx)(y.A,{fullWidth:!0,variant:"contained",type:"submit",loading:u,children:s("Submit")})})]})})})};E.propTypes={};var M=n(76776);let H=()=>(0,i.jsx)(c.WU,{children:(0,i.jsx)(c.jB,{children:(0,i.jsxs)(A.Ay,{container:!0,spacing:2,children:[(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,children:(0,i.jsxs)(c.jB,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[(0,i.jsxs)(v.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,children:[(0,i.jsx)(M.A,{variant:"rectangle",width:"100px",height:"90px"}),(0,i.jsxs)(v.A,{children:[(0,i.jsx)(c.k5,{children:(0,i.jsx)(M.A,{variant:"text",width:"90px"})}),(0,i.jsx)(c.k5,{children:(0,i.jsx)(M.A,{variant:"text",width:"90px"})})]})]}),(0,i.jsx)(v.A,{direction:"row",spacing:.5,alignItems:"center",children:(0,i.jsx)(M.A,{variant:"text",width:"130px"})})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,children:(0,i.jsx)(w.A,{sx:{width:"100%"}})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,align:"center",children:(0,i.jsxs)(v.A,{alignItems:"center",children:[(0,i.jsx)(M.A,{variant:"text",width:"130px"}),(0,i.jsx)(M.A,{variant:"text",width:"130px"})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,align:"center",children:(0,i.jsxs)(v.A,{alignItems:"center",spacing:1,children:[(0,i.jsx)(M.A,{variant:"text",width:"130px"}),(0,i.jsx)(M.A,{variant:"rectangle",height:"80px",width:"100%"})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,mt:"1rem",children:(0,i.jsx)(M.A,{variant:"rectangle",height:"35px",width:"100%"})})]})})}),N=async e=>{let{data:t}=await B.A.post("".concat(I.F_),e);return t},P=()=>(0,C.useMutation)("submit-review-deliveryman",N);var D=n(59719);let O=e=>{var t;let{data:n,orderId:r}=e,{t:l}=(0,h.Bd)(),{configData:s}=(0,d.d4)(e=>e.configData);null==s||null==(t=s.base_urls)||t.delivery_man_image_url;let{mutate:a,isLoading:o,error:u}=P(),m=(0,g.Wx)({initialValues:{rating:"",comment:""},onSubmit:async(e,t)=>{try{p(e)}catch(e){}}}),x=e=>{m.setFieldValue("rating",e)},p=e=>{a({...e,delivery_man_id:null==n?void 0:n.id,order_id:r},{onSuccess:e=>{b.Ay.success(null==e?void 0:e.message)},onError:S.Jm})};return(0,i.jsx)(c.jB,{children:(0,i.jsx)("form",{onSubmit:m.handleSubmit,children:(0,i.jsxs)(A.Ay,{container:!0,spacing:2,children:[(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,children:(0,i.jsx)(c.jB,{direction:"row",justifyContent:"space-between",alignItems:"center",children:(0,i.jsxs)(v.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,children:[(0,i.jsx)(_.A,{src:null==n?void 0:n.image_full_url,width:"100px",height:"90px"}),(0,i.jsxs)(v.A,{children:[(0,i.jsx)(c.k5,{children:null==n?void 0:n.f_name.concat(" ",null==n?void 0:n.l_name)}
1),n&&(0,i.jsx)(V.A,{readOnly:!0,handleChangeRatings:x,ratingValue:null==n?void 0:n.avg_rating})]})]})})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,children:(0,i.jsx)(w.A,{sx:{width:"100%"}})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,align:"center",children:(0,i.jsxs)(v.A,{alignItems:"center",children:[(0,i.jsx)(c.yo,{sx:{fontSize:"18px"},children:l("Rate the deliveryman")}),(0,i.jsx)(V.A,{handleChangeRatings:x,ratingValue:m.values.rating})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,align:"center",children:(0,i.jsxs)(v.A,{alignItems:"center",spacing:1,children:[(0,i.jsx)(c.yo,{sx:{fontSize:"18px"},children:l("Share your opinion")}),(0,i.jsx)(f.A,{type:"text",label:l("Comment"),touched:m.touched.comment,errors:m.errors.comment,fieldProps:m.getFieldProps("comment"),multiline:!0,rows:2,value:m.values.comment})]})}),(0,i.jsx)(A.Ay,{item:!0,xs:12,md:12,mt:"1rem",children:(0,i.jsx)(y.A,{fullWidth:!0,variant:"contained",type:"submit",loading:o,children:l("Submit")})})]})})})};O.propTypes={};var T=n(77127),F=n(68028),L=n(51868),U=n(82179);let J=()=>{let{deliveryManInfo:e}=(0,d.d4)(e=>e.searchFilterStore),[t,n]=(0,r.useState)("items"),{id:l}=(0,o.useRouter)().query,{refetch:s,data:a,isRefetching:m}=(0,u.A)(l),{refetch:x,data:h,isRefetching:p}=(0,T.A)(l);return(0,r.useEffect)(()=>{l&&s()&&x()},[l]),(0,i.jsx)(c.jB,{alignItems:"center",justifyContent:"center",spacing:2,mt:"1rem",children:(0,i.jsxs)(i.Fragment,{children:[m?(0,i.jsx)(M.A,{variant:"ractangle",width:"100px",height:"100%"}):e&&(null==a?void 0:a.module_type)!=="parcel"&&(0,i.jsx)(j,{setType:n,type:t,moduleType:null==a?void 0:a.module_type}),(0,i.jsx)(c.jB,{alignItems:"center",justifyContent:"center",spacing:3,children:"items"===t&&(null==a?void 0:a.module_type)!=="parcel"?a?null==a?void 0:a.map((e,t)=>(0,i.jsx)(c.WU,{children:(0,i.jsx)(E,{data:e})},t)):(0,i.jsx)(H,{}):(0,i.jsx)(c.WU,{children:(null==h?void 0:h.delivery_man)?(0,i.jsx)(O,{data:null==h?void 0:h.delivery_man,orderId:l}):(0,i.jsx)(c.jB,{justifyContent:"center",alignItems:"center",children:(0,i.jsx)(U.A,{width:"100%",alignItems:"center",justifyContent:"center",height:"100%",children:(0,i.jsx)(F.A,{label:"No delivery man assigned for the delivery.",image:L.A})})})})})]})})};var W=n(5513),Q=n(32119),X=!0;let q=e=>{let{configData:t,landingPageData:n}=e,r=(0,o.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(W.A,{title:t?"Rate and Review":"Loading...",image:"".concat((0,D.VG)({value:null==t?void 0:t.logo_storage},"business_logo_url",t),"/").concat(null==t?void 0:t.fav_icon),businessName:null==t?void 0:t.business_name}),(0,i.jsx)(l.Ay,{}),(0,i.jsx)(a.A,{from:r.pathname.replace("/",""),children:(0,i.jsx)(s.A,{configData:t,children:(0,i.jsx)(Q.A,{children:(0,i.jsx)(J,{})})})})]})}},5513:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var i=n(37876),r=n(77328),l=n.n(r),s=n(95062),a=n.n(s),o=n(89099);n(14232),n(74695),n(59719);let c=e=>{var t;let{configData:n}=e;return null==n||null==(t=n.base_urls)||t.business_logo_url,(0,i.jsxs)(l(),{children:[(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:null==n?void 0:n.fav_icon_full_url}),(0,i.jsx)("link",{rel:"icon",href:null==n?void 0:n.fav_icon_full_url}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:null==n?void 0:n.fav_icon_full_url}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:null==n?void 0:n.fav_icon_full_url})]})};c.propTypes={};let d=e=>{let{title:t,description:n,keywords:r,image:s,businessName:a,configData:d}=e,{asPath:u}=(0,o.useRouter)(),m="".concat("we").concat(u);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c,{configData:d}),(0,i.jsxs)(l(),{children:[(0,i.jsx)("title",{children:t?"".concat(t," | ").concat(a):a}),(0,i.jsx)("meta",{itemProp:"name",content:t}),(0,i.jsx)("meta",{itemProp:"description",content:n}),(0,i.jsx)("meta",{itemProp:"image",content:s}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:title",content:t||a}),(0,i.jsx)("meta",{property:"og:description",content:n}),(0,i.jsx)("meta",{property:"og:url",content:m}),(0,i.jsx)("meta",{property:"og:site_name",content:a}),s&&(0,i.jsx)("meta",{property:"og:image",content:s}),(0,i.jsx)("meta",{name:"twitter:title",content:t||a}),(0,i.jsx)("meta",{name:"twitter:description",content:n}),(0,i.jsx)("meta",{name:"twitter:url",content:m}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),s&&(0,i.jsx)("meta",{name:"twitter:image",content:s}),(0,i.jsx)("meta",{itemProp:"name",content:t||a}),(0,i.jsx)("meta",{itemProp:"description",content:n}),s&&(0,i.jsx)("meta",{itemProp:"image",content:s}),(0,i.jsx)("link",{rel:"canonical",href:m})]})]})};d.propTypes={title:a().string};let u=d},9505:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(37876),r=n(14232),l=n(89099),s=n(74695);let a=e=>{let{children:t,from:n}=e,a=(0,l.useRouter)(),[o,c]=(0,r.useState)(!1),{configData:d}=(0,s.d4)(e=>e.configData);return((0,r.useEffect)(()=>
1{if(!a.isReady)return;let e=localStorage.getItem("token"),t=localStorage.getItem("guest_id");e||t||t&&(null==d?void 0:d.guest_checkout_status)===1?c(!0):a.push({pathname:"/home",query:{from:n}},void 0,{shallow:!0})},[a.isReady]),o)?(0,i.jsx)(i.Fragment,{children:t}):null}},25991:(e,t,n)=>{"use strict";var i=n(29563);t.A=void 0;var r=i(n(31405)),l=n(37876);t.A=(0,r.default)((0,l.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-1 9H9V9h10zm-4 4H9v-2h6zm4-8H9V5h10z"}),"LibraryBooks")},44780:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(42107),r=n(70190),l=n(1992),s=n(65904);let a=async(e,t)=>{let{data:n}=await i.A.get("".concat(r.xI,"?order_id=").concat(e,"&guest_id=").concat(t));return n};function o(e,t){return(0,l.useQuery)("order-details",()=>a(e,t),{enabled:!1,onError:s.P1})}},45675:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var i=n(44501),r=n(40670),l=n(14232),s=n(69241),a=n(4697),o=n(54773),c=n(52196),d=n(47951),u=n(45879);function m(e){return(0,u.Ay)("MuiBottomN
1avigation",e)}(0,d.A)("MuiBottomNavigation",["root"]);var x=n(37876);let h=["children","className","component","onChange","showLabels","value"],p=e=>{let{classes:t}=e;return(0,a.A)({root:["root"]},m,t)},j=(0,o.Ay)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})(e=>{let{theme:t}=e;return{display:"flex",justifyContent:"center",height:56,backgroundColor:(t.vars||t).palette.background.paper}}),g=l.forwardRef(function(e,t){let n=(0,c.b)({props:e,name:"MuiBottomNavigation"}),{children:a,className:o,component:d="div",onChange:u,showLabels:m=!1,value:g}=n,A=(0,r.A)(n,h),v=(0,i.A)({},n,{component:d,showLabels:m}),y=p(v);return(0,x.jsx)(j,(0,i.A)({as:d,className:(0,s.A)(y.root,o),ref:t,ownerState:v},A,{children:l.Children.map(a,(e,t)=>{if(!l.isValidElement(e))return null;let n=void 0===e.props.value?t:e.props.value;return l.cloneElement(e,{selected:n===g,showLabel:void 0!==e.props.showLabel?e.props.showLabel:m,value:n,onChange:u})})}))})},50931:(e,t,n)=>{"use strict";var i=n(29563);t.A=void 0;var r=i(n(31405)),l=n(37876);t.A=(0,r.default)((0,l.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home")},51868:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i={src:"/_next/static/media/nodata.34e87c10.png",height:1004,width:1004,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAIVBMVEVMaXFONxwcFBCHUzdzQilEKRwkFhHCb0icXjxzPCjEm0NC61HmAAAAC3RSTlMAQA5vVzIagIQ1mvK1i+0AAAAJcEhZcwAAA+gAAAPoAbV7UmsAAAAvSURBVHicY2BAABZmVgjNxcjOBmIwM7JwMoIYrMys7ExgOTZGJg4Ii4mBCSwHAQAQBABp7ikxjAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},63792:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/rate-and-review/[id]",function(){return n(4162)}])},67512:(e,t,n)=>{"use strict";n.d(t,{A:()=>F});var i=n(37876),r=n(30566),l=n(6995),s=n(89099),a=n(95062),o=n.n(a),c=n(14232),d=n(74695),u=n(13731),m=n(65581),x=n(60746),h=n(44730),p=n(48614),j=n(25991),g=n(50931),A=n(80630),v=n(79675),y=n(46084),f=n(90233);n(16394);var w=n(2799),_=n(45675),b=n(19090),S=n(61535),C=n(97914),I=n(94653),B=n(72370),k=n(66129),R=n(91657),z=n(97685),V=n(78333),E=n(67578),M=n(30290),H=n(39883);let N={maxWidth:2e3,width:"100%",height:"100%",padding:"0px 1rem"},P=c.memo(()=>{var e,t,n,r,l,a;let{wishLists:o}=(0,d.d4)(e=>e.wishList),{cartList:u}=(0,d.d4)(e=>e.cart),{selectedModule:m}=(0,d.d4)(e=>e.utilsData),h=(null==o||null==(e=o.item)?void 0:e.length)+(null==o||null==(t=o.store)?void 0:t.length),p=(null==o||null==(n=o.providers)?void 0:n.length)+(null==o||null==(r=o.vehicles)?void 0:r.length),[P,D]=(0,c.useState)(!1),[O,T]=(0,c.useState)(!1),F=(0,s.useRouter)(),L=F.pathname.replace("/",""),U=()=>{D(!0)},J=()=>{(0,R.g)()?T(!0):z.oR.error((0,C.t)("Please login"))};return(0,i.jsx)(x.jB,{children:(0,i.jsxs)(w.A,{sx:{position:"fixed",bottom:0,left:0,right:0,padding:"5px",width:"100%",zIndex:1082,boxShadow:"0px -10px 10px -5px rgba(0, 0, 0, 0.2)"},elevation:3,children:[(0,i.jsx)(f.A,{style:N,children:(0,i.jsxs)(_.A,{showLabels:!0,value:L,onChange:(e,t)=>
1{"cart"!==t&&"wishlist"!==t&&("home"!==t?(0,R.g)()?F.push({pathname:"/profile",query:{page:t}},void 0,{shallow:!0}):z.oR.error((0,C.t)("Please login")):F.push("/".concat(t)))},children:[(0,i.jsx)(S.vf,{label:(0,C.t)("Home"),value:"home",icon:(0,i.jsx)(g.A,{})}),(null==m?void 0:m.module_type)==="rental"?(0,i.jsx)(S.vf,{label:(0,C.t)("My Trips"),value:"my-trips",icon:(0,i.jsx)(b.A,{color:"error",children:(0,i.jsx)(H.A,{})})}):(0,i.jsx)(S.vf,{label:(0,C.t)("My Orders"),value:"my-orders",icon:(0,i.jsx)(b.A,{color:"error",children:(0,i.jsx)(j.A,{})})}),(null==m?void 0:m.module_type)!=="parcel"&&(null==m?void 0:m.module_type)!=="rental"&&(0,i.jsx)(S.vf,{onClick:()=>U(),label:(0,C.t)("Cart"),value:"cart",icon:(0,i.jsx)(b.A,{badgeContent:null==(l=(0,B.X)(u))?void 0:l.length,color:"error",children:(0,i.jsx)(v.A,{})})}),(null==m?void 0:m.module_type)==="rental"&&(0,i.jsx)(E.A,{sx:{marginTop:"2px",marginInlineStart:"4px"},children:(0,i.jsx)(V.X$,{color:e=>e.palette.neutral[1e3],label:(0,C.t)("Carts")})}),(0,i.jsx)(S.vf,{label:(0,C.t)("Chat"),value:"inbox",icon:(0,i.jsx)(b.A,{badgeContent:0,color:"error",children:(0,i.jsx)(A.A,{})})}),!!P&&(0,i.jsx)(I.A,{sideDrawerOpen:P,setSideDrawerOpen:D}),(0,i.jsx)(S.vf,{label:(0,C.t)("WishList"),value:"wishlist",onClick:()=>J(),icon:(0,i.jsx)(b.A,{badgeContent:(null==(a=(0,M.f)())?void 0:a.module_type)!=="rental"?h:p||0,color:"error",children:(0,i.jsx)(y.A,{})})})]})}),!!P&&(0,i.jsx)(I.A,{sideDrawerOpen:P,setSideDrawerOpen:D,cartList:u}),!!O&&(0,i.jsx)(k.A,{sideDrawerOpen:O,setSideDrawerOpen:T})]})})});var D=n(90428),O=n(57277);let T=e=>{let{children:t,configData:n}=e,[a,o]=(0,c.useState)(!1),{data:j,refetch:g}=(0,u.A)();(0,r.A)();let A=(0,l.A)("(max-width:1180px)"),v=(0,s.useRouter)(),{page:y}=v.query,f=(0,d.wA)();if((0,c.useEffect)(()=>{"/home"===v.pathname&&g()},[]),j){var w;let e=null==(w=JSON.parse(localStorage.getItem("module")))?void 0:w.module_type;if(0===j.length)localStorage.removeItem("module"),v.push("/",void 0,{shallow:!0});else if(!(null==j?void 0:j.find(t=>t.module_type===e))){let e=j[0];localStorage.setItem("module",JSON.stringify(e)),f((0,m.EQ)(e))}}let{landingPageData:_}=(0,d.d4)(e=>e.configData),{data:b,refetch:S}=(0,O.A)();return(0,c.useEffect)(()=>{_||S()},[]),(0,i.jsxs)(D.e,{justifyContent:"space-between",children:[(0,i.jsx)("header",{children:(0,i.jsx)(p.A,{})}),(0,i.jsx)(x.jB,{mt:A?"3.5rem":"5.9rem",children:(0,i.jsx)(x.jB,{sx:{minHeight:"70vh"},children:t})}),(0,i.jsx)("footer",{children:(0,i.jsx)(h.A,{configData:n,landingPageData:null!=_?_:b})}),A&&"parcel"!==y&&(0,i.jsx)(P,{})]},a)};T.propTypes={children:o().node};let F=c.memo(T)},77127:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(42107),r=n(70190),l=n(1992),s=n(65904),a=n(91657);let o=async(e,t,n)=>{let l=(0,a.g)();try{let s=l?"?order_id=".concat(e):"?order_id=".concat(e,"&guest_id=").concat(n,"&contact_number=").concat(t),{data:a}=await i.A.get("".concat(r.oT).concat(s));return a}catch(e){throw e}};function c(e,t,n,i){return(0,l.useQuery)("track-order-data",()=>o(e,t,n),{onSuccess:i,enabled:!1,retry:1,onError:s.Jm})}},77328:(e,t,n)=>{e.exports=n(89836)},79675:(e,t,n)=>{"use strict";var i=n(29563);t.A=void 0;var r=i(n(31405)),l=n(37876);t.A=(0,r.default)((0,l.jsx)("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 3c0 .55.45 1 1 1h1l3.6 7.59-1.35 2.44C4.52 15.37 5.48 17 7 17h11c.55 0 1-.45 1-1s-.45-1-1-1H7l1.1-2h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.37-.66-.11-1.48-.87-1.48H5.21l-.67-1.43c-.16-.35-.52-.57-.9-.57H2c-.55 0-1 .45-1 1m16 15c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"}),"ShoppingCartRounded")},80630:(e,t,n)=>{"use strict";var i=n(29563);t.A=void 0;var r=i(n(31405)),l=n(37876);t.A=(0,r.default)((0,l.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M9 11H7V9h2zm4 0h-2V9h2zm4 0h-2V9h2z"}),"SmsRounded")}},e=>{var t=t=>e(e.s=t);e.O(0,[3347,9759,3716,4913,2236,9571,5322,428,636,6593,8792],()=>t(63792)),_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.