@intlayer/design-system 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +30 -0
- package/dist/.vite/manifest.json +953 -0
- package/dist/MarkDownRender-BeQGOIow.cjs +14 -0
- package/dist/MarkDownRender-gURA8GAt.js +315 -0
- package/dist/StringWrapper-CW70GPXq.js +28 -0
- package/dist/StringWrapper-DUDqtkwz.cjs +1 -0
- package/dist/check-BLEiR8OY.js +12 -0
- package/dist/check-rhNgx2ZQ.cjs +6 -0
- package/dist/components/Accordion/Accordion.cjs.js +8 -0
- package/dist/components/Accordion/Accordion.d.ts +10 -0
- package/dist/components/Accordion/Accordion.es.js +48 -0
- package/dist/components/Accordion/index.cjs.js +1 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/index.es.js +5 -0
- package/dist/components/Avatar/index.cjs.js +6 -0
- package/dist/components/Avatar/index.d.ts +9 -0
- package/dist/components/Avatar/index.es.js +71 -0
- package/dist/components/Button/index.cjs.js +6 -0
- package/dist/components/Button/index.d.ts +22 -0
- package/dist/components/Button/index.es.js +306 -0
- package/dist/components/Container/index.cjs.js +7 -0
- package/dist/components/Container/index.d.ts +23 -0
- package/dist/components/Container/index.es.js +152 -0
- package/dist/components/ContentEditor/ContentEditor.cjs.js +5 -0
- package/dist/components/ContentEditor/ContentEditor.d.ts +8 -0
- package/dist/components/ContentEditor/ContentEditor.es.js +75 -0
- package/dist/components/ContentEditor/index.cjs.js +1 -0
- package/dist/components/ContentEditor/index.d.ts +1 -0
- package/dist/components/ContentEditor/index.es.js +5 -0
- package/dist/components/ContentSelector/ContentSelector.cjs.js +1 -0
- package/dist/components/ContentSelector/ContentSelector.d.ts +11 -0
- package/dist/components/ContentSelector/ContentSelector.es.js +14 -0
- package/dist/components/ContentSelector/index.cjs.js +1 -0
- package/dist/components/ContentSelector/index.d.ts +1 -0
- package/dist/components/ContentSelector/index.es.js +5 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs.js +1 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.d.ts +20 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.es.js +25 -0
- package/dist/components/DictionaryEditor/ItemLayout.cjs.js +1 -0
- package/dist/components/DictionaryEditor/ItemLayout.d.ts +16 -0
- package/dist/components/DictionaryEditor/ItemLayout.es.js +81 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs.js +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.d.ts +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.es.js +10 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs.js +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.d.ts +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.es.js +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs.js +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.d.ts +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.es.js +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.js +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.d.ts +8 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.es.js +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs.js +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.d.ts +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.es.js +7 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.cjs.js +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts +19 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.es.js +9 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.js +1 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts +10 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.es.js +40 -0
- package/dist/components/DictionaryEditor/index.cjs.js +1 -0
- package/dist/components/DictionaryEditor/index.d.ts +1 -0
- package/dist/components/DictionaryEditor/index.es.js +5 -0
- package/dist/components/DropDown/index.cjs.js +5 -0
- package/dist/components/DropDown/index.d.ts +3 -0
- package/dist/components/DropDown/index.es.js +50 -0
- package/dist/components/DropDown/types.cjs.js +1 -0
- package/dist/components/DropDown/types.d.ts +15 -0
- package/dist/components/DropDown/types.es.js +1 -0
- package/dist/components/Footer/index.cjs.js +1 -0
- package/dist/components/Footer/index.d.ts +17 -0
- package/dist/components/Footer/index.es.js +64 -0
- package/dist/components/Headers/index.cjs.js +1 -0
- package/dist/components/Headers/index.d.ts +5 -0
- package/dist/components/Headers/index.es.js +35 -0
- package/dist/components/IDE/CodeRender.cjs.js +11 -0
- package/dist/components/IDE/CodeRender.d.ts +10 -0
- package/dist/components/IDE/CodeRender.es.js +833 -0
- package/dist/components/IDE/IDE.cjs.js +1 -0
- package/dist/components/IDE/IDE.d.ts +10 -0
- package/dist/components/IDE/IDE.es.js +124 -0
- package/dist/components/IDE/MarkDownRender.cjs.js +1 -0
- package/dist/components/IDE/MarkDownRender.d.ts +8 -0
- package/dist/components/IDE/MarkDownRender.es.js +7 -0
- package/dist/components/IDE/index.cjs.js +1 -0
- package/dist/components/IDE/index.d.ts +2 -0
- package/dist/components/IDE/index.es.js +7 -0
- package/dist/components/Loader/index.cjs.js +1 -0
- package/dist/components/Loader/index.d.ts +6 -0
- package/dist/components/Loader/index.es.js +21 -0
- package/dist/components/Loader/spinner.cjs.js +1 -0
- package/dist/components/Loader/spinner.d.ts +7 -0
- package/dist/components/Loader/spinner.es.js +22 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.js +6 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +11 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.es.js +571 -0
- package/dist/components/LocaleSwitcherDropDown/index.cjs.js +1 -0
- package/dist/components/LocaleSwitcherDropDown/index.d.ts +1 -0
- package/dist/components/LocaleSwitcherDropDown/index.es.js +5 -0
- package/dist/components/Logo/LogoCircle.cjs.js +1 -0
- package/dist/components/Logo/LogoCircle.d.ts +4 -0
- package/dist/components/Logo/LogoCircle.es.js +12 -0
- package/dist/components/Logo/LogoNoFrame.cjs.js +1 -0
- package/dist/components/Logo/LogoNoFrame.d.ts +4 -0
- package/dist/components/Logo/LogoNoFrame.es.js +28 -0
- package/dist/components/Logo/LogoSquare.cjs.js +1 -0
- package/dist/components/Logo/LogoSquare.d.ts +4 -0
- package/dist/components/Logo/LogoSquare.es.js +12 -0
- package/dist/components/Logo/LogoSquircle.cjs.js +1 -0
- package/dist/components/Logo/LogoSquircle.d.ts +4 -0
- package/dist/components/Logo/LogoSquircle.es.js +17 -0
- package/dist/components/Logo/LogoTextOnly.cjs.js +1 -0
- package/dist/components/Logo/LogoTextOnly.d.ts +4 -0
- package/dist/components/Logo/LogoTextOnly.es.js +28 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.cjs.js +1 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.d.ts +4 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.es.js +30 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.cjs.js +1 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.d.ts +4 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.es.js +28 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.cjs.js +1 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.d.ts +4 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.es.js +17 -0
- package/dist/components/Logo/LogoWithTextCircle.cjs.js +1 -0
- package/dist/components/Logo/LogoWithTextCircle.d.ts +4 -0
- package/dist/components/Logo/LogoWithTextCircle.es.js +51 -0
- package/dist/components/Logo/LogoWithTextNoFrame.cjs.js +1 -0
- package/dist/components/Logo/LogoWithTextNoFrame.d.ts +4 -0
- package/dist/components/Logo/LogoWithTextNoFrame.es.js +28 -0
- package/dist/components/Logo/LogoWithTextSquircle.cjs.js +1 -0
- package/dist/components/Logo/LogoWithTextSquircle.d.ts +4 -0
- package/dist/components/Logo/LogoWithTextSquircle.es.js +17 -0
- package/dist/components/Logo/index.cjs.js +1 -0
- package/dist/components/Logo/index.d.ts +20 -0
- package/dist/components/Logo/index.es.js +65 -0
- package/dist/components/MarkDownRender/index.cjs.js +1 -0
- package/dist/components/MarkDownRender/index.d.ts +8 -0
- package/dist/components/MarkDownRender/index.es.js +84 -0
- package/dist/components/MaxHeightSmoother/index.cjs.js +6 -0
- package/dist/components/MaxHeightSmoother/index.d.ts +11 -0
- package/dist/components/MaxHeightSmoother/index.es.js +52 -0
- package/dist/components/MaxWidthSmoother/index.cjs.js +6 -0
- package/dist/components/MaxWidthSmoother/index.d.ts +11 -0
- package/dist/components/MaxWidthSmoother/index.es.js +39 -0
- package/dist/components/Modal/index.cjs.js +1 -0
- package/dist/components/Modal/index.d.ts +9 -0
- package/dist/components/Modal/index.es.js +64 -0
- package/dist/components/Navbar/Burger.cjs.js +1 -0
- package/dist/components/Navbar/Burger.d.ts +7 -0
- package/dist/components/Navbar/Burger.es.js +84 -0
- package/dist/components/Navbar/DesktopNavbar.cjs.js +7 -0
- package/dist/components/Navbar/DesktopNavbar.d.ts +10 -0
- package/dist/components/Navbar/DesktopNavbar.es.js +76 -0
- package/dist/components/Navbar/MobileNavbar.cjs.js +9 -0
- package/dist/components/Navbar/MobileNavbar.d.ts +12 -0
- package/dist/components/Navbar/MobileNavbar.es.js +199 -0
- package/dist/components/Navbar/index.cjs.js +1 -0
- package/dist/components/Navbar/index.d.ts +20 -0
- package/dist/components/Navbar/index.es.js +25 -0
- package/dist/components/Navbar/useNavigation.cjs.js +1 -0
- package/dist/components/Navbar/useNavigation.d.ts +5 -0
- package/dist/components/Navbar/useNavigation.es.js +39 -0
- package/dist/components/Popover/index.cjs.js +1 -0
- package/dist/components/Popover/index.d.ts +8 -0
- package/dist/components/Popover/index.es.js +48 -0
- package/dist/components/PressableDiv/PressableDiv.cjs.js +1 -0
- package/dist/components/PressableDiv/PressableDiv.d.ts +10 -0
- package/dist/components/PressableDiv/PressableDiv.es.js +62 -0
- package/dist/components/PressableDiv/index.cjs.js +1 -0
- package/dist/components/PressableDiv/index.d.ts +1 -0
- package/dist/components/PressableDiv/index.es.js +5 -0
- package/dist/components/ProfileDropDown/index.cjs.js +6 -0
- package/dist/components/ProfileDropDown/index.d.ts +6 -0
- package/dist/components/ProfileDropDown/index.es.js +37 -0
- package/dist/components/RedirectionButton/RedirectionButton.cjs.js +6 -0
- package/dist/components/RedirectionButton/RedirectionButton.d.ts +8 -0
- package/dist/components/RedirectionButton/RedirectionButton.es.js +42 -0
- package/dist/components/RedirectionButton/index.cjs.js +1 -0
- package/dist/components/RedirectionButton/index.d.ts +1 -0
- package/dist/components/RedirectionButton/index.es.js +5 -0
- package/dist/components/RightDrawer/RightDrawer.cjs.js +8 -0
- package/dist/components/RightDrawer/RightDrawer.d.ts +16 -0
- package/dist/components/RightDrawer/RightDrawer.es.js +118 -0
- package/dist/components/RightDrawer/index.cjs.js +1 -0
- package/dist/components/RightDrawer/index.d.ts +2 -0
- package/dist/components/RightDrawer/index.es.js +8 -0
- package/dist/components/RightDrawer/useRightDrawerStore.cjs.js +1 -0
- package/dist/components/RightDrawer/useRightDrawerStore.d.ts +8 -0
- package/dist/components/RightDrawer/useRightDrawerStore.es.js +15 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.js +1 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts +10 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.es.js +69 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.cjs.js +1 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts +10 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.es.js +65 -0
- package/dist/components/ThemeSwitcherDropDown/index.cjs.js +1 -0
- package/dist/components/ThemeSwitcherDropDown/index.d.ts +3 -0
- package/dist/components/ThemeSwitcherDropDown/index.es.js +9 -0
- package/dist/components/ThemeSwitcherDropDown/types.cjs.js +1 -0
- package/dist/components/ThemeSwitcherDropDown/types.d.ts +5 -0
- package/dist/components/ThemeSwitcherDropDown/types.es.js +5 -0
- package/dist/components/index.cjs.js +1 -0
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.es.js +61 -0
- package/dist/createLucideIcon-DlZEiEGq.js +80 -0
- package/dist/createLucideIcon-ZOnO-fn6.cjs +21 -0
- package/dist/hooks/index.cjs.js +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.es.js +13 -0
- package/dist/hooks/useDevice.cjs.js +1 -0
- package/dist/hooks/useDevice.d.ts +8 -0
- package/dist/hooks/useDevice.es.js +48 -0
- package/dist/hooks/useGetElementOrWindow.cjs.js +1 -0
- package/dist/hooks/useGetElementOrWindow.d.ts +1 -0
- package/dist/hooks/useGetElementOrWindow.es.js +11 -0
- package/dist/hooks/useIsMounted.cjs.js +1 -0
- package/dist/hooks/useIsMounted.d.ts +1 -0
- package/dist/hooks/useIsMounted.es.js +11 -0
- package/dist/hooks/useScrollBlockage/index.cjs.js +1 -0
- package/dist/hooks/useScrollBlockage/index.d.ts +14 -0
- package/dist/hooks/useScrollBlockage/index.es.js +24 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.cjs.js +1 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +12 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.es.js +40 -0
- package/dist/hooks/useScrollDetection.cjs.js +1 -0
- package/dist/hooks/useScrollDetection.d.ts +13 -0
- package/dist/hooks/useScrollDetection.es.js +41 -0
- package/dist/index-B2ncVbtX.cjs +1 -0
- package/dist/index-D-PWvdb-.js +91 -0
- package/dist/intlayer-editor/src/client/renderContentEditor.d.ts +14 -0
- package/dist/jsx-runtime-D6agescH.cjs +30 -0
- package/dist/jsx-runtime-Tw_Kw2GZ.js +638 -0
- package/dist/localeList-CaRF-907.js +300 -0
- package/dist/localeList-DlUgKn8J.cjs +1 -0
- package/dist/motion-BuKul-u9.cjs +1 -0
- package/dist/motion-CP5YERk7.js +4517 -0
- package/dist/styled-components.browser.esm-D6kkzXl4.js +1085 -0
- package/dist/styled-components.browser.esm-GqWwDlfY.cjs +58 -0
- package/dist/sun-BQYZHcpc.cjs +16 -0
- package/dist/sun-BrKC5Qwg.js +49 -0
- package/dist/utils/capitalize.cjs.js +1 -0
- package/dist/utils/capitalize.d.ts +1 -0
- package/dist/utils/capitalize.es.js +5 -0
- package/dist/utils/cn.cjs.js +1 -0
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.es.js +2338 -0
- package/dist/x-BKwnSvvj.js +15 -0
- package/dist/x-DIXoN4xe.cjs +6 -0
- package/package.json +84 -0
|
@@ -0,0 +1,1085 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import ce, { useRef as qt, useDebugValue as Qe, createElement as Ut, useContext as Xt } from "react";
|
|
3
|
+
var _ = function() {
|
|
4
|
+
return _ = Object.assign || function(t) {
|
|
5
|
+
for (var r, n = 1, o = arguments.length; n < o; n++) {
|
|
6
|
+
r = arguments[n];
|
|
7
|
+
for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
}, _.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
function X(e, t, r) {
|
|
13
|
+
if (r || arguments.length === 2) for (var n = 0, o = t.length, a; n < o; n++)
|
|
14
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
15
|
+
return e.concat(a || Array.prototype.slice.call(t));
|
|
16
|
+
}
|
|
17
|
+
function Kt(e) {
|
|
18
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
19
|
+
return function(r) {
|
|
20
|
+
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
var Zt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Jt = /* @__PURE__ */ Kt(
|
|
24
|
+
function(e) {
|
|
25
|
+
return Zt.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
26
|
+
}
|
|
27
|
+
/* Z+1 */
|
|
28
|
+
), b = "-ms-", se = "-moz-", m = "-webkit-", yt = "comm", Ee = "rule", Ye = "decl", Qt = "@import", vt = "@keyframes", er = "@layer", wt = Math.abs, We = String.fromCharCode, Me = Object.assign;
|
|
29
|
+
function tr(e, t) {
|
|
30
|
+
return N(e, 0) ^ 45 ? (((t << 2 ^ N(e, 0)) << 2 ^ N(e, 1)) << 2 ^ N(e, 2)) << 2 ^ N(e, 3) : 0;
|
|
31
|
+
}
|
|
32
|
+
function bt(e) {
|
|
33
|
+
return e.trim();
|
|
34
|
+
}
|
|
35
|
+
function j(e, t) {
|
|
36
|
+
return (e = t.exec(e)) ? e[0] : e;
|
|
37
|
+
}
|
|
38
|
+
function u(e, t, r) {
|
|
39
|
+
return e.replace(t, r);
|
|
40
|
+
}
|
|
41
|
+
function ge(e, t, r) {
|
|
42
|
+
return e.indexOf(t, r);
|
|
43
|
+
}
|
|
44
|
+
function N(e, t) {
|
|
45
|
+
return e.charCodeAt(t) | 0;
|
|
46
|
+
}
|
|
47
|
+
function K(e, t, r) {
|
|
48
|
+
return e.slice(t, r);
|
|
49
|
+
}
|
|
50
|
+
function D(e) {
|
|
51
|
+
return e.length;
|
|
52
|
+
}
|
|
53
|
+
function St(e) {
|
|
54
|
+
return e.length;
|
|
55
|
+
}
|
|
56
|
+
function ie(e, t) {
|
|
57
|
+
return t.push(e), e;
|
|
58
|
+
}
|
|
59
|
+
function rr(e, t) {
|
|
60
|
+
return e.map(t).join("");
|
|
61
|
+
}
|
|
62
|
+
function et(e, t) {
|
|
63
|
+
return e.filter(function(r) {
|
|
64
|
+
return !j(r, t);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
var xe = 1, Z = 1, kt = 0, I = 0, P = 0, te = "";
|
|
68
|
+
function Ce(e, t, r, n, o, a, i, c) {
|
|
69
|
+
return { value: e, root: t, parent: r, type: n, props: o, children: a, line: xe, column: Z, length: i, return: "", siblings: c };
|
|
70
|
+
}
|
|
71
|
+
function z(e, t) {
|
|
72
|
+
return Me(Ce("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
|
|
73
|
+
}
|
|
74
|
+
function U(e) {
|
|
75
|
+
for (; e.root; )
|
|
76
|
+
e = z(e.root, { children: [e] });
|
|
77
|
+
ie(e, e.siblings);
|
|
78
|
+
}
|
|
79
|
+
function nr() {
|
|
80
|
+
return P;
|
|
81
|
+
}
|
|
82
|
+
function or() {
|
|
83
|
+
return P = I > 0 ? N(te, --I) : 0, Z--, P === 10 && (Z = 1, xe--), P;
|
|
84
|
+
}
|
|
85
|
+
function T() {
|
|
86
|
+
return P = I < kt ? N(te, I++) : 0, Z++, P === 10 && (Z = 1, xe++), P;
|
|
87
|
+
}
|
|
88
|
+
function G() {
|
|
89
|
+
return N(te, I);
|
|
90
|
+
}
|
|
91
|
+
function ye() {
|
|
92
|
+
return I;
|
|
93
|
+
}
|
|
94
|
+
function Ae(e, t) {
|
|
95
|
+
return K(te, e, t);
|
|
96
|
+
}
|
|
97
|
+
function ze(e) {
|
|
98
|
+
switch (e) {
|
|
99
|
+
case 0:
|
|
100
|
+
case 9:
|
|
101
|
+
case 10:
|
|
102
|
+
case 13:
|
|
103
|
+
case 32:
|
|
104
|
+
return 5;
|
|
105
|
+
case 33:
|
|
106
|
+
case 43:
|
|
107
|
+
case 44:
|
|
108
|
+
case 47:
|
|
109
|
+
case 62:
|
|
110
|
+
case 64:
|
|
111
|
+
case 126:
|
|
112
|
+
case 59:
|
|
113
|
+
case 123:
|
|
114
|
+
case 125:
|
|
115
|
+
return 4;
|
|
116
|
+
case 58:
|
|
117
|
+
return 3;
|
|
118
|
+
case 34:
|
|
119
|
+
case 39:
|
|
120
|
+
case 40:
|
|
121
|
+
case 91:
|
|
122
|
+
return 2;
|
|
123
|
+
case 41:
|
|
124
|
+
case 93:
|
|
125
|
+
return 1;
|
|
126
|
+
}
|
|
127
|
+
return 0;
|
|
128
|
+
}
|
|
129
|
+
function ar(e) {
|
|
130
|
+
return xe = Z = 1, kt = D(te = e), I = 0, [];
|
|
131
|
+
}
|
|
132
|
+
function ir(e) {
|
|
133
|
+
return te = "", e;
|
|
134
|
+
}
|
|
135
|
+
function Te(e) {
|
|
136
|
+
return bt(Ae(I - 1, Le(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
137
|
+
}
|
|
138
|
+
function sr(e) {
|
|
139
|
+
for (; (P = G()) && P < 33; )
|
|
140
|
+
T();
|
|
141
|
+
return ze(e) > 2 || ze(P) > 3 ? "" : " ";
|
|
142
|
+
}
|
|
143
|
+
function cr(e, t) {
|
|
144
|
+
for (; --t && T() && !(P < 48 || P > 102 || P > 57 && P < 65 || P > 70 && P < 97); )
|
|
145
|
+
;
|
|
146
|
+
return Ae(e, ye() + (t < 6 && G() == 32 && T() == 32));
|
|
147
|
+
}
|
|
148
|
+
function Le(e) {
|
|
149
|
+
for (; T(); )
|
|
150
|
+
switch (P) {
|
|
151
|
+
case e:
|
|
152
|
+
return I;
|
|
153
|
+
case 34:
|
|
154
|
+
case 39:
|
|
155
|
+
e !== 34 && e !== 39 && Le(P);
|
|
156
|
+
break;
|
|
157
|
+
case 40:
|
|
158
|
+
e === 41 && Le(e);
|
|
159
|
+
break;
|
|
160
|
+
case 92:
|
|
161
|
+
T();
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
return I;
|
|
165
|
+
}
|
|
166
|
+
function ur(e, t) {
|
|
167
|
+
for (; T() && e + P !== 57; )
|
|
168
|
+
if (e + P === 84 && G() === 47)
|
|
169
|
+
break;
|
|
170
|
+
return "/*" + Ae(t, I - 1) + "*" + We(e === 47 ? e : T());
|
|
171
|
+
}
|
|
172
|
+
function lr(e) {
|
|
173
|
+
for (; !ze(G()); )
|
|
174
|
+
T();
|
|
175
|
+
return Ae(e, I);
|
|
176
|
+
}
|
|
177
|
+
function pr(e) {
|
|
178
|
+
return ir(ve("", null, null, null, [""], e = ar(e), 0, [0], e));
|
|
179
|
+
}
|
|
180
|
+
function ve(e, t, r, n, o, a, i, c, s) {
|
|
181
|
+
for (var p = 0, g = 0, f = i, y = 0, v = 0, k = 0, C = 1, O = 1, A = 1, E = 0, w = "", S = o, x = a, d = n, l = w; O; )
|
|
182
|
+
switch (k = E, E = T()) {
|
|
183
|
+
case 40:
|
|
184
|
+
if (k != 108 && N(l, f - 1) == 58) {
|
|
185
|
+
ge(l += u(Te(E), "&", "&\f"), "&\f", wt(p ? c[p - 1] : 0)) != -1 && (A = -1);
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
case 34:
|
|
189
|
+
case 39:
|
|
190
|
+
case 91:
|
|
191
|
+
l += Te(E);
|
|
192
|
+
break;
|
|
193
|
+
case 9:
|
|
194
|
+
case 10:
|
|
195
|
+
case 13:
|
|
196
|
+
case 32:
|
|
197
|
+
l += sr(k);
|
|
198
|
+
break;
|
|
199
|
+
case 92:
|
|
200
|
+
l += cr(ye() - 1, 7);
|
|
201
|
+
continue;
|
|
202
|
+
case 47:
|
|
203
|
+
switch (G()) {
|
|
204
|
+
case 42:
|
|
205
|
+
case 47:
|
|
206
|
+
ie(dr(ur(T(), ye()), t, r, s), s);
|
|
207
|
+
break;
|
|
208
|
+
default:
|
|
209
|
+
l += "/";
|
|
210
|
+
}
|
|
211
|
+
break;
|
|
212
|
+
case 123 * C:
|
|
213
|
+
c[p++] = D(l) * A;
|
|
214
|
+
case 125 * C:
|
|
215
|
+
case 59:
|
|
216
|
+
case 0:
|
|
217
|
+
switch (E) {
|
|
218
|
+
case 0:
|
|
219
|
+
case 125:
|
|
220
|
+
O = 0;
|
|
221
|
+
case 59 + g:
|
|
222
|
+
A == -1 && (l = u(l, /\f/g, "")), v > 0 && D(l) - f && ie(v > 32 ? rt(l + ";", n, r, f - 1, s) : rt(u(l, " ", "") + ";", n, r, f - 2, s), s);
|
|
223
|
+
break;
|
|
224
|
+
case 59:
|
|
225
|
+
l += ";";
|
|
226
|
+
default:
|
|
227
|
+
if (ie(d = tt(l, t, r, p, g, o, c, w, S = [], x = [], f, a), a), E === 123)
|
|
228
|
+
if (g === 0)
|
|
229
|
+
ve(l, t, d, d, S, a, f, c, x);
|
|
230
|
+
else
|
|
231
|
+
switch (y === 99 && N(l, 3) === 110 ? 100 : y) {
|
|
232
|
+
case 100:
|
|
233
|
+
case 108:
|
|
234
|
+
case 109:
|
|
235
|
+
case 115:
|
|
236
|
+
ve(e, d, d, n && ie(tt(e, d, d, 0, 0, o, c, w, o, S = [], f, x), x), o, x, f, c, n ? S : x);
|
|
237
|
+
break;
|
|
238
|
+
default:
|
|
239
|
+
ve(l, d, d, d, [""], x, 0, c, x);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
p = g = v = 0, C = A = 1, w = l = "", f = i;
|
|
243
|
+
break;
|
|
244
|
+
case 58:
|
|
245
|
+
f = 1 + D(l), v = k;
|
|
246
|
+
default:
|
|
247
|
+
if (C < 1) {
|
|
248
|
+
if (E == 123)
|
|
249
|
+
--C;
|
|
250
|
+
else if (E == 125 && C++ == 0 && or() == 125)
|
|
251
|
+
continue;
|
|
252
|
+
}
|
|
253
|
+
switch (l += We(E), E * C) {
|
|
254
|
+
case 38:
|
|
255
|
+
A = g > 0 ? 1 : (l += "\f", -1);
|
|
256
|
+
break;
|
|
257
|
+
case 44:
|
|
258
|
+
c[p++] = (D(l) - 1) * A, A = 1;
|
|
259
|
+
break;
|
|
260
|
+
case 64:
|
|
261
|
+
G() === 45 && (l += Te(T())), y = G(), g = f = D(w = l += lr(ye())), E++;
|
|
262
|
+
break;
|
|
263
|
+
case 45:
|
|
264
|
+
k === 45 && D(l) == 2 && (C = 0);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
return a;
|
|
268
|
+
}
|
|
269
|
+
function tt(e, t, r, n, o, a, i, c, s, p, g, f) {
|
|
270
|
+
for (var y = o - 1, v = o === 0 ? a : [""], k = St(v), C = 0, O = 0, A = 0; C < n; ++C)
|
|
271
|
+
for (var E = 0, w = K(e, y + 1, y = wt(O = i[C])), S = e; E < k; ++E)
|
|
272
|
+
(S = bt(O > 0 ? v[E] + " " + w : u(w, /&\f/g, v[E]))) && (s[A++] = S);
|
|
273
|
+
return Ce(e, t, r, o === 0 ? Ee : c, s, p, g, f);
|
|
274
|
+
}
|
|
275
|
+
function dr(e, t, r, n) {
|
|
276
|
+
return Ce(e, t, r, yt, We(nr()), K(e, 2, -2), 0, n);
|
|
277
|
+
}
|
|
278
|
+
function rt(e, t, r, n, o) {
|
|
279
|
+
return Ce(e, t, r, Ye, K(e, 0, n), K(e, n + 1, -1), n, o);
|
|
280
|
+
}
|
|
281
|
+
function Et(e, t, r) {
|
|
282
|
+
switch (tr(e, t)) {
|
|
283
|
+
case 5103:
|
|
284
|
+
return m + "print-" + e + e;
|
|
285
|
+
case 5737:
|
|
286
|
+
case 4201:
|
|
287
|
+
case 3177:
|
|
288
|
+
case 3433:
|
|
289
|
+
case 1641:
|
|
290
|
+
case 4457:
|
|
291
|
+
case 2921:
|
|
292
|
+
case 5572:
|
|
293
|
+
case 6356:
|
|
294
|
+
case 5844:
|
|
295
|
+
case 3191:
|
|
296
|
+
case 6645:
|
|
297
|
+
case 3005:
|
|
298
|
+
case 6391:
|
|
299
|
+
case 5879:
|
|
300
|
+
case 5623:
|
|
301
|
+
case 6135:
|
|
302
|
+
case 4599:
|
|
303
|
+
case 4855:
|
|
304
|
+
case 4215:
|
|
305
|
+
case 6389:
|
|
306
|
+
case 5109:
|
|
307
|
+
case 5365:
|
|
308
|
+
case 5621:
|
|
309
|
+
case 3829:
|
|
310
|
+
return m + e + e;
|
|
311
|
+
case 4789:
|
|
312
|
+
return se + e + e;
|
|
313
|
+
case 5349:
|
|
314
|
+
case 4246:
|
|
315
|
+
case 4810:
|
|
316
|
+
case 6968:
|
|
317
|
+
case 2756:
|
|
318
|
+
return m + e + se + e + b + e + e;
|
|
319
|
+
case 5936:
|
|
320
|
+
switch (N(e, t + 11)) {
|
|
321
|
+
case 114:
|
|
322
|
+
return m + e + b + u(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
323
|
+
case 108:
|
|
324
|
+
return m + e + b + u(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
325
|
+
case 45:
|
|
326
|
+
return m + e + b + u(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
327
|
+
}
|
|
328
|
+
case 6828:
|
|
329
|
+
case 4268:
|
|
330
|
+
case 2903:
|
|
331
|
+
return m + e + b + e + e;
|
|
332
|
+
case 6165:
|
|
333
|
+
return m + e + b + "flex-" + e + e;
|
|
334
|
+
case 5187:
|
|
335
|
+
return m + e + u(e, /(\w+).+(:[^]+)/, m + "box-$1$2" + b + "flex-$1$2") + e;
|
|
336
|
+
case 5443:
|
|
337
|
+
return m + e + b + "flex-item-" + u(e, /flex-|-self/g, "") + (j(e, /flex-|baseline/) ? "" : b + "grid-row-" + u(e, /flex-|-self/g, "")) + e;
|
|
338
|
+
case 4675:
|
|
339
|
+
return m + e + b + "flex-line-pack" + u(e, /align-content|flex-|-self/g, "") + e;
|
|
340
|
+
case 5548:
|
|
341
|
+
return m + e + b + u(e, "shrink", "negative") + e;
|
|
342
|
+
case 5292:
|
|
343
|
+
return m + e + b + u(e, "basis", "preferred-size") + e;
|
|
344
|
+
case 6060:
|
|
345
|
+
return m + "box-" + u(e, "-grow", "") + m + e + b + u(e, "grow", "positive") + e;
|
|
346
|
+
case 4554:
|
|
347
|
+
return m + u(e, /([^-])(transform)/g, "$1" + m + "$2") + e;
|
|
348
|
+
case 6187:
|
|
349
|
+
return u(u(u(e, /(zoom-|grab)/, m + "$1"), /(image-set)/, m + "$1"), e, "") + e;
|
|
350
|
+
case 5495:
|
|
351
|
+
case 3959:
|
|
352
|
+
return u(e, /(image-set\([^]*)/, m + "$1$`$1");
|
|
353
|
+
case 4968:
|
|
354
|
+
return u(u(e, /(.+:)(flex-)?(.*)/, m + "box-pack:$3" + b + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + m + e + e;
|
|
355
|
+
case 4200:
|
|
356
|
+
if (!j(e, /flex-|baseline/)) return b + "grid-column-align" + K(e, t) + e;
|
|
357
|
+
break;
|
|
358
|
+
case 2592:
|
|
359
|
+
case 3360:
|
|
360
|
+
return b + u(e, "template-", "") + e;
|
|
361
|
+
case 4384:
|
|
362
|
+
case 3616:
|
|
363
|
+
return r && r.some(function(n, o) {
|
|
364
|
+
return t = o, j(n.props, /grid-\w+-end/);
|
|
365
|
+
}) ? ~ge(e + (r = r[t].value), "span", 0) ? e : b + u(e, "-start", "") + e + b + "grid-row-span:" + (~ge(r, "span", 0) ? j(r, /\d+/) : +j(r, /\d+/) - +j(e, /\d+/)) + ";" : b + u(e, "-start", "") + e;
|
|
366
|
+
case 4896:
|
|
367
|
+
case 4128:
|
|
368
|
+
return r && r.some(function(n) {
|
|
369
|
+
return j(n.props, /grid-\w+-start/);
|
|
370
|
+
}) ? e : b + u(u(e, "-end", "-span"), "span ", "") + e;
|
|
371
|
+
case 4095:
|
|
372
|
+
case 3583:
|
|
373
|
+
case 4068:
|
|
374
|
+
case 2532:
|
|
375
|
+
return u(e, /(.+)-inline(.+)/, m + "$1$2") + e;
|
|
376
|
+
case 8116:
|
|
377
|
+
case 7059:
|
|
378
|
+
case 5753:
|
|
379
|
+
case 5535:
|
|
380
|
+
case 5445:
|
|
381
|
+
case 5701:
|
|
382
|
+
case 4933:
|
|
383
|
+
case 4677:
|
|
384
|
+
case 5533:
|
|
385
|
+
case 5789:
|
|
386
|
+
case 5021:
|
|
387
|
+
case 4765:
|
|
388
|
+
if (D(e) - 1 - t > 6)
|
|
389
|
+
switch (N(e, t + 1)) {
|
|
390
|
+
case 109:
|
|
391
|
+
if (N(e, t + 4) !== 45)
|
|
392
|
+
break;
|
|
393
|
+
case 102:
|
|
394
|
+
return u(e, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + se + (N(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
395
|
+
case 115:
|
|
396
|
+
return ~ge(e, "stretch", 0) ? Et(u(e, "stretch", "fill-available"), t, r) + e : e;
|
|
397
|
+
}
|
|
398
|
+
break;
|
|
399
|
+
case 5152:
|
|
400
|
+
case 5920:
|
|
401
|
+
return u(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, o, a, i, c, s, p) {
|
|
402
|
+
return b + o + ":" + a + p + (i ? b + o + "-span:" + (c ? s : +s - +a) + p : "") + e;
|
|
403
|
+
});
|
|
404
|
+
case 4949:
|
|
405
|
+
if (N(e, t + 6) === 121)
|
|
406
|
+
return u(e, ":", ":" + m) + e;
|
|
407
|
+
break;
|
|
408
|
+
case 6444:
|
|
409
|
+
switch (N(e, N(e, 14) === 45 ? 18 : 11)) {
|
|
410
|
+
case 120:
|
|
411
|
+
return u(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + m + (N(e, 14) === 45 ? "inline-" : "") + "box$3$1" + m + "$2$3$1" + b + "$2box$3") + e;
|
|
412
|
+
case 100:
|
|
413
|
+
return u(e, ":", ":" + b) + e;
|
|
414
|
+
}
|
|
415
|
+
break;
|
|
416
|
+
case 5719:
|
|
417
|
+
case 2647:
|
|
418
|
+
case 2135:
|
|
419
|
+
case 3927:
|
|
420
|
+
case 2391:
|
|
421
|
+
return u(e, "scroll-", "scroll-snap-") + e;
|
|
422
|
+
}
|
|
423
|
+
return e;
|
|
424
|
+
}
|
|
425
|
+
function Se(e, t) {
|
|
426
|
+
for (var r = "", n = 0; n < e.length; n++)
|
|
427
|
+
r += t(e[n], n, e, t) || "";
|
|
428
|
+
return r;
|
|
429
|
+
}
|
|
430
|
+
function fr(e, t, r, n) {
|
|
431
|
+
switch (e.type) {
|
|
432
|
+
case er:
|
|
433
|
+
if (e.children.length) break;
|
|
434
|
+
case Qt:
|
|
435
|
+
case Ye:
|
|
436
|
+
return e.return = e.return || e.value;
|
|
437
|
+
case yt:
|
|
438
|
+
return "";
|
|
439
|
+
case vt:
|
|
440
|
+
return e.return = e.value + "{" + Se(e.children, n) + "}";
|
|
441
|
+
case Ee:
|
|
442
|
+
if (!D(e.value = e.props.join(","))) return "";
|
|
443
|
+
}
|
|
444
|
+
return D(r = Se(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
445
|
+
}
|
|
446
|
+
function hr(e) {
|
|
447
|
+
var t = St(e);
|
|
448
|
+
return function(r, n, o, a) {
|
|
449
|
+
for (var i = "", c = 0; c < t; c++)
|
|
450
|
+
i += e[c](r, n, o, a) || "";
|
|
451
|
+
return i;
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
function mr(e) {
|
|
455
|
+
return function(t) {
|
|
456
|
+
t.root || (t = t.return) && e(t);
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
function gr(e, t, r, n) {
|
|
460
|
+
if (e.length > -1 && !e.return)
|
|
461
|
+
switch (e.type) {
|
|
462
|
+
case Ye:
|
|
463
|
+
e.return = Et(e.value, e.length, r);
|
|
464
|
+
return;
|
|
465
|
+
case vt:
|
|
466
|
+
return Se([z(e, { value: u(e.value, "@", "@" + m) })], n);
|
|
467
|
+
case Ee:
|
|
468
|
+
if (e.length)
|
|
469
|
+
return rr(r = e.props, function(o) {
|
|
470
|
+
switch (j(o, n = /(::plac\w+|:read-\w+)/)) {
|
|
471
|
+
case ":read-only":
|
|
472
|
+
case ":read-write":
|
|
473
|
+
U(z(e, { props: [u(o, /:(read-\w+)/, ":" + se + "$1")] })), U(z(e, { props: [o] })), Me(e, { props: et(r, n) });
|
|
474
|
+
break;
|
|
475
|
+
case "::placeholder":
|
|
476
|
+
U(z(e, { props: [u(o, /:(plac\w+)/, ":" + m + "input-$1")] })), U(z(e, { props: [u(o, /:(plac\w+)/, ":" + se + "$1")] })), U(z(e, { props: [u(o, /:(plac\w+)/, b + "input-$1")] })), U(z(e, { props: [o] })), Me(e, { props: et(r, n) });
|
|
477
|
+
break;
|
|
478
|
+
}
|
|
479
|
+
return "";
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
var yr = {
|
|
484
|
+
animationIterationCount: 1,
|
|
485
|
+
aspectRatio: 1,
|
|
486
|
+
borderImageOutset: 1,
|
|
487
|
+
borderImageSlice: 1,
|
|
488
|
+
borderImageWidth: 1,
|
|
489
|
+
boxFlex: 1,
|
|
490
|
+
boxFlexGroup: 1,
|
|
491
|
+
boxOrdinalGroup: 1,
|
|
492
|
+
columnCount: 1,
|
|
493
|
+
columns: 1,
|
|
494
|
+
flex: 1,
|
|
495
|
+
flexGrow: 1,
|
|
496
|
+
flexPositive: 1,
|
|
497
|
+
flexShrink: 1,
|
|
498
|
+
flexNegative: 1,
|
|
499
|
+
flexOrder: 1,
|
|
500
|
+
gridRow: 1,
|
|
501
|
+
gridRowEnd: 1,
|
|
502
|
+
gridRowSpan: 1,
|
|
503
|
+
gridRowStart: 1,
|
|
504
|
+
gridColumn: 1,
|
|
505
|
+
gridColumnEnd: 1,
|
|
506
|
+
gridColumnSpan: 1,
|
|
507
|
+
gridColumnStart: 1,
|
|
508
|
+
msGridRow: 1,
|
|
509
|
+
msGridRowSpan: 1,
|
|
510
|
+
msGridColumn: 1,
|
|
511
|
+
msGridColumnSpan: 1,
|
|
512
|
+
fontWeight: 1,
|
|
513
|
+
lineHeight: 1,
|
|
514
|
+
opacity: 1,
|
|
515
|
+
order: 1,
|
|
516
|
+
orphans: 1,
|
|
517
|
+
tabSize: 1,
|
|
518
|
+
widows: 1,
|
|
519
|
+
zIndex: 1,
|
|
520
|
+
zoom: 1,
|
|
521
|
+
WebkitLineClamp: 1,
|
|
522
|
+
// SVG-related properties
|
|
523
|
+
fillOpacity: 1,
|
|
524
|
+
floodOpacity: 1,
|
|
525
|
+
stopOpacity: 1,
|
|
526
|
+
strokeDasharray: 1,
|
|
527
|
+
strokeDashoffset: 1,
|
|
528
|
+
strokeMiterlimit: 1,
|
|
529
|
+
strokeOpacity: 1,
|
|
530
|
+
strokeWidth: 1
|
|
531
|
+
}, h = {}, Y = typeof process < "u" && h !== void 0 && (h.REACT_APP_SC_ATTR || h.SC_ATTR) || "data-styled", xt = "active", Ct = "data-styled-version", Pe = "6.1.11", qe = `/*!sc*/
|
|
532
|
+
`, Ue = typeof window < "u" && "HTMLElement" in window, vr = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && h !== void 0 && h.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && h.REACT_APP_SC_DISABLE_SPEEDY !== "" ? h.REACT_APP_SC_DISABLE_SPEEDY !== "false" && h.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && h !== void 0 && h.SC_DISABLE_SPEEDY !== void 0 && h.SC_DISABLE_SPEEDY !== "" ? h.SC_DISABLE_SPEEDY !== "false" && h.SC_DISABLE_SPEEDY : h.NODE_ENV !== "production"), nt = /invalid hook call/i, de = /* @__PURE__ */ new Set(), wr = function(e, t) {
|
|
533
|
+
if (h.NODE_ENV !== "production") {
|
|
534
|
+
var r = t ? ' with the id of "'.concat(t, '"') : "", n = "The component ".concat(e).concat(r, ` has been created dynamically.
|
|
535
|
+
`) + `You may see this warning because you've called styled inside another component.
|
|
536
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`, o = console.error;
|
|
537
|
+
try {
|
|
538
|
+
var a = !0;
|
|
539
|
+
console.error = function(i) {
|
|
540
|
+
for (var c = [], s = 1; s < arguments.length; s++) c[s - 1] = arguments[s];
|
|
541
|
+
nt.test(i) ? (a = !1, de.delete(n)) : o.apply(void 0, X([i], c, !1));
|
|
542
|
+
}, qt(), a && !de.has(n) && (console.warn(n), de.add(n));
|
|
543
|
+
} catch (i) {
|
|
544
|
+
nt.test(i.message) && de.delete(n);
|
|
545
|
+
} finally {
|
|
546
|
+
console.error = o;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}, Ne = Object.freeze([]), J = Object.freeze({});
|
|
550
|
+
function br(e, t, r) {
|
|
551
|
+
return r === void 0 && (r = J), e.theme !== r.theme && e.theme || t || r.theme;
|
|
552
|
+
}
|
|
553
|
+
var Fe = /* @__PURE__ */ 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"]), Sr = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, kr = /(^-|-$)/g;
|
|
554
|
+
function ot(e) {
|
|
555
|
+
return e.replace(Sr, "-").replace(kr, "");
|
|
556
|
+
}
|
|
557
|
+
var Er = /(a)(d)/gi, fe = 52, at = function(e) {
|
|
558
|
+
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
559
|
+
};
|
|
560
|
+
function Ve(e) {
|
|
561
|
+
var t, r = "";
|
|
562
|
+
for (t = Math.abs(e); t > fe; t = t / fe | 0) r = at(t % fe) + r;
|
|
563
|
+
return (at(t % fe) + r).replace(Er, "$1-$2");
|
|
564
|
+
}
|
|
565
|
+
var De, At = 5381, V = function(e, t) {
|
|
566
|
+
for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r);
|
|
567
|
+
return e;
|
|
568
|
+
}, Pt = function(e) {
|
|
569
|
+
return V(At, e);
|
|
570
|
+
};
|
|
571
|
+
function xr(e) {
|
|
572
|
+
return Ve(Pt(e) >>> 0);
|
|
573
|
+
}
|
|
574
|
+
function Nt(e) {
|
|
575
|
+
return h.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
|
|
576
|
+
}
|
|
577
|
+
function $e(e) {
|
|
578
|
+
return typeof e == "string" && (h.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
579
|
+
}
|
|
580
|
+
var _t = typeof Symbol == "function" && Symbol.for, Ot = _t ? Symbol.for("react.memo") : 60115, Cr = _t ? Symbol.for("react.forward_ref") : 60112, Ar = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Pr = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Rt = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Nr = ((De = {})[Cr] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, De[Ot] = Rt, De);
|
|
581
|
+
function it(e) {
|
|
582
|
+
return ("type" in (t = e) && t.type.$$typeof) === Ot ? Rt : "$$typeof" in e ? Nr[e.$$typeof] : Ar;
|
|
583
|
+
var t;
|
|
584
|
+
}
|
|
585
|
+
var _r = Object.defineProperty, Or = Object.getOwnPropertyNames, st = Object.getOwnPropertySymbols, Rr = Object.getOwnPropertyDescriptor, Ir = Object.getPrototypeOf, ct = Object.prototype;
|
|
586
|
+
function It(e, t, r) {
|
|
587
|
+
if (typeof t != "string") {
|
|
588
|
+
if (ct) {
|
|
589
|
+
var n = Ir(t);
|
|
590
|
+
n && n !== ct && It(e, n, r);
|
|
591
|
+
}
|
|
592
|
+
var o = Or(t);
|
|
593
|
+
st && (o = o.concat(st(t)));
|
|
594
|
+
for (var a = it(e), i = it(t), c = 0; c < o.length; ++c) {
|
|
595
|
+
var s = o[c];
|
|
596
|
+
if (!(s in Pr || r && r[s] || i && s in i || a && s in a)) {
|
|
597
|
+
var p = Rr(t, s);
|
|
598
|
+
try {
|
|
599
|
+
_r(e, s, p);
|
|
600
|
+
} catch {
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
return e;
|
|
606
|
+
}
|
|
607
|
+
function Q(e) {
|
|
608
|
+
return typeof e == "function";
|
|
609
|
+
}
|
|
610
|
+
function Xe(e) {
|
|
611
|
+
return typeof e == "object" && "styledComponentId" in e;
|
|
612
|
+
}
|
|
613
|
+
function B(e, t) {
|
|
614
|
+
return e && t ? "".concat(e, " ").concat(t) : e || t || "";
|
|
615
|
+
}
|
|
616
|
+
function ut(e, t) {
|
|
617
|
+
if (e.length === 0) return "";
|
|
618
|
+
for (var r = e[0], n = 1; n < e.length; n++) r += e[n];
|
|
619
|
+
return r;
|
|
620
|
+
}
|
|
621
|
+
function ee(e) {
|
|
622
|
+
return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
|
|
623
|
+
}
|
|
624
|
+
function Be(e, t, r) {
|
|
625
|
+
if (r === void 0 && (r = !1), !r && !ee(e) && !Array.isArray(e)) return t;
|
|
626
|
+
if (Array.isArray(t)) for (var n = 0; n < t.length; n++) e[n] = Be(e[n], t[n]);
|
|
627
|
+
else if (ee(t)) for (var n in t) e[n] = Be(e[n], t[n]);
|
|
628
|
+
return e;
|
|
629
|
+
}
|
|
630
|
+
function Ke(e, t) {
|
|
631
|
+
Object.defineProperty(e, "toString", { value: t });
|
|
632
|
+
}
|
|
633
|
+
var Tr = h.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
634
|
+
|
|
635
|
+
`, 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.
|
|
636
|
+
|
|
637
|
+
- Are you trying to reuse it across renders?
|
|
638
|
+
- Are you accidentally calling collectStyles twice?
|
|
639
|
+
|
|
640
|
+
`, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
641
|
+
|
|
642
|
+
`, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
643
|
+
|
|
644
|
+
- Does this error occur on the client and is your target falsy?
|
|
645
|
+
- Does this error occur on the server and is the sheet falsy?
|
|
646
|
+
|
|
647
|
+
`, 5: `The clone method cannot be used on the client!
|
|
648
|
+
|
|
649
|
+
- Are you running in a client-like environment on the server?
|
|
650
|
+
- Are you trying to run SSR on the client?
|
|
651
|
+
|
|
652
|
+
`, 6: `Trying to insert a new style tag, but the given Node is unmounted!
|
|
653
|
+
|
|
654
|
+
- Are you using a custom target that isn't mounted?
|
|
655
|
+
- Does your document not have a valid head element?
|
|
656
|
+
- Have you accidentally removed a style tag manually?
|
|
657
|
+
|
|
658
|
+
`, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
|
|
659
|
+
|
|
660
|
+
`, 9: "Missing document `<head>`\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
|
|
661
|
+
|
|
662
|
+
`, 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.
|
|
663
|
+
|
|
664
|
+
`, 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", 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.
|
|
665
|
+
|
|
666
|
+
`, 14: `ThemeProvider: "theme" prop is required.
|
|
667
|
+
|
|
668
|
+
`, 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 `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
|
|
669
|
+
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
670
|
+
as for instance in your render method then you may be running into this limitation.
|
|
671
|
+
|
|
672
|
+
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
|
|
673
|
+
Has styled-components' style tag been unmounted or altered by another script?
|
|
674
|
+
`, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
|
|
675
|
+
function Dr() {
|
|
676
|
+
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
677
|
+
for (var r = e[0], n = [], o = 1, a = e.length; o < a; o += 1) n.push(e[o]);
|
|
678
|
+
return n.forEach(function(i) {
|
|
679
|
+
r = r.replace(/%[a-z]/, i);
|
|
680
|
+
}), r;
|
|
681
|
+
}
|
|
682
|
+
function re(e) {
|
|
683
|
+
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
684
|
+
return h.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(Dr.apply(void 0, X([Tr[e]], t, !1)).trim());
|
|
685
|
+
}
|
|
686
|
+
var $r = function() {
|
|
687
|
+
function e(t) {
|
|
688
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
|
|
689
|
+
}
|
|
690
|
+
return e.prototype.indexOfGroup = function(t) {
|
|
691
|
+
for (var r = 0, n = 0; n < t; n++) r += this.groupSizes[n];
|
|
692
|
+
return r;
|
|
693
|
+
}, e.prototype.insertRules = function(t, r) {
|
|
694
|
+
if (t >= this.groupSizes.length) {
|
|
695
|
+
for (var n = this.groupSizes, o = n.length, a = o; t >= a; ) if ((a <<= 1) < 0) throw re(16, "".concat(t));
|
|
696
|
+
this.groupSizes = new Uint32Array(a), this.groupSizes.set(n), this.length = a;
|
|
697
|
+
for (var i = o; i < a; i++) this.groupSizes[i] = 0;
|
|
698
|
+
}
|
|
699
|
+
for (var c = this.indexOfGroup(t + 1), s = (i = 0, r.length); i < s; i++) this.tag.insertRule(c, r[i]) && (this.groupSizes[t]++, c++);
|
|
700
|
+
}, e.prototype.clearGroup = function(t) {
|
|
701
|
+
if (t < this.length) {
|
|
702
|
+
var r = this.groupSizes[t], n = this.indexOfGroup(t), o = n + r;
|
|
703
|
+
this.groupSizes[t] = 0;
|
|
704
|
+
for (var a = n; a < o; a++) this.tag.deleteRule(n);
|
|
705
|
+
}
|
|
706
|
+
}, e.prototype.getGroup = function(t) {
|
|
707
|
+
var r = "";
|
|
708
|
+
if (t >= this.length || this.groupSizes[t] === 0) return r;
|
|
709
|
+
for (var n = this.groupSizes[t], o = this.indexOfGroup(t), a = o + n, i = o; i < a; i++) r += "".concat(this.tag.getRule(i)).concat(qe);
|
|
710
|
+
return r;
|
|
711
|
+
}, e;
|
|
712
|
+
}(), jr = 1 << 30, we = /* @__PURE__ */ new Map(), ke = /* @__PURE__ */ new Map(), be = 1, he = function(e) {
|
|
713
|
+
if (we.has(e)) return we.get(e);
|
|
714
|
+
for (; ke.has(be); ) be++;
|
|
715
|
+
var t = be++;
|
|
716
|
+
if (h.NODE_ENV !== "production" && ((0 | t) < 0 || t > jr)) throw re(16, "".concat(t));
|
|
717
|
+
return we.set(e, t), ke.set(t, e), t;
|
|
718
|
+
}, Mr = function(e, t) {
|
|
719
|
+
be = t + 1, we.set(e, t), ke.set(t, e);
|
|
720
|
+
}, zr = "style[".concat(Y, "][").concat(Ct, '="').concat(Pe, '"]'), Lr = new RegExp("^".concat(Y, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Fr = function(e, t, r) {
|
|
721
|
+
for (var n, o = r.split(","), a = 0, i = o.length; a < i; a++) (n = o[a]) && e.registerName(t, n);
|
|
722
|
+
}, Vr = function(e, t) {
|
|
723
|
+
for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(qe), o = [], a = 0, i = n.length; a < i; a++) {
|
|
724
|
+
var c = n[a].trim();
|
|
725
|
+
if (c) {
|
|
726
|
+
var s = c.match(Lr);
|
|
727
|
+
if (s) {
|
|
728
|
+
var p = 0 | parseInt(s[1], 10), g = s[2];
|
|
729
|
+
p !== 0 && (Mr(g, p), Fr(e, g, s[3]), e.getTag().insertRules(p, o)), o.length = 0;
|
|
730
|
+
} else o.push(c);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
function Br() {
|
|
735
|
+
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
736
|
+
}
|
|
737
|
+
var Tt = function(e) {
|
|
738
|
+
var t = document.head, r = e || t, n = document.createElement("style"), o = function(c) {
|
|
739
|
+
var s = Array.from(c.querySelectorAll("style[".concat(Y, "]")));
|
|
740
|
+
return s[s.length - 1];
|
|
741
|
+
}(r), a = o !== void 0 ? o.nextSibling : null;
|
|
742
|
+
n.setAttribute(Y, xt), n.setAttribute(Ct, Pe);
|
|
743
|
+
var i = Br();
|
|
744
|
+
return i && n.setAttribute("nonce", i), r.insertBefore(n, a), n;
|
|
745
|
+
}, Gr = function() {
|
|
746
|
+
function e(t) {
|
|
747
|
+
this.element = Tt(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(r) {
|
|
748
|
+
if (r.sheet) return r.sheet;
|
|
749
|
+
for (var n = document.styleSheets, o = 0, a = n.length; o < a; o++) {
|
|
750
|
+
var i = n[o];
|
|
751
|
+
if (i.ownerNode === r) return i;
|
|
752
|
+
}
|
|
753
|
+
throw re(17);
|
|
754
|
+
}(this.element), this.length = 0;
|
|
755
|
+
}
|
|
756
|
+
return e.prototype.insertRule = function(t, r) {
|
|
757
|
+
try {
|
|
758
|
+
return this.sheet.insertRule(r, t), this.length++, !0;
|
|
759
|
+
} catch {
|
|
760
|
+
return !1;
|
|
761
|
+
}
|
|
762
|
+
}, e.prototype.deleteRule = function(t) {
|
|
763
|
+
this.sheet.deleteRule(t), this.length--;
|
|
764
|
+
}, e.prototype.getRule = function(t) {
|
|
765
|
+
var r = this.sheet.cssRules[t];
|
|
766
|
+
return r && r.cssText ? r.cssText : "";
|
|
767
|
+
}, e;
|
|
768
|
+
}(), Hr = function() {
|
|
769
|
+
function e(t) {
|
|
770
|
+
this.element = Tt(t), this.nodes = this.element.childNodes, this.length = 0;
|
|
771
|
+
}
|
|
772
|
+
return e.prototype.insertRule = function(t, r) {
|
|
773
|
+
if (t <= this.length && t >= 0) {
|
|
774
|
+
var n = document.createTextNode(r);
|
|
775
|
+
return this.element.insertBefore(n, this.nodes[t] || null), this.length++, !0;
|
|
776
|
+
}
|
|
777
|
+
return !1;
|
|
778
|
+
}, e.prototype.deleteRule = function(t) {
|
|
779
|
+
this.element.removeChild(this.nodes[t]), this.length--;
|
|
780
|
+
}, e.prototype.getRule = function(t) {
|
|
781
|
+
return t < this.length ? this.nodes[t].textContent : "";
|
|
782
|
+
}, e;
|
|
783
|
+
}(), Yr = function() {
|
|
784
|
+
function e(t) {
|
|
785
|
+
this.rules = [], this.length = 0;
|
|
786
|
+
}
|
|
787
|
+
return e.prototype.insertRule = function(t, r) {
|
|
788
|
+
return t <= this.length && (this.rules.splice(t, 0, r), this.length++, !0);
|
|
789
|
+
}, e.prototype.deleteRule = function(t) {
|
|
790
|
+
this.rules.splice(t, 1), this.length--;
|
|
791
|
+
}, e.prototype.getRule = function(t) {
|
|
792
|
+
return t < this.length ? this.rules[t] : "";
|
|
793
|
+
}, e;
|
|
794
|
+
}(), lt = Ue, Wr = { isServer: !Ue, useCSSOMInjection: !vr }, Dt = function() {
|
|
795
|
+
function e(t, r, n) {
|
|
796
|
+
t === void 0 && (t = J), r === void 0 && (r = {});
|
|
797
|
+
var o = this;
|
|
798
|
+
this.options = _(_({}, Wr), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && Ue && lt && (lt = !1, function(a) {
|
|
799
|
+
for (var i = document.querySelectorAll(zr), c = 0, s = i.length; c < s; c++) {
|
|
800
|
+
var p = i[c];
|
|
801
|
+
p && p.getAttribute(Y) !== xt && (Vr(a, p), p.parentNode && p.parentNode.removeChild(p));
|
|
802
|
+
}
|
|
803
|
+
}(this)), Ke(this, function() {
|
|
804
|
+
return function(a) {
|
|
805
|
+
for (var i = a.getTag(), c = i.length, s = "", p = function(f) {
|
|
806
|
+
var y = function(A) {
|
|
807
|
+
return ke.get(A);
|
|
808
|
+
}(f);
|
|
809
|
+
if (y === void 0) return "continue";
|
|
810
|
+
var v = a.names.get(y), k = i.getGroup(f);
|
|
811
|
+
if (v === void 0 || k.length === 0) return "continue";
|
|
812
|
+
var C = "".concat(Y, ".g").concat(f, '[id="').concat(y, '"]'), O = "";
|
|
813
|
+
v !== void 0 && v.forEach(function(A) {
|
|
814
|
+
A.length > 0 && (O += "".concat(A, ","));
|
|
815
|
+
}), s += "".concat(k).concat(C, '{content:"').concat(O, '"}').concat(qe);
|
|
816
|
+
}, g = 0; g < c; g++) p(g);
|
|
817
|
+
return s;
|
|
818
|
+
}(o);
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
return e.registerId = function(t) {
|
|
822
|
+
return he(t);
|
|
823
|
+
}, e.prototype.reconstructWithOptions = function(t, r) {
|
|
824
|
+
return r === void 0 && (r = !0), new e(_(_({}, this.options), t), this.gs, r && this.names || void 0);
|
|
825
|
+
}, e.prototype.allocateGSInstance = function(t) {
|
|
826
|
+
return this.gs[t] = (this.gs[t] || 0) + 1;
|
|
827
|
+
}, e.prototype.getTag = function() {
|
|
828
|
+
return this.tag || (this.tag = (t = function(r) {
|
|
829
|
+
var n = r.useCSSOMInjection, o = r.target;
|
|
830
|
+
return r.isServer ? new Yr(o) : n ? new Gr(o) : new Hr(o);
|
|
831
|
+
}(this.options), new $r(t)));
|
|
832
|
+
var t;
|
|
833
|
+
}, e.prototype.hasNameForId = function(t, r) {
|
|
834
|
+
return this.names.has(t) && this.names.get(t).has(r);
|
|
835
|
+
}, e.prototype.registerName = function(t, r) {
|
|
836
|
+
if (he(t), this.names.has(t)) this.names.get(t).add(r);
|
|
837
|
+
else {
|
|
838
|
+
var n = /* @__PURE__ */ new Set();
|
|
839
|
+
n.add(r), this.names.set(t, n);
|
|
840
|
+
}
|
|
841
|
+
}, e.prototype.insertRules = function(t, r, n) {
|
|
842
|
+
this.registerName(t, r), this.getTag().insertRules(he(t), n);
|
|
843
|
+
}, e.prototype.clearNames = function(t) {
|
|
844
|
+
this.names.has(t) && this.names.get(t).clear();
|
|
845
|
+
}, e.prototype.clearRules = function(t) {
|
|
846
|
+
this.getTag().clearGroup(he(t)), this.clearNames(t);
|
|
847
|
+
}, e.prototype.clearTag = function() {
|
|
848
|
+
this.tag = void 0;
|
|
849
|
+
}, e;
|
|
850
|
+
}(), qr = /&/g, Ur = /^\s*\/\/.*$/gm;
|
|
851
|
+
function $t(e, t) {
|
|
852
|
+
return e.map(function(r) {
|
|
853
|
+
return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(n) {
|
|
854
|
+
return "".concat(t, " ").concat(n);
|
|
855
|
+
})), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = $t(r.children, t)), r;
|
|
856
|
+
});
|
|
857
|
+
}
|
|
858
|
+
function Xr(e) {
|
|
859
|
+
var t, r, n, o = J, a = o.options, i = a === void 0 ? J : a, c = o.plugins, s = c === void 0 ? Ne : c, p = function(y, v, k) {
|
|
860
|
+
return k.startsWith(r) && k.endsWith(r) && k.replaceAll(r, "").length > 0 ? ".".concat(t) : y;
|
|
861
|
+
}, g = s.slice();
|
|
862
|
+
g.push(function(y) {
|
|
863
|
+
y.type === Ee && y.value.includes("&") && (y.props[0] = y.props[0].replace(qr, r).replace(n, p));
|
|
864
|
+
}), i.prefix && g.push(gr), g.push(fr);
|
|
865
|
+
var f = function(y, v, k, C) {
|
|
866
|
+
v === void 0 && (v = ""), k === void 0 && (k = ""), C === void 0 && (C = "&"), t = C, r = v, n = new RegExp("\\".concat(r, "\\b"), "g");
|
|
867
|
+
var O = y.replace(Ur, ""), A = pr(k || v ? "".concat(k, " ").concat(v, " { ").concat(O, " }") : O);
|
|
868
|
+
i.namespace && (A = $t(A, i.namespace));
|
|
869
|
+
var E = [];
|
|
870
|
+
return Se(A, hr(g.concat(mr(function(w) {
|
|
871
|
+
return E.push(w);
|
|
872
|
+
})))), E;
|
|
873
|
+
};
|
|
874
|
+
return f.hash = s.length ? s.reduce(function(y, v) {
|
|
875
|
+
return v.name || re(15), V(y, v.name);
|
|
876
|
+
}, At).toString() : "", f;
|
|
877
|
+
}
|
|
878
|
+
var Kr = new Dt(), Ge = Xr(), jt = ce.createContext({ shouldForwardProp: void 0, styleSheet: Kr, stylis: Ge });
|
|
879
|
+
jt.Consumer;
|
|
880
|
+
ce.createContext(void 0);
|
|
881
|
+
function pt() {
|
|
882
|
+
return Xt(jt);
|
|
883
|
+
}
|
|
884
|
+
var dt = function() {
|
|
885
|
+
function e(t, r) {
|
|
886
|
+
var n = this;
|
|
887
|
+
this.inject = function(o, a) {
|
|
888
|
+
a === void 0 && (a = Ge);
|
|
889
|
+
var i = n.name + a.hash;
|
|
890
|
+
o.hasNameForId(n.id, i) || o.insertRules(n.id, i, a(n.rules, i, "@keyframes"));
|
|
891
|
+
}, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, Ke(this, function() {
|
|
892
|
+
throw re(12, String(n.name));
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
return e.prototype.getName = function(t) {
|
|
896
|
+
return t === void 0 && (t = Ge), this.name + t.hash;
|
|
897
|
+
}, e;
|
|
898
|
+
}(), Zr = function(e) {
|
|
899
|
+
return e >= "A" && e <= "Z";
|
|
900
|
+
};
|
|
901
|
+
function ft(e) {
|
|
902
|
+
for (var t = "", r = 0; r < e.length; r++) {
|
|
903
|
+
var n = e[r];
|
|
904
|
+
if (r === 1 && n === "-" && e[0] === "-") return e;
|
|
905
|
+
Zr(n) ? t += "-" + n.toLowerCase() : t += n;
|
|
906
|
+
}
|
|
907
|
+
return t.startsWith("ms-") ? "-" + t : t;
|
|
908
|
+
}
|
|
909
|
+
var Mt = function(e) {
|
|
910
|
+
return e == null || e === !1 || e === "";
|
|
911
|
+
}, zt = function(e) {
|
|
912
|
+
var t, r, n = [];
|
|
913
|
+
for (var o in e) {
|
|
914
|
+
var a = e[o];
|
|
915
|
+
e.hasOwnProperty(o) && !Mt(a) && (Array.isArray(a) && a.isCss || Q(a) ? n.push("".concat(ft(o), ":"), a, ";") : ee(a) ? n.push.apply(n, X(X(["".concat(o, " {")], zt(a), !1), ["}"], !1)) : n.push("".concat(ft(o), ": ").concat((t = o, (r = a) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in yr || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
|
|
916
|
+
}
|
|
917
|
+
return n;
|
|
918
|
+
};
|
|
919
|
+
function H(e, t, r, n) {
|
|
920
|
+
if (Mt(e)) return [];
|
|
921
|
+
if (Xe(e)) return [".".concat(e.styledComponentId)];
|
|
922
|
+
if (Q(e)) {
|
|
923
|
+
if (!Q(a = e) || a.prototype && a.prototype.isReactComponent || !t) return [e];
|
|
924
|
+
var o = e(t);
|
|
925
|
+
return h.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof dt || ee(o) || o === null || console.error("".concat(Nt(e), " 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.")), H(o, t, r, n);
|
|
926
|
+
}
|
|
927
|
+
var a;
|
|
928
|
+
return e instanceof dt ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : ee(e) ? zt(e) : Array.isArray(e) ? Array.prototype.concat.apply(Ne, e.map(function(i) {
|
|
929
|
+
return H(i, t, r, n);
|
|
930
|
+
})) : [e.toString()];
|
|
931
|
+
}
|
|
932
|
+
function Jr(e) {
|
|
933
|
+
for (var t = 0; t < e.length; t += 1) {
|
|
934
|
+
var r = e[t];
|
|
935
|
+
if (Q(r) && !Xe(r)) return !1;
|
|
936
|
+
}
|
|
937
|
+
return !0;
|
|
938
|
+
}
|
|
939
|
+
var Qr = Pt(Pe), en = function() {
|
|
940
|
+
function e(t, r, n) {
|
|
941
|
+
this.rules = t, this.staticRulesId = "", this.isStatic = h.NODE_ENV === "production" && (n === void 0 || n.isStatic) && Jr(t), this.componentId = r, this.baseHash = V(Qr, r), this.baseStyle = n, Dt.registerId(r);
|
|
942
|
+
}
|
|
943
|
+
return e.prototype.generateAndInjectStyles = function(t, r, n) {
|
|
944
|
+
var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, n) : "";
|
|
945
|
+
if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) o = B(o, this.staticRulesId);
|
|
946
|
+
else {
|
|
947
|
+
var a = ut(H(this.rules, t, r, n)), i = Ve(V(this.baseHash, a) >>> 0);
|
|
948
|
+
if (!r.hasNameForId(this.componentId, i)) {
|
|
949
|
+
var c = n(a, ".".concat(i), void 0, this.componentId);
|
|
950
|
+
r.insertRules(this.componentId, i, c);
|
|
951
|
+
}
|
|
952
|
+
o = B(o, i), this.staticRulesId = i;
|
|
953
|
+
}
|
|
954
|
+
else {
|
|
955
|
+
for (var s = V(this.baseHash, n.hash), p = "", g = 0; g < this.rules.length; g++) {
|
|
956
|
+
var f = this.rules[g];
|
|
957
|
+
if (typeof f == "string") p += f, h.NODE_ENV !== "production" && (s = V(s, f));
|
|
958
|
+
else if (f) {
|
|
959
|
+
var y = ut(H(f, t, r, n));
|
|
960
|
+
s = V(s, y + g), p += y;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
if (p) {
|
|
964
|
+
var v = Ve(s >>> 0);
|
|
965
|
+
r.hasNameForId(this.componentId, v) || r.insertRules(this.componentId, v, n(p, ".".concat(v), void 0, this.componentId)), o = B(o, v);
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
return o;
|
|
969
|
+
}, e;
|
|
970
|
+
}(), Lt = ce.createContext(void 0);
|
|
971
|
+
Lt.Consumer;
|
|
972
|
+
var je = {}, ht = /* @__PURE__ */ new Set();
|
|
973
|
+
function tn(e, t, r) {
|
|
974
|
+
var n = Xe(e), o = e, a = !$e(e), i = t.attrs, c = i === void 0 ? Ne : i, s = t.componentId, p = s === void 0 ? function(S, x) {
|
|
975
|
+
var d = typeof S != "string" ? "sc" : ot(S);
|
|
976
|
+
je[d] = (je[d] || 0) + 1;
|
|
977
|
+
var l = "".concat(d, "-").concat(xr(Pe + d + je[d]));
|
|
978
|
+
return x ? "".concat(x, "-").concat(l) : l;
|
|
979
|
+
}(t.displayName, t.parentComponentId) : s, g = t.displayName, f = g === void 0 ? function(S) {
|
|
980
|
+
return $e(S) ? "styled.".concat(S) : "Styled(".concat(Nt(S), ")");
|
|
981
|
+
}(e) : g, y = t.displayName && t.componentId ? "".concat(ot(t.displayName), "-").concat(t.componentId) : t.componentId || p, v = n && o.attrs ? o.attrs.concat(c).filter(Boolean) : c, k = t.shouldForwardProp;
|
|
982
|
+
if (n && o.shouldForwardProp) {
|
|
983
|
+
var C = o.shouldForwardProp;
|
|
984
|
+
if (t.shouldForwardProp) {
|
|
985
|
+
var O = t.shouldForwardProp;
|
|
986
|
+
k = function(S, x) {
|
|
987
|
+
return C(S, x) && O(S, x);
|
|
988
|
+
};
|
|
989
|
+
} else k = C;
|
|
990
|
+
}
|
|
991
|
+
var A = new en(r, y, n ? o.componentStyle : void 0);
|
|
992
|
+
function E(S, x) {
|
|
993
|
+
return function(d, l, L) {
|
|
994
|
+
var W = d.attrs, Vt = d.componentStyle, Bt = d.defaultProps, Gt = d.foldedComponentIds, Ze = d.styledComponentId, Ht = d.target, Yt = ce.useContext(Lt), Wt = pt(), _e = d.shouldForwardProp || Wt.shouldForwardProp;
|
|
995
|
+
h.NODE_ENV !== "production" && Qe(Ze);
|
|
996
|
+
var Je = br(l, Yt, Bt) || J, $ = function(ue, ae, le) {
|
|
997
|
+
for (var q, F = _(_({}, ae), { className: void 0, theme: le }), Ie = 0; Ie < ue.length; Ie += 1) {
|
|
998
|
+
var pe = Q(q = ue[Ie]) ? q(F) : q;
|
|
999
|
+
for (var M in pe) F[M] = M === "className" ? B(F[M], pe[M]) : M === "style" ? _(_({}, F[M]), pe[M]) : pe[M];
|
|
1000
|
+
}
|
|
1001
|
+
return ae.className && (F.className = B(F.className, ae.className)), F;
|
|
1002
|
+
}(W, l, Je), ne = $.as || Ht, oe = {};
|
|
1003
|
+
for (var R in $) $[R] === void 0 || R[0] === "$" || R === "as" || R === "theme" && $.theme === Je || (R === "forwardedAs" ? oe.as = $.forwardedAs : _e && !_e(R, ne) || (oe[R] = $[R], _e || h.NODE_ENV !== "development" || Jt(R) || ht.has(R) || !Fe.has(ne) || (ht.add(R), console.warn('styled-components: it looks like an unknown prop "'.concat(R, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
1004
|
+
var Oe = function(ue, ae) {
|
|
1005
|
+
var le = pt(), q = ue.generateAndInjectStyles(ae, le.styleSheet, le.stylis);
|
|
1006
|
+
return h.NODE_ENV !== "production" && Qe(q), q;
|
|
1007
|
+
}(Vt, $);
|
|
1008
|
+
h.NODE_ENV !== "production" && d.warnTooManyClasses && d.warnTooManyClasses(Oe);
|
|
1009
|
+
var Re = B(Gt, Ze);
|
|
1010
|
+
return Oe && (Re += " " + Oe), $.className && (Re += " " + $.className), oe[$e(ne) && !Fe.has(ne) ? "class" : "className"] = Re, oe.ref = L, Ut(ne, oe);
|
|
1011
|
+
}(w, S, x);
|
|
1012
|
+
}
|
|
1013
|
+
E.displayName = f;
|
|
1014
|
+
var w = ce.forwardRef(E);
|
|
1015
|
+
return w.attrs = v, w.componentStyle = A, w.displayName = f, w.shouldForwardProp = k, w.foldedComponentIds = n ? B(o.foldedComponentIds, o.styledComponentId) : "", w.styledComponentId = y, w.target = n ? o.target : e, Object.defineProperty(w, "defaultProps", { get: function() {
|
|
1016
|
+
return this._foldedDefaultProps;
|
|
1017
|
+
}, set: function(S) {
|
|
1018
|
+
this._foldedDefaultProps = n ? function(x) {
|
|
1019
|
+
for (var d = [], l = 1; l < arguments.length; l++) d[l - 1] = arguments[l];
|
|
1020
|
+
for (var L = 0, W = d; L < W.length; L++) Be(x, W[L], !0);
|
|
1021
|
+
return x;
|
|
1022
|
+
}({}, o.defaultProps, S) : S;
|
|
1023
|
+
} }), h.NODE_ENV !== "production" && (wr(f, y), w.warnTooManyClasses = /* @__PURE__ */ function(S, x) {
|
|
1024
|
+
var d = {}, l = !1;
|
|
1025
|
+
return function(L) {
|
|
1026
|
+
if (!l && (d[L] = !0, Object.keys(d).length >= 200)) {
|
|
1027
|
+
var W = x ? ' with the id of "'.concat(x, '"') : "";
|
|
1028
|
+
console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(W, `.
|
|
1029
|
+
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
1030
|
+
Example:
|
|
1031
|
+
const Component = styled.div.attrs(props => ({
|
|
1032
|
+
style: {
|
|
1033
|
+
background: props.background,
|
|
1034
|
+
},
|
|
1035
|
+
}))\`width: 100%;\`
|
|
1036
|
+
|
|
1037
|
+
<Component />`), l = !0, d = {};
|
|
1038
|
+
}
|
|
1039
|
+
};
|
|
1040
|
+
}(f, y)), Ke(w, function() {
|
|
1041
|
+
return ".".concat(w.styledComponentId);
|
|
1042
|
+
}), a && It(w, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), w;
|
|
1043
|
+
}
|
|
1044
|
+
function mt(e, t) {
|
|
1045
|
+
for (var r = [e[0]], n = 0, o = t.length; n < o; n += 1) r.push(t[n], e[n + 1]);
|
|
1046
|
+
return r;
|
|
1047
|
+
}
|
|
1048
|
+
var gt = function(e) {
|
|
1049
|
+
return Object.assign(e, { isCss: !0 });
|
|
1050
|
+
};
|
|
1051
|
+
function rn(e) {
|
|
1052
|
+
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
1053
|
+
if (Q(e) || ee(e)) return gt(H(mt(Ne, X([e], t, !0))));
|
|
1054
|
+
var n = e;
|
|
1055
|
+
return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? H(n) : gt(H(mt(n, t)));
|
|
1056
|
+
}
|
|
1057
|
+
function He(e, t, r) {
|
|
1058
|
+
if (r === void 0 && (r = J), !t) throw re(1, t);
|
|
1059
|
+
var n = function(o) {
|
|
1060
|
+
for (var a = [], i = 1; i < arguments.length; i++) a[i - 1] = arguments[i];
|
|
1061
|
+
return e(t, r, rn.apply(void 0, X([o], a, !1)));
|
|
1062
|
+
};
|
|
1063
|
+
return n.attrs = function(o) {
|
|
1064
|
+
return He(e, t, _(_({}, r), { attrs: Array.prototype.concat(r.attrs, o).filter(Boolean) }));
|
|
1065
|
+
}, n.withConfig = function(o) {
|
|
1066
|
+
return He(e, t, _(_({}, r), o));
|
|
1067
|
+
}, n;
|
|
1068
|
+
}
|
|
1069
|
+
var Ft = function(e) {
|
|
1070
|
+
return He(tn, e);
|
|
1071
|
+
}, nn = Ft;
|
|
1072
|
+
Fe.forEach(function(e) {
|
|
1073
|
+
nn[e] = Ft(e);
|
|
1074
|
+
});
|
|
1075
|
+
h.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
1076
|
+
Perhaps you're looking to import 'styled-components/native'?
|
|
1077
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);
|
|
1078
|
+
var me = "__sc-".concat(Y, "__");
|
|
1079
|
+
h.NODE_ENV !== "production" && h.NODE_ENV !== "test" && typeof window < "u" && (window[me] || (window[me] = 0), window[me] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
1080
|
+
|
|
1081
|
+
See https://s-c.sh/2BAXzed for more info.`), window[me] += 1);
|
|
1082
|
+
export {
|
|
1083
|
+
rn as c,
|
|
1084
|
+
nn as p
|
|
1085
|
+
};
|