{"ast":null,"code":"import { __spreadArray as e, __assign as t } from \"tslib\";\nimport n from \"@emotion/is-prop-valid\";\nimport o, { useRef as r, useState as s, useMemo as i, useEffect as a, useContext as c, useDebugValue as l, createElement as u } from \"react\";\nimport p from \"shallowequal\";\nimport * as d from \"stylis\";\nimport h from \"@emotion/unitless\";\nvar f = \"undefined\" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || \"data-styled\",\n m = \"active\",\n y = \"data-styled-version\",\n v = \"6.1.18\",\n g = \"/*!sc*/\\n\",\n S = \"undefined\" != typeof window && \"undefined\" != typeof document,\n w = Boolean(\"boolean\" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : \"undefined\" != typeof process && void 0 !== process.env && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && \"\" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? \"false\" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : \"undefined\" != typeof process && void 0 !== process.env && void 0 !== process.env.SC_DISABLE_SPEEDY && \"\" !== process.env.SC_DISABLE_SPEEDY ? \"false\" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : \"production\" !== process.env.NODE_ENV),\n b = {},\n E = /invalid hook call/i,\n N = new Set(),\n P = function (t, n) {\n if (\"production\" !== process.env.NODE_ENV) {\n var o = n ? ' with the id of \"'.concat(n, '\"') : \"\",\n s = \"The component \".concat(t).concat(o, \" has been created dynamically.\\n\") + \"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\\n\",\n i = console.error;\n try {\n var a = !0;\n console.error = function (t) {\n for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];\n E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, e([t], n, !1));\n }, r(), a && !N.has(s) && (console.warn(s), N.add(s));\n } catch (e) {\n E.test(e.message) && N.delete(s);\n } finally {\n console.error = i;\n }\n }\n },\n _ = Object.freeze([]),\n C = Object.freeze({});\nfunction I(e, t, n) {\n return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;\n}\nvar A = new Set([\"a\", \"abbr\", \"address\", \"area\", \"article\", \"aside\", \"audio\", \"b\", \"base\", \"bdi\", \"bdo\", \"big\", \"blockquote\", \"body\", \"br\", \"button\", \"canvas\", \"caption\", \"cite\", \"code\", \"col\", \"colgroup\", \"data\", \"datalist\", \"dd\", \"del\", \"details\", \"dfn\", \"dialog\", \"div\", \"dl\", \"dt\", \"em\", \"embed\", \"fieldset\", \"figcaption\", \"figure\", \"footer\", \"form\", \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"header\", \"hgroup\", \"hr\", \"html\", \"i\", \"iframe\", \"img\", \"input\", \"ins\", \"kbd\", \"keygen\", \"label\", \"legend\", \"li\", \"link\", \"main\", \"map\", \"mark\", \"menu\", \"menuitem\", \"meta\", \"meter\", \"nav\", \"noscript\", \"object\", \"ol\", \"optgroup\", \"option\", \"output\", \"p\", \"param\", \"picture\", \"pre\", \"progress\", \"q\", \"rp\", \"rt\", \"ruby\", \"s\", \"samp\", \"script\", \"section\", \"select\", \"small\", \"source\", \"span\", \"strong\", \"style\", \"sub\", \"summary\", \"sup\", \"table\", \"tbody\", \"td\", \"textarea\", \"tfoot\", \"th\", \"thead\", \"time\", \"tr\", \"track\", \"u\", \"ul\", \"use\", \"var\", \"video\", \"wbr\", \"circle\", \"clipPath\", \"defs\", \"ellipse\", \"foreignObject\", \"g\", \"image\", \"line\", \"linearGradient\", \"marker\", \"mask\", \"path\", \"pattern\", \"polygon\", \"polyline\", \"radialGradient\", \"rect\", \"stop\", \"svg\", \"text\", \"tspan\"]),\n O = /[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,\n D = /(^-|-$)/g;\nfunction R(e) {\n return e.replace(O, \"-\").replace(D, \"\");\n}\nvar T = /(a)(d)/gi,\n k = 52,\n j = function (e) {\n return String.fromCharCode(e + (e > 25 ? 39 : 97));\n };\nfunction x(e) {\n var t,\n n = \"\";\n for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;\n return (j(t % k) + n).replace(T, \"$1-$2\");\n}\nvar V,\n F = 5381,\n M = function (e, t) {\n for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);\n return e;\n },\n z = function (e) {\n return M(F, e);\n };\nfunction $(e) {\n return x(z(e) >>> 0);\n}\nfunction B(e) {\n return \"production\" !== process.env.NODE_ENV && \"string\" == typeof e && e || e.displayName || e.name || \"Component\";\n}\nfunction L(e) {\n return \"string\" == typeof e && (\"production\" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());\n}\nvar G = \"function\" == typeof Symbol && Symbol.for,\n Y = G ? Symbol.for(\"react.memo\") : 60115,\n W = G ? Symbol.for(\"react.forward_ref\") : 60112,\n q = {\n childContextTypes: !0,\n contextType: !0,\n contextTypes: !0,\n defaultProps: !0,\n displayName: !0,\n getDefaultProps: !0,\n getDerivedStateFromError: !0,\n getDerivedStateFromProps: !0,\n mixins: !0,\n propTypes: !0,\n type: !0\n },\n H = {\n name: !0,\n length: !0,\n prototype: !0,\n caller: !0,\n callee: !0,\n arguments: !0,\n arity: !0\n },\n U = {\n $$typeof: !0,\n compare: !0,\n defaultProps: !0,\n displayName: !0,\n propTypes: !0,\n type: !0\n },\n J = ((V = {})[W] = {\n $$typeof: !0,\n render: !0,\n defaultProps: !0,\n displayName: !0,\n propTypes: !0\n }, V[Y] = U, V);\nfunction X(e) {\n return (\"type\" in (t = e) && t.type.$$typeof) === Y ? U : \"$$typeof\" in e ? J[e.$$typeof] : q;\n var t;\n}\nvar Z = Object.defineProperty,\n K = Object.getOwnPropertyNames,\n Q = Object.getOwnPropertySymbols,\n ee = Object.getOwnPropertyDescriptor,\n te = Object.getPrototypeOf,\n ne = Object.prototype;\nfunction oe(e, t, n) {\n if (\"string\" != typeof t) {\n if (ne) {\n var o = te(t);\n o && o !== ne && oe(e, o, n);\n }\n var r = K(t);\n Q && (r = r.concat(Q(t)));\n for (var s = X(e), i = X(t), a = 0; a < r.length; ++a) {\n var c = r[a];\n if (!(c in H || n && n[c] || i && c in i || s && c in s)) {\n var l = ee(t, c);\n try {\n Z(e, c, l);\n } catch (e) {}\n }\n }\n }\n return e;\n}\nfunction re(e) {\n return \"function\" == typeof e;\n}\nfunction se(e) {\n return \"object\" == typeof e && \"styledComponentId\" in e;\n}\nfunction ie(e, t) {\n return e && t ? \"\".concat(e, \" \").concat(t) : e || t || \"\";\n}\nfunction ae(e, t) {\n if (0 === e.length) return \"\";\n for (var n = e[0], o = 1; o < e.length; o++) n += t ? t + e[o] : e[o];\n return n;\n}\nfunction ce(e) {\n return null !== e && \"object\" == typeof e && e.constructor.name === Object.name && !(\"props\" in e && e.$$typeof);\n}\nfunction le(e, t, n) {\n if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;\n if (Array.isArray(t)) for (var o = 0; o < t.length; o++) e[o] = le(e[o], t[o]);else if (ce(t)) for (var o in t) e[o] = le(e[o], t[o]);\n return e;\n}\nfunction ue(e, t) {\n Object.defineProperty(e, \"toString\", {\n value: t\n });\n}\nvar pe = \"production\" !== process.env.NODE_ENV ? {\n 1: \"Cannot create styled-component for component: %s.\\n\\n\",\n 2: \"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",\n 3: \"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",\n 4: \"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",\n 5: \"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",\n 6: \"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",\n 7: 'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',\n 8: 'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',\n 9: \"Missing document `
`\\n\\n\",\n 10: \"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",\n 11: \"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",\n 12: \"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",\n 13: \"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",\n 14: 'ThemeProvider: \"theme\" prop is required.\\n\\n',\n 15: \"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `