try {
    (() => {
        var u = __REACT__,
            {
                Children: mr,
                Component: hr,
                Fragment: gr,
                Profiler: br,
                PureComponent: yr,
                StrictMode: vr,
                Suspense: Sr,
                __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: xr,
                act: _r,
                cloneElement: Tr,
                createContext: Pr,
                createElement: wr,
                createFactory: kr,
                createRef: Or,
                forwardRef: Cr,
                isValidElement: Er,
                lazy: Rr,
                memo: Ir,
                startTransition: Fr,
                unstable_act: jr,
                useCallback: Hr,
                useContext: Ar,
                useDebugValue: zr,
                useDeferredValue: Mr,
                useEffect: K,
                useId: Br,
                useImperativeHandle: Nr,
                useInsertionEffect: Lr,
                useLayoutEffect: Dr,
                useMemo: $r,
                useReducer: qr,
                useRef: Wr,
                useState: G,
                useSyncExternalStore: Yr,
                useTransition: Kr,
                version: Gr,
            } = __REACT__;
        var Xr = __STORYBOOK_COMPONENTS__,
            {
                A: Vr,
                AbstractToolbar: et,
                ActionBar: rt,
                ActionList: tt,
                AddonPanel: U,
                Badge: at,
                Bar: nt,
                Blockquote: ot,
                Button: st,
                Card: it,
                ClipboardCode: pt,
                Code: ut,
                Collapsible: lt,
                DL: dt,
                Div: ft,
                DocumentWrapper: ct,
                EmptyTabContent: mt,
                ErrorFormatter: ht,
                FlexBar: gt,
                Form: bt,
                H1: yt,
                H2: vt,
                H3: St,
                H4: xt,
                H5: _t,
                H6: Tt,
                HR: Pt,
                IconButton: wt,
                Img: kt,
                LI: Ot,
                Link: Ct,
                ListItem: Et,
                Loader: Rt,
                Modal: It,
                ModalDecorator: Ft,
                OL: jt,
                P: Ht,
                Placeholder: At,
                Popover: zt,
                PopoverProvider: Mt,
                Pre: Bt,
                ProgressSpinner: Nt,
                ResetWrapper: Lt,
                ScrollArea: Dt,
                Select: $t,
                Separator: qt,
                Spaced: Wt,
                Span: Yt,
                StatelessTab: Kt,
                StatelessTabList: Gt,
                StatelessTabPanel: Ut,
                StatelessTabsView: Jt,
                StorybookIcon: Zt,
                StorybookLogo: Qt,
                SyntaxHighlighter: J,
                TT: Xt,
                TabBar: Vt,
                TabButton: ea,
                TabList: ra,
                TabPanel: ta,
                TabWrapper: aa,
                Table: na,
                Tabs: oa,
                TabsState: sa,
                TabsView: ia,
                ToggleButton: pa,
                Toolbar: ua,
                Tooltip: la,
                TooltipLinkList: da,
                TooltipMessage: fa,
                TooltipNote: ca,
                TooltipProvider: ma,
                UL: ha,
                WithTooltip: ga,
                WithTooltipPure: ba,
                Zoom: ya,
                codeCommon: va,
                components: Sa,
                convertToReactAriaPlacement: xa,
                createCopyToClipboardFunction: _a,
                getStoryHref: Ta,
                interleaveSeparators: Pa,
                nameSpaceClassNames: wa,
                resetComponents: ka,
                useTabsState: Oa,
                withReset: Z,
            } = __STORYBOOK_COMPONENTS__;
        var Fa = __STORYBOOK_THEMING__,
            {
                CacheProvider: ja,
                ClassNames: Ha,
                Global: Aa,
                ThemeProvider: Q,
                background: za,
                color: Ma,
                convert: X,
                create: Ba,
                createCache: Na,
                createGlobal: La,
                createReset: Da,
                css: $a,
                darken: qa,
                ensure: Wa,
                getPreferredColorScheme: Ya,
                ignoreSsrWarning: R,
                isPropValid: Ka,
                jsx: Ga,
                keyframes: Ua,
                lighten: Ja,
                srOnlyStyles: Za,
                styled: S,
                themes: A,
                tokens: Qa,
                typography: Xa,
                useTheme: I,
                withTheme: Va,
            } = __STORYBOOK_THEMING__;
        function f() {
            return (
                (f = Object.assign
                    ? Object.assign.bind()
                    : function (e) {
                          for (var r = 1; r < arguments.length; r++) {
                              var t = arguments[r];
                              for (var a in t)
                                  ({}).hasOwnProperty.call(t, a) && (e[a] = t[a]);
                          }
                          return e;
                      }),
                f.apply(null, arguments)
            );
        }
        function me(e) {
            if (e === void 0)
                throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called",
                );
            return e;
        }
        function O(e, r) {
            return (
                (O = Object.setPrototypeOf
                    ? Object.setPrototypeOf.bind()
                    : function (t, a) {
                          return ((t.__proto__ = a), t);
                      }),
                O(e, r)
            );
        }
        function he(e, r) {
            ((e.prototype = Object.create(r.prototype)),
                (e.prototype.constructor = e),
                O(e, r));
        }
        function N(e) {
            return (
                (N = Object.setPrototypeOf
                    ? Object.getPrototypeOf.bind()
                    : function (r) {
                          return r.__proto__ || Object.getPrototypeOf(r);
                      }),
                N(e)
            );
        }
        function ge(e) {
            try {
                return Function.toString.call(e).indexOf('[native code]') !== -1;
            } catch {
                return typeof e == 'function';
            }
        }
        function te() {
            try {
                var e = !Boolean.prototype.valueOf.call(
                    Reflect.construct(Boolean, [], function () {}),
                );
            } catch {}
            return (te = function () {
                return !!e;
            })();
        }
        function be(e, r, t) {
            if (te()) return Reflect.construct.apply(null, arguments);
            var a = [null];
            a.push.apply(a, r);
            var n = new (e.bind.apply(e, a))();
            return (t && O(n, t.prototype), n);
        }
        function L(e) {
            var r = typeof Map == 'function' ? new Map() : void 0;
            return (
                (L = function (t) {
                    if (t === null || !ge(t)) return t;
                    if (typeof t != 'function')
                        throw new TypeError(
                            'Super expression must either be null or a function',
                        );
                    if (r !== void 0) {
                        if (r.has(t)) return r.get(t);
                        r.set(t, a);
                    }
                    function a() {
                        return be(t, arguments, N(this).constructor);
                    }
                    return (
                        (a.prototype = Object.create(t.prototype, {
                            constructor: {
                                value: a,
                                enumerable: !1,
                                writable: !0,
                                configurable: !0,
                            },
                        })),
                        O(a, t)
                    );
                }),
                L(e)
            );
        }
        var d = (function (e) {
            he(r, e);
            function r(t) {
                var a;
                if (1)
                    a =
                        e.call(
                            this,
                            'An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#' +
                                t +
                                ' for more information.',
                        ) || this;
                else for (var n, o, s; s < n; s++);
                return me(a);
            }
            return r;
        })(L(Error));
        function V(e, r) {
            return e.substr(-r.length) === r;
        }
        var ye = /^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;
        function ee(e) {
            if (typeof e != 'string') return e;
            var r = e.match(ye);
            return r ? parseFloat(e) : e;
        }
        var ve = function (e) {
                return function (r, t) {
                    t === void 0 && (t = '16px');
                    var a = r,
                        n = t;
                    if (typeof r == 'string') {
                        if (!V(r, 'px')) throw new d(69, e, r);
                        a = ee(r);
                    }
                    if (typeof t == 'string') {
                        if (!V(t, 'px')) throw new d(70, e, t);
                        n = ee(t);
                    }
                    if (typeof a == 'string') throw new d(71, r, e);
                    if (typeof n == 'string') throw new d(72, t, e);
                    return '' + a / n + e;
                };
            },
            ae = ve,
            ln = ae('em'),
            dn = ae('rem');
        function z(e) {
            return Math.round(e * 255);
        }
        function Se(e, r, t) {
            return z(e) + ',' + z(r) + ',' + z(t);
        }
        function C(e, r, t, a) {
            if ((a === void 0 && (a = Se), r === 0)) return a(t, t, t);
            var n = (((e % 360) + 360) % 360) / 60,
                o = (1 - Math.abs(2 * t - 1)) * r,
                s = o * (1 - Math.abs((n % 2) - 1)),
                p = 0,
                i = 0,
                l = 0;
            n >= 0 && n < 1
                ? ((p = o), (i = s))
                : n >= 1 && n < 2
                  ? ((p = s), (i = o))
                  : n >= 2 && n < 3
                    ? ((i = o), (l = s))
                    : n >= 3 && n < 4
                      ? ((i = s), (l = o))
                      : n >= 4 && n < 5
                        ? ((p = s), (l = o))
                        : n >= 5 && n < 6 && ((p = o), (l = s));
            var g = t - o / 2,
                h = p + g,
                c = i + g,
                k = l + g;
            return a(h, c, k);
        }
        var re = {
            aliceblue: 'f0f8ff',
            antiquewhite: 'faebd7',
            aqua: '00ffff',
            aquamarine: '7fffd4',
            azure: 'f0ffff',
            beige: 'f5f5dc',
            bisque: 'ffe4c4',
            black: '000',
            blanchedalmond: 'ffebcd',
            blue: '0000ff',
            blueviolet: '8a2be2',
            brown: 'a52a2a',
            burlywood: 'deb887',
            cadetblue: '5f9ea0',
            chartreuse: '7fff00',
            chocolate: 'd2691e',
            coral: 'ff7f50',
            cornflowerblue: '6495ed',
            cornsilk: 'fff8dc',
            crimson: 'dc143c',
            cyan: '00ffff',
            darkblue: '00008b',
            darkcyan: '008b8b',
            darkgoldenrod: 'b8860b',
            darkgray: 'a9a9a9',
            darkgreen: '006400',
            darkgrey: 'a9a9a9',
            darkkhaki: 'bdb76b',
            darkmagenta: '8b008b',
            darkolivegreen: '556b2f',
            darkorange: 'ff8c00',
            darkorchid: '9932cc',
            darkred: '8b0000',
            darksalmon: 'e9967a',
            darkseagreen: '8fbc8f',
            darkslateblue: '483d8b',
            darkslategray: '2f4f4f',
            darkslategrey: '2f4f4f',
            darkturquoise: '00ced1',
            darkviolet: '9400d3',
            deeppink: 'ff1493',
            deepskyblue: '00bfff',
            dimgray: '696969',
            dimgrey: '696969',
            dodgerblue: '1e90ff',
            firebrick: 'b22222',
            floralwhite: 'fffaf0',
            forestgreen: '228b22',
            fuchsia: 'ff00ff',
            gainsboro: 'dcdcdc',
            ghostwhite: 'f8f8ff',
            gold: 'ffd700',
            goldenrod: 'daa520',
            gray: '808080',
            green: '008000',
            greenyellow: 'adff2f',
            grey: '808080',
            honeydew: 'f0fff0',
            hotpink: 'ff69b4',
            indianred: 'cd5c5c',
            indigo: '4b0082',
            ivory: 'fffff0',
            khaki: 'f0e68c',
            lavender: 'e6e6fa',
            lavenderblush: 'fff0f5',
            lawngreen: '7cfc00',
            lemonchiffon: 'fffacd',
            lightblue: 'add8e6',
            lightcoral: 'f08080',
            lightcyan: 'e0ffff',
            lightgoldenrodyellow: 'fafad2',
            lightgray: 'd3d3d3',
            lightgreen: '90ee90',
            lightgrey: 'd3d3d3',
            lightpink: 'ffb6c1',
            lightsalmon: 'ffa07a',
            lightseagreen: '20b2aa',
            lightskyblue: '87cefa',
            lightslategray: '789',
            lightslategrey: '789',
            lightsteelblue: 'b0c4de',
            lightyellow: 'ffffe0',
            lime: '0f0',
            limegreen: '32cd32',
            linen: 'faf0e6',
            magenta: 'f0f',
            maroon: '800000',
            mediumaquamarine: '66cdaa',
            mediumblue: '0000cd',
            mediumorchid: 'ba55d3',
            mediumpurple: '9370db',
            mediumseagreen: '3cb371',
            mediumslateblue: '7b68ee',
            mediumspringgreen: '00fa9a',
            mediumturquoise: '48d1cc',
            mediumvioletred: 'c71585',
            midnightblue: '191970',
            mintcream: 'f5fffa',
            mistyrose: 'ffe4e1',
            moccasin: 'ffe4b5',
            navajowhite: 'ffdead',
            navy: '000080',
            oldlace: 'fdf5e6',
            olive: '808000',
            olivedrab: '6b8e23',
            orange: 'ffa500',
            orangered: 'ff4500',
            orchid: 'da70d6',
            palegoldenrod: 'eee8aa',
            palegreen: '98fb98',
            paleturquoise: 'afeeee',
            palevioletred: 'db7093',
            papayawhip: 'ffefd5',
            peachpuff: 'ffdab9',
            peru: 'cd853f',
            pink: 'ffc0cb',
            plum: 'dda0dd',
            powderblue: 'b0e0e6',
            purple: '800080',
            rebeccapurple: '639',
            red: 'f00',
            rosybrown: 'bc8f8f',
            royalblue: '4169e1',
            saddlebrown: '8b4513',
            salmon: 'fa8072',
            sandybrown: 'f4a460',
            seagreen: '2e8b57',
            seashell: 'fff5ee',
            sienna: 'a0522d',
            silver: 'c0c0c0',
            skyblue: '87ceeb',
            slateblue: '6a5acd',
            slategray: '708090',
            slategrey: '708090',
            snow: 'fffafa',
            springgreen: '00ff7f',
            steelblue: '4682b4',
            tan: 'd2b48c',
            teal: '008080',
            thistle: 'd8bfd8',
            tomato: 'ff6347',
            turquoise: '40e0d0',
            violet: 'ee82ee',
            wheat: 'f5deb3',
            white: 'fff',
            whitesmoke: 'f5f5f5',
            yellow: 'ff0',
            yellowgreen: '9acd32',
        };
        function xe(e) {
            if (typeof e != 'string') return e;
            var r = e.toLowerCase();
            return re[r] ? '#' + re[r] : e;
        }
        var _e = /^#[a-fA-F0-9]{6}$/,
            Te = /^#[a-fA-F0-9]{8}$/,
            Pe = /^#[a-fA-F0-9]{3}$/,
            we = /^#[a-fA-F0-9]{4}$/,
            M = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,
            ke =
                /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,
            Oe =
                /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,
            Ce =
                /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
        function P(e) {
            if (typeof e != 'string') throw new d(3);
            var r = xe(e);
            if (r.match(_e))
                return {
                    red: parseInt('' + r[1] + r[2], 16),
                    green: parseInt('' + r[3] + r[4], 16),
                    blue: parseInt('' + r[5] + r[6], 16),
                };
            if (r.match(Te)) {
                var t = parseFloat((parseInt('' + r[7] + r[8], 16) / 255).toFixed(2));
                return {
                    red: parseInt('' + r[1] + r[2], 16),
                    green: parseInt('' + r[3] + r[4], 16),
                    blue: parseInt('' + r[5] + r[6], 16),
                    alpha: t,
                };
            }
            if (r.match(Pe))
                return {
                    red: parseInt('' + r[1] + r[1], 16),
                    green: parseInt('' + r[2] + r[2], 16),
                    blue: parseInt('' + r[3] + r[3], 16),
                };
            if (r.match(we)) {
                var a = parseFloat((parseInt('' + r[4] + r[4], 16) / 255).toFixed(2));
                return {
                    red: parseInt('' + r[1] + r[1], 16),
                    green: parseInt('' + r[2] + r[2], 16),
                    blue: parseInt('' + r[3] + r[3], 16),
                    alpha: a,
                };
            }
            var n = M.exec(r);
            if (n)
                return {
                    red: parseInt('' + n[1], 10),
                    green: parseInt('' + n[2], 10),
                    blue: parseInt('' + n[3], 10),
                };
            var o = ke.exec(r.substring(0, 50));
            if (o)
                return {
                    red: parseInt('' + o[1], 10),
                    green: parseInt('' + o[2], 10),
                    blue: parseInt('' + o[3], 10),
                    alpha:
                        parseFloat('' + o[4]) > 1
                            ? parseFloat('' + o[4]) / 100
                            : parseFloat('' + o[4]),
                };
            var s = Oe.exec(r);
            if (s) {
                var p = parseInt('' + s[1], 10),
                    i = parseInt('' + s[2], 10) / 100,
                    l = parseInt('' + s[3], 10) / 100,
                    g = 'rgb(' + C(p, i, l) + ')',
                    h = M.exec(g);
                if (!h) throw new d(4, r, g);
                return {
                    red: parseInt('' + h[1], 10),
                    green: parseInt('' + h[2], 10),
                    blue: parseInt('' + h[3], 10),
                };
            }
            var c = Ce.exec(r.substring(0, 50));
            if (c) {
                var k = parseInt('' + c[1], 10),
                    fe = parseInt('' + c[2], 10) / 100,
                    ce = parseInt('' + c[3], 10) / 100,
                    Y = 'rgb(' + C(k, fe, ce) + ')',
                    E = M.exec(Y);
                if (!E) throw new d(4, r, Y);
                return {
                    red: parseInt('' + E[1], 10),
                    green: parseInt('' + E[2], 10),
                    blue: parseInt('' + E[3], 10),
                    alpha:
                        parseFloat('' + c[4]) > 1
                            ? parseFloat('' + c[4]) / 100
                            : parseFloat('' + c[4]),
                };
            }
            throw new d(5);
        }
        function Ee(e) {
            var r = e.red / 255,
                t = e.green / 255,
                a = e.blue / 255,
                n = Math.max(r, t, a),
                o = Math.min(r, t, a),
                s = (n + o) / 2;
            if (n === o)
                return e.alpha !== void 0
                    ? { hue: 0, saturation: 0, lightness: s, alpha: e.alpha }
                    : { hue: 0, saturation: 0, lightness: s };
            var p,
                i = n - o,
                l = s > 0.5 ? i / (2 - n - o) : i / (n + o);
            switch (n) {
                case r:
                    p = (t - a) / i + (t < a ? 6 : 0);
                    break;
                case t:
                    p = (a - r) / i + 2;
                    break;
                default:
                    p = (r - t) / i + 4;
                    break;
            }
            return (
                (p *= 60),
                e.alpha !== void 0
                    ? { hue: p, saturation: l, lightness: s, alpha: e.alpha }
                    : { hue: p, saturation: l, lightness: s }
            );
        }
        function x(e) {
            return Ee(P(e));
        }
        var Re = function (e) {
                return e.length === 7 && e[1] === e[2] && e[3] === e[4] && e[5] === e[6]
                    ? '#' + e[1] + e[3] + e[5]
                    : e;
            },
            D = Re;
        function T(e) {
            var r = e.toString(16);
            return r.length === 1 ? '0' + r : r;
        }
        function B(e) {
            return T(Math.round(e * 255));
        }
        function Ie(e, r, t) {
            return D('#' + B(e) + B(r) + B(t));
        }
        function j(e, r, t) {
            return C(e, r, t, Ie);
        }
        function Fe(e, r, t) {
            if (typeof e == 'number' && typeof r == 'number' && typeof t == 'number')
                return j(e, r, t);
            if (typeof e == 'object' && r === void 0 && t === void 0)
                return j(e.hue, e.saturation, e.lightness);
            throw new d(1);
        }
        function je(e, r, t, a) {
            if (
                typeof e == 'number' &&
                typeof r == 'number' &&
                typeof t == 'number' &&
                typeof a == 'number'
            )
                return a >= 1 ? j(e, r, t) : 'rgba(' + C(e, r, t) + ',' + a + ')';
            if (typeof e == 'object' && r === void 0 && t === void 0 && a === void 0)
                return e.alpha >= 1
                    ? j(e.hue, e.saturation, e.lightness)
                    : 'rgba(' + C(e.hue, e.saturation, e.lightness) + ',' + e.alpha + ')';
            throw new d(2);
        }
        function $(e, r, t) {
            if (typeof e == 'number' && typeof r == 'number' && typeof t == 'number')
                return D('#' + T(e) + T(r) + T(t));
            if (typeof e == 'object' && r === void 0 && t === void 0)
                return D('#' + T(e.red) + T(e.green) + T(e.blue));
            throw new d(6);
        }
        function H(e, r, t, a) {
            if (typeof e == 'string' && typeof r == 'number') {
                var n = P(e);
                return 'rgba(' + n.red + ',' + n.green + ',' + n.blue + ',' + r + ')';
            } else {
                if (
                    typeof e == 'number' &&
                    typeof r == 'number' &&
                    typeof t == 'number' &&
                    typeof a == 'number'
                )
                    return a >= 1
                        ? $(e, r, t)
                        : 'rgba(' + e + ',' + r + ',' + t + ',' + a + ')';
                if (typeof e == 'object' && r === void 0 && t === void 0 && a === void 0)
                    return e.alpha >= 1
                        ? $(e.red, e.green, e.blue)
                        : 'rgba(' +
                              e.red +
                              ',' +
                              e.green +
                              ',' +
                              e.blue +
                              ',' +
                              e.alpha +
                              ')';
            }
            throw new d(7);
        }
        var He = function (e) {
                return (
                    typeof e.red == 'number' &&
                    typeof e.green == 'number' &&
                    typeof e.blue == 'number' &&
                    (typeof e.alpha != 'number' || typeof e.alpha > 'u')
                );
            },
            Ae = function (e) {
                return (
                    typeof e.red == 'number' &&
                    typeof e.green == 'number' &&
                    typeof e.blue == 'number' &&
                    typeof e.alpha == 'number'
                );
            },
            ze = function (e) {
                return (
                    typeof e.hue == 'number' &&
                    typeof e.saturation == 'number' &&
                    typeof e.lightness == 'number' &&
                    (typeof e.alpha != 'number' || typeof e.alpha > 'u')
                );
            },
            Me = function (e) {
                return (
                    typeof e.hue == 'number' &&
                    typeof e.saturation == 'number' &&
                    typeof e.lightness == 'number' &&
                    typeof e.alpha == 'number'
                );
            };
        function _(e) {
            if (typeof e != 'object') throw new d(8);
            if (Ae(e)) return H(e);
            if (He(e)) return $(e);
            if (Me(e)) return je(e);
            if (ze(e)) return Fe(e);
            throw new d(8);
        }
        function ne(e, r, t) {
            return function () {
                var a = t.concat(Array.prototype.slice.call(arguments));
                return a.length >= r ? e.apply(this, a) : ne(e, r, a);
            };
        }
        function m(e) {
            return ne(e, e.length, []);
        }
        function Be(e, r) {
            if (r === 'transparent') return r;
            var t = x(r);
            return _(f({}, t, { hue: t.hue + parseFloat(e) }));
        }
        var fn = m(Be);
        function w(e, r, t) {
            return Math.max(e, Math.min(r, t));
        }
        function Ne(e, r) {
            if (r === 'transparent') return r;
            var t = x(r);
            return _(f({}, t, { lightness: w(0, 1, t.lightness - parseFloat(e)) }));
        }
        var cn = m(Ne);
        function Le(e, r) {
            if (r === 'transparent') return r;
            var t = x(r);
            return _(f({}, t, { saturation: w(0, 1, t.saturation - parseFloat(e)) }));
        }
        var mn = m(Le);
        function De(e, r) {
            if (r === 'transparent') return r;
            var t = x(r);
            return _(f({}, t, { lightness: w(0, 1, t.lightness + parseFloat(e)) }));
        }
        var hn = m(De);
        function $e(e, r, t) {
            if (r === 'transparent') return t;
            if (t === 'transparent') return r;
            if (e === 0) return t;
            var a = P(r),
                n = f({}, a, { alpha: typeof a.alpha == 'number' ? a.alpha : 1 }),
                o = P(t),
                s = f({}, o, { alpha: typeof o.alpha == 'number' ? o.alpha : 1 }),
                p = n.alpha - s.alpha,
                i = parseFloat(e) * 2 - 1,
                l = i * p === -1 ? i : i + p,
                g = 1 + i * p,
                h = (l / g + 1) / 2,
                c = 1 - h,
                k = {
                    red: Math.floor(n.red * h + s.red * c),
                    green: Math.floor(n.green * h + s.green * c),
                    blue: Math.floor(n.blue * h + s.blue * c),
                    alpha: n.alpha * parseFloat(e) + s.alpha * (1 - parseFloat(e)),
                };
            return H(k);
        }
        var qe = m($e),
            oe = qe;
        function We(e, r) {
            if (r === 'transparent') return r;
            var t = P(r),
                a = typeof t.alpha == 'number' ? t.alpha : 1,
                n = f({}, t, { alpha: w(0, 1, (a * 100 + parseFloat(e) * 100) / 100) });
            return H(n);
        }
        var gn = m(We);
        function Ye(e, r) {
            if (r === 'transparent') return r;
            var t = x(r);
            return _(f({}, t, { saturation: w(0, 1, t.saturation + parseFloat(e)) }));
        }
        var bn = m(Ye);
        function Ke(e, r) {
            return r === 'transparent' ? r : _(f({}, x(r), { hue: parseFloat(e) }));
        }
        var yn = m(Ke);
        function Ge(e, r) {
            return r === 'transparent' ? r : _(f({}, x(r), { lightness: parseFloat(e) }));
        }
        var vn = m(Ge);
        function Ue(e, r) {
            return r === 'transparent'
                ? r
                : _(f({}, x(r), { saturation: parseFloat(e) }));
        }
        var Sn = m(Ue);
        function Je(e, r) {
            return r === 'transparent' ? r : oe(parseFloat(e), 'rgb(0, 0, 0)', r);
        }
        var xn = m(Je);
        function Ze(e, r) {
            return r === 'transparent' ? r : oe(parseFloat(e), 'rgb(255, 255, 255)', r);
        }
        var _n = m(Ze);
        function Qe(e, r) {
            if (r === 'transparent') return r;
            var t = P(r),
                a = typeof t.alpha == 'number' ? t.alpha : 1,
                n = f({}, t, {
                    alpha: w(0, 1, +(a * 100 - parseFloat(e) * 100).toFixed(2) / 100),
                });
            return H(n);
        }
        var Xe = m(Qe),
            Ve = Xe,
            er = S.div(Z, ({ theme: e }) => ({
                backgroundColor:
                    e.base === 'light' ? 'rgba(0,0,0,.01)' : 'rgba(255,255,255,.01)',
                borderRadius: e.appBorderRadius,
                border: `1px dashed ${e.appBorderColor}`,
                display: 'flex',
                alignItems: 'center',
                justifyContent: 'center',
                padding: 20,
                margin: '25px 0 40px',
                color: Ve(0.3, e.color.defaultText),
                fontSize: e.typography.size.s2,
            })),
            rr = (e) =>
                u.createElement(er, {
                    ...e,
                    className: 'docblock-emptyblock sb-unstyled',
                }),
            tr = S(J)(({ theme: e }) => ({
                fontSize: `${e.typography.size.s2 - 1}px`,
                lineHeight: '19px',
                margin: '25px 0 40px',
                borderRadius: e.appBorderRadius,
                boxShadow:
                    e.base === 'light'
                        ? 'rgba(0, 0, 0, 0.10) 0 1px 3px 0'
                        : 'rgba(0, 0, 0, 0.20) 0 2px 5px 0',
                'pre.prismjs': { padding: 20, background: 'inherit' },
            })),
            ar = S.div(({ theme: e }) => ({
                background: e.background.content,
                borderRadius: e.appBorderRadius,
                border: `1px solid ${e.appBorderColor}`,
                boxShadow:
                    e.base === 'light'
                        ? 'rgba(0, 0, 0, 0.10) 0 1px 3px 0'
                        : 'rgba(0, 0, 0, 0.20) 0 2px 5px 0',
                margin: '25px 0 40px',
                padding: '20px 20px 20px 22px',
            })),
            F = S.div(({ theme: e }) => ({
                animation: `${e.animation.glow} 1.5s ease-in-out infinite`,
                background: e.appBorderColor,
                height: 17,
                marginTop: 1,
                width: '60%',
                [`&:first-child${R}`]: { margin: 0 },
            })),
            nr = () =>
                u.createElement(
                    ar,
                    null,
                    u.createElement(F, null),
                    u.createElement(F, { style: { width: '80%' } }),
                    u.createElement(F, { style: { width: '30%' } }),
                    u.createElement(F, { style: { width: '80%' } }),
                ),
            se = ({
                isLoading: e,
                error: r,
                language: t,
                code: a,
                dark: n,
                format: o = !0,
                copyable: s = !0,
                ...p
            }) => {
                let { typography: i } = I();
                if (e) return u.createElement(nr, null);
                if (r) return u.createElement(rr, null, r);
                let l = u.createElement(
                    tr,
                    {
                        bordered: !0,
                        copyable: s,
                        format: o,
                        language: t ?? 'jsx',
                        className: 'docblock-source sb-unstyled',
                        ...p,
                    },
                    a,
                );
                if (typeof n > 'u') return l;
                let g = n ? A.dark : A.light;
                return u.createElement(
                    Q,
                    {
                        theme: X({
                            ...g,
                            fontCode: i.fonts.mono,
                            fontBase: i.fonts.base,
                        }),
                    },
                    l,
                );
            };
        var Fn = __STORYBOOK_API__,
            {
                ActiveTabs: jn,
                Consumer: Hn,
                ManagerContext: An,
                Provider: zn,
                RequestResponseError: Mn,
                Tag: Bn,
                addons: q,
                combineParameters: Nn,
                controlOrMetaKey: Ln,
                controlOrMetaSymbol: Dn,
                eventMatchesShortcut: $n,
                eventToShortcut: qn,
                experimental_MockUniversalStore: Wn,
                experimental_UniversalStore: Yn,
                experimental_getStatusStore: Kn,
                experimental_getTestProviderStore: Gn,
                experimental_requestResponse: Un,
                experimental_useStatusStore: Jn,
                experimental_useTestProviderStore: Zn,
                experimental_useUniversalStore: Qn,
                internal_checklistStore: Xn,
                internal_fullStatusStore: Vn,
                internal_fullTestProviderStore: eo,
                internal_universalChecklistStore: ro,
                internal_universalStatusStore: to,
                internal_universalTestProviderStore: ao,
                isMacLike: no,
                isShortcutTaken: oo,
                keyToSymbol: so,
                merge: io,
                mockChannel: po,
                optionOrAltSymbol: uo,
                shortcutMatchesShortcut: lo,
                shortcutToAriaKeyshortcuts: fo,
                shortcutToHumanString: co,
                types: ie,
                useAddonState: mo,
                useArgTypes: ho,
                useArgs: go,
                useChannel: pe,
                useGlobalTypes: bo,
                useGlobals: yo,
                useParameter: ue,
                useSharedState: vo,
                useStoryPrepared: So,
                useStorybookApi: xo,
                useStorybookState: _o,
            } = __STORYBOOK_API__;
        var W = 'storybook/docs',
            or = `${W}/panel`,
            le = 'docs',
            de = `${W}/snippet-rendered`,
            sr = ({ active: e, lastEvent: r, currentStoryId: t }) => {
                let [a, n] = G({ source: r?.source, format: r?.format ?? void 0 }),
                    o = ue(le, { source: { code: '' }, theme: 'dark' });
                (K(() => {
                    n({ source: void 0, format: void 0 });
                }, [t]),
                    pe({
                        [de]: ({ source: p, format: i }) => {
                            n({ source: p, format: i });
                        },
                    }));
                let s = I().base !== 'light';
                return u.createElement(
                    U,
                    { active: !!e },
                    u.createElement(
                        ir,
                        null,
                        u.createElement(se, {
                            ...o.source,
                            code: o.source?.code || a.source || o.source?.originalSource,
                            format: a.format,
                            dark: s,
                        }),
                    ),
                );
            };
        q.register(W, (e) => {
            q.add(or, {
                title: 'Code',
                type: ie.PANEL,
                paramKey: le,
                disabled: (r) => !r?.docs?.codePanel,
                match: ({ viewMode: r }) => r === 'story',
                render: ({ active: r }) => {
                    let t = e.getChannel(),
                        a = e.getCurrentStoryData(),
                        n = t?.last(de)?.[0];
                    return u.createElement(sr, {
                        currentStoryId: a?.id,
                        lastEvent: n,
                        active: r,
                    });
                },
            });
        });
        var ir = S.div(() => ({
            height: '100%',
            [`> :first-child${R}`]: { margin: 0, height: '100%', boxShadow: 'none' },
        }));
    })();
} catch (e) {
    console.error(
        '[Storybook] One of your manager-entries failed: ' + import.meta.url,
        e,
    );
}
