(window.webpackJsonp = window.webpackJsonp || []).push([
    [7],
    {
        133: function (e, t, n) {
            "use strict";
            n.d(t, "b", function () {
                return l;
            }),
                n.d(t, "d", function () {
                    return s;
                }),
                n.d(t, "a", function () {
                    return c;
                }),
                n.d(t, "c", function () {
                    return u;
                });
            var a = n(39),
                r = n(17),
                o = n(15),
                i = n.n(o),
                l = function (e, t) {
                    return function (n) {
                        return i.a
                            .post(r.j, { token: e, store_id: t })
                            .then(function (e) {
                                var t = e.data;
                                return n({ type: a.a, payload: t });
                            })
                            .catch(function (e) {
                                console.log(e);
                            });
                    };
                },
                s = function (e, t, n) {
                    return function (a) {
                        return i.a
                            .post(r.B, { token: e, item_id: t, store_id: n })
                            .then(function (e) {
                                return e.data;
                            })
                            .catch(function (e) {
                                console.log(e);
                            });
                    };
                },
                c = function (e, t) {
                    return function (n) {
                        return i.a
                            .post(r.i, { token: e, store_id: t })
                            .then(function (e) {
                                var t = e.data;
                                return n({ type: a.b, payload: t });
                            })
                            .catch(function (e) {
                                console.log(e);
                            });
                    };
                },
                u = function (e, t, n) {
                    return function (a) {
                        return i.a
                            .post(r.A, { token: e, category_id: t, store_id: n })
                            .then(function (e) {
                                return e.data;
                            })
                            .catch(function (e) {
                                console.log(e);
                            });
                    };
                };
        },
        136: function (e, t, n) {
            "use strict";
            n.d(t, "a", function () {
                return d;
            });
            var a = n(22),
                r = n(23),
                o = n(25),
                i = n(24),
                l = n(26),
                s = n(219),
                c = n(0),
                u = n.n(c),
                d = (function (e) {
                    function t(e) {
                        var n;
                        return (
                            Object(a.a)(this, t),
                            ((n = Object(o.a)(this, Object(i.a)(t).call(this, e))).handleClick = function (e) {
                                var t = n.props,
                                    a = t.replace,
                                    r = t.to,
                                    o = t.delay,
                                    i = t.onDelayStart,
                                    l = t.onDelayEnd,
                                    s = n.context.router.history;
                                n.props.clickAction && n.props.clickAction(),
                                    i(e, r),
                                    e.defaultPrevented ||
                                        (e.preventDefault(),
                                        (n.timeout = setTimeout(function () {
                                            a ? s.replace(r) : s.push(r), l(e, r);
                                        }, o)));
                            }),
                            (n.timeout = null),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentWillUnmount",
                                value: function () {
                                    this.timeout && clearTimeout(this.timeout);
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = Object.assign({}, this.props);
                                    return delete e.delay, delete e.onDelayStart, delete e.onDelayEnd, delete e.clickAction, u.a.createElement(s.a, Object.assign({}, e, { onClick: this.handleClick }));
                                },
                            },
                        ]),
                        t
                    );
                })(c.Component);
            (d.defaultProps = { delay: 0, onDelayStart: function () {}, onDelayEnd: function () {} }), (d.contextTypes = s.a.contextTypes);
        },
        138: function (e, t, n) {
            "use strict";
            var a = n(0);
            function r() {
                return (r =
                    Object.assign ||
                    function (e) {
                        for (var t = 1; t < arguments.length; t++) {
                            var n = arguments[t];
                            for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                        }
                        return e;
                    }).apply(this, arguments);
            }
            var o = function () {
                    return Math.random().toString(36).substring(2);
                },
                i = function (e) {
                    var t = e.animate,
                        n = e.ariaLabel,
                        i = e.children,
                        l = e.className,
                        s = e.height,
                        c = e.preserveAspectRatio,
                        u = e.primaryColor,
                        d = e.primaryOpacity,
                        m = e.rtl,
                        p = e.secondaryColor,
                        f = e.secondaryOpacity,
                        h = e.speed,
                        g = e.style,
                        v = e.uniquekey,
                        b = e.width,
                        y = (function (e, t) {
                            if (null == e) return {};
                            var n,
                                a,
                                r = {},
                                o = Object.keys(e);
                            for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                            return r;
                        })(e, ["animate", "ariaLabel", "children", "className", "height", "preserveAspectRatio", "primaryColor", "primaryOpacity", "rtl", "secondaryColor", "secondaryOpacity", "speed", "style", "uniquekey", "width"]),
                        w = v ? v + "-idClip" : o(),
                        E = v ? v + "-idGradient" : o(),
                        S = m ? ["1; -3", "2; -2", "3; -1"] : ["-3; 1", "-2; 2", "-1; 3"];
                    return Object(a.createElement)(
                        "svg",
                        r({ role: "img", style: g, className: l, "aria-labelledby": n || null, viewBox: "0 0 " + b + " " + s, preserveAspectRatio: c }, y),
                        n ? Object(a.createElement)("title", null, n) : null,
                        Object(a.createElement)("rect", { x: "0", y: "0", width: b, height: s, clipPath: "url(#" + w + ")", style: { fill: "url(#" + E + ")" } }),
                        Object(a.createElement)(
                            "defs",
                            null,
                            Object(a.createElement)("clipPath", { id: w }, i),
                            Object(a.createElement)(
                                "linearGradient",
                                { id: E },
                                Object(a.createElement)("stop", { offset: "0%", stopColor: u, stopOpacity: d }, t && Object(a.createElement)("animate", { attributeName: "offset", values: S[0], dur: h + "s", repeatCount: "indefinite" })),
                                Object(a.createElement)("stop", { offset: "50%", stopColor: p, stopOpacity: f }, t && Object(a.createElement)("animate", { attributeName: "offset", values: S[1], dur: h + "s", repeatCount: "indefinite" })),
                                Object(a.createElement)("stop", { offset: "100%", stopColor: u, stopOpacity: d }, t && Object(a.createElement)("animate", { attributeName: "offset", values: S[2], dur: h + "s", repeatCount: "indefinite" }))
                            )
                        )
                    );
                },
                l = {
                    animate: !0,
                    ariaLabel: "Loading interface...",
                    height: 130,
                    preserveAspectRatio: "xMidYMid meet",
                    primaryColor: "#f0f0f0",
                    primaryOpacity: 1,
                    rtl: !1,
                    secondaryColor: "#e0e0e0",
                    secondaryOpacity: 1,
                    speed: 2,
                    width: 400,
                },
                s = function (e) {
                    return Object(a.createElement)("rect", { x: "0", y: "0", rx: "5", ry: "5", width: e.width, height: e.height });
                },
                c = function (e) {
                    var t = r({}, l, e),
                        n = e.children ? e.children : Object(a.createElement)(s, t);
                    return Object(a.createElement)(i, t, n);
                };
            t.a = c;
        },
        139: function (e, t, n) {
            "use strict";
            var a = n(22),
                r = n(23),
                o = n(25),
                i = n(24),
                l = n(26),
                s = n(0),
                c = n.n(s),
                u = n(3),
                d = n(237),
                m = n(45),
                p = n(34),
                f = n(133),
                h = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { singleItemSwitchState: !1 }),
                            (n.__toggleSingleItemSwitch = function (e, t) {
                                n.setState({ singleItemSwitchState: !n.state.singleItemSwitchState }),
                                    n.props.toggleItemStatus(n.props.user.data.auth_token, t, localStorage.getItem("selected_store_id")).then(function (t) {
                                        t &&
                                            t.success &&
                                            (1 === t.status
                                                ? (n.props.enqueueSnackbar(e + localStorage.getItem("itemsPage_toggleTrue"), { variant: "success" }), n.setState({ singleItemSwitchState: !0 }))
                                                : (n.props.enqueueSnackbar(e + localStorage.getItem("itemsPage_toggleFalse"), { variant: "warning" }), n.setState({ singleItemSwitchState: !1 })));
                                    });
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    1 === this.props.item.is_active && this.setState({ singleItemSwitchState: !0 });
                                },
                            },
                            {
                                key: "componentWillReceiveProps",
                                value: function (e) {
                                    1 === e.item.is_active ? this.setState({ singleItemSwitchState: !0 }) : this.setState({ singleItemSwitchState: !1 });
                                },
                            },
                            {
                                key: "shouldComponentUpdate",
                                value: function (e, t) {
                                    return this.props.item !== e.item || this.state.singleItemSwitchState !== t.singleItemSwitchState;
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this,
                                        t = this.props.item;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement(
                                            "div",
                                            { className: "d-flex justify-content-between align-items-center menuSingleItem" },
                                            c.a.createElement(
                                                "div",
                                                {
                                                    className: "d-flex justify-content-start align-items-center",
                                                    onClick: function () {
                                                        return e.props.openItemEditDrawer(t.id);
                                                    },
                                                },
                                                null !== t.image && c.a.createElement("img", { src: u.a + t.image, alt: t.name, className: "menuItemImage" }),
                                                c.a.createElement(
                                                    "div",
                                                    null,
                                                    c.a.createElement("span", { className: "menuItemName" }, t.name),
                                                    " ",
                                                    c.a.createElement("br", null),
                                                    " ",
                                                    c.a.createElement("span", { className: "menuItemPrice" }, localStorage.getItem("currencyFormat"), t.price)
                                                )
                                            ),
                                            c.a.createElement(
                                                "div",
                                                null,
                                                c.a.createElement(d.a, {
                                                    checked: this.state.singleItemSwitchState,
                                                    onChange: function () {
                                                        return e.__toggleSingleItemSwitch(t.name, t.id);
                                                    },
                                                })
                                            )
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component);
            t.a = Object(p.b)(
                function (e) {
                    return { user: e.user.user, menu: e.menu.menu };
                },
                { toggleItemStatus: f.d }
            )(Object(m.b)(h));
        },
        140: function (e, t, n) {
            "use strict";
            var a = n(65),
                r = n(22),
                o = n(23),
                i = n(25),
                l = n(24),
                s = n(26),
                c = n(0),
                u = n.n(c),
                d = n(223),
                m = n(15),
                p = n.n(m),
                f = n(34),
                h = n(17),
                g = n(3),
                v = n(45),
                b = (function (e) {
                    function t() {
                        var e, n;
                        Object(r.a)(this, t);
                        for (var o = arguments.length, s = new Array(o), c = 0; c < o; c++) s[c] = arguments[c];
                        return (
                            ((n = Object(i.a)(this, (e = Object(l.a)(t)).call.apply(e, [this].concat(s)))).state = { loading: !1, itemEditDrawer: !1, data: [], name: "", price: "", old_price: "", showUpdateButton: !1, itemUpdated: !1 }),
                            (n.handleInputChange = function (e) {
                                n.setState(Object(a.a)({}, e.target.name, e.target.value), function () {
                                    n.validateUpdateItem();
                                });
                            }),
                            (n.toggleItemEditDrawer = function () {
                                n.setState({ itemEditDrawer: !1 }), n.props.closeItemEditDrawer(n.state.itemUpdated);
                            }),
                            (n.fetchItemDetails = function (e) {
                                n.setState({ loading: !0 }),
                                    p.a.post(h.d, { item_id: e, token: n.props.user.data.auth_token, store_id: localStorage.getItem("selected_store_id") }).then(function (e) {
                                        e.data &&
                                            (n.setState({ data: e.data, name: e.data.name, price: e.data.price, old_price: e.data.old_price, loading: !1 }, function () {
                                                n.validateUpdateItem();
                                            }),
                                            n.setState({ itemEditDrawer: !0 }));
                                    });
                            }),
                            (n.handleItemUpdate = function (e) {
                                e.preventDefault(),
                                    n.validateUpdateItem() &&
                                        (n.setState({ loading: !0 }),
                                        p.a.post(h.D, { item_id: n.state.data.id, name: n.state.name, price: n.state.price, old_price: n.state.old_price, token: n.props.user.data.auth_token, store_id: localStorage.getItem("selected_store_id") }).then(function (e) {
                                            e.data &&
                                                (n.setState({ itemUpdated: !0 }),
                                                n.fetchItemDetails(n.state.data.id),
                                                setTimeout(function () {
                                                    n.props.enqueueSnackbar(n.state.name + " updated.", { variant: "success" });
                                                }, 250));
                                        }));
                            }),
                            (n.validateUpdateItem = function () {
                                return n.state.name.length > 0 && n.state.name.length <= 190 && n.state.old_price >=0 && /^[0-9]+\.?[0-9]*$/.test(n.state.price) ? (n.setState({ showUpdateButton: !0 }), !0) : (n.setState({ showUpdateButton: !1 }), !1);
                            }),
                            (n.changeImage = function () {
                                "FoodomaaAndroidWebViewUA" === navigator.userAgent && "undefined" !== window.Android && window.Android.changeItemImage(n.state.data.id);
                            }),
                            (n.inputFocus = function () {
                                n.refs.itemEditBlock.style.height = "80vh";
                            }),
                            (n.handleClickOutside = function (e) {
                                n.refs.itemEditBlock && (n.refs.itemEditBlock.style.height = "auto");
                            }),
                            n
                        );
                    }
                    return (
                        Object(s.a)(t, e),
                        Object(o.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    document.addEventListener("mousedown", this.handleClickOutside);
                                },
                            },
                            {
                                key: "componentWillReceiveProps",
                                value: function (e) {
                                    e.itemEditDrawer !== this.state.itemEditDrawer && this.setState({ itemEditDrawer: e.itemEditDrawer }), !0 === e.itemEditDrawer && (this.setState({ itemUpdated: !1 }), this.fetchItemDetails(e.item_id));
                                },
                            },
                            {
                                key: "componentWillUnmount",
                                value: function () {
                                    document.removeEventListener("mousedown", this.handleClickOutside);
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this,
                                        t = this.state.data;
                                    return u.a.createElement(
                                        u.a.Fragment,
                                        null,
                                        u.a.createElement(
                                            d.a,
                                            {
                                                anchor: "bottom",
                                                open: this.state.itemEditDrawer,
                                                onClose: function () {
                                                    return e.toggleItemEditDrawer();
                                                },
                                            },
                                            this.state.loading
                                                ? u.a.createElement("div", { className: "bg-store-light" }, u.a.createElement("div", { className: "itemEditContainer pt-100" }, u.a.createElement("div", { className: "spin-load" })))
                                                : u.a.createElement(
                                                      "div",
                                                      { className: "bg-store-light itemEditContainer" },
                                                      u.a.createElement("div", { className: "d-flex justify-content-between align-items-center" }, u.a.createElement("h3", { className: "mx-15 px-20 mt-20" }, "Edit Item")),
                                                      u.a.createElement("hr", { className: "mt-0" }),
                                                      u.a.createElement(
                                                          "form",
                                                          { onSubmit: this.handleItemUpdate, className: "mx-15 p-2", ref: "itemEditBlock" },
                                                          null !== t.image
                                                              ? u.a.createElement(
                                                                    "div",
                                                                    { className: "col-md-12 mb-20" },
                                                                    u.a.createElement(
                                                                        "div",
                                                                        { className: "d-flex justify-content-start  align-items-center" },
                                                                        u.a.createElement("img", { src: g.a + t.image, alt: t.name, className: "itemEditImage mr-10" }),
                                                                        u.a.createElement("button", { type: "button", onClick: this.changeImage, className: "btn btn-md btn-default change-image" }, "Change Image")
                                                                    )
                                                                )
                                                              : u.a.createElement(
                                                                    "div",
                                                                    { className: "col-md-12" },
                                                                    u.a.createElement("button", { type: "button", onClick: this.changeImage, className: "btn btn-md btn-default add-image" }, "Add Image")
                                                                ),
                                                          u.a.createElement(
                                                              "div",
                                                              { className: "form-group mb-20" },
                                                              u.a.createElement(
                                                                  "div",
                                                                  { className: "col-md-12 pb-15" },
                                                                  u.a.createElement("p", { className: "itemEditInputLabel mb-2" }, t.name),
                                                                  u.a.createElement("p", { className: "itemEditInputLabel" }, "Mark Price "),
                                                                  u.a.createElement("input", {
                                                                      type: "text",
                                                                      name: "old_price",
                                                                      defaultValue: t.old_price,
                                                                      onChange: this.handleInputChange,
                                                                      className: "itemEditTextInput",
                                                                      ref: "nameInput",
                                                                      onFocus: this.inputFocus,
                                                                      onBlur: this.handleClickOutside,
                                                                  })
                                                              ),
                                                              u.a.createElement(
                                                                  "div",
                                                                  { className: "col-md-12 pb-15" },
                                                                  u.a.createElement("p", { className: "itemEditInputLabel" }, "Price "),
                                                                  u.a.createElement("input", {
                                                                      type: "text",
                                                                      name: "price",
                                                                      defaultValue: t.price,
                                                                      onChange: this.handleInputChange,
                                                                      className: "itemEditTextInput",
                                                                      ref: "priceInput",
                                                                      onFocus: this.inputFocus,
                                                                      onBlur: this.handleClickOutside,
                                                                  })
                                                              )
                                                          ),
                                                          u.a.createElement(
                                                              "div",
                                                              { className: "mx-15 mb-20 d-flex justify-content-center" },
                                                              u.a.createElement("button", { type: "button", className: "btn btn-md btnItemUpdateCancel mr-15", onClick: this.toggleItemEditDrawer }, "Cancel"),
                                                              this.state.showUpdateButton
                                                                  ? u.a.createElement("button", { type: "submit", className: "btn btn-md btnItemUpdate" }, "Update")
                                                                  : u.a.createElement("button", { type: "button", className: "btn btn-md btnItemUpdateCancel" }, "Update")
                                                          )
                                                      )
                                                  )
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(c.Component);
            t.a = Object(f.b)(function (e) {
                return { user: e.user.user };
            }, {})(Object(v.b)(b));
        },
        141: function (e, t, n) {
            "use strict";
            var a = n(22),
                r = n(23),
                o = n(25),
                i = n(24),
                l = n(26),
                s = n(0),
                c = n.n(s),
                u = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { orderStatusName: "" }),
                            (n.getOrderStatusName = function (e) {
                                switch (e) {
                                    case 1:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_orderPlaced") });
                                        break;
                                    case 2:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_orderAccepted") });
                                        break;
                                    case 3:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_deliveryGuyAssigned") });
                                        break;
                                    case 4:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_orderPickedUp") });
                                        break;
                                    case 5:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_orderCompleted") });
                                        break;
                                    case 6:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_orderCanceled") });
                                        break;
                                    case 7:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_orderReadyForPickup") });
                                        break;
                                    case 8:
                                        n.setState({ orderStatusName: "Awaiting Payment" });
                                        break;
                                    case 9:
                                        n.setState({ orderStatusName: "Payment Failed" });
                                        break;
                                    case 10:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_orderScheduled") });
                                        break;
                                    case 11:
                                        n.setState({ orderStatusName: localStorage.getItem("generalText_confirmedScheduledOrder") });
                                        break;
                                    default:
                                        n.setState({ orderStatusName: "---" });
                                }
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    this.getOrderStatusName(this.props.orderstatus_id);
                                },
                            },
                            {
                                key: "componentWillReceiveProps",
                                value: function (e) {
                                    this.props.orderstatus_id !== e.orderstatus_id && this.getOrderStatusName(e.orderstatus_id);
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    return c.a.createElement("span", null, this.state.orderStatusName);
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component);
            t.a = u;
        },
        143: function (e, t, n) {
            "use strict";
            var a = n(22),
                r = n(23),
                o = n(25),
                i = n(24),
                l = n(26),
                s = n(0),
                c = n.n(s),
                u = n(131),
                d = n.n(u),
                m = n(67),
                p = n(134),
                f = n.n(p),
                h =
                    (n(159),
                    (function (e) {
                        function t() {
                            var e, n;
                            Object(a.a)(this, t);
                            for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                            return (
                                ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { timer: null }),
                                (n.componentDidMount = function () {
                                    n.startTimer(n.props.timestamp);
                                }),
                                (n.startTimer = function (e) {
                                    var t = Object(m.a)(Object(m.a)(n)),
                                        a = f()(e),
                                        r = f()().diff(a, "second"),
                                        o = "h" + ("[" + localStorage.getItem("time_hrs") + "]") + " m" + ("[" + localStorage.getItem("time_mins") + "]") + " s" + ("[" + localStorage.getItem("time_secs") + "]");
                                    t.setState({ timer: f.a.duration(r, "seconds").format(o) }),
                                        (n.timer = setInterval(function () {
                                            var e = f()().diff(a, "second");
                                            t.setState({ timer: f.a.duration(e, "seconds").format(o) });
                                        }, 1e3));
                                }),
                                n
                            );
                        }
                        return (
                            Object(l.a)(t, e),
                            Object(r.a)(t, [
                                {
                                    key: "componentWillUnmount",
                                    value: function () {
                                        clearInterval(this.timer);
                                    },
                                },
                                {
                                    key: "render",
                                    value: function () {
                                        return c.a.createElement(c.a.Fragment, null, null !== this.state.timer && c.a.createElement("div", { className: "orderTimerWrapper" }, this.state.timer));
                                    },
                                },
                            ]),
                            t
                        );
                    })(s.Component)),
                g = n(136),
                v = n(141),
                b = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).getTimeDifference = function (e) {
                                var t = f()(e.created_at),
                                    n = f()(e.updated_at),
                                    a = f.a.duration(f()(n).diff(f()(t))),
                                    r = Math.floor(a.asDays()),
                                    o = r ? "".concat(r, " ").concat(localStorage.getItem("time_days"), " ") : "",
                                    i = a.hours(),
                                    l = i ? "".concat(i, " ").concat(localStorage.getItem("time_hrs"), " ") : "",
                                    s = a.minutes();
                                return [o, l, "".concat(s, " ").concat(localStorage.getItem("time_mins"))].join("");
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "render",
                                value: function () {
                                    var e = this.props.order;
                                    return c.a.createElement(
                                        "div",
                                        { className: "singleOrderInList position-relative" },
                                        c.a.createElement(
                                            g.a,
                                            { to: "/order/".concat(e.id), delay: 100, className: "w-100" },
                                            c.a.createElement(
                                                "div",
                                                { className: "d-flex justify-content-between align-items-center" },
                                                c.a.createElement("div", { className: "uniqueOrderId" }, c.a.createElement("strong", null, e.unique_order_id)),
                                                c.a.createElement("div", { className: "orderTotal" }, localStorage.getItem("currencyFormat"), e.total)
                                            ),
                                            c.a.createElement(
                                                "div",
                                                { className: "d-flex justify-content-between align-items-center mt-2" },
                                                c.a.createElement(
                                                    "div",
                                                    { className: "mr-2" },
                                                    5 === e.orderstatus_id && c.a.createElement("div", { className: "orderTimerWrapper" }, "Completed in ", this.getTimeDifference(e)),
                                                    6 === e.orderstatus_id && c.a.createElement("div", { className: "orderTimerWrapper" }, "Cancelled in ", this.getTimeDifference(e)),
                                                    5 !== e.orderstatus_id && 6 !== e.orderstatus_id && c.a.createElement(h, { timestamp: e.created_at })
                                                ),
                                                this.props.showOrderStatus
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "listSingleOrderStatus ".concat(6 === e.orderstatus_id && "listSingleOrderStatus--canceled") },
                                                          c.a.createElement(v.a, { orderstatus_id: e.orderstatus_id })
                                                      )
                                                    : c.a.createElement(
                                                          "div",
                                                          { className: "font-w500 itemCount" },
                                                          e.orderitems_count,
                                                          " ",
                                                          e.orderitems_count > 1 ? localStorage.getItem("orderListPage_ItemsText") : localStorage.getItem("orderListPage_ItemText")
                                                      )
                                            ),
                                            e.orderitems.length > 0 &&
                                                c.a.createElement(
                                                    c.a.Fragment,
                                                    null,
                                                    c.a.createElement("hr", null),
                                                    c.a.createElement(
                                                        "div",
                                                        { className: "orderList-orderItemsPreview" },
                                                        e.orderitems.map(function (e, t) {
                                                            return c.a.createElement(
                                                                c.a.Fragment,
                                                                { key: e.id },
                                                                t < 2 && c.a.createElement("span", { className: "mr-2 text-muted" }, c.a.createElement("span", { className: "mr-1" }, e.quantity, "x"), e.name)
                                                            );
                                                        }),
                                                        e.orderitems.length > 2 && c.a.createElement("span", { className: "mr-2 text-muted" }, e.orderitems.length - 2, " More")
                                                    )
                                                ),
                                            c.a.createElement(d.a, { duration: "500", hasTouch: "true" })
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component);
            t.a = b;
        },
        145: function (e, t, n) {
            "use strict";
            var a = n(22),
                r = n(23),
                o = n(25),
                i = n(24),
                l = n(26),
                s = n(0),
                c = n.n(s),
                u = n(138),
                d = (function (e) {
                    function t() {
                        return Object(a.a)(this, t), Object(o.a)(this, Object(i.a)(t).apply(this, arguments));
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "render",
                                value: function () {
                                    return c.a.createElement(
                                        u.a,
                                        { height: window.innerHeight, width: window.innerWidth, speed: 1.2, primaryColor: "#f3f3f3", secondaryColor: "#ecebeb" },
                                        c.a.createElement("rect", { x: "0", y: "15", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                        c.a.createElement("rect", { x: "0", y: "110", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                        c.a.createElement("rect", { x: "0", y: "205", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                        c.a.createElement("rect", { x: "0", y: "300", rx: "0", ry: "0", width: window.innerWidth, height: "80" })
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component);
            t.a = d;
        },
        146: function (e, t) {
            e.exports = function (e) {
                return e && e.__esModule ? e : { default: e };
            };
        },
        147: function (e, t, n) {
            "use strict";
            n.d(t, "a", function () {
                return l;
            }),
                n.d(t, "b", function () {
                    return s;
                });
            var a = n(69),
                r = n(15),
                o = n.n(r),
                i = n(17),
                l = function (e, t) {
                    return function (n) {
                        return o.a
                            .post(i.g, { token: e, store_id: t })
                            .then(function (e) {
                                var t = e.data;
                                return n({ type: a.a, payload: t });
                            })
                            .catch(function (e) {
                                console.log(e);
                            });
                    };
                },
                s = function (e, t) {
                    return function (n) {
                        return o.a
                            .post(i.C, { token: e, store_id: t })
                            .then(function (e) {
                                return e.data;
                            })
                            .catch(function (e) {
                                console.log(e);
                            });
                    };
                };
        },
        154: function (e, t) {
            function n() {
                return (
                    (e.exports = n =
                        Object.assign ||
                        function (e) {
                            for (var t = 1; t < arguments.length; t++) {
                                var n = arguments[t];
                                for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                            }
                            return e;
                        }),
                    (e.exports.__esModule = !0),
                    (e.exports.default = e.exports),
                    n.apply(this, arguments)
                );
            }
            (e.exports = n), (e.exports.__esModule = !0), (e.exports.default = e.exports);
        },
        155: function (e, t) {
            (e.exports = function (e, t) {
                if (null == e) return {};
                var n,
                    a,
                    r = {},
                    o = Object.keys(e);
                for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                return r;
            }),
                (e.exports.__esModule = !0),
                (e.exports.default = e.exports);
        },
        156: function (e, t, n) {
            var a = n(157);
            (e.exports = function (e, t) {
                (e.prototype = Object.create(t.prototype)), (e.prototype.constructor = e), a(e, t);
            }),
                (e.exports.__esModule = !0),
                (e.exports.default = e.exports);
        },
        157: function (e, t) {
            function n(t, a) {
                return (
                    (e.exports = n =
                        Object.setPrototypeOf ||
                        function (e, t) {
                            return (e.__proto__ = t), e;
                        }),
                    (e.exports.__esModule = !0),
                    (e.exports.default = e.exports),
                    n(t, a)
                );
            }
            (e.exports = n), (e.exports.__esModule = !0), (e.exports.default = e.exports);
        },
        158: function (e, t, n) {
            "use strict";
            var a = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,
                r = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,
                o = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,
                i = /\\([\u000b\u0020-\u00ff])/g,
                l = /([\\"])/g,
                s = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
            function c(e) {
                var t = String(e);
                if (o.test(t)) return t;
                if (t.length > 0 && !r.test(t)) throw new TypeError("invalid parameter value");
                return '"' + t.replace(l, "\\$1") + '"';
            }
            function u(e) {
                (this.parameters = Object.create(null)), (this.type = e);
            }
            (t.format = function (e) {
                if (!e || "object" !== typeof e) throw new TypeError("argument obj is required");
                var t = e.parameters,
                    n = e.type;
                if (!n || !s.test(n)) throw new TypeError("invalid type");
                var a = n;
                if (t && "object" === typeof t)
                    for (var r, i = Object.keys(t).sort(), l = 0; l < i.length; l++) {
                        if (((r = i[l]), !o.test(r))) throw new TypeError("invalid parameter name");
                        a += "; " + r + "=" + c(t[r]);
                    }
                return a;
            }),
                (t.parse = function (e) {
                    if (!e) throw new TypeError("argument string is required");
                    var t =
                        "object" === typeof e
                            ? (function (e) {
                                  var t;
                                  "function" === typeof e.getHeader ? (t = e.getHeader("content-type")) : "object" === typeof e.headers && (t = e.headers && e.headers["content-type"]);
                                  if ("string" !== typeof t) throw new TypeError("content-type header is missing from object");
                                  return t;
                              })(e)
                            : e;
                    if ("string" !== typeof t) throw new TypeError("argument string is required to be a string");
                    var n = t.indexOf(";"),
                        r = -1 !== n ? t.substr(0, n).trim() : t.trim();
                    if (!s.test(r)) throw new TypeError("invalid media type");
                    var o = new u(r.toLowerCase());
                    if (-1 !== n) {
                        var l, c, d;
                        for (a.lastIndex = n; (c = a.exec(t)); ) {
                            if (c.index !== n) throw new TypeError("invalid parameter format");
                            (n += c[0].length), (l = c[1].toLowerCase()), '"' === (d = c[2])[0] && (d = d.substr(1, d.length - 2).replace(i, "$1")), (o.parameters[l] = d);
                        }
                        if (n !== t.length) throw new TypeError("invalid parameter format");
                    }
                    return o;
                });
        },
        159: function (e, t, n) {
            var a, r, o, i, l;
            (i = this),
                (l = function (e) {
                    var t = !1,
                        n = !1,
                        a = !1,
                        r = !1,
                        o = "escape years months weeks days hours minutes seconds milliseconds general".split(" "),
                        i = [
                            {
                                type: "seconds",
                                targets: [
                                    { type: "minutes", value: 60 },
                                    { type: "hours", value: 3600 },
                                    { type: "days", value: 86400 },
                                    { type: "weeks", value: 604800 },
                                    { type: "months", value: 2678400 },
                                    { type: "years", value: 31536e3 },
                                ],
                            },
                            {
                                type: "minutes",
                                targets: [
                                    { type: "hours", value: 60 },
                                    { type: "days", value: 1440 },
                                    { type: "weeks", value: 10080 },
                                    { type: "months", value: 44640 },
                                    { type: "years", value: 525600 },
                                ],
                            },
                            {
                                type: "hours",
                                targets: [
                                    { type: "days", value: 24 },
                                    { type: "weeks", value: 168 },
                                    { type: "months", value: 744 },
                                    { type: "years", value: 8760 },
                                ],
                            },
                            {
                                type: "days",
                                targets: [
                                    { type: "weeks", value: 7 },
                                    { type: "months", value: 31 },
                                    { type: "years", value: 365 },
                                ],
                            },
                            { type: "months", targets: [{ type: "years", value: 12 }] },
                        ];
                    function l(e, t) {
                        return !(t.length > e.length) && -1 !== e.indexOf(t);
                    }
                    function s(e) {
                        for (var t = ""; e; ) (t += "0"), (e -= 1);
                        return t;
                    }
                    function c(e, t) {
                        var n =
                            e +
                            "+" +
                            v(_(t).sort(), function (e) {
                                return e + ":" + t[e];
                            }).join(",");
                        return c.cache[n] || (c.cache[n] = Intl.NumberFormat(e, t)), c.cache[n];
                    }
                    function u(e, t, o) {
                        var i,
                            l,
                            d,
                            m = t.useToLocaleString,
                            p = t.useGrouping,
                            f = p && t.grouping.slice(),
                            h = t.maximumSignificantDigits,
                            g = t.minimumIntegerDigits || 1,
                            v = t.fractionDigits || 0,
                            b = t.groupingSeparator,
                            y = t.decimalSeparator;
                        if (m && o) {
                            var w = { minimumIntegerDigits: g, useGrouping: p };
                            if ((v && ((w.maximumFractionDigits = v), (w.minimumFractionDigits = v)), h && e > 0 && (w.maximumSignificantDigits = h), a)) {
                                var E;
                                if (!r) ((E = x({}, t)).useGrouping = !1), (E.decimalSeparator = "."), (e = parseFloat(u(e, E), 10));
                                return c(o, w).format(e);
                            }
                            return n || (((E = x({}, t)).useGrouping = !1), (E.decimalSeparator = "."), (e = parseFloat(u(e, E), 10))), e.toLocaleString(o, w);
                        }
                        var S = (h ? e.toPrecision(h + 1) : e.toFixed(v + 1)).split("e");
                        (d = S[1] || ""), (l = (S = S[0].split("."))[1] || "");
                        var _ = (i = S[0] || "").length,
                            O = l.length,
                            C = _ + O,
                            j = i + l;
                        ((h && C === h + 1) || (!h && O === v + 1)) &&
                            ((j = (function (e) {
                                for (var t = e.split("").reverse(), n = 0, a = !0; a && n < t.length; )
                                    n ? ("9" === t[n] ? (t[n] = "0") : ((t[n] = (parseInt(t[n], 10) + 1).toString()), (a = !1))) : (parseInt(t[n], 10) < 5 && (a = !1), (t[n] = "0")), (n += 1);
                                return a && t.push("1"), t.reverse().join("");
                            })(j)).length ===
                                C + 1 && (_ += 1),
                            O && (j = j.slice(0, -1)),
                            (i = j.slice(0, _)),
                            (l = j.slice(_))),
                            h && (l = l.replace(/0*$/, ""));
                        var I = parseInt(d, 10);
                        I > 0 ? (l.length <= I ? ((i += l += s(I - l.length)), (l = "")) : ((i += l.slice(0, I)), (l = l.slice(I)))) : I < 0 && ((l = s(Math.abs(I) - i.length) + i + l), (i = "0")),
                            h || ((l = l.slice(0, v)).length < v && (l += s(v - l.length)), i.length < g && (i = s(g - i.length) + i));
                        var N,
                            k = "";
                        if (p) for (S = i; S.length; ) f.length && (N = f.shift()), k && (k = b + k), (k = S.slice(-N) + k), (S = S.slice(0, -N));
                        else k = i;
                        return l && (k = k + y + l), k;
                    }
                    function d(e, t) {
                        return e.label.length > t.label.length ? -1 : e.label.length < t.label.length ? 1 : 0;
                    }
                    c.cache = {};
                    var m = {
                        durationLabelsStandard: {
                            S: "millisecond",
                            SS: "milliseconds",
                            s: "second",
                            ss: "seconds",
                            m: "minute",
                            mm: "minutes",
                            h: "hour",
                            hh: "hours",
                            d: "day",
                            dd: "days",
                            w: "week",
                            ww: "weeks",
                            M: "month",
                            MM: "months",
                            y: "year",
                            yy: "years",
                        },
                        durationLabelsShort: { S: "msec", SS: "msecs", s: "sec", ss: "secs", m: "min", mm: "mins", h: "hr", hh: "hrs", d: "dy", dd: "dys", w: "wk", ww: "wks", M: "mo", MM: "mos", y: "yr", yy: "yrs" },
                        durationTimeTemplates: { HMS: "h:mm:ss", HM: "h:mm", MS: "m:ss" },
                        durationLabelTypes: [
                            { type: "standard", string: "__" },
                            { type: "short", string: "_" },
                        ],
                        durationPluralKey: function (e, t, n) {
                            return 1 === t && null === n ? e : e + e;
                        },
                    };
                    function p(e) {
                        return "[object Array]" === Object.prototype.toString.call(e);
                    }
                    function f(e) {
                        return "[object Object]" === Object.prototype.toString.call(e);
                    }
                    function h(e, t) {
                        var n,
                            a = 0,
                            r = (e && e.length) || 0;
                        for (
                            "function" !== typeof t &&
                            ((n = t),
                            (t = function (e) {
                                return e === n;
                            }));
                            a < r;

                        ) {
                            if (t(e[a])) return e[a];
                            a += 1;
                        }
                    }
                    function g(e, t) {
                        var n = 0,
                            a = e.length;
                        if (e && a)
                            for (; n < a; ) {
                                if (!1 === t(e[n], n)) return;
                                n += 1;
                            }
                    }
                    function v(e, t) {
                        var n = 0,
                            a = e.length,
                            r = [];
                        if (!e || !a) return r;
                        for (; n < a; ) (r[n] = t(e[n], n)), (n += 1);
                        return r;
                    }
                    function b(e, t) {
                        return v(e, function (e) {
                            return e[t];
                        });
                    }
                    function y(e) {
                        var t = [];
                        return (
                            g(e, function (e) {
                                e && t.push(e);
                            }),
                            t
                        );
                    }
                    function w(e) {
                        var t = [];
                        return (
                            g(e, function (e) {
                                h(t, e) || t.push(e);
                            }),
                            t
                        );
                    }
                    function E(e, t) {
                        var n = [];
                        return (
                            g(e, function (e) {
                                g(t, function (t) {
                                    e === t && n.push(e);
                                });
                            }),
                            w(n)
                        );
                    }
                    function S(e, t) {
                        var n = [];
                        return (
                            g(e, function (a, r) {
                                if (!t(a)) return (n = e.slice(r)), !1;
                            }),
                            n
                        );
                    }
                    function x(e, t) {
                        for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
                        return e;
                    }
                    function _(e) {
                        var t = [];
                        for (var n in e) e.hasOwnProperty(n) && t.push(n);
                        return t;
                    }
                    function O(e, t) {
                        var n = 0,
                            a = e.length;
                        if (!e || !a) return !1;
                        for (; n < a; ) {
                            if (!0 === t(e[n], n)) return !0;
                            n += 1;
                        }
                        return !1;
                    }
                    function C(e) {
                        return "3.6" === e(3.55, "en", { useGrouping: !1, minimumIntegerDigits: 1, minimumFractionDigits: 1, maximumFractionDigits: 1 });
                    }
                    function j(e) {
                        var t = !0;
                        return (
                            !!(t = (t = (t = t && "1" === e(1, "en", { minimumIntegerDigits: 1 })) && "01" === e(1, "en", { minimumIntegerDigits: 2 })) && "001" === e(1, "en", { minimumIntegerDigits: 3 })) &&
                            !!(t =
                                (t =
                                    (t = (t = t && "100" === e(99.99, "en", { maximumFractionDigits: 0, minimumFractionDigits: 0 })) && "100.0" === e(99.99, "en", { maximumFractionDigits: 1, minimumFractionDigits: 1 })) &&
                                    "99.99" === e(99.99, "en", { maximumFractionDigits: 2, minimumFractionDigits: 2 })) && "99.990" === e(99.99, "en", { maximumFractionDigits: 3, minimumFractionDigits: 3 })) &&
                            !!(t =
                                (t =
                                    (t =
                                        (t = (t = t && "100" === e(99.99, "en", { maximumSignificantDigits: 1 })) && "100" === e(99.99, "en", { maximumSignificantDigits: 2 })) && "100" === e(99.99, "en", { maximumSignificantDigits: 3 })) &&
                                    "99.99" === e(99.99, "en", { maximumSignificantDigits: 4 })) && "99.99" === e(99.99, "en", { maximumSignificantDigits: 5 })) &&
                            !!(t = (t = t && "1,000" === e(1e3, "en", { useGrouping: !0 })) && "1000" === e(1e3, "en", { useGrouping: !1 }))
                        );
                    }
                    function I() {
                        var e,
                            t = [].slice.call(arguments),
                            n = {};
                        if (
                            (g(t, function (t, a) {
                                if (!a) {
                                    if (!p(t)) throw "Expected array as the first argument to durationsFormat.";
                                    e = t;
                                }
                                "string" !== typeof t && "function" !== typeof t ? ("number" !== typeof t ? f(t) && x(n, t) : (n.precision = t)) : (n.template = t);
                            }),
                            !e || !e.length)
                        )
                            return [];
                        n.returnMomentTypes = !0;
                        var a = v(e, function (e) {
                                return e.format(n);
                            }),
                            r = E(
                                o,
                                w(
                                    b(
                                        (function (e) {
                                            var t = [];
                                            return (
                                                g(e, function (e) {
                                                    t = t.concat(e);
                                                }),
                                                t
                                            );
                                        })(a),
                                        "type"
                                    )
                                )
                            ),
                            i = n.largest;
                        return (
                            i && (r = r.slice(0, i)),
                            (n.returnMomentTypes = !1),
                            (n.outputTypes = r),
                            v(e, function (e) {
                                return e.format(n);
                            })
                        );
                    }
                    function N() {
                        var n = [].slice.call(arguments),
                            r = x({}, this.format.defaults),
                            s = this.asMilliseconds(),
                            c = this.asMonths();
                        "function" === typeof this.isValid && !1 === this.isValid() && ((s = 0), (c = 0));
                        var C = s < 0,
                            j = e.duration(Math.abs(s), "milliseconds"),
                            I = e.duration(Math.abs(c), "months");
                        g(n, function (e) {
                            "string" !== typeof e && "function" !== typeof e ? ("number" !== typeof e ? f(e) && x(r, e) : (r.precision = e)) : (r.template = e);
                        });
                        var N = { years: "y", months: "M", weeks: "w", days: "d", hours: "h", minutes: "m", seconds: "s", milliseconds: "S" },
                            k = { escape: /\[(.+?)\]/, years: /\*?[Yy]+/, months: /\*?M+/, weeks: /\*?[Ww]+/, days: /\*?[Dd]+/, hours: /\*?[Hh]+/, minutes: /\*?m+/, seconds: /\*?s+/, milliseconds: /\*?S+/, general: /.+?/ };
                        r.types = o;
                        var T = function (e) {
                                return h(o, function (t) {
                                    return k[t].test(e);
                                });
                            },
                            M = new RegExp(
                                v(o, function (e) {
                                    return k[e].source;
                                }).join("|"),
                                "g"
                            );
                        r.duration = this;
                        var D = "function" === typeof r.template ? r.template.apply(r) : r.template,
                            P = r.outputTypes,
                            A = r.returnMomentTypes,
                            L = r.largest,
                            W = [];
                        P ||
                            (p(r.stopTrim) && (r.stopTrim = r.stopTrim.join("")),
                            r.stopTrim &&
                                g(r.stopTrim.match(M), function (e) {
                                    var t = T(e);
                                    "escape" !== t && "general" !== t && W.push(t);
                                }));
                        var R = e.localeData();
                        R || (R = {}),
                            g(_(m), function (e) {
                                "function" !== typeof m[e] ? R["_" + e] || (R["_" + e] = m[e]) : R[e] || (R[e] = m[e]);
                            }),
                            g(_(R._durationTimeTemplates), function (e) {
                                D = D.replace("_" + e + "_", R._durationTimeTemplates[e]);
                            });
                        var F = r.userLocale || e.locale(),
                            V = r.useLeftUnits,
                            B = r.usePlural,
                            H = r.precision,
                            X = r.forceLength,
                            U = r.useGrouping,
                            q = r.trunc,
                            G = r.useSignificantDigits && H > 0,
                            z = G ? r.precision : 0,
                            $ = z,
                            Y = r.minValue,
                            K = !1,
                            Z = r.maxValue,
                            J = !1,
                            Q = r.useToLocaleString,
                            ee = r.groupingSeparator,
                            te = r.decimalSeparator,
                            ne = r.grouping;
                        Q = Q && (t || a);
                        var ae = r.trim;
                        p(ae) && (ae = ae.join(" ")), null === ae && (L || Z || G) && (ae = "all"), (null !== ae && !0 !== ae && "left" !== ae && "right" !== ae) || (ae = "large"), !1 === ae && (ae = "");
                        var re = function (e) {
                                return e.test(ae);
                            },
                            oe = /both/,
                            ie = /^all|[^sm]all/,
                            le = L > 0 || O([/large/, oe, ie], re),
                            se = O([/small/, oe, ie], re),
                            ce = O([/mid/, ie], re),
                            ue = O([/final/, ie], re),
                            de = v(D.match(M), function (e, t) {
                                var n = T(e);
                                return (
                                    "*" === e.slice(0, 1) && ((e = e.slice(1)), "escape" !== n && "general" !== n && W.push(n)),
                                    { index: t, length: e.length, text: "", token: "escape" === n ? e.replace(k.escape, "$1") : e, type: "escape" === n || "general" === n ? null : n }
                                );
                            }),
                            me = { index: 0, length: 0, token: "", text: "", type: null },
                            pe = [];
                        V && de.reverse(),
                            g(de, function (e) {
                                if (e.type) return (me.type || me.text) && pe.push(me), void (me = e);
                                V ? (me.text = e.token + me.text) : (me.text += e.token);
                            }),
                            (me.type || me.text) && pe.push(me),
                            V && pe.reverse();
                        var fe = E(o, w(y(b(pe, "type"))));
                        if (!fe.length) return b(pe, "text").join("");
                        fe = v(fe, function (e, t) {
                            var n,
                                a = t + 1 === fe.length,
                                o = !t;
                            n = "years" === e || "months" === e ? I.as(e) : j.as(e);
                            var i = Math.floor(n),
                                l = n - i,
                                s = h(pe, function (t) {
                                    return e === t.type;
                                });
                            return (
                                o && Z && n > Z && (J = !0),
                                a && Y && Math.abs(r.duration.as(e)) < Y && (K = !0),
                                o && null === X && s.length > 1 && (X = !0),
                                j.subtract(i, e),
                                I.subtract(i, e),
                                { rawValue: n, wholeValue: i, decimalValue: a ? l : 0, isSmallest: a, isLargest: o, type: e, tokenLength: s.length }
                            );
                        });
                        var he,
                            ge = q ? Math.floor : Math.round,
                            ve = function (e, t) {
                                var n = Math.pow(10, t);
                                return ge(e * n) / n;
                            },
                            be = !1,
                            ye = !1,
                            we = function (e, t) {
                                var n = { useGrouping: U, groupingSeparator: ee, decimalSeparator: te, grouping: ne, useToLocaleString: Q };
                                return (
                                    G && (z <= 0 ? ((e.rawValue = 0), (e.wholeValue = 0), (e.decimalValue = 0)) : ((n.maximumSignificantDigits = z), (e.significantDigits = z))),
                                    J && !ye && (e.isLargest ? ((e.wholeValue = Z), (e.decimalValue = 0)) : ((e.wholeValue = 0), (e.decimalValue = 0))),
                                    K && !ye && (e.isSmallest ? ((e.wholeValue = Y), (e.decimalValue = 0)) : ((e.wholeValue = 0), (e.decimalValue = 0))),
                                    e.isSmallest || (e.significantDigits && e.significantDigits - e.wholeValue.toString().length <= 0)
                                        ? H < 0
                                            ? (e.value = ve(e.wholeValue, H))
                                            : 0 === H
                                            ? (e.value = ge(e.wholeValue + e.decimalValue))
                                            : G
                                            ? ((e.value = q ? ve(e.rawValue, z - e.wholeValue.toString().length) : e.rawValue), e.wholeValue && (z -= e.wholeValue.toString().length))
                                            : ((n.fractionDigits = H), (e.value = q ? e.wholeValue + ve(e.decimalValue, H) : e.wholeValue + e.decimalValue))
                                        : G && e.wholeValue
                                        ? ((e.value = Math.round(ve(e.wholeValue, e.significantDigits - e.wholeValue.toString().length))), (z -= e.wholeValue.toString().length))
                                        : (e.value = e.wholeValue),
                                    e.tokenLength > 1 && (X || be) && ((n.minimumIntegerDigits = e.tokenLength), ye && n.maximumSignificantDigits < e.tokenLength && delete n.maximumSignificantDigits),
                                    !be && (e.value > 0 || "" === ae || h(W, e.type) || h(P, e.type)) && (be = !0),
                                    (e.formattedValue = u(e.value, n, F)),
                                    (n.useGrouping = !1),
                                    (n.decimalSeparator = "."),
                                    (e.formattedValueEn = u(e.value, n, "en")),
                                    2 === e.tokenLength && "milliseconds" === e.type && (e.formattedValueMS = u(e.value, { minimumIntegerDigits: 3, useGrouping: !1 }, "en").slice(0, 2)),
                                    e
                                );
                            };
                        if ((fe = y((fe = v(fe, we)))).length > 1) {
                            var Ee = function (e) {
                                return h(fe, function (t) {
                                    return t.type === e;
                                });
                            };
                            g(i, function (e) {
                                var t = Ee(e.type);
                                t &&
                                    g(e.targets, function (e) {
                                        var n = Ee(e.type);
                                        n &&
                                            parseInt(t.formattedValueEn, 10) === e.value &&
                                            ((t.rawValue = 0), (t.wholeValue = 0), (t.decimalValue = 0), (n.rawValue += 1), (n.wholeValue += 1), (n.decimalValue = 0), (n.formattedValueEn = n.wholeValue.toString()), (ye = !0));
                                    });
                            });
                        }
                        return (
                            ye && ((be = !1), (z = $), (fe = y((fe = v(fe, we))))),
                            !P || (J && !r.trim)
                                ? (le &&
                                      (fe = S(fe, function (e) {
                                          return !e.isSmallest && !e.wholeValue && !h(W, e.type);
                                      })),
                                  L && fe.length && (fe = fe.slice(0, L)),
                                  se &&
                                      fe.length > 1 &&
                                      ((he = function (e) {
                                          return !e.wholeValue && !h(W, e.type) && !e.isLargest;
                                      }),
                                      (fe = S(fe.slice().reverse(), he).reverse())),
                                  ce &&
                                      (fe = y(
                                          (fe = v(fe, function (e, t) {
                                              return t > 0 && t < fe.length - 1 && !e.wholeValue ? null : e;
                                          }))
                                      )),
                                  !ue || 1 !== fe.length || fe[0].wholeValue || (!q && fe[0].isSmallest && fe[0].rawValue < Y) || (fe = []))
                                : (fe = y(
                                      (fe = v(fe, function (e) {
                                          return h(P, function (t) {
                                              return e.type === t;
                                          })
                                              ? e
                                              : null;
                                      }))
                                  )),
                            A
                                ? fe
                                : (g(pe, function (e) {
                                      var t = N[e.type],
                                          n = h(fe, function (t) {
                                              return t.type === e.type;
                                          });
                                      if (t && n) {
                                          var a = n.formattedValueEn.split(".");
                                          (a[0] = parseInt(a[0], 10)), a[1] ? (a[1] = parseFloat("0." + a[1], 10)) : (a[1] = null);
                                          var r = R.durationPluralKey(t, a[0], a[1]),
                                              o = (function (e, t) {
                                                  var n = [];
                                                  return (
                                                      g(_(t), function (a) {
                                                          if ("_durationLabels" === a.slice(0, 15)) {
                                                              var r = a.slice(15).toLowerCase();
                                                              g(_(t[a]), function (o) {
                                                                  o.slice(0, 1) === e && n.push({ type: r, key: o, label: t[a][o] });
                                                              });
                                                          }
                                                      }),
                                                      n
                                                  );
                                              })(t, R),
                                              i = !1,
                                              s = {};
                                          g(R._durationLabelTypes, function (t) {
                                              var n = h(o, function (e) {
                                                  return e.type === t.type && e.key === r;
                                              });
                                              n && ((s[n.type] = n.label), l(e.text, t.string) && ((e.text = e.text.replace(t.string, n.label)), (i = !0)));
                                          }),
                                              B &&
                                                  !i &&
                                                  (o.sort(d),
                                                  g(o, function (t) {
                                                      return s[t.type] === t.label ? !l(e.text, t.label) && void 0 : l(e.text, t.label) ? ((e.text = e.text.replace(t.label, s[t.type])), !1) : void 0;
                                                  }));
                                      }
                                  }),
                                  (pe = v(pe, function (e) {
                                      if (!e.type) return e.text;
                                      var t = h(fe, function (t) {
                                          return t.type === e.type;
                                      });
                                      if (!t) return "";
                                      var n = "";
                                      return (
                                          V && (n += e.text),
                                          ((C && J) || (!C && K)) && ((n += "< "), (J = !1), (K = !1)),
                                          ((C && K) || (!C && J)) && ((n += "> "), (J = !1), (K = !1)),
                                          C && (t.value > 0 || "" === ae || h(W, t.type) || h(P, t.type)) && ((n += "-"), (C = !1)),
                                          "milliseconds" === e.type && t.formattedValueMS ? (n += t.formattedValueMS) : (n += t.formattedValue),
                                          V || (n += e.text),
                                          n
                                      );
                                  }))
                                      .join("")
                                      .replace(/(,| |:|\.)*$/, "")
                                      .replace(/^(,| |:|\.)*/, ""))
                        );
                    }
                    function k() {
                        var e = this.duration,
                            t = function (t) {
                                return e._data[t];
                            },
                            n = h(this.types, t),
                            a = (function (e, t) {
                                for (var n = e.length; (n -= 1); ) if (t(e[n])) return e[n];
                            })(this.types, t);
                        switch (n) {
                            case "milliseconds":
                                return "S __";
                            case "seconds":
                            case "minutes":
                                return "*_MS_";
                            case "hours":
                                return "_HMS_";
                            case "days":
                                if (n === a) return "d __";
                            case "weeks":
                                return n === a ? "w __" : (null === this.trim && (this.trim = "both"), "w __, d __, h __");
                            case "months":
                                if (n === a) return "M __";
                            case "years":
                                return n === a ? "y __" : (null === this.trim && (this.trim = "both"), "y __, M __, d __");
                            default:
                                return null === this.trim && (this.trim = "both"), "y __, d __, h __, m __, s __";
                        }
                    }
                    function T(e) {
                        if (!e) throw "Moment Duration Format init cannot find moment instance.";
                        (e.duration.format = I),
                            (e.duration.fn.format = N),
                            (e.duration.fn.format.defaults = {
                                trim: null,
                                stopTrim: null,
                                largest: null,
                                maxValue: null,
                                minValue: null,
                                precision: 0,
                                trunc: !1,
                                forceLength: null,
                                userLocale: null,
                                usePlural: !0,
                                useLeftUnits: !1,
                                useGrouping: !0,
                                useSignificantDigits: !1,
                                template: k,
                                useToLocaleString: !0,
                                groupingSeparator: ",",
                                decimalSeparator: ".",
                                grouping: [3],
                            }),
                            e.updateLocale("en", m);
                    }
                    var M = function (e, t, n) {
                        return e.toLocaleString(t, n);
                    };
                    (t =
                        (function () {
                            try {
                                (0).toLocaleString("i");
                            } catch (e) {
                                return "RangeError" === e.name;
                            }
                            return !1;
                        })() && j(M)),
                        (n = t && C(M));
                    var D = function (e, t, n) {
                        if ("undefined" !== typeof window && window && window.Intl && window.Intl.NumberFormat) return window.Intl.NumberFormat(t, n).format(e);
                    };
                    return (a = j(D)), (r = a && C(D)), T(e), T;
                }),
                (r = [n(134)]),
                void 0 === (o = "function" === typeof (a = l) ? a.apply(t, r) : a) || (e.exports = o),
                i && (i.momentDurationFormatSetup = i.moment ? l(i.moment) : l);
        },
        163: function (e, t, n) {
            "use strict";
            var a = n(154),
                r = n.n(a),
                o = n(155),
                i = n.n(o),
                l = n(156),
                s = n.n(l);
            Object.create;
            function c(e, t, n) {
                if (n || 2 === arguments.length) for (var a, r = 0, o = t.length; r < o; r++) (!a && r in t) || (a || (a = Array.prototype.slice.call(t, 0, r)), (a[r] = t[r]));
                return e.concat(a || Array.prototype.slice.call(t));
            }
            Object.create;
            var u = n(158),
                d = new Map(),
                m = function (e) {
                    return e.cloneNode(!0);
                },
                p = function () {
                    return "file:" === window.location.protocol;
                },
                f = function (e, t, n) {
                    var a = new XMLHttpRequest();
                    (a.onreadystatechange = function () {
                        try {
                            if (!/\.svg/i.test(e) && 2 === a.readyState) {
                                var t = a.getResponseHeader("Content-Type");
                                if (!t) throw new Error("Content type not found");
                                var r = Object(u.parse)(t).type;
                                if ("image/svg+xml" !== r && "text/plain" !== r) throw new Error("Invalid content type: ".concat(r));
                            }
                            if (4 === a.readyState) {
                                if (404 === a.status || null === a.responseXML)
                                    throw new Error(p() ? "Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver." : "Unable to load SVG file: " + e);
                                if (!(200 === a.status || (p() && 0 === a.status))) throw new Error("There was a problem injecting the SVG: " + a.status + " " + a.statusText);
                                n(null, a);
                            }
                        } catch (o) {
                            if ((a.abort(), !(o instanceof Error))) throw o;
                            n(o, a);
                        }
                    }),
                        a.open("GET", e),
                        (a.withCredentials = t),
                        a.overrideMimeType && a.overrideMimeType("text/xml"),
                        a.send();
                },
                h = {},
                g = function (e, t) {
                    (h[e] = h[e] || []), h[e].push(t);
                },
                v = function (e, t, n) {
                    if (d.has(e)) {
                        var a = d.get(e);
                        if (void 0 === a) return void g(e, n);
                        if (a instanceof SVGSVGElement) return void n(null, m(a));
                    }
                    d.set(e, void 0),
                        g(e, n),
                        f(e, t, function (t, n) {
                            t ? d.set(e, t) : n.responseXML instanceof Document && n.responseXML.documentElement && n.responseXML.documentElement instanceof SVGSVGElement && d.set(e, n.responseXML.documentElement),
                                (function (e) {
                                    for (
                                        var t = function (t, n) {
                                                setTimeout(function () {
                                                    if (Array.isArray(h[e])) {
                                                        var n = d.get(e),
                                                            a = h[e][t];
                                                        n instanceof SVGSVGElement && a(null, m(n)), n instanceof Error && a(n), t === h[e].length - 1 && delete h[e];
                                                    }
                                                }, 0);
                                            },
                                            n = 0,
                                            a = h[e].length;
                                        n < a;
                                        n++
                                    )
                                        t(n);
                                })(e);
                        });
                },
                b = function (e, t, n) {
                    f(e, t, function (e, t) {
                        e ? n(e) : t.responseXML instanceof Document && t.responseXML.documentElement && t.responseXML.documentElement instanceof SVGSVGElement && n(null, t.responseXML.documentElement);
                    });
                },
                y = 0,
                w = [],
                E = {},
                S = "http://www.w3.org/1999/xlink",
                x = function (e, t, n, a, r, o, i) {
                    var l = e.getAttribute("data-src") || e.getAttribute("src");
                    if (l) {
                        if (-1 !== w.indexOf(e)) return w.splice(w.indexOf(e), 1), void (e = null);
                        w.push(e),
                            e.setAttribute("src", ""),
                            (a ? v : b)(l, r, function (a, r) {
                                if (!r) return w.splice(w.indexOf(e), 1), (e = null), void i(a);
                                var s = e.getAttribute("id");
                                s && r.setAttribute("id", s);
                                var u = e.getAttribute("title");
                                u && r.setAttribute("title", u);
                                var d = e.getAttribute("width");
                                d && r.setAttribute("width", d);
                                var m = e.getAttribute("height");
                                m && r.setAttribute("height", m);
                                var p = Array.from(new Set(c(c(c([], (r.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0)))
                                    .join(" ")
                                    .trim();
                                r.setAttribute("class", p);
                                var f = e.getAttribute("style");
                                f && r.setAttribute("style", f), r.setAttribute("data-src", l);
                                var h = [].filter.call(e.attributes, function (e) {
                                    return /^data-\w[\w-]*$/.test(e.name);
                                });
                                if (
                                    (Array.prototype.forEach.call(h, function (e) {
                                        e.name && e.value && r.setAttribute(e.name, e.value);
                                    }),
                                    n)
                                ) {
                                    var g,
                                        v,
                                        b,
                                        x,
                                        _,
                                        O = {
                                            clipPath: ["clip-path"],
                                            "color-profile": ["color-profile"],
                                            cursor: ["cursor"],
                                            filter: ["filter"],
                                            linearGradient: ["fill", "stroke"],
                                            marker: ["marker", "marker-start", "marker-mid", "marker-end"],
                                            mask: ["mask"],
                                            path: [],
                                            pattern: ["fill", "stroke"],
                                            radialGradient: ["fill", "stroke"],
                                        };
                                    Object.keys(O).forEach(function (e) {
                                        (g = e), (b = O[e]);
                                        for (
                                            var t = function (e, t) {
                                                    var n;
                                                    (x = v[e].id),
                                                        (_ = x + "-" + ++y),
                                                        Array.prototype.forEach.call(b, function (e) {
                                                            for (var t = 0, a = (n = r.querySelectorAll("[" + e + '*="' + x + '"]')).length; t < a; t++) {
                                                                var o = n[t].getAttribute(e);
                                                                (o && !o.match(new RegExp('url\\("?#' + x + '"?\\)'))) || n[t].setAttribute(e, "url(#" + _ + ")");
                                                            }
                                                        });
                                                    for (var a = r.querySelectorAll("[*|href]"), o = [], i = 0, l = a.length; i < l; i++) {
                                                        var s = a[i].getAttributeNS(S, "href");
                                                        s && s.toString() === "#" + v[e].id && o.push(a[i]);
                                                    }
                                                    for (var c = 0, u = o.length; c < u; c++) o[c].setAttributeNS(S, "href", "#" + _);
                                                    v[e].id = _;
                                                },
                                                n = 0,
                                                a = (v = r.querySelectorAll(g + "[id]")).length;
                                            n < a;
                                            n++
                                        )
                                            t(n);
                                    });
                                }
                                r.removeAttribute("xmlns:a");
                                for (var C, j, I = r.querySelectorAll("script"), N = [], k = 0, T = I.length; k < T; k++)
                                    ((j = I[k].getAttribute("type")) && "application/ecmascript" !== j && "application/javascript" !== j && "text/javascript" !== j) ||
                                        ((C = I[k].innerText || I[k].textContent) && N.push(C), r.removeChild(I[k]));
                                if (N.length > 0 && ("always" === t || ("once" === t && !E[l]))) {
                                    for (var M = 0, D = N.length; M < D; M++) new Function(N[M])(window);
                                    E[l] = !0;
                                }
                                var P = r.querySelectorAll("style");
                                if (
                                    (Array.prototype.forEach.call(P, function (e) {
                                        e.textContent += "";
                                    }),
                                    r.setAttribute("xmlns", "http://www.w3.org/2000/svg"),
                                    r.setAttribute("xmlns:xlink", S),
                                    o(r),
                                    !e.parentNode)
                                )
                                    return w.splice(w.indexOf(e), 1), (e = null), void i(new Error("Parent node is null"));
                                e.parentNode.replaceChild(r, e), w.splice(w.indexOf(e), 1), (e = null), i(null, r);
                            });
                    } else i(new Error("Invalid data-src or src attribute"));
                },
                _ = n(2),
                O = n(0);
            n.d(t, "a", function () {
                return j;
            });
            var C = ["afterInjection", "beforeInjection", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "useRequestCache", "wrapper"],
                j = (function (e) {
                    function t() {
                        for (var t, n = arguments.length, a = new Array(n), r = 0; r < n; r++) a[r] = arguments[r];
                        return (
                            ((t = e.call.apply(e, [this].concat(a)) || this).initialState = { hasError: !1, isLoading: !0 }),
                            (t.state = t.initialState),
                            (t._isMounted = !1),
                            (t.reactWrapper = void 0),
                            (t.nonReactWrapper = void 0),
                            (t.refCallback = function (e) {
                                t.reactWrapper = e;
                            }),
                            t
                        );
                    }
                    s()(t, e);
                    var n = t.prototype;
                    return (
                        (n.renderSVG = function () {
                            var e = this;
                            if (this.reactWrapper instanceof Node) {
                                var t,
                                    n,
                                    a = this.props,
                                    r = a.beforeInjection,
                                    o = a.evalScripts,
                                    i = a.httpRequestWithCredentials,
                                    l = a.renumerateIRIElements,
                                    s = a.src,
                                    c = a.useRequestCache,
                                    u = this.props.afterInjection,
                                    d = this.props.wrapper;
                                "svg" === d
                                    ? ((t = document.createElementNS("http://www.w3.org/2000/svg", d)).setAttribute("xmlns", "http://www.w3.org/2000/svg"),
                                      t.setAttribute("xmlns:xlink", "http://www.w3.org/1999/xlink"),
                                      (n = document.createElementNS("http://www.w3.org/2000/svg", d)))
                                    : ((t = document.createElement(d)), (n = document.createElement(d))),
                                    t.appendChild(n),
                                    (n.dataset.src = s),
                                    (this.nonReactWrapper = this.reactWrapper.appendChild(t));
                                !(function (e, t) {
                                    var n = void 0 === t ? {} : t,
                                        a = n.afterAll,
                                        r = void 0 === a ? function () {} : a,
                                        o = n.afterEach,
                                        i = void 0 === o ? function () {} : o,
                                        l = n.beforeEach,
                                        s = void 0 === l ? function () {} : l,
                                        c = n.cacheRequests,
                                        u = void 0 === c || c,
                                        d = n.evalScripts,
                                        m = void 0 === d ? "never" : d,
                                        p = n.httpRequestWithCredentials,
                                        f = void 0 !== p && p,
                                        h = n.renumerateIRIElements,
                                        g = void 0 === h || h;
                                    if (e && "length" in e)
                                        for (var v = 0, b = 0, y = e.length; b < y; b++)
                                            x(e[b], m, g, u, f, s, function (t, n) {
                                                i(t, n), e && "length" in e && e.length === ++v && r(v);
                                            });
                                    else
                                        e
                                            ? x(e, m, g, u, f, s, function (t, n) {
                                                  i(t, n), r(1), (e = null);
                                              })
                                            : r(0);
                                })(n, {
                                    afterEach: function (t, n) {
                                        !t || (e.removeSVG(), e._isMounted)
                                            ? e._isMounted &&
                                              e.setState(
                                                  function () {
                                                      return { hasError: !!t, isLoading: !1 };
                                                  },
                                                  function () {
                                                      u(t, n);
                                                  }
                                              )
                                            : u(t);
                                    },
                                    beforeEach: r,
                                    cacheRequests: c,
                                    evalScripts: o,
                                    httpRequestWithCredentials: i,
                                    renumerateIRIElements: l,
                                });
                            }
                        }),
                        (n.removeSVG = function () {
                            var e;
                            null != (e = this.nonReactWrapper) && e.parentNode && (this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper), (this.nonReactWrapper = null));
                        }),
                        (n.componentDidMount = function () {
                            (this._isMounted = !0), this.renderSVG();
                        }),
                        (n.componentDidUpdate = function (e) {
                            var t = this;
                            (function (e, t) {
                                for (var n in e) if (!(n in t)) return !0;
                                for (var a in t) if (e[a] !== t[a]) return !0;
                                return !1;
                            })(e, this.props) &&
                                this.setState(
                                    function () {
                                        return t.initialState;
                                    },
                                    function () {
                                        t.removeSVG(), t.renderSVG();
                                    }
                                );
                        }),
                        (n.componentWillUnmount = function () {
                            (this._isMounted = !1), this.removeSVG();
                        }),
                        (n.render = function () {
                            var e = this.props;
                            e.afterInjection, e.beforeInjection, e.evalScripts;
                            var t = e.fallback;
                            e.httpRequestWithCredentials;
                            var n = e.loading;
                            e.renumerateIRIElements, e.src, e.useRequestCache;
                            var a = e.wrapper,
                                o = i()(e, C),
                                l = a;
                            return O.createElement(
                                l,
                                r()({}, o, { ref: this.refCallback }, "svg" === a ? { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" } : {}),
                                this.state.isLoading && n && O.createElement(n, null),
                                this.state.hasError && t && O.createElement(t, null)
                            );
                        }),
                        t
                    );
                })(O.Component);
            (j.defaultProps = {
                afterInjection: function () {},
                beforeInjection: function () {},
                evalScripts: "never",
                fallback: null,
                httpRequestWithCredentials: !1,
                loading: null,
                renumerateIRIElements: !0,
                useRequestCache: !0,
                wrapper: "div",
            }),
                (j.propTypes = {
                    afterInjection: _.func,
                    beforeInjection: _.func,
                    evalScripts: _.oneOf(["always", "once", "never"]),
                    fallback: _.oneOfType([_.func, _.object, _.string]),
                    httpRequestWithCredentials: _.bool,
                    loading: _.oneOfType([_.func, _.object, _.string]),
                    renumerateIRIElements: _.bool,
                    src: _.string.isRequired,
                    useRequestCache: _.bool,
                    wrapper: _.oneOf(["div", "span", "svg"]),
                });
        },
        166: function (e, t, n) {
            "use strict";
            var a = n(1),
                r = n(4),
                o = n(20),
                i = n(0),
                l = n(14),
                s = n(27),
                c = n(55),
                u = n(236),
                d = n(222),
                m = n(221),
                p = n(28),
                f = n(220),
                h = { enter: p.b.enteringScreen, exit: p.b.leavingScreen },
                g = i.forwardRef(function (e, t) {
                    var n = e.BackdropProps,
                        o = e.children,
                        s = e.classes,
                        p = e.className,
                        g = e.disableBackdropClick,
                        v = void 0 !== g && g,
                        b = e.disableEscapeKeyDown,
                        y = void 0 !== b && b,
                        w = e.fullScreen,
                        E = void 0 !== w && w,
                        S = e.fullWidth,
                        x = void 0 !== S && S,
                        _ = e.maxWidth,
                        O = void 0 === _ ? "sm" : _,
                        C = e.onBackdropClick,
                        j = e.onClose,
                        I = e.onEnter,
                        N = e.onEntered,
                        k = e.onEntering,
                        T = e.onEscapeKeyDown,
                        M = e.onExit,
                        D = e.onExited,
                        P = e.onExiting,
                        A = e.open,
                        L = e.PaperComponent,
                        W = void 0 === L ? f.a : L,
                        R = e.PaperProps,
                        F = void 0 === R ? {} : R,
                        V = e.scroll,
                        B = void 0 === V ? "paper" : V,
                        H = e.TransitionComponent,
                        X = void 0 === H ? m.a : H,
                        U = e.transitionDuration,
                        q = void 0 === U ? h : U,
                        G = e.TransitionProps,
                        z = e["aria-describedby"],
                        $ = e["aria-labelledby"],
                        Y = Object(r.a)(e, [
                            "BackdropProps",
                            "children",
                            "classes",
                            "className",
                            "disableBackdropClick",
                            "disableEscapeKeyDown",
                            "fullScreen",
                            "fullWidth",
                            "maxWidth",
                            "onBackdropClick",
                            "onClose",
                            "onEnter",
                            "onEntered",
                            "onEntering",
                            "onEscapeKeyDown",
                            "onExit",
                            "onExited",
                            "onExiting",
                            "open",
                            "PaperComponent",
                            "PaperProps",
                            "scroll",
                            "TransitionComponent",
                            "transitionDuration",
                            "TransitionProps",
                            "aria-describedby",
                            "aria-labelledby",
                        ]),
                        K = i.useRef();
                    return i.createElement(
                        u.a,
                        Object(a.a)(
                            { className: Object(l.a)(s.root, p), BackdropComponent: d.a, BackdropProps: Object(a.a)({ transitionDuration: q }, n), closeAfterTransition: !0 },
                            v ? { disableBackdropClick: v } : {},
                            { disableEscapeKeyDown: y, onEscapeKeyDown: T, onClose: j, open: A, ref: t },
                            Y
                        ),
                        i.createElement(
                            X,
                            Object(a.a)({ appear: !0, in: A, timeout: q, onEnter: I, onEntering: k, onEntered: N, onExit: M, onExiting: P, onExited: D, role: "none presentation" }, G),
                            i.createElement(
                                "div",
                                {
                                    className: Object(l.a)(s.container, s["scroll".concat(Object(c.a)(B))]),
                                    onMouseUp: function (e) {
                                        e.target === e.currentTarget && e.target === K.current && ((K.current = null), C && C(e), !v && j && j(e, "backdropClick"));
                                    },
                                    onMouseDown: function (e) {
                                        K.current = e.target;
                                    },
                                },
                                i.createElement(
                                    W,
                                    Object(a.a)({ elevation: 24, role: "dialog", "aria-describedby": z, "aria-labelledby": $ }, F, {
                                        className: Object(l.a)(s.paper, s["paperScroll".concat(Object(c.a)(B))], s["paperWidth".concat(Object(c.a)(String(O)))], F.className, E && s.paperFullScreen, x && s.paperFullWidth),
                                    }),
                                    o
                                )
                            )
                        )
                    );
                });
            t.a = Object(s.a)(
                function (e) {
                    return {
                        root: { "@media print": { position: "absolute !important" } },
                        scrollPaper: { display: "flex", justifyContent: "center", alignItems: "center" },
                        scrollBody: { overflowY: "auto", overflowX: "hidden", textAlign: "center", "&:after": { content: '""', display: "inline-block", verticalAlign: "middle", height: "100%", width: "0" } },
                        container: { height: "100%", "@media print": { height: "auto" }, outline: 0 },
                        paper: { margin: 32, position: "relative", overflowY: "auto", "@media print": { overflowY: "visible", boxShadow: "none" } },
                        paperScrollPaper: { display: "flex", flexDirection: "column", maxHeight: "calc(100% - 64px)" },
                        paperScrollBody: { display: "inline-block", verticalAlign: "middle", textAlign: "left" },
                        paperWidthFalse: { maxWidth: "calc(100% - 64px)" },
                        paperWidthXs: { maxWidth: Math.max(e.breakpoints.values.xs, 444), "&$paperScrollBody": Object(o.a)({}, e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 64), { maxWidth: "calc(100% - 64px)" }) },
                        paperWidthSm: { maxWidth: e.breakpoints.values.sm, "&$paperScrollBody": Object(o.a)({}, e.breakpoints.down(e.breakpoints.values.sm + 64), { maxWidth: "calc(100% - 64px)" }) },
                        paperWidthMd: { maxWidth: e.breakpoints.values.md, "&$paperScrollBody": Object(o.a)({}, e.breakpoints.down(e.breakpoints.values.md + 64), { maxWidth: "calc(100% - 64px)" }) },
                        paperWidthLg: { maxWidth: e.breakpoints.values.lg, "&$paperScrollBody": Object(o.a)({}, e.breakpoints.down(e.breakpoints.values.lg + 64), { maxWidth: "calc(100% - 64px)" }) },
                        paperWidthXl: { maxWidth: e.breakpoints.values.xl, "&$paperScrollBody": Object(o.a)({}, e.breakpoints.down(e.breakpoints.values.xl + 64), { maxWidth: "calc(100% - 64px)" }) },
                        paperFullWidth: { width: "calc(100% - 64px)" },
                        paperFullScreen: { margin: 0, width: "100%", maxWidth: "100%", height: "100%", maxHeight: "none", borderRadius: 0, "&$paperScrollBody": { margin: 0, maxWidth: "100%" } },
                    };
                },
                { name: "MuiDialog" }
            )(g);
        },
        168: function (e, t, n) {
            "use strict";
            var a = n(169);
            Object.defineProperty(t, "__esModule", { value: !0 }),
                Object.defineProperty(t, "default", {
                    enumerable: !0,
                    get: function () {
                        return r.default;
                    },
                }),
                Object.defineProperty(t, "SwipeableViewsContext", {
                    enumerable: !0,
                    get: function () {
                        return r.SwipeableViewsContext;
                    },
                });
            var r = a(n(177));
        },
        169: function (e, t) {
            e.exports = function (e) {
                if (e && e.__esModule) return e;
                var t = {};
                if (null != e)
                    for (var n in e)
                        if (Object.prototype.hasOwnProperty.call(e, n)) {
                            var a = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(e, n) : {};
                            a.get || a.set ? Object.defineProperty(t, n, a) : (t[n] = e[n]);
                        }
                return (t.default = e), t;
            };
        },
        170: function (e, t, n) {
            "use strict";
            Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0);
            t.default = { RESISTANCE_COEF: 0.6, UNCERTAINTY_THRESHOLD: 3 };
        },
        175: function (e, t, n) {},
        177: function (e, t, n) {
            "use strict";
            var a = n(169),
                r = n(178);
            Object.defineProperty(t, "__esModule", { value: !0 }), (t.getDomTreeShapes = E), (t.findNativeHandler = x), (t.default = t.SwipeableViewsContext = void 0);
            var o = r(n(179)),
                i = r(n(180)),
                l = r(n(182)),
                s = r(n(183)),
                c = r(n(184)),
                u = r(n(187)),
                d = r(n(188)),
                m = a(n(0)),
                p = (r(n(2)), r(n(9)), n(190));
            function f(e, t, n, a) {
                return (
                    e.addEventListener(t, n, a),
                    {
                        remove: function () {
                            e.removeEventListener(t, n, a);
                        },
                    }
                );
            }
            var h = { direction: "ltr", display: "flex", willChange: "transform" },
                g = { width: "100%", WebkitFlexShrink: 0, flexShrink: 0, overflow: "auto" },
                v = {
                    root: { x: { overflowX: "hidden" }, "x-reverse": { overflowX: "hidden" }, y: { overflowY: "hidden" }, "y-reverse": { overflowY: "hidden" } },
                    flexDirection: { x: "row", "x-reverse": "row-reverse", y: "column", "y-reverse": "column-reverse" },
                    transform: {
                        x: function (e) {
                            return "translate(".concat(-e, "%, 0)");
                        },
                        "x-reverse": function (e) {
                            return "translate(".concat(e, "%, 0)");
                        },
                        y: function (e) {
                            return "translate(0, ".concat(-e, "%)");
                        },
                        "y-reverse": function (e) {
                            return "translate(0, ".concat(e, "%)");
                        },
                    },
                    length: { x: "width", "x-reverse": "width", y: "height", "y-reverse": "height" },
                    rotationMatrix: { x: { x: [1, 0], y: [0, 1] }, "x-reverse": { x: [-1, 0], y: [0, 1] }, y: { x: [0, 1], y: [1, 0] }, "y-reverse": { x: [0, -1], y: [1, 0] } },
                    scrollPosition: { x: "scrollLeft", "x-reverse": "scrollLeft", y: "scrollTop", "y-reverse": "scrollTop" },
                    scrollLength: { x: "scrollWidth", "x-reverse": "scrollWidth", y: "scrollHeight", "y-reverse": "scrollHeight" },
                    clientLength: { x: "clientWidth", "x-reverse": "clientWidth", y: "clientHeight", "y-reverse": "clientHeight" },
                };
            function b(e, t) {
                var n = t.duration,
                    a = t.easeFunction,
                    r = t.delay;
                return "".concat(e, " ").concat(n, " ").concat(a, " ").concat(r);
            }
            function y(e, t) {
                var n = v.rotationMatrix[t];
                return { pageX: n.x[0] * e.pageX + n.x[1] * e.pageY, pageY: n.y[0] * e.pageX + n.y[1] * e.pageY };
            }
            function w(e) {
                return (e.touches = [{ pageX: e.pageX, pageY: e.pageY }]), e;
            }
            function E(e, t) {
                for (var n = []; e && e !== t && e !== document.body && !e.hasAttribute("data-swipeable"); ) {
                    var a = window.getComputedStyle(e);
                    "absolute" === a.getPropertyValue("position") || "hidden" === a.getPropertyValue("overflow-x")
                        ? (n = [])
                        : ((e.clientWidth > 0 && e.scrollWidth > e.clientWidth) || (e.clientHeight > 0 && e.scrollHeight > e.clientHeight)) &&
                          n.push({ element: e, scrollWidth: e.scrollWidth, scrollHeight: e.scrollHeight, clientWidth: e.clientWidth, clientHeight: e.clientHeight, scrollLeft: e.scrollLeft, scrollTop: e.scrollTop }),
                        (e = e.parentNode);
                }
                return n;
            }
            var S = null;
            function x(e) {
                var t = e.domTreeShapes,
                    n = e.pageX,
                    a = e.startX,
                    r = e.axis;
                return t.some(function (e) {
                    var t = n >= a;
                    ("x" !== r && "y" !== r) || (t = !t);
                    var o = Math.round(e[v.scrollPosition[r]]),
                        i = o > 0,
                        l = o + e[v.clientLength[r]] < e[v.scrollLength[r]];
                    return !!((t && l) || (!t && i)) && ((S = e.element), !0);
                });
            }
            var _ = m.createContext();
            t.SwipeableViewsContext = _;
            var O = (function (e) {
                function t(e) {
                    var n;
                    return (
                        (0, l.default)(this, t),
                        ((n = (0, c.default)(this, (0, u.default)(t).call(this, e))).rootNode = null),
                        (n.containerNode = null),
                        (n.ignoreNextScrollEvents = !1),
                        (n.viewLength = 0),
                        (n.startX = 0),
                        (n.lastX = 0),
                        (n.vx = 0),
                        (n.startY = 0),
                        (n.isSwiping = void 0),
                        (n.started = !1),
                        (n.startIndex = 0),
                        (n.transitionListener = null),
                        (n.touchMoveListener = null),
                        (n.activeSlide = null),
                        (n.indexCurrent = null),
                        (n.firstRenderTimeout = null),
                        (n.setRootNode = function (e) {
                            n.rootNode = e;
                        }),
                        (n.setContainerNode = function (e) {
                            n.containerNode = e;
                        }),
                        (n.setActiveSlide = function (e) {
                            (n.activeSlide = e), n.updateHeight();
                        }),
                        (n.handleSwipeStart = function (e) {
                            var t = n.props.axis,
                                a = y(e.touches[0], t);
                            (n.viewLength = n.rootNode.getBoundingClientRect()[v.length[t]]), (n.startX = a.pageX), (n.lastX = a.pageX), (n.vx = 0), (n.startY = a.pageY), (n.isSwiping = void 0), (n.started = !0);
                            var r = window.getComputedStyle(n.containerNode),
                                o = r.getPropertyValue("-webkit-transform") || r.getPropertyValue("transform");
                            if (o && "none" !== o) {
                                var i = o.split("(")[1].split(")")[0].split(","),
                                    l = window.getComputedStyle(n.rootNode),
                                    s = y({ pageX: parseInt(i[4], 10), pageY: parseInt(i[5], 10) }, t);
                                n.startIndex = -s.pageX / (n.viewLength - parseInt(l.paddingLeft, 10) - parseInt(l.paddingRight, 10)) || 0;
                            }
                        }),
                        (n.handleSwipeMove = function (e) {
                            if (n.started) {
                                if (null === S || S === n.rootNode) {
                                    var t = n.props,
                                        a = t.axis,
                                        r = t.children,
                                        o = t.ignoreNativeScroll,
                                        i = t.onSwitching,
                                        l = t.resistance,
                                        s = y(e.touches[0], a);
                                    if (void 0 === n.isSwiping) {
                                        var c = Math.abs(s.pageX - n.startX),
                                            u = Math.abs(s.pageY - n.startY),
                                            d = c > u && c > p.constant.UNCERTAINTY_THRESHOLD;
                                        if (!l && ("y" === a || "y-reverse" === a) && ((0 === n.indexCurrent && n.startX < s.pageX) || (n.indexCurrent === m.Children.count(n.props.children) - 1 && n.startX > s.pageX)))
                                            return void (n.isSwiping = !1);
                                        if ((c > u && e.preventDefault(), !0 === d || u > p.constant.UNCERTAINTY_THRESHOLD)) return (n.isSwiping = d), void (n.startX = s.pageX);
                                    }
                                    if (!0 === n.isSwiping) {
                                        e.preventDefault(), (n.vx = 0.5 * n.vx + 0.5 * (s.pageX - n.lastX)), (n.lastX = s.pageX);
                                        var f = (0, p.computeIndex)({ children: r, resistance: l, pageX: s.pageX, startIndex: n.startIndex, startX: n.startX, viewLength: n.viewLength }),
                                            h = f.index,
                                            g = f.startX;
                                        if (null === S && !o) if (x({ domTreeShapes: E(e.target, n.rootNode), startX: n.startX, pageX: s.pageX, axis: a })) return;
                                        g ? (n.startX = g) : null === S && (S = n.rootNode), n.setIndexCurrent(h);
                                        var v = function () {
                                            i && i(h, "move");
                                        };
                                        (!n.state.displaySameSlide && n.state.isDragging) || n.setState({ displaySameSlide: !1, isDragging: !0 }, v), v();
                                    }
                                }
                            } else n.handleTouchStart(e);
                        }),
                        (n.handleSwipeEnd = function () {
                            if (((S = null), n.started && ((n.started = !1), !0 === n.isSwiping))) {
                                var e,
                                    t = n.state.indexLatest,
                                    a = n.indexCurrent,
                                    r = t - a;
                                e = Math.abs(n.vx) > n.props.threshold ? (n.vx > 0 ? Math.floor(a) : Math.ceil(a)) : Math.abs(r) > n.props.hysteresis ? (r > 0 ? Math.floor(a) : Math.ceil(a)) : t;
                                var o = m.Children.count(n.props.children) - 1;
                                e < 0 ? (e = 0) : e > o && (e = o),
                                    n.setIndexCurrent(e),
                                    n.setState({ indexLatest: e, isDragging: !1 }, function () {
                                        n.props.onSwitching && n.props.onSwitching(e, "end"), n.props.onChangeIndex && e !== t && n.props.onChangeIndex(e, t, { reason: "swipe" }), a === t && n.handleTransitionEnd();
                                    });
                            }
                        }),
                        (n.handleTouchStart = function (e) {
                            n.props.onTouchStart && n.props.onTouchStart(e), n.handleSwipeStart(e);
                        }),
                        (n.handleTouchEnd = function (e) {
                            n.props.onTouchEnd && n.props.onTouchEnd(e), n.handleSwipeEnd(e);
                        }),
                        (n.handleMouseDown = function (e) {
                            n.props.onMouseDown && n.props.onMouseDown(e), e.persist(), n.handleSwipeStart(w(e));
                        }),
                        (n.handleMouseUp = function (e) {
                            n.props.onMouseUp && n.props.onMouseUp(e), n.handleSwipeEnd(w(e));
                        }),
                        (n.handleMouseLeave = function (e) {
                            n.props.onMouseLeave && n.props.onMouseLeave(e), n.started && n.handleSwipeEnd(w(e));
                        }),
                        (n.handleMouseMove = function (e) {
                            n.props.onMouseMove && n.props.onMouseMove(e), n.started && n.handleSwipeMove(w(e));
                        }),
                        (n.handleScroll = function (e) {
                            if ((n.props.onScroll && n.props.onScroll(e), e.target === n.rootNode))
                                if (n.ignoreNextScrollEvents) n.ignoreNextScrollEvents = !1;
                                else {
                                    var t = n.state.indexLatest,
                                        a = Math.ceil(e.target.scrollLeft / e.target.clientWidth) + t;
                                    (n.ignoreNextScrollEvents = !0), (e.target.scrollLeft = 0), n.props.onChangeIndex && a !== t && n.props.onChangeIndex(a, t, { reason: "focus" });
                                }
                        }),
                        (n.updateHeight = function () {
                            if (null !== n.activeSlide) {
                                var e = n.activeSlide.children[0];
                                void 0 !== e && void 0 !== e.offsetHeight && n.state.heightLatest !== e.offsetHeight && n.setState({ heightLatest: e.offsetHeight });
                            }
                        }),
                        (n.state = { indexLatest: e.index, isDragging: !1, renderOnlyActive: !e.disableLazyLoading, heightLatest: 0, displaySameSlide: !0 }),
                        n.setIndexCurrent(e.index),
                        n
                    );
                }
                return (
                    (0, d.default)(t, e),
                    (0, s.default)(t, [
                        {
                            key: "componentDidMount",
                            value: function () {
                                var e = this;
                                (this.transitionListener = f(this.containerNode, "transitionend", function (t) {
                                    t.target === e.containerNode && e.handleTransitionEnd();
                                })),
                                    (this.touchMoveListener = f(
                                        this.rootNode,
                                        "touchmove",
                                        function (t) {
                                            e.props.disabled || e.handleSwipeMove(t);
                                        },
                                        { passive: !1 }
                                    )),
                                    this.props.disableLazyLoading ||
                                        (this.firstRenderTimeout = setTimeout(function () {
                                            e.setState({ renderOnlyActive: !1 });
                                        }, 0)),
                                    this.props.action && this.props.action({ updateHeight: this.updateHeight });
                            },
                        },
                        {
                            key: "UNSAFE_componentWillReceiveProps",
                            value: function (e) {
                                var t = e.index;
                                "number" === typeof t && t !== this.props.index && (this.setIndexCurrent(t), this.setState({ displaySameSlide: (0, p.getDisplaySameSlide)(this.props, e), indexLatest: t }));
                            },
                        },
                        {
                            key: "componentWillUnmount",
                            value: function () {
                                this.transitionListener.remove(), this.touchMoveListener.remove(), clearTimeout(this.firstRenderTimeout);
                            },
                        },
                        {
                            key: "getSwipeableViewsContext",
                            value: function () {
                                var e = this;
                                return {
                                    slideUpdateHeight: function () {
                                        e.updateHeight();
                                    },
                                };
                            },
                        },
                        {
                            key: "setIndexCurrent",
                            value: function (e) {
                                if ((this.props.animateTransitions || this.indexCurrent === e || this.handleTransitionEnd(), (this.indexCurrent = e), this.containerNode)) {
                                    var t = this.props.axis,
                                        n = v.transform[t](100 * e);
                                    (this.containerNode.style.WebkitTransform = n), (this.containerNode.style.transform = n);
                                }
                            },
                        },
                        {
                            key: "handleTransitionEnd",
                            value: function () {
                                this.props.onTransitionEnd && (this.state.displaySameSlide || this.state.isDragging || this.props.onTransitionEnd());
                            },
                        },
                        {
                            key: "render",
                            value: function () {
                                var e,
                                    t,
                                    n = this,
                                    a = this.props,
                                    r = (a.action, a.animateHeight),
                                    l = a.animateTransitions,
                                    s = a.axis,
                                    c = a.children,
                                    u = a.containerStyle,
                                    d = a.disabled,
                                    p = (a.disableLazyLoading, a.enableMouseEvents),
                                    f = (a.hysteresis, a.ignoreNativeScroll, a.index, a.onChangeIndex, a.onSwitching, a.onTransitionEnd, a.resistance, a.slideStyle),
                                    y = a.slideClassName,
                                    w = a.springConfig,
                                    E = a.style,
                                    S =
                                        (a.threshold,
                                        (0, i.default)(a, [
                                            "action",
                                            "animateHeight",
                                            "animateTransitions",
                                            "axis",
                                            "children",
                                            "containerStyle",
                                            "disabled",
                                            "disableLazyLoading",
                                            "enableMouseEvents",
                                            "hysteresis",
                                            "ignoreNativeScroll",
                                            "index",
                                            "onChangeIndex",
                                            "onSwitching",
                                            "onTransitionEnd",
                                            "resistance",
                                            "slideStyle",
                                            "slideClassName",
                                            "springConfig",
                                            "style",
                                            "threshold",
                                        ])),
                                    x = this.state,
                                    O = x.displaySameSlide,
                                    C = x.heightLatest,
                                    j = x.indexLatest,
                                    I = x.isDragging,
                                    N = x.renderOnlyActive,
                                    k = d ? {} : { onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd },
                                    T = !d && p ? { onMouseDown: this.handleMouseDown, onMouseUp: this.handleMouseUp, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove } : {},
                                    M = (0, o.default)({}, g, f);
                                if (I || !l || O) (e = "all 0s ease 0s"), (t = "all 0s ease 0s");
                                else if (((e = b("transform", w)), (t = b("-webkit-transform", w)), 0 !== C)) {
                                    var D = ", ".concat(b("height", w));
                                    (e += D), (t += D);
                                }
                                var P = { height: null, WebkitFlexDirection: v.flexDirection[s], flexDirection: v.flexDirection[s], WebkitTransition: t, transition: e };
                                if (!N) {
                                    var A = v.transform[s](100 * this.indexCurrent);
                                    (P.WebkitTransform = A), (P.transform = A);
                                }
                                return (
                                    r && (P.height = C),
                                    m.createElement(
                                        _.Provider,
                                        { value: this.getSwipeableViewsContext() },
                                        m.createElement(
                                            "div",
                                            (0, o.default)({ ref: this.setRootNode, style: (0, o.default)({}, v.root[s], E) }, S, k, T, { onScroll: this.handleScroll }),
                                            m.createElement(
                                                "div",
                                                { ref: this.setContainerNode, style: (0, o.default)({}, P, h, u), className: "react-swipeable-view-container" },
                                                m.Children.map(c, function (e, t) {
                                                    if (N && t !== j) return null;
                                                    var a,
                                                        o = !0;
                                                    return (
                                                        t === j && ((o = !1), r && ((a = n.setActiveSlide), (M.overflowY = "hidden"))),
                                                        m.createElement("div", { ref: a, style: M, className: y, "aria-hidden": o, "data-swipeable": "true" }, e)
                                                    );
                                                })
                                            )
                                        )
                                    )
                                );
                            },
                        },
                    ]),
                    t
                );
            })(m.Component);
            (O.displayName = "ReactSwipableView"),
                (O.propTypes = {}),
                (O.defaultProps = {
                    animateHeight: !1,
                    animateTransitions: !0,
                    axis: "x",
                    disabled: !1,
                    disableLazyLoading: !1,
                    enableMouseEvents: !1,
                    hysteresis: 0.6,
                    ignoreNativeScroll: !1,
                    index: 0,
                    threshold: 5,
                    springConfig: { duration: "0.35s", easeFunction: "cubic-bezier(0.15, 0.3, 0.25, 1)", delay: "0s" },
                    resistance: !1,
                });
            var C = O;
            t.default = C;
        },
        178: function (e, t) {
            e.exports = function (e) {
                return e && e.__esModule ? e : { default: e };
            };
        },
        179: function (e, t) {
            function n() {
                return (
                    (e.exports = n =
                        Object.assign ||
                        function (e) {
                            for (var t = 1; t < arguments.length; t++) {
                                var n = arguments[t];
                                for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                            }
                            return e;
                        }),
                    n.apply(this, arguments)
                );
            }
            e.exports = n;
        },
        180: function (e, t, n) {
            var a = n(181);
            e.exports = function (e, t) {
                if (null == e) return {};
                var n,
                    r,
                    o = a(e, t);
                if (Object.getOwnPropertySymbols) {
                    var i = Object.getOwnPropertySymbols(e);
                    for (r = 0; r < i.length; r++) (n = i[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n]));
                }
                return o;
            };
        },
        181: function (e, t) {
            e.exports = function (e, t) {
                if (null == e) return {};
                var n,
                    a,
                    r = {},
                    o = Object.keys(e);
                for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                return r;
            };
        },
        182: function (e, t) {
            e.exports = function (e, t) {
                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
            };
        },
        183: function (e, t) {
            function n(e, t) {
                for (var n = 0; n < t.length; n++) {
                    var a = t[n];
                    (a.enumerable = a.enumerable || !1), (a.configurable = !0), "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a);
                }
            }
            e.exports = function (e, t, a) {
                return t && n(e.prototype, t), a && n(e, a), e;
            };
        },
        184: function (e, t, n) {
            var a = n(185),
                r = n(186);
            e.exports = function (e, t) {
                return !t || ("object" !== a(t) && "function" !== typeof t) ? r(e) : t;
            };
        },
        185: function (e, t) {
            function n(e) {
                return (n =
                    "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
                        ? function (e) {
                              return typeof e;
                          }
                        : function (e) {
                              return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
                          })(e);
            }
            function a(t) {
                return (
                    "function" === typeof Symbol && "symbol" === n(Symbol.iterator)
                        ? (e.exports = a = function (e) {
                              return n(e);
                          })
                        : (e.exports = a = function (e) {
                              return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : n(e);
                          }),
                    a(t)
                );
            }
            e.exports = a;
        },
        186: function (e, t) {
            e.exports = function (e) {
                if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                return e;
            };
        },
        187: function (e, t) {
            function n(t) {
                return (
                    (e.exports = n = Object.setPrototypeOf
                        ? Object.getPrototypeOf
                        : function (e) {
                              return e.__proto__ || Object.getPrototypeOf(e);
                          }),
                    n(t)
                );
            }
            e.exports = n;
        },
        188: function (e, t, n) {
            var a = n(189);
            e.exports = function (e, t) {
                if ("function" !== typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
                (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), t && a(e, t);
            };
        },
        189: function (e, t) {
            function n(t, a) {
                return (
                    (e.exports = n =
                        Object.setPrototypeOf ||
                        function (e, t) {
                            return (e.__proto__ = t), e;
                        }),
                    n(t, a)
                );
            }
            e.exports = n;
        },
        190: function (e, t, n) {
            "use strict";
            var a = n(146);
            Object.defineProperty(t, "__esModule", { value: !0 }),
                Object.defineProperty(t, "checkIndexBounds", {
                    enumerable: !0,
                    get: function () {
                        return r.default;
                    },
                }),
                Object.defineProperty(t, "computeIndex", {
                    enumerable: !0,
                    get: function () {
                        return o.default;
                    },
                }),
                Object.defineProperty(t, "constant", {
                    enumerable: !0,
                    get: function () {
                        return i.default;
                    },
                }),
                Object.defineProperty(t, "getDisplaySameSlide", {
                    enumerable: !0,
                    get: function () {
                        return l.default;
                    },
                }),
                Object.defineProperty(t, "mod", {
                    enumerable: !0,
                    get: function () {
                        return s.default;
                    },
                });
            var r = a(n(191)),
                o = a(n(192)),
                i = a(n(170)),
                l = a(n(193)),
                s = a(n(194));
        },
        191: function (e, t, n) {
            "use strict";
            var a = n(146);
            Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0);
            var r = a(n(0)),
                o =
                    (a(n(9)),
                    function (e) {
                        e.index;
                        var t = e.children;
                        r.default.Children.count(t);
                    });
            t.default = o;
        },
        192: function (e, t, n) {
            "use strict";
            var a = n(146);
            Object.defineProperty(t, "__esModule", { value: !0 }),
                (t.default = function (e) {
                    var t,
                        n = e.children,
                        a = e.startIndex,
                        i = e.startX,
                        l = e.pageX,
                        s = e.viewLength,
                        c = e.resistance,
                        u = r.default.Children.count(n) - 1,
                        d = a + (i - l) / s;
                    c ? (d < 0 ? (d = Math.exp(d * o.default.RESISTANCE_COEF) - 1) : d > u && (d = u + 1 - Math.exp((u - d) * o.default.RESISTANCE_COEF))) : d < 0 ? (t = ((d = 0) - a) * s + l) : d > u && (t = ((d = u) - a) * s + l);
                    return { index: d, startX: t };
                });
            var r = a(n(0)),
                o = a(n(170));
        },
        193: function (e, t, n) {
            "use strict";
            var a = n(146);
            Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0);
            var r = a(n(0)),
                o = function (e, t) {
                    var n = !1,
                        a = function (e) {
                            return e ? e.key : "empty";
                        };
                    if (e.children.length && t.children.length) {
                        var o = r.default.Children.map(e.children, a)[e.index];
                        null !== o && void 0 !== o && o === r.default.Children.map(t.children, a)[t.index] && (n = !0);
                    }
                    return n;
                };
            t.default = o;
        },
        194: function (e, t, n) {
            "use strict";
            Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0);
            var a = function (e, t) {
                var n = e % t;
                return n < 0 ? n + t : n;
            };
            t.default = a;
        },
        196: function (e, t, n) {
            "use strict";
            function a() {
                return m || (m = (0, c.animation)(d));
            }
            function r() {
                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : c.defaults,
                    t = e.children,
                    n = (e.out, e.timeout),
                    r = e.duration,
                    o = void 0 === r ? c.defaults.duration : r,
                    i = e.delay,
                    l = void 0 === i ? c.defaults.delay : i,
                    u = e.count,
                    d = void 0 === u ? c.defaults.count : u,
                    m = e.forever,
                    p = (function (e, t) {
                        var n = {};
                        for (var a in e) t.indexOf(a) >= 0 || (Object.prototype.hasOwnProperty.call(e, a) && (n[a] = e[a]));
                        return n;
                    })(e, ["children", "out", "timeout", "duration", "delay", "count", "forever"]),
                    f = { make: a, duration: void 0 === n ? o : n, delay: l, forever: m, count: d, style: { animationFillMode: "both" } };
                return (0, s.default)(p, f, !1, t, !0);
            }
            Object.defineProperty(t, "__esModule", { value: !0 });
            var o,
                i = n(2),
                l = n(137),
                s = (o = l) && o.__esModule ? o : { default: o },
                c = n(132),
                u = { duration: i.number, timeout: i.number, delay: i.number, count: i.number, forever: i.bool },
                d =
                    "\n from, 20%, 53%, 80%, to {\n    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n    transform: translate3d(0,0,0);\n  }\n\n  40%, 43% {\n    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);\n    transform: translate3d(0, -30px, 0);\n  }\n\n  70% {\n    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);\n    transform: translate3d(0, -15px, 0);\n  }\n\n  90% {\n    transform: translate3d(0, -4px, 0);\n}\n",
                m = !1;
            (r.propTypes = u), (t.default = r), (e.exports = t.default);
        },
        234: function (e, t, n) {
            "use strict";
            n.r(t);
            var a = n(22),
                r = n(23),
                o = n(25),
                i = n(24),
                l = n(26),
                s = n(0),
                c = n.n(s);
            function u(e) {
                return function (t) {
                    return !!t.type && t.type.tabsRole === e;
                };
            }
            var d = u("Tab"),
                m = u("TabList"),
                p = u("TabPanel");
            function f() {
                return (f =
                    Object.assign ||
                    function (e) {
                        for (var t = 1; t < arguments.length; t++) {
                            var n = arguments[t];
                            for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                        }
                        return e;
                    }).apply(this, arguments);
            }
            function h(e, t) {
                return s.Children.map(e, function (e) {
                    return null === e
                        ? null
                        : (function (e) {
                              return d(e) || m(e) || p(e);
                          })(e)
                        ? t(e)
                        : e.props && e.props.children && "object" === typeof e.props.children
                        ? Object(s.cloneElement)(e, f({}, e.props, { children: h(e.props.children, t) }))
                        : e;
                });
            }
            function g(e, t) {
                return s.Children.forEach(e, function (e) {
                    null !== e && (d(e) || p(e) ? t(e) : e.props && e.props.children && "object" === typeof e.props.children && (m(e) && t(e), g(e.props.children, t)));
                });
            }
            var v = n(14),
                b = 0;
            function y() {
                return "react-tabs-" + b++;
            }
            function w(e) {
                var t = 0;
                return (
                    g(e, function (e) {
                        d(e) && t++;
                    }),
                    t
                );
            }
            var E,
                S = ["children", "className", "disabledTabClassName", "domRef", "focus", "forceRenderTabPanel", "onSelect", "selectedIndex", "selectedTabClassName", "selectedTabPanelClassName", "environment", "disableUpDownKeys"];
            function x() {
                return (x =
                    Object.assign ||
                    function (e) {
                        for (var t = 1; t < arguments.length; t++) {
                            var n = arguments[t];
                            for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                        }
                        return e;
                    }).apply(this, arguments);
            }
            function _(e, t) {
                return (_ =
                    Object.setPrototypeOf ||
                    function (e, t) {
                        return (e.__proto__ = t), e;
                    })(e, t);
            }
            function O(e) {
                return e && "getAttribute" in e;
            }
            function C(e) {
                return O(e) && e.getAttribute("data-rttab");
            }
            function j(e) {
                return O(e) && "true" === e.getAttribute("aria-disabled");
            }
            var I = (function (e) {
                var t, n;
                function a() {
                    for (var t, n = arguments.length, a = new Array(n), r = 0; r < n; r++) a[r] = arguments[r];
                    return (
                        ((t = e.call.apply(e, [this].concat(a)) || this).tabNodes = []),
                        (t.handleKeyDown = function (e) {
                            var n = t.props,
                                a = n.direction,
                                r = n.disableUpDownKeys;
                            if (t.isTabFromContainer(e.target)) {
                                var o = t.props.selectedIndex,
                                    i = !1,
                                    l = !1;
                                (32 !== e.keyCode && 13 !== e.keyCode) || ((i = !0), (l = !1), t.handleClick(e)),
                                    37 === e.keyCode || (!r && 38 === e.keyCode)
                                        ? ((o = "rtl" === a ? t.getNextTab(o) : t.getPrevTab(o)), (i = !0), (l = !0))
                                        : 39 === e.keyCode || (!r && 40 === e.keyCode)
                                        ? ((o = "rtl" === a ? t.getPrevTab(o) : t.getNextTab(o)), (i = !0), (l = !0))
                                        : 35 === e.keyCode
                                        ? ((o = t.getLastTab()), (i = !0), (l = !0))
                                        : 36 === e.keyCode && ((o = t.getFirstTab()), (i = !0), (l = !0)),
                                    i && e.preventDefault(),
                                    l && t.setSelected(o, e);
                            }
                        }),
                        (t.handleClick = function (e) {
                            var n = e.target;
                            do {
                                if (t.isTabFromContainer(n)) {
                                    if (j(n)) return;
                                    var a = [].slice.call(n.parentNode.children).filter(C).indexOf(n);
                                    return void t.setSelected(a, e);
                                }
                            } while (null != (n = n.parentNode));
                        }),
                        t
                    );
                }
                (n = e), ((t = a).prototype = Object.create(n.prototype)), (t.prototype.constructor = t), _(t, n);
                var r = a.prototype;
                return (
                    (r.setSelected = function (e, t) {
                        if (!(e < 0 || e >= this.getTabsCount())) {
                            var n = this.props;
                            (0, n.onSelect)(e, n.selectedIndex, t);
                        }
                    }),
                    (r.getNextTab = function (e) {
                        for (var t = this.getTabsCount(), n = e + 1; n < t; n++) if (!j(this.getTab(n))) return n;
                        for (var a = 0; a < e; a++) if (!j(this.getTab(a))) return a;
                        return e;
                    }),
                    (r.getPrevTab = function (e) {
                        for (var t = e; t--; ) if (!j(this.getTab(t))) return t;
                        for (t = this.getTabsCount(); t-- > e; ) if (!j(this.getTab(t))) return t;
                        return e;
                    }),
                    (r.getFirstTab = function () {
                        for (var e = this.getTabsCount(), t = 0; t < e; t++) if (!j(this.getTab(t))) return t;
                        return null;
                    }),
                    (r.getLastTab = function () {
                        for (var e = this.getTabsCount(); e--; ) if (!j(this.getTab(e))) return e;
                        return null;
                    }),
                    (r.getTabsCount = function () {
                        return w(this.props.children);
                    }),
                    (r.getPanelsCount = function () {
                        return (function (e) {
                            var t = 0;
                            return (
                                g(e, function (e) {
                                    p(e) && t++;
                                }),
                                t
                            );
                        })(this.props.children);
                    }),
                    (r.getTab = function (e) {
                        return this.tabNodes["tabs-" + e];
                    }),
                    (r.getChildren = function () {
                        var e = this,
                            t = 0,
                            n = this.props,
                            a = n.children,
                            r = n.disabledTabClassName,
                            o = n.focus,
                            i = n.forceRenderTabPanel,
                            l = n.selectedIndex,
                            u = n.selectedTabClassName,
                            f = n.selectedTabPanelClassName,
                            g = n.environment;
                        (this.tabIds = this.tabIds || []), (this.panelIds = this.panelIds || []);
                        for (var v = this.tabIds.length - this.getTabsCount(); v++ < 0; ) this.tabIds.push(y()), this.panelIds.push(y());
                        return h(a, function (n) {
                            var a = n;
                            if (m(n)) {
                                var v = 0,
                                    b = !1;
                                null == E &&
                                    (function (e) {
                                        var t = e || ("undefined" !== typeof window ? window : void 0);
                                        try {
                                            E = !("undefined" === typeof t || !t.document || !t.document.activeElement);
                                        } catch (n) {
                                            E = !1;
                                        }
                                    })(g),
                                    E &&
                                        (b = c.a.Children.toArray(n.props.children)
                                            .filter(d)
                                            .some(function (t, n) {
                                                var a = g || ("undefined" !== typeof window ? window : void 0);
                                                return a && a.document.activeElement === e.getTab(n);
                                            })),
                                    (a = Object(s.cloneElement)(n, {
                                        children: h(n.props.children, function (t) {
                                            var n = "tabs-" + v,
                                                a = l === v,
                                                i = {
                                                    tabRef: function (t) {
                                                        e.tabNodes[n] = t;
                                                    },
                                                    id: e.tabIds[v],
                                                    panelId: e.panelIds[v],
                                                    selected: a,
                                                    focus: a && (o || b),
                                                };
                                            return u && (i.selectedClassName = u), r && (i.disabledClassName = r), v++, Object(s.cloneElement)(t, i);
                                        }),
                                    }));
                            } else if (p(n)) {
                                var y = { id: e.panelIds[t], tabId: e.tabIds[t], selected: l === t };
                                i && (y.forceRender = i), f && (y.selectedClassName = f), t++, (a = Object(s.cloneElement)(n, y));
                            }
                            return a;
                        });
                    }),
                    (r.isTabFromContainer = function (e) {
                        if (!C(e)) return !1;
                        var t = e.parentElement;
                        do {
                            if (t === this.node) return !0;
                            if (t.getAttribute("data-rttabs")) break;
                            t = t.parentElement;
                        } while (t);
                        return !1;
                    }),
                    (r.render = function () {
                        var e = this,
                            t = this.props,
                            n = (t.children, t.className),
                            a = (t.disabledTabClassName, t.domRef),
                            r =
                                (t.focus,
                                t.forceRenderTabPanel,
                                t.onSelect,
                                t.selectedIndex,
                                t.selectedTabClassName,
                                t.selectedTabPanelClassName,
                                t.environment,
                                t.disableUpDownKeys,
                                (function (e, t) {
                                    if (null == e) return {};
                                    var n,
                                        a,
                                        r = {},
                                        o = Object.keys(e);
                                    for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                                    return r;
                                })(t, S));
                        return c.a.createElement(
                            "div",
                            x({}, r, {
                                className: Object(v.a)(n),
                                onClick: this.handleClick,
                                onKeyDown: this.handleKeyDown,
                                ref: function (t) {
                                    (e.node = t), a && a(t);
                                },
                                "data-rttabs": !0,
                            }),
                            this.getChildren()
                        );
                    }),
                    a
                );
            })(s.Component);
            (I.defaultProps = { className: "react-tabs", focus: !1 }), (I.propTypes = {});
            var N = ["children", "defaultIndex", "defaultFocus"];
            function k(e, t) {
                return (k =
                    Object.setPrototypeOf ||
                    function (e, t) {
                        return (e.__proto__ = t), e;
                    })(e, t);
            }
            var T = 1,
                M = (function (e) {
                    var t, n;
                    function a(t) {
                        var n;
                        return (
                            ((n = e.call(this, t) || this).handleSelected = function (e, t, a) {
                                var r = n.props.onSelect,
                                    o = n.state.mode;
                                if ("function" !== typeof r || !1 !== r(e, t, a)) {
                                    var i = { focus: "keydown" === a.type };
                                    o === T && (i.selectedIndex = e), n.setState(i);
                                }
                            }),
                            (n.state = a.copyPropsToState(n.props, {}, t.defaultFocus)),
                            n
                        );
                    }
                    return (
                        (n = e),
                        ((t = a).prototype = Object.create(n.prototype)),
                        (t.prototype.constructor = t),
                        k(t, n),
                        (a.getDerivedStateFromProps = function (e, t) {
                            return a.copyPropsToState(e, t);
                        }),
                        (a.getModeFromProps = function (e) {
                            return null === e.selectedIndex ? T : 0;
                        }),
                        (a.copyPropsToState = function (e, t, n) {
                            void 0 === n && (n = !1);
                            var r = { focus: n, mode: a.getModeFromProps(e) };
                            if (r.mode === T) {
                                var o = Math.max(0, w(e.children) - 1),
                                    i = null;
                                (i = null != t.selectedIndex ? Math.min(t.selectedIndex, o) : e.defaultIndex || 0), (r.selectedIndex = i);
                            }
                            return r;
                        }),
                        (a.prototype.render = function () {
                            var e = this.props,
                                t = e.children,
                                n =
                                    (e.defaultIndex,
                                    e.defaultFocus,
                                    (function (e, t) {
                                        if (null == e) return {};
                                        var n,
                                            a,
                                            r = {},
                                            o = Object.keys(e);
                                        for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                                        return r;
                                    })(e, N)),
                                a = this.state,
                                r = a.focus,
                                o = a.selectedIndex;
                            return (n.focus = r), (n.onSelect = this.handleSelected), null != o && (n.selectedIndex = o), c.a.createElement(I, n, t);
                        }),
                        a
                    );
                })(s.Component);
            (M.defaultProps = { defaultFocus: !1, forceRenderTabPanel: !1, selectedIndex: null, defaultIndex: null, environment: null, disableUpDownKeys: !1 }), (M.propTypes = {}), (M.tabsRole = "Tabs");
            var D = ["children", "className"];
            function P() {
                return (P =
                    Object.assign ||
                    function (e) {
                        for (var t = 1; t < arguments.length; t++) {
                            var n = arguments[t];
                            for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                        }
                        return e;
                    }).apply(this, arguments);
            }
            function A(e, t) {
                return (A =
                    Object.setPrototypeOf ||
                    function (e, t) {
                        return (e.__proto__ = t), e;
                    })(e, t);
            }
            var L = (function (e) {
                var t, n;
                function a() {
                    return e.apply(this, arguments) || this;
                }
                return (
                    (n = e),
                    ((t = a).prototype = Object.create(n.prototype)),
                    (t.prototype.constructor = t),
                    A(t, n),
                    (a.prototype.render = function () {
                        var e = this.props,
                            t = e.children,
                            n = e.className,
                            a = (function (e, t) {
                                if (null == e) return {};
                                var n,
                                    a,
                                    r = {},
                                    o = Object.keys(e);
                                for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                                return r;
                            })(e, D);
                        return c.a.createElement("ul", P({}, a, { className: Object(v.a)(n), role: "tablist" }), t);
                    }),
                    a
                );
            })(s.Component);
            (L.defaultProps = { className: "react-tabs__tab-list" }), (L.propTypes = {}), (L.tabsRole = "TabList");
            var W = ["children", "className", "disabled", "disabledClassName", "focus", "id", "panelId", "selected", "selectedClassName", "tabIndex", "tabRef"];
            function R() {
                return (R =
                    Object.assign ||
                    function (e) {
                        for (var t = 1; t < arguments.length; t++) {
                            var n = arguments[t];
                            for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                        }
                        return e;
                    }).apply(this, arguments);
            }
            function F(e, t) {
                return (F =
                    Object.setPrototypeOf ||
                    function (e, t) {
                        return (e.__proto__ = t), e;
                    })(e, t);
            }
            var V = (function (e) {
                var t, n;
                function a() {
                    return e.apply(this, arguments) || this;
                }
                (n = e), ((t = a).prototype = Object.create(n.prototype)), (t.prototype.constructor = t), F(t, n);
                var r = a.prototype;
                return (
                    (r.componentDidMount = function () {
                        this.checkFocus();
                    }),
                    (r.componentDidUpdate = function () {
                        this.checkFocus();
                    }),
                    (r.checkFocus = function () {
                        var e = this.props,
                            t = e.selected,
                            n = e.focus;
                        t && n && this.node.focus();
                    }),
                    (r.render = function () {
                        var e,
                            t = this,
                            n = this.props,
                            a = n.children,
                            r = n.className,
                            o = n.disabled,
                            i = n.disabledClassName,
                            l = (n.focus, n.id),
                            s = n.panelId,
                            u = n.selected,
                            d = n.selectedClassName,
                            m = n.tabIndex,
                            p = n.tabRef,
                            f = (function (e, t) {
                                if (null == e) return {};
                                var n,
                                    a,
                                    r = {},
                                    o = Object.keys(e);
                                for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                                return r;
                            })(n, W);
                        return c.a.createElement(
                            "li",
                            R({}, f, {
                                className: Object(v.a)(r, ((e = {}), (e[d] = u), (e[i] = o), e)),
                                ref: function (e) {
                                    (t.node = e), p && p(e);
                                },
                                role: "tab",
                                id: l,
                                "aria-selected": u ? "true" : "false",
                                "aria-disabled": o ? "true" : "false",
                                "aria-controls": s,
                                tabIndex: m || (u ? "0" : null),
                                "data-rttab": !0,
                            }),
                            a
                        );
                    }),
                    a
                );
            })(s.Component);
            (V.defaultProps = { className: "react-tabs__tab", disabledClassName: "react-tabs__tab--disabled", focus: !1, id: null, panelId: null, selected: !1, selectedClassName: "react-tabs__tab--selected" }),
                (V.propTypes = {}),
                (V.tabsRole = "Tab");
            var B = ["children", "className", "forceRender", "id", "selected", "selectedClassName", "tabId"];
            function H() {
                return (H =
                    Object.assign ||
                    function (e) {
                        for (var t = 1; t < arguments.length; t++) {
                            var n = arguments[t];
                            for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                        }
                        return e;
                    }).apply(this, arguments);
            }
            function X(e, t) {
                return (X =
                    Object.setPrototypeOf ||
                    function (e, t) {
                        return (e.__proto__ = t), e;
                    })(e, t);
            }
            var U = (function (e) {
                var t, n;
                function a() {
                    return e.apply(this, arguments) || this;
                }
                return (
                    (n = e),
                    ((t = a).prototype = Object.create(n.prototype)),
                    (t.prototype.constructor = t),
                    X(t, n),
                    (a.prototype.render = function () {
                        var e,
                            t = this.props,
                            n = t.children,
                            a = t.className,
                            r = t.forceRender,
                            o = t.id,
                            i = t.selected,
                            l = t.selectedClassName,
                            s = t.tabId,
                            u = (function (e, t) {
                                if (null == e) return {};
                                var n,
                                    a,
                                    r = {},
                                    o = Object.keys(e);
                                for (a = 0; a < o.length; a++) (n = o[a]), t.indexOf(n) >= 0 || (r[n] = e[n]);
                                return r;
                            })(t, B);
                        return c.a.createElement("div", H({}, u, { className: Object(v.a)(a, ((e = {}), (e[l] = i), e)), role: "tabpanel", id: o, "aria-labelledby": s }), r || i ? n : null);
                    }),
                    a
                );
            })(s.Component);
            (U.defaultProps = { className: "react-tabs__tab-panel", forceRender: !1, selectedClassName: "react-tabs__tab-panel--selected" }), (U.propTypes = {}), (U.tabsRole = "TabPanel");
            n(175);
            var q,
                G = n(131),
                z = n.n(G),
                $ = n(34),
                Y = n(163),
                K = n(62),
                Z = n(166),
                J = n(136),
                Q = n(3),
                ee = n(46),
                te = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { logoutConfirmationDialog: !1 }),
                            (n.__confirmLogout = function () {
                                n.setState({ logoutConfirmationDialog: !1 }, function () {
                                    n.props.logoutUser(), "FoodomaaAndroidWebViewUA" === navigator.userAgent && "undefined" !== window.Android && window.Android.logoutStoreOwner();
                                });
                            }),
                            (n.openLogoutDialog = function () {
                                n.setState({ logoutConfirmationDialog: !0 });
                            }),
                            (n.closeLogoutDialog = function () {
                                n.setState({ logoutConfirmationDialog: !1 });
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "render",
                                value: function () {
                                    var e = this.props.user;
                                    return e.success
                                        ? c.a.createElement(
                                              c.a.Fragment,
                                              null,
                                              c.a.createElement("div", { className: "statusBarBgPlaceholder bg-primary-gradient" }),
                                              c.a.createElement(
                                                  "div",
                                                  { className: "d-flex justify-content-start profileBlock bg-primary-gradient" },
                                                  c.a.createElement("div", { className: "mr-15" }, c.a.createElement("div", { className: "profileNameInitial" }, this.props.user.data.name.charAt(0))),
                                                  c.a.createElement(
                                                      "div",
                                                      null,
                                                      c.a.createElement("p", { className: "mb-1" }, this.props.user.data.name),
                                                      c.a.createElement("p", { className: "mb-1" }, this.props.user.data.email),
                                                      c.a.createElement("p", { className: "mb-1" }, this.props.user.data.phone)
                                                  )
                                              ),
                                              c.a.createElement(
                                                  J.a,
                                                  { className: "moreMenuBlock moreMenuContactAdmin", to: "/pages/store-app", delay: 100 },
                                                  c.a.createElement(
                                                      "div",
                                                      { className: "d-flex singleMoreMenuItem position-relative" },
                                                      c.a.createElement(
                                                          "div",
                                                          { style: { color: localStorage.getItem("storeAppPrimaryColor") } },
                                                          c.a.createElement(Y.a, {
                                                              beforeInjection: function (e) {
                                                                  e.setAttribute("style", "width: 50px"), e.setAttribute("fill", "currentColor"), e.setAttribute("height", "15pt");
                                                              },
                                                              src: "/assets/images/support.svg",
                                                              useRequestCache: !0,
                                                          })
                                                      ),
                                                      c.a.createElement(
                                                          "div",
                                                          null,
                                                          c.a.createElement("p", { className: "mb-1 font-w600" }, localStorage.getItem("morePage_contactAdminTitle")),
                                                          c.a.createElement("span", { className: "text-muted font-w400" }, localStorage.getItem("morePage_contactAdminSubtitle"))
                                                      ),
                                                      c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                  )
                                              ),
                                              c.a.createElement(
                                                  J.a,
                                                  { className: "moreMenuBlock moreMenuRatings", to: "/ratings", delay: 100 },
                                                  c.a.createElement(
                                                      "div",
                                                      { className: "d-flex singleMoreMenuItem position-relative" },
                                                      c.a.createElement(
                                                          "div",
                                                          { style: { color: localStorage.getItem("storeAppPrimaryColor") } },
                                                          c.a.createElement(Y.a, {
                                                              beforeInjection: function (e) {
                                                                  e.setAttribute("style", "width: 50px"), e.setAttribute("fill", "currentColor"), e.setAttribute("height", "12pt");
                                                              },
                                                              src: "/assets/images/star.svg",
                                                              useRequestCache: !0,
                                                          })
                                                      ),
                                                      c.a.createElement(
                                                          "div",
                                                          null,
                                                          c.a.createElement("p", { className: "mb-1 font-w600" }, localStorage.getItem("morePage_ratingsTitle")),
                                                          c.a.createElement("span", { className: "text-muted font-w400" }, localStorage.getItem("morePage_ratingsSubTitle"))
                                                      ),
                                                      c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                  )
                                              ),
                                              c.a.createElement(
                                                  J.a,
                                                  { className: "moreMenuBlock moreMenuEarnings", to: "/earnings", delay: 100 },
                                                  c.a.createElement(
                                                      "div",
                                                      { className: "d-flex singleMoreMenuItem position-relative" },
                                                      c.a.createElement(
                                                          "div",
                                                          { style: { color: localStorage.getItem("storeAppPrimaryColor") } },
                                                          c.a.createElement(Y.a, {
                                                              beforeInjection: function (e) {
                                                                  e.setAttribute("style", "width: 50px"), e.setAttribute("fill", "currentColor"), e.setAttribute("height", "10pt");
                                                              },
                                                              src: "/assets/images/money.svg",
                                                              useRequestCache: !0,
                                                          })
                                                      ),
                                                      c.a.createElement(
                                                          "div",
                                                          null,
                                                          c.a.createElement("p", { className: "mb-1 font-w600" }, localStorage.getItem("morePage_earningsTitle")),
                                                          c.a.createElement("span", { className: "text-muted font-w400" }, localStorage.getItem("morePage_earningsSubTitle"))
                                                      ),
                                                      c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                  )
                                              ),
                                              c.a.createElement(
                                                  J.a,
                                                  { className: "moreMenuBlock moreMenuSettings", to: "/settings", delay: 100 },
                                                  c.a.createElement(
                                                      "div",
                                                      { className: "d-flex singleMoreMenuItem position-relative" },
                                                      c.a.createElement(
                                                          "div",
                                                          { style: { color: localStorage.getItem("storeAppPrimaryColor") } },
                                                          c.a.createElement(Y.a, {
                                                              beforeInjection: function (e) {
                                                                  e.setAttribute("style", "width: 50px"), e.setAttribute("fill", "currentColor"), e.setAttribute("height", "15pt");
                                                              },
                                                              src: "/assets/images/setting.svg",
                                                              useRequestCache: !0,
                                                          })
                                                      ),
                                                      c.a.createElement(
                                                          "div",
                                                          null,
                                                          c.a.createElement("p", { className: "mb-1 font-w600" }, localStorage.getItem("morePage_settingsTitle")),
                                                          c.a.createElement("span", { className: "text-muted font-w400" }, localStorage.getItem("morePage_settingsSubTitle"))
                                                      ),
                                                      c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                  )
                                              ),
                                              e.data.stores.length > 1 &&
                                                  c.a.createElement(
                                                      J.a,
                                                      { className: "moreMenuBlock moreMenuSwitchStore", to: "/store-selection", delay: 100 },
                                                      c.a.createElement(
                                                          "div",
                                                          { className: "d-flex singleMoreMenuItem position-relative" },
                                                          c.a.createElement(
                                                              "div",
                                                              { style: { color: localStorage.getItem("storeAppPrimaryColor") } },
                                                              c.a.createElement(Y.a, {
                                                                  beforeInjection: function (e) {
                                                                      e.setAttribute("style", "width: 50px"), e.setAttribute("fill", "currentColor"), e.setAttribute("height", "13pt");
                                                                  },
                                                                  src: "/assets/images/switcharrow.svg",
                                                                  useRequestCache: !0,
                                                              })
                                                          ),
                                                          c.a.createElement(
                                                              "div",
                                                              null,
                                                              c.a.createElement("p", { className: "mb-1 font-w600" }, localStorage.getItem("morePage_switchStoreTitle")),
                                                              c.a.createElement("span", { className: "text-muted font-w400" }, localStorage.getItem("morePage_swtichStoreSubTitle"))
                                                          ),
                                                          c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                      )
                                                  ),
                                              c.a.createElement(
                                                  "div",
                                                  { className: "logoutButtonBlock" },
                                                  c.a.createElement("button", { className: "btn btn-md logoutBtn position-relative", onClick: this.openLogoutDialog }, "Logout", c.a.createElement(z.a, { duration: "500", hasTouch: "true" })),
                                                  c.a.createElement(
                                                      Z.a,
                                                      {
                                                          fullWidth: !0,
                                                          fullScreen: !1,
                                                          open: this.state.logoutConfirmationDialog,
                                                          onClose: this.closeLogoutDialog,
                                                          style: { width: "100%", margin: "auto" },
                                                          PaperProps: { style: { backgroundColor: "#fff", borderRadius: "4px" } },
                                                      },
                                                      c.a.createElement(
                                                          "div",
                                                          { className: "container", style: { borderRadius: "5px" } },
                                                          c.a.createElement(
                                                              c.a.Fragment,
                                                              null,
                                                              c.a.createElement(
                                                                  "div",
                                                                  { className: "col-12 py-3" },
                                                                  c.a.createElement("h1", { className: "mt-2 mb-2 font-weight-black h4 text-center" }, localStorage.getItem("generalText_confirmation")),
                                                                  c.a.createElement("hr", null),
                                                                  c.a.createElement("p", { className: "mb-1 text-center" }, localStorage.getItem("moreLogoutDialog"))
                                                              ),
                                                              c.a.createElement(
                                                                  "div",
                                                                  { className: "d-flex justify-content-around align-items-center mb-20 mt-10" },
                                                                  c.a.createElement("button", { className: "btn btn-md btn-default cancelOrderDialogBtn", onClick: this.closeLogoutDialog }, localStorage.getItem("generalText_cancel")),
                                                                  c.a.createElement("button", { className: "btn btn-md btn-danger cancelOrderDialogBtn", onClick: this.__confirmLogout }, localStorage.getItem("moreLogout"))
                                                              )
                                                          )
                                                      )
                                                  )
                                              ),
                                              c.a.createElement(
                                                  "div",
                                                  { className: "morePageLogoBlock d-flex justify-content-center align-items-center" },
                                                  c.a.createElement("img", { src: Q.a + "/assets/img/logos/logo.png", alt: localStorage.getItem("storeName") })
                                              )
                                          )
                                        : c.a.createElement(ee.a, { to: "/login" });
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                ne = Object($.b)(
                    function (e) {
                        return { user: e.user.user };
                    },
                    { logoutUser: K.b }
                )(te),
                ae = n(6),
                re = n(133),
                oe = n(219),
                ie = n(139),
                le = n(140),
                se = n(237),
                ce = n(45),
                ue = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { singleCategorySwitchState: !1 }),
                            (n.__toggleSingleCategorySwitch = function (e, t) {
                                n.setState({ singleCategorySwitchState: !n.state.singleCategorySwitchState }),
                                    n.props.toggleCategoryStatus(n.props.user.data.auth_token, t, localStorage.getItem("selected_store_id")).then(function (t) {
                                        t &&
                                            t.success &&
                                            (1 === t.status
                                                ? (n.props.enqueueSnackbar(e + " enabled.", { variant: "success" }), n.setState({ singleCategorySwitchState: !0 }))
                                                : (n.props.enqueueSnackbar(e + " disabled.", { variant: "warning" }), n.setState({ singleCategorySwitchState: !1 })));
                                    });
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    1 === this.props.category.is_enabled && this.setState({ singleCategorySwitchState: !0 });
                                },
                            },
                            {
                                key: "shouldComponentUpdate",
                                value: function (e, t) {
                                    return this.props.category !== e.category || this.state.singleCategorySwitchState !== t.singleCategorySwitchState;
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this,
                                        t = this.props.category;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement(
                                            "div",
                                            { className: "d-flex justify-content-between align-items-center" },
                                            c.a.createElement("div", { className: "menuCategoryName" }, t.name),
                                            t.canEdit
                                                ? c.a.createElement(
                                                      "div",
                                                      null,
                                                      c.a.createElement(se.a, {
                                                          checked: this.state.singleCategorySwitchState,
                                                          onChange: function () {
                                                              return e.__toggleSingleCategorySwitch(t.name, t.id);
                                                          },
                                                          color: "primary",
                                                      })
                                                  )
                                                : null
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                de = Object($.b)(
                    function (e) {
                        return { user: e.user.user, menu: e.menu.menu };
                    },
                    { toggleCategoryStatus: re.c }
                )(Object(ce.b)(ue)),
                me = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { loading: !0, itemEditDrawer: !1, item_edit_id: null }),
                            (n.openItemEditDrawer = function (e) {
                                n.setState({ itemEditDrawer: !0, item_edit_id: e });
                            }),
                            (n.closeItemEditDrawer = function (e) {
                                if ((n.setState({ itemEditDrawer: !1, item_edit_id: null }), e)) {
                                    var t = n.props.user;
                                    n.setState({ loading: !0 }),
                                        n.props.getMenu(t.data.auth_token, localStorage.getItem("selected_store_id")).then(function (e) {
                                            e && e.payload && n.setState({ loading: !1 });
                                        });
                                }
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    var e = this,
                                        t = this.props.user;
                                    this.props.getMenu(t.data.auth_token, localStorage.getItem("selected_store_id")).then(function (t) {
                                        t && t.payload && e.setState({ loading: !1 });
                                    });
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this,
                                        t = this.props.menu;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        this.state.loading && c.a.createElement(ae.a, null),
                                        c.a.createElement("div", { className: "pageTitle bg-primary-gradient" }, localStorage.getItem("itemsPage_title")),
                                        c.a.createElement(
                                            "div",
                                            { className: "pageContents" },
                                            c.a.createElement(
                                                oe.a,
                                                { to: "search-items" },
                                                c.a.createElement(
                                                    "div",
                                                    { className: "mock-search-block mx-15 mb-15 mock-search-block--sticky" },
                                                    c.a.createElement(
                                                        "div",
                                                        { className: "px-15 d-flex justify-content-between searchMockInput" },
                                                        c.a.createElement("div", null, c.a.createElement("span", null, localStorage.getItem("itemsPage_searchItem1"))),
                                                        c.a.createElement("div", null, c.a.createElement("i", { className: "si si-magnifier" }))
                                                    )
                                                )
                                            ),
                                            t.length > 0 &&
                                                c.a.createElement(
                                                    "div",
                                                    { className: "mt-15 mb-100" },
                                                    t.map(function (t) {
                                                        return c.a.createElement(
                                                            "div",
                                                            { key: t.id },
                                                            c.a.createElement(
                                                                "div",
                                                                { className: "mx-15 mb-15 menuCategoryWrapper p-3" },
                                                                c.a.createElement(de, { category: t }),
                                                                c.a.createElement("hr", null),
                                                                t.items.map(function (t) {
                                                                    return c.a.createElement(c.a.Fragment, { key: t.id }, c.a.createElement(ie.a, { item: t, openItemEditDrawer: e.openItemEditDrawer }));
                                                                })
                                                            )
                                                        );
                                                    })
                                                )
                                        ),
                                        c.a.createElement(le.a, { itemEditDrawer: this.state.itemEditDrawer, item_id: this.state.item_edit_id, closeItemEditDrawer: this.closeItemEditDrawer })
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                pe = Object($.b)(
                    function (e) {
                        return { user: e.user.user, menu: e.menu.menu };
                    },
                    { getMenu: re.b }
                )(me),
                fe = n(1),
                he = n(4),
                ge = n(20),
                ve = (n(40), n(70)),
                be = n(167);
            function ye() {
                if (q) return q;
                var e = document.createElement("div"),
                    t = document.createElement("div");
                return (
                    (t.style.width = "10px"),
                    (t.style.height = "1px"),
                    e.appendChild(t),
                    (e.dir = "rtl"),
                    (e.style.fontSize = "14px"),
                    (e.style.width = "4px"),
                    (e.style.height = "1px"),
                    (e.style.position = "absolute"),
                    (e.style.top = "-1000px"),
                    (e.style.overflow = "scroll"),
                    document.body.appendChild(e),
                    (q = "reverse"),
                    e.scrollLeft > 0 ? (q = "default") : ((e.scrollLeft = 1), 0 === e.scrollLeft && (q = "negative")),
                    document.body.removeChild(e),
                    q
                );
            }
            function we(e, t) {
                var n = e.scrollLeft;
                if ("rtl" !== t) return n;
                switch (ye()) {
                    case "negative":
                        return e.scrollWidth - e.clientWidth + n;
                    case "reverse":
                        return e.scrollWidth - e.clientWidth - n;
                    default:
                        return n;
                }
            }
            function Ee(e) {
                return (1 + Math.sin(Math.PI * e - Math.PI / 2)) / 2;
            }
            var Se = { width: 99, height: 99, position: "absolute", top: -9999, overflow: "scroll" };
            function xe(e) {
                var t = e.onChange,
                    n = Object(he.a)(e, ["onChange"]),
                    a = s.useRef(),
                    r = s.useRef(null),
                    o = function () {
                        a.current = r.current.offsetHeight - r.current.clientHeight;
                    };
                return (
                    s.useEffect(
                        function () {
                            var e = Object(ve.a)(function () {
                                var e = a.current;
                                o(), e !== a.current && t(a.current);
                            });
                            return (
                                window.addEventListener("resize", e),
                                function () {
                                    e.clear(), window.removeEventListener("resize", e);
                                }
                            );
                        },
                        [t]
                    ),
                    s.useEffect(
                        function () {
                            o(), t(a.current);
                        },
                        [t]
                    ),
                    s.createElement("div", Object(fe.a)({ style: Se, ref: r }, n))
                );
            }
            var _e = n(27),
                Oe = n(55),
                Ce = s.forwardRef(function (e, t) {
                    var n = e.classes,
                        a = e.className,
                        r = e.color,
                        o = e.orientation,
                        i = Object(he.a)(e, ["classes", "className", "color", "orientation"]);
                    return s.createElement("span", Object(fe.a)({ className: Object(v.a)(n.root, n["color".concat(Object(Oe.a)(r))], a, "vertical" === o && n.vertical), ref: t }, i));
                }),
                je = Object(_e.a)(
                    function (e) {
                        return {
                            root: { position: "absolute", height: 2, bottom: 0, width: "100%", transition: e.transitions.create() },
                            colorPrimary: { backgroundColor: e.palette.primary.main },
                            colorSecondary: { backgroundColor: e.palette.secondary.main },
                            vertical: { height: "100%", width: 2, right: 0 },
                        };
                    },
                    { name: "PrivateTabIndicator" }
                )(Ce),
                Ie = n(216);
            function Ne(e, t) {
                var n = function (t, n) {
                    return c.a.createElement(Ie.a, Object(fe.a)({ ref: n }, t), e);
                };
                return (n.muiName = Ie.a.muiName), c.a.memo(c.a.forwardRef(n));
            }
            var ke = Ne(s.createElement("path", { d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z" })),
                Te = Ne(s.createElement("path", { d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z" })),
                Me = n(238),
                De = s.createElement(ke, { fontSize: "small" }),
                Pe = s.createElement(Te, { fontSize: "small" }),
                Ae = s.forwardRef(function (e, t) {
                    var n = e.classes,
                        a = e.className,
                        r = e.direction,
                        o = e.orientation,
                        i = e.disabled,
                        l = Object(he.a)(e, ["classes", "className", "direction", "orientation", "disabled"]);
                    return s.createElement(Me.a, Object(fe.a)({ component: "div", className: Object(v.a)(n.root, a, i && n.disabled, "vertical" === o && n.vertical), ref: t, role: null, tabIndex: null }, l), "left" === r ? De : Pe);
                }),
                Le = Object(_e.a)(
                    { root: { width: 40, flexShrink: 0, opacity: 0.8, "&$disabled": { opacity: 0 } }, vertical: { width: "100%", height: 40, "& svg": { transform: "rotate(90deg)" } }, disabled: {} },
                    { name: "MuiTabScrollButton" }
                )(Ae),
                We = n(60),
                Re = n(50),
                Fe = s.forwardRef(function (e, t) {
                    var n = e["aria-label"],
                        a = e["aria-labelledby"],
                        r = e.action,
                        o = e.centered,
                        i = void 0 !== o && o,
                        l = e.children,
                        c = e.classes,
                        u = e.className,
                        d = e.component,
                        m = void 0 === d ? "div" : d,
                        p = e.indicatorColor,
                        f = void 0 === p ? "secondary" : p,
                        h = e.onChange,
                        g = e.orientation,
                        b = void 0 === g ? "horizontal" : g,
                        y = e.ScrollButtonComponent,
                        w = void 0 === y ? Le : y,
                        E = e.scrollButtons,
                        S = void 0 === E ? "auto" : E,
                        x = e.selectionFollowsFocus,
                        _ = e.TabIndicatorProps,
                        O = void 0 === _ ? {} : _,
                        C = e.TabScrollButtonProps,
                        j = e.textColor,
                        I = void 0 === j ? "inherit" : j,
                        N = e.value,
                        k = e.variant,
                        T = void 0 === k ? "standard" : k,
                        M = Object(he.a)(e, [
                            "aria-label",
                            "aria-labelledby",
                            "action",
                            "centered",
                            "children",
                            "classes",
                            "className",
                            "component",
                            "indicatorColor",
                            "onChange",
                            "orientation",
                            "ScrollButtonComponent",
                            "scrollButtons",
                            "selectionFollowsFocus",
                            "TabIndicatorProps",
                            "TabScrollButtonProps",
                            "textColor",
                            "value",
                            "variant",
                        ]),
                        D = Object(Re.a)(),
                        P = "scrollable" === T,
                        A = "rtl" === D.direction,
                        L = "vertical" === b,
                        W = L ? "scrollTop" : "scrollLeft",
                        R = L ? "top" : "left",
                        F = L ? "bottom" : "right",
                        V = L ? "clientHeight" : "clientWidth",
                        B = L ? "height" : "width";
                    var H = s.useState(!1),
                        X = H[0],
                        U = H[1],
                        q = s.useState({}),
                        G = q[0],
                        z = q[1],
                        $ = s.useState({ start: !1, end: !1 }),
                        Y = $[0],
                        K = $[1],
                        Z = s.useState({ overflow: "hidden", marginBottom: null }),
                        J = Z[0],
                        Q = Z[1],
                        ee = new Map(),
                        te = s.useRef(null),
                        ne = s.useRef(null),
                        ae = function () {
                            var e,
                                t,
                                n = te.current;
                            if (n) {
                                var a = n.getBoundingClientRect();
                                e = {
                                    clientWidth: n.clientWidth,
                                    scrollLeft: n.scrollLeft,
                                    scrollTop: n.scrollTop,
                                    scrollLeftNormalized: we(n, D.direction),
                                    scrollWidth: n.scrollWidth,
                                    top: a.top,
                                    bottom: a.bottom,
                                    left: a.left,
                                    right: a.right,
                                };
                            }
                            if (n && !1 !== N) {
                                var r = ne.current.children;
                                if (r.length > 0) {
                                    var o = r[ee.get(N)];
                                    0, (t = o ? o.getBoundingClientRect() : null);
                                }
                            }
                            return { tabsMeta: e, tabMeta: t };
                        },
                        re = Object(We.a)(function () {
                            var e,
                                t = ae(),
                                n = t.tabsMeta,
                                a = t.tabMeta,
                                r = 0;
                            if (a && n)
                                if (L) r = a.top - n.top + n.scrollTop;
                                else {
                                    var o = A ? n.scrollLeftNormalized + n.clientWidth - n.scrollWidth : n.scrollLeft;
                                    r = a.left - n.left + o;
                                }
                            var i = ((e = {}), Object(ge.a)(e, R, r), Object(ge.a)(e, B, a ? a[B] : 0), e);
                            if (isNaN(G[R]) || isNaN(G[B])) z(i);
                            else {
                                var l = Math.abs(G[R] - i[R]),
                                    s = Math.abs(G[B] - i[B]);
                                (l >= 1 || s >= 1) && z(i);
                            }
                        }),
                        oe = function (e) {
                            !(function (e, t, n) {
                                var a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {},
                                    r = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : function () {},
                                    o = a.ease,
                                    i = void 0 === o ? Ee : o,
                                    l = a.duration,
                                    s = void 0 === l ? 300 : l,
                                    c = null,
                                    u = t[e],
                                    d = !1,
                                    m = function () {
                                        d = !0;
                                    };
                                u === n
                                    ? r(new Error("Element already at target position"))
                                    : requestAnimationFrame(function a(o) {
                                          if (d) r(new Error("Animation cancelled"));
                                          else {
                                              null === c && (c = o);
                                              var l = Math.min(1, (o - c) / s);
                                              (t[e] = i(l) * (n - u) + u),
                                                  l >= 1
                                                      ? requestAnimationFrame(function () {
                                                            r(null);
                                                        })
                                                      : requestAnimationFrame(a);
                                          }
                                      });
                            })(W, te.current, e);
                        },
                        ie = function (e) {
                            var t = te.current[W];
                            L ? (t += e) : ((t += e * (A ? -1 : 1)), (t *= A && "reverse" === ye() ? -1 : 1)), oe(t);
                        },
                        le = function () {
                            ie(-te.current[V]);
                        },
                        se = function () {
                            ie(te.current[V]);
                        },
                        ce = s.useCallback(function (e) {
                            Q({ overflow: null, marginBottom: -e });
                        }, []),
                        ue = Object(We.a)(function () {
                            var e = ae(),
                                t = e.tabsMeta,
                                n = e.tabMeta;
                            if (n && t)
                                if (n[R] < t[R]) {
                                    var a = t[W] + (n[R] - t[R]);
                                    oe(a);
                                } else if (n[F] > t[F]) {
                                    var r = t[W] + (n[F] - t[F]);
                                    oe(r);
                                }
                        }),
                        de = Object(We.a)(function () {
                            if (P && "off" !== S) {
                                var e,
                                    t,
                                    n = te.current,
                                    a = n.scrollTop,
                                    r = n.scrollHeight,
                                    o = n.clientHeight,
                                    i = n.scrollWidth,
                                    l = n.clientWidth;
                                if (L) (e = a > 1), (t = a < r - o - 1);
                                else {
                                    var s = we(te.current, D.direction);
                                    (e = A ? s < i - l - 1 : s > 1), (t = A ? s > 1 : s < i - l - 1);
                                }
                                (e === Y.start && t === Y.end) || K({ start: e, end: t });
                            }
                        });
                    s.useEffect(
                        function () {
                            var e = Object(ve.a)(function () {
                                    re(), de();
                                }),
                                t = Object(be.a)(te.current);
                            return (
                                t.addEventListener("resize", e),
                                function () {
                                    e.clear(), t.removeEventListener("resize", e);
                                }
                            );
                        },
                        [re, de]
                    );
                    var me = s.useCallback(
                        Object(ve.a)(function () {
                            de();
                        })
                    );
                    s.useEffect(
                        function () {
                            return function () {
                                me.clear();
                            };
                        },
                        [me]
                    ),
                        s.useEffect(function () {
                            U(!0);
                        }, []),
                        s.useEffect(function () {
                            re(), de();
                        }),
                        s.useEffect(
                            function () {
                                ue();
                            },
                            [ue, G]
                        ),
                        s.useImperativeHandle(
                            r,
                            function () {
                                return { updateIndicator: re, updateScrollButtons: de };
                            },
                            [re, de]
                        );
                    var pe = s.createElement(je, Object(fe.a)({ className: c.indicator, orientation: b, color: f }, O, { style: Object(fe.a)({}, G, O.style) })),
                        Se = 0,
                        _e = s.Children.map(l, function (e) {
                            if (!s.isValidElement(e)) return null;
                            var t = void 0 === e.props.value ? Se : e.props.value;
                            ee.set(t, Se);
                            var n = t === N;
                            return (Se += 1), s.cloneElement(e, { fullWidth: "fullWidth" === T, indicator: n && !X && pe, selected: n, selectionFollowsFocus: x, onChange: h, textColor: I, value: t });
                        }),
                        Oe = (function () {
                            var e = {};
                            e.scrollbarSizeListener = P ? s.createElement(xe, { className: c.scrollable, onChange: ce }) : null;
                            var t = Y.start || Y.end,
                                n = P && (("auto" === S && t) || "desktop" === S || "on" === S);
                            return (
                                (e.scrollButtonStart = n
                                    ? s.createElement(w, Object(fe.a)({ orientation: b, direction: A ? "right" : "left", onClick: le, disabled: !Y.start, className: Object(v.a)(c.scrollButtons, "on" !== S && c.scrollButtonsDesktop) }, C))
                                    : null),
                                (e.scrollButtonEnd = n
                                    ? s.createElement(w, Object(fe.a)({ orientation: b, direction: A ? "left" : "right", onClick: se, disabled: !Y.end, className: Object(v.a)(c.scrollButtons, "on" !== S && c.scrollButtonsDesktop) }, C))
                                    : null),
                                e
                            );
                        })();
                    return s.createElement(
                        m,
                        Object(fe.a)({ className: Object(v.a)(c.root, u, L && c.vertical), ref: t }, M),
                        Oe.scrollButtonStart,
                        Oe.scrollbarSizeListener,
                        s.createElement(
                            "div",
                            { className: Object(v.a)(c.scroller, P ? c.scrollable : c.fixed), style: J, ref: te, onScroll: me },
                            s.createElement(
                                "div",
                                {
                                    "aria-label": n,
                                    "aria-labelledby": a,
                                    className: Object(v.a)(c.flexContainer, L && c.flexContainerVertical, i && !P && c.centered),
                                    onKeyDown: function (e) {
                                        var t = e.target;
                                        if ("tab" === t.getAttribute("role")) {
                                            var n = null,
                                                a = "vertical" !== b ? "ArrowLeft" : "ArrowUp",
                                                r = "vertical" !== b ? "ArrowRight" : "ArrowDown";
                                            switch (("vertical" !== b && "rtl" === D.direction && ((a = "ArrowRight"), (r = "ArrowLeft")), e.key)) {
                                                case a:
                                                    n = t.previousElementSibling || ne.current.lastChild;
                                                    break;
                                                case r:
                                                    n = t.nextElementSibling || ne.current.firstChild;
                                                    break;
                                                case "Home":
                                                    n = ne.current.firstChild;
                                                    break;
                                                case "End":
                                                    n = ne.current.lastChild;
                                            }
                                            null !== n && (n.focus(), e.preventDefault());
                                        }
                                    },
                                    ref: ne,
                                    role: "tablist",
                                },
                                _e
                            ),
                            X && pe
                        ),
                        Oe.scrollButtonEnd
                    );
                }),
                Ve = Object(_e.a)(
                    function (e) {
                        return {
                            root: { overflow: "hidden", minHeight: 48, WebkitOverflowScrolling: "touch", display: "flex" },
                            vertical: { flexDirection: "column" },
                            flexContainer: { display: "flex" },
                            flexContainerVertical: { flexDirection: "column" },
                            centered: { justifyContent: "center" },
                            scroller: { position: "relative", display: "inline-block", flex: "1 1 auto", whiteSpace: "nowrap" },
                            fixed: { overflowX: "hidden", width: "100%" },
                            scrollable: { overflowX: "scroll", scrollbarWidth: "none", "&::-webkit-scrollbar": { display: "none" } },
                            scrollButtons: {},
                            scrollButtonsDesktop: Object(ge.a)({}, e.breakpoints.down("xs"), { display: "none" }),
                            indicator: {},
                        };
                    },
                    { name: "MuiTabs" }
                )(Fe),
                Be = s.forwardRef(function (e, t) {
                    var n = e.classes,
                        a = e.className,
                        r = e.disabled,
                        o = void 0 !== r && r,
                        i = e.disableFocusRipple,
                        l = void 0 !== i && i,
                        c = e.fullWidth,
                        u = e.icon,
                        d = e.indicator,
                        m = e.label,
                        p = e.onChange,
                        f = e.onClick,
                        h = e.onFocus,
                        g = e.selected,
                        b = e.selectionFollowsFocus,
                        y = e.textColor,
                        w = void 0 === y ? "inherit" : y,
                        E = e.value,
                        S = e.wrapped,
                        x = void 0 !== S && S,
                        _ = Object(he.a)(e, [
                            "classes",
                            "className",
                            "disabled",
                            "disableFocusRipple",
                            "fullWidth",
                            "icon",
                            "indicator",
                            "label",
                            "onChange",
                            "onClick",
                            "onFocus",
                            "selected",
                            "selectionFollowsFocus",
                            "textColor",
                            "value",
                            "wrapped",
                        ]);
                    return s.createElement(
                        Me.a,
                        Object(fe.a)(
                            {
                                focusRipple: !l,
                                className: Object(v.a)(n.root, n["textColor".concat(Object(Oe.a)(w))], a, o && n.disabled, g && n.selected, m && u && n.labelIcon, c && n.fullWidth, x && n.wrapped),
                                ref: t,
                                role: "tab",
                                "aria-selected": g,
                                disabled: o,
                                onClick: function (e) {
                                    p && p(e, E), f && f(e);
                                },
                                onFocus: function (e) {
                                    b && !g && p && p(e, E), h && h(e);
                                },
                                tabIndex: g ? 0 : -1,
                            },
                            _
                        ),
                        s.createElement("span", { className: n.wrapper }, u, m),
                        d
                    );
                }),
                He = Object(_e.a)(
                    function (e) {
                        var t;
                        return {
                            root: Object(fe.a)(
                                {},
                                e.typography.button,
                                ((t = { maxWidth: 264, minWidth: 72, position: "relative", boxSizing: "border-box", minHeight: 48, flexShrink: 0, padding: "6px 12px" }),
                                Object(ge.a)(t, e.breakpoints.up("sm"), { padding: "6px 24px" }),
                                Object(ge.a)(t, "overflow", "hidden"),
                                Object(ge.a)(t, "whiteSpace", "normal"),
                                Object(ge.a)(t, "textAlign", "center"),
                                Object(ge.a)(t, e.breakpoints.up("sm"), { minWidth: 160 }),
                                t)
                            ),
                            labelIcon: { minHeight: 72, paddingTop: 9, "& $wrapper > *:first-child": { marginBottom: 6 } },
                            textColorInherit: { color: "inherit", opacity: 0.7, "&$selected": { opacity: 1 }, "&$disabled": { opacity: 0.5 } },
                            textColorPrimary: { color: e.palette.text.secondary, "&$selected": { color: e.palette.primary.main }, "&$disabled": { color: e.palette.text.disabled } },
                            textColorSecondary: { color: e.palette.text.secondary, "&$selected": { color: e.palette.secondary.main }, "&$disabled": { color: e.palette.text.disabled } },
                            selected: {},
                            disabled: {},
                            fullWidth: { flexShrink: 1, flexGrow: 1, flexBasis: 0, maxWidth: "none" },
                            wrapped: { fontSize: e.typography.pxToRem(12), lineHeight: 1.5 },
                            wrapper: { display: "inline-flex", alignItems: "center", justifyContent: "center", width: "100%", flexDirection: "column" },
                        };
                    },
                    { name: "MuiTab" }
                )(Be),
                Xe = (function (e) {
                    function t() {
                        return Object(a.a)(this, t), Object(o.a)(this, Object(i.a)(t).apply(this, arguments));
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "render",
                                value: function () {
                                    var e = this.props,
                                        t = e.title,
                                        n = e.count;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement(
                                            "div",
                                            { className: "d-flex justify-content-center align-items-center" },
                                            c.a.createElement("div", null, t),
                                            n > 0 && c.a.createElement("div", { className: "orderCountBadgeCount" }, n)
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                Ue = n(145),
                qe = n(168),
                Ge = n.n(qe),
                ze = n(143),
                $e = (function (e) {
                    function t() {
                        return Object(a.a)(this, t), Object(o.a)(this, Object(i.a)(t).apply(this, arguments));
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "render",
                                value: function () {
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement(
                                            "div",
                                            { className: "text-center mt-20 emptyOrder" },
                                            c.a.createElement("img", { src: "/assets/images/empty-order.png", alt: "empty order" }),
                                            c.a.createElement("p", { className: "mt-10" }, "No orders to show")
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                Ye = (function (e) {
                    function t() {
                        return Object(a.a)(this, t), Object(o.a)(this, Object(i.a)(t).apply(this, arguments));
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "render",
                                value: function () {
                                    var e = this.props,
                                        t = e.value,
                                        n = e.orders;
                                    return c.a.createElement(
                                        Ge.a,
                                        { index: t, onChangeIndex: this.props.handleChangeIndex },
                                        c.a.createElement(
                                            "div",
                                            { value: t, role: "tabpanel", hidden: 0 !== t, id: "full-width-tabpanel-0", "aria-labelledby": "full-width-tab-0" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                n.new_orders
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "liveOrderList" },
                                                          0 === n.new_orders.length && c.a.createElement($e, null),
                                                          n.new_orders.map(function (e) {
                                                              return c.a.createElement(ze.a, { order: e, key: e.id });
                                                          })
                                                      )
                                                    : c.a.createElement(Ue.a, null)
                                            )
                                        ),
                                        c.a.createElement(
                                            "div",
                                            { value: t, role: "tabpanel", hidden: 1 !== t, id: "full-width-tabpanel-1", "aria-labelledby": "full-width-tab-1" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                n.preparing_orders
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "liveOrderList" },
                                                          0 === n.preparing_orders.length && c.a.createElement($e, null),
                                                          n.preparing_orders.map(function (e) {
                                                              return c.a.createElement(ze.a, { order: e, key: e.id });
                                                          })
                                                      )
                                                    : c.a.createElement(Ue.a, null)
                                            )
                                        ),
                                        c.a.createElement(
                                            "div",
                                            { value: t, role: "tabpanel", hidden: 2 !== t, id: "full-width-tabpanel-2", "aria-labelledby": "full-width-tab-2" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                n.selfpickup_orders
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "liveOrderList" },
                                                          0 === n.selfpickup_orders.length && c.a.createElement($e, null),
                                                          n.selfpickup_orders.map(function (e) {
                                                              return c.a.createElement(ze.a, { order: e, key: e.id });
                                                          })
                                                      )
                                                    : c.a.createElement(Ue.a, null)
                                            )
                                        ),
                                        c.a.createElement(
                                            "div",
                                            { value: t, role: "tabpanel", hidden: 3 !== t, id: "full-width-tabpanel-2", "aria-labelledby": "full-width-tab-2" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                n.ongoing_orders
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "liveOrderList" },
                                                          0 === n.ongoing_orders.length && c.a.createElement($e, null),
                                                          n.ongoing_orders.map(function (e) {
                                                              return c.a.createElement(ze.a, { order: e, key: e.id });
                                                          })
                                                      )
                                                    : c.a.createElement(Ue.a, null)
                                            )
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                Ke = (function (e) {
                    function t() {
                        return Object(a.a)(this, t), Object(o.a)(this, Object(i.a)(t).apply(this, arguments));
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "render",
                                value: function () {
                                    var e = this.props,
                                        t = e.value,
                                        n = e.orders;
                                    return c.a.createElement(
                                        Ge.a,
                                        { index: t, onChangeIndex: this.props.handleChangeIndex },
                                        c.a.createElement(
                                            "div",
                                            { value: t, role: "tabpanel", hidden: 0 !== t, id: "full-width-tabpanel-0", "aria-labelledby": "full-width-tab-0" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                n.new_orders
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "liveOrderList" },
                                                          0 === n.new_orders.length && c.a.createElement($e, null),
                                                          n.new_orders.map(function (e) {
                                                              return c.a.createElement(ze.a, { order: e, key: e.id });
                                                          })
                                                      )
                                                    : c.a.createElement(Ue.a, null)
                                            )
                                        ),
                                        c.a.createElement(
                                            "div",
                                            { value: t, role: "tabpanel", hidden: 1 !== t, id: "full-width-tabpanel-1", "aria-labelledby": "full-width-tab-1" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                n.preparing_orders
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "liveOrderList" },
                                                          0 === n.preparing_orders.length && c.a.createElement($e, null),
                                                          n.preparing_orders.map(function (e) {
                                                              return c.a.createElement(ze.a, { order: e, key: e.id });
                                                          })
                                                      )
                                                    : c.a.createElement(Ue.a, null)
                                            )
                                        ),
                                        c.a.createElement(
                                            "div",
                                            { value: t, role: "tabpanel", hidden: 2 !== t, id: "full-width-tabpanel-2", "aria-labelledby": "full-width-tab-2" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                n.ongoing_orders
                                                    ? c.a.createElement(
                                                          "div",
                                                          { className: "liveOrderList" },
                                                          0 === n.ongoing_orders.length && c.a.createElement($e, null),
                                                          n.ongoing_orders.map(function (e) {
                                                              return c.a.createElement(ze.a, { order: e, key: e.id });
                                                          })
                                                      )
                                                    : c.a.createElement(Ue.a, null)
                                            )
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                Ze = Object(_e.a)({ root: { backgroundColor: "transparent", color: "#fff", opacity: "1", height: "4rem", fontSize: "1rem" }, selected: { backgroundColor: "transparent", color: "#fff", height: "4rem", fontSize: "1rem" } })(
                    He
                ),
                Je = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { value: 0 }),
                            (n.handleChange = function (e, t) {
                                n.setState({ value: t }), localStorage.setItem("ordersTabIndex", t);
                            }),
                            (n.handleChangeIndex = function (e) {
                                n.setState({ value: e }), localStorage.setItem("ordersTabIndex", e);
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    null === localStorage.getItem("ordersTabIndex") ? this.setState({ value: 0 }) : this.setState({ value: parseInt(localStorage.getItem("ordersTabIndex")) });
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this.props.orders,
                                        t = this.state.value,
                                        n = this.props,
                                        a = n.new_orders_count,
                                        r = n.preparing_orders_count,
                                        o = n.selfpickup_orders_count,
                                        i = n.ongoing_orders_count;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement(
                                            "div",
                                            { style: { position: "sticky", top: "0", zIndex: "999999" } },
                                            c.a.createElement(
                                                Ve,
                                                { value: t, onChange: this.handleChange, indicatorColor: "secondary", textColor: "inherit", variant: "fullWidth" },
                                                c.a.createElement(Ze, { label: c.a.createElement(Xe, { title: localStorage.getItem("orderListPage_titleNew"), count: a }), id: "full-width-tab-0", "aria-controls": "full-width-tabpanel-0" }),
                                                c.a.createElement(Ze, {
                                                    label: c.a.createElement(Xe, { title: localStorage.getItem("orderListPage_titlePreparing"), count: r }),
                                                    id: "full-width-tab-1",
                                                    "aria-controls": "full-width-tabpanel-1",
                                                }),
                                                "true" === localStorage.getItem("enSPU") &&
                                                    c.a.createElement(Ze, {
                                                        label: c.a.createElement(Xe, { title: localStorage.getItem("orderListPage_titleSelfPickup"), count: o }),
                                                        id: "full-width-tab-2",
                                                        "aria-controls": "full-width-tabpanel-2",
                                                    }),
                                                c.a.createElement(Ze, {
                                                    label: c.a.createElement(Xe, { title: localStorage.getItem("orderListPage_titleOnGoing"), count: i }),
                                                    id: "full-width-tab-3",
                                                    "aria-controls": "full-width-tabpanel-3",
                                                })
                                            )
                                        ),
                                        "true" === localStorage.getItem("enSPU")
                                            ? c.a.createElement(Ye, { value: t, orders: e, handleChangeIndex: this.handleChangeIndex })
                                            : c.a.createElement(Ke, { value: t, orders: e, handleChangeIndex: this.handleChangeIndex })
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component);
            function Qe(e) {
                return (
                    (function (e) {
                        if (Array.isArray(e)) {
                            for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t];
                            return n;
                        }
                    })(e) ||
                    (function (e) {
                        if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e);
                    })(e) ||
                    (function () {
                        throw new TypeError("Invalid attempt to spread non-iterable instance");
                    })()
                );
            }
            var et = n(17),
                tt = n(15),
                nt = n.n(tt),
                at = n(138),
                rt = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { orders: [], next_page: et.l, loading: !1, loading_more: !1 }),
                            (n.__getOrders = function (e) {
                                n.state.loading ||
                                    (n.setState({ loading: !0 }),
                                    n.registerScrollEvent(),
                                    nt.a.post(n.state.next_page, { token: e, store_id: localStorage.getItem("selected_store_id") }).then(function (e) {
                                        var t = e.data,
                                            a = t.data;
                                        a.length ? n.setState({ orders: [].concat(Qe(n.state.orders), Qe(a)), next_page: t.next_page_url, loading: !1, loading_more: !1 }) : n.setState({ orders: [], loading: !1, loading_more: !1 }),
                                            t.next_page_url || n.removeScrollEvent();
                                    }));
                            }),
                            (n.scrollFunc = function () {
                                if (
                                    document.documentElement.scrollTop + 50 + window.innerHeight > document.documentElement.offsetHeight ||
                                    document.documentElement.scrollTop + 50 + window.innerHeight === document.documentElement.offsetHeight
                                ) {
                                    var e = n.props.user;
                                    n.setState({ loading_more: !0 }), n.__getOrders(e.data.auth_token);
                                }
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    var e = this.props.user;
                                    e.success && this.__getOrders(e.data.auth_token);
                                },
                            },
                            {
                                key: "registerScrollEvent",
                                value: function () {
                                    window.addEventListener("scroll", this.scrollFunc, !1);
                                },
                            },
                            {
                                key: "removeScrollEvent",
                                value: function () {
                                    window.removeEventListener("scroll", this.scrollFunc, !1);
                                },
                            },
                            {
                                key: "componentWillUnmount",
                                value: function () {
                                    this.removeScrollEvent();
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this.state.orders;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement("div", { className: "pageTitle bg-primary-gradient" }, localStorage.getItem("pastOrdersPage_Title")),
                                        c.a.createElement(
                                            "div",
                                            { className: "pageContents" },
                                            c.a.createElement(
                                                "div",
                                                { className: "orders-tab-content" },
                                                this.state.loading &&
                                                    c.a.createElement(
                                                        at.a,
                                                        { height: 500, width: window.innerWidth, speed: 1.2, primaryColor: "#f3f3f3", secondaryColor: "#ecebeb" },
                                                        c.a.createElement("rect", { x: "0", y: "15", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                                        c.a.createElement("rect", { x: "0", y: "110", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                                        c.a.createElement("rect", { x: "0", y: "205", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                                        c.a.createElement("rect", { x: "0", y: "300", rx: "0", ry: "0", width: window.innerWidth, height: "80" })
                                                    ),
                                                !this.state.loading && 0 === e.length && c.a.createElement($e, null),
                                                e.length > 0 &&
                                                    c.a.createElement(
                                                        "div",
                                                        { className: "liveOrderList" },
                                                        c.a.createElement(
                                                            oe.a,
                                                            { to: "search-orders" },
                                                            c.a.createElement(
                                                                "div",
                                                                { className: "mock-search-block mb-15 mock-search-block--sticky" },
                                                                c.a.createElement(
                                                                    "div",
                                                                    { className: "px-15 d-flex justify-content-between searchMockInput" },
                                                                    c.a.createElement("div", null, c.a.createElement("span", null, localStorage.getItem("generalText_searchWithOrderId"))),
                                                                    c.a.createElement("div", null, c.a.createElement("i", { className: "si si-magnifier" }))
                                                                )
                                                            )
                                                        ),
                                                        e.map(function (e) {
                                                            return c.a.createElement(ze.a, { order: e, key: e.id, showOrderStatus: !0 });
                                                        })
                                                    ),
                                                this.state.loading_more &&
                                                    c.a.createElement(
                                                        at.a,
                                                        { height: 400, width: window.innerWidth, speed: 1.2, primaryColor: "#f3f3f3", secondaryColor: "#ecebeb" },
                                                        c.a.createElement("rect", { x: "0", y: "15", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                                        c.a.createElement("rect", { x: "0", y: "110", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                                        c.a.createElement("rect", { x: "0", y: "205", rx: "0", ry: "0", width: window.innerWidth, height: "80" }),
                                                        c.a.createElement("rect", { x: "0", y: "300", rx: "0", ry: "0", width: window.innerWidth, height: "80" })
                                                    )
                                            )
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                ot = Object($.b)(function (e) {
                    return { user: e.user.user };
                }, {})(rt),
                it = n(134),
                lt = n.n(it),
                st = n(147),
                ct = n(196),
                ut = n.n(ct),
                dt = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = { singleStoreSwitchState: !1, showToggleConfirmDialog: !1 }),
                            (n.__toggleSingleStoreSwitch = function () {
                                n.props.data.store.is_schedulable ? n.setState({ showToggleConfirmDialog: !0 }) : n.__toggleSingleStoreProcess();
                            }),
                            (n.__toggleSingleStoreProcess = function () {
                                var e = n.props.user;
                                n.setState({ singleStoreSwitchState: !n.state.singleStoreSwitchState }),
                                    n.props.toggleStoreStatus(e.data.auth_token, localStorage.getItem("selected_store_id")).then(function (e) {
                                        e && e.success && (1 === e.status ? n.setState({ singleStoreSwitchState: !0 }) : n.setState({ singleStoreSwitchState: !1 }));
                                    }),
                                    n.closeToggleConfirmDialog();
                            }),
                            (n.closeToggleConfirmDialog = function () {
                                n.setState({ showToggleConfirmDialog: !1 });
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    Object.keys(this.props.data).length > 0 && (1 === this.props.data.store.is_active ? this.setState({ singleStoreSwitchState: !0 }) : this.setState({ singleStoreSwitchState: !1 }));
                                },
                            },
                            {
                                key: "componentWillReceiveProps",
                                value: function (e) {
                                    this.props.data !== e.data && (1 === e.data.store.is_active ? this.setState({ singleStoreSwitchState: !0 }) : this.setState({ singleStoreSwitchState: !1 }));
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this,
                                        t = this.props.data;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement(
                                            "div",
                                            { className: "dashboardTopBlock bg-primary-gradient" },
                                            Object.keys(t).length > 0 &&
                                                c.a.createElement(
                                                    c.a.Fragment,
                                                    null,
                                                    c.a.createElement(
                                                        "div",
                                                        { className: "mx-20" },
                                                        c.a.createElement(
                                                            "span",
                                                            null,
                                                            (function () {
                                                                var e = lt()().format("HH");
                                                                return e >= 3 && e < 12
                                                                    ? localStorage.getItem("dashboard_greetingGoodMorning")
                                                                    : e >= 12 && e < 15
                                                                    ? localStorage.getItem("dashboard_greetingGoodAfternoon")
                                                                    : e >= 15 && e < 20
                                                                    ? localStorage.getItem("dashboard_greetingGoodEvening")
                                                                    : localStorage.getItem("dashboard_greetingHello");
                                                            })()
                                                        ),
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "d-flex justify-content-between align-items-center" },
                                                            c.a.createElement("div", { className: "" }, c.a.createElement("span", { className: "dashboardSingleStoreName" }, t.store.name)),
                                                            c.a.createElement(
                                                                "div",
                                                                { className: "d-flex flex-column align-items-center" },
                                                                c.a.createElement(se.a, { checked: this.state.singleStoreSwitchState, onChange: this.__toggleSingleStoreSwitch })
                                                            ),
                                                            !this.state.singleStoreSwitchState &&
                                                                c.a.createElement(ut.a, { delay: 250 }, c.a.createElement("img", { src: "/assets/images/store-closed.png", alt: "Store is Closed", className: "storeClosedNotifyArrow" }))
                                                        )
                                                    ),
                                                    c.a.createElement(
                                                        Z.a,
                                                        {
                                                            fullWidth: !0,
                                                            fullScreen: !1,
                                                            open: this.state.showToggleConfirmDialog,
                                                            onClose: this.closeToggleConfirmDialog,
                                                            style: { width: "100%", margin: "auto" },
                                                            PaperProps: { style: { backgroundColor: "#fff", borderRadius: "4px" } },
                                                        },
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "container" },
                                                            c.a.createElement(
                                                                "div",
                                                                { className: "col-12 py-3" },
                                                                c.a.createElement("h1", { className: "mt-2 mb-2 font-weight-black h4 text-center" }, localStorage.getItem("generalText_confirmation")),
                                                                c.a.createElement("hr", null),
                                                                c.a.createElement(
                                                                    "p",
                                                                    { className: "mb-1 text-left" },
                                                                    c.a.createElement("b", null, t.store.name),
                                                                    " ",
                                                                    localStorage.getItem("dashboard_storeCloseAutoSchedulingWarning_P1"),
                                                                    c.a.createElement("br", null),
                                                                    localStorage.getItem("dashboard_storeCloseAutoSchedulingWarning_P2")
                                                                )
                                                            ),
                                                            c.a.createElement(
                                                                "div",
                                                                { className: "d-flex justify-content-around align-items-center mb-20 mt-10" },
                                                                c.a.createElement("button", { className: "btn btn-md btn-default requestPayoutDialogBtn", onClick: this.closeToggleConfirmDialog }, localStorage.getItem("generalText_cancel")),
                                                                c.a.createElement(
                                                                    "button",
                                                                    { className: "btn btn-md requestPayoutDialogBtn btnRequestPayoutConfirm", onClick: this.__toggleSingleStoreProcess },
                                                                    localStorage.getItem("generalText_confirm")
                                                                )
                                                            )
                                                        )
                                                    )
                                                )
                                        ),
                                        Object.keys(t).length > 0 &&
                                            c.a.createElement(
                                                c.a.Fragment,
                                                null,
                                                c.a.createElement(
                                                    "div",
                                                    { className: "d-flex justify-content-between align-items-center position-relative mx-20", style: { top: "-40px" } },
                                                    c.a.createElement(
                                                        "div",
                                                        { style: { width: "48%" }, className: "todayOrderDashboardCard" },
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "dashboard-stats-card p-3" },
                                                            c.a.createElement(
                                                                "div",
                                                                null,
                                                                c.a.createElement("strong", null, t.todayOrdersCount),
                                                                c.a.createElement("br", null),
                                                                c.a.createElement("span", { className: "text-muted" }, localStorage.getItem("dashboard_cardOrdersToday"))
                                                            )
                                                        )
                                                    ),
                                                    c.a.createElement(
                                                        "div",
                                                        { style: { width: "48%" }, className: "todayRevenueDashboardCard" },
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "dashboard-stats-card p-3" },
                                                            c.a.createElement(
                                                                "div",
                                                                null,
                                                                c.a.createElement("strong", null, localStorage.getItem("currencyFormat"), t.todayEarning),
                                                                c.a.createElement("br", null),
                                                                c.a.createElement("span", { className: "text-muted" }, localStorage.getItem("dashboard_cardRevenueToday"))
                                                            )
                                                        )
                                                    )
                                                ),
                                                c.a.createElement(
                                                    "div",
                                                    { className: "topSellingItemsBlock mx-20 p-3", style: { marginTop: "-18px" } },
                                                    c.a.createElement(
                                                        "div",
                                                        { className: "d-flex justify-content-between align-items-center" },
                                                        c.a.createElement("div", { className: "topSellingTitle" }, localStorage.getItem("dashboard_cardTopSellingItemsToday")),
                                                        c.a.createElement("img", { src: "/assets/images/medal.png", alt: "top", style: { width: "28px" } })
                                                    ),
                                                    c.a.createElement("hr", null),
                                                    t.topItemsToday.length > 0
                                                        ? t.topItemsToday.map(function (e) {
                                                              return c.a.createElement(
                                                                  "div",
                                                                  { className: "d-flex justify-content-between align-items-center topSellingSingleItem" },
                                                                  c.a.createElement("div", null, e.name, " ", c.a.createElement("br", null), " "),
                                                                  c.a.createElement("div", { className: "topSellingSingleItemCount" }, e.qty)
                                                              );
                                                          })
                                                        : c.a.createElement("span", { className: "text-muted" }, localStorage.getItem("dashboard_cardTopSellingItemsTodayNoOrders"))
                                                ),
                                                this.props.new_orders_count > 0 &&
                                                    c.a.createElement(
                                                        "div",
                                                        {
                                                            className: "position-relative mx-20 mt-20 mb-20",
                                                            onClick: function () {
                                                                return e.props.jumpToPageIndex(2);
                                                            },
                                                        },
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "d-flex justify-content-start p-3 new-order-notify-dashboard" },
                                                            c.a.createElement("div", { className: "ringbell mr-3 text-danger" }, c.a.createElement("i", { className: "si si-bell" })),
                                                            c.a.createElement(
                                                                "div",
                                                                { className: "d-flex justify-content-between w-100" },
                                                                c.a.createElement(
                                                                    "div",
                                                                    null,
                                                                    localStorage.getItem("dashboard_newOrderNotification_P1"),
                                                                    " ",
                                                                    c.a.createElement("strong", null, this.props.new_orders_count),
                                                                    " ",
                                                                    localStorage.getItem("dashboard_newOrderNotification_P2")
                                                                ),
                                                                c.a.createElement("div", null, c.a.createElement("i", { className: "si si-arrow-right" }))
                                                            )
                                                        ),
                                                        c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                    ),
                                                c.a.createElement(
                                                    "div",
                                                    { className: "d-flex justify-content-between align-items-center position-relative mx-20 dashboardTotalCardsBlock" },
                                                    c.a.createElement(
                                                        "div",
                                                        { style: { width: "60%" }, className: "totalRevenueDashboardCard" },
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "dashboard-stats-card p-3" },
                                                            c.a.createElement(
                                                                "div",
                                                                null,
                                                                c.a.createElement("strong", null, localStorage.getItem("currencyFormat"), t.totalEarning),
                                                                c.a.createElement("br", null),
                                                                c.a.createElement("span", { className: "text-muted" }, localStorage.getItem("dashboard_cardTotalRevenue_P1")),
                                                                c.a.createElement(
                                                                    "span",
                                                                    { className: "text-muted" },
                                                                    " ",
                                                                    localStorage.getItem("dashboard_cardTotalRevenue_P2"),
                                                                    " ",
                                                                    c.a.createElement("span", { className: "text-dark font-w600" }, t.ordersCount),
                                                                    " ",
                                                                    localStorage.getItem("dashboard_cardTotalRevenue_P3")
                                                                )
                                                            )
                                                        )
                                                    ),
                                                    c.a.createElement(
                                                        J.a,
                                                        { to: "/inactive-items", delay: 100, className: "position-relative inActiveItemDashboardCard", style: { width: "36%" } },
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "dashboard-stats-card p-3 dashboardInactiveItems" },
                                                            c.a.createElement(
                                                                "div",
                                                                null,
                                                                c.a.createElement("strong", null, t.inactiveItemCount),
                                                                c.a.createElement("br", null),
                                                                c.a.createElement("span", null, localStorage.getItem("dashboard_cardInactiveItems"))
                                                            )
                                                        ),
                                                        c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                    )
                                                )
                                            )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component),
                mt = Object($.b)(
                    function (e) {
                        return { user: e.user.user };
                    },
                    { toggleStoreStatus: st.b }
                )(dt),
                pt = n(61),
                ft = n(56),
                ht = n(71),
                gt = (function (e) {
                    function t() {
                        var e, n;
                        Object(a.a)(this, t);
                        for (var r = arguments.length, l = new Array(r), s = 0; s < r; s++) l[s] = arguments[s];
                        return (
                            ((n = Object(o.a)(this, (e = Object(i.a)(t)).call.apply(e, [this].concat(l)))).state = {
                                tabIndex: 0,
                                new_orders_count: 0,
                                preparing_orders_count: 0,
                                selfpickup_orders_count: 0,
                                ongoing_orders_count: 0,
                                totalActiveOrderCount: 0,
                            }),
                            (n.__refreshData = function () {
                                var e = n.props.user;
                                e.success &&
                                    (n.props.getOrders(e.data.auth_token, localStorage.getItem("selected_store_id")).then(function (e) {
                                        if (e && e.payload) {
                                            var t = e.payload.new_orders ? e.payload.new_orders.length : 0,
                                                a = e.payload.preparing_orders ? e.payload.preparing_orders.length : 0,
                                                r = e.payload.selfpickup_orders ? e.payload.selfpickup_orders.length : 0,
                                                o = e.payload.ongoing_orders ? e.payload.ongoing_orders.length : 0,
                                                i = parseInt(t) + parseInt(a) + parseInt(r) + parseInt(o);
                                            n.setState({ new_orders_count: t, preparing_orders_count: a, selfpickup_orders_count: r, ongoing_orders_count: o, totalActiveOrderCount: i });
                                        }
                                    }),
                                    n.props.getDashboardData(e.data.auth_token, localStorage.getItem("selected_store_id")));
                            }),
                            (n.onTabSelect = function (e) {
                                localStorage.setItem("storeTabIndex", e), n.setState({ tabIndex: e });
                            }),
                            (n.jumpToPageIndex = function (e) {
                                localStorage.setItem("storeTabIndex", e), n.setState({ tabIndex: e });
                            }),
                            n
                        );
                    }
                    return (
                        Object(l.a)(t, e),
                        Object(r.a)(t, [
                            {
                                key: "componentDidMount",
                                value: function () {
                                    var e = this;
                                    this.props.getSettings(),
                                        this.__refreshData(),
                                        (this.refreshSetInterval = setInterval(function () {
                                            e.__refreshData();
                                        }, 15e3));
                                },
                            },
                            {
                                key: "componentWillUnmount",
                                value: function () {
                                    clearInterval(this.refreshSetInterval);
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    var e = this;
                                    if (!this.props.user.success) return c.a.createElement(ee.a, { to: "/login" });
                                    if (null === localStorage.getItem("selected_store_id")) return c.a.createElement(ee.a, { to: "/store-selection" });
                                    var t = this.props.orders,
                                        n = this.state,
                                        a = n.new_orders_count,
                                        r = n.preparing_orders_count,
                                        o = n.selfpickup_orders_count,
                                        i = n.ongoing_orders_count,
                                        l = n.totalActiveOrderCount;
                                    return c.a.createElement(
                                        c.a.Fragment,
                                        null,
                                        c.a.createElement(
                                            M,
                                            {
                                                selectedIndex: null === localStorage.getItem("storeTabIndex") ? this.state.tabIndex : parseInt(localStorage.getItem("storeTabIndex")),
                                                onSelect: function (t) {
                                                    return e.onTabSelect(t);
                                                },
                                            },
                                            c.a.createElement(
                                                "div",
                                                { className: "content font-size-xs clearfix footer-fixed", style: { display: "block", width: "100%", padding: "0", height: "4.6rem" } },
                                                c.a.createElement(
                                                    L,
                                                    null,
                                                    c.a.createElement(
                                                        V,
                                                        null,
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "d-flex justify-content-center align-items-center flex-column storeAppFooterTabContent" },
                                                            c.a.createElement("i", { className: "si si-home" }),
                                                            c.a.createElement("span", null, localStorage.getItem("footerBar_home")),
                                                            c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                        )
                                                    ),
                                                    c.a.createElement(
                                                        V,
                                                        null,
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "d-flex justify-content-center align-items-center flex-column storeAppFooterTabContent" },
                                                            c.a.createElement("i", { className: "si si-clock" }),
                                                            c.a.createElement("span", null, localStorage.getItem("footerBar_past")),
                                                            c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                        )
                                                    ),
                                                    c.a.createElement(
                                                        V,
                                                        { className: "footer-orders-tab" },
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "d-flex justify-content-center align-items-center flex-column" },
                                                            c.a.createElement("i", { className: "si si-bell fa-2x" }),
                                                            c.a.createElement(z.a, { duration: "500", hasTouch: "true" }),
                                                            l > 0 && c.a.createElement("span", { className: "totalActiveOrderCountBadge".concat(l > 99 ? " orderCountLarge" : " orderCountSmall") }, l)
                                                        )
                                                    ),
                                                    c.a.createElement(
                                                        V,
                                                        null,
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "d-flex justify-content-center align-items-center flex-column storeAppFooterTabContent" },
                                                            c.a.createElement("i", { className: "si si-list" }),
                                                            c.a.createElement("span", null, localStorage.getItem("footerBar_menu")),
                                                            c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                        )
                                                    ),
                                                    c.a.createElement(
                                                        V,
                                                        null,
                                                        c.a.createElement(
                                                            "div",
                                                            { className: "d-flex justify-content-center align-items-center flex-column storeAppFooterTabContent" },
                                                            c.a.createElement("i", { className: "si si-equalizer" }),
                                                            " ",
                                                            c.a.createElement("span", null, localStorage.getItem("footerBar_more")),
                                                            c.a.createElement(z.a, { duration: "500", hasTouch: "true" })
                                                        )
                                                    )
                                                )
                                            ),
                                            c.a.createElement(U, null, c.a.createElement(mt, { data: this.props.dashboard, jumpToPageIndex: this.jumpToPageIndex, new_orders_count: a })),
                                            c.a.createElement(U, null, c.a.createElement(ot, null)),
                                            c.a.createElement(U, null, c.a.createElement(Je, { orders: t, new_orders_count: a, preparing_orders_count: r, selfpickup_orders_count: o, ongoing_orders_count: i })),
                                            c.a.createElement(U, null, c.a.createElement(pe, null)),
                                            c.a.createElement(U, null, c.a.createElement(ne, null))
                                        )
                                    );
                                },
                            },
                        ]),
                        t
                    );
                })(s.Component);
            t.default = Object($.b)(
                function (e) {
                    return { user: e.user.user, orders: e.orders.orders, settings: e.settings.settings, languages: e.languages.languages, language: e.languages.language, dashboard: e.dashboard.dashboard };
                },
                {
                    getOrders: function (e, t) {
                        return function (n) {
                            return nt.a
                                .post(et.k, { token: e, store_id: t })
                                .then(function (e) {
                                    var t = e.data;
                                    return n({ type: ht.a, payload: t });
                                })
                                .catch(function (e) {
                                    console.log(e);
                                });
                        };
                    },
                    getSingleLanguageData: ft.b,
                    getSettings: pt.a,
                    getDashboardData: st.a,
                }
            )(gt);
        },
        46: function (e, t, n) {
            "use strict";
            var a = n(0),
                r = n.n(a),
                o = n(2),
                i = n.n(o),
                l = n(9),
                s = n.n(l),
                c = n(10),
                u = n.n(c),
                d = n(44),
                m = n(59),
                p = n.n(m),
                f = {},
                h = 0,
                g = function () {
                    var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "/",
                        t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
                    return "/" === e
                        ? e
                        : (function (e) {
                              var t = e,
                                  n = f[t] || (f[t] = {});
                              if (n[e]) return n[e];
                              var a = p.a.compile(e);
                              return h < 1e4 && ((n[e] = a), h++), a;
                          })(e)(t, { pretty: !0 });
                },
                v =
                    Object.assign ||
                    function (e) {
                        for (var t = 1; t < arguments.length; t++) {
                            var n = arguments[t];
                            for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
                        }
                        return e;
                    };
            var b = (function (e) {
                function t() {
                    return (
                        (function (e, t) {
                            if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                        })(this, t),
                        (function (e, t) {
                            if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                            return !t || ("object" !== typeof t && "function" !== typeof t) ? e : t;
                        })(this, e.apply(this, arguments))
                    );
                }
                return (
                    (function (e, t) {
                        if ("function" !== typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                        (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : (e.__proto__ = t));
                    })(t, e),
                    (t.prototype.isStatic = function () {
                        return this.context.router && this.context.router.staticContext;
                    }),
                    (t.prototype.componentWillMount = function () {
                        u()(this.context.router, "You should not use <Redirect> outside a <Router>"), this.isStatic() && this.perform();
                    }),
                    (t.prototype.componentDidMount = function () {
                        this.isStatic() || this.perform();
                    }),
                    (t.prototype.componentDidUpdate = function (e) {
                        var t = Object(d.b)(e.to),
                            n = Object(d.b)(this.props.to);
                        Object(d.c)(t, n) ? s()(!1, "You tried to redirect to the same route you're currently on: \"" + n.pathname + n.search + '"') : this.perform();
                    }),
                    (t.prototype.computeTo = function (e) {
                        var t = e.computedMatch,
                            n = e.to;
                        return t ? ("string" === typeof n ? g(n, t.params) : v({}, n, { pathname: g(n.pathname, t.params) })) : n;
                    }),
                    (t.prototype.perform = function () {
                        var e = this.context.router.history,
                            t = this.props.push,
                            n = this.computeTo(this.props);
                        t ? e.push(n) : e.replace(n);
                    }),
                    (t.prototype.render = function () {
                        return null;
                    }),
                    t
                );
            })(r.a.Component);
            (b.propTypes = { computedMatch: i.a.object, push: i.a.bool, from: i.a.string, to: i.a.oneOfType([i.a.string, i.a.object]).isRequired }),
                (b.defaultProps = { push: !1 }),
                (b.contextTypes = { router: i.a.shape({ history: i.a.shape({ push: i.a.func.isRequired, replace: i.a.func.isRequired }).isRequired, staticContext: i.a.object }).isRequired });
            t.a = b;
        },
    },
]);
