creactive 0.0.35 → 0.0.36
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/build/{default/components → components}/text/constants/font.d.ts +1 -1
- package/build/{web/components → components}/text/text.types.d.ts +0 -22
- package/build/contexts/theme/theme.types.d.ts +124 -0
- package/build/hooks/index.d.ts +1 -0
- package/build/hooks/use-theme-style-sheet.d.ts +59 -0
- package/build/{default/index.d.ts → index.d.ts} +1 -0
- package/build/index.js +2 -0
- package/package.json +4 -6
- package/build/default/components/text/text.types.d.ts +0 -49
- package/build/default/contexts/index.d.ts +0 -2
- package/build/default/contexts/theme/theme.types.d.ts +0 -35
- package/build/default/index.js +0 -2
- package/build/web/components/text/constants/font.d.ts +0 -32
- package/build/web/components/text/constants/index.d.ts +0 -3
- package/build/web/components/text/constants/role.d.ts +0 -12
- package/build/web/components/text/constants/type.d.ts +0 -20
- package/build/web/components/text/index.d.ts +0 -2
- package/build/web/components/text/text.d.ts +0 -2
- package/build/web/constants/index.d.ts +0 -1
- package/build/web/constants/theme/font.d.ts +0 -36
- package/build/web/constants/theme/index.d.ts +0 -1
- package/build/web/contexts/index.d.ts +0 -2
- package/build/web/contexts/theme/index.d.ts +0 -2
- package/build/web/contexts/theme/theme.d.ts +0 -3
- package/build/web/contexts/theme/theme.types.d.ts +0 -35
- package/build/web/helpers/style/index.d.ts +0 -2
- package/build/web/helpers/style/style.d.ts +0 -2
- package/build/web/helpers/style/style.types.d.ts +0 -10
- package/build/web/index.d.ts +0 -11
- package/build/web/index.js +0 -2
- package/build/web/index.js.LICENSE.txt +0 -9
- /package/build/{default/components → components}/text/constants/index.d.ts +0 -0
- /package/build/{default/components → components}/text/constants/role.d.ts +0 -0
- /package/build/{default/components → components}/text/constants/type.d.ts +0 -0
- /package/build/{default/components → components}/text/index.d.ts +0 -0
- /package/build/{default/components → components}/text/text.d.ts +0 -0
- /package/build/{default/constants → constants}/index.d.ts +0 -0
- /package/build/{default/constants → constants}/theme/font.d.ts +0 -0
- /package/build/{default/constants → constants}/theme/index.d.ts +0 -0
- /package/build/{default/contexts → contexts}/theme/index.d.ts +0 -0
- /package/build/{default/contexts → contexts}/theme/theme.d.ts +0 -0
- /package/build/{default/helpers → helpers}/style/index.d.ts +0 -0
- /package/build/{default/helpers → helpers}/style/style.d.ts +0 -0
- /package/build/{default/helpers → helpers}/style/style.types.d.ts +0 -0
- /package/build/{default/index.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
|
@@ -1,27 +1,5 @@
|
|
|
1
|
-
import type { ThemeFontWeight } from '../../contexts';
|
|
2
1
|
import type { FunctionComponent, PropsWithChildren } from 'react';
|
|
3
2
|
import type { TextFontSize, TextFontWeight, TextType } from './constants';
|
|
4
|
-
export type BaseStyleSheetParameters = {
|
|
5
|
-
fontFamilyBase: string;
|
|
6
|
-
fontWeightBaseThin: ThemeFontWeight;
|
|
7
|
-
fontWeightBaseExtraLight: ThemeFontWeight;
|
|
8
|
-
fontWeightBaseLight: ThemeFontWeight;
|
|
9
|
-
fontWeightBaseRegular: ThemeFontWeight;
|
|
10
|
-
fontWeightBaseSemibold: ThemeFontWeight;
|
|
11
|
-
fontWeightBaseBold: ThemeFontWeight;
|
|
12
|
-
fontWeightBaseExtraBold: ThemeFontWeight;
|
|
13
|
-
fontWeightBaseBlack: ThemeFontWeight;
|
|
14
|
-
fontSizeBaseX2S: number;
|
|
15
|
-
fontSizeBaseXS: number;
|
|
16
|
-
fontSizeBaseSM: number;
|
|
17
|
-
fontSizeBaseMD: number;
|
|
18
|
-
fontSizeBaseLG: number;
|
|
19
|
-
fontSizeBaseXL: number;
|
|
20
|
-
fontSizeBaseX2L: number;
|
|
21
|
-
fontSizeBaseX3L: number;
|
|
22
|
-
fontSizeBaseX4L: number;
|
|
23
|
-
fontSizeBaseX5L: number;
|
|
24
|
-
};
|
|
25
3
|
export interface TextProps extends PropsWithChildren {
|
|
26
4
|
/**
|
|
27
5
|
* Specific text type if required.
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { FunctionComponent, PropsWithChildren } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Theme font weight type.
|
|
4
|
+
* Should be used to specify theme font weight.
|
|
5
|
+
*/
|
|
6
|
+
export type ThemeFontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
7
|
+
/**
|
|
8
|
+
* Theme context value interface.
|
|
9
|
+
* Contains all theme tokens you may need.
|
|
10
|
+
* This tokens are used inside components for styling.
|
|
11
|
+
* This tokens can be also accesed via theme context outside.
|
|
12
|
+
*/
|
|
13
|
+
export interface ThemeContextValue {
|
|
14
|
+
/**
|
|
15
|
+
* Base font family token.
|
|
16
|
+
* Supposed to be used by most components.
|
|
17
|
+
* If you don't known what font family to use - use this one.
|
|
18
|
+
*/
|
|
19
|
+
fontFamilyBase: string;
|
|
20
|
+
/**
|
|
21
|
+
* Base thin font weight token.
|
|
22
|
+
* For the most delicate and subtle elements.
|
|
23
|
+
* It should be kind of sleek and lightweight text.
|
|
24
|
+
*/
|
|
25
|
+
fontWeightBaseThin: ThemeFontWeight;
|
|
26
|
+
/**
|
|
27
|
+
* Base extra-light font weight token.
|
|
28
|
+
* Slightly heavier than thin but still very light.
|
|
29
|
+
* Suitable for subtle text elements that require a bit more presence.
|
|
30
|
+
*/
|
|
31
|
+
fontWeightBaseExtraLight: ThemeFontWeight;
|
|
32
|
+
/**
|
|
33
|
+
* Base light font weight token.
|
|
34
|
+
* Can be used for secondary text for example.
|
|
35
|
+
*/
|
|
36
|
+
fontWeightBaseLight: ThemeFontWeight;
|
|
37
|
+
/**
|
|
38
|
+
* Base regular font weight token.
|
|
39
|
+
* For the most common text elements of your interface.
|
|
40
|
+
* If you dont't known what font weight to use - use this one.
|
|
41
|
+
*/
|
|
42
|
+
fontWeightBaseRegular: ThemeFontWeight;
|
|
43
|
+
/**
|
|
44
|
+
* Base semi-bold font weight token.
|
|
45
|
+
* Variant for highlit regular text a bit.
|
|
46
|
+
* Not as strong as bold, but still more noticeable.
|
|
47
|
+
*/
|
|
48
|
+
fontWeightBaseSemibold: ThemeFontWeight;
|
|
49
|
+
/**
|
|
50
|
+
* Base bold font weight token.
|
|
51
|
+
* Supposed to be used for titles and headings.
|
|
52
|
+
*/
|
|
53
|
+
fontWeightBaseBold: ThemeFontWeight;
|
|
54
|
+
/**
|
|
55
|
+
* Extra-bold font weight token.
|
|
56
|
+
* Maybe if you need to highlight something inside title or heading.
|
|
57
|
+
*/
|
|
58
|
+
fontWeightBaseExtraBold: ThemeFontWeight;
|
|
59
|
+
/**
|
|
60
|
+
* Base black font wieght token.
|
|
61
|
+
* The heaviest font weight variant.
|
|
62
|
+
* Should be used for hudge text elements like hero title and etc.
|
|
63
|
+
*/
|
|
64
|
+
fontWeightBaseBlack: ThemeFontWeight;
|
|
65
|
+
/**
|
|
66
|
+
* Base 2 times extra-small font size token.
|
|
67
|
+
* Use this size for tiny text elements like captions.
|
|
68
|
+
* It is like the smallest readable text in your interface.
|
|
69
|
+
*/
|
|
70
|
+
fontSizeBaseX2S: number;
|
|
71
|
+
/**
|
|
72
|
+
* Base extra-small font size token.
|
|
73
|
+
* Can be a kind of subtitle for smallest readable text for example.
|
|
74
|
+
*/
|
|
75
|
+
fontSizeBaseXS: number;
|
|
76
|
+
/**
|
|
77
|
+
* Base small font size token.
|
|
78
|
+
* Can be used for smaller labels or captions among medium text.
|
|
79
|
+
* It also can be used as a title font size for smaller 2 times small text.
|
|
80
|
+
*/
|
|
81
|
+
fontSizeBaseSM: number;
|
|
82
|
+
/**
|
|
83
|
+
* Base medium font size token.
|
|
84
|
+
* Supposed to be used for most of the text elements.
|
|
85
|
+
* If you don't known what font size to use - use this one.
|
|
86
|
+
*/
|
|
87
|
+
fontSizeBaseMD: number;
|
|
88
|
+
/**
|
|
89
|
+
* Base large font size token.
|
|
90
|
+
* Can be used for fourth-level page title.
|
|
91
|
+
* Can be used for some larger labels or captions among medium text.
|
|
92
|
+
*/
|
|
93
|
+
fontSizeBaseLG: number;
|
|
94
|
+
/**
|
|
95
|
+
* Base extra-large font size token.
|
|
96
|
+
* Can be used for third-level page title.
|
|
97
|
+
* Also can be used for some larger labels or captions among medium text.
|
|
98
|
+
*/
|
|
99
|
+
fontSizeBaseXL: number;
|
|
100
|
+
/**
|
|
101
|
+
* Base 2 times extra-large font size token.
|
|
102
|
+
* Supposed to be used for second-level page title.
|
|
103
|
+
*/
|
|
104
|
+
fontSizeBaseX2L: number;
|
|
105
|
+
/**
|
|
106
|
+
* Base 3 times extra-large font size token.
|
|
107
|
+
* Supposed to be used for first-level page title.
|
|
108
|
+
* Can be also used for labels or captions among hudge text.
|
|
109
|
+
*/
|
|
110
|
+
fontSizeBaseX3L: number;
|
|
111
|
+
/**
|
|
112
|
+
* Base 4 times extra-large font size token.
|
|
113
|
+
* Can be used for hudge text labels and captions.
|
|
114
|
+
*/
|
|
115
|
+
fontSizeBaseX4L: number;
|
|
116
|
+
/**
|
|
117
|
+
* Base 5 times extra-large font size token.
|
|
118
|
+
* Use this size for huge text elements like hero title.
|
|
119
|
+
* Supposed to be the largest font size in your interface.
|
|
120
|
+
*/
|
|
121
|
+
fontSizeBaseX5L: number;
|
|
122
|
+
}
|
|
123
|
+
export type ThemeContextProviderProps = PropsWithChildren<Partial<ThemeContextValue>>;
|
|
124
|
+
export type ThemeContextProviderComponent = FunctionComponent<ThemeContextProviderProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useThemeStyleSheet } from './use-theme-style-sheet';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const useThemeStyleSheet: () => {
|
|
2
|
+
fontFamilyBase: {
|
|
3
|
+
fontFamily: string;
|
|
4
|
+
};
|
|
5
|
+
fontWeightBaseThin: {
|
|
6
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
7
|
+
};
|
|
8
|
+
fontWeightBaseExtraLight: {
|
|
9
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
10
|
+
};
|
|
11
|
+
fontWeightBaseLight: {
|
|
12
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
13
|
+
};
|
|
14
|
+
fontWeightBaseRegular: {
|
|
15
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
16
|
+
};
|
|
17
|
+
fontWeightBaseSemibold: {
|
|
18
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
19
|
+
};
|
|
20
|
+
fontWeightBaseBold: {
|
|
21
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
22
|
+
};
|
|
23
|
+
fontWeightBaseExtraBold: {
|
|
24
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
25
|
+
};
|
|
26
|
+
fontWeightBaseBlack: {
|
|
27
|
+
fontWeight: import("../contexts/theme").ThemeFontWeight;
|
|
28
|
+
};
|
|
29
|
+
fontSizeBaseX2S: {
|
|
30
|
+
fontSize: number;
|
|
31
|
+
};
|
|
32
|
+
fontSizeBaseXS: {
|
|
33
|
+
fontSize: number;
|
|
34
|
+
};
|
|
35
|
+
fontSizeBaseSM: {
|
|
36
|
+
fontSize: number;
|
|
37
|
+
};
|
|
38
|
+
fontSizeBaseMD: {
|
|
39
|
+
fontSize: number;
|
|
40
|
+
};
|
|
41
|
+
fontSizeBaseLG: {
|
|
42
|
+
fontSize: number;
|
|
43
|
+
};
|
|
44
|
+
fontSizeBaseXL: {
|
|
45
|
+
fontSize: number;
|
|
46
|
+
};
|
|
47
|
+
fontSizeBaseX2L: {
|
|
48
|
+
fontSize: number;
|
|
49
|
+
};
|
|
50
|
+
fontSizeBaseX3L: {
|
|
51
|
+
fontSize: number;
|
|
52
|
+
};
|
|
53
|
+
fontSizeBaseX4L: {
|
|
54
|
+
fontSize: number;
|
|
55
|
+
};
|
|
56
|
+
fontSizeBaseX5L: {
|
|
57
|
+
fontSize: number;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -9,3 +9,4 @@ export { ThemeContextProvider, useThemeContext } from './contexts/theme';
|
|
|
9
9
|
export type { ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, ThemeFontWeight, } from './contexts/theme';
|
|
10
10
|
export { renderStyle } from './helpers/style';
|
|
11
11
|
export type { RenderStyleHelper } from './helpers/style';
|
|
12
|
+
export { useThemeStyleSheet } from './hooks/use-theme-style-sheet';
|
package/build/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("creactive",["react","react-dom"],r):"object"==typeof exports?exports.creactive=r(require("react"),require("react-dom")):e.creactive=r(e.react,e["react-dom"])}(this,((e,r)=>(()=>{"use strict";var t={486:(e,r,t)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function a(e){return e.filter((function(r,t){return e.lastIndexOf(r)===t}))}function i(e){for(var r=0,t=arguments.length<=1?0:arguments.length-1;r<t;++r){var l=r+1<1||arguments.length<=r+1?void 0:arguments[r+1];for(var s in l){var u=l[s],c=e[s];if(c&&u){if(Array.isArray(c)){e[s]=a(c.concat(u));continue}if(Array.isArray(u)){e[s]=a([c].concat(function(e){if(Array.isArray(e))return o(e)}(d=u)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(d)||function(e,r){if(e){if("string"==typeof e)return o(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):void 0}}(d)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));continue}if("object"===n(u)){e[s]=i({},c,u);continue}}e[s]=u}}var d;return e}t.r(r),t.d(r,{assignStyle:()=>i,camelCaseProperty:()=>d,cssifyDeclaration:()=>h,cssifyObject:()=>b,hyphenateProperty:()=>p,isPrefixedProperty:()=>v,isPrefixedValue:()=>m,isUnitlessProperty:()=>A,normalizeProperty:()=>P,resolveArrayValue:()=>M,unprefixProperty:()=>L,unprefixValue:()=>z});var l=/-([a-z])/g,s=/^Ms/g,u={};function c(e){return e[1].toUpperCase()}function d(e){if(u.hasOwnProperty(e))return u[e];var r=e.replace(l,c).replace(s,"ms");return u[e]=r,r}var f=t(685);function p(e){return(0,f.default)(e)}function h(e,r){return p(e)+":"+r}function b(e){var r="";for(var t in e){var n=e[t];"string"!=typeof n&&"number"!=typeof n||(r&&(r+=";"),r+=h(t,n))}return r}var g=/^(Webkit|Moz|O|ms)/;function v(e){return g.test(e)}var y=/-webkit-|-moz-|-ms-/;function m(e){return"string"==typeof e&&y.test(e)}var S={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},R=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineClamp","order"],w=["Webkit","ms","Moz","O"];function x(e,r){return e+r.charAt(0).toUpperCase()+r.slice(1)}for(var B=0,k=R.length;B<k;++B){var C=R[B];S[C]=!0;for(var E=0,O=w.length;E<O;++E)S[x(w[E],C)]=!0}for(var T in S)S[p(T)]=!0;function A(e){return S.hasOwnProperty(e)}var W=/^(ms|Webkit|Moz|O)/;function L(e){var r=e.replace(W,"");return r.charAt(0).toLowerCase()+r.slice(1)}function P(e){return L(d(e))}function M(e,r){return r.join(";"+p(e)+":")}var I=/(-ms-|-webkit-|-moz-|-o-)/g;function z(e){return"string"==typeof e?e.replace(I,""):e}},721:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(0,o.default)(e)};var n,o=(n=t(685))&&n.__esModule?n:{default:n}},14:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return"string"==typeof e&&t.test(e)};var t=/-webkit-|-moz-|-ms-/},646:e=>{e.exports=function(e,r){for(var t=arguments.length,n=new Array(t>2?t-2:0),o=2;o<t;o++)n[o-2]=arguments[o];if(!e){var a;if(void 0===r)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=0;(a=new Error(r.replace(/%s/g,(function(){return String(n[i++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},685:(e,r,t)=>{t.r(r),t.d(r,{default:()=>l});var n=/[A-Z]/g,o=/^ms-/,a={};function i(e){return"-"+e.toLowerCase()}const l=function(e){if(a.hasOwnProperty(e))return a[e];var r=e.replace(n,i);return a[e]=o.test(r)?"-"+r:r}},485:(e,r,t)=>{r.A=function(e){var r=e.prefixMap,t=e.plugins;return function e(l){for(var s in l){var u=l[s];if((0,i.default)(u))l[s]=e(u);else if(Array.isArray(u)){for(var c=[],d=0,f=u.length;d<f;++d){var p=(0,o.default)(t,s,u[d],l,r);(0,a.default)(c,p||u[d])}c.length>0&&(l[s]=c)}else{var h=(0,o.default)(t,s,u,l,r);h&&(l[s]=h),l=(0,n.default)(r,s,l)}}return l}};var n=l(t(49)),o=l(t(971)),a=l(t(863)),i=l(t(99));function l(e){return e&&e.__esModule?e:{default:e}}},217:(e,r)=>{r.A=function(){return null}},261:(e,r,t)=>{r.A=function(e,r){if("string"==typeof r&&!(0,n.isPrefixedValue)(r)&&-1!==r.indexOf("cross-fade("))return a.map((function(e){return r.replace(o,e+"cross-fade(")}))};var n=t(486),o=/cross-fade\(/g,a=["-webkit-",""]},41:(e,r)=>{r.A=function(e,r){if("cursor"===e&&n.hasOwnProperty(r))return t.map((function(e){return e+r}))};var t=["-webkit-","-moz-",""],n={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},33:(e,r,t)=>{r.A=function(e,r){if("string"==typeof r&&!(0,n.isPrefixedValue)(r)&&-1!==r.indexOf("filter("))return a.map((function(e){return r.replace(o,e+"filter(")}))};var n=t(486),o=/filter\(/g,a=["-webkit-",""]},852:(e,r,t)=>{r.A=function(e,r){if("string"==typeof r&&!(0,o.default)(r)&&r.indexOf("image-set(")>-1)return a.map((function(e){return r.replace(/image-set\(/g,e+"image-set(")}))};var n,o=(n=t(14))&&n.__esModule?n:{default:n},a=["-webkit-",""]},639:(e,r)=>{r.A=function(e,r,n){if(Object.prototype.hasOwnProperty.call(t,e))for(var o=t[e],a=0,i=o.length;a<i;++a)n[o[a]]=r};var t={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]}},996:(e,r)=>{r.A=function(e,r){if("position"===e&&"sticky"===r)return["-webkit-sticky","sticky"]}},129:(e,r)=>{r.A=function(e,r){if(n.hasOwnProperty(e)&&o.hasOwnProperty(r))return t.map((function(e){return e+r}))};var t=["-webkit-","-moz-",""],n={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},o={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},508:(e,r,t)=>{r.A=function(e,r,t,i){if("string"==typeof r&&l.hasOwnProperty(e)){var u=function(e,r){if((0,o.default)(e))return e;for(var t=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),a=0,i=t.length;a<i;++a){var l=t[a],u=[l];for(var c in r){var d=(0,n.default)(c);if(l.indexOf(d)>-1&&"order"!==d)for(var f=r[c],p=0,h=f.length;p<h;++p)u.unshift(l.replace(d,s[f[p]]+d))}t[a]=u.join(",")}return t.join(",")}(r,i),c=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-moz-|-ms-/.test(e)})).join(",");if(e.indexOf("Webkit")>-1)return c;var d=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?d:(t["Webkit"+(0,a.default)(e)]=c,t["Moz"+(0,a.default)(e)]=d,u)}};var n=i(t(721)),o=i(t(14)),a=i(t(91));function i(e){return e&&e.__esModule?e:{default:e}}var l={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},s={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},863:(e,r)=>{function t(e,r){-1===e.indexOf(r)&&e.push(r)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,r){if(Array.isArray(r))for(var n=0,o=r.length;n<o;++n)t(e,r[n]);else t(e,r)}},91:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},99:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return e instanceof Object&&!Array.isArray(e)}},49:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,r,t){var n=e[r];if(n&&t.hasOwnProperty(r))for(var a=(0,o.default)(r),i=0;i<n.length;++i){var l=n[i]+a;t[l]||(t[l]=t[r])}return t};var n,o=(n=t(91))&&n.__esModule?n:{default:n}},971:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,r,t,n,o){for(var a=0,i=e.length;a<i;++a){var l=e[a](r,t,n,o);if(l)return l}}},338:(e,r,t)=>{var n=t(514);r.H=n.createRoot,r.c=n.hydrateRoot},515:e=>{function r(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}function t(e,t,n){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o,i=r(a,o,e+1/3),l=r(a,o,e),s=r(a,o,e-1/3);return Math.round(255*i)<<24|Math.round(255*l)<<16|Math.round(255*s)<<8}const n="[-+]?\\d*\\.?\\d+",o=n+"%";function a(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function i(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function l(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let s;function u(e){const r=parseInt(e,10);return r<0?0:r>255?255:r}function c(e){return(parseFloat(e)%360+360)%360/360}function d(e){const r=parseFloat(e);return r<0?0:r>1?255:Math.round(255*r)}function f(e){const r=parseFloat(e);return r<0?0:r>100?1:r/100}e.exports=function(e){if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;const p=(void 0===s&&(s={rgb:new RegExp("rgb"+a(n,n,n)),rgba:new RegExp("rgba("+l(n,n,n,n)+"|"+i(n,n,n,n)+")"),hsl:new RegExp("hsl"+a(n,o,o)),hsla:new RegExp("hsla("+l(n,o,o,n)+"|"+i(n,o,o,n)+")"),hwb:new RegExp("hwb"+a(n,o,o)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),s);let h;if(h=p.hex6.exec(e))return parseInt(h[1]+"ff",16)>>>0;const b=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=b?b:(h=p.rgb.exec(e))?(u(h[1])<<24|u(h[2])<<16|u(h[3])<<8|255)>>>0:(h=p.rgba.exec(e))?void 0!==h[6]?(u(h[6])<<24|u(h[7])<<16|u(h[8])<<8|d(h[9]))>>>0:(u(h[2])<<24|u(h[3])<<16|u(h[4])<<8|d(h[5]))>>>0:(h=p.hex3.exec(e))?parseInt(h[1]+h[1]+h[2]+h[2]+h[3]+h[3]+"ff",16)>>>0:(h=p.hex8.exec(e))?parseInt(h[1],16)>>>0:(h=p.hex4.exec(e))?parseInt(h[1]+h[1]+h[2]+h[2]+h[3]+h[3]+h[4]+h[4],16)>>>0:(h=p.hsl.exec(e))?(255|t(c(h[1]),f(h[2]),f(h[3])))>>>0:(h=p.hsla.exec(e))?void 0!==h[6]?(t(c(h[6]),f(h[7]),f(h[8]))|d(h[9]))>>>0:(t(c(h[2]),f(h[3]),f(h[4]))|d(h[5]))>>>0:(h=p.hwb.exec(e))?(255|function(e,t,n){if(t+n>=1){const e=Math.round(255*t/(t+n));return e<<24|e<<16|e<<8}const o=r(0,1,e+1/3)*(1-t-n)+t,a=r(0,1,e)*(1-t-n)+t,i=r(0,1,e-1/3)*(1-t-n)+t;return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*i)<<8}(c(h[1]),f(h[2]),f(h[3])))>>>0:null}},20:(e,r,t)=>{var n=t(155),o=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,t){var n,s={},u=null,c=null;for(n in void 0!==t&&(u=""+t),void 0!==r.key&&(u=""+r.key),void 0!==r.ref&&(c=r.ref),r)a.call(r,n)&&!l.hasOwnProperty(n)&&(s[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===s[n]&&(s[n]=r[n]);return{$$typeof:o,type:e,key:u,ref:c,props:s,_owner:i.current}}},848:(e,r,t)=>{e.exports=t(20)},176:(e,r)=>{r.P=void 0;var t=new WeakMap;function n(e){var r,n,o;return null!=e&&(r=!0===e.disableCache,n=!0===e.disableMix,o=e.transform),function(){for(var e=[],a="",i=null,l=r?null:t,s=new Array(arguments.length),u=0;u<arguments.length;u++)s[u]=arguments[u];for(;s.length>0;){var c=s.pop();if(null!=c&&!1!==c)if(Array.isArray(c))for(var d=0;d<c.length;d++)s.push(c[d]);else{var f=null!=o?o(c):c;if(f.$$css){var p="";if(null!=l&&l.has(f)){var h=l.get(f);null!=h&&(p=h[0],e.push.apply(e,h[1]),l=h[2])}else{var b=[];for(var g in f){var v=f[g];"$$css"!==g&&("string"==typeof v||null===v?e.includes(g)||(e.push(g),null!=l&&b.push(g),"string"==typeof v&&(p+=p?" "+v:v)):console.error("styleq: ".concat(g," typeof ").concat(String(v),' is not "string" or "null".')))}if(null!=l){var y=new WeakMap;l.set(f,[p,b,y]),l=y}}p&&(a=a?p+" "+a:p)}else if(n)null==i&&(i={}),i=Object.assign({},f,i);else{var m=null;for(var S in f){var R=f[S];void 0!==R&&(e.includes(S)||(null!=R&&(null==i&&(i={}),null==m&&(m={}),m[S]=R),e.push(S),l=null))}null!=m&&(i=Object.assign(m,i))}}}return[a,i]}}var o=n();r.P=o,o.factory=n},336:(e,r)=>{r.n=function(e,r){if(null!=e[n]){var a=r?1:0;if(t.has(e)){var i=t.get(e),l=i[a];return null==l&&(l=o(e,r),i[a]=l,t.set(e,i)),l}var s=o(e,r),u=new Array(2);return u[a]=s,t.set(e,u),s}return e};var t=new WeakMap,n="$$css$localize";function o(e,r){var t={};for(var o in e)if(o!==n){var a=e[o];Array.isArray(a)?t[o]=r?a[1]:a[0]:t[o]=a}return t}},155:r=>{r.exports=e},514:e=>{e.exports=r}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};o.r(a),o.d(a,{FONT_FAMILY_BASE:()=>i,Text:()=>Nt,ThemeContextProvider:()=>d,renderStyle:()=>hn,useThemeContext:()=>f,useThemeStyleSheet:()=>Ze});const i=["ui-sans-serif","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto","Helvetica","Arial","sans-serif"].join(",");var l=o(155),s=o.n(l),u=o(848);const c=(0,l.createContext)({fontFamilyBase:i,fontWeightBaseThin:100,fontWeightBaseExtraLight:200,fontWeightBaseLight:300,fontWeightBaseRegular:400,fontWeightBaseSemibold:600,fontWeightBaseBold:700,fontWeightBaseExtraBold:800,fontWeightBaseBlack:900,fontSizeBaseX2S:12,fontSizeBaseXS:14,fontSizeBaseSM:16,fontSizeBaseMD:18,fontSizeBaseLG:20,fontSizeBaseXL:24,fontSizeBaseX2L:30,fontSizeBaseX3L:36,fontSizeBaseX4L:48,fontSizeBaseX5L:60}),d=({fontFamilyBase:e,fontWeightBaseThin:r,fontWeightBaseExtraLight:t,fontWeightBaseLight:n,fontWeightBaseRegular:o,fontWeightBaseSemibold:a,fontWeightBaseBold:s,fontWeightBaseExtraBold:d,fontWeightBaseBlack:f,fontSizeBaseX2S:p,fontSizeBaseXS:h,fontSizeBaseSM:b,fontSizeBaseMD:g,fontSizeBaseLG:v,fontSizeBaseXL:y,fontSizeBaseX2L:m,fontSizeBaseX3L:S,fontSizeBaseX4L:R,fontSizeBaseX5L:w,children:x})=>{const B=(0,l.useMemo)((()=>({fontFamilyBase:e??i,fontWeightBaseThin:r??100,fontWeightBaseExtraLight:t??200,fontWeightBaseLight:n??300,fontWeightBaseRegular:o??400,fontWeightBaseSemibold:a??600,fontWeightBaseBold:s??700,fontWeightBaseExtraBold:d??800,fontWeightBaseBlack:f??900,fontSizeBaseX2S:p??12,fontSizeBaseXS:h??14,fontSizeBaseSM:b??16,fontSizeBaseMD:g??18,fontSizeBaseLG:v??20,fontSizeBaseXL:y??24,fontSizeBaseX2L:m??30,fontSizeBaseX3L:S??36,fontSizeBaseX4L:R??48,fontSizeBaseX5L:w??60})),[e,r,t,n,o,a,s,d,f,p,h,b,g,v,y,m,S,R,w]);return(0,u.jsx)(c.Provider,{value:B,children:x})},f=()=>(0,l.useContext)(c);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,r,t){return(r=function(e){var r=function(e){if("object"!=p(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,"string");if("object"!=p(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function b(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function g(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?b(Object(t),!0).forEach((function(r){h(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function v(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.includes(n))continue;t[n]=e[n]}return t}var y={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},m=["ms","Moz","O","Webkit"];Object.keys(y).forEach((e=>{m.forEach((r=>{y[((e,r)=>e+r.charAt(0).toUpperCase()+r.substring(1))(r,e)]=y[e]}))}));const S=y;var R=o(515),w=o.n(R);const x=function(e,r){if(void 0===r&&(r=1),null!=e){if("string"==typeof e&&(e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("))(e))return e;var t=(e=>{if(null==e)return e;var r=w()(e);return null!=r?r=(r<<24|r>>>8)>>>0:void 0})(e);if(null!=t)return"rgba("+(t>>16&255)+","+(t>>8&255)+","+(255&t)+","+((t>>24&255)/255*r).toFixed(2)+")"}};var B={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function k(e,r){var t=e;return null!=r&&S[r]||"number"!=typeof e?null!=r&&B[r]&&(t=x(e)):t=e+"px",t}const C=!("undefined"==typeof window||!window.document||!window.document.createElement);var E={},O=!C||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),T='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',A={borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderBlockColor:["borderTopColor","borderBottomColor"],borderInlineColor:["borderRightColor","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderInlineStyle:["borderRightStyle","borderLeftStyle"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderInlineWidth:["borderRightWidth","borderLeftWidth"],insetBlock:["top","bottom"],insetInline:["left","right"],marginBlock:["marginTop","marginBottom"],marginInline:["marginRight","marginLeft"],paddingBlock:["paddingTop","paddingBottom"],paddingInline:["paddingRight","paddingLeft"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],borderBlockStartColor:["borderTopColor"],borderBlockStartStyle:["borderTopStyle"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndColor:["borderBottomColor"],borderBlockEndStyle:["borderBottomStyle"],borderBlockEndWidth:["borderBottomWidth"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],insetBlockEnd:["bottom"],insetBlockStart:["top"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"]};const W=(e,r)=>{if(!e)return E;var t={},n=function(){var n=e[o];if(null==n)return"continue";if("backgroundClip"===o)"text"===n&&(t.backgroundClip=n,t.WebkitBackgroundClip=n);else if("flex"===o)-1===n?(t.flexGrow=0,t.flexShrink=1,t.flexBasis="auto"):t.flex=n;else if("font"===o)t[o]=n.replace("System",T);else if("fontFamily"===o)if(n.indexOf("System")>-1){var a=n.split(/,\s*/);a[a.indexOf("System")]=T,t[o]=a.join(",")}else t[o]="monospace"===n?"monospace,monospace":n;else if("textDecorationLine"===o)O?t.textDecorationLine=n:t.textDecoration=n;else if("writingDirection"===o)t.direction=n;else{var i=k(e[o],o),l=A[o];r&&"inset"===o?(null==e.insetInline&&(t.left=i,t.right=i),null==e.insetBlock&&(t.top=i,t.bottom=i)):r&&"margin"===o?(null==e.marginInline&&(t.marginLeft=i,t.marginRight=i),null==e.marginBlock&&(t.marginTop=i,t.marginBottom=i)):r&&"padding"===o?(null==e.paddingInline&&(t.paddingLeft=i,t.paddingRight=i),null==e.paddingBlock&&(t.paddingTop=i,t.paddingBottom=i)):l?l.forEach(((r,n)=>{null==e[r]&&(t[r]=i)})):t[o]=i}};for(var o in e)n();return t};var L=/[A-Z]/g,P=/^ms-/,M={};function I(e){return"-"+e.toLowerCase()}var z=o(485),X=o(217),j=o(261),D=o(41),_=o(33),H=o(852),N=o(639),G=o(996),F=o(129),Y=o(508),q=["Webkit"],$=["Webkit","ms"];const V={plugins:[X.A,j.A,D.A,_.A,H.A,N.A,G.A,F.A,Y.A],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:$,textEmphasis:$,textEmphasisStyle:$,textEmphasisColor:$,boxDecorationBreak:$,clipPath:q,maskImage:$,maskMode:$,maskRepeat:$,maskPosition:$,maskClip:$,maskOrigin:$,maskSize:$,maskComposite:$,mask:$,maskBorderSource:$,maskBorderMode:$,maskBorderSlice:$,maskBorderWidth:$,maskBorderOutset:$,maskBorderRepeat:$,maskBorder:$,maskType:$,textDecorationStyle:q,textDecorationSkip:q,textDecorationLine:q,textDecorationColor:q,filter:q,breakAfter:q,breakBefore:q,breakInside:q,columnCount:q,columnFill:q,columnGap:q,columnRule:q,columnRuleColor:q,columnRuleStyle:q,columnRuleWidth:q,columns:q,columnSpan:q,columnWidth:q,backdropFilter:q,hyphens:q,flowInto:q,flowFrom:q,regionFragment:q,textOrientation:q,tabSize:["Moz"],fontKerning:q,textSizeAdjust:q}},K=(0,z.A)(V);var U=["animationKeyframes"],J=new Map,Z={},Q={borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,inset:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,insetBlock:2.1,insetInline:2.1,marginInline:2.1,marginBlock:2.1,paddingInline:2.1,paddingBlock:2.1,borderBlockStartColor:2.2,borderBlockStartStyle:2.2,borderBlockStartWidth:2.2,borderBlockEndColor:2.2,borderBlockEndStyle:2.2,borderBlockEndWidth:2.2,borderInlineStartColor:2.2,borderInlineStartStyle:2.2,borderInlineStartWidth:2.2,borderInlineEndColor:2.2,borderInlineEndStyle:2.2,borderInlineEndWidth:2.2,borderEndStartRadius:2.2,borderEndEndRadius:2.2,borderStartStartRadius:2.2,borderStartEndRadius:2.2,insetBlockEnd:2.2,insetBlockStart:2.2,insetInlineEnd:2.2,insetInlineStart:2.2,marginBlockStart:2.2,marginBlockEnd:2.2,marginInlineStart:2.2,marginInlineEnd:2.2,paddingBlockStart:2.2,paddingBlockEnd:2.2,paddingInlineStart:2.2,paddingInlineEnd:2.2},ee="borderTopLeftRadius",re="borderTopRightRadius",te="borderBottomLeftRadius",ne="borderBottomRightRadius",oe="borderLeftColor",ae="borderLeftStyle",ie="borderLeftWidth",le="borderRightColor",se="borderRightStyle",ue="borderRightWidth",ce="right",de="marginLeft",fe="marginRight",pe="paddingLeft",he="paddingRight",be="left",ge={[ee]:re,[re]:ee,[te]:ne,[ne]:te,[oe]:le,[ae]:se,[ie]:ue,[le]:oe,[se]:ae,[ue]:ie,[be]:ce,[de]:fe,[fe]:de,[pe]:he,[he]:pe,[ce]:be},ve={borderStartStartRadius:ee,borderStartEndRadius:re,borderEndStartRadius:te,borderEndEndRadius:ne,borderInlineStartColor:oe,borderInlineStartStyle:ae,borderInlineStartWidth:ie,borderInlineEndColor:le,borderInlineEndStyle:se,borderInlineEndWidth:ue,insetInlineEnd:ce,insetInlineStart:be,marginInlineStart:de,marginInlineEnd:fe,paddingInlineStart:pe,paddingInlineEnd:he},ye=["clear","float","textAlign"];function me(e){var r=K(W(e));return"{"+Object.keys(r).map((e=>{var t=r[e],n=function(e){if(e in M)return M[e];var r=e.replace(L,I);return M[e]=P.test(r)?"-"+r:r}(e);return Array.isArray(t)?t.map((e=>n+":"+e)).join(";"):n+":"+t})).sort().join(";")+";}"}function Se(e,r,t){return e+"-"+function(e){for(var r,t=e.length,n=1^t,o=0;t>=4;)r=1540483477*(65535&(r=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(r>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),t-=4,++o;switch(t){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),(n^=n>>>15)>>>0}(r+t).toString(36)}function Re(e){if("number"==typeof e)throw new Error("Invalid CSS keyframes type: "+typeof e);var r=[],t=[];return(Array.isArray(e)?e:[e]).forEach((e=>{if("string"==typeof e)r.push(e);else{var n=function(e){var r=Se("r","animation",JSON.stringify(e)),t="{"+Object.keys(e).map((r=>""+r+me(e[r]))).join("")+"}",n=["-webkit-",""].map((e=>"@"+e+"keyframes "+r+t));return[r,n]}(e),o=n[0],a=n[1];r.push(o),t.push(...a)}})),[r,t]}function we(e,r,t){if(C){var n=null!=r?r:document,o=n.getElementById(e);if(null==o)if((o=document.createElement("style")).setAttribute("id",e),"string"==typeof t&&o.appendChild(document.createTextNode(t)),n instanceof ShadowRoot)n.insertBefore(o,n.firstChild);else{var a=n.head;a&&a.insertBefore(o,a.firstChild)}return o.sheet}return null}var xe=Array.prototype.slice;function Be(e){var r,t={},n={};function o(e,r,n){var o=Ce(t),a=o.indexOf(r)+1,i=o[a],l=null!=i&&null!=t[i].start?t[i].start:e.cssRules.length,s=function(e,r,t){try{return e.insertRule(r,t),!0}catch(e){return!1}}(e,n,l);if(s){null==t[r].start&&(t[r].start=l);for(var u=a;u<o.length;u+=1){var c=o[u],d=t[c].start||0;t[c].start=d+1}}return s}null!=e&&xe.call(e.cssRules).forEach(((e,o)=>{var a=e.cssText;if(a.indexOf("stylesheet-group")>-1)r=function(e){return Number(e.selectorText.split(ke)[1])}(e),t[r]={start:o,rules:[a]};else{var i=Oe(a);null!=i&&(n[i]=!0,t[r].rules.push(a))}}));var a={getTextContent:()=>Ce(t).map((e=>{var r=t[e].rules,n=r.shift();return r.sort(),r.unshift(n),r.join("\n")})).join("\n"),insert(r,a){var i=Number(a);if(null==t[i]){var l=function(e){return'[stylesheet-group="'+e+'"]{}'}(i);t[i]={start:null,rules:[l]},null!=e&&o(e,i,l)}var s=Oe(r);null!=s&&null==n[s]&&(n[s]=!0,t[i].rules.push(r),null!=e&&(o(e,i,r)||t[i].rules.pop()))}};return a}var ke=/["']/g;function Ce(e){return Object.keys(e).map(Number).sort(((e,r)=>e>r?1:-1))}var Ee=/\s*([,])\s*/g;function Oe(e){var r=e.split("{")[0].trim();return""!==r?r.replace(Ee,"$1"):null}var Te=new WeakMap,Ae=[],We=["html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}","body{margin:0;}","button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}","input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}"];function Le(e,r){var t;if(void 0===r&&(r="react-native-stylesheet"),C){var n=null!=e?e.getRootNode():document;if(0===Ae.length)t=Be(we(r)),We.forEach((e=>{t.insert(e,0)})),Te.set(n,Ae.length),Ae.push(t);else{var o=Te.get(n);if(null==o){var a=Ae[0],i=null!=a?a.getTextContent():"";t=Be(we(r,n,i)),Te.set(n,Ae.length),Ae.push(t)}else t=Ae[o]}}else 0===Ae.length?(t=Be(we(r)),We.forEach((e=>{t.insert(e,0)})),Ae.push(t)):t=Ae[0];return{getTextContent:()=>t.getTextContent(),id:r,insert(e,r){Ae.forEach((t=>{t.insert(e,r)}))}}}var Pe=o(336);var Me={},Ie={height:0,width:0},ze=e=>{var r=Object.keys(e)[0],t=e[r];return"matrix"===r||"matrix3d"===r?r+"("+t.join(",")+")":r+"("+k(t,r)+")"},Xe=e=>e.map(ze).join(" "),je={borderBottomEndRadius:"borderEndEndRadius",borderBottomStartRadius:"borderEndStartRadius",borderTopEndRadius:"borderStartEndRadius",borderTopStartRadius:"borderStartStartRadius",borderEndColor:"borderInlineEndColor",borderEndStyle:"borderInlineEndStyle",borderEndWidth:"borderInlineEndWidth",borderStartColor:"borderInlineStartColor",borderStartStyle:"borderInlineStartStyle",borderStartWidth:"borderInlineStartWidth",end:"insetInlineEnd",marginEnd:"marginInlineEnd",marginHorizontal:"marginInline",marginStart:"marginInlineStart",marginVertical:"marginBlock",paddingEnd:"paddingInlineEnd",paddingHorizontal:"paddingInline",paddingStart:"paddingInlineStart",paddingVertical:"paddingBlock",start:"insetInlineStart"},De={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},_e=function(e,r){void 0===r&&(r={});var t=e||Me,n={};if(r.shadow,null!=t.shadowColor||null!=t.shadowOffset||null!=t.shadowOpacity||null!=t.shadowRadius){var o=(e=>{var r=e.shadowColor,t=e.shadowOffset,n=e.shadowOpacity,o=e.shadowRadius,a=t||Ie,i=a.height,l=k(a.width),s=k(i),u=k(o||0),c=x(r||"black",n);if(null!=c&&null!=l&&null!=s&&null!=u)return l+" "+s+" "+u+" "+c})(t);if(null!=o&&null==n.boxShadow){var a=t.boxShadow,i=a?a+", "+o:o;n.boxShadow=i}}if(r.textShadow,null!=t.textShadowColor||null!=t.textShadowOffset||null!=t.textShadowRadius){var l=(e=>{var r=e.textShadowColor,t=e.textShadowOffset,n=e.textShadowRadius,o=t||Ie,a=o.height,i=o.width,l=n||0,s=k(i),u=k(a),c=k(l),d=k(r,"textShadowColor");if(d&&(0!==a||0!==i||0!==l)&&null!=s&&null!=u&&null!=c)return s+" "+u+" "+c+" "+d})(t);if(null!=l&&null==n.textShadow){var s=t.textShadow,u=s?s+", "+l:l;n.textShadow=u}}for(var c in t)if(null==De[c]&&"shadowColor"!==c&&"shadowOffset"!==c&&"shadowOpacity"!==c&&"shadowRadius"!==c&&"textShadowColor"!==c&&"textShadowOffset"!==c&&"textShadowRadius"!==c){var d=t[c],f=je[c]||c,p=d;!Object.prototype.hasOwnProperty.call(t,c)||f!==c&&null!=t[f]||("aspectRatio"===f&&"number"==typeof p?n[f]=p.toString():"fontVariant"===f?(Array.isArray(p)&&p.length>0&&(p=p.join(" ")),n[f]=p):"textAlignVertical"===f?null==t.verticalAlign&&(n.verticalAlign="center"===p?"middle":p):"transform"===f?(Array.isArray(p)&&(p=Xe(p)),n.transform=p):n[f]=p)}return n},He=o(176),Ne=["writingDirection"],Ge=new WeakMap,Fe=Le(),Ye={shadow:!0,textShadow:!0};function qe(e){e.forEach((e=>{var r=e[0],t=e[1];null!=Fe&&r.forEach((e=>{Fe.insert(e,t)}))}))}var $e={position:"absolute",left:0,right:0,top:0,bottom:0},Ve=Ke({x:g({},$e)}).x;function Ke(e){return Object.keys(e).forEach((r=>{var t,n,o,a=e[r];null!=a&&!0!==a.$$css&&(r.indexOf("$raw")>-1?t=function(e,r){var t=function(e,r){var t,n={$$css:!0},o=[],a=e.animationKeyframes,i=v(e,U),l=Se("css",r,JSON.stringify(e)),s="."+l;if(null!=a){var u=Re(a),c=u[0],d=u[1];t=c.join(","),o.push(...d)}var f=me(g(g({},i),{},{animationName:t}));return o.push(""+s+f),n[l]=l,[n,[[o,1]]]}(e,r),n=t[0];return qe(t[1]),n}(a,r.split("$raw")[0]):(n=function(e){var r={$$css:!0},t=[];function n(e,r,n){var o,a=function(e,r){var t=k(e,r);return"string"!=typeof t?JSON.stringify(t||""):t}(n,r),i=r+a,l=J.get(i);if(null!=l)o=l[0],t.push(l[1]);else{o=Se("r",e,e!==r?i:a);var s=Q[e]||3,u=function(e,r,t){var n=[],o="."+e;switch(r){case"animationKeyframes":var a=Re(t),i=a[0],l=a[1],s=me({animationName:i.join(",")});n.push(""+o+s,...l);break;case"placeholderTextColor":var u=me({color:t,opacity:1});n.push(o+"::-webkit-input-placeholder"+u,o+"::-moz-placeholder"+u,o+":-ms-input-placeholder"+u,o+"::placeholder"+u);break;case"pointerEvents":var c=t;if("auto"===t||"box-only"===t){if(c="auto!important","box-only"===t){var d=me({pointerEvents:"none"});n.push(o+">*"+d)}}else if(("none"===t||"box-none"===t)&&(c="none!important","box-none"===t)){var f=me({pointerEvents:"auto"});n.push(o+">*"+f)}var p=me({pointerEvents:c});n.push(""+o+p);break;case"scrollbarWidth":"none"===t&&n.push(o+"::-webkit-scrollbar{display:none}");var h=me({scrollbarWidth:t});n.push(""+o+h);break;default:var b=me({[r]:t});n.push(""+o+b)}return n}(o,r,n),c=[u,s];t.push(c),J.set(i,[o,c])}return o}return Object.keys(e).sort().forEach((t=>{var o=e[t];if(null!=o){var a;if(ye.indexOf(t)>-1){var i=n(t,t,"left"),l=n(t,t,"right");"start"===o?a=[i,l]:"end"===o&&(a=[l,i])}var s=ve[t];if(null!=s){var u=n(t,s,o),c=n(t,ge[s],o);a=[u,c]}if("transitionProperty"===t){for(var d=Array.isArray(o)?o:[o],f=[],p=0;p<d.length;p++){var h=d[p];"string"==typeof h&&null!=ve[h]&&f.push(p)}if(f.length>0){var b=[...d],g=[...d];f.forEach((e=>{var r=b[e];if("string"==typeof r){var o=ve[r],i=ge[o];b[e]=o,g[e]=i;var l=n(t,t,b),s=n(t,t,g);a=[l,s]}}))}}null==a?a=n(t,t,o):r.$$css$localize=!0,r[t]=a}})),[r,t]}(_e(a,Ye)),o=n[0],qe(n[1]),t=o),Ge.set(a,t))})),e}function Ue(e,r){void 0===r&&(r={});var t="rtl"===r.writingDirection,n=function(e,r){void 0===r&&(r={});var t=r,n=t.writingDirection,o=v(t,Ne),a="rtl"===n;return He.P.factory({transform(e){var r=Ge.get(e);return null!=r?(0,Pe.n)(r,a):_e(e,g(g({},Ye),o))}})(e)}(e,r);return Array.isArray(n)&&null!=n[1]&&(n[1]=function(e,r){var t=e||Z,n={},o={},a=function(){var e=t[i],a=i,l=e;if(!Object.prototype.hasOwnProperty.call(t,i)||null==e)return"continue";ye.indexOf(i)>-1&&("start"===e?l=r?"right":"left":"end"===e&&(l=r?"left":"right"));var s=ve[i];if(null!=s&&(a=r?ge[s]:s),"transitionProperty"===i){var u=Array.isArray(e)?e:[e];u.forEach(((e,t)=>{if("string"==typeof e){var n=ve[e];null!=n&&(u[t]=r?ge[n]:n,l=u.join(" "))}}))}n[a]||(o[a]=l),a===i&&(n[a]=!0)};for(var i in t)a();return W(o,!0)}(n[1],t)),n}Ue.absoluteFill=Ve,Ue.absoluteFillObject=$e,Ue.create=Ke,Ue.compose=function(e,r){return[e,r]},Ue.flatten=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];for(var n=r.flat(1/0),o={},a=0;a<n.length;a++){var i=n[a];null!=i&&"object"==typeof i&&Object.assign(o,i)}return o},Ue.getSheet=function(){return{id:Fe.id,textContent:Fe.getTextContent()}},Ue.hairlineWidth=1,C&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=Ue.flatten);const Je=Ue,Ze=()=>{const e=f();return(0,l.useMemo)((()=>Je.create({fontFamilyBase:{fontFamily:e.fontFamilyBase},fontWeightBaseThin:{fontWeight:e.fontWeightBaseThin},fontWeightBaseExtraLight:{fontWeight:e.fontWeightBaseExtraLight},fontWeightBaseLight:{fontWeight:e.fontWeightBaseLight},fontWeightBaseRegular:{fontWeight:e.fontWeightBaseRegular},fontWeightBaseSemibold:{fontWeight:e.fontWeightBaseSemibold},fontWeightBaseBold:{fontWeight:e.fontWeightBaseBold},fontWeightBaseExtraBold:{fontWeight:e.fontWeightBaseExtraBold},fontWeightBaseBlack:{fontWeight:e.fontWeightBaseBlack},fontSizeBaseX2S:{fontSize:e.fontSizeBaseX2S},fontSizeBaseXS:{fontSize:e.fontSizeBaseXS},fontSizeBaseSM:{fontSize:e.fontSizeBaseSM},fontSizeBaseMD:{fontSize:e.fontSizeBaseMD},fontSizeBaseLG:{fontSize:e.fontSizeBaseLG},fontSizeBaseXL:{fontSize:e.fontSizeBaseXL},fontSizeBaseX2L:{fontSize:e.fontSizeBaseX2L},fontSizeBaseX3L:{fontSize:e.fontSizeBaseX3L},fontSizeBaseX4L:{fontSize:e.fontSizeBaseX4L},fontSizeBaseX5L:{fontSize:e.fontSizeBaseX5L}})),[e])};var Qe={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null};const er=e=>{var r=e.accessibilityRole,t=e.role||r;if(t){var n=Qe[t];if(null!==n)return n||t}};var rr={article:"article",banner:"header",blockquote:"blockquote",button:"button",code:"code",complementary:"aside",contentinfo:"footer",deletion:"del",emphasis:"em",figure:"figure",insertion:"ins",form:"form",list:"ul",listitem:"li",main:"main",navigation:"nav",paragraph:"p",region:"section",strong:"strong"},tr={};const nr=function(e){if(void 0===e&&(e=tr),"label"===(e.role||e.accessibilityRole))return"label";var r=er(e);if(r){if("heading"===r){var t=e.accessibilityLevel||e["aria-level"];return null!=t?"h"+t:"h1"}return rr[r]}},or=er;var ar=["aria-activedescendant","accessibilityActiveDescendant","aria-atomic","accessibilityAtomic","aria-autocomplete","accessibilityAutoComplete","aria-busy","accessibilityBusy","aria-checked","accessibilityChecked","aria-colcount","accessibilityColumnCount","aria-colindex","accessibilityColumnIndex","aria-colspan","accessibilityColumnSpan","aria-controls","accessibilityControls","aria-current","accessibilityCurrent","aria-describedby","accessibilityDescribedBy","aria-details","accessibilityDetails","aria-disabled","accessibilityDisabled","aria-errormessage","accessibilityErrorMessage","aria-expanded","accessibilityExpanded","aria-flowto","accessibilityFlowTo","aria-haspopup","accessibilityHasPopup","aria-hidden","accessibilityHidden","aria-invalid","accessibilityInvalid","aria-keyshortcuts","accessibilityKeyShortcuts","aria-label","accessibilityLabel","aria-labelledby","accessibilityLabelledBy","aria-level","accessibilityLevel","aria-live","accessibilityLiveRegion","aria-modal","accessibilityModal","aria-multiline","accessibilityMultiline","aria-multiselectable","accessibilityMultiSelectable","aria-orientation","accessibilityOrientation","aria-owns","accessibilityOwns","aria-placeholder","accessibilityPlaceholder","aria-posinset","accessibilityPosInSet","aria-pressed","accessibilityPressed","aria-readonly","accessibilityReadOnly","aria-required","accessibilityRequired","role","accessibilityRole","aria-roledescription","accessibilityRoleDescription","aria-rowcount","accessibilityRowCount","aria-rowindex","accessibilityRowIndex","aria-rowspan","accessibilityRowSpan","aria-selected","accessibilitySelected","aria-setsize","accessibilitySetSize","aria-sort","accessibilitySort","aria-valuemax","accessibilityValueMax","aria-valuemin","accessibilityValueMin","aria-valuenow","accessibilityValueNow","aria-valuetext","accessibilityValueText","dataSet","focusable","id","nativeID","pointerEvents","style","tabIndex","testID"],ir={},lr=Object.prototype.hasOwnProperty,sr=Array.isArray,ur=/[A-Z]/g;function cr(e){return"-"+e.toLowerCase()}function dr(e){return sr(e)?e.join(" "):e}var fr=Je.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}});var pr=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),hr=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","far","glk","he","iw","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),br=new Map,gr={direction:"ltr",locale:"en-US"},vr=(0,l.createContext)(gr);function yr(e){return function(e){var r=br.get(e);if(r)return r;var t=!1;if(Intl.Locale)try{var n=new Intl.Locale(e).maximize().script;t=pr.has(n)}catch(r){var o=e.split("-")[0];t=hr.has(o)}else{var a=e.split("-")[0];t=hr.has(a)}return br.set(e,t),t}(e)?"rtl":"ltr"}function mr(e){var r=e.direction,t=e.locale,n=e.children;return r||t?s().createElement(vr.Provider,{children:n,value:{direction:t?yr(t):r,locale:t}}):n}function Sr(){return(0,l.useContext)(vr)}const Rr=(e,r,t)=>{var n;e&&e.constructor===String&&(n=nr(r));var o=n||e,a=((e,r,t)=>{r||(r=ir);var n=r,o=n["aria-activedescendant"],a=n.accessibilityActiveDescendant,i=n["aria-atomic"],l=n.accessibilityAtomic,s=n["aria-autocomplete"],u=n.accessibilityAutoComplete,c=n["aria-busy"],d=n.accessibilityBusy,f=n["aria-checked"],p=n.accessibilityChecked,h=n["aria-colcount"],b=n.accessibilityColumnCount,y=n["aria-colindex"],m=n.accessibilityColumnIndex,S=n["aria-colspan"],R=n.accessibilityColumnSpan,w=n["aria-controls"],x=n.accessibilityControls,B=n["aria-current"],k=n.accessibilityCurrent,C=n["aria-describedby"],E=n.accessibilityDescribedBy,O=n["aria-details"],T=n.accessibilityDetails,A=n["aria-disabled"],W=n.accessibilityDisabled,L=n["aria-errormessage"],P=n.accessibilityErrorMessage,M=n["aria-expanded"],I=n.accessibilityExpanded,z=n["aria-flowto"],X=n.accessibilityFlowTo,j=n["aria-haspopup"],D=n.accessibilityHasPopup,_=n["aria-hidden"],H=n.accessibilityHidden,N=n["aria-invalid"],G=n.accessibilityInvalid,F=n["aria-keyshortcuts"],Y=n.accessibilityKeyShortcuts,q=n["aria-label"],$=n.accessibilityLabel,V=n["aria-labelledby"],K=n.accessibilityLabelledBy,U=n["aria-level"],J=n.accessibilityLevel,Z=n["aria-live"],Q=n.accessibilityLiveRegion,ee=n["aria-modal"],re=n.accessibilityModal,te=n["aria-multiline"],ne=n.accessibilityMultiline,oe=n["aria-multiselectable"],ae=n.accessibilityMultiSelectable,ie=n["aria-orientation"],le=n.accessibilityOrientation,se=n["aria-owns"],ue=n.accessibilityOwns,ce=n["aria-placeholder"],de=n.accessibilityPlaceholder,fe=n["aria-posinset"],pe=n.accessibilityPosInSet,he=n["aria-pressed"],be=n.accessibilityPressed,ge=n["aria-readonly"],ve=n.accessibilityReadOnly,ye=n["aria-required"],me=n.accessibilityRequired,Se=(n.role,n.accessibilityRole,n["aria-roledescription"]),Re=n.accessibilityRoleDescription,we=n["aria-rowcount"],xe=n.accessibilityRowCount,Be=n["aria-rowindex"],ke=n.accessibilityRowIndex,Ce=n["aria-rowspan"],Ee=n.accessibilityRowSpan,Oe=n["aria-selected"],Te=n.accessibilitySelected,Ae=n["aria-setsize"],We=n.accessibilitySetSize,Le=n["aria-sort"],Pe=n.accessibilitySort,Me=n["aria-valuemax"],Ie=n.accessibilityValueMax,ze=n["aria-valuemin"],Xe=n.accessibilityValueMin,je=n["aria-valuenow"],De=n.accessibilityValueNow,_e=n["aria-valuetext"],He=n.accessibilityValueText,Ne=n.dataSet,Ge=n.focusable,Fe=n.id,Ye=n.nativeID,qe=n.pointerEvents,$e=n.style,Ve=n.tabIndex,Ke=n.testID,Ue=v(n,ar),Ze=A||W,Qe=or(r),er=null!=o?o:a;null!=er&&(Ue["aria-activedescendant"]=er);var rr=null!=i?o:l;null!=rr&&(Ue["aria-atomic"]=rr);var tr=null!=s?s:u;null!=tr&&(Ue["aria-autocomplete"]=tr);var nr=null!=c?c:d;null!=nr&&(Ue["aria-busy"]=nr);var sr=null!=f?f:p;null!=sr&&(Ue["aria-checked"]=sr);var pr=null!=h?h:b;null!=pr&&(Ue["aria-colcount"]=pr);var hr=null!=y?y:m;null!=hr&&(Ue["aria-colindex"]=hr);var br=null!=S?S:R;null!=br&&(Ue["aria-colspan"]=br);var gr=null!=w?w:x;null!=gr&&(Ue["aria-controls"]=dr(gr));var vr=null!=B?B:k;null!=vr&&(Ue["aria-current"]=vr);var yr=null!=C?C:E;null!=yr&&(Ue["aria-describedby"]=dr(yr));var mr=null!=O?O:T;null!=mr&&(Ue["aria-details"]=mr),!0===Ze&&(Ue["aria-disabled"]=!0,"button"!==e&&"form"!==e&&"input"!==e&&"select"!==e&&"textarea"!==e||(Ue.disabled=!0));var Sr=null!=L?L:P;null!=Sr&&(Ue["aria-errormessage"]=Sr);var Rr=null!=M?M:I;null!=Rr&&(Ue["aria-expanded"]=Rr);var wr=null!=z?z:X;null!=wr&&(Ue["aria-flowto"]=dr(wr));var xr=null!=j?j:D;null!=xr&&(Ue["aria-haspopup"]=xr);var Br=null!=_?_:H;!0===Br&&(Ue["aria-hidden"]=Br);var kr=null!=N?N:G;null!=kr&&(Ue["aria-invalid"]=kr);var Cr=null!=F?F:Y;null!=Cr&&(Ue["aria-keyshortcuts"]=dr(Cr));var Er=null!=q?q:$;null!=Er&&(Ue["aria-label"]=Er);var Or=null!=V?V:K;null!=Or&&(Ue["aria-labelledby"]=dr(Or));var Tr=null!=U?U:J;null!=Tr&&(Ue["aria-level"]=Tr);var Ar=null!=Z?Z:Q;null!=Ar&&(Ue["aria-live"]="none"===Ar?"off":Ar);var Wr=null!=ee?ee:re;null!=Wr&&(Ue["aria-modal"]=Wr);var Lr=null!=te?te:ne;null!=Lr&&(Ue["aria-multiline"]=Lr);var Pr=null!=oe?oe:ae;null!=Pr&&(Ue["aria-multiselectable"]=Pr);var Mr=null!=ie?ie:le;null!=Mr&&(Ue["aria-orientation"]=Mr);var Ir=null!=se?se:ue;null!=Ir&&(Ue["aria-owns"]=dr(Ir));var zr=null!=ce?ce:de;null!=zr&&(Ue["aria-placeholder"]=zr);var Xr=null!=fe?fe:pe;null!=Xr&&(Ue["aria-posinset"]=Xr);var jr=null!=he?he:be;null!=jr&&(Ue["aria-pressed"]=jr);var Dr=null!=ge?ge:ve;null!=Dr&&(Ue["aria-readonly"]=Dr,"input"!==e&&"select"!==e&&"textarea"!==e||(Ue.readOnly=!0));var _r=null!=ye?ye:me;null!=_r&&(Ue["aria-required"]=_r,"input"!==e&&"select"!==e&&"textarea"!==e||(Ue.required=me)),null!=Qe&&(Ue.role="none"===Qe?"presentation":Qe);var Hr=null!=Se?Se:Re;null!=Hr&&(Ue["aria-roledescription"]=Hr);var Nr=null!=we?we:xe;null!=Nr&&(Ue["aria-rowcount"]=Nr);var Gr=null!=Be?Be:ke;null!=Gr&&(Ue["aria-rowindex"]=Gr);var Fr=null!=Ce?Ce:Ee;null!=Fr&&(Ue["aria-rowspan"]=Fr);var Yr=null!=Oe?Oe:Te;null!=Yr&&(Ue["aria-selected"]=Yr);var qr=null!=Ae?Ae:We;null!=qr&&(Ue["aria-setsize"]=qr);var $r=null!=Le?Le:Pe;null!=$r&&(Ue["aria-sort"]=$r);var Vr=null!=Me?Me:Ie;null!=Vr&&(Ue["aria-valuemax"]=Vr);var Kr=null!=ze?ze:Xe;null!=Kr&&(Ue["aria-valuemin"]=Kr);var Ur=null!=je?je:De;null!=Ur&&(Ue["aria-valuenow"]=Ur);var Jr=null!=_e?_e:He;if(null!=Jr&&(Ue["aria-valuetext"]=Jr),null!=Ne)for(var Zr in Ne)if(lr.call(Ne,Zr)){var Qr=Zr.replace(ur,cr),et=Ne[Zr];null!=et&&(Ue["data-"+Qr]=et)}0===Ve||"0"===Ve||-1===Ve||"-1"===Ve?Ue.tabIndex=Ve:(!1===Ge&&(Ue.tabIndex="-1"),"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?!1!==Ge&&!0!==W||(Ue.tabIndex="-1"):"button"===Qe||"checkbox"===Qe||"link"===Qe||"radio"===Qe||"textbox"===Qe||"switch"===Qe?!1!==Ge&&(Ue.tabIndex="0"):!0===Ge&&(Ue.tabIndex="0"));var rt=Je([$e,qe&&fr[qe]],g({writingDirection:"ltr"},t)),tt=rt[0],nt=rt[1];tt&&(Ue.className=tt),nt&&(Ue.style=nt);var ot=null!=Fe?Fe:Ye;return null!=ot&&(Ue.id=ot),null!=Ke&&(Ue["data-testid"]=Ke),null==Ue.type&&"button"===e&&(Ue.type="button"),Ue})(o,r,t),i=s().createElement(o,a);return a.dir?s().createElement(mr,{children:i,direction:a.dir,locale:a.lang}):i};var wr={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},xr={"aria-activedescendant":!0,"aria-atomic":!0,"aria-autocomplete":!0,"aria-busy":!0,"aria-checked":!0,"aria-colcount":!0,"aria-colindex":!0,"aria-colspan":!0,"aria-controls":!0,"aria-current":!0,"aria-describedby":!0,"aria-details":!0,"aria-disabled":!0,"aria-errormessage":!0,"aria-expanded":!0,"aria-flowto":!0,"aria-haspopup":!0,"aria-hidden":!0,"aria-invalid":!0,"aria-keyshortcuts":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiline":!0,"aria-multiselectable":!0,"aria-orientation":!0,"aria-owns":!0,"aria-placeholder":!0,"aria-posinset":!0,"aria-pressed":!0,"aria-readonly":!0,"aria-required":!0,role:!0,"aria-roledescription":!0,"aria-rowcount":!0,"aria-rowindex":!0,"aria-rowspan":!0,"aria-selected":!0,"aria-setsize":!0,"aria-sort":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0,accessibilityActiveDescendant:!0,accessibilityAtomic:!0,accessibilityAutoComplete:!0,accessibilityBusy:!0,accessibilityChecked:!0,accessibilityColumnCount:!0,accessibilityColumnIndex:!0,accessibilityColumnSpan:!0,accessibilityControls:!0,accessibilityCurrent:!0,accessibilityDescribedBy:!0,accessibilityDetails:!0,accessibilityDisabled:!0,accessibilityErrorMessage:!0,accessibilityExpanded:!0,accessibilityFlowTo:!0,accessibilityHasPopup:!0,accessibilityHidden:!0,accessibilityInvalid:!0,accessibilityKeyShortcuts:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityModal:!0,accessibilityMultiline:!0,accessibilityMultiSelectable:!0,accessibilityOrientation:!0,accessibilityOwns:!0,accessibilityPlaceholder:!0,accessibilityPosInSet:!0,accessibilityPressed:!0,accessibilityReadOnly:!0,accessibilityRequired:!0,accessibilityRole:!0,accessibilityRoleDescription:!0,accessibilityRowCount:!0,accessibilityRowIndex:!0,accessibilityRowSpan:!0,accessibilitySelected:!0,accessibilitySetSize:!0,accessibilitySort:!0,accessibilityValueMax:!0,accessibilityValueMin:!0,accessibilityValueNow:!0,accessibilityValueText:!0},Br={onClick:!0,onAuxClick:!0,onContextMenu:!0,onGotPointerCapture:!0,onLostPointerCapture:!0,onPointerCancel:!0,onPointerDown:!0,onPointerEnter:!0,onPointerMove:!0,onPointerLeave:!0,onPointerOut:!0,onPointerOver:!0,onPointerUp:!0},kr={onBlur:!0,onFocus:!0},Cr={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},Er={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},Or={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},Tr={style:!0};function Ar(e,r){var t={};for(var n in e)e.hasOwnProperty(n)&&!0===r[n]&&(t[n]=e[n]);return t}const Wr=C?l.useLayoutEffect:l.useEffect,Lr=e=>{if(null!=e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect()};var Pr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},Mr=["ms","Moz","O","Webkit"];Object.keys(Pr).forEach((e=>{Mr.forEach((r=>{Pr[((e,r)=>e+r.charAt(0).toUpperCase()+r.substring(1))(r,e)]=Pr[e]}))}));const Ir=Pr,zr=function(e,r,t){return null==r||"boolean"==typeof r||""===r?"":t||"number"!=typeof r||0===r||Ir.hasOwnProperty(e)&&Ir[e]?(""+r).trim():r+"px"},Xr=function(e,r){var t=e.style;for(var n in r)if(r.hasOwnProperty(n)){var o=0===n.indexOf("--"),a=zr(n,r[n],o);"float"===n&&(n="cssFloat"),o?t.setProperty(n,a):t[n]=a}};var jr=e=>{var r=e.offsetHeight,t=e.offsetWidth,n=e.offsetLeft,o=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)n+=e.offsetLeft+e.clientLeft-e.scrollLeft,o+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return{width:t,height:r,top:o-=window.scrollY,left:n-=window.scrollX}},Dr=(e,r,t)=>{var n=r||e&&e.parentNode;e&&n&&setTimeout((()=>{if(e.isConnected&&n.isConnected){var r=jr(n),o=jr(e),a=o.height,i=o.left,l=o.top,s=o.width,u=i-r.left,c=l-r.top;t(u,c,s,a,i,l)}}),0)},_r={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},Hr={blur(e){try{e.blur()}catch(e){}},focus(e){try{var r=e.nodeName;null==e.getAttribute("tabIndex")&&!0!==e.isContentEditable&&null==_r[r]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(e){}},measure(e,r){Dr(e,null,r)},measureInWindow(e,r){e&&setTimeout((()=>{var t=Lr(e),n=t.height,o=t.left,a=t.top,i=t.width;r(o,a,i,n)}),0)},measureLayout(e,r,t,n){Dr(e,r,n)},updateView(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var n=r[t];switch(t){case"style":Xr(e,n);break;case"class":case"className":e.setAttribute("class",n);break;case"text":case"value":e.value=n;break;default:e.setAttribute(t,n)}}},configureNextLayoutAnimation(e,r){r()},setLayoutAnimationEnabledExperimental(){}};const Nr=Hr;var Gr="__reactLayoutHandler",Fr=null;function Yr(e,r){var t=(C&&void 0!==window.ResizeObserver&&null==Fr&&(Fr=new window.ResizeObserver((function(e){e.forEach((e=>{var r=e.target,t=r[Gr];"function"==typeof t&&Nr.measure(r,((r,n,o,a,i,l)=>{var s={nativeEvent:{layout:{x:r,y:n,width:o,height:a,left:i,top:l}},timeStamp:Date.now()};Object.defineProperty(s.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),t(s)}))}))}))),Fr);Wr((()=>{var t=e.current;null!=t&&(t[Gr]=r)}),[e,r]),Wr((()=>{var r=e.current;return null!=r&&null!=t&&("function"==typeof r[Gr]?t.observe(r):t.unobserve(r)),()=>{null!=r&&null!=t&&t.unobserve(r)}}),[e,t])}function qr(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return l.useMemo((()=>function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((r=>{null!=r&&("function"!=typeof r?"object"!=typeof r?console.error("mergeRefs cannot handle Refs of type boolean, number or string, received ref "+String(r)):r.current=e:r(e))}))}}(...r)),[...r])}var $r="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():Object.freeze({});function Vr(e){return e.pointerEvents,e.style,(r=l.useRef($r)).current===$r&&(r.current=e=>{null!=e&&(e.measure=r=>Nr.measure(e,r),e.measureLayout=(r,t,n)=>Nr.measureLayout(e,r,n,t),e.measureInWindow=r=>Nr.measureInWindow(e,r))}),r.current;var r}var Kr=()=>{},Ur={},Jr=[];function Zr(e){return e>20?e%20:e}function Qr(e,r){var t,n,o,a=!1,i=e.changedTouches,l=e.type,s=!0===e.metaKey,u=!0===e.shiftKey,c=i&&i[0].force||0,d=Zr(i&&i[0].identifier||0),f=i&&i[0].clientX||e.clientX,p=i&&i[0].clientY||e.clientY,h=i&&i[0].pageX||e.pageX,b=i&&i[0].pageY||e.pageY,g="function"==typeof e.preventDefault?e.preventDefault.bind(e):Kr,v=e.timeStamp;function y(e){return Array.prototype.slice.call(e).map((e=>({force:e.force,identifier:Zr(e.identifier),get locationX(){return R(e.clientX)},get locationY(){return w(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:v})))}if(null!=i)n=y(i),o=y(e.touches);else{var m=[{force:c,identifier:d,get locationX(){return R(f)},get locationY(){return w(p)},pageX:h,pageY:b,target:e.target,timestamp:v}];n=m,o="mouseup"===l||"dragstart"===l?Jr:m}var S={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:Ur,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>a,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:s,shiftKey:u,changedTouches:n,force:c,identifier:d,get locationX(){return R(f)},get locationY(){return w(p)},pageX:h,pageY:b,target:e.target,timestamp:v,touches:o,type:l},persist:Kr,preventDefault:g,stopPropagation(){a=!0},target:e.target,timeStamp:v,touchHistory:r.touchHistory};function R(e){if(t=t||Lr(S.currentTarget))return e-t.left}function w(e){if(t=t||Lr(S.currentTarget))return e-t.top}return S}function et(e){return"touchstart"===e||"mousedown"===e}function rt(e){return"touchmove"===e||"mousemove"===e}function tt(e){return"touchend"===e||"mouseup"===e||nt(e)}function nt(e){return"touchcancel"===e||"dragstart"===e}var ot="__reactResponderId";function at(e){for(var r=[];null!=e&&e!==document.body;)r.push(e),e=e.parentNode;return r}function it(e){return null!=e?e[ot]:null}function lt(e){return e.timeStamp||e.timestamp}function st(e){var r=e.identifier;return null==r&&console.error("Touch object is missing identifier."),r}function ut(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:lt(e)})}function ct(e){var r=e.touchBank,t=JSON.stringify(r.slice(0,20));return r.length>20&&(t+=" (original size: "+r.length+")"),t}var dt={},ft=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],pt=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],ht={touchstart:ft,mousedown:ft,touchmove:pt,mousemove:pt,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},bt={id:null,idPath:null,node:null},gt=new Map,vt=!1,yt=0,mt={id:null,node:null,idPath:null},St=new class{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,r){var t=this._touchHistory;if(rt(e))r.changedTouches.forEach((e=>function(e,r){var t=r.touchBank[st(e)];t?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=lt(e),r.mostRecentTimeStamp=lt(e)):console.warn("Cannot record touch move without a touch start.\n","Touch Move: "+ut(e)+"\n","Touch Bank: "+ct(r))}(e,t)));else if(et(e))r.changedTouches.forEach((e=>function(e,r){var t=st(e),n=r.touchBank[t];n?function(e,r){e.touchActive=!0,e.startPageX=r.pageX,e.startPageY=r.pageY,e.startTimeStamp=lt(r),e.currentPageX=r.pageX,e.currentPageY=r.pageY,e.currentTimeStamp=lt(r),e.previousPageX=r.pageX,e.previousPageY=r.pageY,e.previousTimeStamp=lt(r)}(n,e):r.touchBank[t]=function(e){return{touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:lt(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:lt(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:lt(e)}}(e),r.mostRecentTimeStamp=lt(e)}(e,t))),t.numberActiveTouches=r.touches.length,1===t.numberActiveTouches&&(t.indexOfSingleActiveTouch=r.touches[0].identifier);else if(tt(e)&&(r.changedTouches.forEach((e=>function(e,r){var t=r.touchBank[st(e)];t?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=lt(e),r.mostRecentTimeStamp=lt(e)):console.warn("Cannot record touch end without a touch start.\n","Touch End: "+ut(e)+"\n","Touch Bank: "+ct(r))}(e,t))),t.numberActiveTouches=r.touches.length,1===t.numberActiveTouches))for(var n=t.touchBank,o=0;o<n.length;o++){var a=n[o];if(null!=a&&a.touchActive){t.indexOfSingleActiveTouch=o;break}}}get touchHistory(){return this._touchHistory}};function Rt(e){mt=e}function wt(e){var r=gt.get(e);return null!=r?r:dt}function xt(e){var r=e.type,t=e.target;if("touchstart"===r&&(vt=!0),("touchmove"===r||yt>1)&&(vt=!1),!("mousedown"===r&&vt||"mousemove"===r&&vt||"mousemove"===r&&yt<1))if(vt&&"mouseup"===r)0===yt&&(vt=!1);else{var n=et(r)&&function(e){var r=e.altKey,t=e.button,n=e.buttons,o=e.ctrlKey,a=e.type,i=!1===r&&!1===o;return!!("touchstart"===a||"touchmove"===a||"mousedown"===a&&(0===t||1===n)&&i||"mousemove"===a&&1===n&&i)}(e),o=rt(r),a=tt(r),i=function(e){return"scroll"===e}(r),l=function(e){return"select"===e||"selectionchange"===e}(r),s=Qr(e,St);(n||o||a)&&(e.touches?yt=e.touches.length:n?yt=1:a&&(yt=0),St.recordTouchTrack(r,s.nativeEvent));var u,c=function(e){for(var r=[],t=[],n=function(e){return"selectionchange"===e.type?at(window.getSelection().anchorNode):null!=e.composedPath?e.composedPath():at(e.target)}(e),o=0;o<n.length;o++){var a=n[o],i=it(a);null!=i&&(r.push(i),t.push(a))}return{idPath:r,nodePath:t}}(e),d=!1;if(n||o||i&&yt>0){var f=mt.idPath,p=c.idPath;if(null!=f&&null!=p){var h=function(e,r){var t=e.length,n=r.length;if(0===t||0===n||e[t-1]!==r[n-1])return null;var o=e[0],a=0,i=r[0],l=0;t-n>0&&(o=e[a=t-n],t=n),n-t>0&&(i=r[l=n-t],n=t);for(var s=t;s--;){if(o===i)return o;o=e[a++],i=r[l++]}return null}(f,p);if(null!=h){var b=p.indexOf(h)+(h===mt.id?1:0);c={idPath:p.slice(b),nodePath:c.nodePath.slice(b)}}else c=null}null!=c&&(u=function(e,r,t){var n=ht[r.type];if(null!=n){for(var o=e.idPath,a=e.nodePath,i=n[0],l=n[1],s=n[2].bubbles,u=function(e,r,n){var a=wt(e)[n];if(null!=a&&(t.currentTarget=r,!0===a(t)))return{id:e,node:r,idPath:o.slice(o.indexOf(e))}},c=o.length-1;c>=0;c--){var d=u(o[c],a[c],i);if(null!=d)return d;if(!0===t.isPropagationStopped())return}if(s)for(var f=0;f<o.length;f++){var p=u(o[f],a[f],l);if(null!=p)return p;if(!0===t.isPropagationStopped())return}else{var h=o[0],b=a[0];if(r.target===b)return u(h,b,l)}}}(c,e,s),null!=u&&(function(e,r){var t=mt,n=t.id,o=t.node,a=r.id,i=r.node,l=wt(a),s=l.onResponderGrant,u=l.onResponderReject;if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=i,null==n)null!=s&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderGrant",s(e)),Rt(r);else{var c=wt(n),d=c.onResponderTerminate,f=c.onResponderTerminationRequest,p=!0;null!=f&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===f(e)&&(p=!1)),p?(null!=d&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderTerminate",d(e)),null!=s&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderGrant",s(e)),Rt(r)):null!=u&&(e.currentTarget=i,e.dispatchConfig.registrationName="onResponderReject",u(e))}}(s,u),d=!0))}if(null!=mt.id&&null!=mt.node){var g=mt,v=g.id,y=g.node,m=wt(v),S=m.onResponderStart,R=m.onResponderMove,w=m.onResponderEnd,x=m.onResponderRelease,B=m.onResponderTerminate,k=m.onResponderTerminationRequest;if(s.bubbles=!1,s.cancelable=!1,s.currentTarget=y,n)null!=S&&(s.dispatchConfig.registrationName="onResponderStart",S(s));else if(o)null!=R&&(s.dispatchConfig.registrationName="onResponderMove",R(s));else{var C=nt(r)||"contextmenu"===r||"blur"===r&&t===window||"blur"===r&&t.contains(y)&&e.relatedTarget!==y||i&&0===yt||i&&t.contains(y)&&t!==y||l&&function(e){return"selectionchange"===e.type?(t=(r=window.getSelection()).toString(),n=r.anchorNode,o=r.focusNode,a=n&&n.nodeType===window.Node.TEXT_NODE||o&&o.nodeType===window.Node.TEXT_NODE,t.length>=1&&"\n"!==t&&a):"select"===e.type;var r,t,n,o,a}(e),E=a&&!C&&!function(e,r){if(!r||0===r.length)return!1;for(var t=0;t<r.length;t++){var n=r[t].target;if(null!=n&&e.contains(n))return!0}return!1}(y,e.touches);if(a&&null!=w&&(s.dispatchConfig.registrationName="onResponderEnd",w(s)),E&&(null!=x&&(s.dispatchConfig.registrationName="onResponderRelease",x(s)),Rt(bt)),C){var O=!0;"contextmenu"!==r&&"scroll"!==r&&"selectionchange"!==r||(d?O=!1:null!=k&&(s.dispatchConfig.registrationName="onResponderTerminationRequest",!1===k(s)&&(O=!1))),O&&(null!=B&&(s.dispatchConfig.registrationName="onResponderTerminate",B(s)),Rt(bt),vt=!1,yt=0)}}}}}var Bt=["blur","scroll"],kt=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"];function Ct(e){mt.id===e&&function(){var e=mt,r=e.id,t=e.node;if(null!=r&&null!=t){var n=wt(r).onResponderTerminate;if(null!=n){var o=Qr({},St);o.currentTarget=t,n(o)}Rt(bt)}vt=!1,yt=0}(),gt.has(e)&>.delete(e)}var Et={},Ot=0;function Tt(e,r){void 0===r&&(r=Et);var t,n,o=(t=()=>Ot++,null==(n=l.useRef(null)).current&&(n.current=t()),n.current),a=l.useRef(!1);l.useEffect((()=>(C&&null==window.__reactResponderSystemActive&&(window.addEventListener("blur",xt),kt.forEach((e=>{document.addEventListener(e,xt)})),Bt.forEach((e=>{document.addEventListener(e,xt,!0)})),window.__reactResponderSystemActive=!0),()=>{Ct(o)})),[o]),l.useEffect((()=>{var t=r,n=t.onMoveShouldSetResponder,i=t.onMoveShouldSetResponderCapture,l=t.onScrollShouldSetResponder,s=t.onScrollShouldSetResponderCapture,u=t.onSelectionChangeShouldSetResponder,c=t.onSelectionChangeShouldSetResponderCapture,d=t.onStartShouldSetResponder,f=t.onStartShouldSetResponderCapture,p=null!=n||null!=i||null!=l||null!=s||null!=u||null!=c||null!=d||null!=f,h=e.current;p?(function(e,r,t){!function(e,r){null!=e&&(e[ot]=r)}(r,e),gt.set(e,t)}(o,h,r),a.current=!0):a.current&&(Ct(o),a.current=!1)}),[r,e,o]),l.useDebugValue({isResponder:e.current===mt.node}),l.useDebugValue(r)}const At=(0,l.createContext)(!1);var Wt=["hrefAttrs","numberOfLines","onClick","onLayout","onPress","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","selectable"],Lt=Object.assign({},wr,xr,Br,kr,Cr,Er,Or,Tr,{href:!0,lang:!0,pointerEvents:!0}),Pt=l.forwardRef(((e,r)=>{var t=e.hrefAttrs,n=e.numberOfLines,o=e.onClick,a=e.onLayout,i=e.onPress,s=e.onMoveShouldSetResponder,u=e.onMoveShouldSetResponderCapture,c=e.onResponderEnd,d=e.onResponderGrant,f=e.onResponderMove,p=e.onResponderReject,h=e.onResponderRelease,b=e.onResponderStart,g=e.onResponderTerminate,y=e.onResponderTerminationRequest,m=e.onScrollShouldSetResponder,S=e.onScrollShouldSetResponderCapture,R=e.onSelectionChangeShouldSetResponder,w=e.onSelectionChangeShouldSetResponderCapture,x=e.onStartShouldSetResponder,B=e.onStartShouldSetResponderCapture,k=e.selectable,C=v(e,Wt),E=l.useContext(At),O=l.useRef(null),T=Sr().direction;Yr(O,a),Tt(O,{onMoveShouldSetResponder:s,onMoveShouldSetResponderCapture:u,onResponderEnd:c,onResponderGrant:d,onResponderMove:f,onResponderReject:p,onResponderRelease:h,onResponderStart:b,onResponderTerminate:g,onResponderTerminationRequest:y,onScrollShouldSetResponder:m,onScrollShouldSetResponderCapture:S,onSelectionChangeShouldSetResponder:R,onSelectionChangeShouldSetResponderCapture:w,onStartShouldSetResponder:x,onStartShouldSetResponderCapture:B});var A=l.useCallback((e=>{null!=o?o(e):null!=i&&(e.stopPropagation(),i(e))}),[o,i]),W=E?"span":"div",L=null!=e.lang?yr(e.lang):null,P=e.dir||L,M=P||T,I=(e=>Ar(e,Lt))(C);if(I.dir=P,E||(I.dir=null!=P?P:"auto"),(o||i)&&(I.onClick=A),I.style=[null!=n&&n>1&&{WebkitLineClamp:n},!0===E?It.textHasAncestor$raw:It.text$raw,1===n&&It.textOneLine,null!=n&&n>1&&It.textMultiLine,e.style,!0===k&&It.selectable,!1===k&&It.notSelectable,i&&It.pressable],null!=e.href&&(W="a",null!=t)){var z=t.download,X=t.rel,j=t.target;null!=z&&(I.download=z),null!=X&&(I.rel=X),"string"==typeof j&&(I.target="_"!==j.charAt(0)?"_"+j:j)}var D=qr(O,Vr(I),r);I.ref=D;var _=Rr(W,I,{writingDirection:M});return E?_:l.createElement(At.Provider,{value:!0},_)}));Pt.displayName="Text";var Mt={backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",color:"black",display:"inline",font:"14px System",listStyle:"none",margin:0,padding:0,position:"relative",textAlign:"start",textDecoration:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},It=Je.create({text$raw:Mt,textHasAncestor$raw:g(g({},Mt),{},{color:"inherit",font:"inherit",textAlign:"inherit",whiteSpace:"inherit"}),textOneLine:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"},textMultiLine:{display:"-webkit-box",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"},notSelectable:{userSelect:"none"},selectable:{userSelect:"text"},pressable:{cursor:"pointer"}});const zt=Pt;let Xt=function(e){return e[e.THIN=0]="THIN",e[e.EXTRA_LIGHT=1]="EXTRA_LIGHT",e[e.LIGHT=2]="LIGHT",e[e.REGULAR=3]="REGULAR",e[e.SEMIBOLD=4]="SEMIBOLD",e[e.BOLD=5]="BOLD",e[e.EXTRA_BOLD=6]="EXTRA_BOLD",e[e.BLACK=7]="BLACK",e}({}),jt=function(e){return e[e.X2S=0]="X2S",e[e.XS=1]="XS",e[e.SM=2]="SM",e[e.MD=3]="MD",e[e.LG=4]="LG",e[e.XL=5]="XL",e[e.X2L=6]="X2L",e[e.X3L=7]="X3L",e[e.X4L=8]="X4L",e[e.X5L=9]="X5L",e}({}),Dt=function(e){return e.HEADING="heading",e.PARAGRAPH="paragraph",e}({}),_t=function(e){return e[e.H1=0]="H1",e[e.H2=1]="H2",e[e.H3=2]="H3",e[e.H4=3]="H4",e[e.H5=4]="H5",e[e.H6=5]="H6",e[e.P=6]="P",e}({});const Ht=[_t.H1,_t.H2,_t.H3,_t.H4,_t.H5,_t.H6],Nt=({type:e,fontWeight:r=Xt.REGULAR,fontSize:t=jt.MD,children:n})=>{const o=Ze();return(0,u.jsx)(zt,{role:_t.P===e?Dt.PARAGRAPH:Ht.includes(e)?Dt.HEADING:void 0,"aria-level":(()=>{if(Ht.includes(e)){if(e===_t.H1)return 1;if(e===_t.H2)return 2;if(e===_t.H3)return 3;if(e===_t.H4)return 4;if(e===_t.H5)return 5;if(e===_t.H6)return 6}})(),style:[o.fontFamilyBase,(()=>{switch(r){case Xt.THIN:return o.fontWeightBaseThin;case Xt.EXTRA_LIGHT:return o.fontWeightBaseExtraLight;case Xt.LIGHT:return o.fontWeightBaseLight;case Xt.REGULAR:return o.fontWeightBaseRegular;case Xt.SEMIBOLD:return o.fontWeightBaseSemibold;case Xt.BOLD:return o.fontWeightBaseBold;case Xt.EXTRA_BOLD:return o.fontWeightBaseExtraBold;case Xt.BLACK:return o.fontWeightBaseBlack}})(),(()=>{switch(t){case jt.X2S:return o.fontSizeBaseX2S;case jt.XS:return o.fontSizeBaseXS;case jt.SM:return o.fontSizeBaseSM;case jt.MD:return o.fontSizeBaseMD;case jt.LG:return o.fontSizeBaseLG;case jt.XL:return o.fontSizeBaseXL;case jt.X2L:return o.fontSizeBaseX2L;case jt.X3L:return o.fontSizeBaseX3L;case jt.X4L:return o.fontSizeBaseX4L;case jt.X5L:return o.fontSizeBaseX5L}})()],children:n})};Nt.Type=_t,Nt.FontWeight=Xt,Nt.FontSize=jt;var Gt=o(646),Ft=o.n(Gt),Yt=o(514);const qt=Yt.unmountComponentAtNode;function $t(){return $t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},$t.apply(null,arguments)}var Vt=["hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture"],Kt=Object.assign({},wr,xr,Br,kr,Cr,Er,Or,Tr,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),Ut=l.forwardRef(((e,r)=>{var t=e.hrefAttrs,n=e.onLayout,o=e.onMoveShouldSetResponder,a=e.onMoveShouldSetResponderCapture,i=e.onResponderEnd,s=e.onResponderGrant,u=e.onResponderMove,c=e.onResponderReject,d=e.onResponderRelease,f=e.onResponderStart,p=e.onResponderTerminate,h=e.onResponderTerminationRequest,b=e.onScrollShouldSetResponder,g=e.onScrollShouldSetResponderCapture,y=e.onSelectionChangeShouldSetResponder,m=e.onSelectionChangeShouldSetResponderCapture,S=e.onStartShouldSetResponder,R=e.onStartShouldSetResponderCapture,w=v(e,Vt),x=l.useContext(At),B=l.useRef(null),k=Sr().direction;Yr(B,n),Tt(B,{onMoveShouldSetResponder:o,onMoveShouldSetResponderCapture:a,onResponderEnd:i,onResponderGrant:s,onResponderMove:u,onResponderReject:c,onResponderRelease:d,onResponderStart:f,onResponderTerminate:p,onResponderTerminationRequest:h,onScrollShouldSetResponder:b,onScrollShouldSetResponderCapture:g,onSelectionChangeShouldSetResponder:y,onSelectionChangeShouldSetResponderCapture:m,onStartShouldSetResponder:S,onStartShouldSetResponderCapture:R});var C="div",E=null!=e.lang?yr(e.lang):null,O=e.dir||E,T=O||k,A=(e=>Ar(e,Kt))(w);if(A.dir=O,A.style=[Jt.view$raw,x&&Jt.inline,e.style],null!=e.href&&(C="a",null!=t)){var W=t.download,L=t.rel,P=t.target;null!=W&&(A.download=W),null!=L&&(A.rel=L),"string"==typeof P&&(A.target="_"!==P.charAt(0)?"_"+P:P)}var M=qr(B,Vr(A),r);return A.ref=M,Rr(C,A,{writingDirection:T})}));Ut.displayName="View";var Jt=Je.create({view$raw:{alignItems:"stretch",backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",display:"flex",flexBasis:"auto",flexDirection:"column",flexShrink:0,listStyle:"none",margin:0,minHeight:0,minWidth:0,padding:0,position:"relative",textDecoration:"none",zIndex:0},inline:{display:"inline-flex"}});const Zt=Ut;var Qt=l.createContext(null),en=l.forwardRef(((e,r)=>{var t=e.children,n=e.WrapperComponent,o=l.createElement(Zt,{children:t,key:1,style:tn.appContainer});return n&&(o=l.createElement(n,null,o)),l.createElement(Qt.Provider,{value:e.rootTag},l.createElement(Zt,{ref:r,style:tn.appContainer},o))}));en.displayName="AppContainer";const rn=en;var tn=Je.create({appContainer:{flex:1,pointerEvents:"box-none"}}),nn=o(338);function on(e,r){return Le(r),(0,nn.c)(r,e)}function an(e,r){Le(r);var t=(0,nn.H)(r);return t.render(e),t}function ln(e,r,t){return Le(r),(0,Yt.hydrate)(e,r,t),{unmount:function(){return qt(r)}}}function sn(e,r,t){return Le(r),(0,Yt.render)(e,r,t),{unmount:function(){return qt(r)}}}var un,cn={},dn={},fn=e=>e();class pn{static getAppKeys(){return Object.keys(dn)}static getApplication(e,r){return Ft()(dn[e]&&dn[e].getApplication,"Application "+e+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),dn[e].getApplication(r)}static registerComponent(e,r){return dn[e]={getApplication:e=>{return t=fn(r),n=e?e.initialProps:cn,o=un&&un(e),{element:s().createElement(rn,{WrapperComponent:o,rootTag:{}},s().createElement(t,n)),getStyleElement:e=>{var r=Je.getSheet();return s().createElement("style",$t({},e,{dangerouslySetInnerHTML:{__html:r.textContent},id:r.id}))}};var t,n,o},run:e=>{return t=fn(r),n=un&&un(e),o=e.callback,i=(a={hydrate:e.hydrate||!1,initialProps:e.initialProps||cn,mode:e.mode||"concurrent",rootTag:e.rootTag}).initialProps,l=a.mode,u=a.rootTag,c=a.hydrate?"concurrent"===l?on:ln:"concurrent"===l?an:sn,Ft()(u,"Expect to have a valid rootTag, instead got ",u),c(s().createElement(rn,{WrapperComponent:n,ref:o,rootTag:u},s().createElement(t,i)),u);var t,n,o,a,i,l,u,c}},e}static registerConfig(e){e.forEach((e=>{var r=e.appKey,t=e.component,n=e.run;n?pn.registerRunnable(r,n):(Ft()(t,"No component provider passed in"),pn.registerComponent(r,t))}))}static registerRunnable(e,r){return dn[e]={run:r},e}static runApplication(e,r){return Ft()(dn[e]&&dn[e].run,'Application "'+e+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),dn[e].run(r)}static setComponentProviderInstrumentationHook(e){fn=e}static setWrapperComponentProvider(e){un=e}static unmountApplicationComponentAtRootTag(e){qt(e)}}const hn=(e,r="main")=>{const t=pn;t.registerComponent(r,(()=>e));const n=t.getApplication(r,null).getStyleElement();if((0,l.isValidElement)(n))return n};return a})()));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "creactive",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"main": "build/
|
|
3
|
+
"version": "0.0.36",
|
|
4
|
+
"main": "build/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"build/**"
|
|
7
7
|
],
|
|
@@ -14,10 +14,8 @@
|
|
|
14
14
|
"test:ios": "jest",
|
|
15
15
|
"test:web": "jest",
|
|
16
16
|
"lint": "expo lint",
|
|
17
|
-
"build": "
|
|
18
|
-
"
|
|
19
|
-
"build:web": "webpack --mode production && tsc -p tsconfig.web.json && tsc-alias -p tsconfig.web.json",
|
|
20
|
-
"prepublishOnly": "npm run build && node scripts/update-package.js build/default/index.js",
|
|
17
|
+
"build": "webpack --mode production && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json",
|
|
18
|
+
"prepublishOnly": "npm run build && node scripts/update-package.js build/index.js",
|
|
21
19
|
"postpublish": "node scripts/update-package.js .storybook"
|
|
22
20
|
},
|
|
23
21
|
"peerDependencies": {
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { ThemeFontWeight } from '../../contexts';
|
|
2
|
-
import type { FunctionComponent, PropsWithChildren } from 'react';
|
|
3
|
-
import type { TextFontSize, TextFontWeight, TextType } from './constants';
|
|
4
|
-
export type BaseStyleSheetParameters = {
|
|
5
|
-
fontFamilyBase: string;
|
|
6
|
-
fontWeightBaseThin: ThemeFontWeight;
|
|
7
|
-
fontWeightBaseExtraLight: ThemeFontWeight;
|
|
8
|
-
fontWeightBaseLight: ThemeFontWeight;
|
|
9
|
-
fontWeightBaseRegular: ThemeFontWeight;
|
|
10
|
-
fontWeightBaseSemibold: ThemeFontWeight;
|
|
11
|
-
fontWeightBaseBold: ThemeFontWeight;
|
|
12
|
-
fontWeightBaseExtraBold: ThemeFontWeight;
|
|
13
|
-
fontWeightBaseBlack: ThemeFontWeight;
|
|
14
|
-
fontSizeBaseX2S: number;
|
|
15
|
-
fontSizeBaseXS: number;
|
|
16
|
-
fontSizeBaseSM: number;
|
|
17
|
-
fontSizeBaseMD: number;
|
|
18
|
-
fontSizeBaseLG: number;
|
|
19
|
-
fontSizeBaseXL: number;
|
|
20
|
-
fontSizeBaseX2L: number;
|
|
21
|
-
fontSizeBaseX3L: number;
|
|
22
|
-
fontSizeBaseX4L: number;
|
|
23
|
-
fontSizeBaseX5L: number;
|
|
24
|
-
};
|
|
25
|
-
export interface TextProps extends PropsWithChildren {
|
|
26
|
-
/**
|
|
27
|
-
* Specific text type if required.
|
|
28
|
-
* Affects appearance, accessibility and semantics.
|
|
29
|
-
* To access types use Text.Type instead of trying to import TexType.
|
|
30
|
-
*/
|
|
31
|
-
type?: TextType;
|
|
32
|
-
/**
|
|
33
|
-
* Specific text font weight if required.
|
|
34
|
-
* Will change text weight, depending on configured theme.
|
|
35
|
-
* Component maps font weight into matching theme base font weight value.
|
|
36
|
-
*/
|
|
37
|
-
fontWeight?: TextFontWeight;
|
|
38
|
-
/**
|
|
39
|
-
* Specific text size if required.
|
|
40
|
-
* Will change text size, depending on configured theme.
|
|
41
|
-
* Component maps font size into matching theme base font size value.
|
|
42
|
-
*/
|
|
43
|
-
fontSize?: TextFontSize;
|
|
44
|
-
}
|
|
45
|
-
export type TextComponent = FunctionComponent<TextProps> & {
|
|
46
|
-
Type: Record<keyof typeof TextType, TextType>;
|
|
47
|
-
FontWeight: Record<keyof typeof TextFontWeight, TextFontWeight>;
|
|
48
|
-
FontSize: Record<keyof typeof TextFontSize, TextFontSize>;
|
|
49
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, PropsWithChildren } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Theme font weight type.
|
|
4
|
-
* Should be used to specify theme font weight.
|
|
5
|
-
*/
|
|
6
|
-
export type ThemeFontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
7
|
-
/**
|
|
8
|
-
* Theme context value interface.
|
|
9
|
-
* Contains all theme tokens you may need.
|
|
10
|
-
* This tokens are used inside components for styling.
|
|
11
|
-
* This tokens can be also accesed via theme context outside.
|
|
12
|
-
*/
|
|
13
|
-
export interface ThemeContextValue {
|
|
14
|
-
fontFamilyBase: string;
|
|
15
|
-
fontWeightBaseThin: ThemeFontWeight;
|
|
16
|
-
fontWeightBaseExtraLight: ThemeFontWeight;
|
|
17
|
-
fontWeightBaseLight: ThemeFontWeight;
|
|
18
|
-
fontWeightBaseRegular: ThemeFontWeight;
|
|
19
|
-
fontWeightBaseSemibold: ThemeFontWeight;
|
|
20
|
-
fontWeightBaseBold: ThemeFontWeight;
|
|
21
|
-
fontWeightBaseExtraBold: ThemeFontWeight;
|
|
22
|
-
fontWeightBaseBlack: ThemeFontWeight;
|
|
23
|
-
fontSizeBaseX2S: number;
|
|
24
|
-
fontSizeBaseXS: number;
|
|
25
|
-
fontSizeBaseSM: number;
|
|
26
|
-
fontSizeBaseMD: number;
|
|
27
|
-
fontSizeBaseLG: number;
|
|
28
|
-
fontSizeBaseXL: number;
|
|
29
|
-
fontSizeBaseX2L: number;
|
|
30
|
-
fontSizeBaseX3L: number;
|
|
31
|
-
fontSizeBaseX4L: number;
|
|
32
|
-
fontSizeBaseX5L: number;
|
|
33
|
-
}
|
|
34
|
-
export type ThemeContextProviderProps = PropsWithChildren<Partial<ThemeContextValue>>;
|
|
35
|
-
export type ThemeContextProviderComponent = FunctionComponent<ThemeContextProviderProps>;
|