aptechka 0.7.10 → 0.8.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 (172) hide show
  1. package/lib/Animation-CwgyQH5y.js +110 -0
  2. package/lib/Animation-DBfrekcV.cjs +1 -0
  3. package/lib/{Composed-Dx2hs-va.cjs → Composed-CIXY_HwN.cjs} +1 -1
  4. package/lib/{Composed-DmLYTh1b.js → Composed-CgnR5oah.js} +1 -1
  5. package/lib/Damped-DmcKRSST.cjs +1 -0
  6. package/lib/Damped-vepIw9Ku.js +57 -0
  7. package/lib/{Derived-DlCvc0xQ.js → Derived-B4CxuebG.js} +1 -1
  8. package/lib/{Derived-a6MDQEPY.cjs → Derived-Xb4EzLLO.cjs} +1 -1
  9. package/lib/{SourceManager-kxr5eUyL.cjs → SourceManager-Ce49-NQe.cjs} +1 -1
  10. package/lib/{SourceManager-Bz329f90.js → SourceManager-U3KHUnNl.js} +1 -1
  11. package/lib/Store-CIs_NjhF.cjs +1 -0
  12. package/lib/Store-Dqcu1DnE.js +152 -0
  13. package/lib/{Tweened-B_mclQ61.cjs → Tweened-5Bj7ht3x.cjs} +1 -1
  14. package/lib/{Tweened-NE8M9onF.js → Tweened-DPi9pZ8Q.js} +1 -1
  15. package/lib/{Viewport-D9IL7kUQ.js → Viewport-4ZTWxLo_.js} +1 -1
  16. package/lib/{Viewport-CJeKnL5V.cjs → Viewport-CIBlSU2t.cjs} +1 -1
  17. package/lib/animation/Animation.d.ts +3 -18
  18. package/lib/animation/Damped.d.ts +2 -18
  19. package/lib/animation/Tweened.d.ts +2 -2
  20. package/lib/animation/index.cjs +1 -1
  21. package/lib/animation/index.d.ts +2 -2
  22. package/lib/animation/index.js +3 -3
  23. package/lib/attribute/index.cjs +1 -1
  24. package/lib/attribute/index.d.ts +3 -3
  25. package/lib/attribute/index.js +1 -1
  26. package/lib/canvas/index.cjs +1 -1
  27. package/lib/canvas/index.d.ts +1 -0
  28. package/lib/canvas/index.js +63 -54
  29. package/lib/checkbox/index.cjs +1 -1
  30. package/lib/checkbox/index.js +3 -3
  31. package/lib/class-linked-status/index.cjs +1 -1
  32. package/lib/class-linked-status/index.js +1 -1
  33. package/lib/controls/index.cjs +1 -1
  34. package/lib/controls/index.js +2 -2
  35. package/lib/{createStylesheet-p23sZ7Ey.cjs → createStylesheet-BX1RVTfW.cjs} +1 -1
  36. package/lib/{createStylesheet-CR_yi5tp.js → createStylesheet-CgWN4UhW.js} +1 -1
  37. package/lib/css-property/index.cjs +1 -1
  38. package/lib/css-property/index.d.ts +3 -3
  39. package/lib/css-property/index.js +1 -1
  40. package/lib/dev/index.cjs +1 -1
  41. package/lib/dev/index.js +1 -1
  42. package/lib/device/Viewport.d.ts +1 -1
  43. package/lib/device/index.cjs +1 -1
  44. package/lib/device/index.js +1 -1
  45. package/lib/element-constructor/ElementConstructor.d.ts +1 -1
  46. package/lib/element-constructor/index.cjs +1 -1
  47. package/lib/element-constructor/index.js +113 -114
  48. package/lib/en3/helpers/index.cjs +1 -1
  49. package/lib/en3/helpers/index.js +2 -2
  50. package/lib/en3/misc/En3SourceManager.d.ts +2 -2
  51. package/lib/en3/misc/index.cjs +1 -1
  52. package/lib/en3/misc/index.js +2 -2
  53. package/lib/en3/objects/fluid/En3Fluid.d.ts +5 -5
  54. package/lib/en3/objects/fluid/Simulation.d.ts +10 -10
  55. package/lib/image/index.cjs +1 -1
  56. package/lib/image/index.js +1 -1
  57. package/lib/{index-CoOTQk9H.js → index-C2xWAQFq.js} +3 -3
  58. package/lib/{index-DVUk3T-y.cjs → index-DfSyc2GT.cjs} +1 -1
  59. package/lib/ladder/index.cjs +1 -1
  60. package/lib/ladder/index.js +1 -1
  61. package/lib/layout-box/index.d.ts +2 -2
  62. package/lib/media/index.cjs +1 -1
  63. package/lib/media/index.js +1 -1
  64. package/lib/modal/index.cjs +1 -1
  65. package/lib/modal/index.js +7 -7
  66. package/lib/morph/index.cjs +1 -1
  67. package/lib/morph/index.js +140 -133
  68. package/lib/pointer/index.cjs +1 -1
  69. package/lib/pointer/index.js +2 -2
  70. package/lib/popover/PopoverElement.d.ts +1 -1
  71. package/lib/popover/index.cjs +1 -1
  72. package/lib/popover/index.js +2 -2
  73. package/lib/router/index.cjs +1 -1
  74. package/lib/router/index.js +73 -76
  75. package/lib/scroll/ScrollElement.d.ts +1 -1
  76. package/lib/scroll/ScrollSegmentElement.d.ts +6 -6
  77. package/lib/scroll/index.cjs +1 -1
  78. package/lib/scroll/index.js +7 -7
  79. package/lib/select/index.cjs +1 -1
  80. package/lib/select/index.js +1 -1
  81. package/lib/sequence/index.cjs +1 -1
  82. package/lib/sequence/index.js +1 -1
  83. package/lib/source/index.cjs +1 -1
  84. package/lib/source/index.js +2 -2
  85. package/lib/store/Derived.d.ts +1 -1
  86. package/lib/store/Resource.d.ts +1 -4
  87. package/lib/store/Store.d.ts +10 -10
  88. package/lib/store/StoreRegistry.d.ts +1 -1
  89. package/lib/store/index.cjs +1 -1
  90. package/lib/store/index.d.ts +1 -3
  91. package/lib/store/index.js +38 -68
  92. package/lib/tags-C-6uXIAT.js +848 -0
  93. package/lib/tags-yvEoM921.cjs +1 -0
  94. package/lib/theme/index.cjs +1 -1
  95. package/lib/theme/index.js +2 -2
  96. package/lib/tweaker/TweakerFieldElement.d.ts +3 -3
  97. package/lib/tweaker/TweakerFolderElement.d.ts +2 -2
  98. package/lib/tweaker/TweakerStoreManagerElement.d.ts +1 -1
  99. package/lib/tweaker/index.cjs +1 -1
  100. package/lib/tweaker/index.js +56 -56
  101. package/lib/tweaker/tweakerManagerConstructors.d.ts +1 -1
  102. package/lib/video/index.cjs +1 -1
  103. package/lib/video/index.js +1 -1
  104. package/package.json +1 -65
  105. package/lib/Animation-6Na1MCtM.cjs +0 -1
  106. package/lib/Animation-CELiTw3n.js +0 -132
  107. package/lib/Damped-Mx_FNNVz.js +0 -63
  108. package/lib/Damped-loFiBsBy.cjs +0 -1
  109. package/lib/ElementConstructor-CAZ2ra8m.cjs +0 -1
  110. package/lib/ElementConstructor-OYlPJf2L.js +0 -366
  111. package/lib/Resource-D3TQormz.cjs +0 -1
  112. package/lib/Resource-DIcoALGo.js +0 -64
  113. package/lib/Store-6s0YXK4o.cjs +0 -1
  114. package/lib/Store-BI2xxXOA.js +0 -156
  115. package/lib/_createStore-Cf1MyeHa.cjs +0 -1
  116. package/lib/_createStore-Ck9bHolX.js +0 -12
  117. package/lib/globals-DMjysUXI.js +0 -8
  118. package/lib/globals-bYKki-b9.cjs +0 -1
  119. package/lib/instantiate-Cx-JmH6m.cjs +0 -1
  120. package/lib/instantiate-D87JFF1W.js +0 -125
  121. package/lib/jsx/ComponentElement.d.ts +0 -18
  122. package/lib/jsx/globals.d.ts +0 -13
  123. package/lib/jsx/h.d.ts +0 -7
  124. package/lib/jsx/hooks/basic/_createStore.d.ts +0 -4
  125. package/lib/jsx/hooks/basic/attachInternals.d.ts +0 -1
  126. package/lib/jsx/hooks/basic/attachShadow.d.ts +0 -1
  127. package/lib/jsx/hooks/basic/attachStylesheet.d.ts +0 -3
  128. package/lib/jsx/hooks/basic/createContext.d.ts +0 -2
  129. package/lib/jsx/hooks/basic/onConnect.d.ts +0 -3
  130. package/lib/jsx/hooks/basic/onDisconnect.d.ts +0 -3
  131. package/lib/jsx/hooks/onAnimationFrame.cjs +0 -1
  132. package/lib/jsx/hooks/onAnimationFrame.d.ts +0 -6
  133. package/lib/jsx/hooks/onAnimationFrame.js +0 -22
  134. package/lib/jsx/hooks/onElementResize.cjs +0 -1
  135. package/lib/jsx/hooks/onElementResize.d.ts +0 -5
  136. package/lib/jsx/hooks/onElementResize.js +0 -11
  137. package/lib/jsx/hooks/onIntersection.cjs +0 -1
  138. package/lib/jsx/hooks/onIntersection.d.ts +0 -5
  139. package/lib/jsx/hooks/onIntersection.js +0 -11
  140. package/lib/jsx/hooks/onWindowResize.cjs +0 -1
  141. package/lib/jsx/hooks/onWindowResize.d.ts +0 -3
  142. package/lib/jsx/hooks/onWindowResize.js +0 -8
  143. package/lib/jsx/hooks/store/createArrayStore.d.ts +0 -3
  144. package/lib/jsx/hooks/store/createComposed.d.ts +0 -3
  145. package/lib/jsx/hooks/store/createDerived.d.ts +0 -3
  146. package/lib/jsx/hooks/store/createDerivedArray.d.ts +0 -3
  147. package/lib/jsx/hooks/store/createDerivedComponent.d.ts +0 -3
  148. package/lib/jsx/hooks/store/createDerivedComponents.d.ts +0 -3
  149. package/lib/jsx/hooks/store/createResource.d.ts +0 -3
  150. package/lib/jsx/hooks/store/createStore.d.ts +0 -3
  151. package/lib/jsx/hooks/store/index.cjs +0 -1
  152. package/lib/jsx/hooks/store/index.d.ts +0 -7
  153. package/lib/jsx/hooks/store/index.js +0 -49
  154. package/lib/jsx/hooks/watchAttribute.cjs +0 -1
  155. package/lib/jsx/hooks/watchAttribute.d.ts +0 -6
  156. package/lib/jsx/hooks/watchAttribute.js +0 -17
  157. package/lib/jsx/hooks/watchCSSProperty.cjs +0 -1
  158. package/lib/jsx/hooks/watchCSSProperty.d.ts +0 -7
  159. package/lib/jsx/hooks/watchCSSProperty.js +0 -17
  160. package/lib/jsx/index.cjs +0 -1
  161. package/lib/jsx/index.d.ts +0 -13
  162. package/lib/jsx/index.js +0 -91
  163. package/lib/jsx/instantiate.d.ts +0 -5
  164. package/lib/jsx/register.d.ts +0 -1
  165. package/lib/jsx/render.d.ts +0 -6
  166. package/lib/jsx/type.d.ts +0 -188
  167. package/lib/onConnect-DGP866cj.cjs +0 -1
  168. package/lib/onConnect-y5DrxJ9P.js +0 -7
  169. package/lib/store/ArrayStore.d.ts +0 -21
  170. package/lib/store/DerivedArray.d.ts +0 -8
  171. package/lib/tags-BqJKcIve.js +0 -485
  172. package/lib/tags-ld5jemJw.cjs +0 -1
