@helpdice/theme 1.0.0

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 (134) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +37 -0
  3. package/dist/css-baseline/css-baseline.d.ts +9 -0
  4. package/dist/css-baseline/index.d.ts +1 -0
  5. package/dist/css-baseline/index.js +868 -0
  6. package/dist/index.d.ts +12 -0
  7. package/dist/index.js +1516 -0
  8. package/dist/shared/css-transition.d.ts +13 -0
  9. package/dist/styled-jsx.cjs.js +748 -0
  10. package/dist/themes/index.d.ts +4 -0
  11. package/dist/themes/index.js +299 -0
  12. package/dist/themes/presets/dark.d.ts +8 -0
  13. package/dist/themes/presets/default.d.ts +8 -0
  14. package/dist/themes/presets/index.d.ts +90 -0
  15. package/dist/themes/presets/shared.d.ts +4 -0
  16. package/dist/themes/themes.d.ts +18 -0
  17. package/dist/ui-provider/index.d.ts +3 -0
  18. package/dist/ui-provider/index.js +1425 -0
  19. package/dist/ui-provider/theme-provider.d.ts +8 -0
  20. package/dist/ui-provider/ui-provider.d.ts +8 -0
  21. package/dist/use-all-themes/all-themes-context.d.ts +7 -0
  22. package/dist/use-all-themes/index.d.ts +3 -0
  23. package/dist/use-all-themes/index.js +311 -0
  24. package/dist/use-classes/index.d.ts +2 -0
  25. package/dist/use-classes/index.js +48 -0
  26. package/dist/use-classes/use-classes.d.ts +4 -0
  27. package/dist/use-current-state/index.d.ts +2 -0
  28. package/dist/use-current-state/index.js +72 -0
  29. package/dist/use-current-state/use-current-state.d.ts +4 -0
  30. package/dist/use-media-query/index.js +444 -0
  31. package/dist/use-theme/index.d.ts +2 -0
  32. package/dist/use-theme/index.js +309 -0
  33. package/dist/use-theme/theme-context.d.ts +4 -0
  34. package/dist/use-toasts/helpers.d.ts +18 -0
  35. package/dist/use-toasts/index.js +204 -0
  36. package/dist/use-toasts/toast-container.d.ts +3 -0
  37. package/dist/use-toasts/toast-item.d.ts +8 -0
  38. package/dist/use-toasts/use-toast.d.ts +40 -0
  39. package/dist/utils/collections.d.ts +15 -0
  40. package/dist/utils/layouts.d.ts +20 -0
  41. package/dist/utils/prop-types.d.ts +19 -0
  42. package/dist/utils/types.d.ts +3 -0
  43. package/dist/utils/use-current-state.d.ts +2 -0
  44. package/dist/utils/use-hd-ui-context.d.ts +16 -0
  45. package/dist/utils/use-portal.d.ts +2 -0
  46. package/dist/utils/use-ssr.d.ts +6 -0
  47. package/esm/css-baseline/css-baseline.d.ts +9 -0
  48. package/esm/css-baseline/css-baseline.js +23 -0
  49. package/esm/css-baseline/index.d.ts +1 -0
  50. package/esm/css-baseline/index.js +2 -0
  51. package/esm/index.d.ts +12 -0
  52. package/esm/index.js +11 -0
  53. package/esm/shared/backdrop.js +66 -0
  54. package/esm/shared/css-transition.d.ts +13 -0
  55. package/esm/shared/css-transition.js +65 -0
  56. package/esm/shared/dropdown.js +99 -0
  57. package/esm/shared/ellipsis.js +13 -0
  58. package/esm/shared/expand.js +86 -0
  59. package/esm/shared/highlight.js +46 -0
  60. package/esm/styled-jsx-server.es.js +5 -0
  61. package/esm/styled-jsx.es.js +737 -0
  62. package/esm/themes/index.d.ts +4 -0
  63. package/esm/themes/index.js +2 -0
  64. package/esm/themes/presets/dark.d.ts +8 -0
  65. package/esm/themes/presets/dark.js +64 -0
  66. package/esm/themes/presets/default.d.ts +8 -0
  67. package/esm/themes/presets/default.js +64 -0
  68. package/esm/themes/presets/index.d.ts +90 -0
  69. package/esm/themes/presets/index.js +1 -0
  70. package/esm/themes/presets/shared.d.ts +4 -0
  71. package/esm/themes/presets/shared.js +42 -0
  72. package/esm/themes/themes.d.ts +18 -0
  73. package/esm/themes/themes.js +77 -0
  74. package/esm/ui-provider/index.d.ts +3 -0
  75. package/esm/ui-provider/index.js +4 -0
  76. package/esm/ui-provider/theme-provider.d.ts +8 -0
  77. package/esm/ui-provider/theme-provider.js +45 -0
  78. package/esm/ui-provider/ui-provider.d.ts +8 -0
  79. package/esm/ui-provider/ui-provider.js +55 -0
  80. package/esm/use-all-themes/all-themes-context.d.ts +7 -0
  81. package/esm/use-all-themes/all-themes-context.js +11 -0
  82. package/esm/use-all-themes/index.d.ts +3 -0
  83. package/esm/use-all-themes/index.js +2 -0
  84. package/esm/use-classes/index.d.ts +2 -0
  85. package/esm/use-classes/index.js +2 -0
  86. package/esm/use-classes/use-classes.d.ts +4 -0
  87. package/esm/use-classes/use-classes.js +34 -0
  88. package/esm/use-current-state/index.d.ts +2 -0
  89. package/esm/use-current-state/index.js +2 -0
  90. package/esm/use-current-state/use-current-state.d.ts +4 -0
  91. package/esm/use-current-state/use-current-state.js +23 -0
  92. package/esm/use-media-query/index.js +2 -0
  93. package/esm/use-media-query/use-media-query.js +81 -0
  94. package/esm/use-theme/index.d.ts +2 -0
  95. package/esm/use-theme/index.js +2 -0
  96. package/esm/use-theme/theme-context.d.ts +4 -0
  97. package/esm/use-theme/theme-context.js +9 -0
  98. package/esm/use-toasts/helpers.d.ts +18 -0
  99. package/esm/use-toasts/helpers.js +66 -0
  100. package/esm/use-toasts/index.js +2 -0
  101. package/esm/use-toasts/toast-container.d.ts +3 -0
  102. package/esm/use-toasts/toast-container.js +120 -0
  103. package/esm/use-toasts/toast-item.d.ts +8 -0
  104. package/esm/use-toasts/toast-item.js +45 -0
  105. package/esm/use-toasts/use-toast.d.ts +40 -0
  106. package/esm/use-toasts/use-toast.js +103 -0
  107. package/esm/utils/calculations.js +29 -0
  108. package/esm/utils/collections.d.ts +15 -0
  109. package/esm/utils/collections.js +128 -0
  110. package/esm/utils/color.js +35 -0
  111. package/esm/utils/layouts.d.ts +20 -0
  112. package/esm/utils/layouts.js +73 -0
  113. package/esm/utils/prop-types.d.ts +19 -0
  114. package/esm/utils/prop-types.js +20 -0
  115. package/esm/utils/types.d.ts +3 -0
  116. package/esm/utils/types.js +1 -0
  117. package/esm/utils/use-click-anywhere.js +15 -0
  118. package/esm/utils/use-context-state/create-ui-context.js +50 -0
  119. package/esm/utils/use-context-state/use-context-state.js +40 -0
  120. package/esm/utils/use-current-state.d.ts +2 -0
  121. package/esm/utils/use-current-state.js +2 -0
  122. package/esm/utils/use-default-props.js +17 -0
  123. package/esm/utils/use-dom-observer.js +26 -0
  124. package/esm/utils/use-hd-ui-context.d.ts +16 -0
  125. package/esm/utils/use-hd-ui-context.js +27 -0
  126. package/esm/utils/use-portal.d.ts +2 -0
  127. package/esm/utils/use-portal.js +34 -0
  128. package/esm/utils/use-previous.js +11 -0
  129. package/esm/utils/use-real-shape.js +47 -0
  130. package/esm/utils/use-resize.js +19 -0
  131. package/esm/utils/use-ssr.d.ts +6 -0
  132. package/esm/utils/use-ssr.js +19 -0
  133. package/esm/utils/use-warning.js +13 -0
  134. package/package.json +111 -0
