@revolist/ui 4.0.1-rc → 4.0.2-rc

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 (218) hide show
  1. package/README.md +6 -5
  2. package/_chunks/calendar-CpaUK7w1.js +248 -0
  3. package/_chunks/chart-frame-BC99KjGa.js +127 -0
  4. package/_chunks/choice-chips-Cs4D-3nH.js +110 -0
  5. package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-BBMFmUNA.js} +41 -41
  6. package/_chunks/color-picker-D90Jg-M8.js +138 -0
  7. package/_chunks/compat.module-DDB2pm9O.js +229 -0
  8. package/_chunks/component-YDcfoOLz.js +859 -0
  9. package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-ztgmsG7H.js} +29 -29
  10. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  11. package/_chunks/{controls-NEL5tDaz.js → controls-DIum-E66.js} +192 -192
  12. package/_chunks/{date-control-CYCkb1aQ.js → date-control-BJSzu79z.js} +21 -21
  13. package/_chunks/date-time-BxPJusp9.js +770 -0
  14. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-Bblyah10.js} +1 -1
  15. package/_chunks/dialog.parts-DBqo3Qwb.js +134 -0
  16. package/_chunks/{dropdown-CkGQBm1Q.js → dropdown-voWqmwAe.js} +102 -102
  17. package/_chunks/duration-87U2EoMS.js +271 -0
  18. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  19. package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-D3JdS8l3.js} +8 -8
  20. package/_chunks/framework-mount-C-Zwm44H.js +54 -0
  21. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  22. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  23. package/_chunks/mount-DZe_6VtR.js +90 -0
  24. package/_chunks/native.view-ByyZ1CT5.js +32 -0
  25. package/_chunks/{number-input-NnH57J4j.js → number-input-BeIadZuL.js} +89 -89
  26. package/_chunks/picker-DpP7iQLA.js +122 -0
  27. package/_chunks/preact.module-BBM36DnO.js +290 -0
  28. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-Ca8ZBty3.js} +10 -10
  29. package/_chunks/reorder-list-Cc3KmfAN.js +59 -0
  30. package/_chunks/request-trail-IdNiFvKH.js +347 -0
  31. package/_chunks/{rich-text-2Rla349o.js → rich-text-BzI1DyfF.js} +167 -167
  32. package/_vendor/preact/LICENSE +21 -0
  33. package/_vendor/preact/compat/src/index.d.ts +353 -0
  34. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  35. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  36. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  37. package/_vendor/preact/src/dom.d.ts +2548 -0
  38. package/_vendor/preact/src/index.d.ts +373 -0
  39. package/_vendor/preact/src/jsx.d.ts +2958 -0
  40. package/activity-message.d.ts +1 -1
  41. package/activity-message.js +16 -16
  42. package/ai/components.d.ts +1 -1
  43. package/ai/index.js +2 -2
  44. package/ai/request-trail.d.ts +1 -1
  45. package/ai/translation-context.d.ts +1 -1
  46. package/alert.d.ts +2 -2
  47. package/assignee/field.d.ts +2 -2
  48. package/assignee/index.js +87 -87
  49. package/assignee/layout.d.ts +2 -2
  50. package/assignee/picker.d.ts +1 -1
  51. package/avatar/index.js +25 -25
  52. package/avatar/index.view.d.ts +1 -1
  53. package/brush-range/component.d.ts +1 -1
  54. package/brush-range/component.js +30 -30
  55. package/buttons/delete-button.js +1 -1
  56. package/buttons/remove-button.d.ts +1 -1
  57. package/buttons/remove-button.js +3 -3
  58. package/buttons/svg-button.d.ts +1 -1
  59. package/buttons/svg-button.js +35 -35
  60. package/calendar/calendar.d.ts +1 -1
  61. package/calendar/calendar.js +1 -1
  62. package/calendar/caption.d.ts +1 -1
  63. package/calendar/day.d.ts +1 -1
  64. package/calendar/day.js +4 -4
  65. package/calendar/header.d.ts +1 -1
  66. package/calendar/header.js +35 -35
  67. package/calendar/index.js +2 -2
  68. package/calendar/month-grid.d.ts +1 -1
  69. package/calendar/month-grid.js +37 -37
  70. package/calendar/picker.d.ts +1 -1
  71. package/calendar/types.d.ts +1 -1
  72. package/calendar/year-grid.d.ts +1 -1
  73. package/calendar/year-grid.js +12 -12
  74. package/checkbox/index.d.ts +2 -2
  75. package/checkbox/index.js +9 -9
  76. package/choice-chips/index.d.ts +1 -1
  77. package/choice-chips/index.js +1 -1
  78. package/color-palette/color-palette.d.ts +1 -1
  79. package/color-palette/color-palette.js +1 -1
  80. package/color-palette/color-picker.d.ts +1 -1
  81. package/color-palette/color-picker.js +2 -2
  82. package/component-catalog.d.ts +19 -19
  83. package/control-presentation.js +18 -18
  84. package/controls.d.ts +4 -4
  85. package/controls.js +1 -1
  86. package/core/editor-commit.d.ts +1 -1
  87. package/core/editor-popup.d.ts +1 -1
  88. package/core/editor-popup.js +1 -1
  89. package/date-time/date-control.d.ts +1 -1
  90. package/date-time/field.d.ts +2 -2
  91. package/date-time/index.js +1 -1
  92. package/date-time/picker.d.ts +1 -1
  93. package/date-time/time-control.d.ts +1 -1
  94. package/date-time/time-selection.d.ts +1 -1
  95. package/date-time/types.d.ts +1 -1
  96. package/dialog/dialog-action-footer.view.d.ts +1 -1
  97. package/dialog/dialog.dom.js +52 -52
  98. package/dialog/dialog.parts.d.ts +18 -18
  99. package/dialog/dialog.parts.js +1 -1
  100. package/dialog/dialog.preact.d.ts +1 -1
  101. package/dialog/dialog.preact.js +6 -6
  102. package/distribution-chart/area-chart.d.ts +1 -1
  103. package/distribution-chart/area-chart.js +25 -25
  104. package/distribution-chart/bar-chart.d.ts +1 -1
  105. package/distribution-chart/bar-chart.js +6 -6
  106. package/distribution-chart/chart-frame.d.ts +1 -1
  107. package/distribution-chart/index.d.ts +1 -1
  108. package/distribution-chart/index.js +6 -6
  109. package/distribution-chart/line-chart.d.ts +1 -1
  110. package/distribution-chart/line-chart.js +9 -9
  111. package/distribution-chart/types.d.ts +1 -1
  112. package/dropdown/content.d.ts +1 -1
  113. package/dropdown/content.js +83 -82
  114. package/dropdown/dropdown.service.d.ts +1 -1
  115. package/dropdown/dropdown.service.js +9 -9
  116. package/dropdown/index.js +1 -1
  117. package/dropdown/lookup-field.d.ts +1 -1
  118. package/dropdown/lookup-field.js +41 -41
  119. package/dropdown/popup.d.ts +1 -1
  120. package/dropdown/popup.js +17 -16
  121. package/duration/controls.d.ts +1 -1
  122. package/duration/index.d.ts +2 -2
  123. package/duration/index.js +1 -1
  124. package/editor-actions.d.ts +1 -1
  125. package/editor-actions.js +21 -20
  126. package/editor-layout/index.d.ts +1 -1
  127. package/editor-layout/index.js +27 -27
  128. package/field-configurator.d.ts +1 -1
  129. package/field-configurator.js +93 -93
  130. package/field-reorder.hook.js +32 -32
  131. package/filter/filters/slider/preact.js +3 -3
  132. package/filter/filters/slider/single.d.ts +1 -1
  133. package/filter/filters/slider/single.js +23 -23
  134. package/filter-badge.d.ts +1 -1
  135. package/filter-badge.js +23 -22
  136. package/filter-controls.d.ts +1 -1
  137. package/filter-controls.js +31 -31
  138. package/form-controls/index.js +20 -20
  139. package/form-controls/presentation.d.ts +1 -1
  140. package/form-controls/presentation.js +44 -44
  141. package/formatting/comparison-preview.d.ts +1 -1
  142. package/formatting/control-tooltip.d.ts +1 -1
  143. package/formatting/icon-controls.d.ts +1 -1
  144. package/formatting/index.js +99 -98
  145. package/formatting/inspector-section.d.ts +1 -1
  146. package/formatting/typography-controls.d.ts +1 -1
  147. package/framework-mount.d.ts +1 -1
  148. package/framework.js +19 -19
  149. package/icons/icon.d.ts +1 -1
  150. package/icons/icon.js +1 -1
  151. package/legend.d.ts +1 -1
  152. package/legend.js +12 -12
  153. package/masked-input/index.d.ts +1 -1
  154. package/masked-input/index.js +109 -109
  155. package/native-control.d.ts +11 -11
  156. package/native-control.js +12 -12
  157. package/native.js +39 -39
  158. package/number-input/index.d.ts +1 -1
  159. package/number-input/index.js +1 -1
  160. package/package.json +1 -2
  161. package/pdf-viewer/component.d.ts +1 -1
  162. package/pdf-viewer/controller.js +1 -1
  163. package/pdf-viewer/header.d.ts +1 -1
  164. package/pdf-viewer/index.js +13 -13
  165. package/pdf-viewer/search-bar.d.ts +1 -1
  166. package/pdf-viewer/status.d.ts +1 -1
  167. package/pdf-viewer/toolbar.d.ts +1 -1
  168. package/pickers.d.ts +1 -1
  169. package/preact-mount.d.ts +1 -1
  170. package/preact-mount.js +1 -1
  171. package/preact.js +14 -14
  172. package/rating-choice.d.ts +1 -1
  173. package/rating-choice.js +1 -1
  174. package/react-adapter.d.ts +1 -1
  175. package/react.js +19 -19
  176. package/reorder-list.d.ts +1 -1
  177. package/reorder-list.js +1 -1
  178. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  179. package/resource-picker/resource-picker-avatar.js +14 -14
  180. package/resource-picker/resource-picker-option.d.ts +1 -1
  181. package/resource-picker/resource-picker-option.js +28 -28
  182. package/resource-picker/resource-picker-popup.d.ts +1 -1
  183. package/resource-picker/resource-picker-popup.js +3 -3
  184. package/resource-picker/resource-picker.d.ts +1 -1
  185. package/resource-picker/resource-picker.js +88 -88
  186. package/rich-text/index.d.ts +1 -1
  187. package/rich-text/index.js +1 -1
  188. package/rich-text/toolbar.d.ts +1 -1
  189. package/search-input/index.js +12 -12
  190. package/segmented-switch/index.d.ts +1 -1
  191. package/segmented-switch/index.js +1 -1
  192. package/status-feedback/render.d.ts +2 -2
  193. package/status-feedback/render.js +13 -13
  194. package/surfaces.js +34 -34
  195. package/svelte.js +2 -2
  196. package/switch/index.js +15 -15
  197. package/time-grid.d.ts +1 -1
  198. package/time-grid.js +58 -58
  199. package/timeline-track/component.d.ts +1 -1
  200. package/timeline-track/index.js +75 -75
  201. package/vue-adapter.d.ts +1 -1
  202. package/vue.d.ts +116 -116
  203. package/vue.js +121 -121
  204. package/_chunks/calendar-BsDxCYhI.js +0 -248
  205. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  206. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  207. package/_chunks/color-picker-BRv-__AM.js +0 -138
  208. package/_chunks/component-D4PH5UZT.js +0 -859
  209. package/_chunks/date-time-DjucJmbc.js +0 -769
  210. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  211. package/_chunks/duration-BCaktcvz.js +0 -270
  212. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  213. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  214. package/_chunks/mount-0-8opf1j.js +0 -90
  215. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  216. package/_chunks/picker-oazJ7sO_.js +0 -121
  217. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  218. package/_chunks/request-trail-D0oVzdRd.js +0 -347
