1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[72],{"+YzT":function(e,t,a){"use strict";var n=a("wx14"),r=a("zLVn"),c=a("TSYQ"),s=a.n(c),i=(a("K9S6"),a("q1tI")),o=a.n(i),l=a("y8DL"),d=a("vUet"),u=a("qUpC"),b=a("Wzyw"),j=a("rQNl"),h=["bsPrefix","className","children","as"],p=o.a.forwardRef((function(e,t){var a=e.bsPrefix,c=e.className,i=e.children,l=e.as,u=void 0===l?"div":l,b=Object(r.a)(e,h);return a=Object(d.a)(a,"nav-item"),o.a.createElement(u,Object(n.a)({},b,{ref:t,className:s()(c,a)}),i)}));p.displayName="NavItem";var x=p,f=a("dbZe"),m=a("VWqr"),v=["bsPrefix","disabled","className","href","eventKey","onSelect","as"],O={disabled:!1,as:f.a},g=o.a.forwardRef((function(e,t){var a=e.bsPrefix,c=e.disabled,i=e.className,l=e.href,u=e.eventKey,b=e.onSelect,j=e.as,h=Object(r.a)(e,v);return a=Object(d.a)(a,"nav-link"),o.a.createElement(m.a,Object(n.a)({},h,{href:l,ref:t,eventKey:u,as:j,disabled:c,onSelect:b,className:s()(i,a,c&&"disabled")}))}));g.displayName="NavLink",g.defaultProps=O;var y=g,w=["as","bsPrefix","variant","fill","justify","navbar","navbarScroll","className","children","activeKey"],N=o.a.forwardRef((function(e,t){var a,c,h,p=Object(l.a)(e,{activeKey:"onSelect"}),x=p.as,f=void 0===x?"div":x,m=p.bsPrefix,v=p.variant,O=p.fill,g=p.justify,y=p.navbar,N=p.navbarScroll,_=p.className,C=p.children,E=p.activeKey,L=Object(r.a)(p,w),I=Object(d.a)(m,"nav"),T=!1,k=Object(i.useContext)(u.a),S=Object(i.useContext)(b.a);return k?(c=k.bsPrefix,T=null==y||y):S&&(h=S.cardHeaderBsPrefix),o.a.createElement(j.a,Object(n.a)({as:f,ref:t,activeKey:E,className:s()(_,(a={},a[I]=!T,a[c+"-nav"]=T,a[c+"-nav-scroll"]=T&&N,a[h+"-"+v]=!!h,a[I+"-"+v]=!!v,a[I+"-fill"]=O,a[I+"-justified"]=g,a))},L),C)}));N.displayName="Nav",N.defaultProps={justify:!1,fill:!1},N.Item=x,N.Link=y;t.a=N},"7xGa":function(e,t,a){"use strict";var n,r=a("wx14"),c=a("zLVn"),s=a("TSYQ"),i=a.n(s),o=a("q1tI"),l=a.n(o),d=a("dRu9"),u=a("wsUu"),b=a("z+q/"),j=["className","children"],h=((n={})[d.b]="show",n[d.a]="show",n),p=l.a.forwardRef((function(e,t){var a=e.className,n=e.children,s=Object(c.a)(e,j),p=Object(o.useCallback)((function(e){Object(b.a)(e),s.onEnter&&s.onEnter(e)}),[s]);return l.a.createElement(d.e,Object(r.a)({ref:t,addEndListener:u.a},s,{onEnter:p}),(function(e,t){return l.a.cloneElement(n,Object(r.a)({},t,{className:i()("fade",a,n.props.className,h[e])}))}))}));p.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},p.displayName="Fade",t.a=p},CRL4:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/orders-list",function(){return a("ldmH")}])},"Cz4+":function(e,t,a){"use strict";var n=a("wx14"),r=a("zLVn"),c=a("TSYQ"),s=a.n(c),i=a("q1tI"),o=a.n(i),l=a("vUet"),d=a("Qdst"),u=a("ILyh"),b=a("7xGa"),j=["activeKey","getControlledId","getControllerId"],h=["bsPrefix","className","active","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","transition","as","eventKey"];var p=o.a.forwardRef((function(e,t){var a=function(e){var t=Object(i.useContext)(d.a);if(!t)return e;var a=t.activeKey,c=t.getControlledId,s=t.getControllerId,o=Object(r.a)(t,j),l=!1!==e.transition&&!1!==o.transition,h=Object(u.b)(e.eventKey);return Object(n.a)({},e,{active:null==e.active&&null!=h?Object(u.b)(a)===h:e.active,id:c(e.eventKey),"aria-labelledby":s(e.eventKey),transition:l&&(e.transition||o.transition||b.a),mountOnEnter:null!=e.mountOnEnter?e.mountOnEnter:o.mountOnEnter,unmountOnExit:null!=e.unmountOnExit?e.unmountOnExit:o.unmountOnExit})}(e),c=a.bsPrefix,p=a.className,x=a.active,f=a.onEnter,m=a.onEntering,v=a.onEntered,O=a.onExit,g=a.onExiting,y=a.onExited,w=a.mountOnEnter,N=a.unmountOnExit,_=a.transition,C=a.as,E=void 0===C?"div":C,L=(a.eventKey,Object(r.a)(a,h)),I=Object(l.a)(c,"tab-pane");if(!x&&!_&&N)return null;var T=o.a.createElement(E,Object(n.a)({},L,{ref:t,role:"tabpanel","aria-hidden":!x,className:s()(p,I,{active:x})}));return _&&(T=o.a.createElement(_,{in:x,onEnter:f,onEntering:m,onEntered:v,onExit:O,onExiting:g,onExited:y,mountOnEnter:w,unmountOnExit:N},T)),o.a.createElement(d.a.Provider,{value:null},o.a.createElement(u.a.Provider,{value:null},T))}));p.displayName="TabPane",t.a=p},K9S6:function(e,t,a){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];function n(){for(var e=arguments.length,a=Array(e),n=0;n<e;n++)a[n]=arguments[n];var r=null;return t.forEach((function(e){if(null==r){var t=e.apply(void 0,a);null!=t&&(r=t)}})),r}return(0,c.default)(n)};var n,r=a("pvIh"),c=(n=r)&&n.__esModule?n:{default:n};e.exports=t.default},KD6P:function(e,t,a){"use strict";var n=a("dI71"),r=a("q1tI"),c=a.n(r),s=a("gpSn"),i=a("bxoZ"),o=a("Cz4+"),l=function(e){function t(){return e.apply(this,arguments)||this}return Object(n.a)(t,e),t.prototype.render=function(){throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")},t}(c.a.Component);l.Container=s.a,l.Content=i.a,l.Pane=o.a,t.a=l},PUkk:function(e,t,a){"use strict";var n=a("nKUr"),r=a("q1tI");t.a=function(e){var t=e.children,a=e.tableId,c=e.sort,s=e.previousBtnId,i=e.nextBtnId,o=e.pagginationId,l=e.activeClass,d=e.pagginationContainerId,u=e.pagginationClass,b=e.previousBtnClass,j=e.nextBtnClass,h=e.previousBtnText,p=e.nextbtnText,x=e.numberCountId,f=e.checkBox,m=e.checkBoxAll,v=e.checkBoxMother,O=Object(r.useState)(null),g=O[0],y=O[1],w=Object(r.useState)(null),N=w[0],_=w[1],C=Object(r.useState)(null),E=C[0],L=C[1],I=Object(r.useState)(null),T=I[0],k=I[1],S=Object(r.useRef)(0),K=Object(r.useState)(null),P=(K[0],K[1]);Object(r.useEffect)((function(){setTimeout((function(){y(document.querySelectorAll(a||"#dataTable_4 tableBody tr")),A(0,document.querySelectorAll(a||"#dataTable_4 tableBody tr").length),_(document.getElementById(s||"dataTable4_previous")),L(document.querySelector(i?"#".concat(i):"#dataTable4_next")),k(document.querySelectorAll(o?"#".concat(o):"#dataTable4_paggination")),P(document.querySelectorAll(m)),R()}),2e3)}),[]);var q=function(e,t){if(g)for(var a=0;a<g.length;++a)a>=e&&a<t?g[a].classList.remove("d-none"):g[a].classList.add("d-none")};0===S.current&&q(0,c);var A=function(e,t){var n=document.querySelector(d||"#dataTable4_paginate"),r=document.createElement("div");r.className=b||"paginate_button previous disabled c-pointer",r.id=s||"dataTable4_previous",r.innerHTML=h||"Previous";var f=document.createElement("div");f.className=j||"paginate_button next disabled c-pointer",f.id=i||"dataTable4_next",f.innerHTML=p||"Next";for(var m=document.createElement("span"),v=0;v<Math.ceil(document.querySelectorAll(a).length/c);v++){var O=document.createElement("a");O.className=e==v?u?"".concat(u," ").concat(l||"current"):"paginate_button c-pointer ".concat(l||"current"):u||"paginate_button c-pointer",O.id=o||"dataTable4_paggination",O.innerHTML=v+1,m.appendChild(O)}Math.ceil(document.querySelectorAll(a).length/c)>=1&&(n.appendChild(r),n.appendChild(m),n.appendChild(f)),document.querySelector(x||"#dataTable4_info").innerHTML="Showing 1 to\n ".concat((S.current+1)*c?(S.current+1)*c:t,"\n of ").concat(t&&t," entries")},M=function(){if(T)for(var e=function(e){var t=T[e];t.addEventListener("click",(function(){S.current=e,q(S.current*c,(S.current+1)*c),document.querySelector(x||"#dataTable4_info").innerHTML="Showing 1 to\n ".concat((S.current+1)*c?(S.current+1)*c:g.length,"\n of ").concat(g&&g.length," entries");for(var a=0;a<T.length;a++){var n=T[a];n==t?n.classList.add(l||"current"):n.classList.remove(l||"current")}}))},t=0;t<T.length;t++)e(t)},R=function(){f&&function(){var e=document.querySelector(v),t=document.querySelectorAll(m),a=function(a){for(var n=0;n<t.length;n++){var r=t[n];if("all"===a)e.checked?r.checked=!0:r.checked=!1;else{if(!r.checked){e.checked=!1;break}e.checked=!0}}};document.querySelector(v).addEventListener("click",(function(){a("all")}));for(var n=0;n<t.length;n++){t[n].addEventListener("click",(function(){return a()}))}}()};return Object(r.useEffect)((function(){N&&N.addEventListener("click",(function(){S.current=S.current>=1?S.current-1:S.current;for(var e=0;
1e<document.querySelectorAll(o?"#".concat(o):"#dataTable4_paggination").length;e++){var t=document.querySelectorAll(o?"#".concat(o):"#dataTable4_paggination")[e];e==S.current?t.classList.add(l||"current"):t.classList.remove(l||"current")}q(S.current*c,(S.current+1)*c),document.querySelector(x||"#dataTable4_info").innerHTML="Showing 1 to\n ".concat((S.current+1)*c?(S.current+1)*c:g.length,"\n of ").concat(g&&g.length," entries")}))}),[N]),Object(r.useEffect)((function(){M()}),[M]),Object(r.useEffect)((function(){E&&E.addEventListener("click",(function(){S.current=S.current+1<Math.ceil(document.querySelectorAll(a).length/c)?S.current+1:S.current;for(var e=0;e<document.querySelectorAll(o?"#".concat(o):"#dataTable4_paggination").length;e++){var t=document.querySelectorAll(o?"#".concat(o):"#dataTable4_paggination")[e];e==S.current?t.classList.add(l||"current"):t.classList.remove(l||"current")}q(S.current*c,(S.current+1)*c),document.querySelector(x||"#dataTable4_info").innerHTML="Showing 1 to\n ".concat((S.current+1)*c?(S.current+1)*c:g.length,"\n of ").concat(g&&g.length," entries")}))}),[E]),Object(r.useEffect)((function(){R()}),[]),Object(n.jsx)(r.Fragment,{children:t})}},Qdst:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n).a.createContext(null);t.a=r},VWqr:function(e,t,a){"use strict";var n=a("wx14"),r=a("zLVn"),c=a("TSYQ"),s=a.n(c),i=a("q1tI"),o=a.n(i),l=a("ZCiN"),d=(a("2W6z"),a("F9IU")),u=a("ILyh"),b=["active","className","eventKey","onSelect","onClick","as"],j=o.a.forwardRef((function(e,t){var a=e.active,c=e.className,j=e.eventKey,h=e.onSelect,p=e.onClick,x=e.as,f=Object(r.a)(e,b),m=Object(u.b)(j,f.href),v=Object(i.useContext)(u.a),O=Object(i.useContext)(d.a),g=a;if(O){f.role||"tablist"!==O.role||(f.role="tab");var y=O.getControllerId(m),w=O.getControlledId(m);f["data-rb-event-key"]=m,f.id=y||f.id,f["aria-controls"]=w||f["aria-controls"],g=null==a&&null!=m?O.activeKey===m:a}"tab"===f.role&&(f.disabled&&(f.tabIndex=-1,f["aria-disabled"]=!0),f["aria-selected"]=g);var N=Object(l.a)((function(e){p&&p(e),null!=m&&(h&&h(m,e),v&&v(m,e))}));return o.a.createElement(x,Object(n.a)({},f,{ref:t,onClick:N,className:s()(c,g&&"active")}))}));j.defaultProps={disabled:!1},t.a=j},Wzyw:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n).a.createContext(null);r.displayName="CardContext",t.a=r},bxoZ:function(e,t,a){"use strict";var n=a("wx14"),r=a("zLVn"),c=a("TSYQ"),s=a.n(c),i=a("q1tI"),o=a.n(i),l=a("vUet"),d=["bsPrefix","as","className"],u=o.a.forwardRef((function(e,t){var a=e.bsPrefix,c=e.as,i=void 0===c?"div":c,u=e.className,b=Object(r.a)(e,d),j=Object(l.a)(a,"tab-content");return o.a.createElement(i,Object(n.a)({ref:t},b,{className:s()(u,j)}))}));t.a=u},gpSn:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),c=a("y8DL"),s=a("Qdst"),i=a("ILyh");t.a=function(e){var t=Object(c.a)(e,{activeKey:"onSelect"}),a=t.id,o=t.generateChildId,l=t.onSelect,d=t.activeKey,u=t.transition,b=t.mountOnEnter,j=t.unmountOnExit,h=t.children,p=Object(n.useMemo)((function(){return o||function(e,t){return a?a+"-"+t+"-"+e:null}}),[a,o]),x=Object(n.useMemo)((function(){return{onSelect:l,activeKey:d,transition:u,mountOnEnter:b||!1,unmountOnExit:j||!1,getControlledId:function(e){return p(e,"tabpane")},getControllerId:function(e){return p(e,"tab")}}}),[l,d,u,b,j,p]);return r.a.createElement(s.a.Provider,{value:x},r.a.createElement(i.a.Provider,{value:l||null},h))}},ldmH:function(e,t,a){"use strict";a.r(t);var n=a("nKUr"),r=a("q1tI"),c=a("KD6P"),s=a("+YzT"),i=a("97+O"),o=a("/MKj"),l=a("mUnt"),d=a("PCyD"),u=a("PUkk"),b=a("YFqc"),j=a.n(b),h=function(e){var t=e.data;return Object(n.jsx)(u.a,{tableId:"#orderList_all tbody tr",sort:3,numberCountId:"#dataTable4_info",pagginationContainerId:"#dataTable4_paginate",pagginationClass:"paginate_button c-pointer",previousBtnClass:"paginate_button previous disabled c-pointer",nextBtnClass:"paginate_button next disabled c-pointer",previousBtnId:"dataTable4_previous",nextBtnId:"dataTable4_next",pagginationId:"dataTable4_paggination",activeClass:"current",children:Object(n.jsx)("div",{className:"table-responsive roun
1ded table-hover",children:Object(n.jsxs)("div",{id:"orderList_all",className:"dataTables_wrapper no-footer",children:[Object(n.jsxs)("table",{className:"table text-black card-table mb-4 table-responsive-lg dataTablesCard dataTable no-footer",id:"dataTable4",role:"grid","aria-describedby":"dataTable4_info",children:[Object(n.jsx)("thead",{className:"bg-primary",children:Object(n.jsxs)("tr",{role:"row",children:[Object(n.jsx)("th",{className:"sorting_asc",children:"Order ID"}),Object(n.jsx)("th",{className:"sorting",children:"Date"}),Object(n.jsx)("th",{className:"sorting",children:"Customer Name"}),Object(n.jsx)("th",{className:"sorting",children:"Location"}),Object(n.jsx)("th",{className:"sorting",children:"Amount"}),Object(n.jsx)("th",{className:"sorting",children:"Status Order"}),Object(n.jsx)("th",{className:"sorting"})]})}),Object(n.jsx)("tbody",{children:t&&t.map((function(e,t){return Object(n.jsxs)("tr",{className:"alert alert-dismissible border-0 odd",role:"row",children:[Object(n.jsx)("td",{className:"sorting_1",children:"#5552375"}),Object(n.jsx)("td",{children:"26 March 2020, 02:12 AM"}),Object(n.jsx)("td",{children:"Emilia Johanson"}),Object(n.jsx)("td",{children:"67 St. John\u2019s Road London"}),Object(n.jsx)("td",{children:"$251.16"}),Object(n.jsx)("td",{children:Object(n.jsx)("a",{className:"btn text-".concat("light"===e.statusColor?"white":e.statusColor," bgl-").concat(e.statusColor),children:e.status})}),Object(n.jsx)("td",{children:Object(n.jsxs)(i.a,{children:[Object(n.jsx)(i.a.Toggle,{varient:"",as:"a",className:"btn-link i-false c-pointer p-0",children:Object(n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:Object(n.jsxs)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:[Object(n.jsx)("rect",{x:0,y:0,width:24,height:24}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:5,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:12,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:19,r:2})]})})}),Object(n.jsxs)(i.a.Menu,{alignRight:!0,children:[Object(n.jsxs)(j.a,{href:"",children:[" ",Object(n.jsx)("a",{className:"dropdown-item text-info",children:"Accept Order"})]}),Object(n.jsx)(j.a,{href:"",children:Object(n.jsx)("a",{"data-dismiss":"alert","aria-label":"Close",className:"dropdown-item",children:"Reject Order"})})]})]})})]},t)}))})]}),Object(n.jsxs)("div",{className:"d-sm-flex text-center justify-content-between align-items-center",children:[Object(n.jsx)("div",{className:"dataTables_info",id:"dataTable4_info",role:"status","aria-live":"polite"}),Object(n.jsx)("div",{className:"dataTables_paginate paging_simple_numbers",id:"dataTable4_paginate"})]})]})})})},p=function(e){var t=e.data;return Object(n.jsx)(u.a,{tableId:"#oderList_delivered tbody tr",sort:3,numberCountId:"#oderList_delivered_info",pagginationContainerId:"#oderList_delivered_paginate",pagginationClass:"paginate_button c-pointer",previousBtnClass:"paginate_button previous disabled c-pointer",nextBtnClass:"paginate_button next disabled c-pointer",previousBtnId:"oderList_delivered_previous",nextBtnId:"oderList_delivered_next",pagginationId:"oderList_delivered_paggination",activeClass:"current",children:Object(n.jsx)("div",{className:"table-responsive rounded table-hover",children:Object(n.jsxs)("div",{id:"oderList_delivered",className:"dataTables_wrapper no-footer",children:[Object(n.jsxs)("table",{className:"table text-black card-table mb-4 table-responsive-lg dataTablesCard dataTable no-footer",id:"oderList_delivered",role:"grid","aria-describedby":"oderList_delivered_info",children:[Object(n.jsx)("thead",{className:"bg-primary",children:Object(n.jsxs)("tr",{role:"row",children:[Object(n.jsx)("th",{className:"sorting_asc",children:"Order ID"}),Object(n.jsx)("th",{className:"sorting",children:"Date"}),Object(n.jsx)("th",{className:"sorting",children:"Customer Name"}),Object(n.jsx)("th",{className:"sorting",children:"Location"}),Object(n.jsx)("th",{className:"sorting",children:"Amount"}),Object(n.jsx)("th",{className:"sorting",children:"Status Order"}),Object(n.jsx)("th",{className:"sorting"})]})}),Object(n.jsx)("tbody",{children:t&&t.map((function(e,t){return"DELIVERED"===e.status&&Object(n.jsxs)("tr",{className:"alert alert-dismissible border-0 odd",role:"row",children:[Object(n.jsx)("td",{className:"sorting_1",children:"#5552375"}
1),Object(n.jsx)("td",{children:"26 March 2020, 02:12 AM"}),Object(n.jsx)("td",{children:"Emilia Johanson"}),Object(n.jsx)("td",{children:"67 St. John\u2019s Road London"}),Object(n.jsx)("td",{children:"$251.16"}),Object(n.jsx)("td",{children:Object(n.jsx)("a",{className:"btn text-".concat("light"===e.statusColor?"white":e.statusColor," bgl-").concat(e.statusColor),children:e.status})}),Object(n.jsx)("td",{children:Object(n.jsxs)(i.a,{children:[Object(n.jsx)(i.a.Toggle,{varient:"",as:"a",className:"btn-link i-false c-pointer p-0",children:Object(n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:Object(n.jsxs)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:[Object(n.jsx)("rect",{x:0,y:0,width:24,height:24}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:5,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:12,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:19,r:2})]})})}),Object(n.jsxs)(i.a.Menu,{alignRight:!0,children:[Object(n.jsx)(j.a,{href:"",children:Object(n.jsx)("a",{className:"dropdown-item text-info",children:"Accept Order"})}),Object(n.jsx)(j.a,{href:"",children:Object(n.jsx)("a",{"data-dismiss":"alert","aria-label":"Close",className:"dropdown-item",children:"Reject Order"})})]})]})})]},t)}))})]}),Object(n.jsxs)("div",{className:"d-sm-flex text-center justify-content-between align-items-center",children:[Object(n.jsx)("div",{className:"dataTables_info",id:"oderList_delivered_info",role:"status","aria-live":"polite"}),Object(n.jsx)("div",{className:"dataTables_paginate paging_simple_numbers",id:"oderList_delivered_paginate"})]})]})})})},x=function(e){var t=e.data;return Object(n.jsx)(u.a,{tableId:"#orderList_new tbody tr",sort:3,numberCountId:"#orderList_new_info",pagginationContainerId:"#orderList_new_paginate",pagginationClass:"paginate_button c-pointer",previousBtnClass:"paginate_button previous disabled c-pointer",nextBtnClass:"paginate_button next disabled c-pointer",previousBtnId:"orderList_new_previous",nextBtnId:"orderList_new_next",pagginationId:"orderList_new_paggination",activeClass:"current",children:Object(n.jsx)("div",{className:"table-responsive rounded table-hover",children:Object(n.jsxs)("div",{id:"orderList_new",className:"dataTables_wrapper no-footer",children:[Object(n.jsxs)("table",{className:"table text-black card-table mb-4 table-responsive-lg dataTablesCard dataTable no-footer",id:"orderList_new",role:"grid","aria-describedby":"orderList_new_info",children:[Object(n.jsx)("thead",{className:"bg-primary",children:Object(n.jsxs)("tr",{role:"row",children:[Object(n.jsx)("th",{className:"sorting_asc",children:"Order ID"}),Object(n.jsx)("th",{className:"sorting",children:"Date"}),Object(n.jsx)("th",{className:"sorting",children:"Customer Name"}),Object(n.jsx)("th",{className:"sorting",children:"Location"}),Object(n.jsx)("th",{className:"sorting",children:"Amount"}),Object(n.jsx)("th",{className:"sorting",children:"Status Order"}),Object(n.jsx)("th",{className:"sorting"})]})}),Object(n.jsx)("tbody",{children:t&&t.map((function(e,t){return"PENDING"===e.status&&Object(n.jsxs)("tr",{className:"alert alert-dismissible border-0 odd",role:"row",children:[Object(n.jsx)("td",{className:"sorting_1",children:"#5552375"}),Object(n.jsx)("td",{children:"26 March 2020, 02:12 AM"}),Object(n.jsx)("td",{children:"Emilia Johanson"}),Object(n.jsx)("td",{children:"67 St. John\u2019s Road London"}),Object(n.jsx)("td",{children:"$251.16"}),Object(n.jsx)("td",{children:Object(n.jsx)("a",{className:"btn text-".concat("light"===e.statusColor?"white":e.statusColor," bgl-").concat(e.statusColor),children:e.status})}),Object(n.jsx)("td",{children:Object(n.jsxs)(i.a,{children:[Object(n.jsx)(i.a.Toggle,{varient:"",as:"a",className:"btn-link i-false c-pointer p-0",children:Object(n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:Object(n.jsxs)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:[Object(n.jsx)("rect",{x:0,y:0,width:24,height:24}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:5,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:12,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:19,r:2})]})})}),Object(n.jsxs)(i.a.Menu,{alignRight:!0,children:[Object(n.jsx)(j.a,{href:"",children:Object(n.jsx)("a",{className:"dropdown-item text-info",children:"Accept Order"})}),Object(n.jsx)(j.a,{href:"",children:Object(n.jsx)("a",{href:"javascript:void(0);","data-dismiss":"alert","aria-label":"Close",className:"dropdown-item",children:"Reject Order"})})]})]})})]},t)}))})]}),Object(n.jsxs)("div",{className:"d-sm-flex text-center justify-content-between align-items-center",children:[Object(n.jsx)("div",{className:"dataTables_info",id:"orderList_new_info",role:"status","aria-live":"polite"}),Object(n.jsx)("div",{className:"dataTables_paginate paging_simple_numbers",
1id:"orderList_new_paginate"})]})]})})})},f=function(e){var t=e.data;return Object(n.jsx)(u.a,{tableId:"#orderList_progress tbody tr",sort:3,numberCountId:"#orderList_progress_info",pagginationContainerId:"#orderList_progress_paginate",pagginationClass:"paginate_button c-pointer",previousBtnClass:"paginate_button previous disabled c-pointer",nextBtnClass:"paginate_button next disabled c-pointer",previousBtnId:"orderList_progress_previous",nextBtnId:"orderList_progress_next",pagginationId:"orderList_progress_paggination",activeClass:"current",children:Object(n.jsx)("div",{className:"table-responsive rounded table-hover",children:Object(n.jsxs)("div",{id:"orderList_progress",className:"dataTables_wrapper no-footer",children:[Object(n.jsxs)("table",{className:"table text-black card-table mb-4 table-responsive-lg dataTablesCard dataTable no-footer",id:"orderList_progress",role:"grid","aria-describedby":"orderList_progress_info",children:[Object(n.jsx)("thead",{className:"bg-primary",children:Object(n.jsxs)("tr",{role:"row",children:[Object(n.jsx)("th",{className:"sorting_asc",children:"Order ID"}),Object(n.jsx)("th",{className:"sorting",children:"Date"}),Object(n.jsx)("th",{className:"sorting",children:"Customer Name"}),Object(n.jsx)("th",{className:"sorting",children:"Location"}),Object(n.jsx)("th",{className:"sorting",children:"Amount"}),Object(n.jsx)("th",{className:"sorting",children:"Status Order"}),Object(n.jsx)("th",{className:"sorting"})]})}),Object(n.jsx)("tbody",{children:t&&t.map((function(e,t){return"PENDING"===e.status&&Object(n.jsxs)("tr",{className:"alert alert-dismissible border-0 odd",role:"row",children:[Object(n.jsx)("td",{className:"sorting_1",children:"#5552375"}),Object(n.jsx)("td",{children:"26 March 2020, 02:12 AM"}),Object(n.jsx)("td",{children:"Emilia Johanson"}),Object(n.jsx)("td",{children:"67 St. John\u2019s Road London"}),Object(n.jsx)("td",{children:"$251.16"}),Object(n.jsx)("td",{children:Object(n.jsx)("a",{className:"btn text-".concat("light"===e.statusColor?"white":e.statusColor," bgl-").concat(e.statusColor),children:e.status})}),Object(n.jsx)("td",{children:Object(n.jsxs)(i.a,{children:[Object(n.jsx)(i.a.Toggle,{varient:"",as:"a",className:"btn-link i-false c-pointer p-0",children:Object(n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:Object(n.jsxs)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:[Object(n.jsx)("rect",{x:0,y:0,width:24,height:24}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:5,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:12,r:2}),Object(n.jsx)("circle",{fill:"#000000",cx:12,cy:19,r:2})]})})}),Object(n.jsxs)(i.a.Menu,{alignRight:!0,children:[Object(n.jsx)(j.a,{href:"",children:Object(n.jsx)("a",{className:"dropdown-item text-info",href:"javascript:void(0);",children:"Accept Order"})}),Object(n.jsx)(j.a,{href:"",children:Object(n.jsx)("a",{href:"javascript:void(0);","data-dismiss":"alert","aria-label":"Close",className:"dropdown-item",children:"Reject Order"})})]})]})})]},t)}))})]}),Object(n.jsxs)("div",{className:"d-sm-flex text-center justify-content-between align-items-center",children:[Object(n.jsx)("div",{className:"dataTables_info",id:"orderList_progress_info",role:"status","aria-live":"polite"}),Object(n.jsx)("div",{className:"dataTables_paginate paging_simple_numbers",id:"orderList_progress_paginate"})]})]})})})};t.default=Object(o.b)((function(e){return{ordersList:e.dashboard.ordersList}}),{getorderListPage:l.h,pageTitle:d.i})((function(e){var t=e.getorderListPage,a=e.ordersList,l=e.pageTitle,u=Object(o.c)((function(e){return e.theme.version}));Object(r.useEffect)((function(){t(),"dark"!==u&&Object(d.h)(),l("Order List")}),[]);var b=Object(r.useState)(!1),j=b[0],m=b[1],v=Object(r.useState)(!1),O=v[0],g=v[1];return Object(n.jsx)("div",{className:"row",children:Object(n.jsx)("div",{className:"col-xl-12",children:Object(n.jsx)(c.a.Container,{defaultActiveKey:"AllStatus",children:Object(n.jsxs)("div",{className:"card bg-transparent shadow-none",children:[Object(n.jsxs)("div",{className:"card-header flex-wrap border-0 p-0 justify-content-start",children:[Object(n.jsx)("div",{className:"table-tabs mr-2 mb-3 mr-auto",children:Object(n.jsxs)(s.a,{as:"ul",className:"nav nav-tabs",role:"tablist",children:[Object(n.jsx)(s.a.Item,{children:Object(n.jsx)(s.a.Link,{eventKey:"AllStatus",children:"All Status"})}),Object(n.jsx)(s.a.Item,{children:Object(n.jsx)(s.a.Link,{eventKey:"NewOrder",children:"New Order"})}),Object(n.jsx)(s.a.Item,{children:Object(n.jsx)(s.a.Link,{eventKey:"OnProgress",children:"On Progress"})}),Object(n.jsx)(s.a.Item,{children:Object(n.jsx)(s.a.Link,{eventKey:"Delivered",children:"Delivered"})})]})}),Object(n.jsxs)(i.a,{children:[Object(n.jsx)(i.a.Toggle,{variant:"",id:"dropdown-basic",className:"form-control border-0 c-pointer style-1 mr-3 default-select mb-3 border border-primary text-primary p6 ",style:{fontSize:"14px",fontWeight:"400",color:"#F9730D"},children:O||"Filter"}),Object(n.jsxs)(i.a.Menu,{className:"dropdown-menu inner show",
1style:{borderRadius:"10px"},children:[Object(n.jsx)(i.a.Item,{eventKey:"AllStatus",className:"dropdown-item",variant:"",onClick:function(){return g("Filter")},style:{fontSize:"14px",fontWeight:"400",margin:"0 auto",paddingTop:"15px"},children:"Filter"}),Object(n.jsx)(i.a.Item,{eventKey:"AllStatus",className:"dropdown-item",href:"javascript:void(0)",onClick:function(){return g("Date")},style:{fontSize:"14px",fontWeight:"400",margin:"0 auto"},children:"Date"})]})]}),Object(n.jsxs)(i.a,{children:[Object(n.jsx)(i.a.Toggle,{variant:"",id:"dropdown-basic2",className:"form-control p6 border-0 c-pointer style-1 mr-3 p-1 default-select mb-3 border border-primary p-2 text-primary",style:{fontSize:"14px",fontWeight:"400",color:"#F9730D"},children:j||"Newest"}),Object(n.jsxs)(i.a.Menu,{className:"dropdown-menu inner show",style:{borderRadius:"10px"},children:[Object(n.jsx)(i.a.Item,{eventKey:"AllStatus",className:"dropdown-item",href:"javascript:void(0)",onClick:function(){return m("Newest")},style:{fontSize:"14px",fontWeight:"400",margin:"0 auto",paddingTop:"15px"},children:"Newest"}),Object(n.jsx)(i.a.Item,{eventKey:"AllStatus",className:"dropdown-item",href:"javascript:void(0)",onClick:function(){return m("Oldest")},style:{fontSize:"14px",fontWeight:"400",margin:"0 auto"},children:"Oldest"})]})]})]}),Object(n.jsx)("div",{className:"card-body p-0",children:Object(n.jsxs)(c.a.Content,{className:"tab-content",id:"Tab",children:[Object(n.jsx)(c.a.Pane,{eventKey:"AllStatus",className:"tab-pane fade",children:Object(n.jsx)(h,{data:a&&a.data})}),Object(n.jsx)(c.a.Pane,{eventKey:"NewOrder",className:"tab-pane fade",id:"NewOrder",children:Object(n.jsx)(x,{data:a&&a.data})}),Object(n.jsx)(c.a.Pane,{eventKey:"OnProgress",className:"tab-pane fade",children:Object(n.jsx)(f,{data:a&&a.data})}),Object(n.jsx)(c.a.Pane,{eventKey:"Delivered",className:"tab-pane fade",children:Object(n.jsx)(p,{data:a&&a.data})})]})})]})})})})}))},mUnt:function(e,t,a){"use strict";a.d(t,"e",(function(){return u})),a.d(t,"h",(function(){return b})),a.d(t,"f",(function(){return j})),a.d(t,"b",(function(){return h})),a.d(t,"d",(function(){return p})),a.d(t,"a",(function(){return x})),a.d(t,"c",(function(){return f})),a.d(t,"g",(function(){return m}));var n=a("vJKn"),r=a.n(n),c=a("rg98"),s=a("vDqi"),i=a.n(s),o=a("wd/R"),l=a.n(o),d=a("jEvy"),u=function(){return function(){var e=Object(c.a)(r.a.mark((function e(t){var a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.a.get("https://api.npoint.io/fbc14eee7441f3b8877b/dashboard/indexPage");case 3:a=e.sent,t({type:d.p,payload:a.data.charts.dailyTargetChart}),t({type:d.eb,payload:a.data.charts.widget1}),t({type:d.m,payload:a.data.charts.widget2}),t({type:d.X,payload:a.data.charts.widget3}),t({type:d.o,payload:a.data.charts.customerMap}),t({type:d.hb,payload:a.data.recentOrderRequest}),t({type:d.yb,payload:a.data.trendingMenus}),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0.message);case 16:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(t){return e.apply(this,arguments)}}()},b=function(){return function(){var e=Object(c.a)(r.a.mark((function e(t){var a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.a.get("https://api.npoint.io/fbc14eee7441f3b8877b/dashboard/orderListPage");case 3:a=e.sent,t({type:d.db,payload:a.data}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()},j=function(){return function(){var e=Object(c.a)(r.a.mark((function e(t){var a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.a.get("https://api.npoint.io/fbc14eee7441f3b8877b/dashboard/orderDetail");case 3:a=e.sent,t({type:d.fb,payload:a.data}),t({type:d.gb,payload:a.data.items.data}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}()},h=function(e){return function(t){t({type:d.u,payload:e})}},p=function(){return function(){var e=Object(c.a)(r.a.mark((function e(t){var a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.a.get("https://api.npoint.io/fbc14eee7441f3b8877b/dashboard/customers");case 3:a=e.sent,t({type:d.n,payload:a.data.data}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()},x=function(e){return function(t){var a={location:e.address,CustomerName:e.firstName+" "+e.lastName,orderId:Math.round(1e7*Math.random()),date:l()().format("D MMMM YYYY, h:mm:ss a"),lastOrder:e.lastOrder,totalSpent:e.totalSpent};t({type:d.a,payload:a})}},f=function(){return function(){var e=Object(c.a)(r.a.mark((function e(t){var a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.a.get("https://api.npoint.io/fbc14eee7441f3b8877b/dashboard/analytics");case 3:a=e.sent,t({type:d.e,payload:a.data}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()},m=function(){return function(){var e=Object(c.a)(r.a.mark((function e(t){var a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.a.get("https://api.npoint.io/fbc14eee7441f3b8877b/dashboard/reviews");case 3:a=e.sent,t({type:d.rb,payload:a.data}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()}},pvIh:function(e,t,a){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,a,n,r,c,s){var i=r||"<<anonymous>>",o=s||n;if(null==a[n])return t?new Error("Required "+c+" `"+o+"` was not specified in `"+i+"`."):null;for(var l=arguments.length,d=Array(l>6?l-6:0),u=6;u<l;u++)d[u-6]=arguments[u];return e.apply(void 0,[a,n,i,c,o].concat(d))}var a=t.bind(null,!1);return a.isRequired=t.bind(null,!0),a},e.exports=t.default},rQNl:function(e,t,a){"use strict";var n=a("wx14"),r=a("zLVn"),c=a("Zeqi"),s=a("q1tI"),i=a.n(s),o=a("YGJp"),l=a("lcWJ"),d=a("F9IU"),u=a("ILyh"),b=a("Qdst"),j=["as","onSelect","activeKey","role","onKeyDown"],h=function(){},p=i.a.forwardRef((function(e,t){var a,p,x=e.as,f=void 0===x?"ul":x,m=e.onSelect,v=e.activeKey,O=e.role,g=e.onKeyDown,y=Object(r.a)(e,j),w=Object(o.a)(),N=Object(s.useRef)(!1),_=Object(s.useContext)(u.a),C=Object(s.useContext)(b.a);C&&(O=O||"tablist",v=C.activeKey,a=C.getControlledId,p=C.getControllerId);var E=Object(s.useRef)(null),L=function(e){var t=E.current;if(!t)return null;var a=Object(c.a)(t,"[data-rb-event-key]:not(.disabled)"),n=t.querySelector(".active");if(!n)return null;var r=a.indexOf(n);if(-1===r)return null;var s=r+e;return s>=a.length&&(s=0),s<0&&(s=a.length-1),a[s]},I=function(e,t){null!=e&&(m&&m(e,t),_&&_(e,t))};Object(s.useEffect)((function(){if(E.current&&N.current){var e=E.current.querySelector("[data-rb-event-key].active");e&&e.focus()}N.current=!1}));var T=Object(l.a)(t,E);return i.a.createElement(u.a.Provider,{value:I},i.a.createElement(d.a.Provider,{value:{role:O,activeKey:Object(u.b)(v),getControlledId:a||h,getControllerId:p||h}},i.a.createElement(f,Object(n.a)({},y,{onKeyDown:function(e){var t;switch(g&&g(e),e.key){case"ArrowLeft":case"ArrowUp":t=L(-1);break;case"ArrowRight":case"ArrowDown":t=L(1);break;default:return}t&&(e.preventDefault(),I(t.dataset.rbEventKey,e),N.current=!0,w())},ref:T,role:O}
1))))}));t.a=p}},[["CRL4",0,2,5,1,3,4,6,7,8,9,11,12]]]);
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.