@kosdev-code/kos-ui-plugin 2.0.41 → 2.1.1

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.
Files changed (188) hide show
  1. package/documentation-generator-B8FuhDjB.js +1271 -0
  2. package/documentation-generator-B8FuhDjB.js.map +1 -0
  3. package/documentation-generator-E9tFyId_.cjs +266 -0
  4. package/documentation-generator-E9tFyId_.cjs.map +1 -0
  5. package/index.cjs +412 -4
  6. package/index.cjs.map +1 -1
  7. package/index.d.ts +1 -1
  8. package/index.d.ts.map +1 -1
  9. package/index.js +2179 -64
  10. package/index.js.map +1 -1
  11. package/lib/components/dynamic-component/dynamic-component.d.ts.map +1 -1
  12. package/lib/components/dynamic-component/error-boundary.d.ts +17 -0
  13. package/lib/components/dynamic-component/error-boundary.d.ts.map +1 -0
  14. package/lib/components/index.d.ts +1 -0
  15. package/lib/components/index.d.ts.map +1 -1
  16. package/lib/components/plugin-explorer/extension-point-list.d.ts +13 -0
  17. package/lib/components/plugin-explorer/extension-point-list.d.ts.map +1 -0
  18. package/lib/components/plugin-explorer/floating-plugin-explorer.d.ts +13 -0
  19. package/lib/components/plugin-explorer/floating-plugin-explorer.d.ts.map +1 -0
  20. package/lib/components/plugin-explorer/index.d.ts +10 -0
  21. package/lib/components/plugin-explorer/index.d.ts.map +1 -0
  22. package/lib/components/plugin-explorer/plugin-card.d.ts +10 -0
  23. package/lib/components/plugin-explorer/plugin-card.d.ts.map +1 -0
  24. package/lib/components/plugin-explorer/plugin-explorer.d.ts +12 -0
  25. package/lib/components/plugin-explorer/plugin-explorer.d.ts.map +1 -0
  26. package/lib/components/plugin-explorer/plugin-health-dashboard.d.ts +9 -0
  27. package/lib/components/plugin-explorer/plugin-health-dashboard.d.ts.map +1 -0
  28. package/lib/hooks/index.d.ts +3 -0
  29. package/lib/hooks/index.d.ts.map +1 -1
  30. package/lib/hooks/use-extension-component.d.ts +21 -0
  31. package/lib/hooks/use-extension-component.d.ts.map +1 -0
  32. package/lib/hooks/use-plugin-discovery.d.ts +23 -0
  33. package/lib/hooks/use-plugin-discovery.d.ts.map +1 -0
  34. package/lib/hooks/use-typed-extensions.d.ts +152 -0
  35. package/lib/hooks/use-typed-extensions.d.ts.map +1 -0
  36. package/lib/utils/discovery/documentation-generator.d.ts +85 -0
  37. package/lib/utils/discovery/documentation-generator.d.ts.map +1 -0
  38. package/lib/utils/discovery/plugin-discovery-service.d.ts +109 -0
  39. package/lib/utils/discovery/plugin-discovery-service.d.ts.map +1 -0
  40. package/lib/utils/extension-points/define-extension-point.d.ts +58 -0
  41. package/lib/utils/extension-points/define-extension-point.d.ts.map +1 -0
  42. package/lib/utils/extension-points/example-extension-point.d.ts +67 -0
  43. package/lib/utils/extension-points/example-extension-point.d.ts.map +1 -0
  44. package/lib/utils/extension-points/extension-point-registry.d.ts +34 -0
  45. package/lib/utils/extension-points/extension-point-registry.d.ts.map +1 -0
  46. package/lib/utils/extension-points/extension-point-schema.d.ts +9 -0
  47. package/lib/utils/extension-points/extension-point-schema.d.ts.map +1 -0
  48. package/lib/utils/extension-points/extension-point-schemas.d.ts +92 -0
  49. package/lib/utils/extension-points/extension-point-schemas.d.ts.map +1 -0
  50. package/lib/utils/extension-points/extension-point-transforms.d.ts +21 -0
  51. package/lib/utils/extension-points/extension-point-transforms.d.ts.map +1 -0
  52. package/lib/utils/extension-points/extension-point-types.d.ts +162 -0
  53. package/lib/utils/extension-points/extension-point-types.d.ts.map +1 -0
  54. package/lib/utils/extension-points/extension-point-validation.d.ts +43 -0
  55. package/lib/utils/extension-points/extension-point-validation.d.ts.map +1 -0
  56. package/lib/utils/index.d.ts +9 -15
  57. package/lib/utils/index.d.ts.map +1 -1
  58. package/lib/utils/{plugin-extension-manager.d.ts → plugin-system/plugin-extension-manager.d.ts} +3 -5
  59. package/lib/utils/plugin-system/plugin-extension-manager.d.ts.map +1 -0
  60. package/lib/utils/plugin-system/plugin-extension-registry-init.d.ts +2 -0
  61. package/lib/utils/plugin-system/plugin-extension-registry-init.d.ts.map +1 -0
  62. package/lib/utils/{plugin-extension-registry.d.ts → plugin-system/plugin-extension-registry.d.ts} +1 -1
  63. package/lib/utils/plugin-system/plugin-extension-registry.d.ts.map +1 -0
  64. package/lib/utils/{plugin-reducer.d.ts → plugin-system/plugin-reducer.d.ts} +1 -1
  65. package/lib/utils/plugin-system/plugin-reducer.d.ts.map +1 -0
  66. package/lib/utils/{resolve-best-extension.d.ts → plugin-system/resolve-best-extension.d.ts} +1 -1
  67. package/lib/utils/plugin-system/resolve-best-extension.d.ts.map +1 -0
  68. package/lib/utils/processors/contribution-reducer.d.ts +5 -0
  69. package/lib/utils/processors/contribution-reducer.d.ts.map +1 -0
  70. package/lib/utils/{initialize-plugins.d.ts → processors/initialize-plugins.d.ts} +2 -2
  71. package/lib/utils/processors/initialize-plugins.d.ts.map +1 -0
  72. package/lib/utils/processors/initialize-simplified-extensions.d.ts +13 -0
  73. package/lib/utils/processors/initialize-simplified-extensions.d.ts.map +1 -0
  74. package/lib/utils/{process-kos-config.d.ts → processors/process-kos-config.d.ts} +1 -1
  75. package/lib/utils/processors/process-kos-config.d.ts.map +1 -0
  76. package/lib/utils/processors/simplified-contribution-processor.d.ts +14 -0
  77. package/lib/utils/processors/simplified-contribution-processor.d.ts.map +1 -0
  78. package/package.json +2 -7
  79. package/types/global.d.ts +0 -62
  80. package/types/plugins.d.ts +3 -127
  81. package/utils.cjs +1 -1
  82. package/utils.cjs.map +1 -1
  83. package/utils.js +99 -82
  84. package/utils.js.map +1 -1
  85. package/dev.cjs +0 -57
  86. package/dev.cjs.map +0 -1
  87. package/dev.js +0 -403
  88. package/dev.js.map +0 -1
  89. package/emotion-react-jsx-runtime.browser.esm-0ViwU5Kh.cjs +0 -17
  90. package/emotion-react-jsx-runtime.browser.esm-0ViwU5Kh.cjs.map +0 -1
  91. package/emotion-react-jsx-runtime.browser.esm-70CdOW1e.js +0 -1065
  92. package/emotion-react-jsx-runtime.browser.esm-70CdOW1e.js.map +0 -1
  93. package/lib/dev/components/dynamic-view/dynamic-component-view.d.ts +0 -9
  94. package/lib/dev/components/dynamic-view/dynamic-component-view.d.ts.map +0 -1
  95. package/lib/dev/components/dynamic-view/dynamic-container.d.ts +0 -8
  96. package/lib/dev/components/dynamic-view/dynamic-container.d.ts.map +0 -1
  97. package/lib/dev/components/dynamic-view/dynamic-view-basic.d.ts +0 -13
  98. package/lib/dev/components/dynamic-view/dynamic-view-basic.d.ts.map +0 -1
  99. package/lib/dev/components/dynamic-view/dynamic-view-modal.d.ts +0 -15
  100. package/lib/dev/components/dynamic-view/dynamic-view-modal.d.ts.map +0 -1
  101. package/lib/dev/components/dynamic-view/dynamic-view-picker.d.ts +0 -9
  102. package/lib/dev/components/dynamic-view/dynamic-view-picker.d.ts.map +0 -1
  103. package/lib/dev/components/dynamic-view/dynamic-view-settings.d.ts +0 -15
  104. package/lib/dev/components/dynamic-view/dynamic-view-settings.d.ts.map +0 -1
  105. package/lib/dev/components/dynamic-view/dynamic-view-utilities.d.ts +0 -15
  106. package/lib/dev/components/dynamic-view/dynamic-view-utilities.d.ts.map +0 -1
  107. package/lib/dev/components/dynamic-view/index.d.ts +0 -8
  108. package/lib/dev/components/dynamic-view/index.d.ts.map +0 -1
  109. package/lib/dev/components/index.d.ts +0 -4
  110. package/lib/dev/components/index.d.ts.map +0 -1
  111. package/lib/dev/components/shell/header/header.d.ts +0 -2
  112. package/lib/dev/components/shell/header/header.d.ts.map +0 -1
  113. package/lib/dev/components/shell/header/index.d.ts +0 -2
  114. package/lib/dev/components/shell/header/index.d.ts.map +0 -1
  115. package/lib/dev/components/shell/index.d.ts +0 -3
  116. package/lib/dev/components/shell/index.d.ts.map +0 -1
  117. package/lib/dev/components/shell/shell.d.ts +0 -10
  118. package/lib/dev/components/shell/shell.d.ts.map +0 -1
  119. package/lib/dev/components/storybook/control-pour-story-container/control-pour-story-container.d.ts +0 -8
  120. package/lib/dev/components/storybook/control-pour-story-container/control-pour-story-container.d.ts.map +0 -1
  121. package/lib/dev/components/storybook/control-pour-story-container/index.d.ts +0 -2
  122. package/lib/dev/components/storybook/control-pour-story-container/index.d.ts.map +0 -1
  123. package/lib/dev/components/storybook/cui-story-container/cui-story-container.d.ts +0 -8
  124. package/lib/dev/components/storybook/cui-story-container/cui-story-container.d.ts.map +0 -1
  125. package/lib/dev/components/storybook/cui-story-container/index.d.ts +0 -2
  126. package/lib/dev/components/storybook/cui-story-container/index.d.ts.map +0 -1
  127. package/lib/dev/components/storybook/index.d.ts +0 -7
  128. package/lib/dev/components/storybook/index.d.ts.map +0 -1
  129. package/lib/dev/components/storybook/nav-story-container/index.d.ts +0 -2
  130. package/lib/dev/components/storybook/nav-story-container/index.d.ts.map +0 -1
  131. package/lib/dev/components/storybook/nav-story-container/nav-story-container.d.ts +0 -8
  132. package/lib/dev/components/storybook/nav-story-container/nav-story-container.d.ts.map +0 -1
  133. package/lib/dev/components/storybook/setting-story-container/index.d.ts +0 -2
  134. package/lib/dev/components/storybook/setting-story-container/index.d.ts.map +0 -1
  135. package/lib/dev/components/storybook/setting-story-container/setting-story-container.d.ts +0 -8
  136. package/lib/dev/components/storybook/setting-story-container/setting-story-container.d.ts.map +0 -1
  137. package/lib/dev/components/storybook/setup-step-story-container/index.d.ts +0 -2
  138. package/lib/dev/components/storybook/setup-step-story-container/index.d.ts.map +0 -1
  139. package/lib/dev/components/storybook/setup-step-story-container/setup-step-story-container.d.ts +0 -8
  140. package/lib/dev/components/storybook/setup-step-story-container/setup-step-story-container.d.ts.map +0 -1
  141. package/lib/dev/components/storybook/utility-story-container/index.d.ts +0 -2
  142. package/lib/dev/components/storybook/utility-story-container/index.d.ts.map +0 -1
  143. package/lib/dev/components/storybook/utility-story-container/utility-story-container.d.ts +0 -8
  144. package/lib/dev/components/storybook/utility-story-container/utility-story-container.d.ts.map +0 -1
  145. package/lib/dev/index.d.ts +0 -3
  146. package/lib/dev/index.d.ts.map +0 -1
  147. package/lib/dev/utils/index.d.ts +0 -2
  148. package/lib/dev/utils/index.d.ts.map +0 -1
  149. package/lib/dev/utils/kos-metadata-parser.d.ts +0 -6
  150. package/lib/dev/utils/kos-metadata-parser.d.ts.map +0 -1
  151. package/lib/dev/utils/normalize.d.ts +0 -2
  152. package/lib/dev/utils/normalize.d.ts.map +0 -1
  153. package/lib/utils/contribution-reducer.d.ts +0 -5
  154. package/lib/utils/contribution-reducer.d.ts.map +0 -1
  155. package/lib/utils/control-pour-reducer.d.ts +0 -5
  156. package/lib/utils/control-pour-reducer.d.ts.map +0 -1
  157. package/lib/utils/cui-reducer.d.ts +0 -7
  158. package/lib/utils/cui-reducer.d.ts.map +0 -1
  159. package/lib/utils/dashboard-detail-reducer.d.ts +0 -5
  160. package/lib/utils/dashboard-detail-reducer.d.ts.map +0 -1
  161. package/lib/utils/dashboard-pump-detail-reducer.d.ts +0 -5
  162. package/lib/utils/dashboard-pump-detail-reducer.d.ts.map +0 -1
  163. package/lib/utils/dashboard-reducer.d.ts +0 -3
  164. package/lib/utils/dashboard-reducer.d.ts.map +0 -1
  165. package/lib/utils/dashboard-summary-reducer.d.ts +0 -5
  166. package/lib/utils/dashboard-summary-reducer.d.ts.map +0 -1
  167. package/lib/utils/initialize-plugins.d.ts.map +0 -1
  168. package/lib/utils/nav-view-reducer.d.ts +0 -5
  169. package/lib/utils/nav-view-reducer.d.ts.map +0 -1
  170. package/lib/utils/plugin-extension-manager.d.ts.map +0 -1
  171. package/lib/utils/plugin-extension-registry-init.d.ts +0 -2
  172. package/lib/utils/plugin-extension-registry-init.d.ts.map +0 -1
  173. package/lib/utils/plugin-extension-registry.d.ts.map +0 -1
  174. package/lib/utils/plugin-reducer.d.ts.map +0 -1
  175. package/lib/utils/process-kos-config.d.ts.map +0 -1
  176. package/lib/utils/resolve-best-extension.d.ts.map +0 -1
  177. package/lib/utils/settings-reducer.d.ts +0 -8
  178. package/lib/utils/settings-reducer.d.ts.map +0 -1
  179. package/lib/utils/setup-reducer.d.ts +0 -7
  180. package/lib/utils/setup-reducer.d.ts.map +0 -1
  181. package/lib/utils/state-action-reducer.d.ts +0 -5
  182. package/lib/utils/state-action-reducer.d.ts.map +0 -1
  183. package/lib/utils/util-reducer.d.ts +0 -7
  184. package/lib/utils/util-reducer.d.ts.map +0 -1
  185. package/resolve-best-extension-CqHaJSdN.js +0 -590
  186. package/resolve-best-extension-CqHaJSdN.js.map +0 -1
  187. package/resolve-best-extension-DSdPcuL3.cjs +0 -2
  188. package/resolve-best-extension-DSdPcuL3.cjs.map +0 -1
