digital-rabbit-cl 1.0.26 → 1.0.28
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/dist/components/Header/Header.d.ts.map +1 -1
- package/dist/digital-rabbit-cl.es.js +247 -203
- package/dist/digital-rabbit-cl.umd.js +7 -7
- package/dist/hooks/useMediaQuery.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/theme/ThemeContext.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;CAC1C;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuCjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-width:.15em;border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:.1em .5em}.Button-module__sizeDefault___iwWOV{padding:.25em .5em}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:.25em}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}.Input-module__input___WjT81{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:.1em .25em}.Input-module__sizeDefault___AxPA0{padding:.25em .5em}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-width:.15em;border-style:solid;border-radius:0;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:.1em 1.75em .1em .25em}.Select-module__sizeDefault___EiWvW{padding:.25em 2em .25em .5em}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:.1em .25em}.Textarea-module__sizeDefault___LL2Uc{padding:.25em .5em}')),document.head.appendChild(e)}}catch(
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
button:
|
|
6
|
-
sizeSmall:
|
|
7
|
-
sizeDefault:
|
|
8
|
-
},
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-width:.15em;border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:.1em .5em}.Button-module__sizeDefault___iwWOV{padding:.25em .5em}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:.25em}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}.Input-module__input___WjT81{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:.1em .25em}.Input-module__sizeDefault___AxPA0{padding:.25em .5em}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-width:.15em;border-style:solid;border-radius:0;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:.1em 1.75em .1em .25em}.Select-module__sizeDefault___EiWvW{padding:.25em 2em .25em .5em}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:.1em .25em}.Textarea-module__sizeDefault___LL2Uc{padding:.25em .5em}.Header-module__header___RUooH{position:absolute;width:100%}.Header-module__container___t68M9{display:flex;align-items:center;justify-content:space-between;margin:0 auto;font-size:var(--header-font-size);max-width:var(--header-max-width);padding:var(--header-padding)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { jsx as h, jsxs as k } from "react/jsx-runtime";
|
|
3
|
+
import H, { createContext as T, useContext as j, useState as A, useEffect as V, useSyncExternalStore as U } from "react";
|
|
4
|
+
const O = "Button-module__button___2ZuB7", q = "Button-module__sizeSmall___DRT8P", Q = "Button-module__sizeDefault___iwWOV", w = {
|
|
5
|
+
button: O,
|
|
6
|
+
sizeSmall: q,
|
|
7
|
+
sizeDefault: Q
|
|
8
|
+
}, Z = ({
|
|
9
9
|
isActive: e,
|
|
10
10
|
disabled: t,
|
|
11
11
|
buttonColor: o = "#FFF",
|
|
12
12
|
textColor: s = "#000",
|
|
13
13
|
hoverColor: r,
|
|
14
14
|
hoverTextColor: n,
|
|
15
|
-
outline:
|
|
15
|
+
outline: l
|
|
16
16
|
}) => {
|
|
17
|
-
let
|
|
18
|
-
|
|
17
|
+
let c, i, y;
|
|
18
|
+
l ? (c = "transparent", i = o, y = o, e && (c = r || o, i = r || o, y = n || s)) : (c = o, i = o, y = s, e && (c = r || o, i = r || o, y = n || s));
|
|
19
19
|
let f = 1;
|
|
20
|
-
return t ? f = 0.3 : e && (f = r ||
|
|
21
|
-
backgroundColor:
|
|
22
|
-
borderColor:
|
|
23
|
-
color:
|
|
20
|
+
return t ? f = 0.3 : e && (f = r || l ? 1 : 0.75), {
|
|
21
|
+
backgroundColor: c,
|
|
22
|
+
borderColor: i,
|
|
23
|
+
color: y,
|
|
24
24
|
opacity: f
|
|
25
25
|
};
|
|
26
|
-
},
|
|
26
|
+
}, N = {
|
|
27
27
|
primary: "#FFF",
|
|
28
28
|
secondary: "#000",
|
|
29
29
|
accent: "#4381C1",
|
|
30
30
|
error: "#F00",
|
|
31
31
|
success: "#008000",
|
|
32
32
|
warning: "#FFEB3B"
|
|
33
|
-
},
|
|
34
|
-
colors:
|
|
33
|
+
}, z = {
|
|
34
|
+
colors: N,
|
|
35
35
|
fonts: {
|
|
36
36
|
color: "#000",
|
|
37
37
|
lineHeight: 1.5,
|
|
@@ -49,7 +49,7 @@ const V = "Button-module__button___2ZuB7", U = "Button-module__sizeSmall___DRT8P
|
|
|
49
49
|
buttons: {
|
|
50
50
|
textColor: "#FFF",
|
|
51
51
|
primary: {
|
|
52
|
-
textColor:
|
|
52
|
+
textColor: N.secondary
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
borderRadius: "0px",
|
|
@@ -64,58 +64,58 @@ const V = "Button-module__button___2ZuB7", U = "Button-module__sizeSmall___DRT8P
|
|
|
64
64
|
wrapperPaddingSm: "0.5rem",
|
|
65
65
|
wrapperPadding: "1rem"
|
|
66
66
|
}
|
|
67
|
-
},
|
|
67
|
+
}, W = T(z), He = ({ theme: e = {}, children: t }) => {
|
|
68
68
|
var s;
|
|
69
69
|
const o = {
|
|
70
|
-
...
|
|
70
|
+
...z,
|
|
71
71
|
...e,
|
|
72
72
|
colors: {
|
|
73
|
-
...
|
|
73
|
+
...z.colors,
|
|
74
74
|
...e.colors
|
|
75
75
|
},
|
|
76
76
|
fonts: {
|
|
77
|
-
...
|
|
77
|
+
...z.fonts,
|
|
78
78
|
...e.fonts
|
|
79
79
|
},
|
|
80
80
|
buttons: {
|
|
81
|
-
...
|
|
81
|
+
...z.buttons,
|
|
82
82
|
...e.buttons,
|
|
83
83
|
primary: {
|
|
84
|
-
...
|
|
84
|
+
...z.buttons.primary,
|
|
85
85
|
...(s = e.buttons) == null ? void 0 : s.primary
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
breakpoints: {
|
|
89
|
-
...
|
|
89
|
+
...z.breakpoints,
|
|
90
90
|
...e.breakpoints
|
|
91
91
|
},
|
|
92
92
|
layout: {
|
|
93
|
-
...
|
|
93
|
+
...z.layout,
|
|
94
94
|
...e.layout
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
|
-
return /* @__PURE__ */
|
|
98
|
-
},
|
|
97
|
+
return /* @__PURE__ */ h(W.Provider, { value: o, children: t });
|
|
98
|
+
}, _ = () => j(W), Pe = ({
|
|
99
99
|
color: e,
|
|
100
100
|
hoverColor: t,
|
|
101
101
|
hoverTextColor: o,
|
|
102
102
|
textColor: s,
|
|
103
103
|
outline: r = !1,
|
|
104
104
|
size: n,
|
|
105
|
-
type:
|
|
106
|
-
buttonProps:
|
|
107
|
-
children:
|
|
108
|
-
disabled:
|
|
105
|
+
type: l = "button",
|
|
106
|
+
buttonProps: c = {},
|
|
107
|
+
children: i,
|
|
108
|
+
disabled: y = !1,
|
|
109
109
|
onClick: f,
|
|
110
110
|
fontSize: d
|
|
111
111
|
}) => {
|
|
112
|
-
const u =
|
|
112
|
+
const u = _(), [a, p] = A(!1);
|
|
113
113
|
let m;
|
|
114
114
|
s ? m = s : m = e ? u.buttons.textColor : u.buttons.primary.textColor;
|
|
115
115
|
const S = {
|
|
116
|
-
...
|
|
117
|
-
isActive:
|
|
118
|
-
disabled:
|
|
116
|
+
...Z({
|
|
117
|
+
isActive: a,
|
|
118
|
+
disabled: y,
|
|
119
119
|
buttonColor: e || u.colors.primary,
|
|
120
120
|
textColor: m,
|
|
121
121
|
hoverColor: t,
|
|
@@ -124,55 +124,55 @@ const V = "Button-module__button___2ZuB7", U = "Button-module__sizeSmall___DRT8P
|
|
|
124
124
|
}),
|
|
125
125
|
fontSize: d || u.fonts.size
|
|
126
126
|
}, g = [
|
|
127
|
-
|
|
128
|
-
n === "small" ?
|
|
129
|
-
r ?
|
|
127
|
+
w.button,
|
|
128
|
+
n === "small" ? w.sizeSmall : w.sizeDefault,
|
|
129
|
+
r ? w.outline : ""
|
|
130
130
|
].filter(Boolean).join(" ");
|
|
131
|
-
return /* @__PURE__ */
|
|
131
|
+
return /* @__PURE__ */ h(
|
|
132
132
|
"button",
|
|
133
133
|
{
|
|
134
134
|
className: g,
|
|
135
|
-
disabled:
|
|
135
|
+
disabled: y,
|
|
136
136
|
onClick: f,
|
|
137
137
|
onMouseEnter: () => p(!0),
|
|
138
138
|
onMouseLeave: () => p(!1),
|
|
139
|
-
type:
|
|
140
|
-
...
|
|
139
|
+
type: l,
|
|
140
|
+
...c,
|
|
141
141
|
style: {
|
|
142
142
|
...S,
|
|
143
|
-
...
|
|
143
|
+
...c.style
|
|
144
144
|
},
|
|
145
|
-
children:
|
|
145
|
+
children: i
|
|
146
146
|
}
|
|
147
147
|
);
|
|
148
148
|
};
|
|
149
|
-
var
|
|
150
|
-
function
|
|
151
|
-
if (!
|
|
149
|
+
var R = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), G = new Uint8Array(16);
|
|
150
|
+
function J() {
|
|
151
|
+
if (!R)
|
|
152
152
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
153
|
-
return
|
|
153
|
+
return R(G);
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
for (var
|
|
157
|
-
|
|
158
|
-
function
|
|
159
|
-
var o = 0, s =
|
|
155
|
+
var E = [];
|
|
156
|
+
for (var v = 0; v < 256; ++v)
|
|
157
|
+
E[v] = (v + 256).toString(16).substr(1);
|
|
158
|
+
function K(e, t) {
|
|
159
|
+
var o = 0, s = E;
|
|
160
160
|
return [s[e[o++]], s[e[o++]], s[e[o++]], s[e[o++]], "-", s[e[o++]], s[e[o++]], "-", s[e[o++]], s[e[o++]], "-", s[e[o++]], s[e[o++]], "-", s[e[o++]], s[e[o++]], s[e[o++]], s[e[o++]], s[e[o++]], s[e[o++]]].join("");
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function M(e, t, o) {
|
|
163
163
|
var s = t && o || 0;
|
|
164
164
|
typeof e == "string" && (t = e === "binary" ? new Array(16) : null, e = null), e = e || {};
|
|
165
|
-
var r = e.random || (e.rng ||
|
|
165
|
+
var r = e.random || (e.rng || J)();
|
|
166
166
|
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t)
|
|
167
167
|
for (var n = 0; n < 16; ++n)
|
|
168
168
|
t[s + n] = r[n];
|
|
169
|
-
return t ||
|
|
169
|
+
return t || K(r);
|
|
170
170
|
}
|
|
171
|
-
const
|
|
172
|
-
container:
|
|
173
|
-
svg:
|
|
174
|
-
label:
|
|
175
|
-
},
|
|
171
|
+
const X = "Checkbox-module__container___aV9qz", Y = "Checkbox-module__svg___kkluC", ee = "Checkbox-module__label___cwRtI", P = {
|
|
172
|
+
container: X,
|
|
173
|
+
svg: Y,
|
|
174
|
+
label: ee
|
|
175
|
+
}, te = ({
|
|
176
176
|
color: e = "#000",
|
|
177
177
|
checkmarkColor: t,
|
|
178
178
|
disabled: o = !1,
|
|
@@ -185,31 +185,31 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
185
185
|
cursor: o ? "default" : "pointer",
|
|
186
186
|
opacity: o ? 0.3 : 1
|
|
187
187
|
};
|
|
188
|
-
},
|
|
188
|
+
}, Fe = ({
|
|
189
189
|
checked: e = !1,
|
|
190
190
|
checkmarkColor: t,
|
|
191
191
|
color: o,
|
|
192
192
|
disabled: s = !1,
|
|
193
193
|
fontSize: r,
|
|
194
194
|
id: n,
|
|
195
|
-
inverted:
|
|
196
|
-
label:
|
|
197
|
-
labelStyle:
|
|
198
|
-
name:
|
|
195
|
+
inverted: l = !1,
|
|
196
|
+
label: c,
|
|
197
|
+
labelStyle: i,
|
|
198
|
+
name: y,
|
|
199
199
|
onChange: f,
|
|
200
200
|
style: d,
|
|
201
201
|
...u
|
|
202
202
|
}) => {
|
|
203
|
-
const
|
|
204
|
-
color: o ||
|
|
203
|
+
const a = _(), p = n || M(), m = te({
|
|
204
|
+
color: o || a.colors.primary,
|
|
205
205
|
checkmarkColor: t,
|
|
206
206
|
disabled: s,
|
|
207
|
-
inverted:
|
|
207
|
+
inverted: l
|
|
208
208
|
}), x = (b) => {
|
|
209
209
|
s || f(b);
|
|
210
210
|
}, S = {
|
|
211
211
|
cursor: m.cursor,
|
|
212
|
-
fontSize: r ||
|
|
212
|
+
fontSize: r || a.fonts.size,
|
|
213
213
|
opacity: m.opacity,
|
|
214
214
|
...d
|
|
215
215
|
}, g = {
|
|
@@ -218,17 +218,17 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
218
218
|
color: m.boxColor,
|
|
219
219
|
cursor: m.cursor,
|
|
220
220
|
fontSize: r || "1rem",
|
|
221
|
-
...
|
|
221
|
+
...i
|
|
222
222
|
};
|
|
223
|
-
return /* @__PURE__ */ k("div", { className:
|
|
224
|
-
/* @__PURE__ */
|
|
223
|
+
return /* @__PURE__ */ k("div", { className: P.container, style: S, ...u, children: [
|
|
224
|
+
/* @__PURE__ */ h(
|
|
225
225
|
"input",
|
|
226
226
|
{
|
|
227
227
|
id: p,
|
|
228
228
|
checked: e,
|
|
229
229
|
disabled: s,
|
|
230
|
-
onChange: (b) => x({ target: { checked: b.target.checked, name:
|
|
231
|
-
name:
|
|
230
|
+
onChange: (b) => x({ target: { checked: b.target.checked, name: y, type: "checkbox" } }),
|
|
231
|
+
name: y,
|
|
232
232
|
style: { display: "none" },
|
|
233
233
|
type: "checkbox"
|
|
234
234
|
}
|
|
@@ -238,11 +238,11 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
238
238
|
{
|
|
239
239
|
xmlns: "http://www.w3.org/2000/svg",
|
|
240
240
|
viewBox: "0 0 100 100",
|
|
241
|
-
onClick: () => x({ target: { checked: !e, name:
|
|
241
|
+
onClick: () => x({ target: { checked: !e, name: y, type: "checkbox" } }),
|
|
242
242
|
style: g,
|
|
243
|
-
className:
|
|
243
|
+
className: P.svg,
|
|
244
244
|
children: [
|
|
245
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ h(
|
|
246
246
|
"rect",
|
|
247
247
|
{
|
|
248
248
|
x: "0",
|
|
@@ -250,13 +250,13 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
250
250
|
height: "100",
|
|
251
251
|
width: "100",
|
|
252
252
|
style: {
|
|
253
|
-
fill:
|
|
253
|
+
fill: l && e ? m.boxColor : "transparent",
|
|
254
254
|
strokeWidth: "25",
|
|
255
255
|
stroke: m.boxColor
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
),
|
|
259
|
-
e && /* @__PURE__ */
|
|
259
|
+
e && /* @__PURE__ */ h(
|
|
260
260
|
"path",
|
|
261
261
|
{
|
|
262
262
|
d: "M 25 45 L 45 65 L 75 30",
|
|
@@ -268,18 +268,18 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
268
268
|
]
|
|
269
269
|
}
|
|
270
270
|
),
|
|
271
|
-
|
|
271
|
+
c && /* @__PURE__ */ h("label", { htmlFor: p, className: P.label, style: C, children: c })
|
|
272
272
|
] });
|
|
273
|
-
},
|
|
274
|
-
const e =
|
|
275
|
-
return
|
|
273
|
+
}, $e = () => {
|
|
274
|
+
const e = _();
|
|
275
|
+
return V(() => {
|
|
276
276
|
const t = document.documentElement;
|
|
277
277
|
e.fonts && (e.fonts.fontFamily && t.style.setProperty("--font-family", e.fonts.fontFamily), e.fonts.size && t.style.setProperty("--font-size", e.fonts.size), e.fonts.lineHeight !== void 0 && t.style.setProperty("--line-height", e.fonts.lineHeight.toString()), e.fonts.fontWeightHeader !== void 0 && t.style.setProperty("--font-weight-header", e.fonts.fontWeightHeader.toString()), e.fonts.fontSizeH1 && t.style.setProperty("--font-size-h1", e.fonts.fontSizeH1), e.fonts.fontSizeH2 && t.style.setProperty("--font-size-h2", e.fonts.fontSizeH2), e.fonts.fontSizeH3 && t.style.setProperty("--font-size-h3", e.fonts.fontSizeH3), e.fonts.fontSizeH4 && t.style.setProperty("--font-size-h4", e.fonts.fontSizeH4), e.fonts.fontSizeH5 && t.style.setProperty("--font-size-h5", e.fonts.fontSizeH5), e.fonts.fontSizeH6 && t.style.setProperty("--font-size-h6", e.fonts.fontSizeH6)), e.colors && (e.colors.primary && t.style.setProperty("--primary-color", e.colors.primary), e.colors.secondary && t.style.setProperty("--background-color", e.colors.secondary), e.colors.accent && t.style.setProperty("--accent-color", e.colors.accent)), e.breakpoints && (e.breakpoints.xs && t.style.setProperty("--breakpoint-xs", e.breakpoints.xs), e.breakpoints.sm && t.style.setProperty("--breakpoint-sm", e.breakpoints.sm), e.breakpoints.md && t.style.setProperty("--breakpoint-md", e.breakpoints.md), e.breakpoints.lg && t.style.setProperty("--breakpoint-lg", e.breakpoints.lg)), e.layout && (e.layout.maxWidth && t.style.setProperty("--layout-max-width", e.layout.maxWidth), e.layout.wrapperPaddingSm && t.style.setProperty("--layout-wrapper-padding-sm", e.layout.wrapperPaddingSm), e.layout.wrapperPadding && t.style.setProperty("--layout-wrapper-padding", e.layout.wrapperPadding));
|
|
278
278
|
}, [e]), null;
|
|
279
|
-
},
|
|
280
|
-
label:
|
|
281
|
-
disabled:
|
|
282
|
-
},
|
|
279
|
+
}, oe = "FormLabel-module__label___0M-fo", se = "FormLabel-module__disabled___ktIFp", D = {
|
|
280
|
+
label: oe,
|
|
281
|
+
disabled: se
|
|
282
|
+
}, re = ({
|
|
283
283
|
color: e = "#000",
|
|
284
284
|
disabled: t = !1,
|
|
285
285
|
fontSize: o = ".85em"
|
|
@@ -288,44 +288,44 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
288
288
|
fontSize: o,
|
|
289
289
|
opacity: t ? 0.5 : 1,
|
|
290
290
|
cursor: t ? "not-allowed" : "default"
|
|
291
|
-
}),
|
|
291
|
+
}), Be = ({
|
|
292
292
|
children: e,
|
|
293
293
|
color: t,
|
|
294
294
|
disabled: o = !1,
|
|
295
295
|
fontSize: s,
|
|
296
296
|
htmlFor: r,
|
|
297
297
|
style: n,
|
|
298
|
-
...
|
|
298
|
+
...l
|
|
299
299
|
}) => {
|
|
300
|
-
const
|
|
301
|
-
color: t ||
|
|
300
|
+
const c = _(), i = re({
|
|
301
|
+
color: t || c.colors.primary,
|
|
302
302
|
disabled: o,
|
|
303
303
|
fontSize: s || ".85em"
|
|
304
|
-
}),
|
|
305
|
-
color:
|
|
306
|
-
fontSize:
|
|
307
|
-
opacity:
|
|
308
|
-
cursor:
|
|
304
|
+
}), y = {
|
|
305
|
+
color: i.color,
|
|
306
|
+
fontSize: i.fontSize,
|
|
307
|
+
opacity: i.opacity,
|
|
308
|
+
cursor: i.cursor,
|
|
309
309
|
...n
|
|
310
310
|
}, f = [
|
|
311
311
|
D.label,
|
|
312
312
|
o ? D.disabled : ""
|
|
313
313
|
].filter(Boolean).join(" ");
|
|
314
|
-
return /* @__PURE__ */
|
|
314
|
+
return /* @__PURE__ */ h(
|
|
315
315
|
"label",
|
|
316
316
|
{
|
|
317
317
|
className: f,
|
|
318
318
|
htmlFor: r,
|
|
319
|
-
style:
|
|
320
|
-
...
|
|
319
|
+
style: y,
|
|
320
|
+
...l,
|
|
321
321
|
children: e
|
|
322
322
|
}
|
|
323
323
|
);
|
|
324
|
-
},
|
|
325
|
-
input:
|
|
326
|
-
sizeSmall:
|
|
327
|
-
sizeDefault:
|
|
328
|
-
},
|
|
324
|
+
}, ne = "Input-module__input___WjT81", ae = "Input-module__sizeSmall___NFvsi", le = "Input-module__sizeDefault___AxPA0", F = {
|
|
325
|
+
input: ne,
|
|
326
|
+
sizeSmall: ae,
|
|
327
|
+
sizeDefault: le
|
|
328
|
+
}, ce = ({
|
|
329
329
|
color: e = "#000",
|
|
330
330
|
disabled: t = !1,
|
|
331
331
|
fontSize: o = "1em",
|
|
@@ -336,37 +336,37 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
336
336
|
fontSize: o,
|
|
337
337
|
opacity: t ? 0.3 : 1,
|
|
338
338
|
placeholderOpacity: s
|
|
339
|
-
}),
|
|
339
|
+
}), Ie = ({
|
|
340
340
|
color: e,
|
|
341
341
|
disabled: t = !1,
|
|
342
342
|
fontSize: o,
|
|
343
343
|
name: s = "",
|
|
344
344
|
onChange: r,
|
|
345
345
|
placeholder: n,
|
|
346
|
-
placeholderOpacity:
|
|
347
|
-
size:
|
|
348
|
-
style:
|
|
349
|
-
type:
|
|
346
|
+
placeholderOpacity: l = 0.3,
|
|
347
|
+
size: c,
|
|
348
|
+
style: i,
|
|
349
|
+
type: y = "text",
|
|
350
350
|
value: f = "",
|
|
351
351
|
...d
|
|
352
352
|
}) => {
|
|
353
|
-
const u =
|
|
353
|
+
const u = _(), a = ce({
|
|
354
354
|
color: e || u.colors.primary,
|
|
355
355
|
disabled: t,
|
|
356
356
|
fontSize: o || u.fonts.size,
|
|
357
|
-
placeholderOpacity:
|
|
357
|
+
placeholderOpacity: l
|
|
358
358
|
}), p = {
|
|
359
|
-
"--placeholder-opacity":
|
|
360
|
-
borderColor:
|
|
361
|
-
color:
|
|
362
|
-
fontSize:
|
|
363
|
-
opacity:
|
|
364
|
-
...
|
|
359
|
+
"--placeholder-opacity": a.placeholderOpacity,
|
|
360
|
+
borderColor: a.borderColor,
|
|
361
|
+
color: a.color,
|
|
362
|
+
fontSize: a.fontSize,
|
|
363
|
+
opacity: a.opacity,
|
|
364
|
+
...i
|
|
365
365
|
}, m = [
|
|
366
366
|
F.input,
|
|
367
|
-
|
|
367
|
+
c === "small" ? F.sizeSmall : F.sizeDefault
|
|
368
368
|
].filter(Boolean).join(" ");
|
|
369
|
-
return /* @__PURE__ */
|
|
369
|
+
return /* @__PURE__ */ h(
|
|
370
370
|
"input",
|
|
371
371
|
{
|
|
372
372
|
className: m,
|
|
@@ -375,68 +375,68 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
375
375
|
onChange: r,
|
|
376
376
|
placeholder: n,
|
|
377
377
|
style: p,
|
|
378
|
-
type:
|
|
378
|
+
type: y,
|
|
379
379
|
value: f,
|
|
380
380
|
...d
|
|
381
381
|
}
|
|
382
382
|
);
|
|
383
|
-
},
|
|
384
|
-
container:
|
|
385
|
-
svg:
|
|
386
|
-
label:
|
|
387
|
-
},
|
|
383
|
+
}, ie = "Radio-module__container___AQxhk", ye = "Radio-module__svg___zl5kF", ue = "Radio-module__label___vAFIP", $ = {
|
|
384
|
+
container: ie,
|
|
385
|
+
svg: ye,
|
|
386
|
+
label: ue
|
|
387
|
+
}, de = ({
|
|
388
388
|
color: e = "#000",
|
|
389
389
|
disabled: t = !1
|
|
390
390
|
}) => ({
|
|
391
391
|
radioColor: e,
|
|
392
392
|
cursor: t ? "default" : "pointer",
|
|
393
393
|
opacity: t ? 0.3 : 1
|
|
394
|
-
}),
|
|
394
|
+
}), Ne = ({
|
|
395
395
|
checked: e = !1,
|
|
396
396
|
color: t,
|
|
397
397
|
disabled: o = !1,
|
|
398
398
|
fontSize: s,
|
|
399
399
|
id: r,
|
|
400
400
|
label: n,
|
|
401
|
-
labelStyle:
|
|
402
|
-
name:
|
|
403
|
-
onChange:
|
|
404
|
-
style:
|
|
401
|
+
labelStyle: l,
|
|
402
|
+
name: c,
|
|
403
|
+
onChange: i,
|
|
404
|
+
style: y,
|
|
405
405
|
...f
|
|
406
406
|
}) => {
|
|
407
|
-
const d =
|
|
407
|
+
const d = _(), u = r || M(), a = de({
|
|
408
408
|
color: t || d.colors.primary,
|
|
409
409
|
disabled: o
|
|
410
410
|
}), p = (b) => {
|
|
411
|
-
o ||
|
|
411
|
+
o || i(b);
|
|
412
412
|
}, m = {
|
|
413
|
-
cursor:
|
|
413
|
+
cursor: a.cursor,
|
|
414
414
|
fontSize: s || d.fonts.size,
|
|
415
|
-
opacity:
|
|
416
|
-
...
|
|
415
|
+
opacity: a.opacity,
|
|
416
|
+
...y
|
|
417
417
|
}, x = {
|
|
418
418
|
width: s || d.fonts.size
|
|
419
419
|
}, S = {
|
|
420
420
|
fill: "transparent",
|
|
421
421
|
strokeWidth: "12.5",
|
|
422
|
-
stroke:
|
|
422
|
+
stroke: a.radioColor
|
|
423
423
|
}, g = {
|
|
424
|
-
fill:
|
|
424
|
+
fill: a.radioColor
|
|
425
425
|
}, C = {
|
|
426
|
-
color:
|
|
427
|
-
cursor:
|
|
426
|
+
color: a.radioColor,
|
|
427
|
+
cursor: a.cursor,
|
|
428
428
|
fontSize: s || d.fonts.size,
|
|
429
|
-
...
|
|
429
|
+
...l
|
|
430
430
|
};
|
|
431
431
|
return /* @__PURE__ */ k("div", { className: $.container, style: m, ...f, children: [
|
|
432
|
-
/* @__PURE__ */
|
|
432
|
+
/* @__PURE__ */ h(
|
|
433
433
|
"input",
|
|
434
434
|
{
|
|
435
435
|
id: u,
|
|
436
436
|
checked: e,
|
|
437
437
|
disabled: o,
|
|
438
|
-
name:
|
|
439
|
-
onChange: (b) => p({ target: { checked: b.target.checked, name:
|
|
438
|
+
name: c,
|
|
439
|
+
onChange: (b) => p({ target: { checked: b.target.checked, name: c, type: "radio" } }),
|
|
440
440
|
style: { display: "none" },
|
|
441
441
|
type: "radio"
|
|
442
442
|
}
|
|
@@ -446,11 +446,11 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
446
446
|
{
|
|
447
447
|
xmlns: "http://www.w3.org/2000/svg",
|
|
448
448
|
viewBox: "0 0 100 100",
|
|
449
|
-
onClick: () => p({ target: { checked: !e, name:
|
|
449
|
+
onClick: () => p({ target: { checked: !e, name: c, type: "radio" } }),
|
|
450
450
|
className: $.svg,
|
|
451
451
|
style: x,
|
|
452
452
|
children: [
|
|
453
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ h(
|
|
454
454
|
"circle",
|
|
455
455
|
{
|
|
456
456
|
cx: "50",
|
|
@@ -460,7 +460,7 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
460
460
|
style: S
|
|
461
461
|
}
|
|
462
462
|
),
|
|
463
|
-
e && /* @__PURE__ */
|
|
463
|
+
e && /* @__PURE__ */ h(
|
|
464
464
|
"circle",
|
|
465
465
|
{
|
|
466
466
|
cx: "50",
|
|
@@ -472,7 +472,7 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
472
472
|
]
|
|
473
473
|
}
|
|
474
474
|
),
|
|
475
|
-
n && /* @__PURE__ */
|
|
475
|
+
n && /* @__PURE__ */ h(
|
|
476
476
|
"label",
|
|
477
477
|
{
|
|
478
478
|
htmlFor: u,
|
|
@@ -482,11 +482,11 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
482
482
|
}
|
|
483
483
|
)
|
|
484
484
|
] });
|
|
485
|
-
},
|
|
486
|
-
select:
|
|
487
|
-
sizeSmall:
|
|
485
|
+
}, pe = "Select-module__select___cjdcr", me = "Select-module__sizeSmall___i1quj", fe = "Select-module__sizeDefault___EiWvW", B = {
|
|
486
|
+
select: pe,
|
|
487
|
+
sizeSmall: me,
|
|
488
488
|
sizeDefault: fe
|
|
489
|
-
},
|
|
489
|
+
}, he = ({
|
|
490
490
|
color: e = "#000",
|
|
491
491
|
disabled: t = !1
|
|
492
492
|
}) => ({
|
|
@@ -495,7 +495,7 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
495
495
|
cursor: t ? "default" : "pointer",
|
|
496
496
|
opacity: t ? 0.3 : 1,
|
|
497
497
|
backgroundImage: ((n) => {
|
|
498
|
-
const
|
|
498
|
+
const l = `
|
|
499
499
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
500
500
|
<path
|
|
501
501
|
d="M 30 42.5 L 50 22.5 L 70 42.5"
|
|
@@ -511,25 +511,25 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
511
511
|
/>
|
|
512
512
|
</svg>
|
|
513
513
|
`.trim();
|
|
514
|
-
return `url("data:image/svg+xml,${encodeURIComponent(
|
|
514
|
+
return `url("data:image/svg+xml,${encodeURIComponent(l)}")`;
|
|
515
515
|
})(e)
|
|
516
|
-
}),
|
|
516
|
+
}), Re = ({
|
|
517
517
|
children: e,
|
|
518
518
|
color: t,
|
|
519
519
|
disabled: o = !1,
|
|
520
520
|
fontSize: s,
|
|
521
521
|
name: r = "",
|
|
522
522
|
onChange: n,
|
|
523
|
-
placeholder:
|
|
524
|
-
size:
|
|
525
|
-
style:
|
|
526
|
-
value:
|
|
523
|
+
placeholder: l = "",
|
|
524
|
+
size: c,
|
|
525
|
+
style: i,
|
|
526
|
+
value: y = "",
|
|
527
527
|
...f
|
|
528
528
|
}) => {
|
|
529
|
-
const d =
|
|
529
|
+
const d = _(), u = he({
|
|
530
530
|
color: t || d.colors.primary,
|
|
531
531
|
disabled: o
|
|
532
|
-
}),
|
|
532
|
+
}), a = {
|
|
533
533
|
backgroundImage: u.backgroundImage,
|
|
534
534
|
backgroundPosition: "right center",
|
|
535
535
|
backgroundRepeat: "no-repeat",
|
|
@@ -540,10 +540,10 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
540
540
|
cursor: u.cursor,
|
|
541
541
|
fontSize: s || d.fonts.size,
|
|
542
542
|
opacity: u.opacity,
|
|
543
|
-
...
|
|
543
|
+
...i
|
|
544
544
|
}, p = [
|
|
545
|
-
|
|
546
|
-
|
|
545
|
+
B.select,
|
|
546
|
+
c === "small" ? B.sizeSmall : B.sizeDefault
|
|
547
547
|
].filter(Boolean).join(" ");
|
|
548
548
|
return /* @__PURE__ */ k(
|
|
549
549
|
"select",
|
|
@@ -552,20 +552,20 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
552
552
|
disabled: o,
|
|
553
553
|
name: r,
|
|
554
554
|
onChange: n,
|
|
555
|
-
style:
|
|
556
|
-
value:
|
|
555
|
+
style: a,
|
|
556
|
+
value: y,
|
|
557
557
|
...f,
|
|
558
558
|
children: [
|
|
559
|
-
|
|
559
|
+
l !== "" && /* @__PURE__ */ h("option", { disabled: !0, value: "", children: l }),
|
|
560
560
|
e
|
|
561
561
|
]
|
|
562
562
|
}
|
|
563
563
|
);
|
|
564
|
-
},
|
|
565
|
-
textarea:
|
|
566
|
-
sizeSmall:
|
|
567
|
-
sizeDefault:
|
|
568
|
-
},
|
|
564
|
+
}, _e = "Textarea-module__textarea___Z-y6g", Se = "Textarea-module__sizeSmall___HHFEM", ge = "Textarea-module__sizeDefault___LL2Uc", I = {
|
|
565
|
+
textarea: _e,
|
|
566
|
+
sizeSmall: Se,
|
|
567
|
+
sizeDefault: ge
|
|
568
|
+
}, ze = ({
|
|
569
569
|
color: e = "#000",
|
|
570
570
|
disabled: t = !1,
|
|
571
571
|
placeholderOpacity: o = 0.3
|
|
@@ -574,49 +574,49 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
574
574
|
borderColor: e,
|
|
575
575
|
opacity: t ? 0.3 : 1,
|
|
576
576
|
placeholderOpacity: o
|
|
577
|
-
}),
|
|
577
|
+
}), De = ({
|
|
578
578
|
color: e,
|
|
579
579
|
disabled: t = !1,
|
|
580
580
|
fontSize: o,
|
|
581
581
|
name: s = "",
|
|
582
582
|
onChange: r,
|
|
583
583
|
placeholder: n,
|
|
584
|
-
placeholderOpacity:
|
|
585
|
-
rows:
|
|
586
|
-
size:
|
|
587
|
-
style:
|
|
584
|
+
placeholderOpacity: l = 0.3,
|
|
585
|
+
rows: c = 3,
|
|
586
|
+
size: i,
|
|
587
|
+
style: y,
|
|
588
588
|
value: f = "",
|
|
589
589
|
...d
|
|
590
590
|
}) => {
|
|
591
|
-
const u =
|
|
591
|
+
const u = _(), a = ze({
|
|
592
592
|
color: e || u.colors.primary,
|
|
593
593
|
disabled: t,
|
|
594
|
-
placeholderOpacity:
|
|
595
|
-
}), p = `textarea-placeholder-${
|
|
596
|
-
|
|
594
|
+
placeholderOpacity: l
|
|
595
|
+
}), p = `textarea-placeholder-${H.useId ? H.useId() : Math.random().toString(36)}`;
|
|
596
|
+
H.useEffect(() => {
|
|
597
597
|
const S = document.createElement("style");
|
|
598
598
|
return S.id = p, S.textContent = `
|
|
599
599
|
.${p}::placeholder {
|
|
600
600
|
color: inherit;
|
|
601
|
-
opacity: ${
|
|
601
|
+
opacity: ${a.placeholderOpacity};
|
|
602
602
|
}
|
|
603
603
|
`, document.head.appendChild(S), () => {
|
|
604
604
|
const g = document.getElementById(p);
|
|
605
605
|
g && g.remove();
|
|
606
606
|
};
|
|
607
|
-
}, [p,
|
|
607
|
+
}, [p, a.placeholderOpacity]);
|
|
608
608
|
const m = {
|
|
609
|
-
borderColor:
|
|
610
|
-
color:
|
|
609
|
+
borderColor: a.borderColor,
|
|
610
|
+
color: a.color,
|
|
611
611
|
fontSize: o || u.fonts.size,
|
|
612
|
-
opacity:
|
|
613
|
-
...
|
|
612
|
+
opacity: a.opacity,
|
|
613
|
+
...y
|
|
614
614
|
}, x = [
|
|
615
|
-
|
|
616
|
-
|
|
615
|
+
I.textarea,
|
|
616
|
+
i === "small" ? I.sizeSmall : I.sizeDefault,
|
|
617
617
|
p
|
|
618
618
|
].filter(Boolean).join(" ");
|
|
619
|
-
return /* @__PURE__ */
|
|
619
|
+
return /* @__PURE__ */ h(
|
|
620
620
|
"textarea",
|
|
621
621
|
{
|
|
622
622
|
className: x,
|
|
@@ -624,22 +624,66 @@ const J = "Checkbox-module__container___aV9qz", K = "Checkbox-module__svg___kklu
|
|
|
624
624
|
name: s,
|
|
625
625
|
onChange: r,
|
|
626
626
|
placeholder: n,
|
|
627
|
-
rows:
|
|
627
|
+
rows: c,
|
|
628
628
|
style: m,
|
|
629
629
|
value: f,
|
|
630
630
|
...d
|
|
631
631
|
}
|
|
632
632
|
);
|
|
633
|
+
}, xe = "Header-module__header___RUooH", be = "Header-module__container___t68M9", L = {
|
|
634
|
+
header: xe,
|
|
635
|
+
container: be
|
|
636
|
+
}, ke = ({
|
|
637
|
+
isSmallScreen: e = !1,
|
|
638
|
+
maxWidth: t,
|
|
639
|
+
paddingSm: o,
|
|
640
|
+
padding: s,
|
|
641
|
+
fontSize: r
|
|
642
|
+
} = {}) => {
|
|
643
|
+
const n = _();
|
|
644
|
+
return {
|
|
645
|
+
"--header-max-width": t || n.layout.maxWidth,
|
|
646
|
+
"--header-padding": e ? o || n.layout.wrapperPaddingSm : s || n.layout.wrapperPadding,
|
|
647
|
+
"--header-font-size": e ? "0.75rem" : r || n.fonts.size
|
|
648
|
+
};
|
|
649
|
+
}, we = (e) => {
|
|
650
|
+
const t = typeof window < "u" && typeof window.matchMedia == "function";
|
|
651
|
+
return U((n) => {
|
|
652
|
+
if (!t) return () => {
|
|
653
|
+
};
|
|
654
|
+
const l = window.matchMedia(e);
|
|
655
|
+
return l.addEventListener("change", n), () => l.removeEventListener("change", n);
|
|
656
|
+
}, () => t ? window.matchMedia(e).matches : !1, () => !1);
|
|
657
|
+
}, Le = ({
|
|
658
|
+
children: e,
|
|
659
|
+
breakPointSm: t,
|
|
660
|
+
maxWidth: o,
|
|
661
|
+
paddingSm: s,
|
|
662
|
+
padding: r,
|
|
663
|
+
fontSize: n,
|
|
664
|
+
style: l = {},
|
|
665
|
+
headerProps: c = {},
|
|
666
|
+
headerRef: i
|
|
667
|
+
}) => {
|
|
668
|
+
const y = _(), d = (t || y.breakpoints.sm).match(/^(\d+(?:\.\d+)?)(px|em|rem)$/), u = d ? parseInt(d[1], 10) - 1 : 474, a = d ? d[2] : "px", p = we(`(max-width: ${u}${a})`), m = ke({
|
|
669
|
+
isSmallScreen: p,
|
|
670
|
+
maxWidth: o,
|
|
671
|
+
paddingSm: s,
|
|
672
|
+
padding: r,
|
|
673
|
+
fontSize: n
|
|
674
|
+
});
|
|
675
|
+
return /* @__PURE__ */ h("header", { ref: i, className: L.header, ...c, children: /* @__PURE__ */ h("div", { className: L.container, style: { ...m, ...l }, children: e }) });
|
|
633
676
|
};
|
|
634
677
|
export {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
678
|
+
Pe as Button,
|
|
679
|
+
$e as CSSReset,
|
|
680
|
+
Fe as Checkbox,
|
|
681
|
+
Be as FormLabel,
|
|
682
|
+
Le as Header,
|
|
683
|
+
Ie as Input,
|
|
684
|
+
Ne as Radio,
|
|
685
|
+
Re as Select,
|
|
686
|
+
De as Textarea,
|
|
687
|
+
He as ThemeProvider,
|
|
688
|
+
_ as useTheme
|
|
645
689
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-width:.15em;border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:.1em .5em}.Button-module__sizeDefault___iwWOV{padding:.25em .5em}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:.25em}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}.Input-module__input___WjT81{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:.1em .25em}.Input-module__sizeDefault___AxPA0{padding:.25em .5em}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-width:.15em;border-style:solid;border-radius:0;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:.1em 1.75em .1em .25em}.Select-module__sizeDefault___EiWvW{padding:.25em 2em .25em .5em}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:.1em .25em}.Textarea-module__sizeDefault___LL2Uc{padding:.25em .5em}')),document.head.appendChild(e)}}catch(
|
|
2
|
-
(function(
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-width:.15em;border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:.1em .5em}.Button-module__sizeDefault___iwWOV{padding:.25em .5em}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:.25em}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}.Input-module__input___WjT81{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:.1em .25em}.Input-module__sizeDefault___AxPA0{padding:.25em .5em}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.35em;-webkit-user-select:none;user-select:none}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-width:.15em;border-style:solid;border-radius:0;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:.1em 1.75em .1em .25em}.Select-module__sizeDefault___EiWvW{padding:.25em 2em .25em .5em}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-width:.15em;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:.1em .25em}.Textarea-module__sizeDefault___LL2Uc{padding:.25em .5em}.Header-module__header___RUooH{position:absolute;width:100%}.Header-module__container___t68M9{display:flex;align-items:center;justify-content:space-between;margin:0 auto;font-size:var(--header-font-size);max-width:var(--header-max-width);padding:var(--header-padding)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
(function(h,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],c):(h=typeof globalThis<"u"?globalThis:h||self,c(h.DigitalRabbitCL={},h.jsxRuntime,h.React))})(this,(function(h,c,z){"use strict";const v={button:"Button-module__button___2ZuB7",sizeSmall:"Button-module__sizeSmall___DRT8P",sizeDefault:"Button-module__sizeDefault___iwWOV"},E=({isActive:e,disabled:t,buttonColor:o="#FFF",textColor:s="#000",hoverColor:r,hoverTextColor:n,outline:l})=>{let i,d,y;l?(i="transparent",d=o,y=o,e&&(i=r||o,d=r||o,y=n||s)):(i=o,d=o,y=s,e&&(i=r||o,d=r||o,y=n||s));let S=1;return t?S=.3:e&&(S=r||l?1:.75),{backgroundColor:i,borderColor:d,color:y,opacity:S}},D={primary:"#FFF",secondary:"#000",accent:"#4381C1",error:"#F00",success:"#008000",warning:"#FFEB3B"},b={colors:D,fonts:{color:"#000",lineHeight:1.5,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',fontWeightHeader:700,size:"22px",rhythm:"1.45rem",fontSizeH1:"2.5rem",fontSizeH2:"1.75rem",fontSizeH3:"1.38316rem",fontSizeH4:"1rem",fontSizeH5:"0.85028rem",fontSizeH6:"0.78405rem"},buttons:{textColor:"#FFF",primary:{textColor:D.secondary}},borderRadius:"0px",breakpoints:{xs:"350px",sm:"475px",md:"769px",lg:"1025px"},layout:{maxWidth:"1280px",wrapperPaddingSm:"0.5rem",wrapperPadding:"1rem"}},N=z.createContext(b),A=({theme:e={},children:t})=>{var s;const o={...b,...e,colors:{...b.colors,...e.colors},fonts:{...b.fonts,...e.fonts},buttons:{...b.buttons,...e.buttons,primary:{...b.buttons.primary,...(s=e.buttons)==null?void 0:s.primary}},breakpoints:{...b.breakpoints,...e.breakpoints},layout:{...b.layout,...e.layout}};return c.jsx(N.Provider,{value:o,children:t})},_=()=>z.useContext(N),V=({color:e,hoverColor:t,hoverTextColor:o,textColor:s,outline:r=!1,size:n,type:l="button",buttonProps:i={},children:d,disabled:y=!1,onClick:S,fontSize:f})=>{const u=_(),[a,p]=z.useState(!1);let m;s?m=s:m=e?u.buttons.textColor:u.buttons.primary.textColor;const g={...E({isActive:a,disabled:y,buttonColor:e||u.colors.primary,textColor:m,hoverColor:t,hoverTextColor:o,outline:r}),fontSize:f||u.fonts.size},x=[v.button,n==="small"?v.sizeSmall:v.sizeDefault,r?v.outline:""].filter(Boolean).join(" ");return c.jsx("button",{className:x,disabled:y,onClick:S,onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),type:l,...i,style:{...g,...i.style},children:d})};var T=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),U=new Uint8Array(16);function q(){if(!T)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(U)}for(var L=[],C=0;C<256;++C)L[C]=(C+256).toString(16).substr(1);function O(e,t){var o=0,s=L;return[s[e[o++]],s[e[o++]],s[e[o++]],s[e[o++]],"-",s[e[o++]],s[e[o++]],"-",s[e[o++]],s[e[o++]],"-",s[e[o++]],s[e[o++]],"-",s[e[o++]],s[e[o++]],s[e[o++]],s[e[o++]],s[e[o++]],s[e[o++]]].join("")}function j(e,t,o){var s=t&&o||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var r=e.random||(e.rng||q)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t)for(var n=0;n<16;++n)t[s+n]=r[n];return t||O(r)}const $={container:"Checkbox-module__container___aV9qz",svg:"Checkbox-module__svg___kkluC",label:"Checkbox-module__label___cwRtI"},Q=({color:e="#000",checkmarkColor:t,disabled:o=!1,inverted:s=!1})=>{let r=e;return t?r=t:s&&(r="white"),{boxColor:e,checkmarkColor:r,cursor:o?"default":"pointer",opacity:o?.3:1}},Z=({checked:e=!1,checkmarkColor:t,color:o,disabled:s=!1,fontSize:r,id:n,inverted:l=!1,label:i,labelStyle:d,name:y,onChange:S,style:f,...u})=>{const a=_(),p=n||j(),m=Q({color:o||a.colors.primary,checkmarkColor:t,disabled:s,inverted:l}),k=w=>{s||S(w)},g={cursor:m.cursor,fontSize:r||a.fonts.size,opacity:m.opacity,...f},x={width:r||"1rem"},I={color:m.boxColor,cursor:m.cursor,fontSize:r||"1rem",...d};return c.jsxs("div",{className:$.container,style:g,...u,children:[c.jsx("input",{id:p,checked:e,disabled:s,onChange:w=>k({target:{checked:w.target.checked,name:y,type:"checkbox"}}),name:y,style:{display:"none"},type:"checkbox"}),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",onClick:()=>k({target:{checked:!e,name:y,type:"checkbox"}}),style:x,className:$.svg,children:[c.jsx("rect",{x:"0",y:"0",height:"100",width:"100",style:{fill:l&&e?m.boxColor:"transparent",strokeWidth:"25",stroke:m.boxColor}}),e&&c.jsx("path",{d:"M 25 45 L 45 65 L 75 30",stroke:m.checkmarkColor,strokeWidth:"15",fill:"transparent"})]}),i&&c.jsx("label",{htmlFor:p,className:$.label,style:I,children:i})]})},G=()=>{const e=_();return z.useEffect(()=>{const t=document.documentElement;e.fonts&&(e.fonts.fontFamily&&t.style.setProperty("--font-family",e.fonts.fontFamily),e.fonts.size&&t.style.setProperty("--font-size",e.fonts.size),e.fonts.lineHeight!==void 0&&t.style.setProperty("--line-height",e.fonts.lineHeight.toString()),e.fonts.fontWeightHeader!==void 0&&t.style.setProperty("--font-weight-header",e.fonts.fontWeightHeader.toString()),e.fonts.fontSizeH1&&t.style.setProperty("--font-size-h1",e.fonts.fontSizeH1),e.fonts.fontSizeH2&&t.style.setProperty("--font-size-h2",e.fonts.fontSizeH2),e.fonts.fontSizeH3&&t.style.setProperty("--font-size-h3",e.fonts.fontSizeH3),e.fonts.fontSizeH4&&t.style.setProperty("--font-size-h4",e.fonts.fontSizeH4),e.fonts.fontSizeH5&&t.style.setProperty("--font-size-h5",e.fonts.fontSizeH5),e.fonts.fontSizeH6&&t.style.setProperty("--font-size-h6",e.fonts.fontSizeH6)),e.colors&&(e.colors.primary&&t.style.setProperty("--primary-color",e.colors.primary),e.colors.secondary&&t.style.setProperty("--background-color",e.colors.secondary),e.colors.accent&&t.style.setProperty("--accent-color",e.colors.accent)),e.breakpoints&&(e.breakpoints.xs&&t.style.setProperty("--breakpoint-xs",e.breakpoints.xs),e.breakpoints.sm&&t.style.setProperty("--breakpoint-sm",e.breakpoints.sm),e.breakpoints.md&&t.style.setProperty("--breakpoint-md",e.breakpoints.md),e.breakpoints.lg&&t.style.setProperty("--breakpoint-lg",e.breakpoints.lg)),e.layout&&(e.layout.maxWidth&&t.style.setProperty("--layout-max-width",e.layout.maxWidth),e.layout.wrapperPaddingSm&&t.style.setProperty("--layout-wrapper-padding-sm",e.layout.wrapperPaddingSm),e.layout.wrapperPadding&&t.style.setProperty("--layout-wrapper-padding",e.layout.wrapperPadding))},[e]),null},M={label:"FormLabel-module__label___0M-fo",disabled:"FormLabel-module__disabled___ktIFp"},J=({color:e="#000",disabled:t=!1,fontSize:o=".85em"})=>({color:e,fontSize:o,opacity:t?.5:1,cursor:t?"not-allowed":"default"}),K=({children:e,color:t,disabled:o=!1,fontSize:s,htmlFor:r,style:n,...l})=>{const i=_(),d=J({color:t||i.colors.primary,disabled:o,fontSize:s||".85em"}),y={color:d.color,fontSize:d.fontSize,opacity:d.opacity,cursor:d.cursor,...n},S=[M.label,o?M.disabled:""].filter(Boolean).join(" ");return c.jsx("label",{className:S,htmlFor:r,style:y,...l,children:e})},P={input:"Input-module__input___WjT81",sizeSmall:"Input-module__sizeSmall___NFvsi",sizeDefault:"Input-module__sizeDefault___AxPA0"},X=({color:e="#000",disabled:t=!1,fontSize:o="1em",placeholderOpacity:s=.3})=>({borderColor:e,color:e,fontSize:o,opacity:t?.3:1,placeholderOpacity:s}),Y=({color:e,disabled:t=!1,fontSize:o,name:s="",onChange:r,placeholder:n,placeholderOpacity:l=.3,size:i,style:d,type:y="text",value:S="",...f})=>{const u=_(),a=X({color:e||u.colors.primary,disabled:t,fontSize:o||u.fonts.size,placeholderOpacity:l}),p={"--placeholder-opacity":a.placeholderOpacity,borderColor:a.borderColor,color:a.color,fontSize:a.fontSize,opacity:a.opacity,...d},m=[P.input,i==="small"?P.sizeSmall:P.sizeDefault].filter(Boolean).join(" ");return c.jsx("input",{className:m,disabled:t,name:s,onChange:r,placeholder:n,style:p,type:y,value:S,...f})},H={container:"Radio-module__container___AQxhk",svg:"Radio-module__svg___zl5kF",label:"Radio-module__label___vAFIP"},R=({color:e="#000",disabled:t=!1})=>({radioColor:e,cursor:t?"default":"pointer",opacity:t?.3:1}),ee=({checked:e=!1,color:t,disabled:o=!1,fontSize:s,id:r,label:n,labelStyle:l,name:i,onChange:d,style:y,...S})=>{const f=_(),u=r||j(),a=R({color:t||f.colors.primary,disabled:o}),p=w=>{o||d(w)},m={cursor:a.cursor,fontSize:s||f.fonts.size,opacity:a.opacity,...y},k={width:s||f.fonts.size},g={fill:"transparent",strokeWidth:"12.5",stroke:a.radioColor},x={fill:a.radioColor},I={color:a.radioColor,cursor:a.cursor,fontSize:s||f.fonts.size,...l};return c.jsxs("div",{className:H.container,style:m,...S,children:[c.jsx("input",{id:u,checked:e,disabled:o,name:i,onChange:w=>p({target:{checked:w.target.checked,name:i,type:"radio"}}),style:{display:"none"},type:"radio"}),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",onClick:()=>p({target:{checked:!e,name:i,type:"radio"}}),className:H.svg,style:k,children:[c.jsx("circle",{cx:"50",cy:"50",r:"42.5",width:"100%",style:g}),e&&c.jsx("circle",{cx:"50",cy:"50",r:"25",style:x})]}),n&&c.jsx("label",{htmlFor:u,className:H.label,style:I,children:n})]})},F={select:"Select-module__select___cjdcr",sizeSmall:"Select-module__sizeSmall___i1quj",sizeDefault:"Select-module__sizeDefault___EiWvW"},te=({color:e="#000",disabled:t=!1})=>({color:e,borderColor:e,cursor:t?"default":"pointer",opacity:t?.3:1,backgroundImage:(n=>{const l=`
|
|
3
3
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
4
4
|
<path
|
|
5
5
|
d="M 30 42.5 L 50 22.5 L 70 42.5"
|
|
6
|
-
stroke="${
|
|
6
|
+
stroke="${n}"
|
|
7
7
|
stroke-width="11"
|
|
8
8
|
fill="transparent"
|
|
9
9
|
/>
|
|
10
10
|
<path
|
|
11
11
|
d="M 30 58.5 L 50 78.5 L 70 58.5"
|
|
12
|
-
stroke="${
|
|
12
|
+
stroke="${n}"
|
|
13
13
|
stroke-width="11"
|
|
14
14
|
fill="transparent"
|
|
15
15
|
/>
|
|
16
16
|
</svg>
|
|
17
|
-
`.trim();return`url("data:image/svg+xml,${encodeURIComponent(
|
|
17
|
+
`.trim();return`url("data:image/svg+xml,${encodeURIComponent(l)}")`})(e)}),oe=({children:e,color:t,disabled:o=!1,fontSize:s,name:r="",onChange:n,placeholder:l="",size:i,style:d,value:y="",...S})=>{const f=_(),u=te({color:t||f.colors.primary,disabled:o}),a={backgroundImage:u.backgroundImage,backgroundPosition:"right center",backgroundRepeat:"no-repeat",backgroundSize:"auto 85%",backgroundColor:"transparent",borderColor:u.borderColor,color:u.color,cursor:u.cursor,fontSize:s||f.fonts.size,opacity:u.opacity,...d},p=[F.select,i==="small"?F.sizeSmall:F.sizeDefault].filter(Boolean).join(" ");return c.jsxs("select",{className:p,disabled:o,name:r,onChange:n,style:a,value:y,...S,children:[l!==""&&c.jsx("option",{disabled:!0,value:"",children:l}),e]})},B={textarea:"Textarea-module__textarea___Z-y6g",sizeSmall:"Textarea-module__sizeSmall___HHFEM",sizeDefault:"Textarea-module__sizeDefault___LL2Uc"},se=({color:e="#000",disabled:t=!1,placeholderOpacity:o=.3})=>({color:e,borderColor:e,opacity:t?.3:1,placeholderOpacity:o}),re=({color:e,disabled:t=!1,fontSize:o,name:s="",onChange:r,placeholder:n,placeholderOpacity:l=.3,rows:i=3,size:d,style:y,value:S="",...f})=>{const u=_(),a=se({color:e||u.colors.primary,disabled:t,placeholderOpacity:l}),p=`textarea-placeholder-${z.useId?z.useId():Math.random().toString(36)}`;z.useEffect(()=>{const g=document.createElement("style");return g.id=p,g.textContent=`
|
|
18
18
|
.${p}::placeholder {
|
|
19
19
|
color: inherit;
|
|
20
|
-
opacity: ${
|
|
20
|
+
opacity: ${a.placeholderOpacity};
|
|
21
21
|
}
|
|
22
|
-
`,document.head.appendChild(
|
|
22
|
+
`,document.head.appendChild(g),()=>{const x=document.getElementById(p);x&&x.remove()}},[p,a.placeholderOpacity]);const m={borderColor:a.borderColor,color:a.color,fontSize:o||u.fonts.size,opacity:a.opacity,...y},k=[B.textarea,d==="small"?B.sizeSmall:B.sizeDefault,p].filter(Boolean).join(" ");return c.jsx("textarea",{className:k,disabled:t,name:s,onChange:r,placeholder:n,rows:i,style:m,value:S,...f})},W={header:"Header-module__header___RUooH",container:"Header-module__container___t68M9"},ne=({isSmallScreen:e=!1,maxWidth:t,paddingSm:o,padding:s,fontSize:r}={})=>{const n=_();return{"--header-max-width":t||n.layout.maxWidth,"--header-padding":e?o||n.layout.wrapperPaddingSm:s||n.layout.wrapperPadding,"--header-font-size":e?"0.75rem":r||n.fonts.size}},ae=e=>{const t=typeof window<"u"&&typeof window.matchMedia=="function",o=n=>{if(!t)return()=>{};const l=window.matchMedia(e);return l.addEventListener("change",n),()=>l.removeEventListener("change",n)},s=()=>t?window.matchMedia(e).matches:!1,r=()=>!1;return z.useSyncExternalStore(o,s,r)},le=({children:e,breakPointSm:t,maxWidth:o,paddingSm:s,padding:r,fontSize:n,style:l={},headerProps:i={},headerRef:d})=>{const y=_(),f=(t||y.breakpoints.sm).match(/^(\d+(?:\.\d+)?)(px|em|rem)$/),u=f?parseInt(f[1],10)-1:474,a=f?f[2]:"px",p=ae(`(max-width: ${u}${a})`),m=ne({isSmallScreen:p,maxWidth:o,paddingSm:s,padding:r,fontSize:n});return c.jsx("header",{ref:d,className:W.header,...i,children:c.jsx("div",{className:W.container,style:{...m,...l},children:e})})};h.Button=V,h.CSSReset=G,h.Checkbox=Z,h.FormLabel=K,h.Header=le,h.Input=Y,h.Radio=ee,h.Select=oe,h.Textarea=re,h.ThemeProvider=A,h.useTheme=_,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/hooks/useMediaQuery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/hooks/useMediaQuery.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,OAmB7C,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { default as Input } from './components/Input';
|
|
|
6
6
|
export { default as Radio } from './components/Radio';
|
|
7
7
|
export { default as Select } from './components/Select';
|
|
8
8
|
export { default as Textarea } from './components/Textarea';
|
|
9
|
+
export { default as Header } from './components/Header';
|
|
9
10
|
export { ThemeProvider, useTheme } from './theme';
|
|
10
11
|
export type { Theme, ThemeColors, ThemeFonts, ThemeButtons, ThemeBreakpoints, ThemeLayout, ThemeProviderProps, DeepPartial } from './theme';
|
|
11
12
|
export type { ButtonProps } from './components/Button';
|
|
@@ -15,4 +16,5 @@ export type { InputProps } from './components/Input';
|
|
|
15
16
|
export type { RadioProps } from './components/Radio';
|
|
16
17
|
export type { SelectProps } from './components/Select';
|
|
17
18
|
export type { TextareaProps } from './components/Textarea';
|
|
19
|
+
export type { HeaderProps } from './components/Header';
|
|
18
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGlD,YAAY,EACV,KAAK,EACL,WAAW,EACX,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGlD,YAAY,EACV,KAAK,EACL,WAAW,EACX,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../src/theme/ThemeContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../src/theme/ThemeContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,YAAY,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC;CACrB;AA+CD,QAAA,MAAM,YAAY,sBAAqC,CAAC;AAExD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IAC3B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoCtD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,QAAO,KAE3B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|