@@ -0,0 +1,138 @@
1
+ import { c as e, i as t, t as n } from "./hooks.module-CG3gN83z.js";
2
+ import { t as r } from "./jsxRuntime.module-F6UFnpT-.js";
3
+ import { ButtonControl as i, Input as a } from "../native-control.js";
4
+ import { createControlId as o } from "../core/control-id.js";
5
+ import { t as s } from "./chevron-down-GbplLa6s.js";
6
+ import { n as c, t as l } from "./color-palette-BBMFmUNA.js";
7
+ import { COLOR_PICKER_DEFAULT_COLOR as u } from "../color-palette/color-picker.constants.js";
8
+ //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/ban.svg?raw
9
+ var d = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M367.2 412.5L99.5 144.8c-22.4 31.4-35.5 69.8-35.5 111.2 0 106 86 192 192 192 41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3c22.4-31.4 35.5-69.8 35.5-111.2 0-106-86-192-192-192-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z\"/></svg>", f = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M512 256c0 .9 0 1.8 0 2.7-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48 0 3.4 .4 6.7 1 9.9 2.1 10.2 6.5 20 10.8 29.9 6.1 13.8 12.1 27.5 12.1 42 0 31.8-21.6 60.7-53.4 62-3.5 .1-7 .2-10.6 .2-141.4 0-256-114.6-256-256S114.6 0 256 0 512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z\"/></svg>";
10
+ //#endregion
11
+ //#region src/color-palette/color-picker.tsx
12
+ function p({ icon: e, className: t = "rv-format-icon rv-format-color-picker__icon" }) {
13
+ return /* @__PURE__ */ r("span", {
14
+ class: t,
15
+ "aria-hidden": "true",
16
+ dangerouslySetInnerHTML: { __html: e }
17
+ });
18
+ }
19
+ function m({ label: m, value: h, defaultLabel: g, customLabel: _, customHexLabel: v, invalidColor: y, colorLabels: b, optional: x = !0, allowHexInput: S = !0, disabled: C = !1, onChange: w }) {
20
+ let [T] = t(o), E = `rv-format-color-popover-${T}`, D = `rv-format-color-custom-${T}`, O = `rv-format-color-error-${T}`, k = `--rv-format-color-anchor-${T}`, A = n(null), [j, M] = t(!1), [N, P] = t(!1), [F, I] = t(h ?? u), [L, R] = t(!1);
21
+ e(() => {
22
+ I(h ?? u), R(!1);
23
+ }, [h]);
24
+ let z = (e) => {
25
+ let t = c(e);
26
+ t ? (R(!1), I(t), C || w(t)) : R(!0);
27
+ }, B = () => A.current?.hidePopover?.();
28
+ return e(() => {
29
+ C && (B(), M(!1));
30
+ }, [C]), /* @__PURE__ */ r("div", {
31
+ class: "rv-format-color-picker",
32
+ onKeyDownCapture: (e) => {
33
+ e.key === "Escape" && A.current?.matches(":popover-open") && (e.preventDefault(), e.stopPropagation(), B());
34
+ },
35
+ children: [/* @__PURE__ */ r(i, {
36
+ unstyled: !0,
37
+ type: "button",
38
+ class: "rv-format-color-picker__trigger",
39
+ "aria-label": `${m}: ${h?.toUpperCase() ?? g}`,
40
+ "aria-haspopup": "dialog",
41
+ "aria-expanded": j,
42
+ "aria-controls": E,
43
+ title: m,
44
+ disabled: C,
45
+ popovertarget: E,
46
+ style: `anchor-name: ${k}`,
47
+ children: [
48
+ /* @__PURE__ */ r("span", {
49
+ class: `rv-format-color-picker__trigger-swatch${h ? "" : " rv-format-color-picker__trigger-swatch--empty"}`,
50
+ style: h ? { backgroundColor: h } : void 0,
51
+ children: h ? null : /* @__PURE__ */ r(p, {
52
+ icon: d,
53
+ className: "rv-format-color-picker__empty-icon"
54
+ })
55
+ }),
56
+ /* @__PURE__ */ r("span", {
57
+ class: "rv-format-color-picker__trigger-value",
58
+ children: h?.toUpperCase() ?? g
59
+ }),
60
+ /* @__PURE__ */ r(p, { icon: s })
61
+ ]
62
+ }), /* @__PURE__ */ r("div", {
63
+ id: E,
64
+ ref: A,
65
+ class: "rv-format-color-picker__popover",
66
+ role: "dialog",
67
+ "aria-label": m,
68
+ popover: "auto",
69
+ style: `position-anchor: ${k}`,
70
+ onToggle: (e) => M(e.currentTarget.matches(":popover-open")),
71
+ children: [
72
+ /* @__PURE__ */ r(l, {
73
+ value: c(h) ?? h ?? null,
74
+ ariaLabel: m,
75
+ defaultLabel: g,
76
+ colorAriaLabel: (e) => b[e.value] ?? e.label,
77
+ includeDefault: x,
78
+ disabled: C,
79
+ onChange: (e) => {
80
+ C || (w(e ?? void 0), B());
81
+ }
82
+ }),
83
+ /* @__PURE__ */ r("div", {
84
+ id: D,
85
+ class: "rv-format-color-picker__custom-controls",
86
+ "data-selection-only": !S || void 0,
87
+ hidden: !N,
88
+ children: [
89
+ /* @__PURE__ */ r(a, {
90
+ type: "color",
91
+ disabled: C,
92
+ class: "rv-format-color-picker__native",
93
+ "aria-label": _,
94
+ title: _,
95
+ value: c(F) ?? u,
96
+ onInput: (e) => z(e.currentTarget.value)
97
+ }),
98
+ S ? /* @__PURE__ */ r(a, {
99
+ type: "text",
100
+ disabled: C,
101
+ class: "rv-control rv-format-color-picker__hex",
102
+ inputMode: "text",
103
+ maxLength: 7,
104
+ "aria-label": v,
105
+ "aria-invalid": L,
106
+ "aria-describedby": L ? O : void 0,
107
+ title: v,
108
+ value: F.toUpperCase(),
109
+ onInput: (e) => {
110
+ I(e.currentTarget.value), L && R(!1);
111
+ },
112
+ onChange: (e) => z(e.currentTarget.value)
113
+ }) : null,
114
+ S && L ? /* @__PURE__ */ r("span", {
115
+ id: O,
116
+ class: "rv-format-color-picker__error",
117
+ role: "alert",
118
+ children: y
119
+ }) : null
120
+ ]
121
+ }),
122
+ /* @__PURE__ */ r(i, {
123
+ unstyled: !0,
124
+ type: "button",
125
+ class: "rv-format-color-picker__custom-action",
126
+ disabled: C,
127
+ "aria-expanded": N,
128
+ "aria-controls": D,
129
+ title: _,
130
+ onClick: () => P((e) => !e),
131
+ children: [/* @__PURE__ */ r(p, { icon: f }), _]
132
+ })
133
+ ]
134
+ })]
135
+ });
136
+ }
137
+ //#endregion
138
+ export { m as t };
@@ -0,0 +1,229 @@
1
+ import { c as e, i as t, l as n, n as r, r as i, t as a } from "./preact.module-BBM36DnO.js";
2
+ import "./hooks.module-CG3gN83z.js";
3
+ //#region ../../node_modules/.pnpm/preact@10.29.1/node_modules/preact/compat/dist/compat.module.js
4
+ function o(e, t) {
5
+ for (var n in t) e[n] = t[n];
6
+ return e;
7
+ }
8
+ function s(e, t) {
9
+ for (var n in e) if (n !== "__source" && !(n in t)) return !0;
10
+ for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
11
+ return !1;
12
+ }
13
+ function c(e, t) {
14
+ this.props = e, this.context = t;
15
+ }
16
+ (c.prototype = new a()).isPureReactComponent = !0, c.prototype.shouldComponentUpdate = function(e, t) {
17
+ return s(this.props, e) || s(this.state, t);
18
+ };
19
+ var l = n.__b;
20
+ n.__b = function(e) {
21
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), l && l(e);
22
+ };
23
+ var u = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
24
+ function d(e) {
25
+ function t(t) {
26
+ var n = o({}, t);
27
+ return delete n.ref, e(n, t.ref || null);
28
+ }
29
+ return t.$$typeof = u, t.render = e, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
30
+ }
31
+ var f = n.__e;
32
+ n.__e = function(e, t, n, r) {
33
+ if (e.then) {
34
+ for (var i, a = t; a = a.__;) if ((i = a.__c) && i.__c) return t.__e ?? (t.__e = n.__e, t.__k = n.__k), i.__c(e, t);
35
+ }
36
+ f(e, t, n, r);
37
+ };
38
+ var p = n.unmount;
39
+ function m(e, t, n) {
40
+ return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(e) {
41
+ typeof e.__c == "function" && e.__c();
42
+ }), e.__c.__H = null), (e = o({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(e) {
43
+ return m(e, t, n);
44
+ })), e;
45
+ }
46
+ function h(e, t, n) {
47
+ return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(e) {
48
+ return h(e, t, n);
49
+ }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
50
+ }
51
+ function g() {
52
+ this.__u = 0, this.o = null, this.__b = null;
53
+ }
54
+ function _(e) {
55
+ var t = e.__ && e.__.__c;
56
+ return t && t.__a && t.__a(e);
57
+ }
58
+ function v() {
59
+ this.i = null, this.l = null;
60
+ }
61
+ n.unmount = function(e) {
62
+ var t = e.__c;
63
+ t && (t.__z = !0), t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), p && p(e);
64
+ }, (g.prototype = new a()).__c = function(e, t) {
65
+ var n = t.__c, r = this;
66
+ r.o ??= [], r.o.push(n);
67
+ var i = _(r.__v), a = !1, o = function() {
68
+ a || r.__z || (a = !0, n.__R = null, i ? i(c) : c());
69
+ };
70
+ n.__R = o;
71
+ var s = n.__P;
72
+ n.__P = null;
73
+ var c = function() {
74
+ if (!--r.__u) {
75
+ if (r.state.__a) {
76
+ var e = r.state.__a;
77
+ r.__v.__k[0] = h(e, e.__c.__P, e.__c.__O);
78
+ }
79
+ var t;
80
+ for (r.setState({ __a: r.__b = null }); t = r.o.pop();) t.__P = s, t.forceUpdate();
81
+ }
82
+ };
83
+ r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(o, o);
84
+ }, g.prototype.componentWillUnmount = function() {
85
+ this.o = [];
86
+ }, g.prototype.render = function(n, r) {
87
+ if (this.__b) {
88
+ if (this.__v.__k) {
89
+ var i = document.createElement("div"), a = this.__v.__k[0].__c;
90
+ this.__v.__k[0] = m(this.__b, i, a.__O = a.__P);
91
+ }
92
+ this.__b = null;
93
+ }
94
+ var o = r.__a && e(t, null, n.fallback);
95
+ return o && (o.__u &= -33), [e(t, null, r.__a ? null : n.children), o];
96
+ };
97
+ var y = function(e, t, n) {
98
+ if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n;) {
99
+ for (; n.length > 3;) n.pop()();
100
+ if (n[1] < n[0]) break;
101
+ e.i = n = n[2];
102
+ }
103
+ };
104
+ function b(e) {
105
+ return this.getChildContext = function() {
106
+ return e.context;
107
+ }, e.children;
108
+ }
109
+ function x(t) {
110
+ var n = this, r = t.h;
111
+ if (n.componentWillUnmount = function() {
112
+ i(null, n.v), n.v = null, n.h = null;
113
+ }, n.h && n.h !== r && n.componentWillUnmount(), !n.v) {
114
+ for (var a = n.__v; a !== null && !a.__m && a.__ !== null;) a = a.__;
115
+ n.h = r, n.v = {
116
+ nodeType: 1,
117
+ parentNode: r,
118
+ childNodes: [],
119
+ __k: { __m: a.__m },
120
+ contains: function() {
121
+ return !0;
122
+ },
123
+ namespaceURI: r.namespaceURI,
124
+ insertBefore: function(e, t) {
125
+ this.childNodes.push(e), n.h.insertBefore(e, t);
126
+ },
127
+ removeChild: function(e) {
128
+ this.childNodes.splice(this.childNodes.indexOf(e) >>> 1, 1), n.h.removeChild(e);
129
+ }
130
+ };
131
+ }
132
+ i(e(b, { context: n.context }, t.__v), n.v);
133
+ }
134
+ function S(t, n) {
135
+ var r = e(x, {
136
+ __v: t,
137
+ h: n
138
+ });
139
+ return r.containerInfo = n, r;
140
+ }
141
+ (v.prototype = new a()).__a = function(e) {
142
+ var t = this, n = _(t.__v), r = t.l.get(e);
143
+ return r[0]++, function(i) {
144
+ var a = function() {
145
+ t.props.revealOrder ? (r.push(i), y(t, e, r)) : i();
146
+ };
147
+ n ? n(a) : a();
148
+ };
149
+ }, v.prototype.render = function(e) {
150
+ this.i = null, this.l = /* @__PURE__ */ new Map();
151
+ var t = r(e.children);
152
+ e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
153
+ for (var n = t.length; n--;) this.l.set(t[n], this.i = [
154
+ 1,
155
+ 0,
156
+ this.i
157
+ ]);
158
+ return e.children;
159
+ }, v.prototype.componentDidUpdate = v.prototype.componentDidMount = function() {
160
+ var e = this;
161
+ this.l.forEach(function(t, n) {
162
+ y(e, n, t);
163
+ });
164
+ };
165
+ var C = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, w = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, T = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, E = /[A-Z0-9]/g, D = typeof document < "u", O = function(e) {
166
+ return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
167
+ };
168
+ a.prototype.isReactComponent = !0, [
169
+ "componentWillMount",
170
+ "componentWillReceiveProps",
171
+ "componentWillUpdate"
172
+ ].forEach(function(e) {
173
+ Object.defineProperty(a.prototype, e, {
174
+ configurable: !0,
175
+ get: function() {
176
+ return this["UNSAFE_" + e];
177
+ },
178
+ set: function(t) {
179
+ Object.defineProperty(this, e, {
180
+ configurable: !0,
181
+ writable: !0,
182
+ value: t
183
+ });
184
+ }
185
+ });
186
+ });
187
+ var k = n.event;
188
+ n.event = function(e) {
189
+ return k && (e = k(e)), e.persist = function() {}, e.isPropagationStopped = function() {
190
+ return this.cancelBubble;
191
+ }, e.isDefaultPrevented = function() {
192
+ return this.defaultPrevented;
193
+ }, e.nativeEvent = e;
194
+ };
195
+ var A = {
196
+ configurable: !0,
197
+ get: function() {
198
+ return this.class;
199
+ }
200
+ }, j = n.vnode;
201
+ n.vnode = function(e) {
202
+ typeof e.type == "string" && function(e) {
203
+ var t = e.props, n = e.type, i = {}, a = n.indexOf("-") == -1;
204
+ for (var o in t) {
205
+ var s = t[o];
206
+ if (!(o === "value" && "defaultValue" in t && s == null || D && o === "children" && n === "noscript" || o === "class" || o === "className")) {
207
+ var c = o.toLowerCase();
208
+ o === "defaultValue" && "value" in t && t.value == null ? o = "value" : o === "download" && !0 === s ? s = "" : c === "translate" && s === "no" ? s = !1 : c[0] === "o" && c[1] === "n" ? c === "ondoubleclick" ? o = "ondblclick" : c !== "onchange" || n !== "input" && n !== "textarea" || O(t.type) ? c === "onfocus" ? o = "onfocusin" : c === "onblur" ? o = "onfocusout" : T.test(o) && (o = c) : c = o = "oninput" : a && w.test(o) ? o = o.replace(E, "-$&").toLowerCase() : s === null && (s = void 0), c === "oninput" && i[o = c] && (o = "oninputCapture"), i[o] = s;
209
+ }
210
+ }
211
+ n == "select" && (i.multiple && Array.isArray(i.value) && (i.value = r(t.children).forEach(function(e) {
212
+ e.props.selected = i.value.indexOf(e.props.value) != -1;
213
+ })), i.defaultValue != null && (i.value = r(t.children).forEach(function(e) {
214
+ e.props.selected = i.multiple ? i.defaultValue.indexOf(e.props.value) != -1 : i.defaultValue == e.props.value;
215
+ }))), t.class && !t.className ? (i.class = t.class, Object.defineProperty(i, "className", A)) : t.className && (i.class = i.className = t.className), e.props = i;
216
+ }(e), e.$$typeof = C, j && j(e);
217
+ };
218
+ var M = n.__r;
219
+ n.__r = function(e) {
220
+ M && M(e), e.__c;
221
+ };
222
+ var N = n.diffed;
223
+ n.diffed = function(e) {
224
+ N && N(e);
225
+ var t = e.props, n = e.__e;
226
+ n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value);
227
+ };
228
+ //#endregion
229
+ export { d as n, S as t };