@@ -1,1065 +0,0 @@
1
- import * as W from "react/jsx-runtime";
2
- import * as L from "react";
3
- import { forwardRef as ur, useContext as dr } from "react";
4
- function lr(e) {
5
- if (e.sheet)
6
- return e.sheet;
7
- for (var r = 0; r < document.styleSheets.length; r++)
8
- if (document.styleSheets[r].ownerNode === e)
9
- return document.styleSheets[r];
10
- }
11
- function mr(e) {
12
- var r = document.createElement("style");
13
- return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
14
- }
15
- var hr = /* @__PURE__ */ function() {
16
- function e(t) {
17
- var n = this;
18
- this._insertTag = function(a) {
19
- var s;
20
- n.tags.length === 0 ? n.insertionPoint ? s = n.insertionPoint.nextSibling : n.prepend ? s = n.container.firstChild : s = n.before : s = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(a, s), n.tags.push(a);
21
- }, this.isSpeedy = t.speedy === void 0 ? !0 : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
22
- }
23
- var r = e.prototype;
24
- return r.hydrate = function(n) {
25
- n.forEach(this._insertTag);
26
- }, r.insert = function(n) {
27
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(mr(this));
28
- var a = this.tags[this.tags.length - 1];
29
- if (this.isSpeedy) {
30
- var s = lr(a);
31
- try {
32
- s.insertRule(n, s.cssRules.length);
33
- } catch {
34
- }
35
- } else
36
- a.appendChild(document.createTextNode(n));
37
- this.ctr++;
38
- }, r.flush = function() {
39
- this.tags.forEach(function(n) {
40
- var a;
41
- return (a = n.parentNode) == null ? void 0 : a.removeChild(n);
42
- }), this.tags = [], this.ctr = 0;
43
- }, e;
44
- }(), P = "-ms-", J = "-moz-", m = "-webkit-", Te = "comm", ue = "rule", de = "decl", pr = "@import", Ae = "@keyframes", yr = "@layer", vr = Math.abs, Q = String.fromCharCode, Er = Object.assign;
45
- function br(e, r) {
46
- return A(e, 0) ^ 45 ? (((r << 2 ^ A(e, 0)) << 2 ^ A(e, 1)) << 2 ^ A(e, 2)) << 2 ^ A(e, 3) : 0;
47
- }
48
- function Re(e) {
49
- return e.trim();
50
- }
51
- function xr(e, r) {
52
- return (e = r.exec(e)) ? e[0] : e;
53
- }
54
- function h(e, r, t) {
55
- return e.replace(r, t);
56
- }
57
- function se(e, r) {
58
- return e.indexOf(r);
59
- }
60
- function A(e, r) {
61
- return e.charCodeAt(r) | 0;
62
- }
63
- function j(e, r, t) {
64
- return e.slice(r, t);
65
- }
66
- function k(e) {
67
- return e.length;
68
- }
69
- function le(e) {
70
- return e.length;
71
- }
72
- function B(e, r) {
73
- return r.push(e), e;
74
- }
75
- function Sr(e, r) {
76
- return e.map(r).join("");
77
- }
78
- var ee = 1, D = 1, Pe = 0, O = 0, w = 0, z = "";
79
- function re(e, r, t, n, a, s, c) {
80
- return { value: e, root: r, parent: t, type: n, props: a, children: s, line: ee, column: D, length: c, return: "" };
81
- }
82
- function V(e, r) {
83
- return Er(re("", null, null, "", null, null, 0), e, { length: -e.length }, r);
84
- }
85
- function gr() {
86
- return w;
87
- }
88
- function Cr() {
89
- return w = O > 0 ? A(z, --O) : 0, D--, w === 10 && (D = 1, ee--), w;
90
- }
91
- function M() {
92
- return w = O < Pe ? A(z, O++) : 0, D++, w === 10 && (D = 1, ee++), w;
93
- }
94
- function F() {
95
- return A(z, O);
96
- }
97
- function H() {
98
- return O;
99
- }
100
- function q(e, r) {
101
- return j(z, e, r);
102
- }
103
- function G(e) {
104
- switch (e) {
105
- case 0:
106
- case 9:
107
- case 10:
108
- case 13:
109
- case 32:
110
- return 5;
111
- case 33:
112
- case 43:
113
- case 44:
114
- case 47:
115
- case 62:
116
- case 64:
117
- case 126:
118
- case 59:
119
- case 123:
120
- case 125:
121
- return 4;
122
- case 58:
123
- return 3;
124
- case 34:
125
- case 39:
126
- case 40:
127
- case 91:
128
- return 2;
129
- case 41:
130
- case 93:
131
- return 1;
132
- }
133
- return 0;
134
- }
135
- function Oe(e) {
136
- return ee = D = 1, Pe = k(z = e), O = 0, [];
137
- }
138
- function Ne(e) {
139
- return z = "", e;
140
- }
141
- function K(e) {
142
- return Re(q(O - 1, ie(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
143
- }
144
- function _r(e) {
145
- for (; (w = F()) && w < 33; )
146
- M();
147
- return G(e) > 2 || G(w) > 3 ? "" : " ";
148
- }
149
- function wr(e, r) {
150
- for (; --r && M() && !(w < 48 || w > 102 || w > 57 && w < 65 || w > 70 && w < 97); )
151
- ;
152
- return q(e, H() + (r < 6 && F() == 32 && M() == 32));
153
- }
154
- function ie(e) {
155
- for (; M(); )
156
- switch (w) {
157
- case e:
158
- return O;
159
- case 34:
160
- case 39:
161
- e !== 34 && e !== 39 && ie(w);
162
- break;
163
- case 40:
164
- e === 41 && ie(e);
165
- break;
166
- case 92:
167
- M();
168
- break;
169
- }
170
- return O;
171
- }
172
- function $r(e, r) {
173
- for (; M() && e + w !== 57; )
174
- if (e + w === 84 && F() === 47)
175
- break;
176
- return "/*" + q(r, O - 1) + "*" + Q(e === 47 ? e : M());
177
- }
178
- function Tr(e) {
179
- for (; !G(F()); )
180
- M();
181
- return q(e, O);
182
- }
183
- function Ar(e) {
184
- return Ne(X("", null, null, null, [""], e = Oe(e), 0, [0], e));
185
- }
186
- function X(e, r, t, n, a, s, c, f, d) {
187
- for (var l = 0, u = 0, v = c, N = 0, $ = 0, g = 0, b = 1, T = 1, S = 1, _ = 0, x = "", C = a, i = s, R = n, E = x; T; )
188
- switch (g = _, _ = M()) {
189
- case 40:
190
- if (g != 108 && A(E, v - 1) == 58) {
191
- se(E += h(K(_), "&", "&\f"), "&\f") != -1 && (S = -1);
192
- break;
193
- }
194
- case 34:
195
- case 39:
196
- case 91:
197
- E += K(_);
198
- break;
199
- case 9:
200
- case 10:
201
- case 13:
202
- case 32:
203
- E += _r(g);
204
- break;
205
- case 92:
206
- E += wr(H() - 1, 7);
207
- continue;
208
- case 47:
209
- switch (F()) {
210
- case 42:
211
- case 47:
212
- B(Rr($r(M(), H()), r, t), d);
213
- break;
214
- default:
215
- E += "/";
216
- }
217
- break;
218
- case 123 * b:
219
- f[l++] = k(E) * S;
220
- case 125 * b:
221
- case 59:
222
- case 0:
223
- switch (_) {
224
- case 0:
225
- case 125:
226
- T = 0;
227
- case 59 + u:
228
- S == -1 && (E = h(E, /\f/g, "")), $ > 0 && k(E) - v && B($ > 32 ? Ee(E + ";", n, t, v - 1) : Ee(h(E, " ", "") + ";", n, t, v - 2), d);
229
- break;
230
- case 59:
231
- E += ";";
232
- default:
233
- if (B(R = ve(E, r, t, l, u, a, f, x, C = [], i = [], v), s), _ === 123)
234
- if (u === 0)
235
- X(E, r, R, R, C, s, v, f, i);
236
- else
237
- switch (N === 99 && A(E, 3) === 110 ? 100 : N) {
238
- case 100:
239
- case 108:
240
- case 109:
241
- case 115:
242
- X(e, R, R, n && B(ve(e, R, R, 0, 0, a, f, x, a, C = [], v), i), a, i, v, f, n ? C : i);
243
- break;
244
- default:
245
- X(E, R, R, R, [""], i, 0, f, i);
246
- }
247
- }
248
- l = u = $ = 0, b = S = 1, x = E = "", v = c;
249
- break;
250
- case 58:
251
- v = 1 + k(E), $ = g;
252
- default:
253
- if (b < 1) {
254
- if (_ == 123)
255
- --b;
256
- else if (_ == 125 && b++ == 0 && Cr() == 125)
257
- continue;
258
- }
259
- switch (E += Q(_), _ * b) {
260
- case 38:
261
- S = u > 0 ? 1 : (E += "\f", -1);
262
- break;
263
- case 44:
264
- f[l++] = (k(E) - 1) * S, S = 1;
265
- break;
266
- case 64:
267
- F() === 45 && (E += K(M())), N = F(), u = v = k(x = E += Tr(H())), _++;
268
- break;
269
- case 45:
270
- g === 45 && k(E) == 2 && (b = 0);
271
- }
272
- }
273
- return s;
274
- }
275
- function ve(e, r, t, n, a, s, c, f, d, l, u) {
276
- for (var v = a - 1, N = a === 0 ? s : [""], $ = le(N), g = 0, b = 0, T = 0; g < n; ++g)
277
- for (var S = 0, _ = j(e, v + 1, v = vr(b = c[g])), x = e; S < $; ++S)
278
- (x = Re(b > 0 ? N[S] + " " + _ : h(_, /&\f/g, N[S]))) && (d[T++] = x);
279
- return re(e, r, t, a === 0 ? ue : f, d, l, u);
280
- }
281
- function Rr(e, r, t) {
282
- return re(e, r, t, Te, Q(gr()), j(e, 2, -2), 0);
283
- }
284
- function Ee(e, r, t, n) {
285
- return re(e, r, t, de, j(e, 0, n), j(e, n + 1, -1), n);
286
- }
287
- function Y(e, r) {
288
- for (var t = "", n = le(e), a = 0; a < n; a++)
289
- t += r(e[a], a, e, r) || "";
290
- return t;
291
- }
292
- function Pr(e, r, t, n) {
293
- switch (e.type) {
294
- case yr:
295
- if (e.children.length)
296
- break;
297
- case pr:
298
- case de:
299
- return e.return = e.return || e.value;
300
- case Te:
301
- return "";
302
- case Ae:
303
- return e.return = e.value + "{" + Y(e.children, n) + "}";
304
- case ue:
305
- e.value = e.props.join(",");
306
- }
307
- return k(t = Y(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
308
- }
309
- function Or(e) {
310
- var r = le(e);
311
- return function(t, n, a, s) {
312
- for (var c = "", f = 0; f < r; f++)
313
- c += e[f](t, n, a, s) || "";
314
- return c;
315
- };
316
- }
317
- function Nr(e) {
318
- return function(r) {
319
- r.root || (r = r.return) && e(r);
320
- };
321
- }
322
- var Mr = function(r, t, n) {
323
- for (var a = 0, s = 0; a = s, s = F(), a === 38 && s === 12 && (t[n] = 1), !G(s); )
324
- M();
325
- return q(r, O);
326
- }, kr = function(r, t) {
327
- var n = -1, a = 44;
328
- do
329
- switch (G(a)) {
330
- case 0:
331
- a === 38 && F() === 12 && (t[n] = 1), r[n] += Mr(O - 1, t, n);
332
- break;
333
- case 2:
334
- r[n] += K(a);
335
- break;
336
- case 4:
337
- if (a === 44) {
338
- r[++n] = F() === 58 ? "&\f" : "", t[n] = r[n].length;
339
- break;
340
- }
341
- default:
342
- r[n] += Q(a);
343
- }
344
- while (a = M());
345
- return r;
346
- }, Ir = function(r, t) {
347
- return Ne(kr(Oe(r), t));
348
- }, be = /* @__PURE__ */ new WeakMap(), Fr = function(r) {
349
- if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
350
- // negative .length indicates that this rule has been already prefixed
351
- r.length < 1)) {
352
- for (var t = r.value, n = r.parent, a = r.column === n.column && r.line === n.line; n.type !== "rule"; )
353
- if (n = n.parent, !n)
354
- return;
355
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !be.get(n)) && !a) {
356
- be.set(r, !0);
357
- for (var s = [], c = Ir(t, s), f = n.props, d = 0, l = 0; d < c.length; d++)
358
- for (var u = 0; u < f.length; u++, l++)
359
- r.props[l] = s[d] ? c[d].replace(/&\f/g, f[u]) : f[u] + " " + c[d];
360
- }
361
- }
362
- }, Lr = function(r) {
363
- if (r.type === "decl") {
364
- var t = r.value;
365
- // charcode for l
366
- t.charCodeAt(0) === 108 && // charcode for b
367
- t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
368
- }
369
- };
370
- function Me(e, r) {
371
- switch (br(e, r)) {
372
- case 5103:
373
- return m + "print-" + e + e;
374
- case 5737:
375
- case 4201:
376
- case 3177:
377
- case 3433:
378
- case 1641:
379
- case 4457:
380
- case 2921:
381
- case 5572:
382
- case 6356:
383
- case 5844:
384
- case 3191:
385
- case 6645:
386
- case 3005:
387
- case 6391:
388
- case 5879:
389
- case 5623:
390
- case 6135:
391
- case 4599:
392
- case 4855:
393
- case 4215:
394
- case 6389:
395
- case 5109:
396
- case 5365:
397
- case 5621:
398
- case 3829:
399
- return m + e + e;
400
- case 5349:
401
- case 4246:
402
- case 4810:
403
- case 6968:
404
- case 2756:
405
- return m + e + J + e + P + e + e;
406
- case 6828:
407
- case 4268:
408
- return m + e + P + e + e;
409
- case 6165:
410
- return m + e + P + "flex-" + e + e;
411
- case 5187:
412
- return m + e + h(e, /(\w+).+(:[^]+)/, m + "box-$1$2" + P + "flex-$1$2") + e;
413
- case 5443:
414
- return m + e + P + "flex-item-" + h(e, /flex-|-self/, "") + e;
415
- case 4675:
416
- return m + e + P + "flex-line-pack" + h(e, /align-content|flex-|-self/, "") + e;
417
- case 5548:
418
- return m + e + P + h(e, "shrink", "negative") + e;
419
- case 5292:
420
- return m + e + P + h(e, "basis", "preferred-size") + e;
421
- case 6060:
422
- return m + "box-" + h(e, "-grow", "") + m + e + P + h(e, "grow", "positive") + e;
423
- case 4554:
424
- return m + h(e, /([^-])(transform)/g, "$1" + m + "$2") + e;
425
- case 6187:
426
- return h(h(h(e, /(zoom-|grab)/, m + "$1"), /(image-set)/, m + "$1"), e, "") + e;
427
- case 5495:
428
- case 3959:
429
- return h(e, /(image-set\([^]*)/, m + "$1$`$1");
430
- case 4968:
431
- return h(h(e, /(.+:)(flex-)?(.*)/, m + "box-pack:$3" + P + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + m + e + e;
432
- case 4095:
433
- case 3583:
434
- case 4068:
435
- case 2532:
436
- return h(e, /(.+)-inline(.+)/, m + "$1$2") + e;
437
- case 8116:
438
- case 7059:
439
- case 5753:
440
- case 5535:
441
- case 5445:
442
- case 5701:
443
- case 4933:
444
- case 4677:
445
- case 5533:
446
- case 5789:
447
- case 5021:
448
- case 4765:
449
- if (k(e) - 1 - r > 6)
450
- switch (A(e, r + 1)) {
451
- case 109:
452
- if (A(e, r + 4) !== 45)
453
- break;
454
- case 102:
455
- return h(e, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + J + (A(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
456
- case 115:
457
- return ~se(e, "stretch") ? Me(h(e, "stretch", "fill-available"), r) + e : e;
458
- }
459
- break;
460
- case 4949:
461
- if (A(e, r + 1) !== 115)
462
- break;
463
- case 6444:
464
- switch (A(e, k(e) - 3 - (~se(e, "!important") && 10))) {
465
- case 107:
466
- return h(e, ":", ":" + m) + e;
467
- case 101:
468
- return h(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + m + (A(e, 14) === 45 ? "inline-" : "") + "box$3$1" + m + "$2$3$1" + P + "$2box$3") + e;
469
- }
470
- break;
471
- case 5936:
472
- switch (A(e, r + 11)) {
473
- case 114:
474
- return m + e + P + h(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
475
- case 108:
476
- return m + e + P + h(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
477
- case 45:
478
- return m + e + P + h(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
479
- }
480
- return m + e + P + e + e;
481
- }
482
- return e;
483
- }
484
- var Yr = function(r, t, n, a) {
485
- if (r.length > -1 && !r.return)
486
- switch (r.type) {
487
- case de:
488
- r.return = Me(r.value, r.length);
489
- break;
490
- case Ae:
491
- return Y([V(r, {
492
- value: h(r.value, "@", "@" + m)
493
- })], a);
494
- case ue:
495
- if (r.length)
496
- return Sr(r.props, function(s) {
497
- switch (xr(s, /(::plac\w+|:read-\w+)/)) {
498
- case ":read-only":
499
- case ":read-write":
500
- return Y([V(r, {
501
- props: [h(s, /:(read-\w+)/, ":" + J + "$1")]
502
- })], a);
503
- case "::placeholder":
504
- return Y([V(r, {
505
- props: [h(s, /:(plac\w+)/, ":" + m + "input-$1")]
506
- }), V(r, {
507
- props: [h(s, /:(plac\w+)/, ":" + J + "$1")]
508
- }), V(r, {
509
- props: [h(s, /:(plac\w+)/, P + "input-$1")]
510
- })], a);
511
- }
512
- return "";
513
- });
514
- }
515
- }, Dr = [Yr], zr = function(r) {
516
- var t = r.key;
517
- if (t === "css") {
518
- var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
519
- Array.prototype.forEach.call(n, function(b) {
520
- var T = b.getAttribute("data-emotion");
521
- T.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
522
- });
523
- }
524
- var a = r.stylisPlugins || Dr, s = {}, c, f = [];
525
- c = r.container || document.head, Array.prototype.forEach.call(
526
- // this means we will ignore elements which don't have a space in them which
527
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
528
- document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
529
- function(b) {
530
- for (var T = b.getAttribute("data-emotion").split(" "), S = 1; S < T.length; S++)
531
- s[T[S]] = !0;
532
- f.push(b);
533
- }
534
- );
535
- var d, l = [Fr, Lr];
536
- {
537
- var u, v = [Pr, Nr(function(b) {
538
- u.insert(b);
539
- })], N = Or(l.concat(a, v)), $ = function(T) {
540
- return Y(Ar(T), N);
541
- };
542
- d = function(T, S, _, x) {
543
- u = _, $(T ? T + "{" + S.styles + "}" : S.styles), x && (g.inserted[S.name] = !0);
544
- };
545
- }
546
- var g = {
547
- key: t,
548
- sheet: new hr({
549
- key: t,
550
- container: c,
551
- nonce: r.nonce,
552
- speedy: r.speedy,
553
- prepend: r.prepend,
554
- insertionPoint: r.insertionPoint
555
- }),
556
- nonce: r.nonce,
557
- inserted: s,
558
- registered: {},
559
- insert: d
560
- };
561
- return g.sheet.hydrate(f), g;
562
- }, oe = { exports: {} }, p = {};
563
- /** @license React v16.13.1
564
- * react-is.production.min.js
565
- *
566
- * Copyright (c) Facebook, Inc. and its affiliates.
567
- *
568
- * This source code is licensed under the MIT license found in the
569
- * LICENSE file in the root directory of this source tree.
570
- */
571
- var xe;
572
- function Vr() {
573
- if (xe)
574
- return p;
575
- xe = 1;
576
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, $ = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
577
- function x(i) {
578
- if (typeof i == "object" && i !== null) {
579
- var R = i.$$typeof;
580
- switch (R) {
581
- case r:
582
- switch (i = i.type, i) {
583
- case d:
584
- case l:
585
- case n:
586
- case s:
587
- case a:
588
- case v:
589
- return i;
590
- default:
591
- switch (i = i && i.$$typeof, i) {
592
- case f:
593
- case u:
594
- case g:
595
- case $:
596
- case c:
597
- return i;
598
- default:
599
- return R;
600
- }
601
- }
602
- case t:
603
- return R;
604
- }
605
- }
606
- }
607
- function C(i) {
608
- return x(i) === l;
609
- }
610
- return p.AsyncMode = d, p.ConcurrentMode = l, p.ContextConsumer = f, p.ContextProvider = c, p.Element = r, p.ForwardRef = u, p.Fragment = n, p.Lazy = g, p.Memo = $, p.Portal = t, p.Profiler = s, p.StrictMode = a, p.Suspense = v, p.isAsyncMode = function(i) {
611
- return C(i) || x(i) === d;
612
- }, p.isConcurrentMode = C, p.isContextConsumer = function(i) {
613
- return x(i) === f;
614
- }, p.isContextProvider = function(i) {
615
- return x(i) === c;
616
- }, p.isElement = function(i) {
617
- return typeof i == "object" && i !== null && i.$$typeof === r;
618
- }, p.isForwardRef = function(i) {
619
- return x(i) === u;
620
- }, p.isFragment = function(i) {
621
- return x(i) === n;
622
- }, p.isLazy = function(i) {
623
- return x(i) === g;
624
- }, p.isMemo = function(i) {
625
- return x(i) === $;
626
- }, p.isPortal = function(i) {
627
- return x(i) === t;
628
- }, p.isProfiler = function(i) {
629
- return x(i) === s;
630
- }, p.isStrictMode = function(i) {
631
- return x(i) === a;
632
- }, p.isSuspense = function(i) {
633
- return x(i) === v;
634
- }, p.isValidElementType = function(i) {
635
- return typeof i == "string" || typeof i == "function" || i === n || i === l || i === s || i === a || i === v || i === N || typeof i == "object" && i !== null && (i.$$typeof === g || i.$$typeof === $ || i.$$typeof === c || i.$$typeof === f || i.$$typeof === u || i.$$typeof === T || i.$$typeof === S || i.$$typeof === _ || i.$$typeof === b);
636
- }, p.typeOf = x, p;
637
- }
638
- var y = {};
639
- /** @license React v16.13.1
640
- * react-is.development.js
641
- *
642
- * Copyright (c) Facebook, Inc. and its affiliates.
643
- *
644
- * This source code is licensed under the MIT license found in the
645
- * LICENSE file in the root directory of this source tree.
646
- */
647
- var Se;
648
- function Wr() {
649
- return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
650
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, $ = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
651
- function x(o) {
652
- return typeof o == "string" || typeof o == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
653
- o === n || o === l || o === s || o === a || o === v || o === N || typeof o == "object" && o !== null && (o.$$typeof === g || o.$$typeof === $ || o.$$typeof === c || o.$$typeof === f || o.$$typeof === u || o.$$typeof === T || o.$$typeof === S || o.$$typeof === _ || o.$$typeof === b);
654
- }
655
- function C(o) {
656
- if (typeof o == "object" && o !== null) {
657
- var ne = o.$$typeof;
658
- switch (ne) {
659
- case r:
660
- var Z = o.type;
661
- switch (Z) {
662
- case d:
663
- case l:
664
- case n:
665
- case s:
666
- case a:
667
- case v:
668
- return Z;
669
- default:
670
- var ye = Z && Z.$$typeof;
671
- switch (ye) {
672
- case f:
673
- case u:
674
- case g:
675
- case $:
676
- case c:
677
- return ye;
678
- default:
679
- return ne;
680
- }
681
- }
682
- case t:
683
- return ne;
684
- }
685
- }
686
- }
687
- var i = d, R = l, E = f, We = c, je = r, Ge = u, Ue = n, qe = g, Ze = $, Be = t, He = s, Ke = a, Xe = v, he = !1;
688
- function Je(o) {
689
- return he || (he = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), pe(o) || C(o) === d;
690
- }
691
- function pe(o) {
692
- return C(o) === l;
693
- }
694
- function Qe(o) {
695
- return C(o) === f;
696
- }
697
- function er(o) {
698
- return C(o) === c;
699
- }
700
- function rr(o) {
701
- return typeof o == "object" && o !== null && o.$$typeof === r;
702
- }
703
- function tr(o) {
704
- return C(o) === u;
705
- }
706
- function nr(o) {
707
- return C(o) === n;
708
- }
709
- function ar(o) {
710
- return C(o) === g;
711
- }
712
- function sr(o) {
713
- return C(o) === $;
714
- }
715
- function ir(o) {
716
- return C(o) === t;
717
- }
718
- function or(o) {
719
- return C(o) === s;
720
- }
721
- function cr(o) {
722
- return C(o) === a;
723
- }
724
- function fr(o) {
725
- return C(o) === v;
726
- }
727
- y.AsyncMode = i, y.ConcurrentMode = R, y.ContextConsumer = E, y.ContextProvider = We, y.Element = je, y.ForwardRef = Ge, y.Fragment = Ue, y.Lazy = qe, y.Memo = Ze, y.Portal = Be, y.Profiler = He, y.StrictMode = Ke, y.Suspense = Xe, y.isAsyncMode = Je, y.isConcurrentMode = pe, y.isContextConsumer = Qe, y.isContextProvider = er, y.isElement = rr, y.isForwardRef = tr, y.isFragment = nr, y.isLazy = ar, y.isMemo = sr, y.isPortal = ir, y.isProfiler = or, y.isStrictMode = cr, y.isSuspense = fr, y.isValidElementType = x, y.typeOf = C;
728
- }()), y;
729
- }
730
- process.env.NODE_ENV === "production" ? oe.exports = Vr() : oe.exports = Wr();
731
- var jr = oe.exports, ke = jr, Gr = {
732
- $$typeof: !0,
733
- render: !0,
734
- defaultProps: !0,
735
- displayName: !0,
736
- propTypes: !0
737
- }, Ur = {
738
- $$typeof: !0,
739
- compare: !0,
740
- defaultProps: !0,
741
- displayName: !0,
742
- propTypes: !0,
743
- type: !0
744
- }, Ie = {};
745
- Ie[ke.ForwardRef] = Gr;
746
- Ie[ke.Memo] = Ur;
747
- var qr = !0;
748
- function Zr(e, r, t) {
749
- var n = "";
750
- return t.split(" ").forEach(function(a) {
751
- e[a] !== void 0 ? r.push(e[a] + ";") : a && (n += a + " ");
752
- }), n;
753
- }
754
- var Fe = function(r, t, n) {
755
- var a = r.key + "-" + t.name;
756
- // we only need to add the styles to the registered cache if the
757
- // class name could be used further down
758
- // the tree but if it's a string tag, we know it won't
759
- // so we don't have to add it to registered cache.
760
- // this improves memory usage since we can avoid storing the whole style string
761
- (n === !1 || // we need to always store it if we're in compat mode and
762
- // in node since emotion-server relies on whether a style is in
763
- // the registered cache to know whether a style is global or not
764
- // also, note that this check will be dead code eliminated in the browser
765
- qr === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
766
- }, Br = function(r, t, n) {
767
- Fe(r, t, n);
768
- var a = r.key + "-" + t.name;
769
- if (r.inserted[t.name] === void 0) {
770
- var s = t;
771
- do
772
- r.insert(t === s ? "." + a : "", s, r.sheet, !0), s = s.next;
773
- while (s !== void 0);
774
- }
775
- };
776
- function Hr(e) {
777
- for (var r = 0, t, n = 0, a = e.length; a >= 4; ++n, a -= 4)
778
- t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
779
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
780
- t >>> 24, r = /* Math.imul(k, m): */
781
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
782
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
783
- switch (a) {
784
- case 3:
785
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
786
- case 2:
787
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
788
- case 1:
789
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
790
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
791
- }
792
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
793
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
794
- }
795
- var Kr = {
796
- animationIterationCount: 1,
797
- aspectRatio: 1,
798
- borderImageOutset: 1,
799
- borderImageSlice: 1,
800
- borderImageWidth: 1,
801
- boxFlex: 1,
802
- boxFlexGroup: 1,
803
- boxOrdinalGroup: 1,
804
- columnCount: 1,
805
- columns: 1,
806
- flex: 1,
807
- flexGrow: 1,
808
- flexPositive: 1,
809
- flexShrink: 1,
810
- flexNegative: 1,
811
- flexOrder: 1,
812
- gridRow: 1,
813
- gridRowEnd: 1,
814
- gridRowSpan: 1,
815
- gridRowStart: 1,
816
- gridColumn: 1,
817
- gridColumnEnd: 1,
818
- gridColumnSpan: 1,
819
- gridColumnStart: 1,
820
- msGridRow: 1,
821
- msGridRowSpan: 1,
822
- msGridColumn: 1,
823
- msGridColumnSpan: 1,
824
- fontWeight: 1,
825
- lineHeight: 1,
826
- opacity: 1,
827
- order: 1,
828
- orphans: 1,
829
- scale: 1,
830
- tabSize: 1,
831
- widows: 1,
832
- zIndex: 1,
833
- zoom: 1,
834
- WebkitLineClamp: 1,
835
- // SVG-related properties
836
- fillOpacity: 1,
837
- floodOpacity: 1,
838
- stopOpacity: 1,
839
- strokeDasharray: 1,
840
- strokeDashoffset: 1,
841
- strokeMiterlimit: 1,
842
- strokeOpacity: 1,
843
- strokeWidth: 1
844
- };
845
- function Xr(e) {
846
- var r = /* @__PURE__ */ Object.create(null);
847
- return function(t) {
848
- return r[t] === void 0 && (r[t] = e(t)), r[t];
849
- };
850
- }
851
- var Jr = /[A-Z]|^ms/g, Qr = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Le = function(r) {
852
- return r.charCodeAt(1) === 45;
853
- }, ge = function(r) {
854
- return r != null && typeof r != "boolean";
855
- }, ae = /* @__PURE__ */ Xr(function(e) {
856
- return Le(e) ? e : e.replace(Jr, "-$&").toLowerCase();
857
- }), Ce = function(r, t) {
858
- switch (r) {
859
- case "animation":
860
- case "animationName":
861
- if (typeof t == "string")
862
- return t.replace(Qr, function(n, a, s) {
863
- return I = {
864
- name: a,
865
- styles: s,
866
- next: I
867
- }, a;
868
- });
869
- }
870
- return Kr[r] !== 1 && !Le(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
871
- };
872
- function U(e, r, t) {
873
- if (t == null)
874
- return "";
875
- var n = t;
876
- if (n.__emotion_styles !== void 0)
877
- return n;
878
- switch (typeof t) {
879
- case "boolean":
880
- return "";
881
- case "object": {
882
- var a = t;
883
- if (a.anim === 1)
884
- return I = {
885
- name: a.name,
886
- styles: a.styles,
887
- next: I
888
- }, a.name;
889
- var s = t;
890
- if (s.styles !== void 0) {
891
- var c = s.next;
892
- if (c !== void 0)
893
- for (; c !== void 0; )
894
- I = {
895
- name: c.name,
896
- styles: c.styles,
897
- next: I
898
- }, c = c.next;
899
- var f = s.styles + ";";
900
- return f;
901
- }
902
- return et(e, r, t);
903
- }
904
- case "function": {
905
- if (e !== void 0) {
906
- var d = I, l = t(e);
907
- return I = d, U(e, r, l);
908
- }
909
- break;
910
- }
911
- }
912
- var u = t;
913
- return u;
914
- }
915
- function et(e, r, t) {
916
- var n = "";
917
- if (Array.isArray(t))
918
- for (var a = 0; a < t.length; a++)
919
- n += U(e, r, t[a]) + ";";
920
- else
921
- for (var s in t) {
922
- var c = t[s];
923
- if (typeof c != "object") {
924
- var f = c;
925
- ge(f) && (n += ae(s) + ":" + Ce(s, f) + ";");
926
- } else if (Array.isArray(c) && typeof c[0] == "string" && r == null)
927
- for (var d = 0; d < c.length; d++)
928
- ge(c[d]) && (n += ae(s) + ":" + Ce(s, c[d]) + ";");
929
- else {
930
- var l = U(e, r, c);
931
- switch (s) {
932
- case "animation":
933
- case "animationName": {
934
- n += ae(s) + ":" + l + ";";
935
- break;
936
- }
937
- default:
938
- n += s + "{" + l + "}";
939
- }
940
- }
941
- }
942
- return n;
943
- }
944
- var _e = /label:\s*([^\s;{]+)\s*(;|$)/g, I;
945
- function we(e, r, t) {
946
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
947
- return e[0];
948
- var n = !0, a = "";
949
- I = void 0;
950
- var s = e[0];
951
- if (s == null || s.raw === void 0)
952
- n = !1, a += U(t, r, s);
953
- else {
954
- var c = s;
955
- a += c[0];
956
- }
957
- for (var f = 1; f < e.length; f++)
958
- if (a += U(t, r, e[f]), n) {
959
- var d = s;
960
- a += d[f];
961
- }
962
- _e.lastIndex = 0;
963
- for (var l = "", u; (u = _e.exec(a)) !== null; )
964
- l += "-" + u[1];
965
- var v = Hr(a) + l;
966
- return {
967
- name: v,
968
- styles: a,
969
- next: I
970
- };
971
- }
972
- var rt = function(r) {
973
- return r();
974
- }, tt = L.useInsertionEffect ? L.useInsertionEffect : !1, nt = tt || rt, te = {}.hasOwnProperty, me = /* @__PURE__ */ L.createContext(
975
- // we're doing this to avoid preconstruct's dead code elimination in this one case
976
- // because this module is primarily intended for the browser and node
977
- // but it's also required in react native and similar environments sometimes
978
- // and we could have a special build just for that
979
- // but this is much easier and the native packages
980
- // might use a different theme context in the future anyway
981
- typeof HTMLElement < "u" ? /* @__PURE__ */ zr({
982
- key: "css"
983
- }) : null
984
- );
985
- process.env.NODE_ENV !== "production" && (me.displayName = "EmotionCacheContext");
986
- me.Provider;
987
- var at = function(r) {
988
- return /* @__PURE__ */ ur(function(t, n) {
989
- var a = dr(me);
990
- return r(t, a, n);
991
- });
992
- }, Ye = /* @__PURE__ */ L.createContext({});
993
- process.env.NODE_ENV !== "production" && (Ye.displayName = "EmotionThemeContext");
994
- var $e = function(r) {
995
- var t = r.split(".");
996
- return t[t.length - 1];
997
- }, st = function(r) {
998
- var t = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);
999
- if (t || (t = /^([A-Za-z0-9$.]+)@/.exec(r), t))
1000
- return $e(t[1]);
1001
- }, it = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), ot = function(r) {
1002
- return r.replace(/\$/g, "-");
1003
- }, ct = function(r) {
1004
- if (r)
1005
- for (var t = r.split(`
1006
- `), n = 0; n < t.length; n++) {
1007
- var a = st(t[n]);
1008
- if (a) {
1009
- if (it.has(a))
1010
- break;
1011
- if (/^[A-Z]/.test(a))
1012
- return ot(a);
1013
- }
1014
- }
1015
- }, ce = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", fe = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", De = function(r, t) {
1016
- if (process.env.NODE_ENV !== "production" && typeof t.css == "string" && // check if there is a css declaration
1017
- t.css.indexOf(":") !== -1)
1018
- throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + t.css + "`");
1019
- var n = {};
1020
- for (var a in t)
1021
- te.call(t, a) && (n[a] = t[a]);
1022
- if (n[ce] = r, process.env.NODE_ENV !== "production" && t.css && (typeof t.css != "object" || typeof t.css.name != "string" || t.css.name.indexOf("-") === -1)) {
1023
- var s = ct(new Error().stack);
1024
- s && (n[fe] = s);
1025
- }
1026
- return n;
1027
- }, ft = function(r) {
1028
- var t = r.cache, n = r.serialized, a = r.isStringTag;
1029
- return Fe(t, n, a), nt(function() {
1030
- return Br(t, n, a);
1031
- }), null;
1032
- }, ze = /* @__PURE__ */ at(function(e, r, t) {
1033
- var n = e.css;
1034
- typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
1035
- var a = e[ce], s = [n], c = "";
1036
- typeof e.className == "string" ? c = Zr(r.registered, s, e.className) : e.className != null && (c = e.className + " ");
1037
- var f = we(s, void 0, L.useContext(Ye));
1038
- if (process.env.NODE_ENV !== "production" && f.name.indexOf("-") === -1) {
1039
- var d = e[fe];
1040
- d && (f = we([f, "label:" + d + ";"]));
1041
- }
1042
- c += r.key + "-" + f.name;
1043
- var l = {};
1044
- for (var u in e)
1045
- te.call(e, u) && u !== "css" && u !== ce && (process.env.NODE_ENV === "production" || u !== fe) && (l[u] = e[u]);
1046
- return l.ref = t, l.className = c, /* @__PURE__ */ L.createElement(L.Fragment, null, /* @__PURE__ */ L.createElement(ft, {
1047
- cache: r,
1048
- serialized: f,
1049
- isStringTag: typeof a == "string"
1050
- }), /* @__PURE__ */ L.createElement(a, l));
1051
- });
1052
- process.env.NODE_ENV !== "production" && (ze.displayName = "EmotionCssPropInternal");
1053
- var Ve = ze, dt = W.Fragment;
1054
- function lt(e, r, t) {
1055
- return te.call(r, "css") ? W.jsx(Ve, De(e, r), t) : W.jsx(e, r, t);
1056
- }
1057
- function mt(e, r, t) {
1058
- return te.call(r, "css") ? W.jsxs(Ve, De(e, r), t) : W.jsxs(e, r, t);
1059
- }
1060
- export {
1061
- dt as F,
1062
- lt as a,
1063
- mt as j
1064
- };
1065
- //# sourceMappingURL=emotion-react-jsx-runtime.browser.esm-70CdOW1e.js.map