"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
  [14564],
  {
    96514: function (e, t, n) {
      var r = n(32793),
        o = n(1048),
        i = n(67294),
        l = n(98885),
        a = n(2734),
        s = n(30577),
        u = n(51705),
        c = n(85893);
      let f = [
        "addEndListener",
        "appear",
        "children",
        "easing",
        "in",
        "onEnter",
        "onEntered",
        "onEntering",
        "onExit",
        "onExited",
        "onExiting",
        "style",
        "timeout",
        "TransitionComponent",
      ];
      function getScale(e) {
        return `scale(${e}, ${e ** 2})`;
      }
      let p = {
          entering: { opacity: 1, transform: getScale(1) },
          entered: { opacity: 1, transform: "none" },
        },
        d =
          "undefined" != typeof navigator &&
          /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) &&
          /(os |version\/)15(.|_)4/i.test(navigator.userAgent),
        h = i.forwardRef(function (e, t) {
          let {
              addEndListener: n,
              appear: h = !0,
              children: g,
              easing: m,
              in: v,
              onEnter: y,
              onEntered: Z,
              onEntering: E,
              onExit: P,
              onExited: b,
              onExiting: T,
              style: x,
              timeout: C = "auto",
              TransitionComponent: z = l.ZP,
            } = e,
            k = (0, o.Z)(e, f),
            w = i.useRef(),
            O = i.useRef(),
            R = (0, a.Z)(),
            S = i.useRef(null),
            A = (0, u.Z)(S, g.ref, t),
            normalizedTransitionCallback = (e) => (t) => {
              if (e) {
                let n = S.current;
                void 0 === t ? e(n) : e(n, t);
              }
            },
            L = normalizedTransitionCallback(E),
            H = normalizedTransitionCallback((e, t) => {
              let n;
              (0, s.n)(e);
              let {
                duration: r,
                delay: o,
                easing: i,
              } = (0, s.C)(
                { style: x, timeout: C, easing: m },
                { mode: "enter" }
              );
              "auto" === C
                ? ((n = R.transitions.getAutoHeightDuration(e.clientHeight)),
                  (O.current = n))
                : (n = r),
                (e.style.transition = [
                  R.transitions.create("opacity", { duration: n, delay: o }),
                  R.transitions.create("transform", {
                    duration: d ? n : 0.666 * n,
                    delay: o,
                    easing: i,
                  }),
                ].join(",")),
                y && y(e, t);
            }),
            j = normalizedTransitionCallback(Z),
            M = normalizedTransitionCallback(T),
            N = normalizedTransitionCallback((e) => {
              let t;
              let {
                duration: n,
                delay: r,
                easing: o,
              } = (0, s.C)(
                { style: x, timeout: C, easing: m },
                { mode: "exit" }
              );
              "auto" === C
                ? ((t = R.transitions.getAutoHeightDuration(e.clientHeight)),
                  (O.current = t))
                : (t = n),
                (e.style.transition = [
                  R.transitions.create("opacity", { duration: t, delay: r }),
                  R.transitions.create("transform", {
                    duration: d ? t : 0.666 * t,
                    delay: d ? r : r || 0.333 * t,
                    easing: o,
                  }),
                ].join(",")),
                (e.style.opacity = 0),
                (e.style.transform = getScale(0.75)),
                P && P(e);
            }),
            D = normalizedTransitionCallback(b);
          return (
            i.useEffect(
              () => () => {
                clearTimeout(w.current);
              },
              []
            ),
            (0, c.jsx)(
              z,
              (0, r.Z)(
                {
                  appear: h,
                  in: v,
                  nodeRef: S,
                  onEnter: H,
                  onEntered: j,
                  onEntering: L,
                  onExit: N,
                  onExited: D,
                  onExiting: M,
                  addEndListener: (e) => {
                    "auto" === C && (w.current = setTimeout(e, O.current || 0)),
                      n && n(S.current, e);
                  },
                  timeout: "auto" === C ? null : C,
                },
                k,
                {
                  children: (e, t) =>
                    i.cloneElement(
                      g,
                      (0, r.Z)(
                        {
                          style: (0, r.Z)(
                            {
                              opacity: 0,
                              transform: getScale(0.75),
                              visibility:
                                "exited" !== e || v ? void 0 : "hidden",
                            },
                            p[e],
                            x,
                            g.props.style
                          ),
                          ref: A,
                        },
                        t
                      )
                    ),
                }
              )
            )
          );
        });
      (h.muiSupportAuto = !0), (t.Z = h);
    },
    14564: function (e, t, n) {
      n.d(t, {
        XS: function () {
          return z;
        },
        ZP: function () {
          return w;
        },
      });
      var r = n(32793),
        o = n(1048),
        i = n(67294),
        l = n(63961),
        a = n(94780),
        s = n(9586),
        u = n(28442),
        c = n(90948),
        f = n(71657),
        p = n(57144),
        d = n(8038),
        h = n(5340),
        g = n(51705),
        m = n(96514),
        v = n(11994),
        y = n(90629),
        Z = n(1588),
        E = n(34867);
      function getPopoverUtilityClass(e) {
        return (0, E.Z)("MuiPopover", e);
      }
      (0, Z.Z)("MuiPopover", ["root", "paper"]);
      var P = n(85893);
      let b = ["onEntering"],
        T = [
          "action",
          "anchorEl",
          "anchorOrigin",
          "anchorPosition",
          "anchorReference",
          "children",
          "className",
          "container",
          "elevation",
          "marginThreshold",
          "open",
          "PaperProps",
          "slots",
          "slotProps",
          "transformOrigin",
          "TransitionComponent",
          "transitionDuration",
          "TransitionProps",
          "disableScrollLock",
        ],
        x = ["slotProps"];
      function getOffsetTop(e, t) {
        let n = 0;
        return (
          "number" == typeof t
            ? (n = t)
            : "center" === t
            ? (n = e.height / 2)
            : "bottom" === t && (n = e.height),
          n
        );
      }
      function getOffsetLeft(e, t) {
        let n = 0;
        return (
          "number" == typeof t
            ? (n = t)
            : "center" === t
            ? (n = e.width / 2)
            : "right" === t && (n = e.width),
          n
        );
      }
      function getTransformOriginValue(e) {
        return [e.horizontal, e.vertical]
          .map((e) => ("number" == typeof e ? `${e}px` : e))
          .join(" ");
      }
      function resolveAnchorEl(e) {
        return "function" == typeof e ? e() : e;
      }
      let useUtilityClasses = (e) => {
          let { classes: t } = e;
          return (0, a.Z)(
            { root: ["root"], paper: ["paper"] },
            getPopoverUtilityClass,
            t
          );
        },
        C = (0, c.ZP)(v.Z, {
          name: "MuiPopover",
          slot: "Root",
          overridesResolver: (e, t) => t.root,
        })({}),
        z = (0, c.ZP)(y.Z, {
          name: "MuiPopover",
          slot: "Paper",
          overridesResolver: (e, t) => t.paper,
        })({
          position: "absolute",
          overflowY: "auto",
          overflowX: "hidden",
          minWidth: 16,
          minHeight: 16,
          maxWidth: "calc(100% - 32px)",
          maxHeight: "calc(100% - 32px)",
          outline: 0,
        }),
        k = i.forwardRef(function (e, t) {
          var n, a, c;
          let v = (0, f.Z)({ props: e, name: "MuiPopover" }),
            {
              action: y,
              anchorEl: Z,
              anchorOrigin: E = { vertical: "top", horizontal: "left" },
              anchorPosition: k,
              anchorReference: w = "anchorEl",
              children: O,
              className: R,
              container: S,
              elevation: A = 8,
              marginThreshold: L = 16,
              open: H,
              PaperProps: j = {},
              slots: M,
              slotProps: N,
              transformOrigin: D = { vertical: "top", horizontal: "left" },
              TransitionComponent: $ = m.Z,
              transitionDuration: _ = "auto",
              TransitionProps: { onEntering: U } = {},
              disableScrollLock: W = !1,
            } = v,
            V = (0, o.Z)(v.TransitionProps, b),
            X = (0, o.Z)(v, T),
            B = null != (n = null == N ? void 0 : N.paper) ? n : j,
            F = i.useRef(),
            I = (0, g.Z)(F, B.ref),
            Y = (0, r.Z)({}, v, {
              anchorOrigin: E,
              anchorReference: w,
              elevation: A,
              marginThreshold: L,
              externalPaperSlotProps: B,
              transformOrigin: D,
              TransitionComponent: $,
              transitionDuration: _,
              TransitionProps: V,
            }),
            q = useUtilityClasses(Y),
            G = i.useCallback(() => {
              if ("anchorPosition" === w) return k;
              let e = resolveAnchorEl(Z),
                t = e && 1 === e.nodeType ? e : (0, d.Z)(F.current).body,
                n = t.getBoundingClientRect();
              return {
                top: n.top + getOffsetTop(n, E.vertical),
                left: n.left + getOffsetLeft(n, E.horizontal),
              };
            }, [Z, E.horizontal, E.vertical, k, w]),
            J = i.useCallback(
              (e) => ({
                vertical: getOffsetTop(e, D.vertical),
                horizontal: getOffsetLeft(e, D.horizontal),
              }),
              [D.horizontal, D.vertical]
            ),
            K = i.useCallback(
              (e) => {
                let t = { width: e.offsetWidth, height: e.offsetHeight },
                  n = J(t);
                if ("none" === w)
                  return {
                    top: null,
                    left: null,
                    transformOrigin: getTransformOriginValue(n),
                  };
                let r = G(),
                  o = r.top - n.vertical,
                  i = r.left - n.horizontal,
                  l = o + t.height,
                  a = i + t.width,
                  s = (0, h.Z)(resolveAnchorEl(Z)),
                  u = s.innerHeight - L,
                  c = s.innerWidth - L;
                if (null !== L && o < L) {
                  let e = o - L;
                  (o -= e), (n.vertical += e);
                } else if (null !== L && l > u) {
                  let e = l - u;
                  (o -= e), (n.vertical += e);
                }
                if (null !== L && i < L) {
                  let e = i - L;
                  (i -= e), (n.horizontal += e);
                } else if (a > c) {
                  let e = a - c;
                  (i -= e), (n.horizontal += e);
                }
                return {
                  top: `${Math.round(o)}px`,
                  left: `${Math.round(i)}px`,
                  transformOrigin: getTransformOriginValue(n),
                };
              },
              [Z, w, G, J, L]
            ),
            [Q, ee] = i.useState(H),
            et = i.useCallback(() => {
              let e = F.current;
              if (!e) return;
              let t = K(e);
              null !== t.top && (e.style.top = t.top),
                null !== t.left && (e.style.left = t.left),
                (e.style.transformOrigin = t.transformOrigin),
                ee(!0);
            }, [K]);
          i.useEffect(
            () => (
              W && window.addEventListener("scroll", et),
              () => window.removeEventListener("scroll", et)
            ),
            [Z, W, et]
          ),
            i.useEffect(() => {
              H && et();
            }),
            i.useImperativeHandle(
              y,
              () =>
                H
                  ? {
                      updatePosition: () => {
                        et();
                      },
                    }
                  : null,
              [H, et]
            ),
            i.useEffect(() => {
              if (!H) return;
              let e = (0, p.Z)(() => {
                  et();
                }),
                t = (0, h.Z)(Z);
              return (
                t.addEventListener("resize", e),
                () => {
                  e.clear(), t.removeEventListener("resize", e);
                }
              );
            }, [Z, H, et]);
          let en = _;
          "auto" !== _ || $.muiSupportAuto || (en = void 0);
          let er = S || (Z ? (0, d.Z)(resolveAnchorEl(Z)).body : void 0),
            eo = null != (a = null == M ? void 0 : M.root) ? a : C,
            ei = null != (c = null == M ? void 0 : M.paper) ? c : z,
            el = (0, s.y)({
              elementType: ei,
              externalSlotProps: (0, r.Z)({}, B, {
                style: Q ? B.style : (0, r.Z)({}, B.style, { opacity: 0 }),
              }),
              additionalProps: { elevation: A, ref: I },
              ownerState: Y,
              className: (0, l.Z)(q.paper, null == B ? void 0 : B.className),
            }),
            ea = (0, s.y)({
              elementType: eo,
              externalSlotProps: (null == N ? void 0 : N.root) || {},
              externalForwardedProps: X,
              additionalProps: {
                ref: t,
                slotProps: { backdrop: { invisible: !0 } },
                container: er,
                open: H,
              },
              ownerState: Y,
              className: (0, l.Z)(q.root, R),
            }),
            { slotProps: es } = ea,
            eu = (0, o.Z)(ea, x);
          return (0, P.jsx)(
            eo,
            (0, r.Z)(
              {},
              eu,
              !(0, u.X)(eo) && { slotProps: es, disableScrollLock: W },
              {
                children: (0, P.jsx)(
                  $,
                  (0, r.Z)(
                    {
                      appear: !0,
                      in: H,
                      onEntering: (e, t) => {
                        U && U(e, t), et();
                      },
                      onExited: () => {
                        ee(!1);
                      },
                      timeout: en,
                    },
                    V,
                    {
                      children: (0, P.jsx)(
                        ei,
                        (0, r.Z)({}, el, { children: O })
                      ),
                    }
                  )
                ),
              }
            )
          );
        });
      var w = k;
    },
  },
]);
