dlzn-ui 2.0.7 → 2.0.10

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/assets/$loading-D_Zs2VgL.css +1 -0
  2. package/chunks/$loading-Df3COGfW.mjs +241 -0
  3. package/chunks/{AssignUser-BPrzGjCg.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
  4. package/chunks/{Common-Ds4A0g73.mjs → Common-CnrITpXz.mjs} +1 -1
  5. package/chunks/{Day-CWWVjsXu.mjs → Day-tjS-0iDA.mjs} +1 -1
  6. package/chunks/{DictTypeDetail-ijxK2MDm.mjs → DictTypeDetail-CcohOVfN.mjs} +2 -2
  7. package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
  8. package/chunks/{Hour-D-2s4xgR.mjs → Hour-B9fx59cM.mjs} +1 -1
  9. package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
  10. package/chunks/{Index-DoPLbOv7.mjs → Index-BTEVAXbg.mjs} +2 -2
  11. package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
  12. package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
  13. package/chunks/{Index-D0dEcWw2.mjs → Index-D-gi1OVy.mjs} +2 -2
  14. package/chunks/{Index-DhkEiAro.mjs → Index-DlrNiiDp.mjs} +1 -1
  15. package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
  16. package/chunks/{Index-az-w01U3.mjs → Index-z9vUMzmS.mjs} +2 -2
  17. package/chunks/{IndexItem-KlRJte7i.mjs → IndexItem-rt5wZA39.mjs} +2 -2
  18. package/chunks/{Log-LYCmf0zI.mjs → Log-DK5aduPG.mjs} +2 -2
  19. package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
  20. package/chunks/{MenuNode-6Nca-v9i.mjs → MenuNode-DEBSfNz9.mjs} +1 -1
  21. package/chunks/{Minute-8BpPY8V6.mjs → Minute-hPwzkaCM.mjs} +1 -1
  22. package/chunks/{Month-C5iIZpY7.mjs → Month-Cnjhbs28.mjs} +1 -1
  23. package/chunks/{Second-BKF09AKl.mjs → Second-DAYKul2s.mjs} +1 -1
  24. package/chunks/{SelectDept-C78pnJtp.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
  25. package/chunks/{SelectMenu-B2-QkHU2.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
  26. package/chunks/{SelectUser-BuE4Lgm0.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
  27. package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
  28. package/chunks/{UserInfo-uDVj4WPH.mjs → UserInfo-BUlPdKge.mjs} +1 -1
  29. package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
  30. package/chunks/{app-BXskd1Ae.mjs → app-Dk-mybzX.mjs} +2 -2
  31. package/chunks/auto-animate-FPySn19g.mjs +341 -0
  32. package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
  33. package/chunks/css-Cw_qlmlv.mjs +521 -0
  34. package/chunks/{custom-page-list-r5EUcg98.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
  35. package/chunks/{custom-page-table-D1FmkEop.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
  36. package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
  37. package/chunks/icon-jnCbW4iu.mjs +1013 -0
  38. package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
  39. package/chunks/{overview-BCXuALeB.mjs → overview-D9YB44O0.mjs} +1 -1
  40. package/chunks/{page-list-Zp_EiMZd.mjs → page-list-BnGVTcad.mjs} +3 -3
  41. package/chunks/{page-query-CxZBtQht.mjs → page-query-QCT-mat_.mjs} +1 -1
  42. package/chunks/{page-table-BpyyKTMq.mjs → page-table-DMOjg44G.mjs} +3 -3
  43. package/chunks/{pagination-y5tkmGDM.mjs → pagination-BNAZYVJk.mjs} +1 -1
  44. package/chunks/{provider-C6TTHGoz.mjs → provider-DQIMA4mE.mjs} +635 -600
  45. package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
  46. package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
  47. package/chunks/store-C46_JI7q.mjs +112 -0
  48. package/chunks/{table-2Eqd8Kcx.mjs → table-BFP90EA0.mjs} +2 -2
  49. package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
  50. package/components/app/index.mjs +1 -1
  51. package/components/app/src/app.mjs +1 -1
  52. package/components/button/index.mjs +1 -1
  53. package/components/button/src/button.mjs +1 -1
  54. package/components/checkbox-group/index.mjs +1 -1
  55. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  56. package/components/cron/index.mjs +1 -1
  57. package/components/cron/src/Common.mjs +1 -1
  58. package/components/cron/src/Day.mjs +1 -1
  59. package/components/cron/src/Hour.mjs +1 -1
  60. package/components/cron/src/Minute.mjs +1 -1
  61. package/components/cron/src/Month.mjs +1 -1
  62. package/components/cron/src/Picker.mjs +6206 -103
  63. package/components/cron/src/Second.mjs +1 -1
  64. package/components/cron/src/cron.mjs +1 -1
  65. package/components/custom-page-list/index.mjs +1 -1
  66. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  67. package/components/custom-page-table/index.mjs +1 -1
  68. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  69. package/components/date-picker/index.mjs +1 -1
  70. package/components/date-picker/src/date-picker.mjs +1 -1
  71. package/components/form/index.mjs +1 -1
  72. package/components/form/src/form.mjs +1 -1
  73. package/components/icon/index.mjs +1 -1
  74. package/components/icon/src/icon.mjs +1 -1
  75. package/components/index.mjs +19 -19
  76. package/components/overview/index.mjs +1 -1
  77. package/components/overview/src/DicLabel/Index.mjs +1 -1
  78. package/components/overview/src/IndexItem.mjs +1 -1
  79. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  80. package/components/overview/src/overview.mjs +1 -1
  81. package/components/page-list/index.mjs +1 -1
  82. package/components/page-list/src/page-list.mjs +1 -1
  83. package/components/page-query/index.mjs +1 -1
  84. package/components/page-query/src/page-query.mjs +1 -1
  85. package/components/page-table/index.mjs +1 -1
  86. package/components/page-table/src/page-table.mjs +1 -1
  87. package/components/pagination/index.mjs +1 -1
  88. package/components/pagination/src/pagination.mjs +1 -1
  89. package/components/provider/index.mjs +1 -1
  90. package/components/provider/src/Provider.mjs +1 -1
  91. package/components/radio-group/index.mjs +1 -1
  92. package/components/radio-group/src/radio-group.mjs +1 -1
  93. package/components/scrollbar/index.mjs +1 -1
  94. package/components/scrollbar/src/scrollbar.mjs +1 -1
  95. package/components/select/index.mjs +1 -1
  96. package/components/select/src/select.mjs +1 -1
  97. package/components/select-sys-user/index.mjs +1 -1
  98. package/components/select-sys-user/src/Picker.mjs +2 -2
  99. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  100. package/components/table/index.mjs +1 -1
  101. package/components/table/src/table.mjs +1 -1
  102. package/components/tag/index.mjs +1 -1
  103. package/components/tag/src/tag.mjs +1 -1
  104. package/components/tree/index.mjs +1 -1
  105. package/components/tree/src/tree.mjs +1 -1
  106. package/components/tree-select/index.mjs +1 -1
  107. package/components/tree-select/src/tree-select.mjs +1 -1
  108. package/components/upload/index.mjs +1 -1
  109. package/components/upload/src/upload.mjs +1 -1
  110. package/hooks/useAnimateAuto/index.mjs +6 -6
  111. package/hooks/useContextMenu/menu/index.mjs +1 -1
  112. package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
  113. package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
  114. package/hooks/useDicOptions/index.mjs +1 -1
  115. package/hooks/useSysUser/index.mjs +1 -1
  116. package/layout/Entry.mjs +1 -1
  117. package/layout/Login.mjs +2 -2
  118. package/layout/NotFound.mjs +1 -1
  119. package/layout/modules/Aside.mjs +1 -1
  120. package/layout/modules/Breadcrumb.mjs +1 -1
  121. package/layout/modules/Header.mjs +1 -1
  122. package/layout/modules/MenuNode.mjs +1 -1
  123. package/layout/profile/Index.mjs +2 -2
  124. package/layout/profile/ResetPwd.mjs +1 -1
  125. package/layout/profile/UserInfo.mjs +1 -1
  126. package/layout/vueBits/LightRays.mjs +47 -47
  127. package/layout/vueBits/Plasma.mjs +29 -29
  128. package/layout/vueBits/Prism.mjs +51 -51
  129. package/main.mjs +36 -9
  130. package/package.json +11 -9
  131. package/plugins/autoImport/$alova/index.mjs +1 -1
  132. package/plugins/autoImport/$confirm/index.mjs +1 -1
  133. package/plugins/autoImport/$dialog/index.mjs +1 -1
  134. package/plugins/autoImport/$drawer/index.mjs +1 -1
  135. package/plugins/autoImport/$loading/index.mjs +2 -38
  136. package/plugins/captcha/captcha.mjs +2 -2
  137. package/plugins/captcha/index.mjs +1 -1
  138. package/plugins/echarts/index.mjs +705 -25
  139. package/plugins/initialize/index.mjs +1 -1
  140. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  141. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  142. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  143. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  144. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  145. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  146. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  147. package/plugins/tableRenders/cell/index.mjs +6 -6
  148. package/router/index.mjs +1 -1
  149. package/store/index.mjs +2 -7
  150. package/store/modules/common.mjs +1 -1
  151. package/store/modules/login.mjs +1 -1
  152. package/store/modules/recentRouters.mjs +1 -1
  153. package/store/modules/router.mjs +1 -1
  154. package/store/modules/user.mjs +1 -1
  155. package/utils/tool.mjs +16 -15
  156. package/views/system/dept/index.mjs +2 -2
  157. package/views/system/dept/utils.mjs +1 -1
  158. package/views/system/dict/index.mjs +3 -3
  159. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  160. package/views/system/menu/index.mjs +3 -3
  161. package/views/system/post/index.mjs +2 -2
  162. package/views/system/role/index.mjs +5 -5
  163. package/views/system/role/modules/AssignUser.mjs +1 -1
  164. package/views/system/role/modules/SelectDept.mjs +1 -1
  165. package/views/system/role/modules/SelectMenu.mjs +1 -1
  166. package/views/system/role/modules/SelectUser.mjs +1 -1
  167. package/views/system/user/index.mjs +3 -3
  168. package/views/tool/job/index.mjs +3 -3
  169. package/views/tool/job/modules/Log.mjs +1 -1
  170. package/chunks/date-picker-D15OhWnK.mjs +0 -378
  171. package/chunks/icon-COjp1yrx.mjs +0 -21
  172. /package/{ejs → assets/ejs}/slide-puzzle.ejs +0 -0
@@ -1,4 +1,4 @@
1
- import { S as e, V as t, b as n, i as r, n as i, o as a } from "./provider-C6TTHGoz.mjs";
1
+ import { S as e, V as t, b as n, i as r, n as i, o as a } from "./provider-DQIMA4mE.mjs";
2
2
  import { createBlock as o, createTextVNode as s, createVNode as c, defineComponent as l, inject as u, openBlock as d, reactive as f, unref as p, useTemplateRef as m, watchEffect as h, withCtx as g } from "vue";
3
3
  import { useRoute as _ } from "vue-router";
4
4
  //#endregion
@@ -0,0 +1,7 @@
1
+ import { t as e } from "./rolldown-runtime-D_tDV3RV.mjs";
2
+ //#region __vite-browser-external
3
+ var t = /* @__PURE__ */ e(((e, t) => {
4
+ t.exports = {};
5
+ }));
6
+ //#endregion
7
+ export { t };
@@ -1,6 +1,6 @@
1
- import { i as e, t } from "./provider-C6TTHGoz.mjs";
1
+ import { i as e, t } from "./provider-DQIMA4mE.mjs";
2
2
  import { t as n } from "./useAppContext-D47amIp5.mjs";
3
- import { t as r } from "./menu-CjNx3wKR.mjs";
3
+ import { t as r } from "./menu-DYwAudY3.mjs";
4
4
  import "../hooks/useContextMenu/menu/index.mjs";
5
5
  import { createBlock as i, createVNode as a, defineComponent as o, openBlock as s, resolveComponent as c, unref as l, withCtx as u } from "vue";
6
6
  import { Watermark as d } from "tdesign-vue-next";
@@ -0,0 +1,341 @@
1
+ //#region ../../node_modules/.pnpm/@formkit+auto-animate@0.10.0/node_modules/@formkit/auto-animate/index.mjs
2
+ var e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakSet(), u, d = 0, f = 0, p = "__aa_tgt", m = "__aa_del", h = "__aa_new", g = (e) => {
3
+ let t = E(e);
4
+ t && t.forEach((e) => O(e));
5
+ }, _ = (e) => {
6
+ e.forEach((e) => {
7
+ e.target === u && x(), t.has(e.target) && b(e.target);
8
+ });
9
+ };
10
+ function v(e) {
11
+ let t = e.getBoundingClientRect(), n = u?.clientWidth || 0, r = u?.clientHeight || 0;
12
+ return t.bottom < 0 || t.top > r || t.right < 0 || t.left > n;
13
+ }
14
+ function y(e) {
15
+ i.get(e)?.disconnect();
16
+ let n = t.get(e), r = 0;
17
+ n || (n = j(e), t.set(e, n));
18
+ let { offsetWidth: a, offsetHeight: o } = u, s = [
19
+ n.top - 5,
20
+ a - (n.left + 5 + n.width),
21
+ o - (n.top + 5 + n.height),
22
+ n.left - 5
23
+ ].map((e) => `${-1 * Math.floor(e)}px`).join(" "), c = new IntersectionObserver(() => {
24
+ ++r > 1 && b(e);
25
+ }, {
26
+ root: u,
27
+ threshold: 1,
28
+ rootMargin: s
29
+ });
30
+ c.observe(e), i.set(e, c);
31
+ }
32
+ function b(e, n = !0) {
33
+ clearTimeout(c.get(e));
34
+ let i = N(e), a = n ? R(i) ? 500 : i.duration : 0;
35
+ c.set(e, setTimeout(async () => {
36
+ let n = r.get(e);
37
+ try {
38
+ await n?.finished, t.set(e, j(e)), y(e);
39
+ } catch {}
40
+ }, a));
41
+ }
42
+ function x() {
43
+ clearTimeout(c.get(u)), c.set(u, setTimeout(() => {
44
+ e.forEach((e) => I(e, (e) => C(() => b(e))));
45
+ }, 100));
46
+ }
47
+ function S(e) {
48
+ setTimeout(() => {
49
+ o.set(e, setInterval(() => C(b.bind(null, e)), 2e3));
50
+ }, Math.round(2e3 * Math.random()));
51
+ }
52
+ function C(e) {
53
+ typeof requestIdleCallback == "function" ? requestIdleCallback(() => e()) : requestAnimationFrame(() => e());
54
+ }
55
+ var w, T = typeof window < "u" && "ResizeObserver" in window;
56
+ T && (u = document.documentElement, new MutationObserver(g), w = new ResizeObserver(_), window.addEventListener("scroll", () => {
57
+ f = window.scrollY, d = window.scrollX;
58
+ }), w.observe(u));
59
+ function E(e) {
60
+ return !e.reduce((e, t) => [
61
+ ...e,
62
+ ...Array.from(t.addedNodes),
63
+ ...Array.from(t.removedNodes)
64
+ ], []).every((e) => e.nodeName === "#comment") && e.reduce((e, t) => {
65
+ if (e === !1) return !1;
66
+ if (t.target instanceof Element) {
67
+ if (D(t.target), !e.has(t.target)) {
68
+ e.add(t.target);
69
+ for (let n = 0; n < t.target.children.length; n++) {
70
+ let r = t.target.children.item(n);
71
+ if (r) {
72
+ if (m in r) return !1;
73
+ D(t.target, r), e.add(r);
74
+ }
75
+ }
76
+ }
77
+ if (t.removedNodes.length) for (let r = 0; r < t.removedNodes.length; r++) {
78
+ let i = t.removedNodes[r];
79
+ if (m in i) return !1;
80
+ i instanceof Element && (e.add(i), D(t.target, i), n.set(i, [t.previousSibling, t.nextSibling]));
81
+ }
82
+ }
83
+ return e;
84
+ }, /* @__PURE__ */ new Set());
85
+ }
86
+ function D(e, t) {
87
+ !t && !(p in e) ? Object.defineProperty(e, p, { value: e }) : t && !(p in t) && Object.defineProperty(t, p, { value: e });
88
+ }
89
+ function O(e) {
90
+ var i;
91
+ let a = e.isConnected, o = t.has(e);
92
+ a && n.has(e) && n.delete(e), r.get(e)?.playState !== "finished" && ((i = r.get(e)) == null || i.cancel()), h in e ? B(e) : o && a ? z(e) : o && !a ? H(e) : B(e);
93
+ }
94
+ function k(e) {
95
+ return Number(e.replace(/[^0-9.\-]/g, ""));
96
+ }
97
+ function A(e) {
98
+ let t = e.parentElement;
99
+ for (; t;) {
100
+ if (t.scrollLeft || t.scrollTop) return {
101
+ x: t.scrollLeft,
102
+ y: t.scrollTop
103
+ };
104
+ t = t.parentElement;
105
+ }
106
+ return {
107
+ x: 0,
108
+ y: 0
109
+ };
110
+ }
111
+ function j(e) {
112
+ let t = e.getBoundingClientRect(), { x: n, y: r } = A(e);
113
+ return {
114
+ top: t.top + r,
115
+ left: t.left + n,
116
+ width: t.width,
117
+ height: t.height
118
+ };
119
+ }
120
+ function M(e, t, n) {
121
+ let r = t.width, i = t.height, a = n.width, o = n.height, s = getComputedStyle(e);
122
+ if (s.getPropertyValue("box-sizing") === "content-box") {
123
+ let e = k(s.paddingTop) + k(s.paddingBottom) + k(s.borderTopWidth) + k(s.borderBottomWidth), t = k(s.paddingLeft) + k(s.paddingRight) + k(s.borderRightWidth) + k(s.borderLeftWidth);
124
+ r -= t, a -= t, i -= e, o -= e;
125
+ }
126
+ return [
127
+ r,
128
+ a,
129
+ i,
130
+ o
131
+ ].map(Math.round);
132
+ }
133
+ function N(e) {
134
+ return p in e && s.has(e[p]) ? s.get(e[p]) : {
135
+ duration: 250,
136
+ easing: "ease-in-out"
137
+ };
138
+ }
139
+ function P(e) {
140
+ if (p in e) return e[p];
141
+ }
142
+ function F(e) {
143
+ let t = P(e);
144
+ return t ? l.has(t) : !1;
145
+ }
146
+ function I(e, ...t) {
147
+ t.forEach((t) => t(e, s.has(e)));
148
+ for (let n = 0; n < e.children.length; n++) {
149
+ let r = e.children.item(n);
150
+ r && t.forEach((e) => e(r, s.has(r)));
151
+ }
152
+ }
153
+ function L(e) {
154
+ return Array.isArray(e) ? e : [e];
155
+ }
156
+ function R(e) {
157
+ return typeof e == "function";
158
+ }
159
+ function z(e) {
160
+ let n = t.get(e), i = j(e);
161
+ if (!F(e)) return t.set(e, i);
162
+ if (v(e)) {
163
+ t.set(e, i), y(e);
164
+ return;
165
+ }
166
+ let a;
167
+ if (!n) return;
168
+ let o = N(e);
169
+ if (typeof o != "function") {
170
+ let t = n.left - i.left, r = n.top - i.top, s = n.left + n.width - (i.left + i.width);
171
+ n.top + n.height - (i.top + i.height) == 0 && (r = 0), s == 0 && (t = 0);
172
+ let [c, l, u, d] = M(e, n, i), f = { transform: `translate(${t}px, ${r}px)` }, p = { transform: "translate(0, 0)" };
173
+ c !== l && (f.width = `${c}px`, p.width = `${l}px`), u !== d && (f.height = `${u}px`, p.height = `${d}px`), a = e.animate([f, p], {
174
+ duration: o.duration,
175
+ easing: o.easing
176
+ });
177
+ } else {
178
+ let [t] = L(o(e, "remain", n, i));
179
+ a = new Animation(t), a.play();
180
+ }
181
+ r.set(e, a), t.set(e, i), a.addEventListener("finish", b.bind(null, e, !1), { once: !0 });
182
+ }
183
+ function B(e) {
184
+ h in e && delete e[h];
185
+ let n = j(e);
186
+ t.set(e, n);
187
+ let i = N(e);
188
+ if (!F(e)) return;
189
+ if (v(e)) {
190
+ y(e);
191
+ return;
192
+ }
193
+ let a;
194
+ if (typeof i != "function") a = e.animate([
195
+ {
196
+ transform: "scale(.98)",
197
+ opacity: 0
198
+ },
199
+ {
200
+ transform: "scale(0.98)",
201
+ opacity: 0,
202
+ offset: .5
203
+ },
204
+ {
205
+ transform: "scale(1)",
206
+ opacity: 1
207
+ }
208
+ ], {
209
+ duration: i.duration * 1.5,
210
+ easing: "ease-in"
211
+ });
212
+ else {
213
+ let [t] = L(i(e, "add", n));
214
+ a = new Animation(t), a.play();
215
+ }
216
+ r.set(e, a), a.addEventListener("finish", b.bind(null, e, !1), { once: !0 });
217
+ }
218
+ function V(e, a) {
219
+ var o;
220
+ e.remove(), t.delete(e), n.delete(e), r.delete(e), (o = i.get(e)) == null || o.disconnect(), setTimeout(() => {
221
+ if (m in e && delete e[m], Object.defineProperty(e, h, {
222
+ value: !0,
223
+ configurable: !0
224
+ }), a && e instanceof HTMLElement) for (let t in a) e.style[t] = "";
225
+ }, 0);
226
+ }
227
+ function H(e) {
228
+ var i;
229
+ if (!n.has(e) || !t.has(e)) return;
230
+ let [a, o] = n.get(e);
231
+ Object.defineProperty(e, m, {
232
+ value: !0,
233
+ configurable: !0
234
+ });
235
+ let s = window.scrollX, c = window.scrollY;
236
+ if (o && o.parentNode && o.parentNode instanceof Element ? o.parentNode.insertBefore(e, o) : a && a.parentNode ? a.parentNode.appendChild(e) : (i = P(e)) == null || i.appendChild(e), !F(e)) return V(e);
237
+ let [l, u, p, h] = W(e), g = N(e), _ = t.get(e);
238
+ (s !== d || c !== f) && U(e, s, c, g);
239
+ let v, y = {
240
+ position: "absolute",
241
+ top: `${l}px`,
242
+ left: `${u}px`,
243
+ width: `${p}px`,
244
+ height: `${h}px`,
245
+ margin: "0",
246
+ pointerEvents: "none",
247
+ transformOrigin: "center",
248
+ zIndex: "100"
249
+ };
250
+ if (!R(g)) Object.assign(e.style, y), v = e.animate([{
251
+ transform: "scale(1)",
252
+ opacity: 1
253
+ }, {
254
+ transform: "scale(.98)",
255
+ opacity: 0
256
+ }], {
257
+ duration: g.duration,
258
+ easing: "ease-out"
259
+ });
260
+ else {
261
+ let [t, n] = L(g(e, "remove", _));
262
+ n?.styleReset !== !1 && (y = n?.styleReset || y, Object.assign(e.style, y)), v = new Animation(t), v.play();
263
+ }
264
+ r.set(e, v), v.addEventListener("finish", () => V(e, y), { once: !0 });
265
+ }
266
+ function U(e, t, n, r) {
267
+ let i = d - t, a = f - n, o = document.documentElement.style.scrollBehavior;
268
+ if (getComputedStyle(u).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + i, window.scrollY + a), !e.parentElement) return;
269
+ let s = e.parentElement, c = s.clientHeight, l = s.clientWidth, p = performance.now();
270
+ function m() {
271
+ requestAnimationFrame(() => {
272
+ if (!R(r)) {
273
+ let e = c - s.clientHeight, t = l - s.clientWidth;
274
+ p + r.duration > performance.now() ? (window.scrollTo({
275
+ left: window.scrollX - t,
276
+ top: window.scrollY - e
277
+ }), c = s.clientHeight, l = s.clientWidth, m()) : document.documentElement.style.scrollBehavior = o;
278
+ }
279
+ });
280
+ }
281
+ m();
282
+ }
283
+ function W(e) {
284
+ let n = t.get(e), [i, , a] = M(e, n, j(e)), o = e.parentElement;
285
+ for (; o && (getComputedStyle(o).position === "static" || o instanceof HTMLBodyElement);) o = o.parentElement;
286
+ o ||= document.body;
287
+ let s = getComputedStyle(o), c = !r.has(e) || r.get(e)?.playState === "finished" ? j(o) : t.get(o);
288
+ return [
289
+ Math.round(n.top - c.top) - k(s.borderTopWidth),
290
+ Math.round(n.left - c.left) - k(s.borderLeftWidth),
291
+ i,
292
+ a
293
+ ];
294
+ }
295
+ function G(u, d = {}) {
296
+ if (T && w && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !R(d) && !d.disrespectUserMotionPreference)) {
297
+ l.add(u), getComputedStyle(u).position === "static" && Object.assign(u.style, { position: "relative" }), I(u, b, S, (e) => w?.observe(e)), R(d) ? s.set(u, d) : s.set(u, {
298
+ duration: 250,
299
+ easing: "ease-in-out",
300
+ ...d
301
+ });
302
+ let t = new MutationObserver(g);
303
+ t.observe(u, { childList: !0 }), a.set(u, t), e.add(u);
304
+ }
305
+ return Object.freeze({
306
+ parent: u,
307
+ enable: () => {
308
+ l.add(u);
309
+ },
310
+ disable: () => {
311
+ l.delete(u), I(u, (e) => {
312
+ let t = r.get(e);
313
+ try {
314
+ t?.cancel();
315
+ } catch {}
316
+ r.delete(e);
317
+ let n = c.get(e);
318
+ n && clearTimeout(n), c.delete(e);
319
+ let i = o.get(e);
320
+ i && clearInterval(i), o.delete(e);
321
+ });
322
+ },
323
+ isEnabled: () => l.has(u),
324
+ destroy: () => {
325
+ l.delete(u), e.delete(u), s.delete(u), a.get(u)?.disconnect(), a.delete(u), I(u, (e) => {
326
+ w?.unobserve(e);
327
+ let a = r.get(e);
328
+ try {
329
+ a?.cancel();
330
+ } catch {}
331
+ r.delete(e), i.get(e)?.disconnect(), i.delete(e);
332
+ let s = o.get(e);
333
+ s && clearInterval(s), o.delete(e);
334
+ let l = c.get(e);
335
+ l && clearTimeout(l), c.delete(e), t.delete(e), n.delete(e);
336
+ });
337
+ }
338
+ });
339
+ }
340
+ //#endregion
341
+ export { G as t };