@@ -0,0 +1,848 @@
1
+ var Te = Object.defineProperty, Ae = Object.defineProperties;
2
+ var xe = Object.getOwnPropertyDescriptors;
3
+ var le = Object.getOwnPropertySymbols;
4
+ var Me = Object.prototype.hasOwnProperty, De = Object.prototype.propertyIsEnumerable;
5
+ var de = (e, n, s) => n in e ? Te(e, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[n] = s, _ = (e, n) => {
6
+ for (var s in n || (n = {}))
7
+ Me.call(n, s) && de(e, s, n[s]);
8
+ if (le)
9
+ for (var s of le(n))
10
+ De.call(n, s) && de(e, s, n[s]);
11
+ return e;
12
+ }, he = (e, n) => Ae(e, xe(n));
13
+ var O = (e, n, s) => {
14
+ if (!n.has(e))
15
+ throw TypeError("Cannot " + s);
16
+ };
17
+ var r = (e, n, s) => (O(e, n, "read from private field"), s ? s.call(e) : n.get(e)), c = (e, n, s) => {
18
+ if (n.has(e))
19
+ throw TypeError("Cannot add the same private member more than once");
20
+ n instanceof WeakSet ? n.add(e) : n.set(e, s);
21
+ }, g = (e, n, s, i) => (O(e, n, "write to private field"), i ? i.call(e, s) : n.set(e, s), s);
22
+ var u = (e, n, s) => (O(e, n, "access private method"), s);
23
+ import { S as y } from "./Store-Dqcu1DnE.js";
24
+ import { i as we } from "./browser-0zX67oeU.js";
25
+ import { i as me } from "./object-D6MVWB4l.js";
26
+ import { c as pe, u as Fe } from "./string-f0Dnk0L1.js";
27
+ import { connector as He } from "./connector/index.js";
28
+ const qe = /* @__PURE__ */ new Set([
29
+ // 'a', 'style', 'title', 'script',
30
+ "animate",
31
+ "animateMotion",
32
+ "animateTransform",
33
+ "circle",
34
+ "clipPath",
35
+ "defs",
36
+ "desc",
37
+ "ellipse",
38
+ "feBlend",
39
+ "feColorMatrix",
40
+ "feComponentTransfer",
41
+ "feComposite",
42
+ "feConvolveMatrix",
43
+ "feDiffuseLighting",
44
+ "feDisplacementMap",
45
+ "feDistantLight",
46
+ "feDropShadow",
47
+ "feFlood",
48
+ "feFuncA",
49
+ "feFuncB",
50
+ "feFuncG",
51
+ "feFuncR",
52
+ "feGaussianBlur",
53
+ "feImage",
54
+ "feMerge",
55
+ "feMergeNode",
56
+ "feMorphology",
57
+ "feOffset",
58
+ "fePointLight",
59
+ "feSpecularLighting",
60
+ "feSpotLight",
61
+ "feTile",
62
+ "feTurbulence",
63
+ "filter",
64
+ "foreignObject",
65
+ "g",
66
+ "image",
67
+ "line",
68
+ "linearGradient",
69
+ "listener",
70
+ "marker",
71
+ "mask",
72
+ "metadata",
73
+ "mpath",
74
+ "path",
75
+ "pattern",
76
+ "polygon",
77
+ "polyline",
78
+ "radialGradient",
79
+ "rect",
80
+ "set",
81
+ "solidColor",
82
+ "stop",
83
+ "svg",
84
+ "switch",
85
+ "symbol",
86
+ "text",
87
+ "textPath",
88
+ "title",
89
+ "tspan",
90
+ "view"
91
+ ]);
92
+ var o, b, l, v, h, w, R, be, B, ge, G, ye, k, j, L, ee, W, Ee, V, Ce, $, Se, z, Ne, T, ne, A, te, I, ve, x, se, M, ie, J, ke, D, re, N, P, F, ae, H, oe, q, ue, U, Y;
93
+ const K = class K {
94
+ constructor(...n) {
95
+ c(this, R);
96
+ c(this, B);
97
+ c(this, G);
98
+ c(this, k);
99
+ c(this, L);
100
+ c(this, W);
101
+ c(this, V);
102
+ c(this, $);
103
+ c(this, z);
104
+ c(this, T);
105
+ c(this, A);
106
+ c(this, I);
107
+ c(this, x);
108
+ c(this, M);
109
+ c(this, J);
110
+ c(this, D);
111
+ c(this, N);
112
+ c(this, F);
113
+ c(this, H);
114
+ c(this, q);
115
+ c(this, o, null);
116
+ c(this, b, /* @__PURE__ */ new Set());
117
+ c(this, l, /* @__PURE__ */ new Set());
118
+ c(this, v, void 0);
119
+ c(this, h, void 0);
120
+ c(this, w, void 0);
121
+ c(this, U, () => {
122
+ r(this, b).forEach((n) => {
123
+ n();
124
+ }), r(this, b).clear();
125
+ });
126
+ c(this, Y, (n) => {
127
+ r(this, l).forEach((s) => {
128
+ s(n);
129
+ }), r(this, l).clear(), u(this, M, ie).call(this);
130
+ });
131
+ if (we) {
132
+ const s = n[0], i = n[1];
133
+ g(this, o, u(this, R, be).call(this, s, i == null ? void 0 : i.forceSvg)), u(this, G, ye).call(this, i);
134
+ }
135
+ }
136
+ get node() {
137
+ return r(this, o);
138
+ }
139
+ set node(n) {
140
+ var s;
141
+ u(this, M, ie).call(this), g(this, o, n), (s = r(this, v)) == null || s.call(this), r(this, o) instanceof Element && g(this, h, [
142
+ ...r(this, o).querySelectorAll("store-root")
143
+ ]), u(this, x, se).call(this), u(this, k, j).call(this);
144
+ }
145
+ };
146
+ o = new WeakMap(), b = new WeakMap(), l = new WeakMap(), v = new WeakMap(), h = new WeakMap(), w = new WeakMap(), R = new WeakSet(), be = function(n, s) {
147
+ let i = null;
148
+ if (n instanceof Node)
149
+ i = n;
150
+ else if (typeof n == "string")
151
+ if (!n.includes("<") && n.includes("-"))
152
+ i = new (customElements.get(n))();
153
+ else if (n.includes("<")) {
154
+ const a = document.createElement("div");
155
+ a.innerHTML = n, i = a.firstElementChild;
156
+ } else
157
+ qe.has(n) || s ? i = document.createElementNS(
158
+ "http://www.w3.org/2000/svg",
159
+ n
160
+ ) : i = document.createElement(n);
161
+ else
162
+ i = document.createElement("div");
163
+ return i;
164
+ }, B = new WeakSet(), ge = function(n) {
165
+ return n instanceof HTMLElement || n instanceof SVGElement;
166
+ }, G = new WeakSet(), ye = function(n) {
167
+ if (!n)
168
+ return;
169
+ const s = u(this, B, ge).call(this, r(this, o)), i = n.ref;
170
+ delete n.ref, n != null && n.onConnect && (r(this, b).add(n.onConnect), delete n.onConnect), n != null && n.onDisconnect && (r(this, l).add(n.onDisconnect), delete n.onDisconnect);
171
+ let a, f;
172
+ for (const d in n) {
173
+ const m = n[d];
174
+ d === "class" && s ? u(this, L, ee).call(this, m) : d === "style" && s ? u(this, $, Se).call(this, m) : d === "lightChildren" ? u(this, N, P).call(this, r(this, o), m) : d === "children" ? u(this, N, P).call(this, r(this, o) instanceof Element ? r(this, o).shadowRoot || r(this, o) : r(this, o), m) : d.startsWith("on") ? (f || (f = {}), f[d] = m) : (a || (a = {}), a[d] = m);
175
+ }
176
+ u(this, J, ke).call(this, a), u(this, I, ve).call(this, f), i && (typeof i == "function" ? i(r(this, o)) : i.current = r(this, o)), u(this, k, j).call(this);
177
+ }, k = new WeakSet(), j = function() {
178
+ if (we && (r(this, l).size || r(this, b).size)) {
179
+ const n = r(this, o) instanceof DocumentFragment ? r(this, o).firstChild : r(this, o);
180
+ g(this, v, He.subscribe(
181
+ n,
182
+ {
183
+ connectCallback: r(this, U),
184
+ disconnectCallback: r(this, Y),
185
+ unsubscribeAfterDisconnect: !0,
186
+ maxWaitSec: 20
187
+ }
188
+ ));
189
+ }
190
+ }, L = new WeakSet(), ee = function(n) {
191
+ if (n) {
192
+ if (typeof n == "string")
193
+ r(this, o).classList.add(n);
194
+ else if (Array.isArray(n))
195
+ n.forEach((s) => {
196
+ u(this, L, ee).call(this, s);
197
+ });
198
+ else if (typeof n == "object")
199
+ if (n instanceof y)
200
+ u(this, W, Ee).call(this, n);
201
+ else
202
+ for (const s in n) {
203
+ const i = n[s];
204
+ i instanceof y ? u(this, V, Ce).call(this, s, i) : i ? r(this, o).classList.add(s) : r(this, o).classList.remove(s);
205
+ }
206
+ } else
207
+ return;
208
+ }, W = new WeakSet(), Ee = function(n) {
209
+ r(this, l).add(
210
+ n.subscribe(({ current: s, previous: i }) => {
211
+ i && [i].flat().forEach((a) => {
212
+ a && r(this, o).classList.remove(a);
213
+ }), s && [s].flat().forEach((a) => {
214
+ a && r(this, o).classList.add(a);
215
+ });
216
+ })
217
+ );
218
+ }, V = new WeakSet(), Ce = function(n, s) {
219
+ r(this, l).add(
220
+ s.subscribe(({ current: i }) => {
221
+ i ? r(this, o).classList.add(n) : r(this, o).classList.remove(n);
222
+ })
223
+ );
224
+ }, $ = new WeakSet(), Se = function(n) {
225
+ if (!n)
226
+ return;
227
+ r(this, o).tagName === "style" || r(this, o).tagName === "STYLE" ? u(this, T, ne).call(this, n) : u(this, z, Ne).call(this, n);
228
+ }, z = new WeakSet(), Ne = function(n) {
229
+ for (const s in n) {
230
+ const i = s, a = n[i];
231
+ a instanceof y ? r(this, l).add(
232
+ a.subscribe(({ current: f }) => {
233
+ u(this, A, te).call(this, i, f);
234
+ })
235
+ ) : u(this, A, te).call(this, i, a);
236
+ }
237
+ }, T = new WeakSet(), ne = function(n) {
238
+ for (const s in n) {
239
+ const i = n[s];
240
+ if (typeof i == "object" && !(i instanceof y))
241
+ r(this, o).appendChild(
242
+ document.createTextNode(`${s} {`)
243
+ ), u(this, T, ne).call(this, i), r(this, o).appendChild(document.createTextNode("}"));
244
+ else if (i instanceof y) {
245
+ const a = document.createTextNode("");
246
+ r(this, l).add(
247
+ i.subscribe((f) => {
248
+ f.current ? a.nodeValue = `${pe(s)}: ${f.current};` : a.nodeValue = "";
249
+ })
250
+ ), r(this, o).appendChild(a);
251
+ } else
252
+ r(this, o).appendChild(
253
+ document.createTextNode(`${pe(s)}: ${i};`)
254
+ );
255
+ }
256
+ }, A = new WeakSet(), te = function(n, s) {
257
+ n.includes("--") ? s ? r(this, o).style.setProperty(n, s.toString()) : r(this, o).style.removeProperty(n) : s ? r(this, o).style[n] = s.toString() : r(this, o).style[n] = "";
258
+ }, I = new WeakSet(), ve = function(n) {
259
+ if (n) {
260
+ r(this, w) || g(this, w, []);
261
+ for (const s in n) {
262
+ const i = s, a = Fe(
263
+ i.split("on").slice(1).join("on")
264
+ ), f = n[i];
265
+ typeof f == "object" ? r(this, w).push({
266
+ name: a,
267
+ callback: f.callback,
268
+ options: f.options
269
+ }) : typeof f == "function" && r(this, w).push({
270
+ name: a,
271
+ callback: f
272
+ });
273
+ }
274
+ u(this, x, se).call(this);
275
+ }
276
+ }, x = new WeakSet(), se = function() {
277
+ var n;
278
+ (n = r(this, w)) == null || n.forEach((s) => {
279
+ r(this, o).addEventListener(
280
+ s.name,
281
+ s.callback,
282
+ s.options
283
+ );
284
+ });
285
+ }, M = new WeakSet(), ie = function() {
286
+ var n;
287
+ (n = r(this, w)) == null || n.forEach((s) => {
288
+ r(this, o).removeEventListener(
289
+ s.name,
290
+ s.callback,
291
+ s.options
292
+ );
293
+ });
294
+ }, J = new WeakSet(), ke = function(n) {
295
+ for (const s in n) {
296
+ const i = n[s];
297
+ i instanceof y ? r(this, l).add(
298
+ i.subscribe(({ current: a }) => {
299
+ u(this, D, re).call(this, s, a);
300
+ })
301
+ ) : u(this, D, re).call(this, s, i);
302
+ }
303
+ }, D = new WeakSet(), re = function(n, s) {
304
+ var a, f;
305
+ const i = r(this, o);
306
+ n in i && !((f = (a = i.constructor) == null ? void 0 : a.observedAttributes) != null && f.includes(n)) ? s != null && (i[n] = s.toString()) : s != null && i.setAttribute(n, s.toString());
307
+ }, N = new WeakSet(), P = function(n, s) {
308
+ s && (s = [s].flat(), s.forEach((i) => {
309
+ if (i instanceof y) {
310
+ const a = document.createElement("div");
311
+ a.style.display = "contents", n.appendChild(a), r(this, h) || g(this, h, []);
312
+ const f = r(this, h).length;
313
+ a.setAttribute("store-root", ""), r(this, h).push(a), r(this, l).add(
314
+ i.subscribe(({ current: d, previous: m }) => {
315
+ const E = r(this, h)[f];
316
+ E.dispatchEvent(
317
+ new CustomEvent("beforeChildrenChange", {
318
+ bubbles: !0,
319
+ composed: !0
320
+ })
321
+ );
322
+ const Q = Array.from(E.childNodes), ce = [d].flat(), Le = [m].flat(), fe = [], X = [];
323
+ Le.forEach((p, C) => {
324
+ !ce.includes(p) && Q[C] ? fe.push(Q[C]) : X.push(p);
325
+ }), ce.forEach((p, C) => {
326
+ if (X[C]) {
327
+ if (p !== X[C]) {
328
+ const S = u(this, H, oe).call(this, p), Z = Q[C];
329
+ S instanceof Node ? Z.isEqualNode(S) || E.replaceChild(S, Z) : E.removeChild(Z);
330
+ }
331
+ } else {
332
+ const S = u(this, H, oe).call(this, p);
333
+ S instanceof Node && a.appendChild(S);
334
+ }
335
+ }), fe.forEach((p) => {
336
+ E.removeChild(p);
337
+ }), E.dispatchEvent(
338
+ new CustomEvent("afterChildrenChange", {
339
+ bubbles: !0,
340
+ composed: !0
341
+ })
342
+ );
343
+ })
344
+ );
345
+ } else if (i instanceof K)
346
+ u(this, F, ae).call(this, n, i.node);
347
+ else if (i instanceof Function)
348
+ u(this, N, P).call(this, n, me(i) ? new i() : i());
349
+ else {
350
+ const a = u(this, q, ue).call(this, i);
351
+ a instanceof Node && u(this, F, ae).call(this, n, a);
352
+ }
353
+ }));
354
+ }, F = new WeakSet(), ae = function(n, s) {
355
+ !(n instanceof ShadowRoot) && s instanceof HTMLElement && s.tagName === "STYLE" ? (r(this, b).add(() => {
356
+ [...document.head.querySelectorAll("style")].find((a) => a.outerHTML === s.outerHTML) || document.head.appendChild(s);
357
+ }), r(this, l).add(() => {
358
+ s.remove();
359
+ })) : n.appendChild(s);
360
+ }, H = new WeakSet(), oe = function(n) {
361
+ return n instanceof K ? n.node : typeof n == "function" ? me(n) ? new n() : n() : u(this, q, ue).call(this, n);
362
+ }, q = new WeakSet(), ue = function(n) {
363
+ if (n instanceof Node)
364
+ return n;
365
+ if (n != null) {
366
+ const s = String(n);
367
+ if (s.trim().startsWith("<") && s.trim().endsWith(">")) {
368
+ const i = document.createElement("div");
369
+ return i.innerHTML = s, i.firstElementChild;
370
+ } else
371
+ return document.createTextNode(s);
372
+ } else
373
+ return;
374
+ }, U = new WeakMap(), Y = new WeakMap();
375
+ let t = K;
376
+ function $e(...e) {
377
+ return new t(...e);
378
+ }
379
+ function ze(e) {
380
+ return new t("a", e);
381
+ }
382
+ function Ie(e) {
383
+ return new t("abbr", e);
384
+ }
385
+ function Je(e) {
386
+ return new t("address", e);
387
+ }
388
+ function Ue(e) {
389
+ return new t("area", e);
390
+ }
391
+ function Ye(e) {
392
+ return new t("article", e);
393
+ }
394
+ function Ke(e) {
395
+ return new t("aside", e);
396
+ }
397
+ function Qe(e) {
398
+ return new t("audio", e);
399
+ }
400
+ function Xe(e) {
401
+ return new t("b", e);
402
+ }
403
+ function Ze(e) {
404
+ return new t("base", e);
405
+ }
406
+ function _e(e) {
407
+ return new t("bdi", e);
408
+ }
409
+ function Oe(e) {
410
+ return new t("bdo", e);
411
+ }
412
+ function je(e) {
413
+ return new t("blockquote", e);
414
+ }
415
+ function en(e) {
416
+ return new t("body", e);
417
+ }
418
+ function nn(e) {
419
+ return new t("br", e);
420
+ }
421
+ function tn(e) {
422
+ return new t("button", e);
423
+ }
424
+ function sn(e) {
425
+ return new t("canvas", e);
426
+ }
427
+ function rn(e) {
428
+ return new t("caption", e);
429
+ }
430
+ function an(e) {
431
+ return new t("cite", e);
432
+ }
433
+ function on(e) {
434
+ return new t("code", e);
435
+ }
436
+ function un(e) {
437
+ return new t("col", e);
438
+ }
439
+ function cn(e) {
440
+ return new t("colgroup", e);
441
+ }
442
+ function fn(e) {
443
+ return new t("data", e);
444
+ }
445
+ function ln(e) {
446
+ return new t("datalist", e);
447
+ }
448
+ function dn(e) {
449
+ return new t("dd", e);
450
+ }
451
+ function hn(e) {
452
+ return new t("del", e);
453
+ }
454
+ function wn(e) {
455
+ return new t("details", e);
456
+ }
457
+ function mn(e) {
458
+ return new t("dfn", e);
459
+ }
460
+ function pn(e) {
461
+ return new t("dialog", e);
462
+ }
463
+ function bn(e) {
464
+ return new t("div", e);
465
+ }
466
+ function gn(e) {
467
+ return new t("dl", e);
468
+ }
469
+ function yn(e) {
470
+ return new t("dt", e);
471
+ }
472
+ function En(e) {
473
+ return new t("em", e);
474
+ }
475
+ function Cn(e) {
476
+ return new t("embed", e);
477
+ }
478
+ function Sn(e) {
479
+ return new t("fieldset", e);
480
+ }
481
+ function Nn(e) {
482
+ return new t("figcaption", e);
483
+ }
484
+ function vn(e) {
485
+ return new t("figure", e);
486
+ }
487
+ function kn(e) {
488
+ return new t("footer", e);
489
+ }
490
+ function Ln(e) {
491
+ return new t("form", e);
492
+ }
493
+ function Tn(e) {
494
+ return new t("h1", e);
495
+ }
496
+ function An(e) {
497
+ return new t("h2", e);
498
+ }
499
+ function xn(e) {
500
+ return new t("h3", e);
501
+ }
502
+ function Mn(e) {
503
+ return new t("h4", e);
504
+ }
505
+ function Dn(e) {
506
+ return new t("h5", e);
507
+ }
508
+ function Fn(e) {
509
+ return new t("h6", e);
510
+ }
511
+ function Hn(e) {
512
+ return new t("head", e);
513
+ }
514
+ function qn(e) {
515
+ return new t("header", e);
516
+ }
517
+ function Pn(e) {
518
+ return new t("hgroup", e);
519
+ }
520
+ function Rn(e) {
521
+ return new t("hr", e);
522
+ }
523
+ function Bn(e) {
524
+ return new t("html", e);
525
+ }
526
+ function Gn(e) {
527
+ return new t("i", e);
528
+ }
529
+ function Wn(e) {
530
+ return new t("iframe", e);
531
+ }
532
+ function Vn(e) {
533
+ return new t("img", e);
534
+ }
535
+ function $n(e) {
536
+ return new t("input", e);
537
+ }
538
+ function zn(e) {
539
+ return new t("ins", e);
540
+ }
541
+ function In(e) {
542
+ return new t("kbd", e);
543
+ }
544
+ function Jn(e) {
545
+ return new t("label", e);
546
+ }
547
+ function Un(e) {
548
+ return new t("legend", e);
549
+ }
550
+ function Yn(e) {
551
+ return new t("li", e);
552
+ }
553
+ function Kn(e) {
554
+ return new t("link", e);
555
+ }
556
+ function Qn(e) {
557
+ return new t("main", e);
558
+ }
559
+ function Xn(e) {
560
+ return new t("map", e);
561
+ }
562
+ function Zn(e) {
563
+ return new t("mark", e);
564
+ }
565
+ function _n(e) {
566
+ return new t("menu", e);
567
+ }
568
+ function On(e) {
569
+ return new t("meta", e);
570
+ }
571
+ function jn(e) {
572
+ return new t("meter", e);
573
+ }
574
+ function et(e) {
575
+ return new t("nav", e);
576
+ }
577
+ function nt(e) {
578
+ return new t("noscript", e);
579
+ }
580
+ function tt(e) {
581
+ return new t("object", e);
582
+ }
583
+ function st(e) {
584
+ return new t("ol", e);
585
+ }
586
+ function it(e) {
587
+ return new t("optgroup", e);
588
+ }
589
+ function rt(e) {
590
+ return new t("option", e);
591
+ }
592
+ function at(e) {
593
+ return new t("output", e);
594
+ }
595
+ function ot(e) {
596
+ return new t("p", e);
597
+ }
598
+ function ut(e) {
599
+ return new t("picture", e);
600
+ }
601
+ function ct(e) {
602
+ return new t("pre", e);
603
+ }
604
+ function ft(e) {
605
+ return new t("progress", e);
606
+ }
607
+ function lt(e) {
608
+ return new t("q", e);
609
+ }
610
+ function dt(e) {
611
+ return new t("rp", e);
612
+ }
613
+ function ht(e) {
614
+ return new t("rt", e);
615
+ }
616
+ function wt(e) {
617
+ return new t("ruby", e);
618
+ }
619
+ function mt(e) {
620
+ return new t("s", e);
621
+ }
622
+ function pt(e) {
623
+ return new t("samp", e);
624
+ }
625
+ function bt(e) {
626
+ return new t("script", e);
627
+ }
628
+ function gt(e) {
629
+ return new t("search", e);
630
+ }
631
+ function yt(e) {
632
+ return new t("section", e);
633
+ }
634
+ function Et(e) {
635
+ return new t("select", e);
636
+ }
637
+ function Ct(e) {
638
+ return new t("slot", e);
639
+ }
640
+ function St(e) {
641
+ return new t("small", e);
642
+ }
643
+ function Nt(e) {
644
+ return new t("source", e);
645
+ }
646
+ function vt(e) {
647
+ return new t("span", e);
648
+ }
649
+ function kt(e) {
650
+ return new t("strong", e);
651
+ }
652
+ function Lt(e) {
653
+ return new t("style", {
654
+ style: e
655
+ });
656
+ }
657
+ function Tt(e) {
658
+ return new t("sub", e);
659
+ }
660
+ function At(e) {
661
+ return new t("summary", e);
662
+ }
663
+ function xt(e) {
664
+ return new t("sup", e);
665
+ }
666
+ function Mt(e) {
667
+ return new t("table", e);
668
+ }
669
+ function Dt(e) {
670
+ return new t("tbody", e);
671
+ }
672
+ function Ft(e) {
673
+ return new t("td", e);
674
+ }
675
+ function Ht(e) {
676
+ return new t("template", e);
677
+ }
678
+ function qt(e) {
679
+ return new t("textarea", e);
680
+ }
681
+ function Pt(e) {
682
+ return new t("tfoot", e);
683
+ }
684
+ function Rt(e) {
685
+ return new t("th", e);
686
+ }
687
+ function Bt(e) {
688
+ return new t("thead", e);
689
+ }
690
+ function Gt(e) {
691
+ return new t("time", e);
692
+ }
693
+ function Wt(e) {
694
+ return new t("title", e);
695
+ }
696
+ function Vt(e) {
697
+ return new t("tr", e);
698
+ }
699
+ function $t(e) {
700
+ return new t("track", e);
701
+ }
702
+ function zt(e) {
703
+ return new t("u", e);
704
+ }
705
+ function It(e) {
706
+ return new t("ul", e);
707
+ }
708
+ function Jt(e) {
709
+ return new t("var", e);
710
+ }
711
+ function Ut(e) {
712
+ return new t("video", e);
713
+ }
714
+ function Yt(e) {
715
+ return new t("wbr", e);
716
+ }
717
+ function Kt(e) {
718
+ return new t(document.createDocumentFragment(), e);
719
+ }
720
+ function Qt(e) {
721
+ return new t(document.createTextNode(""), e);
722
+ }
723
+ function Xt(e) {
724
+ return new t("div", he(_({}, e), {
725
+ style: _({
726
+ display: "contents"
727
+ }, e == null ? void 0 : e.style)
728
+ }));
729
+ }
730
+ export {
731
+ Vn as $,
732
+ wn as A,
733
+ mn as B,
734
+ pn as C,
735
+ bn as D,
736
+ t as E,
737
+ gn as F,
738
+ yn as G,
739
+ En as H,
740
+ Cn as I,
741
+ Sn as J,
742
+ Nn as K,
743
+ vn as L,
744
+ kn as M,
745
+ Ln as N,
746
+ Tn as O,
747
+ An as P,
748
+ xn as Q,
749
+ Mn as R,
750
+ Dn as S,
751
+ Fn as T,
752
+ Hn as U,
753
+ qn as V,
754
+ Pn as W,
755
+ Rn as X,
756
+ Bn as Y,
757
+ Gn as Z,
758
+ Wn as _,
759
+ ze as a,
760
+ $n as a0,
761
+ zn as a1,
762
+ In as a2,
763
+ Jn as a3,
764
+ Un as a4,
765
+ Yn as a5,
766
+ Kn as a6,
767
+ Qn as a7,
768
+ Xn as a8,
769
+ Zn as a9,
770
+ Nt as aA,
771
+ vt as aB,
772
+ kt as aC,
773
+ Lt as aD,
774
+ Tt as aE,
775
+ At as aF,
776
+ xt as aG,
777
+ Mt as aH,
778
+ Dt as aI,
779
+ Ft as aJ,
780
+ Ht as aK,
781
+ qt as aL,
782
+ Pt as aM,
783
+ Rt as aN,
784
+ Bt as aO,
785
+ Gt as aP,
786
+ Wt as aQ,
787
+ Vt as aR,
788
+ $t as aS,
789
+ zt as aT,
790
+ It as aU,
791
+ Jt as aV,
792
+ Ut as aW,
793
+ Yt as aX,
794
+ Kt as aY,
795
+ Qt as aZ,
796
+ Xt as a_,
797
+ _n as aa,
798
+ On as ab,
799
+ jn as ac,
800
+ et as ad,
801
+ nt as ae,
802
+ tt as af,
803
+ st as ag,
804
+ it as ah,
805
+ rt as ai,
806
+ at as aj,
807
+ ot as ak,
808
+ ut as al,
809
+ ct as am,
810
+ ft as an,
811
+ lt as ao,
812
+ dt as ap,
813
+ ht as aq,
814
+ wt as ar,
815
+ mt as as,
816
+ pt as at,
817
+ bt as au,
818
+ gt as av,
819
+ yt as aw,
820
+ Et as ax,
821
+ Ct as ay,
822
+ St as az,
823
+ Ie as b,
824
+ Je as c,
825
+ Ue as d,
826
+ $e as e,
827
+ Ye as f,
828
+ Ke as g,
829
+ Qe as h,
830
+ Xe as i,
831
+ Ze as j,
832
+ _e as k,
833
+ Oe as l,
834
+ je as m,
835
+ en as n,
836
+ nn as o,
837
+ tn as p,
838
+ sn as q,
839
+ rn as r,
840
+ an as s,
841
+ on as t,
842
+ un as u,
843
+ cn as v,
844
+ fn as w,
845
+ ln as x,
846
+ dn as y,
847
+ hn as z
848
+ };