rappel-ui 1.0.14 → 1.0.16
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.
- package/cjs/_virtual/_rolldown/runtime.js +1 -1
- package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/colors/src/primary-color.vue.d.ts +4 -1
- package/cjs/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/colors/src/secondary-color.vue.d.ts +7 -1
- package/cjs/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/filter-panel/index.d.ts +9 -9
- package/cjs/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
- package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/popconfirm/index.d.ts +28 -5
- package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +19 -4
- package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/popover/index.d.ts +19 -3
- package/cjs/components/popover/src/popover.vue.d.ts +10 -1
- package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
- package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/tooltip/src/use-tooltip.js +1 -1
- package/cjs/composables/use-theme/index.js +1 -1
- package/cjs/index.d.ts +72 -19
- package/cjs/index.js +1 -1
- package/cjs/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
- package/cjs/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
- package/cjs/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js +1 -0
- package/cjs/svg-icons/constants.js +1 -0
- package/cjs/svg-icons/dist/es/index.js +1 -1
- package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
- package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/composables/use-theme/index.js +1 -1
- package/cjs/svg-icons/index.js +1 -0
- package/cjs/utils/util.d.ts +8 -7
- package/cjs/utils/util.js +1 -1
- package/es/_virtual/_rolldown/runtime.mjs +2 -2
- package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/colors/src/colors.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.mjs +6 -4
- package/es/components/colors/src/primary-color.vue.d.ts +4 -1
- package/es/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.mjs +30 -21
- package/es/components/colors/src/secondary-color.vue.d.ts +7 -1
- package/es/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.mjs +50 -31
- package/es/components/filter-panel/index.d.ts +9 -9
- package/es/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
- package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +4 -6
- package/es/components/index.mjs +1 -1
- package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/popconfirm/index.d.ts +28 -5
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +19 -4
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +63 -49
- package/es/components/popover/index.d.ts +19 -3
- package/es/components/popover/src/popover.vue.d.ts +10 -1
- package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +27 -22
- package/es/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
- package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/tabs/src/tabs.mjs +1 -1
- package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +3 -3
- package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +4 -4
- package/es/components/tooltip/src/use-tooltip.mjs +8 -15
- package/es/composables/use-theme/index.mjs +2 -2
- package/es/composables/use-time-nodes/index.mjs +1 -1
- package/es/index.d.ts +72 -19
- package/es/index.mjs +35 -35
- package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
- package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +2 -2
- package/es/node_modules/.pnpm/{@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_ → @vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_}/node_modules/@vueuse/core/dist/index.mjs +114 -112
- package/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +136 -0
- package/es/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs +90 -0
- package/es/svg-icons/constants.mjs +114 -0
- package/es/svg-icons/dist/es/index.mjs +19 -47
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +273 -0
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +88 -0
- package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/svg-icons/dist/es/packages/composables/use-theme/index.mjs +1 -1
- package/es/svg-icons/index.mjs +77 -0
- package/es/utils/util.d.ts +8 -7
- package/es/utils/util.mjs +4 -4
- package/package.json +1 -1
- package/theme-chalk/base.css +1 -231
- package/theme-chalk/index.css +1 -1271
- package/theme-chalk/re-button-group.css +1 -68
- package/theme-chalk/re-button.css +1 -810
- package/theme-chalk/re-colors.css +1 -87
- package/theme-chalk/re-filter-panel.css +1 -36
- package/theme-chalk/re-popconfirm.css +1 -47
- package/theme-chalk/re-popover.css +1 -31
- package/theme-chalk/re-svg-icon.css +1 -33
- package/theme-chalk/re-tooltip.css +1 -62
- package/theme-chalk/root-vars.css +1 -201
- package/theme-chalk/src/base.scss +3 -4
- package/theme-chalk/src/colors.scss +16 -0
- package/theme-chalk/src/css-vars/_colors.scss +7 -7
- package/theme-chalk/src/function/index.scss +8 -8
- package/theme-chalk/src/mixins/_button.scss +1 -1
- package/umd/index.css +1 -0
- package/umd/index.js +9 -9
- package/cjs/components/button/style/index.js +0 -1
- package/cjs/components/button-group/style/index.js +0 -1
- package/cjs/components/colors/style/index.js +0 -1
- package/cjs/components/filter-panel/style/index.js +0 -1
- package/cjs/components/svg-icon/style/index.js +0 -1
- package/cjs/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +0 -1
- package/cjs/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +0 -1
- package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +0 -1
- package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +0 -1
- package/cjs/theme-chalk/src/base.css +0 -1
- package/cjs/theme-chalk/src/button-group.css +0 -1
- package/cjs/theme-chalk/src/button.css +0 -1
- package/cjs/theme-chalk/src/colors.css +0 -1
- package/cjs/theme-chalk/src/filter-panel.css +0 -1
- package/cjs/theme-chalk/src/svg-icon.css +0 -1
- package/es/components/button/style/index.mjs +0 -2
- package/es/components/button-group/style/index.mjs +0 -2
- package/es/components/colors/style/index.mjs +0 -2
- package/es/components/filter-panel/style/index.mjs +0 -2
- package/es/components/svg-icon/style/index.mjs +0 -2
- package/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +0 -121
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +0 -275
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +0 -88
- package/es/theme-chalk/src/base.css +0 -1
- package/es/theme-chalk/src/button-group.css +0 -1
- package/es/theme-chalk/src/button.css +0 -1
- package/es/theme-chalk/src/colors.css +0 -1
- package/es/theme-chalk/src/filter-panel.css +0 -1
- package/es/theme-chalk/src/svg-icon.css +0 -1
- package/theme-chalk/css-vars/_button-group.css +0 -15
- package/theme-chalk/css-vars/_button.css +0 -15
- package/theme-chalk/css-vars/_colors.css +0 -33
- package/theme-chalk/css-vars/_popconfirm.css +0 -15
- package/theme-chalk/css-vars/_tooltip.css +0 -15
- package/theme-chalk/function/_button.css +0 -15
- package/theme-chalk/function/index.css +0 -15
- package/theme-chalk/mixins/_base.css +0 -15
- package/theme-chalk/mixins/_button.css +0 -18
- package/theme-chalk/mixins/_popconfirm.css +0 -18
- package/theme-chalk/mixins/_tooltip.css +0 -18
- package/theme-chalk/mixins/index.css +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bypassFilter as e, createFilterWrapper as t, debounceFilter as n, getLifeCycleTarget as r, injectLocal as i, isClient as a, isIOS as o, isObject as s, noop as c, notNullish as l, pausableFilter as u,
|
|
2
|
-
import { computed as
|
|
3
|
-
//#region node_modules/.pnpm/@vueuse+core@14.
|
|
1
|
+
import { bypassFilter as e, createFilterWrapper as t, debounceFilter as n, getLifeCycleTarget as r, injectLocal as i, isClient as a, isIOS as o, isObject as s, noop as c, notNullish as l, pausableFilter as u, pxValue as d, toArray as f, toRef as p, tryOnMounted as m, tryOnScopeDispose as h, useDebounceFn as g, useToggle as _, watchImmediate as v, watchPausable as y, watchWithFilter as b } from "../../../../../@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
|
|
2
|
+
import { computed as x, getCurrentInstance as S, hasInjectionContext as C, nextTick as w, onMounted as T, ref as E, shallowRef as D, toValue as O, unref as k, watch as A, watchEffect as j } from "vue";
|
|
3
|
+
//#region node_modules/.pnpm/@vueuse+core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
|
|
4
4
|
var M = a ? window : void 0;
|
|
5
5
|
a && window.document, a && window.navigator, a && window.location;
|
|
6
6
|
function N(e) {
|
|
@@ -9,27 +9,25 @@ function N(e) {
|
|
|
9
9
|
return (t = n == null ? void 0 : n.$el) == null ? n : t;
|
|
10
10
|
}
|
|
11
11
|
function P(...e) {
|
|
12
|
-
let t =
|
|
13
|
-
t.
|
|
14
|
-
}, r = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), i = S(() => {
|
|
15
|
-
let t = p(O(e[0])).filter((e) => e != null);
|
|
12
|
+
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = x(() => {
|
|
13
|
+
let t = f(O(e[0])).filter((e) => e != null);
|
|
16
14
|
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
17
|
-
})
|
|
18
|
-
|
|
15
|
+
});
|
|
16
|
+
return v(() => {
|
|
17
|
+
var t, r;
|
|
19
18
|
return [
|
|
20
|
-
(t = (
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
O(
|
|
19
|
+
(t = (r = n.value) == null ? void 0 : r.map((e) => N(e))) == null ? [M].filter((e) => e != null) : t,
|
|
20
|
+
f(O(n.value ? e[1] : e[0])),
|
|
21
|
+
f(k(n.value ? e[2] : e[1])),
|
|
22
|
+
O(n.value ? e[3] : e[2])
|
|
24
23
|
];
|
|
25
|
-
}, ([e, i, a, o
|
|
26
|
-
if (
|
|
27
|
-
let c = s(
|
|
28
|
-
|
|
24
|
+
}, ([e, n, r, i], a, o) => {
|
|
25
|
+
if (!(e != null && e.length) || !(n != null && n.length) || !(r != null && r.length)) return;
|
|
26
|
+
let c = s(i) ? { ...i } : i, l = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, c))));
|
|
27
|
+
o(() => {
|
|
28
|
+
l.forEach((e) => e());
|
|
29
|
+
});
|
|
29
30
|
}, { flush: "post" });
|
|
30
|
-
return g(n), () => {
|
|
31
|
-
a(), n();
|
|
32
|
-
};
|
|
33
31
|
}
|
|
34
32
|
var F = !1;
|
|
35
33
|
function I(e, t, n = {}) {
|
|
@@ -83,9 +81,9 @@ function I(e, t, n = {}) {
|
|
|
83
81
|
}, { passive: !0 }),
|
|
84
82
|
s && P(r, "blur", (n) => {
|
|
85
83
|
setTimeout(() => {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
(
|
|
84
|
+
let i = N(e), a = r.document.activeElement;
|
|
85
|
+
for (; a != null && a.shadowRoot;) a = a.shadowRoot.activeElement;
|
|
86
|
+
(a == null ? void 0 : a.tagName) === "IFRAME" && !(i != null && i.contains(r.document.activeElement)) && t(n);
|
|
89
87
|
}, 0);
|
|
90
88
|
}, { passive: !0 })
|
|
91
89
|
].filter(Boolean), _ = () => g.forEach((e) => e());
|
|
@@ -100,21 +98,20 @@ function I(e, t, n = {}) {
|
|
|
100
98
|
} : _;
|
|
101
99
|
}
|
|
102
100
|
function L() {
|
|
103
|
-
let e = D(!1), t =
|
|
104
|
-
return t &&
|
|
101
|
+
let e = D(!1), t = S();
|
|
102
|
+
return t && T(() => {
|
|
105
103
|
e.value = !0;
|
|
106
104
|
}, t), e;
|
|
107
105
|
}
|
|
108
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
109
106
|
function R(e) {
|
|
110
107
|
let t = L();
|
|
111
|
-
return
|
|
108
|
+
return x(() => (t.value, !!e()));
|
|
112
109
|
}
|
|
113
110
|
function z(e, t, n = {}) {
|
|
114
|
-
let { window: r = M, ...i } = n, a, o =
|
|
111
|
+
let { window: r = M, ...i } = n, a, o = R(() => r && "MutationObserver" in r), s = () => {
|
|
115
112
|
a && (a.disconnect(), a = void 0);
|
|
116
|
-
}, c = A(
|
|
117
|
-
let t =
|
|
113
|
+
}, c = A(x(() => {
|
|
114
|
+
let t = f(O(e)).map(N).filter(l);
|
|
118
115
|
return new Set(t);
|
|
119
116
|
}), (e) => {
|
|
120
117
|
s(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
|
|
@@ -124,7 +121,7 @@ function z(e, t, n = {}) {
|
|
|
124
121
|
}), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
|
|
125
122
|
c(), s();
|
|
126
123
|
};
|
|
127
|
-
return
|
|
124
|
+
return h(d), {
|
|
128
125
|
isSupported: o,
|
|
129
126
|
stop: d,
|
|
130
127
|
takeRecords: u
|
|
@@ -150,40 +147,41 @@ function B(e, t, n = {}) {
|
|
|
150
147
|
}, { flush: a }), u = () => {
|
|
151
148
|
l(), s();
|
|
152
149
|
};
|
|
153
|
-
return
|
|
150
|
+
return h(u), u;
|
|
154
151
|
}
|
|
155
|
-
var
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
let e = w() ? i(V, null) : null;
|
|
152
|
+
var ee = Symbol("vueuse-ssr-width");
|
|
153
|
+
function V() {
|
|
154
|
+
let e = C() ? i(ee, null) : null;
|
|
159
155
|
return typeof e == "number" ? e : void 0;
|
|
160
156
|
}
|
|
161
|
-
function
|
|
162
|
-
let { window: n = M, ssrWidth: r =
|
|
157
|
+
function H(e, t = {}) {
|
|
158
|
+
let { window: n = M, ssrWidth: r = V() } = t, i = R(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = D(typeof r == "number"), o = D(), s = D(!1);
|
|
163
159
|
return j(() => {
|
|
164
160
|
if (a.value) {
|
|
165
|
-
a.value = !i.value
|
|
161
|
+
a.value = !i.value;
|
|
162
|
+
let t = O(e).split(",");
|
|
163
|
+
s.value = t.some((e) => {
|
|
166
164
|
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
|
|
167
|
-
return n && a && (a = r >=
|
|
165
|
+
return n && a && (a = r >= d(n[1])), i && a && (a = r <= d(i[1])), t ? !a : a;
|
|
168
166
|
});
|
|
169
167
|
return;
|
|
170
168
|
}
|
|
171
169
|
i.value && (o.value = n.matchMedia(O(e)), s.value = o.value.matches);
|
|
172
170
|
}), P(o, "change", (e) => {
|
|
173
171
|
s.value = e.matches;
|
|
174
|
-
}, { passive: !0 }),
|
|
172
|
+
}, { passive: !0 }), x(() => s.value);
|
|
175
173
|
}
|
|
176
|
-
var
|
|
177
|
-
function
|
|
178
|
-
return
|
|
174
|
+
var U = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, W = "__vueuse_ssr_handlers__", G = K();
|
|
175
|
+
function K() {
|
|
176
|
+
return W in U || (U[W] = U[W] || {}), U[W];
|
|
179
177
|
}
|
|
180
178
|
function q(e, t) {
|
|
181
|
-
return
|
|
179
|
+
return G[e] || t;
|
|
182
180
|
}
|
|
183
181
|
function J(e) {
|
|
184
|
-
return
|
|
182
|
+
return H("(prefers-color-scheme: dark)", e);
|
|
185
183
|
}
|
|
186
|
-
function
|
|
184
|
+
function te(e) {
|
|
187
185
|
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
188
186
|
}
|
|
189
187
|
var Y = {
|
|
@@ -222,102 +220,102 @@ var Y = {
|
|
|
222
220
|
}, X = "vueuse-storage";
|
|
223
221
|
function Z(e, t, n, r = {}) {
|
|
224
222
|
var i;
|
|
225
|
-
let { flush: a = "pre", deep: o = !0, listenToStorageChanges: s = !0, writeDefaults: c = !0, mergeDefaults: l = !1, shallow: u, window:
|
|
223
|
+
let { flush: a = "pre", deep: o = !0, listenToStorageChanges: s = !0, writeDefaults: c = !0, mergeDefaults: l = !1, shallow: u, window: d = M, eventFilter: f, onError: p = (e) => {
|
|
226
224
|
console.error(e);
|
|
227
|
-
}, initOnMounted:
|
|
225
|
+
}, initOnMounted: h } = r, g = (u ? D : E)(typeof t == "function" ? t() : t), _ = x(() => O(e));
|
|
228
226
|
if (!n) try {
|
|
229
227
|
n = q("getDefaultStorage", () => M == null ? void 0 : M.localStorage)();
|
|
230
228
|
} catch (e) {
|
|
231
|
-
|
|
229
|
+
p(e);
|
|
232
230
|
}
|
|
233
|
-
if (!n) return
|
|
234
|
-
let
|
|
231
|
+
if (!n) return g;
|
|
232
|
+
let v = O(t), b = te(v), S = (i = r.serializer) == null ? Y[b] : i, { pause: C, resume: T } = y(g, (e) => N(e), {
|
|
235
233
|
flush: a,
|
|
236
234
|
deep: o,
|
|
237
|
-
eventFilter:
|
|
235
|
+
eventFilter: f
|
|
238
236
|
});
|
|
239
|
-
A(
|
|
240
|
-
let
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}, { passive: !0 }) : P(
|
|
244
|
-
|
|
245
|
-
})),
|
|
246
|
-
|
|
247
|
-
}) :
|
|
248
|
-
function
|
|
249
|
-
if (
|
|
237
|
+
A(_, () => I(), { flush: a });
|
|
238
|
+
let k = !1;
|
|
239
|
+
d && s && (n instanceof Storage ? P(d, "storage", (e) => {
|
|
240
|
+
h && !k || I(e);
|
|
241
|
+
}, { passive: !0 }) : P(d, X, (e) => {
|
|
242
|
+
h && !k || L(e);
|
|
243
|
+
})), h ? m(() => {
|
|
244
|
+
k = !0, I();
|
|
245
|
+
}) : I();
|
|
246
|
+
function j(e, t) {
|
|
247
|
+
if (d) {
|
|
250
248
|
let r = {
|
|
251
|
-
key:
|
|
249
|
+
key: _.value,
|
|
252
250
|
oldValue: e,
|
|
253
251
|
newValue: t,
|
|
254
252
|
storageArea: n
|
|
255
253
|
};
|
|
256
|
-
|
|
254
|
+
d.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(X, { detail: r }));
|
|
257
255
|
}
|
|
258
256
|
}
|
|
259
|
-
function
|
|
257
|
+
function N(e) {
|
|
260
258
|
try {
|
|
261
|
-
let t = n.getItem(
|
|
262
|
-
if (e == null)
|
|
259
|
+
let t = n.getItem(_.value);
|
|
260
|
+
if (e == null) j(t, null), n.removeItem(_.value);
|
|
263
261
|
else {
|
|
264
|
-
let r =
|
|
265
|
-
t !== r && (n.setItem(
|
|
262
|
+
let r = S.write(e);
|
|
263
|
+
t !== r && (n.setItem(_.value, r), j(t, r));
|
|
266
264
|
}
|
|
267
265
|
} catch (e) {
|
|
268
|
-
|
|
266
|
+
p(e);
|
|
269
267
|
}
|
|
270
268
|
}
|
|
271
|
-
function
|
|
272
|
-
let t = e ? e.newValue : n.getItem(
|
|
273
|
-
if (t == null) return c &&
|
|
269
|
+
function F(e) {
|
|
270
|
+
let t = e ? e.newValue : n.getItem(_.value);
|
|
271
|
+
if (t == null) return c && v != null && n.setItem(_.value, S.write(v)), v;
|
|
274
272
|
if (!e && l) {
|
|
275
|
-
let e =
|
|
276
|
-
return typeof l == "function" ? l(e,
|
|
277
|
-
...
|
|
273
|
+
let e = S.read(t);
|
|
274
|
+
return typeof l == "function" ? l(e, v) : b === "object" && !Array.isArray(e) ? {
|
|
275
|
+
...v,
|
|
278
276
|
...e
|
|
279
277
|
} : e;
|
|
280
278
|
} else if (typeof t != "string") return t;
|
|
281
|
-
else return
|
|
279
|
+
else return S.read(t);
|
|
282
280
|
}
|
|
283
|
-
function
|
|
281
|
+
function I(e) {
|
|
284
282
|
if (!(e && e.storageArea !== n)) {
|
|
285
283
|
if (e && e.key == null) {
|
|
286
|
-
|
|
284
|
+
g.value = v;
|
|
287
285
|
return;
|
|
288
286
|
}
|
|
289
|
-
if (!(e && e.key !==
|
|
287
|
+
if (!(e && e.key !== _.value)) {
|
|
290
288
|
C();
|
|
291
289
|
try {
|
|
292
|
-
let t =
|
|
293
|
-
(e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (
|
|
290
|
+
let t = S.write(g.value);
|
|
291
|
+
(e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (g.value = F(e));
|
|
294
292
|
} catch (e) {
|
|
295
|
-
|
|
293
|
+
p(e);
|
|
296
294
|
} finally {
|
|
297
|
-
e ? T
|
|
295
|
+
e ? w(T) : T();
|
|
298
296
|
}
|
|
299
297
|
}
|
|
300
298
|
}
|
|
301
299
|
}
|
|
302
|
-
function
|
|
303
|
-
|
|
300
|
+
function L(e) {
|
|
301
|
+
I(e.detail);
|
|
304
302
|
}
|
|
305
|
-
return
|
|
303
|
+
return g;
|
|
306
304
|
}
|
|
307
|
-
var
|
|
305
|
+
var ne = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
|
|
308
306
|
function Q(e = {}) {
|
|
309
307
|
let { selector: t = "html", attribute: n = "class", initialValue: r = "auto", window: i = M, storage: a, storageKey: o = "vueuse-color-scheme", listenToStorageChanges: s = !0, storageRef: c, emitAuto: l, disableTransition: u = !0 } = e, d = {
|
|
310
308
|
auto: "",
|
|
311
309
|
light: "light",
|
|
312
310
|
dark: "dark",
|
|
313
311
|
...e.modes || {}
|
|
314
|
-
}, f = J({ window: i }),
|
|
312
|
+
}, f = J({ window: i }), h = x(() => f.value ? "dark" : "light"), g = c || (o == null ? p(r) : Z(o, r, a, {
|
|
315
313
|
window: i,
|
|
316
314
|
listenToStorageChanges: s
|
|
317
|
-
})), _ =
|
|
315
|
+
})), _ = x(() => g.value === "auto" ? h.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
|
|
318
316
|
let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : N(e);
|
|
319
317
|
if (!r) return;
|
|
320
|
-
let a =
|
|
318
|
+
let a = new Set(), o = new Set(), s = null;
|
|
321
319
|
if (t === "class") {
|
|
322
320
|
let e = n.split(/\s/g);
|
|
323
321
|
Object.values(d).flatMap((e) => (e || "").split(/\s/g)).filter(Boolean).forEach((t) => {
|
|
@@ -329,7 +327,7 @@ function Q(e = {}) {
|
|
|
329
327
|
};
|
|
330
328
|
if (a.size === 0 && o.size === 0 && s === null) return;
|
|
331
329
|
let c;
|
|
332
|
-
u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(
|
|
330
|
+
u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(ne)), i.document.head.appendChild(c));
|
|
333
331
|
for (let e of a) r.classList.add(e);
|
|
334
332
|
for (let e of o) r.classList.remove(e);
|
|
335
333
|
s && r.setAttribute(s.key, s.value), u && (i.getComputedStyle(c).opacity, document.head.removeChild(c));
|
|
@@ -344,8 +342,8 @@ function Q(e = {}) {
|
|
|
344
342
|
A(_, b, {
|
|
345
343
|
flush: "post",
|
|
346
344
|
immediate: !0
|
|
347
|
-
}),
|
|
348
|
-
let
|
|
345
|
+
}), m(() => b(_.value));
|
|
346
|
+
let S = x({
|
|
349
347
|
get() {
|
|
350
348
|
return l ? g.value : _.value;
|
|
351
349
|
},
|
|
@@ -353,13 +351,13 @@ function Q(e = {}) {
|
|
|
353
351
|
g.value = e;
|
|
354
352
|
}
|
|
355
353
|
});
|
|
356
|
-
return Object.assign(
|
|
354
|
+
return Object.assign(S, {
|
|
357
355
|
store: g,
|
|
358
|
-
system:
|
|
356
|
+
system: h,
|
|
359
357
|
state: _
|
|
360
358
|
});
|
|
361
359
|
}
|
|
362
|
-
function
|
|
360
|
+
function re(e = {}) {
|
|
363
361
|
let { valueDark: t = "dark", valueLight: n = "" } = e, r = Q({
|
|
364
362
|
...e,
|
|
365
363
|
onChanged: (t, n) => {
|
|
@@ -370,8 +368,8 @@ function ie(e = {}) {
|
|
|
370
368
|
dark: t,
|
|
371
369
|
light: n
|
|
372
370
|
}
|
|
373
|
-
}), i =
|
|
374
|
-
return
|
|
371
|
+
}), i = x(() => r.system.value);
|
|
372
|
+
return x({
|
|
375
373
|
get() {
|
|
376
374
|
return r.value === "dark";
|
|
377
375
|
},
|
|
@@ -382,9 +380,9 @@ function ie(e = {}) {
|
|
|
382
380
|
});
|
|
383
381
|
}
|
|
384
382
|
function $(e, t, n = {}) {
|
|
385
|
-
let { window: r = M, ...i } = n, a, o =
|
|
383
|
+
let { window: r = M, ...i } = n, a, o = R(() => r && "ResizeObserver" in r), s = () => {
|
|
386
384
|
a && (a.disconnect(), a = void 0);
|
|
387
|
-
}, c = A(
|
|
385
|
+
}, c = A(x(() => {
|
|
388
386
|
let t = O(e);
|
|
389
387
|
return Array.isArray(t) ? t.map((e) => N(e)) : [N(t)];
|
|
390
388
|
}), (e) => {
|
|
@@ -398,23 +396,23 @@ function $(e, t, n = {}) {
|
|
|
398
396
|
}), l = () => {
|
|
399
397
|
s(), c();
|
|
400
398
|
};
|
|
401
|
-
return
|
|
399
|
+
return h(l), {
|
|
402
400
|
isSupported: o,
|
|
403
401
|
stop: l
|
|
404
402
|
};
|
|
405
403
|
}
|
|
406
|
-
function
|
|
404
|
+
function ie(e, t = {}) {
|
|
407
405
|
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = M } = t, o = D(!1), s, c = (e) => {
|
|
408
406
|
let t = e ? n : r;
|
|
409
407
|
s && (clearTimeout(s), s = void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
|
|
410
408
|
};
|
|
411
|
-
return a ? (P(e, "mouseenter", () => c(!0), { passive: !0 }), P(e, "mouseleave", () => c(!1), { passive: !0 }), i && B(
|
|
409
|
+
return a ? (P(e, "mouseenter", () => c(!0), { passive: !0 }), P(e, "mouseleave", () => c(!1), { passive: !0 }), i && B(x(() => N(e)), () => c(!1)), o) : o;
|
|
412
410
|
}
|
|
413
|
-
function
|
|
411
|
+
function ae(e, t = {
|
|
414
412
|
width: 0,
|
|
415
413
|
height: 0
|
|
416
414
|
}, n = {}) {
|
|
417
|
-
let { window: r = M, box: i = "content-box" } = n, a =
|
|
415
|
+
let { window: r = M, box: i = "content-box" } = n, a = x(() => {
|
|
418
416
|
var t;
|
|
419
417
|
return (t = N(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
|
|
420
418
|
}), o = D(t.width), s = D(t.height), { stop: c } = $(e, ([t]) => {
|
|
@@ -426,13 +424,17 @@ function oe(e, t = {
|
|
|
426
424
|
o.value = e.width, s.value = e.height;
|
|
427
425
|
}
|
|
428
426
|
} else if (n) {
|
|
429
|
-
let e =
|
|
427
|
+
let e = f(n);
|
|
430
428
|
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
431
429
|
} else o.value = t.contentRect.width, s.value = t.contentRect.height;
|
|
432
430
|
}, n);
|
|
433
|
-
|
|
431
|
+
m(() => {
|
|
434
432
|
let n = N(e);
|
|
435
|
-
n &&
|
|
433
|
+
if (n && "offsetWidth" in n) if (i === "content-box" && r) {
|
|
434
|
+
let e = r.getComputedStyle(n), t = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight), i = Number.parseFloat(e.paddingTop) + Number.parseFloat(e.paddingBottom), a = Number.parseFloat(e.borderLeftWidth) + Number.parseFloat(e.borderRightWidth), c = Number.parseFloat(e.borderTopWidth) + Number.parseFloat(e.borderBottomWidth);
|
|
435
|
+
o.value = n.offsetWidth - t - a, s.value = n.offsetHeight - i - c;
|
|
436
|
+
} else o.value = n.offsetWidth, s.value = n.offsetHeight;
|
|
437
|
+
else n && (o.value = t.width, s.value = t.height);
|
|
436
438
|
});
|
|
437
439
|
let l = A(() => N(e), (e) => {
|
|
438
440
|
o.value = e ? t.width : 0, s.value = e ? t.height : 0;
|
|
@@ -447,4 +449,4 @@ function oe(e, t = {
|
|
|
447
449
|
};
|
|
448
450
|
}
|
|
449
451
|
//#endregion
|
|
450
|
-
export { Y as StorageSerializers, e as bypassFilter, t as createFilterWrapper, X as customStorageEventName, n as debounceFilter, M as defaultWindow, r as getLifeCycleTarget, q as getSSRHandler, i as injectLocal, a as isClient, o as isIOS, s as isObject, c as noop, l as notNullish, I as onClickOutside, B as onElementRemoval, u as pausableFilter, d as
|
|
452
|
+
export { Y as StorageSerializers, e as bypassFilter, t as createFilterWrapper, X as customStorageEventName, n as debounceFilter, M as defaultWindow, r as getLifeCycleTarget, q as getSSRHandler, i as injectLocal, a as isClient, o as isIOS, s as isObject, c as noop, l as notNullish, I as onClickOutside, B as onElementRemoval, u as pausableFilter, d as pxValue, f as toArray, p as toRef, m as tryOnMounted, h as tryOnScopeDispose, N as unrefElement, Q as useColorMode, re as useDark, g as useDebounceFn, ie as useElementHover, ae as useElementSize, P as useEventListener, H as useMediaQuery, L as useMounted, z as useMutationObserver, J as usePreferredDark, $ as useResizeObserver, V as useSSRWidth, Z as useStorage, R as useSupported, _ as useToggle, v as watchImmediate, y as watchPausable, b as watchWithFilter };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { customRef as e, getCurrentInstance as t, getCurrentScope as n, hasInjectionContext as r, inject as i, isRef as a, nextTick as o, onMounted as s, onScopeDispose as c, readonly as l, ref as u, shallowReadonly as d, shallowRef as f, toRef as p, toValue as m, watch as h } from "vue";
|
|
2
|
+
//#region node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
|
+
function g(e, t) {
|
|
4
|
+
return n() ? (c(e, t), !0) : !1;
|
|
5
|
+
}
|
|
6
|
+
var _ = new WeakMap(), v = (...e) => {
|
|
7
|
+
var a;
|
|
8
|
+
let o = e[0], s = (a = t()) == null ? void 0 : a.proxy, c = s == null ? n() : s;
|
|
9
|
+
if (c == null && !r()) throw Error("injectLocal must be called in setup");
|
|
10
|
+
return c && _.has(c) && o in _.get(c) ? _.get(c)[o] : i(...e);
|
|
11
|
+
}, y = typeof window < "u" && typeof document < "u";
|
|
12
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
13
|
+
var b = (e) => e != null, x = Object.prototype.toString, S = (e) => x.call(e) === "[object Object]", C = () => {}, w = T();
|
|
14
|
+
function T() {
|
|
15
|
+
var e, t, n;
|
|
16
|
+
return y && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test((n = window) == null ? void 0 : n.navigator.userAgent));
|
|
17
|
+
}
|
|
18
|
+
function E(...t) {
|
|
19
|
+
if (t.length !== 1) return p(...t);
|
|
20
|
+
let n = t[0];
|
|
21
|
+
return typeof n == "function" ? l(e(() => ({
|
|
22
|
+
get: n,
|
|
23
|
+
set: C
|
|
24
|
+
}))) : u(n);
|
|
25
|
+
}
|
|
26
|
+
function D(e, t) {
|
|
27
|
+
function n(...n) {
|
|
28
|
+
return new Promise((r, i) => {
|
|
29
|
+
Promise.resolve(e(() => t.apply(this, n), {
|
|
30
|
+
fn: t,
|
|
31
|
+
thisArg: this,
|
|
32
|
+
args: n
|
|
33
|
+
})).then(r).catch(i);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return "cancel" in e && Object.assign(n, {
|
|
37
|
+
cancel: e.cancel,
|
|
38
|
+
flush: e.flush,
|
|
39
|
+
isPending: e.isPending
|
|
40
|
+
}), n;
|
|
41
|
+
}
|
|
42
|
+
var O = (e) => e();
|
|
43
|
+
function k(e, t = {}) {
|
|
44
|
+
let n, r, i = C, a = C, o = f(!1), s = (e) => {
|
|
45
|
+
clearTimeout(e), i(), i = C;
|
|
46
|
+
}, c;
|
|
47
|
+
return Object.assign((l) => {
|
|
48
|
+
let u = m(e), d = m(t.maxWait);
|
|
49
|
+
return n && s(n), u <= 0 || d !== void 0 && d <= 0 ? (r && (s(r), r = void 0), o.value = !1, Promise.resolve(l())) : (o.value = !0, new Promise((e, f) => {
|
|
50
|
+
i = t.rejectOnCancel ? f : e, a = e, c = l, d && !r && (r = setTimeout(() => {
|
|
51
|
+
n && s(n), r = void 0, o.value = !1, e(c());
|
|
52
|
+
}, d)), n = setTimeout(() => {
|
|
53
|
+
r && s(r), r = void 0, o.value = !1, e(l());
|
|
54
|
+
}, u);
|
|
55
|
+
}));
|
|
56
|
+
}, {
|
|
57
|
+
cancel: () => {
|
|
58
|
+
n && (s(n), n = void 0), r && (s(r), r = void 0), o.value = !1, a = C;
|
|
59
|
+
},
|
|
60
|
+
flush: () => {
|
|
61
|
+
if (o.value) {
|
|
62
|
+
n && (clearTimeout(n), n = void 0), r && (clearTimeout(r), r = void 0), o.value = !1;
|
|
63
|
+
let e = a;
|
|
64
|
+
i = C, a = C, e(c());
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
isPending: d(o)
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function A(e = O, t = {}) {
|
|
71
|
+
let { initialState: n = "active" } = t, r = E(n === "active");
|
|
72
|
+
function i() {
|
|
73
|
+
r.value = !1;
|
|
74
|
+
}
|
|
75
|
+
function a() {
|
|
76
|
+
r.value = !0;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
isActive: d(r),
|
|
80
|
+
pause: i,
|
|
81
|
+
resume: a,
|
|
82
|
+
eventFilter: (...t) => {
|
|
83
|
+
r.value && e(...t);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function j(e) {
|
|
88
|
+
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
89
|
+
}
|
|
90
|
+
function M(e) {
|
|
91
|
+
return Array.isArray(e) ? e : [e];
|
|
92
|
+
}
|
|
93
|
+
function N(e) {
|
|
94
|
+
return e || t();
|
|
95
|
+
}
|
|
96
|
+
function P(e, t = 200, n = {}) {
|
|
97
|
+
return D(k(t, n), e);
|
|
98
|
+
}
|
|
99
|
+
function F(e, t, n = {}) {
|
|
100
|
+
let { eventFilter: r = O, ...i } = n;
|
|
101
|
+
return h(e, D(r, t), i);
|
|
102
|
+
}
|
|
103
|
+
function I(e, t, n = {}) {
|
|
104
|
+
let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = A(r, { initialState: i });
|
|
105
|
+
return {
|
|
106
|
+
stop: F(e, t, {
|
|
107
|
+
...a,
|
|
108
|
+
eventFilter: o
|
|
109
|
+
}),
|
|
110
|
+
pause: s,
|
|
111
|
+
resume: c,
|
|
112
|
+
isActive: l
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
function L(e, t = !0, n) {
|
|
116
|
+
N(n) ? s(e, n) : t ? e() : o(e);
|
|
117
|
+
}
|
|
118
|
+
function R(e = !1, t = {}) {
|
|
119
|
+
let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = a(e), o = f(e);
|
|
120
|
+
function s(e) {
|
|
121
|
+
if (arguments.length) return o.value = e, o.value;
|
|
122
|
+
{
|
|
123
|
+
let e = m(n);
|
|
124
|
+
return o.value = o.value === e ? m(r) : e, o.value;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return i ? s : [o, s];
|
|
128
|
+
}
|
|
129
|
+
function z(e, t, n) {
|
|
130
|
+
return h(e, t, {
|
|
131
|
+
...n,
|
|
132
|
+
immediate: !0
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
export { O as bypassFilter, D as createFilterWrapper, k as debounceFilter, N as getLifeCycleTarget, v as injectLocal, y as isClient, w as isIOS, S as isObject, C as noop, b as notNullish, A as pausableFilter, j as pxValue, M as toArray, E as toRef, L as tryOnMounted, g as tryOnScopeDispose, P as useDebounceFn, R as useToggle, z as watchImmediate, I as watchPausable, F as watchWithFilter };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js
|
|
3
|
+
var t = e(((e, t) => {
|
|
4
|
+
var n = t.exports = {}, r, i;
|
|
5
|
+
function a() {
|
|
6
|
+
throw Error("setTimeout has not been defined");
|
|
7
|
+
}
|
|
8
|
+
function o() {
|
|
9
|
+
throw Error("clearTimeout has not been defined");
|
|
10
|
+
}
|
|
11
|
+
(function() {
|
|
12
|
+
try {
|
|
13
|
+
r = typeof setTimeout == "function" ? setTimeout : a;
|
|
14
|
+
} catch {
|
|
15
|
+
r = a;
|
|
16
|
+
}
|
|
17
|
+
try {
|
|
18
|
+
i = typeof clearTimeout == "function" ? clearTimeout : o;
|
|
19
|
+
} catch {
|
|
20
|
+
i = o;
|
|
21
|
+
}
|
|
22
|
+
})();
|
|
23
|
+
function s(e) {
|
|
24
|
+
if (r === setTimeout) return setTimeout(e, 0);
|
|
25
|
+
if ((r === a || !r) && setTimeout) return r = setTimeout, setTimeout(e, 0);
|
|
26
|
+
try {
|
|
27
|
+
return r(e, 0);
|
|
28
|
+
} catch {
|
|
29
|
+
try {
|
|
30
|
+
return r.call(null, e, 0);
|
|
31
|
+
} catch {
|
|
32
|
+
return r.call(this, e, 0);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function c(e) {
|
|
37
|
+
if (i === clearTimeout) return clearTimeout(e);
|
|
38
|
+
if ((i === o || !i) && clearTimeout) return i = clearTimeout, clearTimeout(e);
|
|
39
|
+
try {
|
|
40
|
+
return i(e);
|
|
41
|
+
} catch {
|
|
42
|
+
try {
|
|
43
|
+
return i.call(null, e);
|
|
44
|
+
} catch {
|
|
45
|
+
return i.call(this, e);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
var l = [], u = !1, d, f = -1;
|
|
50
|
+
function p() {
|
|
51
|
+
!u || !d || (u = !1, d.length ? l = d.concat(l) : f = -1, l.length && m());
|
|
52
|
+
}
|
|
53
|
+
function m() {
|
|
54
|
+
if (!u) {
|
|
55
|
+
var e = s(p);
|
|
56
|
+
u = !0;
|
|
57
|
+
for (var t = l.length; t;) {
|
|
58
|
+
for (d = l, l = []; ++f < t;) d && d[f].run();
|
|
59
|
+
f = -1, t = l.length;
|
|
60
|
+
}
|
|
61
|
+
d = null, u = !1, c(e);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
n.nextTick = function(e) {
|
|
65
|
+
var t = Array(arguments.length - 1);
|
|
66
|
+
if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
|
|
67
|
+
l.push(new h(e, t)), l.length === 1 && !u && s(m);
|
|
68
|
+
};
|
|
69
|
+
function h(e, t) {
|
|
70
|
+
this.fun = e, this.array = t;
|
|
71
|
+
}
|
|
72
|
+
h.prototype.run = function() {
|
|
73
|
+
this.fun.apply(null, this.array);
|
|
74
|
+
}, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", n.versions = {};
|
|
75
|
+
function g() {}
|
|
76
|
+
n.on = g, n.addListener = g, n.once = g, n.off = g, n.removeListener = g, n.removeAllListeners = g, n.emit = g, n.prependListener = g, n.prependOnceListener = g, n.listeners = function(e) {
|
|
77
|
+
return [];
|
|
78
|
+
}, n.binding = function(e) {
|
|
79
|
+
throw Error("process.binding is not supported");
|
|
80
|
+
}, n.cwd = function() {
|
|
81
|
+
return "/";
|
|
82
|
+
}, n.chdir = function(e) {
|
|
83
|
+
throw Error("process.chdir is not supported");
|
|
84
|
+
}, n.umask = function() {
|
|
85
|
+
return 0;
|
|
86
|
+
};
|
|
87
|
+
}));
|
|
88
|
+
//#endregion
|
|
89
|
+
export default t();
|
|
90
|
+
export { t as require_browser };
|