@@ -0,0 +1,868 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+
7
+ function getDefaultExportFromCjs (x) {
8
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
9
+ }
10
+
11
+ var index = {};
12
+
13
+ var hasRequiredIndex;
14
+
15
+ function requireIndex () {
16
+ if (hasRequiredIndex) return index;
17
+ hasRequiredIndex = 1;
18
+ var React$1 = React;
19
+
20
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
+
22
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
23
+
24
+ /*
25
+ Based on Glamor's sheet
26
+ https://github.com/threepointone/glamor/blob/667b480d31b3721a905021b26e1290ce92ca2879/src/sheet.js
27
+ */ function _defineProperties(target, props) {
28
+ for(var i = 0; i < props.length; i++){
29
+ var descriptor = props[i];
30
+ descriptor.enumerable = descriptor.enumerable || false;
31
+ descriptor.configurable = true;
32
+ if ("value" in descriptor) descriptor.writable = true;
33
+ Object.defineProperty(target, descriptor.key, descriptor);
34
+ }
35
+ }
36
+ function _createClass(Constructor, protoProps, staticProps) {
37
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
+ return Constructor;
39
+ }
40
+ var isProd = typeof process !== "undefined" && process.env && process.env.NODE_ENV === "production";
41
+ var isString = function(o) {
42
+ return Object.prototype.toString.call(o) === "[object String]";
43
+ };
44
+ var StyleSheet = /*#__PURE__*/ function() {
45
+ function StyleSheet(param) {
46
+ var ref = param === void 0 ? {} : param, _name = ref.name, name = _name === void 0 ? "stylesheet" : _name, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? isProd : _optimizeForSpeed;
47
+ invariant$1(isString(name), "`name` must be a string");
48
+ this._name = name;
49
+ this._deletedRulePlaceholder = "#" + name + "-deleted-rule____{}";
50
+ invariant$1(typeof optimizeForSpeed === "boolean", "`optimizeForSpeed` must be a boolean");
51
+ this._optimizeForSpeed = optimizeForSpeed;
52
+ this._serverSheet = undefined;
53
+ this._tags = [];
54
+ this._injected = false;
55
+ this._rulesCount = 0;
56
+ var node = typeof window !== "undefined" && document.querySelector('meta[property="csp-nonce"]');
57
+ this._nonce = node ? node.getAttribute("content") : null;
58
+ }
59
+ var _proto = StyleSheet.prototype;
60
+ _proto.setOptimizeForSpeed = function setOptimizeForSpeed(bool) {
61
+ invariant$1(typeof bool === "boolean", "`setOptimizeForSpeed` accepts a boolean");
62
+ invariant$1(this._rulesCount === 0, "optimizeForSpeed cannot be when rules have already been inserted");
63
+ this.flush();
64
+ this._optimizeForSpeed = bool;
65
+ this.inject();
66
+ };
67
+ _proto.isOptimizeForSpeed = function isOptimizeForSpeed() {
68
+ return this._optimizeForSpeed;
69
+ };
70
+ _proto.inject = function inject() {
71
+ var _this = this;
72
+ invariant$1(!this._injected, "sheet already injected");
73
+ this._injected = true;
74
+ if (typeof window !== "undefined" && this._optimizeForSpeed) {
75
+ this._tags[0] = this.makeStyleTag(this._name);
76
+ this._optimizeForSpeed = "insertRule" in this.getSheet();
77
+ if (!this._optimizeForSpeed) {
78
+ if (!isProd) {
79
+ console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode.");
80
+ }
81
+ this.flush();
82
+ this._injected = true;
83
+ }
84
+ return;
85
+ }
86
+ this._serverSheet = {
87
+ cssRules: [],
88
+ insertRule: function(rule, index) {
89
+ if (typeof index === "number") {
90
+ _this._serverSheet.cssRules[index] = {
91
+ cssText: rule
92
+ };
93
+ } else {
94
+ _this._serverSheet.cssRules.push({
95
+ cssText: rule
96
+ });
97
+ }
98
+ return index;
99
+ },
100
+ deleteRule: function(index) {
101
+ _this._serverSheet.cssRules[index] = null;
102
+ }
103
+ };
104
+ };
105
+ _proto.getSheetForTag = function getSheetForTag(tag) {
106
+ if (tag.sheet) {
107
+ return tag.sheet;
108
+ }
109
+ // this weirdness brought to you by firefox
110
+ for(var i = 0; i < document.styleSheets.length; i++){
111
+ if (document.styleSheets[i].ownerNode === tag) {
112
+ return document.styleSheets[i];
113
+ }
114
+ }
115
+ };
116
+ _proto.getSheet = function getSheet() {
117
+ return this.getSheetForTag(this._tags[this._tags.length - 1]);
118
+ };
119
+ _proto.insertRule = function insertRule(rule, index) {
120
+ invariant$1(isString(rule), "`insertRule` accepts only strings");
121
+ if (typeof window === "undefined") {
122
+ if (typeof index !== "number") {
123
+ index = this._serverSheet.cssRules.length;
124
+ }
125
+ this._serverSheet.insertRule(rule, index);
126
+ return this._rulesCount++;
127
+ }
128
+ if (this._optimizeForSpeed) {
129
+ var sheet = this.getSheet();
130
+ if (typeof index !== "number") {
131
+ index = sheet.cssRules.length;
132
+ }
133
+ // this weirdness for perf, and chrome's weird bug
134
+ // https://stackoverflow.com/questions/20007992/chrome-suddenly-stopped-accepting-insertrule
135
+ try {
136
+ sheet.insertRule(rule, index);
137
+ } catch (error) {
138
+ if (!isProd) {
139
+ console.warn("StyleSheet: illegal rule: \n\n" + rule + "\n\nSee https://stackoverflow.com/q/20007992 for more info");
140
+ }
141
+ return -1;
142
+ }
143
+ } else {
144
+ var insertionPoint = this._tags[index];
145
+ this._tags.push(this.makeStyleTag(this._name, rule, insertionPoint));
146
+ }
147
+ return this._rulesCount++;
148
+ };
149
+ _proto.replaceRule = function replaceRule(index, rule) {
150
+ if (this._optimizeForSpeed || typeof window === "undefined") {
151
+ var sheet = typeof window !== "undefined" ? this.getSheet() : this._serverSheet;
152
+ if (!rule.trim()) {
153
+ rule = this._deletedRulePlaceholder;
154
+ }
155
+ if (!sheet.cssRules[index]) {
156
+ // @TBD Should we throw an error?
157
+ return index;
158
+ }
159
+ sheet.deleteRule(index);
160
+ try {
161
+ sheet.insertRule(rule, index);
162
+ } catch (error) {
163
+ if (!isProd) {
164
+ console.warn("StyleSheet: illegal rule: \n\n" + rule + "\n\nSee https://stackoverflow.com/q/20007992 for more info");
165
+ }
166
+ // In order to preserve the indices we insert a deleteRulePlaceholder
167
+ sheet.insertRule(this._deletedRulePlaceholder, index);
168
+ }
169
+ } else {
170
+ var tag = this._tags[index];
171
+ invariant$1(tag, "old rule at index `" + index + "` not found");
172
+ tag.textContent = rule;
173
+ }
174
+ return index;
175
+ };
176
+ _proto.deleteRule = function deleteRule(index) {
177
+ if (typeof window === "undefined") {
178
+ this._serverSheet.deleteRule(index);
179
+ return;
180
+ }
181
+ if (this._optimizeForSpeed) {
182
+ this.replaceRule(index, "");
183
+ } else {
184
+ var tag = this._tags[index];
185
+ invariant$1(tag, "rule at index `" + index + "` not found");
186
+ tag.parentNode.removeChild(tag);
187
+ this._tags[index] = null;
188
+ }
189
+ };
190
+ _proto.flush = function flush() {
191
+ this._injected = false;
192
+ this._rulesCount = 0;
193
+ if (typeof window !== "undefined") {
194
+ this._tags.forEach(function(tag) {
195
+ return tag && tag.parentNode.removeChild(tag);
196
+ });
197
+ this._tags = [];
198
+ } else {
199
+ // simpler on server
200
+ this._serverSheet.cssRules = [];
201
+ }
202
+ };
203
+ _proto.cssRules = function cssRules() {
204
+ var _this = this;
205
+ if (typeof window === "undefined") {
206
+ return this._serverSheet.cssRules;
207
+ }
208
+ return this._tags.reduce(function(rules, tag) {
209
+ if (tag) {
210
+ rules = rules.concat(Array.prototype.map.call(_this.getSheetForTag(tag).cssRules, function(rule) {
211
+ return rule.cssText === _this._deletedRulePlaceholder ? null : rule;
212
+ }));
213
+ } else {
214
+ rules.push(null);
215
+ }
216
+ return rules;
217
+ }, []);
218
+ };
219
+ _proto.makeStyleTag = function makeStyleTag(name, cssString, relativeToTag) {
220
+ if (cssString) {
221
+ invariant$1(isString(cssString), "makeStyleTag accepts only strings as second parameter");
222
+ }
223
+ var tag = document.createElement("style");
224
+ if (this._nonce) tag.setAttribute("nonce", this._nonce);
225
+ tag.type = "text/css";
226
+ tag.setAttribute("data-" + name, "");
227
+ if (cssString) {
228
+ tag.appendChild(document.createTextNode(cssString));
229
+ }
230
+ var head = document.head || document.getElementsByTagName("head")[0];
231
+ if (relativeToTag) {
232
+ head.insertBefore(tag, relativeToTag);
233
+ } else {
234
+ head.appendChild(tag);
235
+ }
236
+ return tag;
237
+ };
238
+ _createClass(StyleSheet, [
239
+ {
240
+ key: "length",
241
+ get: function get() {
242
+ return this._rulesCount;
243
+ }
244
+ }
245
+ ]);
246
+ return StyleSheet;
247
+ }();
248
+ function invariant$1(condition, message) {
249
+ if (!condition) {
250
+ throw new Error("StyleSheet: " + message + ".");
251
+ }
252
+ }
253
+
254
+ function hash(str) {
255
+ var _$hash = 5381, i = str.length;
256
+ while(i){
257
+ _$hash = _$hash * 33 ^ str.charCodeAt(--i);
258
+ }
259
+ /* JavaScript does bitwise operations (like XOR, above) on 32-bit signed
260
+ * integers. Since we want the results to be always positive, convert the
261
+ * signed int to an unsigned by doing an unsigned bitshift. */ return _$hash >>> 0;
262
+ }
263
+ var stringHash = hash;
264
+
265
+ var sanitize = function(rule) {
266
+ return rule.replace(/\/style/gi, "\\/style");
267
+ };
268
+ var cache = {};
269
+ /**
270
+ * computeId
271
+ *
272
+ * Compute and memoize a jsx id from a basedId and optionally props.
273
+ */ function computeId(baseId, props) {
274
+ if (!props) {
275
+ return "jsx-" + baseId;
276
+ }
277
+ var propsToString = String(props);
278
+ var key = baseId + propsToString;
279
+ if (!cache[key]) {
280
+ cache[key] = "jsx-" + stringHash(baseId + "-" + propsToString);
281
+ }
282
+ return cache[key];
283
+ }
284
+ /**
285
+ * computeSelector
286
+ *
287
+ * Compute and memoize dynamic selectors.
288
+ */ function computeSelector(id, css) {
289
+ var selectoPlaceholderRegexp = /__jsx-style-dynamic-selector/g;
290
+ // Sanitize SSR-ed CSS.
291
+ // Client side code doesn't need to be sanitized since we use
292
+ // document.createTextNode (dev) and the CSSOM api sheet.insertRule (prod).
293
+ if (typeof window === "undefined") {
294
+ css = sanitize(css);
295
+ }
296
+ var idcss = id + css;
297
+ if (!cache[idcss]) {
298
+ cache[idcss] = css.replace(selectoPlaceholderRegexp, id);
299
+ }
300
+ return cache[idcss];
301
+ }
302
+
303
+ function mapRulesToStyle(cssRules, options) {
304
+ if (options === void 0) options = {};
305
+ return cssRules.map(function(args) {
306
+ var id = args[0];
307
+ var css = args[1];
308
+ return /*#__PURE__*/ React__default["default"].createElement("style", {
309
+ id: "__" + id,
310
+ // Avoid warnings upon render with a key
311
+ key: "__" + id,
312
+ nonce: options.nonce ? options.nonce : undefined,
313
+ dangerouslySetInnerHTML: {
314
+ __html: css
315
+ }
316
+ });
317
+ });
318
+ }
319
+ var StyleSheetRegistry = /*#__PURE__*/ function() {
320
+ function StyleSheetRegistry(param) {
321
+ var ref = param === void 0 ? {} : param, _styleSheet = ref.styleSheet, styleSheet = _styleSheet === void 0 ? null : _styleSheet, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? false : _optimizeForSpeed;
322
+ this._sheet = styleSheet || new StyleSheet({
323
+ name: "styled-jsx",
324
+ optimizeForSpeed: optimizeForSpeed
325
+ });
326
+ this._sheet.inject();
327
+ if (styleSheet && typeof optimizeForSpeed === "boolean") {
328
+ this._sheet.setOptimizeForSpeed(optimizeForSpeed);
329
+ this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();
330
+ }
331
+ this._fromServer = undefined;
332
+ this._indices = {};
333
+ this._instancesCounts = {};
334
+ }
335
+ var _proto = StyleSheetRegistry.prototype;
336
+ _proto.add = function add(props) {
337
+ var _this = this;
338
+ if (undefined === this._optimizeForSpeed) {
339
+ this._optimizeForSpeed = Array.isArray(props.children);
340
+ this._sheet.setOptimizeForSpeed(this._optimizeForSpeed);
341
+ this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();
342
+ }
343
+ if (typeof window !== "undefined" && !this._fromServer) {
344
+ this._fromServer = this.selectFromServer();
345
+ this._instancesCounts = Object.keys(this._fromServer).reduce(function(acc, tagName) {
346
+ acc[tagName] = 0;
347
+ return acc;
348
+ }, {});
349
+ }
350
+ var ref = this.getIdAndRules(props), styleId = ref.styleId, rules = ref.rules;
351
+ // Deduping: just increase the instances count.
352
+ if (styleId in this._instancesCounts) {
353
+ this._instancesCounts[styleId] += 1;
354
+ return;
355
+ }
356
+ var indices = rules.map(function(rule) {
357
+ return _this._sheet.insertRule(rule);
358
+ })// Filter out invalid rules
359
+ .filter(function(index) {
360
+ return index !== -1;
361
+ });
362
+ this._indices[styleId] = indices;
363
+ this._instancesCounts[styleId] = 1;
364
+ };
365
+ _proto.remove = function remove(props) {
366
+ var _this = this;
367
+ var styleId = this.getIdAndRules(props).styleId;
368
+ invariant(styleId in this._instancesCounts, "styleId: `" + styleId + "` not found");
369
+ this._instancesCounts[styleId] -= 1;
370
+ if (this._instancesCounts[styleId] < 1) {
371
+ var tagFromServer = this._fromServer && this._fromServer[styleId];
372
+ if (tagFromServer) {
373
+ tagFromServer.parentNode.removeChild(tagFromServer);
374
+ delete this._fromServer[styleId];
375
+ } else {
376
+ this._indices[styleId].forEach(function(index) {
377
+ return _this._sheet.deleteRule(index);
378
+ });
379
+ delete this._indices[styleId];
380
+ }
381
+ delete this._instancesCounts[styleId];
382
+ }
383
+ };
384
+ _proto.update = function update(props, nextProps) {
385
+ this.add(nextProps);
386
+ this.remove(props);
387
+ };
388
+ _proto.flush = function flush() {
389
+ this._sheet.flush();
390
+ this._sheet.inject();
391
+ this._fromServer = undefined;
392
+ this._indices = {};
393
+ this._instancesCounts = {};
394
+ };
395
+ _proto.cssRules = function cssRules() {
396
+ var _this = this;
397
+ var fromServer = this._fromServer ? Object.keys(this._fromServer).map(function(styleId) {
398
+ return [
399
+ styleId,
400
+ _this._fromServer[styleId]
401
+ ];
402
+ }) : [];
403
+ var cssRules = this._sheet.cssRules();
404
+ return fromServer.concat(Object.keys(this._indices).map(function(styleId) {
405
+ return [
406
+ styleId,
407
+ _this._indices[styleId].map(function(index) {
408
+ return cssRules[index].cssText;
409
+ }).join(_this._optimizeForSpeed ? "" : "\n")
410
+ ];
411
+ })// filter out empty rules
412
+ .filter(function(rule) {
413
+ return Boolean(rule[1]);
414
+ }));
415
+ };
416
+ _proto.styles = function styles(options) {
417
+ return mapRulesToStyle(this.cssRules(), options);
418
+ };
419
+ _proto.getIdAndRules = function getIdAndRules(props) {
420
+ var css = props.children, dynamic = props.dynamic, id = props.id;
421
+ if (dynamic) {
422
+ var styleId = computeId(id, dynamic);
423
+ return {
424
+ styleId: styleId,
425
+ rules: Array.isArray(css) ? css.map(function(rule) {
426
+ return computeSelector(styleId, rule);
427
+ }) : [
428
+ computeSelector(styleId, css)
429
+ ]
430
+ };
431
+ }
432
+ return {
433
+ styleId: computeId(id),
434
+ rules: Array.isArray(css) ? css : [
435
+ css
436
+ ]
437
+ };
438
+ };
439
+ /**
440
+ * selectFromServer
441
+ *
442
+ * Collects style tags from the document with id __jsx-XXX
443
+ */ _proto.selectFromServer = function selectFromServer() {
444
+ var elements = Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]'));
445
+ return elements.reduce(function(acc, element) {
446
+ var id = element.id.slice(2);
447
+ acc[id] = element;
448
+ return acc;
449
+ }, {});
450
+ };
451
+ return StyleSheetRegistry;
452
+ }();
453
+ function invariant(condition, message) {
454
+ if (!condition) {
455
+ throw new Error("StyleSheetRegistry: " + message + ".");
456
+ }
457
+ }
458
+ var StyleSheetContext = /*#__PURE__*/ React$1.createContext(null);
459
+ StyleSheetContext.displayName = "StyleSheetContext";
460
+ function createStyleRegistry() {
461
+ return new StyleSheetRegistry();
462
+ }
463
+ function StyleRegistry(param) {
464
+ var configuredRegistry = param.registry, children = param.children;
465
+ var rootRegistry = React$1.useContext(StyleSheetContext);
466
+ var ref = React$1.useState(function() {
467
+ return rootRegistry || configuredRegistry || createStyleRegistry();
468
+ }), registry = ref[0];
469
+ return /*#__PURE__*/ React__default["default"].createElement(StyleSheetContext.Provider, {
470
+ value: registry
471
+ }, children);
472
+ }
473
+ function useStyleRegistry() {
474
+ return React$1.useContext(StyleSheetContext);
475
+ }
476
+
477
+ // Opt-into the new `useInsertionEffect` API in React 18, fallback to `useLayoutEffect`.
478
+ // https://github.com/reactwg/react-18/discussions/110
479
+ var useInsertionEffect = React__default["default"].useInsertionEffect || React$1.useLayoutEffect;
480
+ var defaultRegistry = typeof window !== "undefined" ? createStyleRegistry() : undefined;
481
+ function JSXStyle(props) {
482
+ var registry = defaultRegistry ? defaultRegistry : useStyleRegistry();
483
+ var insertionEffectCalled = React$1.useRef(false);
484
+ // `registry` might not exist while server-side rendering
485
+ if (!registry) {
486
+ return null;
487
+ }
488
+ if (typeof window === "undefined") {
489
+ registry.add(props);
490
+ return null;
491
+ }
492
+ useInsertionEffect(function() {
493
+ // ReactDOM removes all DOM during hydration in certain cases
494
+ if (!document.head) {
495
+ return;
496
+ }
497
+ registry.add(props);
498
+ insertionEffectCalled.current = true;
499
+ return function() {
500
+ insertionEffectCalled.current = false;
501
+ registry.remove(props);
502
+ };
503
+ }, [
504
+ props.id,
505
+ String(props.dynamic)
506
+ ]);
507
+ React$1.useLayoutEffect(function() {
508
+ if (!document.head || insertionEffectCalled.current) {
509
+ return;
510
+ }
511
+ registry.add(props);
512
+ return function() {
513
+ registry.remove(props);
514
+ };
515
+ // props.children can be string[], will be striped since id is identical
516
+ }, [
517
+ props.id,
518
+ String(props.dynamic)
519
+ ]);
520
+ return null;
521
+ }
522
+ JSXStyle.dynamic = function(info) {
523
+ return info.map(function(tagInfo) {
524
+ var baseId = tagInfo[0];
525
+ var props = tagInfo[1];
526
+ return computeId(baseId, props);
527
+ }).join(" ");
528
+ };
529
+
530
+ index.StyleRegistry = StyleRegistry;
531
+ index.createStyleRegistry = createStyleRegistry;
532
+ index.style = JSXStyle;
533
+ index.useStyleRegistry = useStyleRegistry;
534
+ return index;
535
+ }
536
+
537
+ var style;
538
+ var hasRequiredStyle;
539
+
540
+ function requireStyle () {
541
+ if (hasRequiredStyle) return style;
542
+ hasRequiredStyle = 1;
543
+ style = requireIndex().style;
544
+ return style;
545
+ }
546
+
547
+ var styleExports = requireStyle();
548
+ var _JSXStyle = /*@__PURE__*/getDefaultExportFromCjs(styleExports);
549
+
550
+ function _defineProperty(e, r, t) {
551
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
552
+ value: t,
553
+ enumerable: true,
554
+ configurable: true,
555
+ writable: true
556
+ }) : e[r] = t, e;
557
+ }
558
+ function ownKeys(e, r) {
559
+ var t = Object.keys(e);
560
+ if (Object.getOwnPropertySymbols) {
561
+ var o = Object.getOwnPropertySymbols(e);
562
+ r && (o = o.filter(function (r) {
563
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
564
+ })), t.push.apply(t, o);
565
+ }
566
+ return t;
567
+ }
568
+ function _objectSpread2(e) {
569
+ for (var r = 1; r < arguments.length; r++) {
570
+ var t = null != arguments[r] ? arguments[r] : {};
571
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
572
+ _defineProperty(e, r, t[r]);
573
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
574
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
575
+ });
576
+ }
577
+ return e;
578
+ }
579
+ function _toPrimitive(t, r) {
580
+ if ("object" != typeof t || !t) return t;
581
+ var e = t[Symbol.toPrimitive];
582
+ if (void 0 !== e) {
583
+ var i = e.call(t, r);
584
+ if ("object" != typeof i) return i;
585
+ throw new TypeError("@@toPrimitive must return a primitive value.");
586
+ }
587
+ return ("string" === r ? String : Number)(t);
588
+ }
589
+ function _toPropertyKey(t) {
590
+ var i = _toPrimitive(t, "string");
591
+ return "symbol" == typeof i ? i : i + "";
592
+ }
593
+ function _typeof(o) {
594
+ "@babel/helpers - typeof";
595
+
596
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
597
+ return typeof o;
598
+ } : function (o) {
599
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
600
+ }, _typeof(o);
601
+ }
602
+
603
+ var defaultFont = {
604
+ sans: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
605
+ mono: 'Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace',
606
+ prism: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,"Liberation Mono", "Courier New", monospace'
607
+ };
608
+ var defaultBreakpoints = {
609
+ xs: {
610
+ min: '0',
611
+ max: '650px'
612
+ },
613
+ sm: {
614
+ min: '650px',
615
+ max: '900px'
616
+ },
617
+ md: {
618
+ min: '900px',
619
+ max: '1280px'
620
+ },
621
+ lg: {
622
+ min: '1280px',
623
+ max: '1920px'
624
+ },
625
+ xl: {
626
+ min: '1920px',
627
+ max: '10000px'
628
+ }
629
+ };
630
+ var defaultLayout = {
631
+ gap: '16pt',
632
+ gapNegative: '-16pt',
633
+ gapHalf: '8pt',
634
+ gapHalfNegative: '-8pt',
635
+ gapQuarter: '4pt',
636
+ gapQuarterNegative: '-4pt',
637
+ pageMargin: '16pt',
638
+ pageWidth: '750pt',
639
+ pageWidthWithMargin: '782pt',
640
+ breakpointMobile: defaultBreakpoints.xs.max,
641
+ breakpointTablet: defaultBreakpoints.sm.max,
642
+ radius: '6px',
643
+ unit: '16px'
644
+ };
645
+
646
+ var palette$1 = {
647
+ accents_1: '#fafafa',
648
+ accents_2: '#eaeaea',
649
+ accents_3: '#999',
650
+ accents_4: '#888',
651
+ accents_5: '#666',
652
+ accents_6: '#444',
653
+ accents_7: '#333',
654
+ accents_8: '#111',
655
+ background: '#fff',
656
+ foreground: '#000',
657
+ selection: '#79ffe1',
658
+ secondary: '#666',
659
+ code: '#f81ce5',
660
+ border: '#eaeaea',
661
+ error: '#e00',
662
+ errorLight: '#ff1a1a',
663
+ errorLighter: '#f7d4d6',
664
+ errorDark: '#c50000',
665
+ success: '#0070f3',
666
+ successLight: '#3291ff',
667
+ successLighter: '#d3e5ff',
668
+ successDark: '#0761d1',
669
+ warning: '#f5a623',
670
+ warningLight: '#f7b955',
671
+ warningLighter: '#ffefcf',
672
+ warningDark: '#ab570a',
673
+ cyan: '#50e3c2',
674
+ cyanLighter: '#aaffec',
675
+ cyanLight: '#79ffe1',
676
+ cyanDark: '#29bc9b',
677
+ violet: '#7928ca',
678
+ violetLighter: '#e3d7fc',
679
+ violetLight: '#8a63d2',
680
+ violetDark: '#4c2889',
681
+ purple: '#f81ce5',
682
+ alert: '#ff0080',
683
+ magenta: '#eb367f',
684
+ link: '#0070f3'
685
+ };
686
+ var expressiveness$1 = {
687
+ linkStyle: 'none',
688
+ linkHoverStyle: 'none',
689
+ dropdownBoxShadow: '0 4px 4px 0 rgba(0, 0, 0, 0.02)',
690
+ scrollerStart: 'rgba(255, 255, 255, 1)',
691
+ scrollerEnd: 'rgba(255, 255, 255, 0)',
692
+ shadowSmall: '0 5px 10px rgba(0, 0, 0, 0.12)',
693
+ shadowMedium: '0 8px 30px rgba(0, 0, 0, 0.12)',
694
+ shadowLarge: '0 30px 60px rgba(0, 0, 0, 0.12)',
695
+ portalOpacity: 0.25
696
+ };
697
+ var font$1 = defaultFont;
698
+ var breakpoints$1 = defaultBreakpoints;
699
+ var layout$1 = defaultLayout;
700
+ var themes$1 = {
701
+ type: 'light',
702
+ font: font$1,
703
+ layout: layout$1,
704
+ palette: palette$1,
705
+ breakpoints: breakpoints$1,
706
+ expressiveness: expressiveness$1
707
+ };
708
+
709
+ var palette = {
710
+ accents_1: '#111',
711
+ accents_2: '#333',
712
+ accents_3: '#444',
713
+ accents_4: '#666',
714
+ accents_5: '#888',
715
+ accents_6: '#999',
716
+ accents_7: '#eaeaea',
717
+ accents_8: '#fafafa',
718
+ background: '#000',
719
+ foreground: '#fff',
720
+ selection: '#f81ce5',
721
+ secondary: '#888',
722
+ code: '#79ffe1',
723
+ border: '#333',
724
+ error: '#e00',
725
+ errorLighter: '#f7d4d6',
726
+ errorLight: '#ff1a1a',
727
+ errorDark: '#c50000',
728
+ success: '#0070f3',
729
+ successLighter: '#d3e5ff',
730
+ successLight: '#3291ff',
731
+ successDark: '#0761d1',
732
+ warning: '#f5a623',
733
+ warningLighter: '#ffefcf',
734
+ warningLight: '#f7b955',
735
+ warningDark: '#ab570a',
736
+ cyan: '#50e3c2',
737
+ cyanLighter: '#aaffec',
738
+ cyanLight: '#79ffe1',
739
+ cyanDark: '#29bc9b',
740
+ violet: '#7928ca',
741
+ violetLighter: '#e3d7fc',
742
+ violetLight: '#8a63d2',
743
+ violetDark: '#4c2889',
744
+ purple: '#f81ce5',
745
+ alert: '#ff0080',
746
+ magenta: '#eb367f',
747
+ link: '#3291ff'
748
+ };
749
+ var expressiveness = {
750
+ linkStyle: 'none',
751
+ linkHoverStyle: 'none',
752
+ dropdownBoxShadow: '0 0 0 1px #333',
753
+ scrollerStart: 'rgba(255, 255, 255, 1)',
754
+ scrollerEnd: 'rgba(255, 255, 255, 0)',
755
+ shadowSmall: '0 0 0 1px #333',
756
+ shadowMedium: '0 0 0 1px #333',
757
+ shadowLarge: '0 0 0 1px #333',
758
+ portalOpacity: 0.75
759
+ };
760
+ var font = defaultFont;
761
+ var breakpoints = defaultBreakpoints;
762
+ var layout = defaultLayout;
763
+ var themes = {
764
+ type: 'dark',
765
+ font: font,
766
+ layout: layout,
767
+ palette: palette,
768
+ breakpoints: breakpoints,
769
+ expressiveness: expressiveness
770
+ };
771
+
772
+ var isObject = function isObject(target) {
773
+ return target && _typeof(target) === 'object';
774
+ };
775
+ var _deepDuplicable = function deepDuplicable(source, target) {
776
+ if (!isObject(target) || !isObject(source)) return source;
777
+ var sourceKeys = Object.keys(source);
778
+ var result = {};
779
+ for (var _i = 0, _sourceKeys = sourceKeys; _i < _sourceKeys.length; _i++) {
780
+ var key = _sourceKeys[_i];
781
+ var sourceValue = source[key];
782
+ var targetValue = target[key];
783
+ if (Array.isArray(sourceValue) && Array.isArray(targetValue)) {
784
+ result[key] = targetValue.concat(sourceValue);
785
+ } else if (isObject(sourceValue) && isObject(targetValue)) {
786
+ result[key] = _deepDuplicable(sourceValue, _objectSpread2({}, targetValue));
787
+ } else if (targetValue) {
788
+ result[key] = targetValue;
789
+ } else {
790
+ result[key] = sourceValue;
791
+ }
792
+ }
793
+ return result;
794
+ };
795
+ var getPresets = function getPresets() {
796
+ return [themes$1, themes];
797
+ };
798
+ var getPresetStaticTheme = function getPresetStaticTheme() {
799
+ return themes$1;
800
+ };
801
+ var isAvailableThemeType = function isAvailableThemeType(type) {
802
+ if (!type) return false;
803
+ var presetThemes = getPresets();
804
+ var hasType = presetThemes.find(function (theme) {
805
+ return theme.type === type;
806
+ });
807
+ return !hasType;
808
+ };
809
+ var isPresetTheme = function isPresetTheme(themeOrType) {
810
+ if (!themeOrType) return false;
811
+ var isType = typeof themeOrType === 'string';
812
+ var type = isType ? themeOrType : themeOrType.type;
813
+ return !isAvailableThemeType(type);
814
+ };
815
+ var hasUserCustomTheme = function hasUserCustomTheme() {
816
+ var themes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
817
+ return !!themes.find(function (item) {
818
+ return isAvailableThemeType(item.type);
819
+ });
820
+ };
821
+ var create = function create(base, custom) {
822
+ if (!isAvailableThemeType(custom.type)) {
823
+ throw new Error('Duplicate or unavailable theme type');
824
+ }
825
+ return _deepDuplicable(base, custom);
826
+ };
827
+ var createFromDark = function createFromDark(custom) {
828
+ return create(themes, custom);
829
+ };
830
+ var createFromLight = function createFromLight(custom) {
831
+ return create(themes$1, custom);
832
+ };
833
+ var Themes = {
834
+ isPresetTheme: isPresetTheme,
835
+ isAvailableThemeType: isAvailableThemeType,
836
+ hasUserCustomTheme: hasUserCustomTheme,
837
+ getPresets: getPresets,
838
+ getPresetStaticTheme: getPresetStaticTheme,
839
+ create: create,
840
+ createFromDark: createFromDark,
841
+ createFromLight: createFromLight
842
+ };
843
+
844
+ /* "use client" */
845
+
846
+ var defaultTheme = Themes.getPresetStaticTheme();
847
+ var ThemeContext = /*#__PURE__*/React.createContext(defaultTheme);
848
+ var useTheme = function useTheme() {
849
+ return React.useContext(ThemeContext);
850
+ };
851
+
852
+ // import flush from 'styled-jsx'
853
+
854
+ // export type FlushToReact = <T>(opts?: { nonce?: string }) => Array<ReactElement<T>>
855
+
856
+ // export type FlushToHTML = (opts?: { nonce?: string }) => string
857
+
858
+ var CssBaseline = function CssBaseline(_ref) {
859
+ var children = _ref.children;
860
+ var theme = useTheme();
861
+ return /*#__PURE__*/React.createElement(React.Fragment, null, children, /*#__PURE__*/React.createElement(_JSXStyle, {
862
+ id: "3647548829",
863
+ dynamic: [theme.palette.background, theme.palette.foreground, theme.palette.background, theme.font.sans, theme.font.sans, theme.palette.link, theme.expressiveness.linkStyle, theme.expressiveness.linkHoverStyle, theme.layout.gapHalf, theme.layout.gapHalf, theme.layout.gapHalf, theme.layout.gap, theme.palette.foreground, theme.palette.code, theme.font.mono, theme.layout.gap, theme.layout.gap, theme.layout.gap, theme.palette.accents_2, theme.layout.radius, theme.font.mono, theme.palette.foreground, theme.palette.accents_2, theme.palette.accents_1, theme.layout.gap, theme.layout.gap, theme.palette.accents_5, theme.palette.accents_1, theme.layout.radius, theme.palette.border, theme.palette.selection, theme.palette.foreground]
864
+ }, "html,body{background-color:".concat(theme.palette.background, ";color:").concat(theme.palette.foreground, ";}html{font-size:16px;--helpdice-icons-background:").concat(theme.palette.background, ";}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-size:1rem;line-height:1.5;margin:0;padding:0;min-height:100%;position:relative;overflow-x:hidden;font-family:").concat(theme.font.sans, ";}#__next{overflow-x:hidden;}*,*:before,*:after{box-sizing:inherit;text-rendering:geometricPrecision;-webkit-tap-highlight-color:transparent;}p,small{font-weight:400;color:inherit;-webkit-letter-spacing:-0.005625em;-moz-letter-spacing:-0.005625em;-ms-letter-spacing:-0.005625em;letter-spacing:-0.005625em;font-family:").concat(theme.font.sans, ";}p{margin:1em 0;font-size:1em;line-height:1.625em;}small{margin:0;line-height:1.5;font-size:0.875em;}b{font-weight:600;}span{font-size:inherit;color:inherit;font-weight:inherit;}img{max-width:100%;}a{cursor:pointer;font-size:inherit;-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-box-align:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:").concat(theme.palette.link, ";-webkit-text-decoration:").concat(theme.expressiveness.linkStyle, ";text-decoration:").concat(theme.expressiveness.linkStyle, ";}a:hover{-webkit-text-decoration:").concat(theme.expressiveness.linkHoverStyle, ";text-decoration:").concat(theme.expressiveness.linkHoverStyle, ";}ul,ol{padding:0;list-style-type:none;margin:").concat(theme.layout.gapHalf, " ").concat(theme.layout.gapHalf, " ").concat(theme.layout.gapHalf, " ").concat(theme.layout.gap, ";color:").concat(theme.palette.foreground, ";}ol{list-style-type:decimal;}li{margin-bottom:0.625em;font-size:1em;line-height:1.625em;}h1,h2,h3,h4,h5,h6{color:inherit;margin:0 0 0.7rem 0;}h1{font-size:3rem;-webkit-letter-spacing:-0.02em;-moz-letter-spacing:-0.02em;-ms-letter-spacing:-0.02em;letter-spacing:-0.02em;line-height:1.5;font-weight:700;}h2{font-size:2.25rem;-webkit-letter-spacing:-0.02em;-moz-letter-spacing:-0.02em;-ms-letter-spacing:-0.02em;letter-spacing:-0.02em;font-weight:600;}h3{font-size:1.5rem;-webkit-letter-spacing:-0.02em;-moz-letter-spacing:-0.02em;-ms-letter-spacing:-0.02em;letter-spacing:-0.02em;font-weight:600;}h4{font-size:1.25rem;-webkit-letter-spacing:-0.02em;-moz-letter-spacing:-0.02em;-ms-letter-spacing:-0.02em;letter-spacing:-0.02em;font-weight:600;}h5{font-size:1rem;-webkit-letter-spacing:-0.01em;-moz-letter-spacing:-0.01em;-ms-letter-spacing:-0.01em;letter-spacing:-0.01em;font-weight:600;}h6{font-size:0.875rem;-webkit-letter-spacing:-0.005em;-moz-letter-spacing:-0.005em;-ms-letter-spacing:-0.005em;letter-spacing:-0.005em;font-weight:600;}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;margin:0;}button:focus,input:focus,select:focus,textarea:focus{outline:none;}code{color:").concat(theme.palette.code, ";font-family:").concat(theme.font.mono, ";font-size:0.9em;white-space:pre-wrap;}code:before,code:after{content:'\\`';}pre{padding:calc(").concat(theme.layout.gap, " * 0.9) ").concat(theme.layout.gap, ";margin:").concat(theme.layout.gap, " 0;border:1px solid ").concat(theme.palette.accents_2, ";border-radius:").concat(theme.layout.radius, ";font-family:").concat(theme.font.mono, ";white-space:pre;overflow:auto;line-height:1.5;text-align:left;font-size:14px;-webkit-overflow-scrolling:touch;}pre code{color:").concat(theme.palette.foreground, ";font-size:1em;line-height:1.25em;white-space:pre;}pre code:before,pre code:after{display:none;}pre p{margin:0;}pre::-webkit-scrollbar{display:none;width:0;height:0;background:transparent;}hr{border-color:").concat(theme.palette.accents_2, ";}details{background-color:").concat(theme.palette.accents_1, ";border:none;}details:focus,details:hover,details:active{outline:none;}summary{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;list-style:none;outline:none;}summary::marker,summary::before,summary::-webkit-details-marker{display:none;}summary::-moz-list-bullet{font-size:0;}summary:focus,summary:hover,summary:active{outline:none;list-style:none;}blockquote{padding:calc(0.667 * ").concat(theme.layout.gap, ") ").concat(theme.layout.gap, ";color:").concat(theme.palette.accents_5, ";background-color:").concat(theme.palette.accents_1, ";border-radius:").concat(theme.layout.radius, ";margin:1.5em 0;border:1px solid ").concat(theme.palette.border, ";}blockquote *:first-child{margin-top:0;}blockquote *:last-child{margin-bottom:0;}::selection{background-color:").concat(theme.palette.selection, ";color:").concat(theme.palette.foreground, ";}")));
865
+ };
866
+ var MemoCssBaseline = /*#__PURE__*/React.memo(CssBaseline);
867
+
868
+ exports.default = MemoCssBaseline;