z-crud-table 0.0.67 → 0.0.68

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.
@@ -1,13 +1,13 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('.header-cell-content[data-v-d23c8660]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crud-table-container[data-v-80c59cb9]{display:flex;flex-direction:column;height:100%;width:100%;min-width:0;min-height:0;overflow:hidden}.search-section-wrapper[data-v-80c59cb9]{flex-shrink:0}.table-content-wrapper[data-v-80c59cb9]{flex:1;min-height:0;overflow:hidden}.pagination-wrapper[data-v-80c59cb9]{flex-shrink:0;padding-top:1rem;display:flex;justify-content:flex-end}[data-v-80c59cb9]::-webkit-scrollbar{width:8px;height:8px}[data-v-80c59cb9]::-webkit-scrollbar-track{background:transparent}[data-v-80c59cb9]::-webkit-scrollbar-thumb{background:#c0c4cc;border-radius:4px}[data-v-80c59cb9]::-webkit-scrollbar-thumb:hover{background:#909399}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.\\!mr-0{margin-right:0!important}.mt-2{margin-top:.5rem}.flex{display:flex}.hidden{display:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}body{background-color:#f0f2f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;margin:0}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50}.crud-container{transition:box-shadow .3s ease-in-out}.crud-container:hover{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.query-form .el-form-item{margin-bottom:0!important}.el-table__expanded-cell{padding:1rem 3.5rem!important;background-color:#f8fafc}.action-buttons>*+*{margin-left:.75rem}.el-dialog__header{border-bottom:none;padding:24px 24px 10px}.el-dialog__title{font-size:1.25rem;font-weight:600}.el-dialog__footer{border-top:none;padding:10px 24px 24px}.el-dialog__body{padding:10px 24px}:root{--large-screen-border-color: rgba(120, 153, 199, 1);--large-screen-text-color: rgba(227, 246, 255, 1);--large-screen-search-bg: rgba(210, 224, 243, .1);--large-screen-button-bg: rgba(38, 120, 255, 1);--large-screen-action-link-color: rgba(39, 233, 255, 1);--large-screen-dialog-bg: #1e293b;--large-screen-hover-bg: rgba(120, 153, 199, .15)}.theme-large-screen{color:var(--large-screen-text-color)}.el-modal-dialog,.el-overlay-dialog{position:absolute!important}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { defineComponent as ze, createElementBlock as ae, openBlock as $, createElementVNode as oe, ref as Ee, resolveComponent as z, createBlock as N, mergeProps as he, withCtx as I, createVNode as ee, Fragment as qe, renderList as We, createCommentVNode as H, createTextVNode as ue, toDisplayString as Ie, createSlots as nn, getCurrentScope as An, onScopeDispose as On, computed as $e, toValue as on, watch as Hr, shallowRef as Pn, getCurrentInstance as En, onMounted as Qr, reactive as ut, toRaw as Rn, resolveDirective as Fn, normalizeClass as xn, renderSlot as ne, withDirectives as Dn, unref as Cn } from "vue";
3
- import { ElMessage as Oe, ElMessageBox as kn } from "element-plus";
4
- import Bn from "axios";
2
+ import { defineComponent as ze, createElementBlock as ae, openBlock as q, createElementVNode as oe, ref as Ee, resolveComponent as G, createBlock as N, mergeProps as he, withCtx as T, createVNode as ee, Fragment as qe, renderList as We, createCommentVNode as Q, createTextVNode as ue, toDisplayString as Ie, createSlots as nn, getCurrentScope as _n, onScopeDispose as Pn, computed as $e, toValue as on, watch as Hr, shallowRef as On, getCurrentInstance as En, onMounted as Qr, reactive as ut, toRaw as Rn, resolveDirective as Fn, normalizeClass as xn, renderSlot as ne, withDirectives as Dn, unref as Cn } from "vue";
3
+ import { ElMessage as Pe, ElMessageBox as Bn } from "element-plus";
4
+ import kn from "axios";
5
5
  /*! Element Plus Icons Vue v2.3.2 */
6
6
  var $n = /* @__PURE__ */ ze({
7
7
  name: "ArrowLeftBold",
8
8
  __name: "arrow-left-bold",
9
9
  setup(t) {
10
- return (s, d) => ($(), ae("svg", {
10
+ return (p, d) => (q(), ae("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
12
12
  viewBox: "0 0 1024 1024"
13
13
  }, [
@@ -28,134 +28,153 @@ const In = {
28
28
  formConfig: {},
29
29
  rules: {}
30
30
  },
31
- setup(t, { expose: s }) {
31
+ setup(t, { expose: p }) {
32
32
  const d = Ee(null);
33
- return s({
33
+ return p({
34
34
  validate: () => {
35
35
  var l;
36
36
  return (l = d.value) == null ? void 0 : l.validate();
37
37
  }
38
38
  }), (l, o) => {
39
- const P = z("el-input"), k = z("el-option"), b = z("el-select"), x = z("el-date-picker"), S = z("el-time-picker"), h = z("el-radio"), w = z("el-radio-group"), y = z("Plus"), f = z("el-icon"), v = z("Upload"), O = z("el-button"), a = z("el-upload"), e = z("el-form-item"), u = z("el-col"), _ = z("el-row"), m = z("el-form");
40
- return $(), N(m, he({
39
+ const E = G("el-input"), k = G("el-option"), S = G("el-select"), C = G("el-date-picker"), A = G("el-time-picker"), h = G("el-radio"), w = G("el-radio-group"), y = G("Plus"), f = G("el-icon"), v = G("Upload"), P = G("el-button"), i = G("el-upload"), e = G("el-form-item"), u = G("el-col"), _ = G("el-row"), m = G("el-form");
40
+ return q(), N(m, he({
41
41
  model: l.modelValue,
42
42
  rules: l.rules,
43
43
  ref_key: "formRef",
44
44
  ref: d
45
45
  }, l.$attrs), {
46
- default: I(() => [
46
+ default: T(() => [
47
47
  ee(_, { gutter: 20 }, {
48
- default: I(() => [
49
- ($(!0), ae(qe, null, We(l.formConfig, (i) => ($(), N(u, {
50
- key: i.prop,
51
- span: i.span || 24
48
+ default: T(() => [
49
+ (q(!0), ae(qe, null, We(l.formConfig, (a) => (q(), N(u, {
50
+ key: a.prop,
51
+ span: a.span || 24
52
52
  }, {
53
- default: I(() => [
53
+ default: T(() => [
54
54
  ee(e, {
55
- label: i.label,
56
- prop: i.prop
55
+ label: a.label,
56
+ prop: a.prop
57
57
  }, {
58
- default: I(() => {
59
- var E;
58
+ default: T(() => {
59
+ var R, F;
60
60
  return [
61
- i.type === "input" ? ($(), N(P, he({
61
+ a.type === "input" ? (q(), N(E, he({
62
62
  key: 0,
63
- modelValue: l.modelValue[i.prop],
64
- "onUpdate:modelValue": (g) => l.modelValue[i.prop] = g
65
- }, { ref_for: !0 }, i.componentProps), null, 16, ["modelValue", "onUpdate:modelValue"])) : H("", !0),
66
- i.type === "textarea" ? ($(), N(P, he({
63
+ modelValue: l.modelValue[a.prop],
64
+ "onUpdate:modelValue": (g) => l.modelValue[a.prop] = g
65
+ }, { ref_for: !0 }, a.componentProps), null, 16, ["modelValue", "onUpdate:modelValue"])) : Q("", !0),
66
+ a.type === "textarea" ? (q(), N(E, he({
67
67
  key: 1,
68
68
  type: "textarea",
69
- modelValue: l.modelValue[i.prop],
70
- "onUpdate:modelValue": (g) => l.modelValue[i.prop] = g
71
- }, { ref_for: !0 }, i.componentProps), null, 16, ["modelValue", "onUpdate:modelValue"])) : H("", !0),
72
- i.type === "select" ? ($(), N(b, he({
69
+ modelValue: l.modelValue[a.prop],
70
+ "onUpdate:modelValue": (g) => l.modelValue[a.prop] = g
71
+ }, { ref_for: !0 }, a.componentProps), null, 16, ["modelValue", "onUpdate:modelValue"])) : Q("", !0),
72
+ a.type === "select" ? (q(), N(S, he({
73
73
  key: 2,
74
- modelValue: l.modelValue[i.prop],
75
- "onUpdate:modelValue": (g) => l.modelValue[i.prop] = g
76
- }, { ref_for: !0 }, i.componentProps, { style: { width: "100%" } }), {
77
- default: I(() => [
78
- ($(!0), ae(qe, null, We(i.options, (g, F) => {
79
- var q, D, T, R, W, p;
80
- return $(), N(k, {
81
- key: g[((D = (q = i.componentProps) == null ? void 0 : q.props) == null ? void 0 : D.value) || "value"],
82
- label: g[((R = (T = i.componentProps) == null ? void 0 : T.props) == null ? void 0 : R.label) || "label"],
83
- value: g[((p = (W = i.componentProps) == null ? void 0 : W.props) == null ? void 0 : p.value) || "value"]
74
+ modelValue: l.modelValue[a.prop],
75
+ "onUpdate:modelValue": (g) => l.modelValue[a.prop] = g
76
+ }, { ref_for: !0 }, a.componentProps, { style: { width: "100%" } }), {
77
+ default: T(() => [
78
+ (q(!0), ae(qe, null, We(a.options, (g, $) => {
79
+ var x, U, O, W, c, s;
80
+ return q(), N(k, {
81
+ key: g[((U = (x = a.componentProps) == null ? void 0 : x.props) == null ? void 0 : U.value) || "value"],
82
+ label: g[((W = (O = a.componentProps) == null ? void 0 : O.props) == null ? void 0 : W.label) || "label"],
83
+ value: g[((s = (c = a.componentProps) == null ? void 0 : c.props) == null ? void 0 : s.value) || "value"]
84
84
  }, null, 8, ["label", "value"]);
85
85
  }), 128))
86
86
  ]),
87
87
  _: 2
88
- }, 1040, ["modelValue", "onUpdate:modelValue"])) : H("", !0),
89
- i.type === "date-picker" ? ($(), N(x, he({
88
+ }, 1040, ["modelValue", "onUpdate:modelValue"])) : Q("", !0),
89
+ a.type === "date-picker" ? (q(), N(C, he({
90
90
  key: 3,
91
- modelValue: l.modelValue[i.prop],
92
- "onUpdate:modelValue": (g) => l.modelValue[i.prop] = g
93
- }, { ref_for: !0 }, i.componentProps, { style: { width: "100%" } }), null, 16, ["modelValue", "onUpdate:modelValue"])) : H("", !0),
94
- i.type === "time-picker" ? ($(), N(S, he({
91
+ modelValue: l.modelValue[a.prop],
92
+ "onUpdate:modelValue": (g) => l.modelValue[a.prop] = g
93
+ }, { ref_for: !0 }, a.componentProps, { style: { width: "100%" } }), null, 16, ["modelValue", "onUpdate:modelValue"])) : Q("", !0),
94
+ a.type === "time-picker" ? (q(), N(A, he({
95
95
  key: 4,
96
- modelValue: l.modelValue[i.prop],
97
- "onUpdate:modelValue": (g) => l.modelValue[i.prop] = g
98
- }, { ref_for: !0 }, i.componentProps, { style: { width: "100%" } }), null, 16, ["modelValue", "onUpdate:modelValue"])) : H("", !0),
99
- i.type === "radio-group" ? ($(), N(w, he({
96
+ modelValue: l.modelValue[a.prop],
97
+ "onUpdate:modelValue": (g) => l.modelValue[a.prop] = g
98
+ }, { ref_for: !0 }, a.componentProps, { style: { width: "100%" } }), null, 16, ["modelValue", "onUpdate:modelValue"])) : Q("", !0),
99
+ a.type === "radio-group" ? (q(), N(w, he({
100
100
  key: 5,
101
- modelValue: l.modelValue[i.prop],
102
- "onUpdate:modelValue": (g) => l.modelValue[i.prop] = g
103
- }, { ref_for: !0 }, i.componentProps), {
104
- default: I(() => [
105
- ($(!0), ae(qe, null, We(i.options, (g) => ($(), N(h, {
101
+ modelValue: l.modelValue[a.prop],
102
+ "onUpdate:modelValue": (g) => l.modelValue[a.prop] = g
103
+ }, { ref_for: !0 }, a.componentProps), {
104
+ default: T(() => [
105
+ (q(!0), ae(qe, null, We(a.options, (g) => (q(), N(h, {
106
106
  key: g.value,
107
107
  label: g.value
108
108
  }, {
109
- default: I(() => [
109
+ default: T(() => [
110
110
  ue(Ie(g.label), 1)
111
111
  ]),
112
112
  _: 2
113
113
  }, 1032, ["label"]))), 128))
114
114
  ]),
115
115
  _: 2
116
- }, 1040, ["modelValue", "onUpdate:modelValue"])) : H("", !0),
117
- i.type === "input-disabled" ? ($(), N(P, he({
116
+ }, 1040, ["modelValue", "onUpdate:modelValue"])) : Q("", !0),
117
+ a.type === "input-disabled" ? (q(), N(E, he({
118
118
  key: 6,
119
- "model-value": l.modelValue[i.prop],
119
+ "model-value": l.modelValue[a.prop],
120
120
  disabled: ""
121
- }, { ref_for: !0 }, i.componentProps), null, 16, ["model-value"])) : H("", !0),
122
- i.type === "upload" ? ($(), N(a, he({
121
+ }, { ref_for: !0 }, a.componentProps), null, 16, ["model-value"])) : Q("", !0),
122
+ a.type === "upload" ? (q(), N(i, he({
123
123
  key: 7,
124
124
  ref_for: !0
125
- }, i.componentProps, {
126
- "on-success": (g, F, q) => {
127
- var R, W, p;
128
- const D = ((R = i.componentProps) == null ? void 0 : R.multiple) || ((W = i.componentProps) == null ? void 0 : W.limit) && i.componentProps.limit > 1, T = q.map((c) => {
129
- var A, M;
130
- return ((A = c.response) == null ? void 0 : A.data) || ((M = c.response) == null ? void 0 : M.url) || c.url || c.name;
131
- }).filter(Boolean);
132
- l.modelValue[i.prop] = D ? T.join(",") : T[T.length - 1], (p = i.componentProps) != null && p.onSuccess && i.componentProps.onSuccess(g, F, q);
125
+ }, a.componentProps, {
126
+ "auto-upload": ((R = a.componentProps) == null ? void 0 : R.autoUpload) !== !1,
127
+ "on-change": (g, $) => {
128
+ var x, U, O, W;
129
+ if (((x = a.componentProps) == null ? void 0 : x.autoUpload) === !1) {
130
+ const c = ((U = a.componentProps) == null ? void 0 : U.multiple) || ((O = a.componentProps) == null ? void 0 : O.limit) && a.componentProps.limit > 1, s = $.map((b) => b.raw).filter(Boolean);
131
+ l.modelValue[a.prop] = c ? s : s[0];
132
+ }
133
+ (W = a.componentProps) != null && W.onChange && a.componentProps.onChange(g, $);
133
134
  },
134
- "on-remove": (g, F) => {
135
- var T, R, W;
136
- const q = ((T = i.componentProps) == null ? void 0 : T.multiple) || ((R = i.componentProps) == null ? void 0 : R.limit) && i.componentProps.limit > 1, D = F.map((p) => {
137
- var c, A;
138
- return ((c = p.response) == null ? void 0 : c.data) || ((A = p.response) == null ? void 0 : A.url) || p.url || p.name;
139
- }).filter(Boolean);
140
- l.modelValue[i.prop] = q ? D.join(",") : D[0] || "", (W = i.componentProps) != null && W.onRemove && i.componentProps.onRemove(g, F);
135
+ "on-success": (g, $, x) => {
136
+ var U, O, W, c;
137
+ if (((U = a.componentProps) == null ? void 0 : U.autoUpload) !== !1) {
138
+ const s = ((O = a.componentProps) == null ? void 0 : O.multiple) || ((W = a.componentProps) == null ? void 0 : W.limit) && a.componentProps.limit > 1, b = x.map((I) => {
139
+ var D, z;
140
+ return ((D = I.response) == null ? void 0 : D.data) || ((z = I.response) == null ? void 0 : z.url) || I.url || I.name;
141
+ }).filter(Boolean);
142
+ l.modelValue[a.prop] = s ? b.join(",") : b[b.length - 1];
143
+ }
144
+ (c = a.componentProps) != null && c.onSuccess && a.componentProps.onSuccess(g, $, x);
145
+ },
146
+ "on-remove": (g, $) => {
147
+ var U, O, W, c;
148
+ const x = ((U = a.componentProps) == null ? void 0 : U.multiple) || ((O = a.componentProps) == null ? void 0 : O.limit) && a.componentProps.limit > 1;
149
+ if (((W = a.componentProps) == null ? void 0 : W.autoUpload) === !1) {
150
+ const s = $.map((b) => b.raw).filter(Boolean);
151
+ l.modelValue[a.prop] = x ? s : s[0] || null;
152
+ } else {
153
+ const s = $.map((b) => {
154
+ var I, D;
155
+ return ((I = b.response) == null ? void 0 : I.data) || ((D = b.response) == null ? void 0 : D.url) || b.url || b.name;
156
+ }).filter(Boolean);
157
+ l.modelValue[a.prop] = x ? s.join(",") : s[0] || "";
158
+ }
159
+ (c = a.componentProps) != null && c.onRemove && a.componentProps.onRemove(g, $);
141
160
  }
142
161
  }), nn({
143
- default: I(() => {
144
- var g, F;
162
+ default: T(() => {
163
+ var g, $;
145
164
  return [
146
- ((g = i.componentProps) == null ? void 0 : g.listType) === "picture-card" || ((F = i.componentProps) == null ? void 0 : F["list-type"]) === "picture-card" ? ($(), N(f, { key: 0 }, {
147
- default: I(() => [
165
+ ((g = a.componentProps) == null ? void 0 : g.listType) === "picture-card" || (($ = a.componentProps) == null ? void 0 : $["list-type"]) === "picture-card" ? (q(), N(f, { key: 0 }, {
166
+ default: T(() => [
148
167
  ee(y)
149
168
  ]),
150
169
  _: 1
151
- })) : ($(), N(O, {
170
+ })) : (q(), N(P, {
152
171
  key: 1,
153
172
  type: "primary",
154
173
  plain: ""
155
174
  }, {
156
- default: I(() => [
175
+ default: T(() => [
157
176
  ee(f, { style: { "margin-right": "4px" } }, {
158
- default: I(() => [
177
+ default: T(() => [
159
178
  ee(v)
160
179
  ]),
161
180
  _: 1
@@ -168,14 +187,14 @@ const In = {
168
187
  }),
169
188
  _: 2
170
189
  }, [
171
- (E = i.componentProps) != null && E.tip ? {
190
+ (F = a.componentProps) != null && F.tip ? {
172
191
  name: "tip",
173
- fn: I(() => [
174
- oe("div", In, Ie(i.componentProps.tip), 1)
192
+ fn: T(() => [
193
+ oe("div", In, Ie(a.componentProps.tip), 1)
175
194
  ]),
176
195
  key: "0"
177
196
  } : void 0
178
- ]), 1040, ["on-success", "on-remove"])) : H("", !0)
197
+ ]), 1040, ["auto-upload", "on-change", "on-success", "on-remove"])) : Q("", !0)
179
198
  ];
180
199
  }),
181
200
  _: 2
@@ -198,12 +217,12 @@ function Un(t) {
198
217
  }
199
218
  function Tn(t) {
200
219
  if (Object.prototype.hasOwnProperty.call(t, "__esModule")) return t;
201
- var s = t.default;
202
- if (typeof s == "function") {
220
+ var p = t.default;
221
+ if (typeof p == "function") {
203
222
  var d = function l() {
204
- return this instanceof l ? Reflect.construct(s, arguments, this.constructor) : s.apply(this, arguments);
223
+ return this instanceof l ? Reflect.construct(p, arguments, this.constructor) : p.apply(this, arguments);
205
224
  };
206
- d.prototype = s.prototype;
225
+ d.prototype = p.prototype;
207
226
  } else d = {};
208
227
  return Object.defineProperty(d, "__esModule", { value: !0 }), Object.keys(t).forEach(function(l) {
209
228
  var o = Object.getOwnPropertyDescriptor(t, l);
@@ -227,23 +246,23 @@ var nr, ct;
227
246
  function Ge() {
228
247
  if (ct) return nr;
229
248
  ct = 1;
230
- var t = typeof Map == "function" && Map.prototype, s = Object.getOwnPropertyDescriptor && t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, d = t && s && typeof s.get == "function" ? s.get : null, l = t && Map.prototype.forEach, o = typeof Set == "function" && Set.prototype, P = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, k = o && P && typeof P.get == "function" ? P.get : null, b = o && Set.prototype.forEach, x = typeof WeakMap == "function" && WeakMap.prototype, S = x ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, w = h ? WeakSet.prototype.has : null, y = typeof WeakRef == "function" && WeakRef.prototype, f = y ? WeakRef.prototype.deref : null, v = Boolean.prototype.valueOf, O = Object.prototype.toString, a = Function.prototype.toString, e = String.prototype.match, u = String.prototype.slice, _ = String.prototype.replace, m = String.prototype.toUpperCase, i = String.prototype.toLowerCase, E = RegExp.prototype.test, g = Array.prototype.concat, F = Array.prototype.join, q = Array.prototype.slice, D = Math.floor, T = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, R = Object.getOwnPropertySymbols, W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, p = typeof Symbol == "function" && typeof Symbol.iterator == "object", c = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === p || !0) ? Symbol.toStringTag : null, A = Object.prototype.propertyIsEnumerable, M = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
249
+ var t = typeof Map == "function" && Map.prototype, p = Object.getOwnPropertyDescriptor && t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, d = t && p && typeof p.get == "function" ? p.get : null, l = t && Map.prototype.forEach, o = typeof Set == "function" && Set.prototype, E = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, k = o && E && typeof E.get == "function" ? E.get : null, S = o && Set.prototype.forEach, C = typeof WeakMap == "function" && WeakMap.prototype, A = C ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, w = h ? WeakSet.prototype.has : null, y = typeof WeakRef == "function" && WeakRef.prototype, f = y ? WeakRef.prototype.deref : null, v = Boolean.prototype.valueOf, P = Object.prototype.toString, i = Function.prototype.toString, e = String.prototype.match, u = String.prototype.slice, _ = String.prototype.replace, m = String.prototype.toUpperCase, a = String.prototype.toLowerCase, R = RegExp.prototype.test, F = Array.prototype.concat, g = Array.prototype.join, $ = Array.prototype.slice, x = Math.floor, U = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, O = Object.getOwnPropertySymbols, W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, c = typeof Symbol == "function" && typeof Symbol.iterator == "object", s = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === c || !0) ? Symbol.toStringTag : null, b = Object.prototype.propertyIsEnumerable, I = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
231
250
  return r.__proto__;
232
251
  } : null);
233
- function B(r, n) {
234
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || E.call(/e/, n))
252
+ function D(r, n) {
253
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || R.call(/e/, n))
235
254
  return n;
236
255
  var L = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
237
256
  if (typeof r == "number") {
238
- var j = r < 0 ? -D(-r) : D(r);
239
- if (j !== r) {
240
- var K = String(j), U = u.call(n, K.length + 1);
241
- return _.call(K, L, "$&_") + "." + _.call(_.call(U, /([0-9]{3})/g, "$&_"), /_$/, "");
257
+ var H = r < 0 ? -x(-r) : x(r);
258
+ if (H !== r) {
259
+ var K = String(H), M = u.call(n, K.length + 1);
260
+ return _.call(K, L, "$&_") + "." + _.call(_.call(M, /([0-9]{3})/g, "$&_"), /_$/, "");
242
261
  }
243
262
  }
244
263
  return _.call(n, L, "$&_");
245
264
  }
246
- var Q = Vn, Y = Q.custom, we = re(Y) ? Y : null, pe = {
265
+ var z = Vn, Y = z.custom, we = re(Y) ? Y : null, pe = {
247
266
  __proto__: null,
248
267
  double: '"',
249
268
  single: "'"
@@ -252,20 +271,20 @@ function Ge() {
252
271
  double: /(["\\])/g,
253
272
  single: /(['\\])/g
254
273
  };
255
- nr = function r(n, L, j, K) {
256
- var U = L || {};
257
- if (le(U, "quoteStyle") && !le(pe, U.quoteStyle))
274
+ nr = function r(n, L, H, K) {
275
+ var M = L || {};
276
+ if (le(M, "quoteStyle") && !le(pe, M.quoteStyle))
258
277
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
259
- if (le(U, "maxStringLength") && (typeof U.maxStringLength == "number" ? U.maxStringLength < 0 && U.maxStringLength !== 1 / 0 : U.maxStringLength !== null))
278
+ if (le(M, "maxStringLength") && (typeof M.maxStringLength == "number" ? M.maxStringLength < 0 && M.maxStringLength !== 1 / 0 : M.maxStringLength !== null))
260
279
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
261
- var _e = le(U, "customInspect") ? U.customInspect : !0;
262
- if (typeof _e != "boolean" && _e !== "symbol")
280
+ var Ae = le(M, "customInspect") ? M.customInspect : !0;
281
+ if (typeof Ae != "boolean" && Ae !== "symbol")
263
282
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
264
- if (le(U, "indent") && U.indent !== null && U.indent !== " " && !(parseInt(U.indent, 10) === U.indent && U.indent > 0))
283
+ if (le(M, "indent") && M.indent !== null && M.indent !== " " && !(parseInt(M.indent, 10) === M.indent && M.indent > 0))
265
284
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
266
- if (le(U, "numericSeparator") && typeof U.numericSeparator != "boolean")
285
+ if (le(M, "numericSeparator") && typeof M.numericSeparator != "boolean")
267
286
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
268
- var Re = U.numericSeparator;
287
+ var Re = M.numericSeparator;
269
288
  if (typeof n > "u")
270
289
  return "undefined";
271
290
  if (n === null)
@@ -273,74 +292,74 @@ function Ge() {
273
292
  if (typeof n == "boolean")
274
293
  return n ? "true" : "false";
275
294
  if (typeof n == "string")
276
- return Xr(n, U);
295
+ return Xr(n, M);
277
296
  if (typeof n == "number") {
278
297
  if (n === 0)
279
298
  return 1 / 0 / n > 0 ? "0" : "-0";
280
299
  var se = String(n);
281
- return Re ? B(n, se) : se;
300
+ return Re ? D(n, se) : se;
282
301
  }
283
302
  if (typeof n == "bigint") {
284
- var Ae = String(n) + "n";
285
- return Re ? B(n, Ae) : Ae;
303
+ var _e = String(n) + "n";
304
+ return Re ? D(n, _e) : _e;
286
305
  }
287
- var Ke = typeof U.depth > "u" ? 5 : U.depth;
288
- if (typeof j > "u" && (j = 0), j >= Ke && Ke > 0 && typeof n == "object")
289
- return C(n) ? "[Array]" : "[Object]";
290
- var ke = bn(U, j);
306
+ var Ke = typeof M.depth > "u" ? 5 : M.depth;
307
+ if (typeof H > "u" && (H = 0), H >= Ke && Ke > 0 && typeof n == "object")
308
+ return B(n) ? "[Array]" : "[Object]";
309
+ var Be = bn(M, H);
291
310
  if (typeof K > "u")
292
311
  K = [];
293
312
  else if (Se(K, n) >= 0)
294
313
  return "[Circular]";
295
- function ge(Be, Le, _n) {
296
- if (Le && (K = q.call(K), K.push(Le)), _n) {
314
+ function ge(ke, Le, An) {
315
+ if (Le && (K = $.call(K), K.push(Le)), An) {
297
316
  var lt = {
298
- depth: U.depth
317
+ depth: M.depth
299
318
  };
300
- return le(U, "quoteStyle") && (lt.quoteStyle = U.quoteStyle), r(Be, lt, j + 1, K);
319
+ return le(M, "quoteStyle") && (lt.quoteStyle = M.quoteStyle), r(ke, lt, H + 1, K);
301
320
  }
302
- return r(Be, U, j + 1, K);
321
+ return r(ke, M, H + 1, K);
303
322
  }
304
323
  if (typeof n == "function" && !Z(n)) {
305
324
  var et = Fe(n), rt = Ne(n, ge);
306
- return "[Function" + (et ? ": " + et : " (anonymous)") + "]" + (rt.length > 0 ? " { " + F.call(rt, ", ") + " }" : "");
325
+ return "[Function" + (et ? ": " + et : " (anonymous)") + "]" + (rt.length > 0 ? " { " + g.call(rt, ", ") + " }" : "");
307
326
  }
308
327
  if (re(n)) {
309
- var tt = p ? _.call(String(n), /^(Symbol\(.*\))_[^)]*$/, "$1") : W.call(n);
310
- return typeof n == "object" && !p ? Te(tt) : tt;
328
+ var tt = c ? _.call(String(n), /^(Symbol\(.*\))_[^)]*$/, "$1") : W.call(n);
329
+ return typeof n == "object" && !c ? Te(tt) : tt;
311
330
  }
312
331
  if (gn(n)) {
313
- for (var Me = "<" + i.call(String(n.nodeName)), Je = n.attributes || [], Ve = 0; Ve < Je.length; Ve++)
314
- Me += " " + Je[Ve].name + "=" + ye(ve(Je[Ve].value), "double", U);
315
- return Me += ">", n.childNodes && n.childNodes.length && (Me += "..."), Me += "</" + i.call(String(n.nodeName)) + ">", Me;
332
+ for (var Me = "<" + a.call(String(n.nodeName)), Je = n.attributes || [], Ve = 0; Ve < Je.length; Ve++)
333
+ Me += " " + Je[Ve].name + "=" + ye(ve(Je[Ve].value), "double", M);
334
+ return Me += ">", n.childNodes && n.childNodes.length && (Me += "..."), Me += "</" + a.call(String(n.nodeName)) + ">", Me;
316
335
  }
317
- if (C(n)) {
336
+ if (B(n)) {
318
337
  if (n.length === 0)
319
338
  return "[]";
320
339
  var Ye = Ne(n, ge);
321
- return ke && !wn(Ye) ? "[" + Qe(Ye, ke) + "]" : "[ " + F.call(Ye, ", ") + " ]";
340
+ return Be && !wn(Ye) ? "[" + Qe(Ye, Be) + "]" : "[ " + g.call(Ye, ", ") + " ]";
322
341
  }
323
342
  if (V(n)) {
324
343
  var Xe = Ne(n, ge);
325
- return !("cause" in Error.prototype) && "cause" in n && !A.call(n, "cause") ? "{ [" + String(n) + "] " + F.call(g.call("[cause]: " + ge(n.cause), Xe), ", ") + " }" : Xe.length === 0 ? "[" + String(n) + "]" : "{ [" + String(n) + "] " + F.call(Xe, ", ") + " }";
344
+ return !("cause" in Error.prototype) && "cause" in n && !b.call(n, "cause") ? "{ [" + String(n) + "] " + g.call(F.call("[cause]: " + ge(n.cause), Xe), ", ") + " }" : Xe.length === 0 ? "[" + String(n) + "]" : "{ [" + String(n) + "] " + g.call(Xe, ", ") + " }";
326
345
  }
327
- if (typeof n == "object" && _e) {
328
- if (we && typeof n[we] == "function" && Q)
329
- return Q(n, { depth: Ke - j });
330
- if (_e !== "symbol" && typeof n.inspect == "function")
346
+ if (typeof n == "object" && Ae) {
347
+ if (we && typeof n[we] == "function" && z)
348
+ return z(n, { depth: Ke - H });
349
+ if (Ae !== "symbol" && typeof n.inspect == "function")
331
350
  return n.inspect();
332
351
  }
333
352
  if (me(n)) {
334
353
  var nt = [];
335
- return l && l.call(n, function(Be, Le) {
336
- nt.push(ge(Le, n, !0) + " => " + ge(Be, n));
337
- }), Zr("Map", d.call(n), nt, ke);
354
+ return l && l.call(n, function(ke, Le) {
355
+ nt.push(ge(Le, n, !0) + " => " + ge(ke, n));
356
+ }), Zr("Map", d.call(n), nt, Be);
338
357
  }
339
358
  if (Ce(n)) {
340
359
  var ot = [];
341
- return b && b.call(n, function(Be) {
342
- ot.push(ge(Be, n));
343
- }), Zr("Set", k.call(n), ot, ke);
360
+ return S && S.call(n, function(ke) {
361
+ ot.push(ge(ke, n));
362
+ }), Zr("Set", k.call(n), ot, Be);
344
363
  }
345
364
  if (xe(n))
346
365
  return He("WeakMap");
@@ -348,10 +367,10 @@ function Ge() {
348
367
  return He("WeakSet");
349
368
  if (De(n))
350
369
  return He("WeakRef");
351
- if (G(n))
370
+ if (j(n))
352
371
  return Te(ge(Number(n)));
353
372
  if (ce(n))
354
- return Te(ge(T.call(n)));
373
+ return Te(ge(U.call(n)));
355
374
  if (X(n))
356
375
  return Te(v.call(n));
357
376
  if (J(n))
@@ -361,22 +380,22 @@ function Ge() {
361
380
  if (typeof globalThis < "u" && n === globalThis || typeof st < "u" && n === st)
362
381
  return "{ [object globalThis] }";
363
382
  if (!fe(n) && !Z(n)) {
364
- var Ze = Ne(n, ge), at = M ? M(n) === Object.prototype : n instanceof Object || n.constructor === Object, er = n instanceof Object ? "" : "null prototype", it = !at && c && Object(n) === n && c in n ? u.call(de(n), 8, -1) : er ? "Object" : "", Sn = at || typeof n.constructor != "function" ? "" : n.constructor.name ? n.constructor.name + " " : "", rr = Sn + (it || er ? "[" + F.call(g.call([], it || [], er || []), ": ") + "] " : "");
365
- return Ze.length === 0 ? rr + "{}" : ke ? rr + "{" + Qe(Ze, ke) + "}" : rr + "{ " + F.call(Ze, ", ") + " }";
383
+ var Ze = Ne(n, ge), at = I ? I(n) === Object.prototype : n instanceof Object || n.constructor === Object, er = n instanceof Object ? "" : "null prototype", it = !at && s && Object(n) === n && s in n ? u.call(de(n), 8, -1) : er ? "Object" : "", Sn = at || typeof n.constructor != "function" ? "" : n.constructor.name ? n.constructor.name + " " : "", rr = Sn + (it || er ? "[" + g.call(F.call([], it || [], er || []), ": ") + "] " : "");
384
+ return Ze.length === 0 ? rr + "{}" : Be ? rr + "{" + Qe(Ze, Be) + "}" : rr + "{ " + g.call(Ze, ", ") + " }";
366
385
  }
367
386
  return String(n);
368
387
  };
369
388
  function ye(r, n, L) {
370
- var j = L.quoteStyle || n, K = pe[j];
389
+ var H = L.quoteStyle || n, K = pe[H];
371
390
  return K + r + K;
372
391
  }
373
392
  function ve(r) {
374
393
  return _.call(String(r), /"/g, "&quot;");
375
394
  }
376
395
  function ie(r) {
377
- return !c || !(typeof r == "object" && (c in r || typeof r[c] < "u"));
396
+ return !s || !(typeof r == "object" && (s in r || typeof r[s] < "u"));
378
397
  }
379
- function C(r) {
398
+ function B(r) {
380
399
  return de(r) === "[object Array]" && ie(r);
381
400
  }
382
401
  function fe(r) {
@@ -391,14 +410,14 @@ function Ge() {
391
410
  function J(r) {
392
411
  return de(r) === "[object String]" && ie(r);
393
412
  }
394
- function G(r) {
413
+ function j(r) {
395
414
  return de(r) === "[object Number]" && ie(r);
396
415
  }
397
416
  function X(r) {
398
417
  return de(r) === "[object Boolean]" && ie(r);
399
418
  }
400
419
  function re(r) {
401
- if (p)
420
+ if (c)
402
421
  return r && typeof r == "object" && r instanceof Symbol;
403
422
  if (typeof r == "symbol")
404
423
  return !0;
@@ -411,10 +430,10 @@ function Ge() {
411
430
  return !1;
412
431
  }
413
432
  function ce(r) {
414
- if (!r || typeof r != "object" || !T)
433
+ if (!r || typeof r != "object" || !U)
415
434
  return !1;
416
435
  try {
417
- return T.call(r), !0;
436
+ return U.call(r), !0;
418
437
  } catch {
419
438
  }
420
439
  return !1;
@@ -426,18 +445,18 @@ function Ge() {
426
445
  return te.call(r, n);
427
446
  }
428
447
  function de(r) {
429
- return O.call(r);
448
+ return P.call(r);
430
449
  }
431
450
  function Fe(r) {
432
451
  if (r.name)
433
452
  return r.name;
434
- var n = e.call(a.call(r), /^function\s*([\w$]+)/);
453
+ var n = e.call(i.call(r), /^function\s*([\w$]+)/);
435
454
  return n ? n[1] : null;
436
455
  }
437
456
  function Se(r, n) {
438
457
  if (r.indexOf)
439
458
  return r.indexOf(n);
440
- for (var L = 0, j = r.length; L < j; L++)
459
+ for (var L = 0, H = r.length; L < H; L++)
441
460
  if (r[L] === n)
442
461
  return L;
443
462
  return -1;
@@ -458,10 +477,10 @@ function Ge() {
458
477
  return !1;
459
478
  }
460
479
  function xe(r) {
461
- if (!S || !r || typeof r != "object")
480
+ if (!A || !r || typeof r != "object")
462
481
  return !1;
463
482
  try {
464
- S.call(r, S);
483
+ A.call(r, A);
465
484
  try {
466
485
  w.call(r, w);
467
486
  } catch {
@@ -502,7 +521,7 @@ function Ge() {
502
521
  try {
503
522
  w.call(r, w);
504
523
  try {
505
- S.call(r, S);
524
+ A.call(r, A);
506
525
  } catch {
507
526
  return !0;
508
527
  }
@@ -516,13 +535,13 @@ function Ge() {
516
535
  }
517
536
  function Xr(r, n) {
518
537
  if (r.length > n.maxStringLength) {
519
- var L = r.length - n.maxStringLength, j = "... " + L + " more character" + (L > 1 ? "s" : "");
520
- return Xr(u.call(r, 0, n.maxStringLength), n) + j;
538
+ var L = r.length - n.maxStringLength, H = "... " + L + " more character" + (L > 1 ? "s" : "");
539
+ return Xr(u.call(r, 0, n.maxStringLength), n) + H;
521
540
  }
522
541
  var K = be[n.quoteStyle || "single"];
523
542
  K.lastIndex = 0;
524
- var U = _.call(_.call(r, K, "\\$1"), /[\x00-\x1f]/g, hn);
525
- return ye(U, "single", n);
543
+ var M = _.call(_.call(r, K, "\\$1"), /[\x00-\x1f]/g, hn);
544
+ return ye(M, "single", n);
526
545
  }
527
546
  function hn(r) {
528
547
  var n = r.charCodeAt(0), L = {
@@ -540,8 +559,8 @@ function Ge() {
540
559
  function He(r) {
541
560
  return r + " { ? }";
542
561
  }
543
- function Zr(r, n, L, j) {
544
- var K = j ? Qe(L, j) : F.call(L, ", ");
562
+ function Zr(r, n, L, H) {
563
+ var K = H ? Qe(L, H) : g.call(L, ", ");
545
564
  return r + " (" + n + ") {" + K + "}";
546
565
  }
547
566
  function wn(r) {
@@ -556,12 +575,12 @@ function Ge() {
556
575
  if (r.indent === " ")
557
576
  L = " ";
558
577
  else if (typeof r.indent == "number" && r.indent > 0)
559
- L = F.call(Array(r.indent + 1), " ");
578
+ L = g.call(Array(r.indent + 1), " ");
560
579
  else
561
580
  return null;
562
581
  return {
563
582
  base: L,
564
- prev: F.call(Array(n + 1), L)
583
+ prev: g.call(Array(n + 1), L)
565
584
  };
566
585
  }
567
586
  function Qe(r, n) {
@@ -569,28 +588,28 @@ function Ge() {
569
588
  return "";
570
589
  var L = `
571
590
  ` + n.prev + n.base;
572
- return L + F.call(r, "," + L) + `
591
+ return L + g.call(r, "," + L) + `
573
592
  ` + n.prev;
574
593
  }
575
594
  function Ne(r, n) {
576
- var L = C(r), j = [];
595
+ var L = B(r), H = [];
577
596
  if (L) {
578
- j.length = r.length;
597
+ H.length = r.length;
579
598
  for (var K = 0; K < r.length; K++)
580
- j[K] = le(r, K) ? n(r[K], r) : "";
599
+ H[K] = le(r, K) ? n(r[K], r) : "";
581
600
  }
582
- var U = typeof R == "function" ? R(r) : [], _e;
583
- if (p) {
584
- _e = {};
585
- for (var Re = 0; Re < U.length; Re++)
586
- _e["$" + U[Re]] = U[Re];
601
+ var M = typeof O == "function" ? O(r) : [], Ae;
602
+ if (c) {
603
+ Ae = {};
604
+ for (var Re = 0; Re < M.length; Re++)
605
+ Ae["$" + M[Re]] = M[Re];
587
606
  }
588
607
  for (var se in r)
589
- le(r, se) && (L && String(Number(se)) === se && se < r.length || p && _e["$" + se] instanceof Symbol || (E.call(/[^\w$]/, se) ? j.push(n(se, r) + ": " + n(r[se], r)) : j.push(se + ": " + n(r[se], r))));
590
- if (typeof R == "function")
591
- for (var Ae = 0; Ae < U.length; Ae++)
592
- A.call(r, U[Ae]) && j.push("[" + n(U[Ae]) + "]: " + n(r[U[Ae]], r));
593
- return j;
608
+ le(r, se) && (L && String(Number(se)) === se && se < r.length || c && Ae["$" + se] instanceof Symbol || (R.call(/[^\w$]/, se) ? H.push(n(se, r) + ": " + n(r[se], r)) : H.push(se + ": " + n(r[se], r))));
609
+ if (typeof O == "function")
610
+ for (var _e = 0; _e < M.length; _e++)
611
+ b.call(r, M[_e]) && H.push("[" + n(M[_e]) + "]: " + n(r[M[_e]], r));
612
+ return H;
594
613
  }
595
614
  return nr;
596
615
  }
@@ -598,59 +617,59 @@ var or, dt;
598
617
  function Ln() {
599
618
  if (dt) return or;
600
619
  dt = 1;
601
- var t = /* @__PURE__ */ Ge(), s = /* @__PURE__ */ Ue(), d = function(b, x, S) {
602
- for (var h = b, w; (w = h.next) != null; h = w)
603
- if (w.key === x)
604
- return h.next = w.next, S || (w.next = /** @type {NonNullable<typeof list.next>} */
605
- b.next, b.next = w), w;
606
- }, l = function(b, x) {
607
- if (b) {
608
- var S = d(b, x);
609
- return S && S.value;
620
+ var t = /* @__PURE__ */ Ge(), p = /* @__PURE__ */ Ue(), d = function(S, C, A) {
621
+ for (var h = S, w; (w = h.next) != null; h = w)
622
+ if (w.key === C)
623
+ return h.next = w.next, A || (w.next = /** @type {NonNullable<typeof list.next>} */
624
+ S.next, S.next = w), w;
625
+ }, l = function(S, C) {
626
+ if (S) {
627
+ var A = d(S, C);
628
+ return A && A.value;
610
629
  }
611
- }, o = function(b, x, S) {
612
- var h = d(b, x);
613
- h ? h.value = S : b.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
630
+ }, o = function(S, C, A) {
631
+ var h = d(S, C);
632
+ h ? h.value = A : S.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
614
633
  {
615
634
  // eslint-disable-line no-param-reassign, no-extra-parens
616
- key: x,
617
- next: b.next,
618
- value: S
635
+ key: C,
636
+ next: S.next,
637
+ value: A
619
638
  };
620
- }, P = function(b, x) {
621
- return b ? !!d(b, x) : !1;
622
- }, k = function(b, x) {
623
- if (b)
624
- return d(b, x, !0);
639
+ }, E = function(S, C) {
640
+ return S ? !!d(S, C) : !1;
641
+ }, k = function(S, C) {
642
+ if (S)
643
+ return d(S, C, !0);
625
644
  };
626
645
  return or = function() {
627
- var x, S = {
646
+ var C, A = {
628
647
  assert: function(h) {
629
- if (!S.has(h))
630
- throw new s("Side channel does not contain " + t(h));
648
+ if (!A.has(h))
649
+ throw new p("Side channel does not contain " + t(h));
631
650
  },
632
651
  delete: function(h) {
633
- var w = x && x.next, y = k(x, h);
634
- return y && w && w === y && (x = void 0), !!y;
652
+ var w = C && C.next, y = k(C, h);
653
+ return y && w && w === y && (C = void 0), !!y;
635
654
  },
636
655
  get: function(h) {
637
- return l(x, h);
656
+ return l(C, h);
638
657
  },
639
658
  has: function(h) {
640
- return P(x, h);
659
+ return E(C, h);
641
660
  },
642
661
  set: function(h, w) {
643
- x || (x = {
662
+ C || (C = {
644
663
  next: void 0
645
664
  }), o(
646
665
  /** @type {NonNullable<typeof $o>} */
647
- x,
666
+ C,
648
667
  h,
649
668
  w
650
669
  );
651
670
  }
652
671
  };
653
- return S;
672
+ return A;
654
673
  }, or;
655
674
  }
656
675
  var ar, yt;
@@ -685,21 +704,21 @@ var cr, St;
685
704
  function Kn() {
686
705
  return St || (St = 1, cr = Math.abs), cr;
687
706
  }
688
- var dr, _t;
707
+ var dr, At;
689
708
  function Jn() {
690
- return _t || (_t = 1, dr = Math.floor), dr;
709
+ return At || (At = 1, dr = Math.floor), dr;
691
710
  }
692
- var yr, At;
711
+ var yr, _t;
693
712
  function Yn() {
694
- return At || (At = 1, yr = Math.max), yr;
713
+ return _t || (_t = 1, yr = Math.max), yr;
695
714
  }
696
- var vr, Ot;
715
+ var vr, Pt;
697
716
  function Xn() {
698
- return Ot || (Ot = 1, vr = Math.min), vr;
717
+ return Pt || (Pt = 1, vr = Math.min), vr;
699
718
  }
700
- var mr, Pt;
719
+ var mr, Ot;
701
720
  function Zn() {
702
- return Pt || (Pt = 1, mr = Math.pow), mr;
721
+ return Ot || (Ot = 1, mr = Math.pow), mr;
703
722
  }
704
723
  var gr, Et;
705
724
  function eo() {
@@ -707,8 +726,8 @@ function eo() {
707
726
  }
708
727
  var hr, Rt;
709
728
  function ro() {
710
- return Rt || (Rt = 1, hr = Number.isNaN || function(s) {
711
- return s !== s;
729
+ return Rt || (Rt = 1, hr = Number.isNaN || function(p) {
730
+ return p !== p;
712
731
  }), hr;
713
732
  }
714
733
  var wr, Ft;
@@ -737,9 +756,9 @@ function ln() {
737
756
  }
738
757
  return Sr = t, Sr;
739
758
  }
740
- var _r, Ct;
759
+ var Ar, Ct;
741
760
  function oo() {
742
- if (Ct) return _r;
761
+ if (Ct) return Ar;
743
762
  Ct = 1;
744
763
  var t = Object.defineProperty || !1;
745
764
  if (t)
@@ -748,50 +767,50 @@ function oo() {
748
767
  } catch {
749
768
  t = !1;
750
769
  }
751
- return _r = t, _r;
770
+ return Ar = t, Ar;
752
771
  }
753
- var Ar, kt;
772
+ var _r, Bt;
754
773
  function ao() {
755
- return kt || (kt = 1, Ar = function() {
774
+ return Bt || (Bt = 1, _r = function() {
756
775
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
757
776
  return !1;
758
777
  if (typeof Symbol.iterator == "symbol")
759
778
  return !0;
760
- var s = {}, d = Symbol("test"), l = Object(d);
779
+ var p = {}, d = Symbol("test"), l = Object(d);
761
780
  if (typeof d == "string" || Object.prototype.toString.call(d) !== "[object Symbol]" || Object.prototype.toString.call(l) !== "[object Symbol]")
762
781
  return !1;
763
782
  var o = 42;
764
- s[d] = o;
765
- for (var P in s)
783
+ p[d] = o;
784
+ for (var E in p)
766
785
  return !1;
767
- if (typeof Object.keys == "function" && Object.keys(s).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(s).length !== 0)
786
+ if (typeof Object.keys == "function" && Object.keys(p).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(p).length !== 0)
768
787
  return !1;
769
- var k = Object.getOwnPropertySymbols(s);
770
- if (k.length !== 1 || k[0] !== d || !Object.prototype.propertyIsEnumerable.call(s, d))
788
+ var k = Object.getOwnPropertySymbols(p);
789
+ if (k.length !== 1 || k[0] !== d || !Object.prototype.propertyIsEnumerable.call(p, d))
771
790
  return !1;
772
791
  if (typeof Object.getOwnPropertyDescriptor == "function") {
773
- var b = (
792
+ var S = (
774
793
  /** @type {PropertyDescriptor} */
775
- Object.getOwnPropertyDescriptor(s, d)
794
+ Object.getOwnPropertyDescriptor(p, d)
776
795
  );
777
- if (b.value !== o || b.enumerable !== !0)
796
+ if (S.value !== o || S.enumerable !== !0)
778
797
  return !1;
779
798
  }
780
799
  return !0;
781
- }), Ar;
800
+ }), _r;
782
801
  }
783
- var Or, Bt;
802
+ var Pr, kt;
784
803
  function io() {
785
- if (Bt) return Or;
786
- Bt = 1;
787
- var t = typeof Symbol < "u" && Symbol, s = ao();
788
- return Or = function() {
789
- return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : s();
790
- }, Or;
804
+ if (kt) return Pr;
805
+ kt = 1;
806
+ var t = typeof Symbol < "u" && Symbol, p = ao();
807
+ return Pr = function() {
808
+ return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : p();
809
+ }, Pr;
791
810
  }
792
- var Pr, $t;
811
+ var Or, $t;
793
812
  function un() {
794
- return $t || ($t = 1, Pr = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Pr;
813
+ return $t || ($t = 1, Or = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Or;
795
814
  }
796
815
  var Er, qt;
797
816
  function fn() {
@@ -804,43 +823,43 @@ var Rr, It;
804
823
  function lo() {
805
824
  if (It) return Rr;
806
825
  It = 1;
807
- var t = "Function.prototype.bind called on incompatible ", s = Object.prototype.toString, d = Math.max, l = "[object Function]", o = function(x, S) {
808
- for (var h = [], w = 0; w < x.length; w += 1)
809
- h[w] = x[w];
810
- for (var y = 0; y < S.length; y += 1)
811
- h[y + x.length] = S[y];
826
+ var t = "Function.prototype.bind called on incompatible ", p = Object.prototype.toString, d = Math.max, l = "[object Function]", o = function(C, A) {
827
+ for (var h = [], w = 0; w < C.length; w += 1)
828
+ h[w] = C[w];
829
+ for (var y = 0; y < A.length; y += 1)
830
+ h[y + C.length] = A[y];
812
831
  return h;
813
- }, P = function(x, S) {
814
- for (var h = [], w = S, y = 0; w < x.length; w += 1, y += 1)
815
- h[y] = x[w];
832
+ }, E = function(C, A) {
833
+ for (var h = [], w = A, y = 0; w < C.length; w += 1, y += 1)
834
+ h[y] = C[w];
816
835
  return h;
817
- }, k = function(b, x) {
818
- for (var S = "", h = 0; h < b.length; h += 1)
819
- S += b[h], h + 1 < b.length && (S += x);
820
- return S;
836
+ }, k = function(S, C) {
837
+ for (var A = "", h = 0; h < S.length; h += 1)
838
+ A += S[h], h + 1 < S.length && (A += C);
839
+ return A;
821
840
  };
822
- return Rr = function(x) {
823
- var S = this;
824
- if (typeof S != "function" || s.apply(S) !== l)
825
- throw new TypeError(t + S);
826
- for (var h = P(arguments, 1), w, y = function() {
841
+ return Rr = function(C) {
842
+ var A = this;
843
+ if (typeof A != "function" || p.apply(A) !== l)
844
+ throw new TypeError(t + A);
845
+ for (var h = E(arguments, 1), w, y = function() {
827
846
  if (this instanceof w) {
828
- var e = S.apply(
847
+ var e = A.apply(
829
848
  this,
830
849
  o(h, arguments)
831
850
  );
832
851
  return Object(e) === e ? e : this;
833
852
  }
834
- return S.apply(
835
- x,
853
+ return A.apply(
854
+ C,
836
855
  o(h, arguments)
837
856
  );
838
- }, f = d(0, S.length - h.length), v = [], O = 0; O < f; O++)
839
- v[O] = "$" + O;
840
- if (w = Function("binder", "return function (" + k(v, ",") + "){ return binder.apply(this,arguments); }")(y), S.prototype) {
841
- var a = function() {
857
+ }, f = d(0, A.length - h.length), v = [], P = 0; P < f; P++)
858
+ v[P] = "$" + P;
859
+ if (w = Function("binder", "return function (" + k(v, ",") + "){ return binder.apply(this,arguments); }")(y), A.prototype) {
860
+ var i = function() {
842
861
  };
843
- a.prototype = S.prototype, w.prototype = new a(), a.prototype = null;
862
+ i.prototype = A.prototype, w.prototype = new i(), i.prototype = null;
844
863
  }
845
864
  return w;
846
865
  }, Rr;
@@ -864,29 +883,29 @@ var Cr, Nt;
864
883
  function uo() {
865
884
  return Nt || (Nt = 1, Cr = typeof Reflect < "u" && Reflect && Reflect.apply), Cr;
866
885
  }
867
- var kr, Vt;
886
+ var Br, Vt;
868
887
  function fo() {
869
- if (Vt) return kr;
888
+ if (Vt) return Br;
870
889
  Vt = 1;
871
- var t = je(), s = sn(), d = Kr(), l = uo();
872
- return kr = l || t.call(d, s), kr;
890
+ var t = je(), p = sn(), d = Kr(), l = uo();
891
+ return Br = l || t.call(d, p), Br;
873
892
  }
874
- var Br, Lt;
893
+ var kr, Lt;
875
894
  function pn() {
876
- if (Lt) return Br;
895
+ if (Lt) return kr;
877
896
  Lt = 1;
878
- var t = je(), s = /* @__PURE__ */ Ue(), d = Kr(), l = fo();
879
- return Br = function(P) {
880
- if (P.length < 1 || typeof P[0] != "function")
881
- throw new s("a function is required");
882
- return l(t, d, P);
883
- }, Br;
897
+ var t = je(), p = /* @__PURE__ */ Ue(), d = Kr(), l = fo();
898
+ return kr = function(E) {
899
+ if (E.length < 1 || typeof E[0] != "function")
900
+ throw new p("a function is required");
901
+ return l(t, d, E);
902
+ }, kr;
884
903
  }
885
904
  var $r, Wt;
886
905
  function so() {
887
906
  if (Wt) return $r;
888
907
  Wt = 1;
889
- var t = pn(), s = /* @__PURE__ */ ln(), d;
908
+ var t = pn(), p = /* @__PURE__ */ ln(), d;
890
909
  try {
891
910
  d = /** @type {{ __proto__?: typeof Array.prototype }} */
892
911
  [].__proto__ === Array.prototype;
@@ -894,15 +913,15 @@ function so() {
894
913
  if (!k || typeof k != "object" || !("code" in k) || k.code !== "ERR_PROTO_ACCESS")
895
914
  throw k;
896
915
  }
897
- var l = !!d && s && s(
916
+ var l = !!d && p && p(
898
917
  Object.prototype,
899
918
  /** @type {keyof typeof Object.prototype} */
900
919
  "__proto__"
901
- ), o = Object, P = o.getPrototypeOf;
902
- return $r = l && typeof l.get == "function" ? t([l.get]) : typeof P == "function" ? (
920
+ ), o = Object, E = o.getPrototypeOf;
921
+ return $r = l && typeof l.get == "function" ? t([l.get]) : typeof E == "function" ? (
903
922
  /** @type {import('./get')} */
904
- function(b) {
905
- return P(b == null ? b : o(b));
923
+ function(S) {
924
+ return E(S == null ? S : o(S));
906
925
  }
907
926
  ) : !1, $r;
908
927
  }
@@ -910,13 +929,13 @@ var qr, zt;
910
929
  function po() {
911
930
  if (zt) return qr;
912
931
  zt = 1;
913
- var t = un(), s = fn(), d = /* @__PURE__ */ so();
932
+ var t = un(), p = fn(), d = /* @__PURE__ */ so();
914
933
  return qr = t ? function(o) {
915
934
  return t(o);
916
- } : s ? function(o) {
935
+ } : p ? function(o) {
917
936
  if (!o || typeof o != "object" && typeof o != "function")
918
937
  throw new TypeError("getProto: not an object");
919
- return s(o);
938
+ return p(o);
920
939
  } : d ? function(o) {
921
940
  return d(o);
922
941
  } : null, qr;
@@ -925,21 +944,21 @@ var Ir, Gt;
925
944
  function co() {
926
945
  if (Gt) return Ir;
927
946
  Gt = 1;
928
- var t = Function.prototype.call, s = Object.prototype.hasOwnProperty, d = je();
929
- return Ir = d.call(t, s), Ir;
947
+ var t = Function.prototype.call, p = Object.prototype.hasOwnProperty, d = je();
948
+ return Ir = d.call(t, p), Ir;
930
949
  }
931
950
  var Ur, jt;
932
951
  function Jr() {
933
952
  if (jt) return Ur;
934
953
  jt = 1;
935
- var t, s = /* @__PURE__ */ an(), d = /* @__PURE__ */ Wn(), l = /* @__PURE__ */ zn(), o = /* @__PURE__ */ Gn(), P = /* @__PURE__ */ jn(), k = /* @__PURE__ */ Hn(), b = /* @__PURE__ */ Ue(), x = /* @__PURE__ */ Qn(), S = /* @__PURE__ */ Kn(), h = /* @__PURE__ */ Jn(), w = /* @__PURE__ */ Yn(), y = /* @__PURE__ */ Xn(), f = /* @__PURE__ */ Zn(), v = /* @__PURE__ */ eo(), O = /* @__PURE__ */ to(), a = Function, e = function(Z) {
954
+ var t, p = /* @__PURE__ */ an(), d = /* @__PURE__ */ Wn(), l = /* @__PURE__ */ zn(), o = /* @__PURE__ */ Gn(), E = /* @__PURE__ */ jn(), k = /* @__PURE__ */ Hn(), S = /* @__PURE__ */ Ue(), C = /* @__PURE__ */ Qn(), A = /* @__PURE__ */ Kn(), h = /* @__PURE__ */ Jn(), w = /* @__PURE__ */ Yn(), y = /* @__PURE__ */ Xn(), f = /* @__PURE__ */ Zn(), v = /* @__PURE__ */ eo(), P = /* @__PURE__ */ to(), i = Function, e = function(Z) {
936
955
  try {
937
- return a('"use strict"; return (' + Z + ").constructor;")();
956
+ return i('"use strict"; return (' + Z + ").constructor;")();
938
957
  } catch {
939
958
  }
940
959
  }, u = /* @__PURE__ */ ln(), _ = /* @__PURE__ */ oo(), m = function() {
941
- throw new b();
942
- }, i = u ? (function() {
960
+ throw new S();
961
+ }, a = u ? (function() {
943
962
  try {
944
963
  return arguments.callee, m;
945
964
  } catch {
@@ -949,17 +968,17 @@ function Jr() {
949
968
  return m;
950
969
  }
951
970
  }
952
- })() : m, E = io()(), g = po(), F = fn(), q = un(), D = sn(), T = Kr(), R = {}, W = typeof Uint8Array > "u" || !g ? t : g(Uint8Array), p = {
971
+ })() : m, R = io()(), F = po(), g = fn(), $ = un(), x = sn(), U = Kr(), O = {}, W = typeof Uint8Array > "u" || !F ? t : F(Uint8Array), c = {
953
972
  __proto__: null,
954
973
  "%AggregateError%": typeof AggregateError > "u" ? t : AggregateError,
955
974
  "%Array%": Array,
956
975
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? t : ArrayBuffer,
957
- "%ArrayIteratorPrototype%": E && g ? g([][Symbol.iterator]()) : t,
976
+ "%ArrayIteratorPrototype%": R && F ? F([][Symbol.iterator]()) : t,
958
977
  "%AsyncFromSyncIteratorPrototype%": t,
959
- "%AsyncFunction%": R,
960
- "%AsyncGenerator%": R,
961
- "%AsyncGeneratorFunction%": R,
962
- "%AsyncIteratorPrototype%": R,
978
+ "%AsyncFunction%": O,
979
+ "%AsyncGenerator%": O,
980
+ "%AsyncGeneratorFunction%": O,
981
+ "%AsyncIteratorPrototype%": O,
963
982
  "%Atomics%": typeof Atomics > "u" ? t : Atomics,
964
983
  "%BigInt%": typeof BigInt > "u" ? t : BigInt,
965
984
  "%BigInt64Array%": typeof BigInt64Array > "u" ? t : BigInt64Array,
@@ -979,68 +998,68 @@ function Jr() {
979
998
  "%Float32Array%": typeof Float32Array > "u" ? t : Float32Array,
980
999
  "%Float64Array%": typeof Float64Array > "u" ? t : Float64Array,
981
1000
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? t : FinalizationRegistry,
982
- "%Function%": a,
983
- "%GeneratorFunction%": R,
1001
+ "%Function%": i,
1002
+ "%GeneratorFunction%": O,
984
1003
  "%Int8Array%": typeof Int8Array > "u" ? t : Int8Array,
985
1004
  "%Int16Array%": typeof Int16Array > "u" ? t : Int16Array,
986
1005
  "%Int32Array%": typeof Int32Array > "u" ? t : Int32Array,
987
1006
  "%isFinite%": isFinite,
988
1007
  "%isNaN%": isNaN,
989
- "%IteratorPrototype%": E && g ? g(g([][Symbol.iterator]())) : t,
1008
+ "%IteratorPrototype%": R && F ? F(F([][Symbol.iterator]())) : t,
990
1009
  "%JSON%": typeof JSON == "object" ? JSON : t,
991
1010
  "%Map%": typeof Map > "u" ? t : Map,
992
- "%MapIteratorPrototype%": typeof Map > "u" || !E || !g ? t : g((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1011
+ "%MapIteratorPrototype%": typeof Map > "u" || !R || !F ? t : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
993
1012
  "%Math%": Math,
994
1013
  "%Number%": Number,
995
- "%Object%": s,
1014
+ "%Object%": p,
996
1015
  "%Object.getOwnPropertyDescriptor%": u,
997
1016
  "%parseFloat%": parseFloat,
998
1017
  "%parseInt%": parseInt,
999
1018
  "%Promise%": typeof Promise > "u" ? t : Promise,
1000
1019
  "%Proxy%": typeof Proxy > "u" ? t : Proxy,
1001
1020
  "%RangeError%": o,
1002
- "%ReferenceError%": P,
1021
+ "%ReferenceError%": E,
1003
1022
  "%Reflect%": typeof Reflect > "u" ? t : Reflect,
1004
1023
  "%RegExp%": RegExp,
1005
1024
  "%Set%": typeof Set > "u" ? t : Set,
1006
- "%SetIteratorPrototype%": typeof Set > "u" || !E || !g ? t : g((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1025
+ "%SetIteratorPrototype%": typeof Set > "u" || !R || !F ? t : F((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1007
1026
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? t : SharedArrayBuffer,
1008
1027
  "%String%": String,
1009
- "%StringIteratorPrototype%": E && g ? g(""[Symbol.iterator]()) : t,
1010
- "%Symbol%": E ? Symbol : t,
1028
+ "%StringIteratorPrototype%": R && F ? F(""[Symbol.iterator]()) : t,
1029
+ "%Symbol%": R ? Symbol : t,
1011
1030
  "%SyntaxError%": k,
1012
- "%ThrowTypeError%": i,
1031
+ "%ThrowTypeError%": a,
1013
1032
  "%TypedArray%": W,
1014
- "%TypeError%": b,
1033
+ "%TypeError%": S,
1015
1034
  "%Uint8Array%": typeof Uint8Array > "u" ? t : Uint8Array,
1016
1035
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? t : Uint8ClampedArray,
1017
1036
  "%Uint16Array%": typeof Uint16Array > "u" ? t : Uint16Array,
1018
1037
  "%Uint32Array%": typeof Uint32Array > "u" ? t : Uint32Array,
1019
- "%URIError%": x,
1038
+ "%URIError%": C,
1020
1039
  "%WeakMap%": typeof WeakMap > "u" ? t : WeakMap,
1021
1040
  "%WeakRef%": typeof WeakRef > "u" ? t : WeakRef,
1022
1041
  "%WeakSet%": typeof WeakSet > "u" ? t : WeakSet,
1023
- "%Function.prototype.call%": T,
1024
- "%Function.prototype.apply%": D,
1042
+ "%Function.prototype.call%": U,
1043
+ "%Function.prototype.apply%": x,
1025
1044
  "%Object.defineProperty%": _,
1026
- "%Object.getPrototypeOf%": F,
1027
- "%Math.abs%": S,
1045
+ "%Object.getPrototypeOf%": g,
1046
+ "%Math.abs%": A,
1028
1047
  "%Math.floor%": h,
1029
1048
  "%Math.max%": w,
1030
1049
  "%Math.min%": y,
1031
1050
  "%Math.pow%": f,
1032
1051
  "%Math.round%": v,
1033
- "%Math.sign%": O,
1034
- "%Reflect.getPrototypeOf%": q
1052
+ "%Math.sign%": P,
1053
+ "%Reflect.getPrototypeOf%": $
1035
1054
  };
1036
- if (g)
1055
+ if (F)
1037
1056
  try {
1038
1057
  null.error;
1039
1058
  } catch (Z) {
1040
- var c = g(g(Z));
1041
- p["%Error.prototype%"] = c;
1059
+ var s = F(F(Z));
1060
+ c["%Error.prototype%"] = s;
1042
1061
  }
1043
- var A = function Z(V) {
1062
+ var b = function Z(V) {
1044
1063
  var J;
1045
1064
  if (V === "%AsyncFunction%")
1046
1065
  J = e("async function () {}");
@@ -1049,14 +1068,14 @@ function Jr() {
1049
1068
  else if (V === "%AsyncGeneratorFunction%")
1050
1069
  J = e("async function* () {}");
1051
1070
  else if (V === "%AsyncGenerator%") {
1052
- var G = Z("%AsyncGeneratorFunction%");
1053
- G && (J = G.prototype);
1071
+ var j = Z("%AsyncGeneratorFunction%");
1072
+ j && (J = j.prototype);
1054
1073
  } else if (V === "%AsyncIteratorPrototype%") {
1055
1074
  var X = Z("%AsyncGenerator%");
1056
- X && g && (J = g(X.prototype));
1075
+ X && F && (J = F(X.prototype));
1057
1076
  }
1058
- return p[V] = J, J;
1059
- }, M = {
1077
+ return c[V] = J, J;
1078
+ }, I = {
1060
1079
  __proto__: null,
1061
1080
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
1062
1081
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -1109,25 +1128,25 @@ function Jr() {
1109
1128
  "%URIErrorPrototype%": ["URIError", "prototype"],
1110
1129
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1111
1130
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1112
- }, B = je(), Q = /* @__PURE__ */ co(), Y = B.call(T, Array.prototype.concat), we = B.call(D, Array.prototype.splice), pe = B.call(T, String.prototype.replace), be = B.call(T, String.prototype.slice), ye = B.call(T, RegExp.prototype.exec), ve = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ie = /\\(\\)?/g, C = function(V) {
1113
- var J = be(V, 0, 1), G = be(V, -1);
1114
- if (J === "%" && G !== "%")
1131
+ }, D = je(), z = /* @__PURE__ */ co(), Y = D.call(U, Array.prototype.concat), we = D.call(x, Array.prototype.splice), pe = D.call(U, String.prototype.replace), be = D.call(U, String.prototype.slice), ye = D.call(U, RegExp.prototype.exec), ve = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ie = /\\(\\)?/g, B = function(V) {
1132
+ var J = be(V, 0, 1), j = be(V, -1);
1133
+ if (J === "%" && j !== "%")
1115
1134
  throw new k("invalid intrinsic syntax, expected closing `%`");
1116
- if (G === "%" && J !== "%")
1135
+ if (j === "%" && J !== "%")
1117
1136
  throw new k("invalid intrinsic syntax, expected opening `%`");
1118
1137
  var X = [];
1119
1138
  return pe(V, ve, function(re, ce, te, le) {
1120
1139
  X[X.length] = te ? pe(le, ie, "$1") : ce || re;
1121
1140
  }), X;
1122
1141
  }, fe = function(V, J) {
1123
- var G = V, X;
1124
- if (Q(M, G) && (X = M[G], G = "%" + X[0] + "%"), Q(p, G)) {
1125
- var re = p[G];
1126
- if (re === R && (re = A(G)), typeof re > "u" && !J)
1127
- throw new b("intrinsic " + V + " exists, but is not available. Please file an issue!");
1142
+ var j = V, X;
1143
+ if (z(I, j) && (X = I[j], j = "%" + X[0] + "%"), z(c, j)) {
1144
+ var re = c[j];
1145
+ if (re === O && (re = b(j)), typeof re > "u" && !J)
1146
+ throw new S("intrinsic " + V + " exists, but is not available. Please file an issue!");
1128
1147
  return {
1129
1148
  alias: X,
1130
- name: G,
1149
+ name: j,
1131
1150
  value: re
1132
1151
  };
1133
1152
  }
@@ -1135,31 +1154,31 @@ function Jr() {
1135
1154
  };
1136
1155
  return Ur = function(V, J) {
1137
1156
  if (typeof V != "string" || V.length === 0)
1138
- throw new b("intrinsic name must be a non-empty string");
1157
+ throw new S("intrinsic name must be a non-empty string");
1139
1158
  if (arguments.length > 1 && typeof J != "boolean")
1140
- throw new b('"allowMissing" argument must be a boolean');
1159
+ throw new S('"allowMissing" argument must be a boolean');
1141
1160
  if (ye(/^%?[^%]*%?$/, V) === null)
1142
1161
  throw new k("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
1143
- var G = C(V), X = G.length > 0 ? G[0] : "", re = fe("%" + X + "%", J), ce = re.name, te = re.value, le = !1, de = re.alias;
1144
- de && (X = de[0], we(G, Y([0, 1], de)));
1145
- for (var Fe = 1, Se = !0; Fe < G.length; Fe += 1) {
1146
- var me = G[Fe], xe = be(me, 0, 1), De = be(me, -1);
1162
+ var j = B(V), X = j.length > 0 ? j[0] : "", re = fe("%" + X + "%", J), ce = re.name, te = re.value, le = !1, de = re.alias;
1163
+ de && (X = de[0], we(j, Y([0, 1], de)));
1164
+ for (var Fe = 1, Se = !0; Fe < j.length; Fe += 1) {
1165
+ var me = j[Fe], xe = be(me, 0, 1), De = be(me, -1);
1147
1166
  if ((xe === '"' || xe === "'" || xe === "`" || De === '"' || De === "'" || De === "`") && xe !== De)
1148
1167
  throw new k("property names with quotes must have matching quotes");
1149
- if ((me === "constructor" || !Se) && (le = !0), X += "." + me, ce = "%" + X + "%", Q(p, ce))
1150
- te = p[ce];
1168
+ if ((me === "constructor" || !Se) && (le = !0), X += "." + me, ce = "%" + X + "%", z(c, ce))
1169
+ te = c[ce];
1151
1170
  else if (te != null) {
1152
1171
  if (!(me in te)) {
1153
1172
  if (!J)
1154
- throw new b("base intrinsic for " + V + " exists, but the property is not available.");
1173
+ throw new S("base intrinsic for " + V + " exists, but the property is not available.");
1155
1174
  return;
1156
1175
  }
1157
- if (u && Fe + 1 >= G.length) {
1176
+ if (u && Fe + 1 >= j.length) {
1158
1177
  var Ce = u(te, me);
1159
1178
  Se = !!Ce, Se && "get" in Ce && !("originalValue" in Ce.get) ? te = Ce.get : te = te[me];
1160
1179
  } else
1161
- Se = Q(te, me), te = te[me];
1162
- Se && !le && (p[ce] = te);
1180
+ Se = z(te, me), te = te[me];
1181
+ Se && !le && (c[ce] = te);
1163
1182
  }
1164
1183
  }
1165
1184
  return te;
@@ -1169,13 +1188,13 @@ var Tr, Ht;
1169
1188
  function cn() {
1170
1189
  if (Ht) return Tr;
1171
1190
  Ht = 1;
1172
- var t = /* @__PURE__ */ Jr(), s = pn(), d = s([t("%String.prototype.indexOf%")]);
1173
- return Tr = function(o, P) {
1191
+ var t = /* @__PURE__ */ Jr(), p = pn(), d = p([t("%String.prototype.indexOf%")]);
1192
+ return Tr = function(o, E) {
1174
1193
  var k = (
1175
1194
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
1176
- t(o, !!P)
1195
+ t(o, !!E)
1177
1196
  );
1178
- return typeof k == "function" && d(o, ".prototype.") > -1 ? s(
1197
+ return typeof k == "function" && d(o, ".prototype.") > -1 ? p(
1179
1198
  /** @type {const} */
1180
1199
  [k]
1181
1200
  ) : k;
@@ -1185,7 +1204,7 @@ var Mr, Qt;
1185
1204
  function dn() {
1186
1205
  if (Qt) return Mr;
1187
1206
  Qt = 1;
1188
- var t = /* @__PURE__ */ Jr(), s = /* @__PURE__ */ cn(), d = /* @__PURE__ */ Ge(), l = /* @__PURE__ */ Ue(), o = t("%Map%", !0), P = s("Map.prototype.get", !0), k = s("Map.prototype.set", !0), b = s("Map.prototype.has", !0), x = s("Map.prototype.delete", !0), S = s("Map.prototype.size", !0);
1207
+ var t = /* @__PURE__ */ Jr(), p = /* @__PURE__ */ cn(), d = /* @__PURE__ */ Ge(), l = /* @__PURE__ */ Ue(), o = t("%Map%", !0), E = p("Map.prototype.get", !0), k = p("Map.prototype.set", !0), S = p("Map.prototype.has", !0), C = p("Map.prototype.delete", !0), A = p("Map.prototype.size", !0);
1189
1208
  return Mr = !!o && /** @type {Exclude<import('.'), false>} */
1190
1209
  function() {
1191
1210
  var w, y = {
@@ -1195,17 +1214,17 @@ function dn() {
1195
1214
  },
1196
1215
  delete: function(f) {
1197
1216
  if (w) {
1198
- var v = x(w, f);
1199
- return S(w) === 0 && (w = void 0), v;
1217
+ var v = C(w, f);
1218
+ return A(w) === 0 && (w = void 0), v;
1200
1219
  }
1201
1220
  return !1;
1202
1221
  },
1203
1222
  get: function(f) {
1204
1223
  if (w)
1205
- return P(w, f);
1224
+ return E(w, f);
1206
1225
  },
1207
1226
  has: function(f) {
1208
- return w ? b(w, f) : !1;
1227
+ return w ? S(w, f) : !1;
1209
1228
  },
1210
1229
  set: function(f, v) {
1211
1230
  w || (w = new o()), k(w, f, v);
@@ -1218,8 +1237,8 @@ var Nr, Kt;
1218
1237
  function yo() {
1219
1238
  if (Kt) return Nr;
1220
1239
  Kt = 1;
1221
- var t = /* @__PURE__ */ Jr(), s = /* @__PURE__ */ cn(), d = /* @__PURE__ */ Ge(), l = dn(), o = /* @__PURE__ */ Ue(), P = t("%WeakMap%", !0), k = s("WeakMap.prototype.get", !0), b = s("WeakMap.prototype.set", !0), x = s("WeakMap.prototype.has", !0), S = s("WeakMap.prototype.delete", !0);
1222
- return Nr = P ? (
1240
+ var t = /* @__PURE__ */ Jr(), p = /* @__PURE__ */ cn(), d = /* @__PURE__ */ Ge(), l = dn(), o = /* @__PURE__ */ Ue(), E = t("%WeakMap%", !0), k = p("WeakMap.prototype.get", !0), S = p("WeakMap.prototype.set", !0), C = p("WeakMap.prototype.has", !0), A = p("WeakMap.prototype.delete", !0);
1241
+ return Nr = E ? (
1223
1242
  /** @type {Exclude<import('.'), false>} */
1224
1243
  function() {
1225
1244
  var w, y, f = {
@@ -1228,21 +1247,21 @@ function yo() {
1228
1247
  throw new o("Side channel does not contain " + d(v));
1229
1248
  },
1230
1249
  delete: function(v) {
1231
- if (P && v && (typeof v == "object" || typeof v == "function")) {
1250
+ if (E && v && (typeof v == "object" || typeof v == "function")) {
1232
1251
  if (w)
1233
- return S(w, v);
1252
+ return A(w, v);
1234
1253
  } else if (l && y)
1235
1254
  return y.delete(v);
1236
1255
  return !1;
1237
1256
  },
1238
1257
  get: function(v) {
1239
- return P && v && (typeof v == "object" || typeof v == "function") && w ? k(w, v) : y && y.get(v);
1258
+ return E && v && (typeof v == "object" || typeof v == "function") && w ? k(w, v) : y && y.get(v);
1240
1259
  },
1241
1260
  has: function(v) {
1242
- return P && v && (typeof v == "object" || typeof v == "function") && w ? x(w, v) : !!y && y.has(v);
1261
+ return E && v && (typeof v == "object" || typeof v == "function") && w ? C(w, v) : !!y && y.has(v);
1243
1262
  },
1244
- set: function(v, O) {
1245
- P && v && (typeof v == "object" || typeof v == "function") ? (w || (w = new P()), b(w, v, O)) : l && (y || (y = l()), y.set(v, O));
1263
+ set: function(v, P) {
1264
+ E && v && (typeof v == "object" || typeof v == "function") ? (w || (w = new E()), S(w, v, P)) : l && (y || (y = l()), y.set(v, P));
1246
1265
  }
1247
1266
  };
1248
1267
  return f;
@@ -1253,34 +1272,34 @@ var Vr, Jt;
1253
1272
  function vo() {
1254
1273
  if (Jt) return Vr;
1255
1274
  Jt = 1;
1256
- var t = /* @__PURE__ */ Ue(), s = /* @__PURE__ */ Ge(), d = Ln(), l = dn(), o = yo(), P = o || l || d;
1275
+ var t = /* @__PURE__ */ Ue(), p = /* @__PURE__ */ Ge(), d = Ln(), l = dn(), o = yo(), E = o || l || d;
1257
1276
  return Vr = function() {
1258
- var b, x = {
1259
- assert: function(S) {
1260
- if (!x.has(S))
1261
- throw new t("Side channel does not contain " + s(S));
1277
+ var S, C = {
1278
+ assert: function(A) {
1279
+ if (!C.has(A))
1280
+ throw new t("Side channel does not contain " + p(A));
1262
1281
  },
1263
- delete: function(S) {
1264
- return !!b && b.delete(S);
1282
+ delete: function(A) {
1283
+ return !!S && S.delete(A);
1265
1284
  },
1266
- get: function(S) {
1267
- return b && b.get(S);
1285
+ get: function(A) {
1286
+ return S && S.get(A);
1268
1287
  },
1269
- has: function(S) {
1270
- return !!b && b.has(S);
1288
+ has: function(A) {
1289
+ return !!S && S.has(A);
1271
1290
  },
1272
- set: function(S, h) {
1273
- b || (b = P()), b.set(S, h);
1291
+ set: function(A, h) {
1292
+ S || (S = E()), S.set(A, h);
1274
1293
  }
1275
1294
  };
1276
- return x;
1295
+ return C;
1277
1296
  }, Vr;
1278
1297
  }
1279
1298
  var Lr, Yt;
1280
1299
  function Yr() {
1281
1300
  if (Yt) return Lr;
1282
1301
  Yt = 1;
1283
- var t = String.prototype.replace, s = /%20/g, d = {
1302
+ var t = String.prototype.replace, p = /%20/g, d = {
1284
1303
  RFC1738: "RFC1738",
1285
1304
  RFC3986: "RFC3986"
1286
1305
  };
@@ -1288,7 +1307,7 @@ function Yr() {
1288
1307
  default: d.RFC3986,
1289
1308
  formatters: {
1290
1309
  RFC1738: function(l) {
1291
- return t.call(l, s, "+");
1310
+ return t.call(l, p, "+");
1292
1311
  },
1293
1312
  RFC3986: function(l) {
1294
1313
  return String(l);
@@ -1302,31 +1321,31 @@ var Wr, Xt;
1302
1321
  function yn() {
1303
1322
  if (Xt) return Wr;
1304
1323
  Xt = 1;
1305
- var t = /* @__PURE__ */ Yr(), s = Object.prototype.hasOwnProperty, d = Array.isArray, l = (function() {
1306
- for (var a = [], e = 0; e < 256; ++e)
1307
- a.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
1308
- return a;
1324
+ var t = /* @__PURE__ */ Yr(), p = Object.prototype.hasOwnProperty, d = Array.isArray, l = (function() {
1325
+ for (var i = [], e = 0; e < 256; ++e)
1326
+ i.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
1327
+ return i;
1309
1328
  })(), o = function(e) {
1310
1329
  for (; e.length > 1; ) {
1311
1330
  var u = e.pop(), _ = u.obj[u.prop];
1312
1331
  if (d(_)) {
1313
- for (var m = [], i = 0; i < _.length; ++i)
1314
- typeof _[i] < "u" && m.push(_[i]);
1332
+ for (var m = [], a = 0; a < _.length; ++a)
1333
+ typeof _[a] < "u" && m.push(_[a]);
1315
1334
  u.obj[u.prop] = m;
1316
1335
  }
1317
1336
  }
1318
- }, P = function(e, u) {
1337
+ }, E = function(e, u) {
1319
1338
  for (var _ = u && u.plainObjects ? { __proto__: null } : {}, m = 0; m < e.length; ++m)
1320
1339
  typeof e[m] < "u" && (_[m] = e[m]);
1321
1340
  return _;
1322
- }, k = function a(e, u, _) {
1341
+ }, k = function i(e, u, _) {
1323
1342
  if (!u)
1324
1343
  return e;
1325
1344
  if (typeof u != "object" && typeof u != "function") {
1326
1345
  if (d(e))
1327
1346
  e.push(u);
1328
1347
  else if (e && typeof e == "object")
1329
- (_ && (_.plainObjects || _.allowPrototypes) || !s.call(Object.prototype, u)) && (e[u] = !0);
1348
+ (_ && (_.plainObjects || _.allowPrototypes) || !p.call(Object.prototype, u)) && (e[u] = !0);
1330
1349
  else
1331
1350
  return [e, u];
1332
1351
  return e;
@@ -1334,22 +1353,22 @@ function yn() {
1334
1353
  if (!e || typeof e != "object")
1335
1354
  return [e].concat(u);
1336
1355
  var m = e;
1337
- return d(e) && !d(u) && (m = P(e, _)), d(e) && d(u) ? (u.forEach(function(i, E) {
1338
- if (s.call(e, E)) {
1339
- var g = e[E];
1340
- g && typeof g == "object" && i && typeof i == "object" ? e[E] = a(g, i, _) : e.push(i);
1356
+ return d(e) && !d(u) && (m = E(e, _)), d(e) && d(u) ? (u.forEach(function(a, R) {
1357
+ if (p.call(e, R)) {
1358
+ var F = e[R];
1359
+ F && typeof F == "object" && a && typeof a == "object" ? e[R] = i(F, a, _) : e.push(a);
1341
1360
  } else
1342
- e[E] = i;
1343
- }), e) : Object.keys(u).reduce(function(i, E) {
1344
- var g = u[E];
1345
- return s.call(i, E) ? i[E] = a(i[E], g, _) : i[E] = g, i;
1361
+ e[R] = a;
1362
+ }), e) : Object.keys(u).reduce(function(a, R) {
1363
+ var F = u[R];
1364
+ return p.call(a, R) ? a[R] = i(a[R], F, _) : a[R] = F, a;
1346
1365
  }, m);
1347
- }, b = function(e, u) {
1366
+ }, S = function(e, u) {
1348
1367
  return Object.keys(u).reduce(function(_, m) {
1349
1368
  return _[m] = u[m], _;
1350
1369
  }, e);
1351
- }, x = function(a, e, u) {
1352
- var _ = a.replace(/\+/g, " ");
1370
+ }, C = function(i, e, u) {
1371
+ var _ = i.replace(/\+/g, " ");
1353
1372
  if (u === "iso-8859-1")
1354
1373
  return _.replace(/%[0-9a-f]{2}/gi, unescape);
1355
1374
  try {
@@ -1357,43 +1376,43 @@ function yn() {
1357
1376
  } catch {
1358
1377
  return _;
1359
1378
  }
1360
- }, S = 1024, h = function(e, u, _, m, i) {
1379
+ }, A = 1024, h = function(e, u, _, m, a) {
1361
1380
  if (e.length === 0)
1362
1381
  return e;
1363
- var E = e;
1364
- if (typeof e == "symbol" ? E = Symbol.prototype.toString.call(e) : typeof e != "string" && (E = String(e)), _ === "iso-8859-1")
1365
- return escape(E).replace(/%u[0-9a-f]{4}/gi, function(W) {
1382
+ var R = e;
1383
+ if (typeof e == "symbol" ? R = Symbol.prototype.toString.call(e) : typeof e != "string" && (R = String(e)), _ === "iso-8859-1")
1384
+ return escape(R).replace(/%u[0-9a-f]{4}/gi, function(W) {
1366
1385
  return "%26%23" + parseInt(W.slice(2), 16) + "%3B";
1367
1386
  });
1368
- for (var g = "", F = 0; F < E.length; F += S) {
1369
- for (var q = E.length >= S ? E.slice(F, F + S) : E, D = [], T = 0; T < q.length; ++T) {
1370
- var R = q.charCodeAt(T);
1371
- if (R === 45 || R === 46 || R === 95 || R === 126 || R >= 48 && R <= 57 || R >= 65 && R <= 90 || R >= 97 && R <= 122 || i === t.RFC1738 && (R === 40 || R === 41)) {
1372
- D[D.length] = q.charAt(T);
1387
+ for (var F = "", g = 0; g < R.length; g += A) {
1388
+ for (var $ = R.length >= A ? R.slice(g, g + A) : R, x = [], U = 0; U < $.length; ++U) {
1389
+ var O = $.charCodeAt(U);
1390
+ if (O === 45 || O === 46 || O === 95 || O === 126 || O >= 48 && O <= 57 || O >= 65 && O <= 90 || O >= 97 && O <= 122 || a === t.RFC1738 && (O === 40 || O === 41)) {
1391
+ x[x.length] = $.charAt(U);
1373
1392
  continue;
1374
1393
  }
1375
- if (R < 128) {
1376
- D[D.length] = l[R];
1394
+ if (O < 128) {
1395
+ x[x.length] = l[O];
1377
1396
  continue;
1378
1397
  }
1379
- if (R < 2048) {
1380
- D[D.length] = l[192 | R >> 6] + l[128 | R & 63];
1398
+ if (O < 2048) {
1399
+ x[x.length] = l[192 | O >> 6] + l[128 | O & 63];
1381
1400
  continue;
1382
1401
  }
1383
- if (R < 55296 || R >= 57344) {
1384
- D[D.length] = l[224 | R >> 12] + l[128 | R >> 6 & 63] + l[128 | R & 63];
1402
+ if (O < 55296 || O >= 57344) {
1403
+ x[x.length] = l[224 | O >> 12] + l[128 | O >> 6 & 63] + l[128 | O & 63];
1385
1404
  continue;
1386
1405
  }
1387
- T += 1, R = 65536 + ((R & 1023) << 10 | q.charCodeAt(T) & 1023), D[D.length] = l[240 | R >> 18] + l[128 | R >> 12 & 63] + l[128 | R >> 6 & 63] + l[128 | R & 63];
1406
+ U += 1, O = 65536 + ((O & 1023) << 10 | $.charCodeAt(U) & 1023), x[x.length] = l[240 | O >> 18] + l[128 | O >> 12 & 63] + l[128 | O >> 6 & 63] + l[128 | O & 63];
1388
1407
  }
1389
- g += D.join("");
1408
+ F += x.join("");
1390
1409
  }
1391
- return g;
1410
+ return F;
1392
1411
  }, w = function(e) {
1393
1412
  for (var u = [{ obj: { o: e }, prop: "o" }], _ = [], m = 0; m < u.length; ++m)
1394
- for (var i = u[m], E = i.obj[i.prop], g = Object.keys(E), F = 0; F < g.length; ++F) {
1395
- var q = g[F], D = E[q];
1396
- typeof D == "object" && D !== null && _.indexOf(D) === -1 && (u.push({ obj: E, prop: q }), _.push(D));
1413
+ for (var a = u[m], R = a.obj[a.prop], F = Object.keys(R), g = 0; g < F.length; ++g) {
1414
+ var $ = F[g], x = R[$];
1415
+ typeof x == "object" && x !== null && _.indexOf(x) === -1 && (u.push({ obj: R, prop: $ }), _.push(x));
1397
1416
  }
1398
1417
  return o(u), e;
1399
1418
  }, y = function(e) {
@@ -1402,7 +1421,7 @@ function yn() {
1402
1421
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1403
1422
  }, v = function(e, u) {
1404
1423
  return [].concat(e, u);
1405
- }, O = function(e, u) {
1424
+ }, P = function(e, u) {
1406
1425
  if (d(e)) {
1407
1426
  for (var _ = [], m = 0; m < e.length; m += 1)
1408
1427
  _.push(u(e[m]));
@@ -1411,15 +1430,15 @@ function yn() {
1411
1430
  return u(e);
1412
1431
  };
1413
1432
  return Wr = {
1414
- arrayToObject: P,
1415
- assign: b,
1433
+ arrayToObject: E,
1434
+ assign: S,
1416
1435
  combine: v,
1417
1436
  compact: w,
1418
- decode: x,
1437
+ decode: C,
1419
1438
  encode: h,
1420
1439
  isBuffer: f,
1421
1440
  isRegExp: y,
1422
- maybeMap: O,
1441
+ maybeMap: P,
1423
1442
  merge: k
1424
1443
  }, Wr;
1425
1444
  }
@@ -1427,20 +1446,20 @@ var zr, Zt;
1427
1446
  function mo() {
1428
1447
  if (Zt) return zr;
1429
1448
  Zt = 1;
1430
- var t = vo(), s = /* @__PURE__ */ yn(), d = /* @__PURE__ */ Yr(), l = Object.prototype.hasOwnProperty, o = {
1431
- brackets: function(a) {
1432
- return a + "[]";
1449
+ var t = vo(), p = /* @__PURE__ */ yn(), d = /* @__PURE__ */ Yr(), l = Object.prototype.hasOwnProperty, o = {
1450
+ brackets: function(i) {
1451
+ return i + "[]";
1433
1452
  },
1434
1453
  comma: "comma",
1435
- indices: function(a, e) {
1436
- return a + "[" + e + "]";
1454
+ indices: function(i, e) {
1455
+ return i + "[" + e + "]";
1437
1456
  },
1438
- repeat: function(a) {
1439
- return a;
1457
+ repeat: function(i) {
1458
+ return i;
1440
1459
  }
1441
- }, P = Array.isArray, k = Array.prototype.push, b = function(O, a) {
1442
- k.apply(O, P(a) ? a : [a]);
1443
- }, x = Date.prototype.toISOString, S = d.default, h = {
1460
+ }, E = Array.isArray, k = Array.prototype.push, S = function(P, i) {
1461
+ k.apply(P, E(i) ? i : [i]);
1462
+ }, C = Date.prototype.toISOString, A = d.default, h = {
1444
1463
  addQueryPrefix: !1,
1445
1464
  allowDots: !1,
1446
1465
  allowEmptyArrays: !1,
@@ -1451,149 +1470,149 @@ function mo() {
1451
1470
  delimiter: "&",
1452
1471
  encode: !0,
1453
1472
  encodeDotInKeys: !1,
1454
- encoder: s.encode,
1473
+ encoder: p.encode,
1455
1474
  encodeValuesOnly: !1,
1456
1475
  filter: void 0,
1457
- format: S,
1458
- formatter: d.formatters[S],
1476
+ format: A,
1477
+ formatter: d.formatters[A],
1459
1478
  // deprecated
1460
1479
  indices: !1,
1461
- serializeDate: function(a) {
1462
- return x.call(a);
1480
+ serializeDate: function(i) {
1481
+ return C.call(i);
1463
1482
  },
1464
1483
  skipNulls: !1,
1465
1484
  strictNullHandling: !1
1466
- }, w = function(a) {
1467
- return typeof a == "string" || typeof a == "number" || typeof a == "boolean" || typeof a == "symbol" || typeof a == "bigint";
1468
- }, y = {}, f = function O(a, e, u, _, m, i, E, g, F, q, D, T, R, W, p, c, A, M) {
1469
- for (var B = a, Q = M, Y = 0, we = !1; (Q = Q.get(y)) !== void 0 && !we; ) {
1470
- var pe = Q.get(a);
1485
+ }, w = function(i) {
1486
+ return typeof i == "string" || typeof i == "number" || typeof i == "boolean" || typeof i == "symbol" || typeof i == "bigint";
1487
+ }, y = {}, f = function P(i, e, u, _, m, a, R, F, g, $, x, U, O, W, c, s, b, I) {
1488
+ for (var D = i, z = I, Y = 0, we = !1; (z = z.get(y)) !== void 0 && !we; ) {
1489
+ var pe = z.get(i);
1471
1490
  if (Y += 1, typeof pe < "u") {
1472
1491
  if (pe === Y)
1473
1492
  throw new RangeError("Cyclic object value");
1474
1493
  we = !0;
1475
1494
  }
1476
- typeof Q.get(y) > "u" && (Y = 0);
1495
+ typeof z.get(y) > "u" && (Y = 0);
1477
1496
  }
1478
- if (typeof q == "function" ? B = q(e, B) : B instanceof Date ? B = R(B) : u === "comma" && P(B) && (B = s.maybeMap(B, function(ce) {
1479
- return ce instanceof Date ? R(ce) : ce;
1480
- })), B === null) {
1481
- if (i)
1482
- return F && !c ? F(e, h.encoder, A, "key", W) : e;
1483
- B = "";
1497
+ if (typeof $ == "function" ? D = $(e, D) : D instanceof Date ? D = O(D) : u === "comma" && E(D) && (D = p.maybeMap(D, function(ce) {
1498
+ return ce instanceof Date ? O(ce) : ce;
1499
+ })), D === null) {
1500
+ if (a)
1501
+ return g && !s ? g(e, h.encoder, b, "key", W) : e;
1502
+ D = "";
1484
1503
  }
1485
- if (w(B) || s.isBuffer(B)) {
1486
- if (F) {
1487
- var be = c ? e : F(e, h.encoder, A, "key", W);
1488
- return [p(be) + "=" + p(F(B, h.encoder, A, "value", W))];
1504
+ if (w(D) || p.isBuffer(D)) {
1505
+ if (g) {
1506
+ var be = s ? e : g(e, h.encoder, b, "key", W);
1507
+ return [c(be) + "=" + c(g(D, h.encoder, b, "value", W))];
1489
1508
  }
1490
- return [p(e) + "=" + p(String(B))];
1509
+ return [c(e) + "=" + c(String(D))];
1491
1510
  }
1492
1511
  var ye = [];
1493
- if (typeof B > "u")
1512
+ if (typeof D > "u")
1494
1513
  return ye;
1495
1514
  var ve;
1496
- if (u === "comma" && P(B))
1497
- c && F && (B = s.maybeMap(B, F)), ve = [{ value: B.length > 0 ? B.join(",") || null : void 0 }];
1498
- else if (P(q))
1499
- ve = q;
1515
+ if (u === "comma" && E(D))
1516
+ s && g && (D = p.maybeMap(D, g)), ve = [{ value: D.length > 0 ? D.join(",") || null : void 0 }];
1517
+ else if (E($))
1518
+ ve = $;
1500
1519
  else {
1501
- var ie = Object.keys(B);
1502
- ve = D ? ie.sort(D) : ie;
1520
+ var ie = Object.keys(D);
1521
+ ve = x ? ie.sort(x) : ie;
1503
1522
  }
1504
- var C = g ? String(e).replace(/\./g, "%2E") : String(e), fe = _ && P(B) && B.length === 1 ? C + "[]" : C;
1505
- if (m && P(B) && B.length === 0)
1523
+ var B = F ? String(e).replace(/\./g, "%2E") : String(e), fe = _ && E(D) && D.length === 1 ? B + "[]" : B;
1524
+ if (m && E(D) && D.length === 0)
1506
1525
  return fe + "[]";
1507
1526
  for (var Z = 0; Z < ve.length; ++Z) {
1508
- var V = ve[Z], J = typeof V == "object" && V && typeof V.value < "u" ? V.value : B[V];
1509
- if (!(E && J === null)) {
1510
- var G = T && g ? String(V).replace(/\./g, "%2E") : String(V), X = P(B) ? typeof u == "function" ? u(fe, G) : fe : fe + (T ? "." + G : "[" + G + "]");
1511
- M.set(a, Y);
1527
+ var V = ve[Z], J = typeof V == "object" && V && typeof V.value < "u" ? V.value : D[V];
1528
+ if (!(R && J === null)) {
1529
+ var j = U && F ? String(V).replace(/\./g, "%2E") : String(V), X = E(D) ? typeof u == "function" ? u(fe, j) : fe : fe + (U ? "." + j : "[" + j + "]");
1530
+ I.set(i, Y);
1512
1531
  var re = t();
1513
- re.set(y, M), b(ye, O(
1532
+ re.set(y, I), S(ye, P(
1514
1533
  J,
1515
1534
  X,
1516
1535
  u,
1517
1536
  _,
1518
1537
  m,
1519
- i,
1520
- E,
1521
- g,
1522
- u === "comma" && c && P(B) ? null : F,
1523
- q,
1524
- D,
1525
- T,
1538
+ a,
1526
1539
  R,
1540
+ F,
1541
+ u === "comma" && s && E(D) ? null : g,
1542
+ $,
1543
+ x,
1544
+ U,
1545
+ O,
1527
1546
  W,
1528
- p,
1529
1547
  c,
1530
- A,
1548
+ s,
1549
+ b,
1531
1550
  re
1532
1551
  ));
1533
1552
  }
1534
1553
  }
1535
1554
  return ye;
1536
- }, v = function(a) {
1537
- if (!a)
1555
+ }, v = function(i) {
1556
+ if (!i)
1538
1557
  return h;
1539
- if (typeof a.allowEmptyArrays < "u" && typeof a.allowEmptyArrays != "boolean")
1558
+ if (typeof i.allowEmptyArrays < "u" && typeof i.allowEmptyArrays != "boolean")
1540
1559
  throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1541
- if (typeof a.encodeDotInKeys < "u" && typeof a.encodeDotInKeys != "boolean")
1560
+ if (typeof i.encodeDotInKeys < "u" && typeof i.encodeDotInKeys != "boolean")
1542
1561
  throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
1543
- if (a.encoder !== null && typeof a.encoder < "u" && typeof a.encoder != "function")
1562
+ if (i.encoder !== null && typeof i.encoder < "u" && typeof i.encoder != "function")
1544
1563
  throw new TypeError("Encoder has to be a function.");
1545
- var e = a.charset || h.charset;
1546
- if (typeof a.charset < "u" && a.charset !== "utf-8" && a.charset !== "iso-8859-1")
1564
+ var e = i.charset || h.charset;
1565
+ if (typeof i.charset < "u" && i.charset !== "utf-8" && i.charset !== "iso-8859-1")
1547
1566
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1548
1567
  var u = d.default;
1549
- if (typeof a.format < "u") {
1550
- if (!l.call(d.formatters, a.format))
1568
+ if (typeof i.format < "u") {
1569
+ if (!l.call(d.formatters, i.format))
1551
1570
  throw new TypeError("Unknown format option provided.");
1552
- u = a.format;
1571
+ u = i.format;
1553
1572
  }
1554
1573
  var _ = d.formatters[u], m = h.filter;
1555
- (typeof a.filter == "function" || P(a.filter)) && (m = a.filter);
1556
- var i;
1557
- if (a.arrayFormat in o ? i = a.arrayFormat : "indices" in a ? i = a.indices ? "indices" : "repeat" : i = h.arrayFormat, "commaRoundTrip" in a && typeof a.commaRoundTrip != "boolean")
1574
+ (typeof i.filter == "function" || E(i.filter)) && (m = i.filter);
1575
+ var a;
1576
+ if (i.arrayFormat in o ? a = i.arrayFormat : "indices" in i ? a = i.indices ? "indices" : "repeat" : a = h.arrayFormat, "commaRoundTrip" in i && typeof i.commaRoundTrip != "boolean")
1558
1577
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1559
- var E = typeof a.allowDots > "u" ? a.encodeDotInKeys === !0 ? !0 : h.allowDots : !!a.allowDots;
1578
+ var R = typeof i.allowDots > "u" ? i.encodeDotInKeys === !0 ? !0 : h.allowDots : !!i.allowDots;
1560
1579
  return {
1561
- addQueryPrefix: typeof a.addQueryPrefix == "boolean" ? a.addQueryPrefix : h.addQueryPrefix,
1562
- allowDots: E,
1563
- allowEmptyArrays: typeof a.allowEmptyArrays == "boolean" ? !!a.allowEmptyArrays : h.allowEmptyArrays,
1564
- arrayFormat: i,
1580
+ addQueryPrefix: typeof i.addQueryPrefix == "boolean" ? i.addQueryPrefix : h.addQueryPrefix,
1581
+ allowDots: R,
1582
+ allowEmptyArrays: typeof i.allowEmptyArrays == "boolean" ? !!i.allowEmptyArrays : h.allowEmptyArrays,
1583
+ arrayFormat: a,
1565
1584
  charset: e,
1566
- charsetSentinel: typeof a.charsetSentinel == "boolean" ? a.charsetSentinel : h.charsetSentinel,
1567
- commaRoundTrip: !!a.commaRoundTrip,
1568
- delimiter: typeof a.delimiter > "u" ? h.delimiter : a.delimiter,
1569
- encode: typeof a.encode == "boolean" ? a.encode : h.encode,
1570
- encodeDotInKeys: typeof a.encodeDotInKeys == "boolean" ? a.encodeDotInKeys : h.encodeDotInKeys,
1571
- encoder: typeof a.encoder == "function" ? a.encoder : h.encoder,
1572
- encodeValuesOnly: typeof a.encodeValuesOnly == "boolean" ? a.encodeValuesOnly : h.encodeValuesOnly,
1585
+ charsetSentinel: typeof i.charsetSentinel == "boolean" ? i.charsetSentinel : h.charsetSentinel,
1586
+ commaRoundTrip: !!i.commaRoundTrip,
1587
+ delimiter: typeof i.delimiter > "u" ? h.delimiter : i.delimiter,
1588
+ encode: typeof i.encode == "boolean" ? i.encode : h.encode,
1589
+ encodeDotInKeys: typeof i.encodeDotInKeys == "boolean" ? i.encodeDotInKeys : h.encodeDotInKeys,
1590
+ encoder: typeof i.encoder == "function" ? i.encoder : h.encoder,
1591
+ encodeValuesOnly: typeof i.encodeValuesOnly == "boolean" ? i.encodeValuesOnly : h.encodeValuesOnly,
1573
1592
  filter: m,
1574
1593
  format: u,
1575
1594
  formatter: _,
1576
- serializeDate: typeof a.serializeDate == "function" ? a.serializeDate : h.serializeDate,
1577
- skipNulls: typeof a.skipNulls == "boolean" ? a.skipNulls : h.skipNulls,
1578
- sort: typeof a.sort == "function" ? a.sort : null,
1579
- strictNullHandling: typeof a.strictNullHandling == "boolean" ? a.strictNullHandling : h.strictNullHandling
1595
+ serializeDate: typeof i.serializeDate == "function" ? i.serializeDate : h.serializeDate,
1596
+ skipNulls: typeof i.skipNulls == "boolean" ? i.skipNulls : h.skipNulls,
1597
+ sort: typeof i.sort == "function" ? i.sort : null,
1598
+ strictNullHandling: typeof i.strictNullHandling == "boolean" ? i.strictNullHandling : h.strictNullHandling
1580
1599
  };
1581
1600
  };
1582
- return zr = function(O, a) {
1583
- var e = O, u = v(a), _, m;
1584
- typeof u.filter == "function" ? (m = u.filter, e = m("", e)) : P(u.filter) && (m = u.filter, _ = m);
1585
- var i = [];
1601
+ return zr = function(P, i) {
1602
+ var e = P, u = v(i), _, m;
1603
+ typeof u.filter == "function" ? (m = u.filter, e = m("", e)) : E(u.filter) && (m = u.filter, _ = m);
1604
+ var a = [];
1586
1605
  if (typeof e != "object" || e === null)
1587
1606
  return "";
1588
- var E = o[u.arrayFormat], g = E === "comma" && u.commaRoundTrip;
1607
+ var R = o[u.arrayFormat], F = R === "comma" && u.commaRoundTrip;
1589
1608
  _ || (_ = Object.keys(e)), u.sort && _.sort(u.sort);
1590
- for (var F = t(), q = 0; q < _.length; ++q) {
1591
- var D = _[q], T = e[D];
1592
- u.skipNulls && T === null || b(i, f(
1593
- T,
1594
- D,
1595
- E,
1596
- g,
1609
+ for (var g = t(), $ = 0; $ < _.length; ++$) {
1610
+ var x = _[$], U = e[x];
1611
+ u.skipNulls && U === null || S(a, f(
1612
+ U,
1613
+ x,
1614
+ R,
1615
+ F,
1597
1616
  u.allowEmptyArrays,
1598
1617
  u.strictNullHandling,
1599
1618
  u.skipNulls,
@@ -1607,18 +1626,18 @@ function mo() {
1607
1626
  u.formatter,
1608
1627
  u.encodeValuesOnly,
1609
1628
  u.charset,
1610
- F
1629
+ g
1611
1630
  ));
1612
1631
  }
1613
- var R = i.join(u.delimiter), W = u.addQueryPrefix === !0 ? "?" : "";
1614
- return u.charsetSentinel && (u.charset === "iso-8859-1" ? W += "utf8=%26%2310003%3B&" : W += "utf8=%E2%9C%93&"), R.length > 0 ? W + R : "";
1632
+ var O = a.join(u.delimiter), W = u.addQueryPrefix === !0 ? "?" : "";
1633
+ return u.charsetSentinel && (u.charset === "iso-8859-1" ? W += "utf8=%26%2310003%3B&" : W += "utf8=%E2%9C%93&"), O.length > 0 ? W + O : "";
1615
1634
  }, zr;
1616
1635
  }
1617
1636
  var Gr, en;
1618
1637
  function go() {
1619
1638
  if (en) return Gr;
1620
1639
  en = 1;
1621
- var t = /* @__PURE__ */ yn(), s = Object.prototype.hasOwnProperty, d = Array.isArray, l = {
1640
+ var t = /* @__PURE__ */ yn(), p = Object.prototype.hasOwnProperty, d = Array.isArray, l = {
1622
1641
  allowDots: !1,
1623
1642
  allowEmptyArrays: !1,
1624
1643
  allowPrototypes: !1,
@@ -1644,79 +1663,79 @@ function go() {
1644
1663
  return y.replace(/&#(\d+);/g, function(f, v) {
1645
1664
  return String.fromCharCode(parseInt(v, 10));
1646
1665
  });
1647
- }, P = function(y, f, v) {
1666
+ }, E = function(y, f, v) {
1648
1667
  if (y && typeof y == "string" && f.comma && y.indexOf(",") > -1)
1649
1668
  return y.split(",");
1650
1669
  if (f.throwOnLimitExceeded && v >= f.arrayLimit)
1651
1670
  throw new RangeError("Array limit exceeded. Only " + f.arrayLimit + " element" + (f.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1652
1671
  return y;
1653
- }, k = "utf8=%26%2310003%3B", b = "utf8=%E2%9C%93", x = function(f, v) {
1654
- var O = { __proto__: null }, a = v.ignoreQueryPrefix ? f.replace(/^\?/, "") : f;
1655
- a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1656
- var e = v.parameterLimit === 1 / 0 ? void 0 : v.parameterLimit, u = a.split(
1672
+ }, k = "utf8=%26%2310003%3B", S = "utf8=%E2%9C%93", C = function(f, v) {
1673
+ var P = { __proto__: null }, i = v.ignoreQueryPrefix ? f.replace(/^\?/, "") : f;
1674
+ i = i.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1675
+ var e = v.parameterLimit === 1 / 0 ? void 0 : v.parameterLimit, u = i.split(
1657
1676
  v.delimiter,
1658
1677
  v.throwOnLimitExceeded ? e + 1 : e
1659
1678
  );
1660
1679
  if (v.throwOnLimitExceeded && u.length > e)
1661
1680
  throw new RangeError("Parameter limit exceeded. Only " + e + " parameter" + (e === 1 ? "" : "s") + " allowed.");
1662
- var _ = -1, m, i = v.charset;
1681
+ var _ = -1, m, a = v.charset;
1663
1682
  if (v.charsetSentinel)
1664
1683
  for (m = 0; m < u.length; ++m)
1665
- u[m].indexOf("utf8=") === 0 && (u[m] === b ? i = "utf-8" : u[m] === k && (i = "iso-8859-1"), _ = m, m = u.length);
1684
+ u[m].indexOf("utf8=") === 0 && (u[m] === S ? a = "utf-8" : u[m] === k && (a = "iso-8859-1"), _ = m, m = u.length);
1666
1685
  for (m = 0; m < u.length; ++m)
1667
1686
  if (m !== _) {
1668
- var E = u[m], g = E.indexOf("]="), F = g === -1 ? E.indexOf("=") : g + 1, q, D;
1669
- F === -1 ? (q = v.decoder(E, l.decoder, i, "key"), D = v.strictNullHandling ? null : "") : (q = v.decoder(E.slice(0, F), l.decoder, i, "key"), D = t.maybeMap(
1670
- P(
1671
- E.slice(F + 1),
1687
+ var R = u[m], F = R.indexOf("]="), g = F === -1 ? R.indexOf("=") : F + 1, $, x;
1688
+ g === -1 ? ($ = v.decoder(R, l.decoder, a, "key"), x = v.strictNullHandling ? null : "") : ($ = v.decoder(R.slice(0, g), l.decoder, a, "key"), x = t.maybeMap(
1689
+ E(
1690
+ R.slice(g + 1),
1672
1691
  v,
1673
- d(O[q]) ? O[q].length : 0
1692
+ d(P[$]) ? P[$].length : 0
1674
1693
  ),
1675
- function(R) {
1676
- return v.decoder(R, l.decoder, i, "value");
1694
+ function(O) {
1695
+ return v.decoder(O, l.decoder, a, "value");
1677
1696
  }
1678
- )), D && v.interpretNumericEntities && i === "iso-8859-1" && (D = o(String(D))), E.indexOf("[]=") > -1 && (D = d(D) ? [D] : D);
1679
- var T = s.call(O, q);
1680
- T && v.duplicates === "combine" ? O[q] = t.combine(O[q], D) : (!T || v.duplicates === "last") && (O[q] = D);
1697
+ )), x && v.interpretNumericEntities && a === "iso-8859-1" && (x = o(String(x))), R.indexOf("[]=") > -1 && (x = d(x) ? [x] : x);
1698
+ var U = p.call(P, $);
1699
+ U && v.duplicates === "combine" ? P[$] = t.combine(P[$], x) : (!U || v.duplicates === "last") && (P[$] = x);
1681
1700
  }
1682
- return O;
1683
- }, S = function(y, f, v, O) {
1684
- var a = 0;
1701
+ return P;
1702
+ }, A = function(y, f, v, P) {
1703
+ var i = 0;
1685
1704
  if (y.length > 0 && y[y.length - 1] === "[]") {
1686
1705
  var e = y.slice(0, -1).join("");
1687
- a = Array.isArray(f) && f[e] ? f[e].length : 0;
1706
+ i = Array.isArray(f) && f[e] ? f[e].length : 0;
1688
1707
  }
1689
- for (var u = O ? f : P(f, v, a), _ = y.length - 1; _ >= 0; --_) {
1690
- var m, i = y[_];
1691
- if (i === "[]" && v.parseArrays)
1708
+ for (var u = P ? f : E(f, v, i), _ = y.length - 1; _ >= 0; --_) {
1709
+ var m, a = y[_];
1710
+ if (a === "[]" && v.parseArrays)
1692
1711
  m = v.allowEmptyArrays && (u === "" || v.strictNullHandling && u === null) ? [] : t.combine([], u);
1693
1712
  else {
1694
1713
  m = v.plainObjects ? { __proto__: null } : {};
1695
- var E = i.charAt(0) === "[" && i.charAt(i.length - 1) === "]" ? i.slice(1, -1) : i, g = v.decodeDotInKeys ? E.replace(/%2E/g, ".") : E, F = parseInt(g, 10);
1696
- !v.parseArrays && g === "" ? m = { 0: u } : !isNaN(F) && i !== g && String(F) === g && F >= 0 && v.parseArrays && F <= v.arrayLimit ? (m = [], m[F] = u) : g !== "__proto__" && (m[g] = u);
1714
+ var R = a.charAt(0) === "[" && a.charAt(a.length - 1) === "]" ? a.slice(1, -1) : a, F = v.decodeDotInKeys ? R.replace(/%2E/g, ".") : R, g = parseInt(F, 10);
1715
+ !v.parseArrays && F === "" ? m = { 0: u } : !isNaN(g) && a !== F && String(g) === F && g >= 0 && v.parseArrays && g <= v.arrayLimit ? (m = [], m[g] = u) : F !== "__proto__" && (m[F] = u);
1697
1716
  }
1698
1717
  u = m;
1699
1718
  }
1700
1719
  return u;
1701
- }, h = function(f, v, O, a) {
1720
+ }, h = function(f, v, P, i) {
1702
1721
  if (f) {
1703
- var e = O.allowDots ? f.replace(/\.([^.[]+)/g, "[$1]") : f, u = /(\[[^[\]]*])/, _ = /(\[[^[\]]*])/g, m = O.depth > 0 && u.exec(e), i = m ? e.slice(0, m.index) : e, E = [];
1704
- if (i) {
1705
- if (!O.plainObjects && s.call(Object.prototype, i) && !O.allowPrototypes)
1722
+ var e = P.allowDots ? f.replace(/\.([^.[]+)/g, "[$1]") : f, u = /(\[[^[\]]*])/, _ = /(\[[^[\]]*])/g, m = P.depth > 0 && u.exec(e), a = m ? e.slice(0, m.index) : e, R = [];
1723
+ if (a) {
1724
+ if (!P.plainObjects && p.call(Object.prototype, a) && !P.allowPrototypes)
1706
1725
  return;
1707
- E.push(i);
1726
+ R.push(a);
1708
1727
  }
1709
- for (var g = 0; O.depth > 0 && (m = _.exec(e)) !== null && g < O.depth; ) {
1710
- if (g += 1, !O.plainObjects && s.call(Object.prototype, m[1].slice(1, -1)) && !O.allowPrototypes)
1728
+ for (var F = 0; P.depth > 0 && (m = _.exec(e)) !== null && F < P.depth; ) {
1729
+ if (F += 1, !P.plainObjects && p.call(Object.prototype, m[1].slice(1, -1)) && !P.allowPrototypes)
1711
1730
  return;
1712
- E.push(m[1]);
1731
+ R.push(m[1]);
1713
1732
  }
1714
1733
  if (m) {
1715
- if (O.strictDepth === !0)
1716
- throw new RangeError("Input depth exceeded depth option of " + O.depth + " and strictDepth is true");
1717
- E.push("[" + e.slice(m.index) + "]");
1734
+ if (P.strictDepth === !0)
1735
+ throw new RangeError("Input depth exceeded depth option of " + P.depth + " and strictDepth is true");
1736
+ R.push("[" + e.slice(m.index) + "]");
1718
1737
  }
1719
- return S(E, v, O, a);
1738
+ return A(R, v, P, i);
1720
1739
  }
1721
1740
  }, w = function(f) {
1722
1741
  if (!f)
@@ -1731,12 +1750,12 @@ function go() {
1731
1750
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1732
1751
  if (typeof f.throwOnLimitExceeded < "u" && typeof f.throwOnLimitExceeded != "boolean")
1733
1752
  throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
1734
- var v = typeof f.charset > "u" ? l.charset : f.charset, O = typeof f.duplicates > "u" ? l.duplicates : f.duplicates;
1735
- if (O !== "combine" && O !== "first" && O !== "last")
1753
+ var v = typeof f.charset > "u" ? l.charset : f.charset, P = typeof f.duplicates > "u" ? l.duplicates : f.duplicates;
1754
+ if (P !== "combine" && P !== "first" && P !== "last")
1736
1755
  throw new TypeError("The duplicates option must be either combine, first, or last");
1737
- var a = typeof f.allowDots > "u" ? f.decodeDotInKeys === !0 ? !0 : l.allowDots : !!f.allowDots;
1756
+ var i = typeof f.allowDots > "u" ? f.decodeDotInKeys === !0 ? !0 : l.allowDots : !!f.allowDots;
1738
1757
  return {
1739
- allowDots: a,
1758
+ allowDots: i,
1740
1759
  allowEmptyArrays: typeof f.allowEmptyArrays == "boolean" ? !!f.allowEmptyArrays : l.allowEmptyArrays,
1741
1760
  allowPrototypes: typeof f.allowPrototypes == "boolean" ? f.allowPrototypes : l.allowPrototypes,
1742
1761
  allowSparse: typeof f.allowSparse == "boolean" ? f.allowSparse : l.allowSparse,
@@ -1749,7 +1768,7 @@ function go() {
1749
1768
  delimiter: typeof f.delimiter == "string" || t.isRegExp(f.delimiter) ? f.delimiter : l.delimiter,
1750
1769
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
1751
1770
  depth: typeof f.depth == "number" || f.depth === !1 ? +f.depth : l.depth,
1752
- duplicates: O,
1771
+ duplicates: P,
1753
1772
  ignoreQueryPrefix: f.ignoreQueryPrefix === !0,
1754
1773
  interpretNumericEntities: typeof f.interpretNumericEntities == "boolean" ? f.interpretNumericEntities : l.interpretNumericEntities,
1755
1774
  parameterLimit: typeof f.parameterLimit == "number" ? f.parameterLimit : l.parameterLimit,
@@ -1764,26 +1783,26 @@ function go() {
1764
1783
  var v = w(f);
1765
1784
  if (y === "" || y === null || typeof y > "u")
1766
1785
  return v.plainObjects ? { __proto__: null } : {};
1767
- for (var O = typeof y == "string" ? x(y, v) : y, a = v.plainObjects ? { __proto__: null } : {}, e = Object.keys(O), u = 0; u < e.length; ++u) {
1768
- var _ = e[u], m = h(_, O[_], v, typeof y == "string");
1769
- a = t.merge(a, m, v);
1786
+ for (var P = typeof y == "string" ? C(y, v) : y, i = v.plainObjects ? { __proto__: null } : {}, e = Object.keys(P), u = 0; u < e.length; ++u) {
1787
+ var _ = e[u], m = h(_, P[_], v, typeof y == "string");
1788
+ i = t.merge(i, m, v);
1770
1789
  }
1771
- return v.allowSparse === !0 ? a : t.compact(a);
1790
+ return v.allowSparse === !0 ? i : t.compact(i);
1772
1791
  }, Gr;
1773
1792
  }
1774
1793
  var jr, rn;
1775
1794
  function ho() {
1776
1795
  if (rn) return jr;
1777
1796
  rn = 1;
1778
- var t = /* @__PURE__ */ mo(), s = /* @__PURE__ */ go(), d = /* @__PURE__ */ Yr();
1797
+ var t = /* @__PURE__ */ mo(), p = /* @__PURE__ */ go(), d = /* @__PURE__ */ Yr();
1779
1798
  return jr = {
1780
1799
  formats: d,
1781
- parse: s,
1800
+ parse: p,
1782
1801
  stringify: t
1783
1802
  }, jr;
1784
1803
  }
1785
1804
  var wo = /* @__PURE__ */ ho();
1786
- const bo = /* @__PURE__ */ Un(wo), Pe = Bn.create({
1805
+ const bo = /* @__PURE__ */ Un(wo), Oe = kn.create({
1787
1806
  // VITE_APP_BASE_API 是在 .env 文件中定义的基础 URL
1788
1807
  baseURL: "",
1789
1808
  timeout: 1e4,
@@ -1792,26 +1811,26 @@ const bo = /* @__PURE__ */ Un(wo), Pe = Bn.create({
1792
1811
  serialize: (t) => bo.stringify(t, { arrayFormat: "repeat" })
1793
1812
  }
1794
1813
  });
1795
- Pe.interceptors.request.use(
1814
+ Oe.interceptors.request.use(
1796
1815
  (t) => {
1797
- const s = localStorage.getItem("token");
1798
- return s && (t.headers.Authorization = "Bearer " + s), t;
1816
+ const p = localStorage.getItem("token");
1817
+ return p && (t.headers.Authorization = "Bearer " + p), t;
1799
1818
  },
1800
1819
  (t) => (console.log(t), Promise.reject(t))
1801
1820
  );
1802
- Pe.interceptors.response.use(
1821
+ Oe.interceptors.response.use(
1803
1822
  /**
1804
1823
  * @description 如果您想直接获取诸如 headers 或 status 之类的信息,
1805
1824
  * 请直接返回 response => response
1806
1825
  */
1807
1826
  (t) => {
1808
- const s = t.data;
1809
- return s.code !== 200 ? (Oe({
1810
- message: s.msg || "Error",
1827
+ const p = t.data;
1828
+ return p.code !== 200 ? (Pe({
1829
+ message: p.msg || "Error",
1811
1830
  // 使用后端返回的 `msg` 作为错误提示
1812
1831
  type: "error",
1813
1832
  duration: 5 * 1e3
1814
- }), (s.code === 401 || s.code === 403) && kn.confirm(
1833
+ }), (p.code === 401 || p.code === 403) && Bn.confirm(
1815
1834
  "您的登录状态已失效,请重新登录",
1816
1835
  "确认登出",
1817
1836
  {
@@ -1821,9 +1840,9 @@ Pe.interceptors.response.use(
1821
1840
  }
1822
1841
  ).then(() => {
1823
1842
  localStorage.removeItem("token"), location.reload();
1824
- }), Promise.reject(new Error(s.msg || "Error"))) : s;
1843
+ }), Promise.reject(new Error(p.msg || "Error"))) : p;
1825
1844
  },
1826
- (t) => (console.log("HTTP Error: " + t), Oe({
1845
+ (t) => (console.log("HTTP Error: " + t), Pe({
1827
1846
  message: "网络错误,请检查您的网络连接或联系管理员",
1828
1847
  // 提供更友好的网络错误提示
1829
1848
  type: "error",
@@ -1831,48 +1850,48 @@ Pe.interceptors.response.use(
1831
1850
  }), Promise.reject(t))
1832
1851
  );
1833
1852
  function So(t) {
1834
- return An() ? (On(t), !0) : !1;
1853
+ return _n() ? (Pn(t), !0) : !1;
1835
1854
  }
1836
- const _o = typeof window < "u" && typeof document < "u";
1855
+ const Ao = typeof window < "u" && typeof document < "u";
1837
1856
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
1838
- const Ao = _o ? window : void 0;
1857
+ const _o = Ao ? window : void 0;
1839
1858
  function tn(t) {
1840
- var s;
1859
+ var p;
1841
1860
  const d = on(t);
1842
- return (s = d == null ? void 0 : d.$el) != null ? s : d;
1861
+ return (p = d == null ? void 0 : d.$el) != null ? p : d;
1843
1862
  }
1844
1863
  // @__NO_SIDE_EFFECTS__
1845
- function Oo() {
1846
- const t = Pn(!1), s = En();
1847
- return s && Qr(() => {
1864
+ function Po() {
1865
+ const t = On(!1), p = En();
1866
+ return p && Qr(() => {
1848
1867
  t.value = !0;
1849
- }, s), t;
1868
+ }, p), t;
1850
1869
  }
1851
1870
  // @__NO_SIDE_EFFECTS__
1852
- function Po(t) {
1853
- const s = /* @__PURE__ */ Oo();
1854
- return $e(() => (s.value, !!t()));
1871
+ function Oo(t) {
1872
+ const p = /* @__PURE__ */ Po();
1873
+ return $e(() => (p.value, !!t()));
1855
1874
  }
1856
- function Eo(t, s, d = {}) {
1857
- const { window: l = Ao, ...o } = d;
1858
- let P;
1859
- const k = /* @__PURE__ */ Po(() => l && "ResizeObserver" in l), b = () => {
1860
- P && (P.disconnect(), P = void 0);
1861
- }, x = $e(() => {
1875
+ function Eo(t, p, d = {}) {
1876
+ const { window: l = _o, ...o } = d;
1877
+ let E;
1878
+ const k = /* @__PURE__ */ Oo(() => l && "ResizeObserver" in l), S = () => {
1879
+ E && (E.disconnect(), E = void 0);
1880
+ }, C = $e(() => {
1862
1881
  const w = on(t);
1863
1882
  return Array.isArray(w) ? w.map((y) => tn(y)) : [tn(w)];
1864
- }), S = Hr(
1865
- x,
1883
+ }), A = Hr(
1884
+ C,
1866
1885
  (w) => {
1867
- if (b(), k.value && l) {
1868
- P = new ResizeObserver(s);
1886
+ if (S(), k.value && l) {
1887
+ E = new ResizeObserver(p);
1869
1888
  for (const y of w)
1870
- y && P.observe(y, o);
1889
+ y && E.observe(y, o);
1871
1890
  }
1872
1891
  },
1873
1892
  { immediate: !0, flush: "post" }
1874
1893
  ), h = () => {
1875
- b(), S();
1894
+ S(), A();
1876
1895
  };
1877
1896
  return So(h), {
1878
1897
  isSupported: k,
@@ -1886,45 +1905,45 @@ const Ro = /* @__PURE__ */ ze({
1886
1905
  placement: {}
1887
1906
  },
1888
1907
  setup(t) {
1889
- const s = Ee(null), d = Ee(!1), l = () => {
1890
- s.value && (d.value = s.value.scrollWidth > s.value.clientWidth);
1908
+ const p = Ee(null), d = Ee(!1), l = () => {
1909
+ p.value && (d.value = p.value.scrollWidth > p.value.clientWidth);
1891
1910
  };
1892
1911
  return Qr(() => {
1893
1912
  l();
1894
- }), Eo(s, () => {
1913
+ }), Eo(p, () => {
1895
1914
  l();
1896
- }), (o, P) => {
1897
- const k = z("el-tooltip");
1898
- return d.value ? ($(), N(k, {
1915
+ }), (o, E) => {
1916
+ const k = G("el-tooltip");
1917
+ return d.value ? (q(), N(k, {
1899
1918
  key: 1,
1900
1919
  content: o.label,
1901
1920
  placement: o.placement || "top"
1902
1921
  }, {
1903
- default: I(() => [
1922
+ default: T(() => [
1904
1923
  oe("span", {
1905
1924
  ref_key: "textRef",
1906
- ref: s,
1925
+ ref: p,
1907
1926
  class: "header-cell-content"
1908
1927
  }, Ie(o.label), 513)
1909
1928
  ]),
1910
1929
  _: 1
1911
- }, 8, ["content", "placement"])) : ($(), ae("span", {
1930
+ }, 8, ["content", "placement"])) : (q(), ae("span", {
1912
1931
  key: 0,
1913
1932
  ref_key: "textRef",
1914
- ref: s,
1933
+ ref: p,
1915
1934
  class: "header-cell-content"
1916
1935
  }, Ie(o.label), 513));
1917
1936
  };
1918
1937
  }
1919
- }), vn = (t, s) => {
1938
+ }), vn = (t, p) => {
1920
1939
  const d = t.__vccOpts || t;
1921
- for (const [l, o] of s)
1940
+ for (const [l, o] of p)
1922
1941
  d[l] = o;
1923
1942
  return d;
1924
1943
  }, Fo = /* @__PURE__ */ vn(Ro, [["__scopeId", "data-v-d23c8660"]]), xo = {
1925
1944
  key: 0,
1926
1945
  class: "search-section-wrapper"
1927
- }, Do = { class: "flex flex-wrap items-center justify-between gap-4" }, Co = { class: "flex items-center gap-x-2" }, ko = { class: "flex items-center gap-x-3 action-buttons flex-shrink-0" }, Bo = { class: "table-content-wrapper" }, $o = { key: 1 }, qo = {
1946
+ }, Do = { class: "flex flex-wrap items-center justify-between gap-4" }, Co = { class: "flex items-center gap-x-2" }, Bo = { class: "flex items-center gap-x-3 action-buttons flex-shrink-0" }, ko = { class: "table-content-wrapper" }, $o = { key: 1 }, qo = {
1928
1947
  key: 0,
1929
1948
  class: "flex items-center gap-x-2"
1930
1949
  }, Io = {
@@ -2068,118 +2087,118 @@ const Ro = /* @__PURE__ */ ze({
2068
2087
  editDialogTitle: { type: String, default: "编辑" }
2069
2088
  },
2070
2089
  emits: ["open-dialog", "submit", "delete", "update:initialSearchForm"],
2071
- setup(t, { expose: s, emit: d }) {
2072
- const l = d, o = t, P = $e(() => ["crud-table-wrapper", `theme-${o.theme}`, o.customClass]), k = $e(() => o.theme === "large-screen" ? "large-screen-dialog" : ""), b = Ee(!1), x = async () => {
2090
+ setup(t, { expose: p, emit: d }) {
2091
+ const l = d, o = t, E = $e(() => ["crud-table-wrapper", `theme-${o.theme}`, o.customClass]), k = $e(() => o.theme === "large-screen" ? "large-screen-dialog" : ""), S = Ee(!1), C = async () => {
2073
2092
  if (o.apiUrlExport) {
2074
- b.value = !0;
2093
+ S.value = !0;
2075
2094
  try {
2076
- const { pageNum: p, pageSize: c, ...A } = y, M = await Pe.get(o.apiUrlExport, {
2077
- params: A,
2095
+ const { pageNum: c, pageSize: s, ...b } = y, I = await Oe.get(o.apiUrlExport, {
2096
+ params: b,
2078
2097
  responseType: "blob"
2079
2098
  // 核心:处理二进制文件流
2080
- }), B = new Blob([M]), Q = window.URL.createObjectURL(B), Y = document.createElement("a");
2081
- Y.href = Q;
2099
+ }), D = new Blob([I]), z = window.URL.createObjectURL(D), Y = document.createElement("a");
2100
+ Y.href = z;
2082
2101
  const pe = `导出数据_${(/* @__PURE__ */ new Date()).toLocaleDateString().replace(/\//g, "-")}.xlsx`;
2083
- Y.setAttribute("download", pe), document.body.appendChild(Y), Y.click(), document.body.removeChild(Y), window.URL.revokeObjectURL(Q), Oe.success("导出成功");
2084
- } catch (p) {
2085
- console.error("导出失败:", p), Oe.error("导出失败,请重试");
2102
+ Y.setAttribute("download", pe), document.body.appendChild(Y), Y.click(), document.body.removeChild(Y), window.URL.revokeObjectURL(z), Pe.success("导出成功");
2103
+ } catch (c) {
2104
+ console.error("导出失败:", c), Pe.error("导出失败,请重试");
2086
2105
  } finally {
2087
- b.value = !1;
2106
+ S.value = !1;
2088
2107
  }
2089
2108
  }
2090
- }, S = (p, c) => p ? !0 : (Oe.error(`${c} prop is required.`), !1), h = (p, c, A) => A ? p && Array.isArray(p.permissions) ? p.permissions.includes(c) : !0 : !1, w = async (p, c) => {
2091
- if (p === "view")
2109
+ }, A = (c, s) => c ? !0 : (Pe.error(`${s} prop is required.`), !1), h = (c, s, b) => b ? c && Array.isArray(c.permissions) ? c.permissions.includes(s) : !0 : !1, w = async (c, s) => {
2110
+ if (c === "view")
2092
2111
  return Promise.resolve();
2093
2112
  try {
2094
- let A = { ...c };
2095
- o.onBeforeSubmit && (A = await o.onBeforeSubmit(A, p));
2096
- let M = A;
2113
+ let b = { ...s };
2114
+ o.onBeforeSubmit && (b = await o.onBeforeSubmit(b, c));
2115
+ let I = b;
2097
2116
  if (o.submitAsFormData) {
2098
- const B = new FormData();
2099
- for (const Q in A)
2100
- if (Object.prototype.hasOwnProperty.call(A, Q)) {
2101
- const Y = A[Q];
2102
- B.append(Q, Y ?? "");
2117
+ const D = new FormData();
2118
+ for (const z in b)
2119
+ if (Object.prototype.hasOwnProperty.call(b, z)) {
2120
+ const Y = b[z];
2121
+ D.append(z, Y ?? "");
2103
2122
  }
2104
- M = B;
2123
+ I = D;
2105
2124
  }
2106
- if (e.submitting = !0, p === "add") {
2107
- if (!S(o.apiUrlCreate, "apiUrlCreate")) throw new Error("apiUrlCreate is not configured.");
2108
- await Pe.post(o.apiUrlCreate, M), Oe.success("新增成功");
2125
+ if (e.submitting = !0, c === "add") {
2126
+ if (!A(o.apiUrlCreate, "apiUrlCreate")) throw new Error("apiUrlCreate is not configured.");
2127
+ await Oe.post(o.apiUrlCreate, I), Pe.success("新增成功");
2109
2128
  } else {
2110
- if (!S(o.apiUrlUpdate, "apiUrlUpdate")) throw new Error("apiUrlUpdate is not configured.");
2111
- await Pe.put(o.apiUrlUpdate, M), Oe.success("更新成功");
2129
+ if (!A(o.apiUrlUpdate, "apiUrlUpdate")) throw new Error("apiUrlUpdate is not configured.");
2130
+ await Oe.put(o.apiUrlUpdate, I), Pe.success("更新成功");
2112
2131
  }
2113
- return o.onAfterSubmit && o.onAfterSubmit(p, A), l("submit", { mode: p, data: A }), e.visible && (e.visible = !1), m(), Promise.resolve();
2114
- } catch (A) {
2115
- return console.error("Submit failed:", A), Promise.reject(A);
2132
+ return o.onAfterSubmit && o.onAfterSubmit(c, b), l("submit", { mode: c, data: b }), e.visible && (e.visible = !1), m(), Promise.resolve();
2133
+ } catch (b) {
2134
+ return console.error("Submit failed:", b), Promise.reject(b);
2116
2135
  } finally {
2117
2136
  e.submitting = !1;
2118
2137
  }
2119
- }, y = ut({ pageNum: 1, pageSize: 10, ...o.initialSearchForm }), f = Ee([]), v = Ee(0), O = Ee(!1), a = Ee([]), e = ut({ visible: !1, loading: !1, submitting: !1, mode: "add", data: {}, formRef: null }), u = $e(() => e.mode === "add" ? o.addDialogTitle : o.editDialogTitle), _ = $e(() => e.mode === "add" ? o.dialogFormConfig.filter((c) => c.prop !== "id") : [...o.dialogFormConfig.filter((c) => c.prop !== "id")]), m = async () => {
2120
- if (S(o.apiUrlQuery, "apiUrlQuery")) {
2121
- O.value = !0;
2138
+ }, y = ut({ pageNum: 1, pageSize: 10, ...o.initialSearchForm }), f = Ee([]), v = Ee(0), P = Ee(!1), i = Ee([]), e = ut({ visible: !1, loading: !1, submitting: !1, mode: "add", data: {}, formRef: null }), u = $e(() => e.mode === "add" ? o.addDialogTitle : o.editDialogTitle), _ = $e(() => e.mode === "add" ? o.dialogFormConfig.filter((s) => s.prop !== "id") : [...o.dialogFormConfig.filter((s) => s.prop !== "id")]), m = async () => {
2139
+ if (A(o.apiUrlQuery, "apiUrlQuery")) {
2140
+ P.value = !0;
2122
2141
  try {
2123
- let p = { ...y };
2124
- o.onBeforeQuery && (p = await o.onBeforeQuery(p));
2125
- const c = await Pe.get(o.apiUrlQuery, { params: p });
2126
- let A = [], M = 0, B = !1;
2127
- c != null && c.data && Array.isArray(c.data.rows) ? (A = c.data.rows, M = typeof c.data.total == "number" ? c.data.total : A.length, B = !0) : Array.isArray(c == null ? void 0 : c.data) ? (A = c.data, M = c.data.length, B = !0) : Array.isArray(c) ? (A = c, M = c.length, B = !0) : c && Array.isArray(c.rows) && (A = c.rows, M = typeof c.total == "number" ? c.total : A.length, B = !0), B ? (o.onAfterQuery && (A = await o.onAfterQuery(A, p)), f.value = A, v.value = M) : (console.warn("未识别的 API 响应格式,请检查 fetchData 中的兼容逻辑。", c), f.value = [], v.value = 0);
2128
- } catch (p) {
2129
- console.error("Fetch data failed:", p), f.value = [], v.value = 0;
2142
+ let c = { ...y };
2143
+ o.onBeforeQuery && (c = await o.onBeforeQuery(c));
2144
+ const s = await Oe.get(o.apiUrlQuery, { params: c });
2145
+ let b = [], I = 0, D = !1;
2146
+ s != null && s.data && Array.isArray(s.data.rows) ? (b = s.data.rows, I = typeof s.data.total == "number" ? s.data.total : b.length, D = !0) : Array.isArray(s == null ? void 0 : s.data) ? (b = s.data, I = s.data.length, D = !0) : Array.isArray(s) ? (b = s, I = s.length, D = !0) : s && Array.isArray(s.rows) && (b = s.rows, I = typeof s.total == "number" ? s.total : b.length, D = !0), D ? (o.onAfterQuery && (b = await o.onAfterQuery(b, c)), f.value = b, v.value = I) : (console.warn("未识别的 API 响应格式,请检查 fetchData 中的兼容逻辑。", s), f.value = [], v.value = 0);
2147
+ } catch (c) {
2148
+ console.error("Fetch data failed:", c), f.value = [], v.value = 0;
2130
2149
  } finally {
2131
- O.value = !1;
2150
+ P.value = !1;
2132
2151
  }
2133
2152
  }
2134
- }, i = (p) => {
2135
- p ? Object.assign(y, p) : Object.assign(y, o.initialSearchForm), y.pageNum = 1, m();
2136
- }, E = () => {
2137
- const { pageNum: p, pageSize: c, ...A } = o.initialSearchForm;
2138
- Object.keys(y).forEach((M) => {
2139
- M !== "pageNum" && M !== "pageSize" && delete y[M];
2140
- }), Object.assign(y, A), i();
2141
- }, g = (p) => {
2142
- a.value = p;
2143
- }, F = async (p, c) => {
2153
+ }, a = (c) => {
2154
+ c ? Object.assign(y, c) : Object.assign(y, o.initialSearchForm), y.pageNum = 1, m();
2155
+ }, R = () => {
2156
+ const { pageNum: c, pageSize: s, ...b } = o.initialSearchForm;
2157
+ Object.keys(y).forEach((I) => {
2158
+ I !== "pageNum" && I !== "pageSize" && delete y[I];
2159
+ }), Object.assign(y, b), a();
2160
+ }, F = (c) => {
2161
+ i.value = c;
2162
+ }, g = async (c, s) => {
2144
2163
  debugger;
2145
- let A;
2146
- if (p === "add" ? A = c ? { ...c } : { role: "user" } : A = { ...c }, o.onBeforeOpenDialog) {
2147
- const M = await o.onBeforeOpenDialog(p, A);
2148
- M && (A = M);
2164
+ let b;
2165
+ if (c === "add" ? b = s ? { ...s } : { role: "user" } : b = { ...s }, o.onBeforeOpenDialog) {
2166
+ const I = await o.onBeforeOpenDialog(c, b);
2167
+ I && (b = I);
2149
2168
  }
2150
- if (e.mode = p, e.visible = !0, p === "edit" || p === "view") {
2151
- if (!S(o.apiUrlDetail, "apiUrlDetail")) return;
2169
+ if (e.mode = c, e.visible = !0, c === "edit" || c === "view") {
2170
+ if (!A(o.apiUrlDetail, "apiUrlDetail")) return;
2152
2171
  e.loading = !0;
2153
2172
  try {
2154
- const M = await Pe.get(o.apiUrlDetail + "/" + A.id.toString());
2155
- e.data = M.data;
2173
+ const I = await Oe.get(o.apiUrlDetail + "/" + b.id.toString());
2174
+ e.data = I.data;
2156
2175
  } finally {
2157
- e.loading = !1, o.onAfterOpenDialog && o.onAfterOpenDialog(p, e.data), l("open-dialog", { mode: p, data: e.data });
2176
+ e.loading = !1, o.onAfterOpenDialog && o.onAfterOpenDialog(c, e.data), l("open-dialog", { mode: c, data: e.data });
2158
2177
  }
2159
2178
  } else
2160
- e.data = A, o.onAfterOpenDialog && o.onAfterOpenDialog(p, e.data), l("open-dialog", { mode: p, data: e.data });
2161
- }, q = async () => {
2179
+ e.data = b, o.onAfterOpenDialog && o.onAfterOpenDialog(c, e.data), l("open-dialog", { mode: c, data: e.data });
2180
+ }, $ = async () => {
2162
2181
  if (e.mode !== "view")
2163
2182
  try {
2164
2183
  e.formRef ? await e.formRef.validate() : console.warn("Dialog form ref is not available for validation."), await w(e.mode, e.data);
2165
- } catch (p) {
2166
- console.log("Validation or submit error:", p);
2184
+ } catch (c) {
2185
+ console.log("Validation or submit error:", c);
2167
2186
  }
2168
- }, D = async (p) => {
2169
- if (S(o.apiUrlDelete, "apiUrlDelete"))
2187
+ }, x = async (c) => {
2188
+ if (A(o.apiUrlDelete, "apiUrlDelete"))
2170
2189
  try {
2171
- const c = f.value.filter((M) => p.includes(M.id));
2172
- if (o.onBeforeDelete && await o.onBeforeDelete(p, c) === !1)
2190
+ const s = f.value.filter((I) => c.includes(I.id));
2191
+ if (o.onBeforeDelete && await o.onBeforeDelete(c, s) === !1)
2173
2192
  return;
2174
- const A = p.join(",");
2175
- await Pe.delete(o.apiUrlDelete + "/" + A.toString()), Oe.success("删除成功"), o.onAfterDelete && o.onAfterDelete(p, c), l("delete", p), f.value.length === p.length && y.pageNum > 1 && y.pageNum--, m();
2176
- } catch (c) {
2177
- console.error("Delete failed", c);
2193
+ const b = c.join(",");
2194
+ await Oe.delete(o.apiUrlDelete + "/" + b.toString()), Pe.success("删除成功"), o.onAfterDelete && o.onAfterDelete(c, s), l("delete", c), f.value.length === c.length && y.pageNum > 1 && y.pageNum--, m();
2195
+ } catch (s) {
2196
+ console.error("Delete failed", s);
2178
2197
  }
2179
- }, T = (p) => {
2180
- y.pageSize = p, i();
2181
- }, R = (p) => {
2182
- y.pageNum = p, m();
2198
+ }, U = (c) => {
2199
+ y.pageSize = c, a();
2200
+ }, O = (c) => {
2201
+ y.pageNum = c, m();
2183
2202
  };
2184
2203
  Qr(m);
2185
2204
  const W = () => {
@@ -2187,73 +2206,73 @@ const Ro = /* @__PURE__ */ ze({
2187
2206
  };
2188
2207
  return Hr(
2189
2208
  y,
2190
- (p) => {
2191
- l("update:initialSearchForm", { ...Rn(p) });
2209
+ (c) => {
2210
+ l("update:initialSearchForm", { ...Rn(c) });
2192
2211
  },
2193
2212
  { deep: !0 }
2194
2213
  ), Hr(
2195
2214
  () => o.initialSearchForm,
2196
- (p) => {
2197
- Object.assign(y, p);
2215
+ (c) => {
2216
+ Object.assign(y, c);
2198
2217
  },
2199
2218
  { deep: !0 }
2200
- ), s({
2219
+ ), p({
2201
2220
  refresh: m,
2202
2221
  // 刷新表格
2203
- search: i,
2222
+ search: a,
2204
2223
  // 按当前条件搜索
2205
- handleDelete: D,
2224
+ handleDelete: x,
2206
2225
  // 手动触发删除
2207
- openDialog: F,
2226
+ openDialog: g,
2208
2227
  // 手动打开弹窗
2209
2228
  submit: w,
2210
2229
  // 手动提交
2211
2230
  closeDialog: W
2212
2231
  //关闭弹窗
2213
- }), (p, c) => {
2214
- const A = z("el-button"), M = z("el-form-item"), B = z("el-form"), Q = z("el-table-column"), Y = z("el-popconfirm"), we = z("el-table"), pe = z("el-pagination"), be = z("el-skeleton"), ye = z("el-dialog"), ve = z("el-icon"), ie = Fn("loading");
2215
- return $(), ae("div", {
2216
- class: xn([P.value, "crud-table-container"])
2232
+ }), (c, s) => {
2233
+ const b = G("el-button"), I = G("el-form-item"), D = G("el-form"), z = G("el-table-column"), Y = G("el-popconfirm"), we = G("el-table"), pe = G("el-pagination"), be = G("el-skeleton"), ye = G("el-dialog"), ve = G("el-icon"), ie = Fn("loading");
2234
+ return q(), ae("div", {
2235
+ class: xn([E.value, "crud-table-container"])
2217
2236
  }, [
2218
- o.showSearchSection ? ($(), ae("div", xo, [
2219
- ne(p.$slots, "header", {}, void 0, !0),
2237
+ o.showSearchSection ? (q(), ae("div", xo, [
2238
+ ne(c.$slots, "header", {}, void 0, !0),
2220
2239
  oe("div", Do, [
2221
- ee(B, {
2240
+ ee(D, {
2222
2241
  model: y,
2223
2242
  class: "query-form flex flex-nowrap items-center gap-x-4",
2224
2243
  style: { "overflow-x": "auto", "padding-bottom": "8px" }
2225
2244
  }, {
2226
- default: I(() => [
2227
- ne(p.$slots, "query-conditions", { searchForm: y }, void 0, !0),
2228
- ee(M, { class: "!mr-0 flex-shrink-0" }, {
2229
- default: I(() => [
2245
+ default: T(() => [
2246
+ ne(c.$slots, "query-conditions", { searchForm: y }, void 0, !0),
2247
+ ee(I, { class: "!mr-0 flex-shrink-0" }, {
2248
+ default: T(() => [
2230
2249
  oe("div", Co, [
2231
- ne(p.$slots, "query-left", { searchForm: y }, void 0, !0),
2232
- o.showSearchActionButtons ? ($(), ae(qe, { key: 0 }, [
2233
- o.showSearchButton ? ($(), N(A, {
2250
+ ne(c.$slots, "query-left", { searchForm: y }, void 0, !0),
2251
+ o.showSearchActionButtons ? (q(), ae(qe, { key: 0 }, [
2252
+ o.showSearchButton ? (q(), N(b, {
2234
2253
  key: 0,
2235
2254
  color: "#336FFF",
2236
- onClick: i,
2237
- loading: O.value
2255
+ onClick: a,
2256
+ loading: P.value
2238
2257
  }, {
2239
- default: I(() => [...c[8] || (c[8] = [
2258
+ default: T(() => [...s[8] || (s[8] = [
2240
2259
  ue("搜索", -1)
2241
2260
  ])]),
2242
2261
  _: 1
2243
- }, 8, ["loading"])) : H("", !0),
2244
- o.showClearButton ? ($(), N(A, {
2262
+ }, 8, ["loading"])) : Q("", !0),
2263
+ o.showClearButton ? (q(), N(b, {
2245
2264
  key: 1,
2246
2265
  color: "#336FFF",
2247
2266
  plain: "",
2248
- onClick: E
2267
+ onClick: R
2249
2268
  }, {
2250
- default: I(() => [...c[9] || (c[9] = [
2269
+ default: T(() => [...s[9] || (s[9] = [
2251
2270
  ue("清空", -1)
2252
2271
  ])]),
2253
2272
  _: 1
2254
- })) : H("", !0)
2255
- ], 64)) : H("", !0),
2256
- ne(p.$slots, "query-right", { searchForm: y }, void 0, !0)
2273
+ })) : Q("", !0)
2274
+ ], 64)) : Q("", !0),
2275
+ ne(c.$slots, "query-right", { searchForm: y }, void 0, !0)
2257
2276
  ])
2258
2277
  ]),
2259
2278
  _: 3
@@ -2261,170 +2280,170 @@ const Ro = /* @__PURE__ */ ze({
2261
2280
  ]),
2262
2281
  _: 3
2263
2282
  }, 8, ["model"]),
2264
- oe("div", ko, [
2265
- ne(p.$slots, "action-left", { selections: a.value }, void 0, !0),
2266
- o.apiUrlExport && o.exportPosition === "top" ? ($(), N(A, {
2283
+ oe("div", Bo, [
2284
+ ne(c.$slots, "action-left", { selections: i.value }, void 0, !0),
2285
+ o.apiUrlExport && o.exportPosition === "top" ? (q(), N(b, {
2267
2286
  key: 0,
2268
2287
  color: "#336FFF",
2269
2288
  plain: "",
2270
- onClick: x,
2271
- loading: b.value
2289
+ onClick: C,
2290
+ loading: S.value
2272
2291
  }, {
2273
- default: I(() => [...c[10] || (c[10] = [
2292
+ default: T(() => [...s[10] || (s[10] = [
2274
2293
  ue(" 导出 ", -1)
2275
2294
  ])]),
2276
2295
  _: 1
2277
- }, 8, ["loading"])) : H("", !0),
2278
- ne(p.$slots, "add-button-content", { selections: a.value }, () => [
2279
- o.showNewBtn ? ($(), N(A, {
2296
+ }, 8, ["loading"])) : Q("", !0),
2297
+ ne(c.$slots, "add-button-content", { selections: i.value }, () => [
2298
+ o.showNewBtn ? (q(), N(b, {
2280
2299
  key: 0,
2281
2300
  color: "#336FFF",
2282
- onClick: c[0] || (c[0] = (C) => F("add"))
2301
+ onClick: s[0] || (s[0] = (B) => g("add"))
2283
2302
  }, {
2284
- default: I(() => [...c[11] || (c[11] = [
2303
+ default: T(() => [...s[11] || (s[11] = [
2285
2304
  ue("新增", -1)
2286
2305
  ])]),
2287
2306
  _: 1
2288
- })) : H("", !0)
2307
+ })) : Q("", !0)
2289
2308
  ], !0),
2290
- ne(p.$slots, "action-right", { selections: a.value }, void 0, !0)
2309
+ ne(c.$slots, "action-right", { selections: i.value }, void 0, !0)
2291
2310
  ])
2292
2311
  ])
2293
- ])) : H("", !0),
2294
- oe("div", Bo, [
2295
- Dn(($(), N(we, he({
2312
+ ])) : Q("", !0),
2313
+ oe("div", ko, [
2314
+ Dn((q(), N(we, he({
2296
2315
  data: f.value,
2297
2316
  "element-loading-text": o.loadingText,
2298
2317
  "element-loading-background": o.loadingBackground,
2299
- onSelectionChange: g
2300
- }, p.$attrs, {
2318
+ onSelectionChange: F
2319
+ }, c.$attrs, {
2301
2320
  height: "100%",
2302
2321
  style: { width: "100%" }
2303
2322
  }), {
2304
- default: I(() => [
2305
- o.showSelectionColumn ? ($(), N(Q, {
2323
+ default: T(() => [
2324
+ o.showSelectionColumn ? (q(), N(z, {
2306
2325
  key: 0,
2307
2326
  type: "selection",
2308
2327
  width: "55",
2309
2328
  fixed: ""
2310
- })) : H("", !0),
2311
- o.showIndexColumn ? ($(), N(Q, {
2329
+ })) : Q("", !0),
2330
+ o.showIndexColumn ? (q(), N(z, {
2312
2331
  key: 1,
2313
2332
  type: "index",
2314
2333
  label: "序号",
2315
2334
  width: "70",
2316
2335
  fixed: ""
2317
- })) : H("", !0),
2318
- ($(!0), ae(qe, null, We(o.columns, (C) => ($(), N(Q, he({
2319
- key: C.prop,
2320
- prop: C.prop,
2321
- label: C.label,
2322
- width: C.width,
2323
- sortable: C.sortable || !1
2324
- }, { ref_for: !0 }, C.attrs), nn({
2325
- header: I(() => [
2326
- C.headerTooltip ? ($(), N(Fo, {
2336
+ })) : Q("", !0),
2337
+ (q(!0), ae(qe, null, We(o.columns, (B) => (q(), N(z, he({
2338
+ key: B.prop,
2339
+ prop: B.prop,
2340
+ label: B.label,
2341
+ width: B.width,
2342
+ sortable: B.sortable || !1
2343
+ }, { ref_for: !0 }, B.attrs), nn({
2344
+ header: T(() => [
2345
+ B.headerTooltip ? (q(), N(Fo, {
2327
2346
  key: 0,
2328
- label: C.label,
2329
- placement: C.placement
2330
- }, null, 8, ["label", "placement"])) : ($(), ae("span", $o, Ie(C.label), 1))
2347
+ label: B.label,
2348
+ placement: B.placement
2349
+ }, null, 8, ["label", "placement"])) : (q(), ae("span", $o, Ie(B.label), 1))
2331
2350
  ]),
2332
2351
  _: 2
2333
2352
  }, [
2334
- C.slot ? {
2353
+ B.slot ? {
2335
2354
  name: "default",
2336
- fn: I((fe) => [
2337
- ne(p.$slots, C.slot, {
2355
+ fn: T((fe) => [
2356
+ ne(c.$slots, B.slot, {
2338
2357
  row: fe.row
2339
2358
  }, void 0, !0)
2340
2359
  ]),
2341
2360
  key: "0"
2342
2361
  } : void 0
2343
2362
  ]), 1040, ["prop", "label", "width", "sortable"]))), 128)),
2344
- o.showActionsColumn ? ($(), N(Q, {
2363
+ o.showActionsColumn ? (q(), N(z, {
2345
2364
  key: 2,
2346
2365
  label: "操作",
2347
2366
  width: t.actionsColumnWidth
2348
2367
  }, {
2349
- default: I((C) => [
2350
- C.row ? ($(), ae("div", qo, [
2351
- p.$slots.actions ? ne(p.$slots, "actions", {
2368
+ default: T((B) => [
2369
+ B.row ? (q(), ae("div", qo, [
2370
+ c.$slots.actions ? ne(c.$slots, "actions", {
2352
2371
  key: 0,
2353
- row: C.row
2354
- }, void 0, !0) : ($(), ae(qe, { key: 1 }, [
2355
- ne(p.$slots, "action-before-edit", {
2356
- row: C.row
2372
+ row: B.row
2373
+ }, void 0, !0) : (q(), ae(qe, { key: 1 }, [
2374
+ ne(c.$slots, "action-before-edit", {
2375
+ row: B.row
2357
2376
  }, void 0, !0),
2358
- h(C.row, "view", o.showViewButton) ? ($(), N(A, {
2377
+ h(B.row, "view", o.showViewButton) ? (q(), N(b, {
2359
2378
  key: 0,
2360
2379
  size: "small",
2361
2380
  type: "success",
2362
2381
  link: "",
2363
- onClick: (fe) => F("view", C.row)
2382
+ onClick: (fe) => g("view", B.row)
2364
2383
  }, {
2365
- default: I(() => [...c[12] || (c[12] = [
2384
+ default: T(() => [...s[12] || (s[12] = [
2366
2385
  ue("查看 ", -1)
2367
2386
  ])]),
2368
2387
  _: 1
2369
- }, 8, ["onClick"])) : H("", !0),
2370
- h(C.row, "edit", o.showEditButton) ? ($(), N(A, {
2388
+ }, 8, ["onClick"])) : Q("", !0),
2389
+ h(B.row, "edit", o.showEditButton) ? (q(), N(b, {
2371
2390
  key: 1,
2372
2391
  size: "small",
2373
2392
  type: "primary",
2374
2393
  link: "",
2375
- onClick: (fe) => F("edit", C.row)
2394
+ onClick: (fe) => g("edit", B.row)
2376
2395
  }, {
2377
- default: I(() => [...c[13] || (c[13] = [
2396
+ default: T(() => [...s[13] || (s[13] = [
2378
2397
  ue("编辑 ", -1)
2379
2398
  ])]),
2380
2399
  _: 1
2381
- }, 8, ["onClick"])) : H("", !0),
2382
- h(C.row, "delete", o.showDeleteButton) ? ($(), N(Y, {
2400
+ }, 8, ["onClick"])) : Q("", !0),
2401
+ h(B.row, "delete", o.showDeleteButton) ? (q(), N(Y, {
2383
2402
  key: 2,
2384
2403
  title: "确定要删除这条数据吗?",
2385
- onConfirm: (fe) => D([C.row.id]),
2404
+ onConfirm: (fe) => x([B.row.id]),
2386
2405
  "confirm-button-text": "确定",
2387
2406
  "cancel-button-text": "取消",
2388
2407
  width: "200"
2389
2408
  }, {
2390
- reference: I(() => [
2391
- ee(A, {
2409
+ reference: T(() => [
2410
+ ee(b, {
2392
2411
  size: "small",
2393
2412
  type: "danger",
2394
2413
  link: ""
2395
2414
  }, {
2396
- default: I(() => [...c[14] || (c[14] = [
2415
+ default: T(() => [...s[14] || (s[14] = [
2397
2416
  ue("删除", -1)
2398
2417
  ])]),
2399
2418
  _: 1
2400
2419
  })
2401
2420
  ]),
2402
2421
  _: 1
2403
- }, 8, ["onConfirm"])) : H("", !0),
2404
- ne(p.$slots, "action-after-delete", {
2405
- row: C.row
2422
+ }, 8, ["onConfirm"])) : Q("", !0),
2423
+ ne(c.$slots, "action-after-delete", {
2424
+ row: B.row
2406
2425
  }, void 0, !0)
2407
2426
  ], 64))
2408
- ])) : H("", !0)
2427
+ ])) : Q("", !0)
2409
2428
  ]),
2410
2429
  _: 3
2411
- }, 8, ["width"])) : H("", !0)
2430
+ }, 8, ["width"])) : Q("", !0)
2412
2431
  ]),
2413
2432
  _: 3
2414
2433
  }, 16, ["data", "element-loading-text", "element-loading-background"])), [
2415
- [ie, O.value]
2434
+ [ie, P.value]
2416
2435
  ])
2417
2436
  ]),
2418
- o.showPagination && v.value > 0 ? ($(), ae("div", Io, [
2419
- o.apiUrlExport && o.exportPosition === "bottom" ? ($(), N(A, {
2437
+ o.showPagination && v.value > 0 ? (q(), ae("div", Io, [
2438
+ o.apiUrlExport && o.exportPosition === "bottom" ? (q(), N(b, {
2420
2439
  key: 0,
2421
2440
  type: "success",
2422
2441
  link: "",
2423
- onClick: x,
2424
- loading: b.value,
2442
+ onClick: C,
2443
+ loading: S.value,
2425
2444
  style: { "font-size": "14px", padding: "0" }
2426
2445
  }, {
2427
- icon: I(() => [...c[15] || (c[15] = [
2446
+ icon: T(() => [...s[15] || (s[15] = [
2428
2447
  oe("svg", {
2429
2448
  viewBox: "0 0 1024 1024",
2430
2449
  width: "16",
@@ -2434,30 +2453,30 @@ const Ro = /* @__PURE__ */ ze({
2434
2453
  oe("path", { d: "M853.333 298.667v554.666c0 35.307-28.693 64-64 64H234.667c-35.307 0-64-28.693-64-64V170.667c0-35.307 28.693-64 64-64h426.666L853.333 298.667zM661.333 106.667v192h192L661.333 106.667zM384 469.333l85.333 128-85.333 128h85.333l42.667-85.333 42.667 85.333h85.333l-85.333-128 85.333-128h-85.333L512 554.667l-42.667-85.334H384z" })
2435
2454
  ], -1)
2436
2455
  ])]),
2437
- default: I(() => [
2438
- c[16] || (c[16] = ue(" 导出列表 ", -1))
2456
+ default: T(() => [
2457
+ s[16] || (s[16] = ue(" 导出列表 ", -1))
2439
2458
  ]),
2440
2459
  _: 1
2441
- }, 8, ["loading"])) : H("", !0),
2460
+ }, 8, ["loading"])) : Q("", !0),
2442
2461
  ee(pe, {
2443
2462
  "current-page": y.pageNum,
2444
- "onUpdate:currentPage": c[1] || (c[1] = (C) => y.pageNum = C),
2463
+ "onUpdate:currentPage": s[1] || (s[1] = (B) => y.pageNum = B),
2445
2464
  "page-size": y.pageSize,
2446
- "onUpdate:pageSize": c[2] || (c[2] = (C) => y.pageSize = C),
2465
+ "onUpdate:pageSize": s[2] || (s[2] = (B) => y.pageSize = B),
2447
2466
  "page-sizes": o.pageSizes,
2448
2467
  layout: o.paginationLayout,
2449
2468
  total: v.value,
2450
2469
  background: o.paginationBackground,
2451
2470
  small: o.paginationSmall,
2452
2471
  "hide-on-single-page": o.paginationHideOnSinglePage,
2453
- onSizeChange: T,
2454
- onCurrentChange: R
2472
+ onSizeChange: U,
2473
+ onCurrentChange: O
2455
2474
  }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "background", "small", "hide-on-single-page"])
2456
- ])) : H("", !0),
2457
- o.dialogFullscreen ? ($(), N(ye, {
2475
+ ])) : Q("", !0),
2476
+ o.dialogFullscreen ? (q(), N(ye, {
2458
2477
  key: 3,
2459
2478
  modelValue: e.visible,
2460
- "onUpdate:modelValue": c[7] || (c[7] = (C) => e.visible = C),
2479
+ "onUpdate:modelValue": s[7] || (s[7] = (B) => e.visible = B),
2461
2480
  fullscreen: !0,
2462
2481
  width: o.dialogWidth,
2463
2482
  "destroy-on-close": !0,
@@ -2466,17 +2485,17 @@ const Ro = /* @__PURE__ */ ze({
2466
2485
  "show-close": !1,
2467
2486
  style: { display: "flex", "flex-direction": "column", "max-height": "100vh" }
2468
2487
  }, {
2469
- header: I(() => [
2488
+ header: T(() => [
2470
2489
  oe("div", No, [
2471
- ee(A, {
2490
+ ee(b, {
2472
2491
  type: "info",
2473
2492
  text: "",
2474
- onClick: c[5] || (c[5] = (C) => e.visible = !1),
2493
+ onClick: s[5] || (s[5] = (B) => e.visible = !1),
2475
2494
  style: { "margin-right": "12px" }
2476
2495
  }, {
2477
- default: I(() => [
2496
+ default: T(() => [
2478
2497
  ee(ve, { size: "20" }, {
2479
- default: I(() => [
2498
+ default: T(() => [
2480
2499
  ee(Cn(qn))
2481
2500
  ]),
2482
2501
  _: 1
@@ -2487,50 +2506,50 @@ const Ro = /* @__PURE__ */ ze({
2487
2506
  oe("span", Vo, Ie(u.value), 1)
2488
2507
  ])
2489
2508
  ]),
2490
- footer: I(() => [
2491
- ne(p.$slots, "dialog-footer", {
2509
+ footer: T(() => [
2510
+ ne(c.$slots, "dialog-footer", {
2492
2511
  dialog: e,
2493
- submit: q,
2512
+ submit: $,
2494
2513
  cancel: () => e.visible = !1
2495
2514
  }, () => [
2496
2515
  oe("div", zo, [
2497
- ee(A, {
2516
+ ee(b, {
2498
2517
  color: "#336FFF",
2499
2518
  plain: "",
2500
- onClick: c[6] || (c[6] = (C) => e.visible = !1)
2519
+ onClick: s[6] || (s[6] = (B) => e.visible = !1)
2501
2520
  }, {
2502
- default: I(() => [...c[19] || (c[19] = [
2521
+ default: T(() => [...s[19] || (s[19] = [
2503
2522
  ue("取消", -1)
2504
2523
  ])]),
2505
2524
  _: 1
2506
2525
  }),
2507
- e.mode !== "view" ? ($(), N(A, {
2526
+ e.mode !== "view" ? (q(), N(b, {
2508
2527
  key: 0,
2509
2528
  color: "#336FFF",
2510
- onClick: q,
2529
+ onClick: $,
2511
2530
  loading: e.submitting
2512
2531
  }, {
2513
- default: I(() => [...c[20] || (c[20] = [
2532
+ default: T(() => [...s[20] || (s[20] = [
2514
2533
  ue(" 确定 ", -1)
2515
2534
  ])]),
2516
2535
  _: 1
2517
- }, 8, ["loading"])) : H("", !0)
2536
+ }, 8, ["loading"])) : Q("", !0)
2518
2537
  ])
2519
2538
  ], !0)
2520
2539
  ]),
2521
- default: I(() => [
2540
+ default: T(() => [
2522
2541
  oe("div", Lo, [
2523
- p.$slots["dialog-form"] ? ne(p.$slots, "dialog-form", {
2542
+ c.$slots["dialog-form"] ? ne(c.$slots, "dialog-form", {
2524
2543
  key: 0,
2525
2544
  formData: e.data,
2526
2545
  mode: e.mode,
2527
- formRef: (C) => {
2528
- e.formRef = C;
2546
+ formRef: (B) => {
2547
+ e.formRef = B;
2529
2548
  }
2530
- }, void 0, !0) : e.loading ? H("", !0) : ($(), ae("div", Wo, [
2549
+ }, void 0, !0) : e.loading ? Q("", !0) : (q(), ae("div", Wo, [
2531
2550
  ee(ft, {
2532
- ref: (C) => {
2533
- e.formRef = C;
2551
+ ref: (B) => {
2552
+ e.formRef = B;
2534
2553
  },
2535
2554
  "model-value": e.data,
2536
2555
  "form-config": _.value,
@@ -2542,38 +2561,38 @@ const Ro = /* @__PURE__ */ ze({
2542
2561
  ])
2543
2562
  ]),
2544
2563
  _: 3
2545
- }, 8, ["modelValue", "width", "modal", "custom-class"])) : ($(), N(ye, {
2564
+ }, 8, ["modelValue", "width", "modal", "custom-class"])) : (q(), N(ye, {
2546
2565
  key: 2,
2547
2566
  modelValue: e.visible,
2548
- "onUpdate:modelValue": c[4] || (c[4] = (C) => e.visible = C),
2567
+ "onUpdate:modelValue": s[4] || (s[4] = (B) => e.visible = B),
2549
2568
  title: u.value,
2550
2569
  width: o.dialogWidth,
2551
2570
  "destroy-on-close": !0,
2552
2571
  "custom-class": k.value,
2553
2572
  style: { display: "flex", "flex-direction": "column", "max-height": "80vh" }
2554
2573
  }, {
2555
- footer: I(() => [
2556
- ne(p.$slots, "dialog-footer", {
2574
+ footer: T(() => [
2575
+ ne(c.$slots, "dialog-footer", {
2557
2576
  dialog: e,
2558
- submit: q,
2577
+ submit: $,
2559
2578
  cancel: () => e.visible = !1
2560
2579
  }, () => [
2561
2580
  oe("div", Mo, [
2562
- ee(A, {
2581
+ ee(b, {
2563
2582
  color: "#336FFF",
2564
- onClick: c[3] || (c[3] = (C) => e.visible = !1)
2583
+ onClick: s[3] || (s[3] = (B) => e.visible = !1)
2565
2584
  }, {
2566
- default: I(() => [...c[17] || (c[17] = [
2585
+ default: T(() => [...s[17] || (s[17] = [
2567
2586
  ue("取消", -1)
2568
2587
  ])]),
2569
2588
  _: 1
2570
2589
  }),
2571
- ee(A, {
2590
+ ee(b, {
2572
2591
  color: "#336FFF",
2573
- onClick: q,
2592
+ onClick: $,
2574
2593
  loading: e.submitting
2575
2594
  }, {
2576
- default: I(() => [...c[18] || (c[18] = [
2595
+ default: T(() => [...s[18] || (s[18] = [
2577
2596
  ue(" 确定 ", -1)
2578
2597
  ])]),
2579
2598
  _: 1
@@ -2581,23 +2600,23 @@ const Ro = /* @__PURE__ */ ze({
2581
2600
  ])
2582
2601
  ], !0)
2583
2602
  ]),
2584
- default: I(() => [
2603
+ default: T(() => [
2585
2604
  oe("div", Uo, [
2586
- p.$slots["dialog-form"] ? ne(p.$slots, "dialog-form", {
2605
+ c.$slots["dialog-form"] ? ne(c.$slots, "dialog-form", {
2587
2606
  key: 0,
2588
2607
  formData: e.data,
2589
2608
  mode: e.mode,
2590
- formRef: (C) => {
2591
- e.formRef = C;
2609
+ formRef: (B) => {
2610
+ e.formRef = B;
2592
2611
  }
2593
- }, void 0, !0) : e.loading ? ($(), N(be, {
2612
+ }, void 0, !0) : e.loading ? (q(), N(be, {
2594
2613
  key: 1,
2595
2614
  rows: 5,
2596
2615
  animated: ""
2597
- })) : e.loading ? H("", !0) : ($(), ae("div", To, [
2616
+ })) : e.loading ? Q("", !0) : (q(), ae("div", To, [
2598
2617
  ee(ft, {
2599
- ref: (C) => {
2600
- e.formRef = C;
2618
+ ref: (B) => {
2619
+ e.formRef = B;
2601
2620
  },
2602
2621
  "model-value": e.data,
2603
2622
  "form-config": _.value,