@byteluck-fe/model-driven-settings 2.23.0-beta.3 → 2.23.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/default/createBaseFields.js +2 -2
- package/dist/esm/props/checkbox.js +12 -24
- package/dist/esm/props/custom.js +12 -23
- package/dist/esm/props/input-number.js +12 -26
- package/dist/esm/props/input.js +12 -27
- package/dist/esm/props/radio.js +12 -25
- package/dist/esm/props/select.js +12 -25
- package/dist/esm/props/switch.js +12 -26
- package/dist/esm/props/textarea.js +12 -29
- package/dist/index.umd.js +44 -2
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
2
2
|
export function createBaseFields() {
|
|
3
3
|
return [
|
|
4
4
|
{
|
|
5
|
-
label:
|
|
5
|
+
label: RulesMessage.getMessage('hide'),
|
|
6
6
|
key: 'isHide',
|
|
7
7
|
type: 'boolean',
|
|
8
8
|
component: 'switch'
|
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,39 +63,23 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { BaseProps } from './base';
|
|
86
74
|
export var CheckboxProps = /*#__PURE__*/ function(BaseProps) {
|
|
87
75
|
"use strict";
|
|
88
76
|
_inherits(CheckboxProps, BaseProps);
|
|
89
|
-
var _super = _create_super(CheckboxProps);
|
|
90
77
|
function CheckboxProps(props) {
|
|
91
78
|
_class_call_check(this, CheckboxProps);
|
|
92
79
|
var _this;
|
|
93
|
-
_this =
|
|
94
|
-
|
|
80
|
+
_this = _call_super(this, CheckboxProps, [
|
|
81
|
+
props
|
|
82
|
+
]), _define_property(_this, "options", void 0);
|
|
95
83
|
var _props_options;
|
|
96
84
|
_this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
|
|
97
85
|
return _this;
|
package/dist/esm/props/custom.js
CHANGED
|
@@ -12,6 +12,10 @@ function _assert_this_initialized(self) {
|
|
|
12
12
|
}
|
|
13
13
|
return self;
|
|
14
14
|
}
|
|
15
|
+
function _call_super(_this, derived, args) {
|
|
16
|
+
derived = _get_prototype_of(derived);
|
|
17
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
18
|
+
}
|
|
15
19
|
function _class_call_check(instance, Constructor) {
|
|
16
20
|
if (!(instance instanceof Constructor)) {
|
|
17
21
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -92,39 +96,24 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
92
96
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
93
97
|
}
|
|
94
98
|
function _is_native_reflect_construct() {
|
|
95
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
96
|
-
if (Reflect.construct.sham) return false;
|
|
97
|
-
if (typeof Proxy === "function") return true;
|
|
98
99
|
try {
|
|
99
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
return
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
function _create_super(Derived) {
|
|
106
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
107
|
-
return function _createSuperInternal() {
|
|
108
|
-
var Super = _get_prototype_of(Derived), result;
|
|
109
|
-
if (hasNativeReflectConstruct) {
|
|
110
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
111
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
112
|
-
} else {
|
|
113
|
-
result = Super.apply(this, arguments);
|
|
114
|
-
}
|
|
115
|
-
return _possible_constructor_return(this, result);
|
|
116
|
-
};
|
|
100
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
101
|
+
} catch (_) {}
|
|
102
|
+
return (_is_native_reflect_construct = function() {
|
|
103
|
+
return !!result;
|
|
104
|
+
})();
|
|
117
105
|
}
|
|
118
106
|
import { isPlainObject } from '@byteluck-fe/model-driven-shared';
|
|
119
107
|
import { BaseProps } from './base';
|
|
120
108
|
export var CustomProps = /*#__PURE__*/ function(BaseProps) {
|
|
121
109
|
"use strict";
|
|
122
110
|
_inherits(CustomProps, BaseProps);
|
|
123
|
-
var _super = _create_super(CustomProps);
|
|
124
111
|
function CustomProps(props) {
|
|
125
112
|
_class_call_check(this, CustomProps);
|
|
126
113
|
var _this;
|
|
127
|
-
_this =
|
|
114
|
+
_this = _call_super(this, CustomProps, [
|
|
115
|
+
props
|
|
116
|
+
]);
|
|
128
117
|
if (isPlainObject(props)) {
|
|
129
118
|
Object.entries(props).forEach(function(param) {
|
|
130
119
|
var _param = _sliced_to_array(param, 2), key = _param[0], value = _param[1];
|
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,41 +63,23 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { BaseProps } from './base';
|
|
86
74
|
export var InputNumberProps = /*#__PURE__*/ function(BaseProps) {
|
|
87
75
|
"use strict";
|
|
88
76
|
_inherits(InputNumberProps, BaseProps);
|
|
89
|
-
var _super = _create_super(InputNumberProps);
|
|
90
77
|
function InputNumberProps(props) {
|
|
91
78
|
_class_call_check(this, InputNumberProps);
|
|
92
79
|
var _this;
|
|
93
|
-
_this =
|
|
94
|
-
|
|
95
|
-
_define_property(
|
|
96
|
-
_define_property(_assert_this_initialized(_this), "placeholder", void 0);
|
|
80
|
+
_this = _call_super(this, InputNumberProps, [
|
|
81
|
+
props
|
|
82
|
+
]), _define_property(_this, "max", void 0), _define_property(_this, "min", void 0), _define_property(_this, "placeholder", void 0);
|
|
97
83
|
var _props_max;
|
|
98
84
|
_this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : '';
|
|
99
85
|
var _props_min;
|
package/dist/esm/props/input.js
CHANGED
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,42 +63,23 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { BaseProps } from './base';
|
|
86
74
|
export var InputProps = /*#__PURE__*/ function(BaseProps) {
|
|
87
75
|
"use strict";
|
|
88
76
|
_inherits(InputProps, BaseProps);
|
|
89
|
-
var _super = _create_super(InputProps);
|
|
90
77
|
function InputProps(props) {
|
|
91
78
|
_class_call_check(this, InputProps);
|
|
92
79
|
var _this;
|
|
93
|
-
_this =
|
|
94
|
-
|
|
95
|
-
_define_property(
|
|
96
|
-
_define_property(_assert_this_initialized(_this), "placeholder", void 0);
|
|
97
|
-
_define_property(_assert_this_initialized(_this), "i18n", void 0);
|
|
80
|
+
_this = _call_super(this, InputProps, [
|
|
81
|
+
props
|
|
82
|
+
]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "placeholder", void 0), _define_property(_this, "i18n", void 0);
|
|
98
83
|
var _props_maxLength;
|
|
99
84
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : '';
|
|
100
85
|
var _props_minLength;
|
package/dist/esm/props/radio.js
CHANGED
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,40 +63,23 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { BaseProps } from './base';
|
|
86
74
|
export var RadioProps = /*#__PURE__*/ function(BaseProps) {
|
|
87
75
|
"use strict";
|
|
88
76
|
_inherits(RadioProps, BaseProps);
|
|
89
|
-
var _super = _create_super(RadioProps);
|
|
90
77
|
function RadioProps(props) {
|
|
91
78
|
_class_call_check(this, RadioProps);
|
|
92
79
|
var _this;
|
|
93
|
-
_this =
|
|
94
|
-
|
|
95
|
-
_define_property(
|
|
80
|
+
_this = _call_super(this, RadioProps, [
|
|
81
|
+
props
|
|
82
|
+
]), _define_property(_this, "options", void 0), _define_property(_this, "showType", void 0);
|
|
96
83
|
var _props_options;
|
|
97
84
|
_this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
|
|
98
85
|
var _props_showType;
|
package/dist/esm/props/select.js
CHANGED
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,40 +63,23 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { BaseProps } from './base';
|
|
86
74
|
export var SelectProps = /*#__PURE__*/ function(BaseProps) {
|
|
87
75
|
"use strict";
|
|
88
76
|
_inherits(SelectProps, BaseProps);
|
|
89
|
-
var _super = _create_super(SelectProps);
|
|
90
77
|
function SelectProps(props) {
|
|
91
78
|
_class_call_check(this, SelectProps);
|
|
92
79
|
var _this;
|
|
93
|
-
_this =
|
|
94
|
-
|
|
95
|
-
_define_property(
|
|
80
|
+
_this = _call_super(this, SelectProps, [
|
|
81
|
+
props
|
|
82
|
+
]), _define_property(_this, "placeholder", void 0), _define_property(_this, "options", void 0);
|
|
96
83
|
var _props_placeholder;
|
|
97
84
|
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '';
|
|
98
85
|
var _props_options;
|
package/dist/esm/props/switch.js
CHANGED
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,41 +63,23 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { BaseProps } from './base';
|
|
86
74
|
export var SwitchProps = /*#__PURE__*/ function(BaseProps) {
|
|
87
75
|
"use strict";
|
|
88
76
|
_inherits(SwitchProps, BaseProps);
|
|
89
|
-
var _super = _create_super(SwitchProps);
|
|
90
77
|
function SwitchProps(props) {
|
|
91
78
|
_class_call_check(this, SwitchProps);
|
|
92
79
|
var _this;
|
|
93
|
-
_this =
|
|
94
|
-
|
|
95
|
-
_define_property(
|
|
96
|
-
_define_property(_assert_this_initialized(_this), "disabled", void 0);
|
|
80
|
+
_this = _call_super(this, SwitchProps, [
|
|
81
|
+
props
|
|
82
|
+
]), _define_property(_this, "showType", void 0), _define_property(_this, "tips", void 0), _define_property(_this, "disabled", void 0);
|
|
97
83
|
var _props_showType;
|
|
98
84
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'switch';
|
|
99
85
|
var _props_tips;
|
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,44 +63,23 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { BaseProps } from './base';
|
|
86
74
|
export var TextareaProps = /*#__PURE__*/ function(BaseProps) {
|
|
87
75
|
"use strict";
|
|
88
76
|
_inherits(TextareaProps, BaseProps);
|
|
89
|
-
var _super = _create_super(TextareaProps);
|
|
90
77
|
function TextareaProps(props) {
|
|
91
78
|
_class_call_check(this, TextareaProps);
|
|
92
79
|
var _this;
|
|
93
|
-
_this =
|
|
94
|
-
|
|
95
|
-
_define_property(
|
|
96
|
-
_define_property(_assert_this_initialized(_this), "placeholder", void 0);
|
|
97
|
-
_define_property(_assert_this_initialized(_this), "i18n", void 0);
|
|
98
|
-
_define_property(_assert_this_initialized(_this), "maxRows", void 0);
|
|
99
|
-
_define_property(_assert_this_initialized(_this), "minRows", void 0);
|
|
80
|
+
_this = _call_super(this, TextareaProps, [
|
|
81
|
+
props
|
|
82
|
+
]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "placeholder", void 0), _define_property(_this, "i18n", void 0), _define_property(_this, "maxRows", void 0), _define_property(_this, "minRows", void 0);
|
|
100
83
|
var _props_maxLength;
|
|
101
84
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : '';
|
|
102
85
|
var _props_minLength;
|
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,44 @@
|
|
|
1
|
-
var ze=Object.defineProperty,Ke=Object.defineProperties;var We=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var Xe=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var O=(l,g,f)=>g in l?ze(l,g,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[g]=f,I=(l,g)=>{for(var f in g||(g={}))Xe.call(g,f)&&O(l,f,g[f]);if(P)for(var f of P(g))$e.call(g,f)&&O(l,f,g[f]);return l},w=(l,g)=>Ke(l,We(g));(function(l,g){typeof exports=="object"&&typeof module!="undefined"?g(exports):typeof define=="function"&&define.amd?define(["exports"],g):(l=typeof globalThis!="undefined"?globalThis:l||self,g(l.modelDrivenSettings={}))})(this,function(l){"use strict";function g(e){return e}class f{constructor(t){var n,i,r;this.visible=(n=t==null?void 0:t.visible)!=null?n:!0,this.expression=(i=t==null?void 0:t.expression)!=null?i:!1,this.updateParent=(r=t==null?void 0:t.updateParent)!=null?r:!1}get isAtomicComponent(){return!0}}var p;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(p||(p={}));var E;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(E||(E={}));var _;_=window.localStorage.getItem("locale");var T=function(){},x;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(x||(x={}));var H;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(H||(H={}));var G;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(G||(G={}));var j;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(j||(j={}));var z;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(z||(z={}));var K;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(K||(K={}));function Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t,n){return W()?M=Reflect.construct:M=function(r,s,u){var h=[null];h.push.apply(h,s);var U=Function.bind.apply(r,h),A=new U;return u&&y(A,u.prototype),A},M.apply(null,arguments)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},b(e)}function te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function ne(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ie(e,t){return t&&(re(t)==="object"||typeof t=="function")?t:Y(e)}function y(e,t){return y=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},y(e,t)}function re(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S(e){var t=typeof Map=="function"?new Map:void 0;return S=function(i){if(i===null||!ne(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(i))return t.get(i);t.set(i,r)}function r(){return M(i,arguments,b(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),y(r,i)},S(e)}function W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ae(e){var t=W();return function(){var i=b(e),r;if(t){var s=b(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return ie(this,r)}}function ce(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var oe=function(e){te(n,e);var t=ae(n);function n(i){ee(this,n);var r;return r=t.call(this,i),r.name="\u{1F4A5} Driven Error",r.message=i?ce(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return n}(S(Error));function se(e){throw new oe(e)}const X=(e,t)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=e.split(".");let i;const r=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((u,h)=>{h===0?i=r[u]:i&&(i=i[u])});let s="";return i&&(s=i),t&&Object.keys(t).forEach(u=>{const h=t[u];s=s.replace(new RegExp(`\\{\\s*${u}\\s*\\}`,"g"),h)}),s||(s=e),s};function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function le(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}var o=function(){function e(){ue(this,e)}return le(e,null,[{key:"getMessage",value:function(n){return X("CMD."+n)}}]),e}(),fe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ge={exports:{}};(function(e){(function(t){var n=function(a,c,m){if(!A(c)||xe(c)||He(c)||Ge(c)||U(c))return c;var d,v=0,C=0;if(Ee(c))for(d=[],C=c.length;v<C;v++)d.push(n(a,c[v],m));else{d={};for(var B in c)Object.prototype.hasOwnProperty.call(c,B)&&(d[a(B,m)]=n(a,c[B],m))}return d},i=function(a,c){c=c||{};var m=c.separator||"_",d=c.split||/(?=[A-Z])/;return a.split(d).join(m)},r=function(a){return je(a)?a:(a=a.replace(/[\-_\s]+(.)?/g,function(c,m){return m?m.toUpperCase():""}),a.substr(0,1).toLowerCase()+a.substr(1))},s=function(a){var c=r(a);return c.substr(0,1).toUpperCase()+c.substr(1)},u=function(a,c){return i(a,c).toLowerCase()},h=Object.prototype.toString,U=function(a){return typeof a=="function"},A=function(a){return a===Object(a)},Ee=function(a){return h.call(a)=="[object Array]"},xe=function(a){return h.call(a)=="[object Date]"},He=function(a){return h.call(a)=="[object RegExp]"},Ge=function(a){return h.call(a)=="[object Boolean]"},je=function(a){return a=a-0,a===a},D=function(a,c){var m=c&&"process"in c?c.process:c;return typeof m!="function"?a:function(d,v){return m(d,a,v)}},L={camelize:r,decamelize:u,pascalize:s,depascalize:u,camelizeKeys:function(a,c){return n(D(r,c),a)},decamelizeKeys:function(a,c){return n(D(u,c),a,c)},pascalizeKeys:function(a,c){return n(D(s,c),a)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=L:t.humps=L})(fe)})(ge);var F={};Object.defineProperty(F,"__esModule",{value:!0});function k(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:k(t));{const t={};for(const n in e){const i=e[n];t[n]=typeof i!="object"||i===null?i:k(i)}return t}}F.default=k;function q(e){return Object.prototype.toString.call(e)==="[object Object]"}function he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function me(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be=[{key:"on_click",name:o.getMessage("click"),code:"click"},{key:"on_click_finish",name:o.getMessage("finished"),code:"click-finish"},{key:"on_change",name:o.getMessage("valueChange"),code:"change"},{key:"on_search",name:o.getMessage("search"),code:"search"},{key:"on_list_change",name:o.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:o.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:o.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:o.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:o.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:o.getMessage("onInput"),code:"input"},{key:"on_blur",name:o.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:o.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:o.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:o.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:o.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:o.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:o.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:o.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:o.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:o.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:o.getMessage("modalConfirm"),code:"modal-ok"}],ye=function(){function e(){he(this,e)}return me(e,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return e.events.filter(function(r){return i.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],r=n.eventKeys;i=i.concat(e.events.filter(function(u){return r.includes(u.key)}));var s=n.customEvents.map(function(u){var h=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(h=u.namespace+":"+u.key),{key:h,code:u.key,name:u.name}});return i=i.concat(s),i}}]),e}();de(ye,"events",be);class J{constructor(t){var n,i,r;this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component,this.effect=(n=t.effect)!=null?n:{},this.scopeEffect=(i=t.scopeEffect)!=null?i:T,this.defaultValue=t.defaultValue,this.validator=t.validator,this.props=(r=t.props)!=null?r:new f,this.effectKeys=Object.keys(this.effect)}filterEffects(t){return t===""?Object.values(this.effect):this.effectKeys.filter(n=>new RegExp(`^${n}(\\.\\w+)*$`).test(t)).map(n=>this.effect[n])}callEffectFn(t,n){try{const i=t.apply(null,n);q(i)&&Object.assign(this.props,i)}catch(i){se(`effect error
|
|
2
|
-
|
|
1
|
+
var U5=Object.defineProperty,W5=Object.defineProperties;var H5=Object.getOwnPropertyDescriptors;var Ys=Object.getOwnPropertySymbols;var G5=Object.prototype.hasOwnProperty,j5=Object.prototype.propertyIsEnumerable;var eo=(z,re,Q)=>re in z?U5(z,re,{enumerable:!0,configurable:!0,writable:!0,value:Q}):z[re]=Q,Mt=(z,re)=>{for(var Q in re||(re={}))G5.call(re,Q)&&eo(z,Q,re[Q]);if(Ys)for(var Q of Ys(re))j5.call(re,Q)&&eo(z,Q,re[Q]);return z},$t=(z,re)=>W5(z,H5(re));var bn=(z,re,Q)=>new Promise((ur,Cn)=>{var ar=xe=>{try{Pt(Q.next(xe))}catch(kt){Cn(kt)}},sr=xe=>{try{Pt(Q.throw(xe))}catch(kt){Cn(kt)}},Pt=xe=>xe.done?ur(xe.value):Promise.resolve(xe.value).then(ar,sr);Pt((Q=Q.apply(z,re)).next())});(function(z,re){typeof exports=="object"&&typeof module!="undefined"?re(exports):typeof define=="function"&&define.amd?define(["exports"],re):(z=typeof globalThis!="undefined"?globalThis:z||self,re(z.modelDrivenSettings={}))})(this,function(z){"use strict";function re(e){return e}class Q{constructor(t){var n,r,a;this.visible=(n=t==null?void 0:t.visible)!=null?n:!0,this.expression=(r=t==null?void 0:t.expression)!=null?r:!1,this.updateParent=(a=t==null?void 0:t.updateParent)!=null?a:!1}get isAtomicComponent(){return!0}}var ur="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Cn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ar="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",sr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Pt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",xe="{caption}\u5FC5\u586B",kt="\u8BF7\u8F93\u5165\u6807\u9898",to="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",no="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ro="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",uo="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ao="\u8BF7\u7ED1\u5B9A\u8868\u5355",so="\u8BF7\u7ED1\u5B9A\u5217\u8868",oo="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",io="\u8BF7\u8F93\u5165\u663E\u793A\u503C",lo="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",co="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",fo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Eo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",po="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_o="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",mo="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ho="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",vo="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",go="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",bo="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Co="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Fo="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Ao="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",No="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Do="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",So="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Io="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Bo="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Oo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",To="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Lo="\u8BF7\u7ED1\u5B9A\u670D\u52A1",yo="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ro="\u8BF7\u9009\u62E9\u7701",wo="\u8BF7\u9009\u62E9\u5E02",Mo="\u8BF7\u9009\u62E9\u533A",$o="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Po="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ko="\u8BF7\u8F93\u5165\u5217\u5BBD",Vo="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",xo="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Uo="\u8BF7\u9009\u62E9\u63A7\u4EF6",Wo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ho="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Go="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jo="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ko="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xo="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",qo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Jo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Yo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ei="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ti="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ni="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ri="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ui="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ai="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",si="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",oi="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ii="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",li="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",ci="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",fi="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",di="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ei="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",pi="\u6279\u91CF\u5220\u9664",_i="\u6279\u91CF\u6253\u5370",mi="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",hi="\u6309\u94AE",vi="\u521B\u5EFA\u5355\u636E",gi="\u4EEA\u8868\u76D8",bi="\u5206\u5272\u7EBF",Ci="\u5BFC\u51FA",Fi="\u8868\u5355\u64CD\u4F5C",Ai="\u5BFC\u5165",Ni="\u53D1\u7968\u8BC6\u522B",Di="\u94FE\u63A5",Si="\u5217\u8868\u9009\u62E9",Ii="\u5217\u8868\u89C6\u56FE",Bi="\u64CD\u4F5C\u6309\u94AE",Oi="\u5206\u9875",Ti="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Li="\u8BF4\u660E\u6587\u5B57",yi="\u6587\u5B57\u8BC6\u522B",Ri="\u6807\u9898\u7EC4\u4EF6",wi="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Mi="\u6570\u7EC4",$i="\u81EA\u52A8\u7F16\u53F7",Pi="\u81EA\u5B9A\u4E49",ki="\u6570\u503C",Vi="\u90E8\u95E8",xi="\u4EBA\u5458",Ui="\u9644\u4EF6",Wi="\u56FE\u7247",Hi="\u5730\u5740",Gi="\u64CD\u4F5C",ji="\u5E8F\u53F7",Ki="\u4EBA\u5458",Xi="\u957F\u6587\u672C",qi="\u65E5\u671F\u533A\u95F4",Ji="\u65E5\u671F",zi="\u77ED\u6587\u672C",Qi="\u6362\u884C\u5BB9\u5668Wrap",Zi="\u8868\u683C",Yi="\u660E\u7EC6\u5B50\u8868",el="\u5730\u5740",tl="\u91D1\u989D",nl="\u8BA1\u7B97\u516C\u5F0F",rl="\u591A\u9009",ul="\u7535\u5B50\u7B7E\u7AE0",al="\u5355\u884C\u6587\u672C",sl="\u6570\u5B57",ol="\u4E1A\u52A1\u7EC4\u7EC7",il="\u5355\u9009",ll="\u5BCC\u6587\u672C",cl="\u8BC4\u5206",fl="\u6570\u5B57\u533A\u95F4",dl="\u4E0B\u62C9\u5355\u9009",El="\u4E0B\u62C9\u591A\u9009",pl="\u5173\u8054\u5355\u9009",_l="\u591A\u884C\u6587\u672C",ml="\u6811",hl="Vue\u5BB9\u5668",vl="Vue\u9875\u9762",gl="\u5728\u7EBF\u6587\u6863",bl="\u6309\u94AE\u64CD\u4F5C\u680F",Cl="\u9AD8\u7EA7\u5BB9\u5668",Fl="\u5206\u7EC4",Al="\u6805\u683C\u5217",Nl="\u6570\u636E\u5BB9\u5668",Dl="\u753B\u5E03",Sl="\u6362\u884C\u5BB9\u5668",Il="\u6805\u683C\u7B49\u5206\u884C",Bl="\u5217\u8868\u5BB9\u5668",Ol="\u81EA\u7531\u9875\u9762",Tl="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Ll="\u5B9A\u4F4D\u5BB9\u5668",yl="\u6805\u683C\u5E03\u5C40",Rl="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",wl="\u660E\u7EC6\u5B50\u8868\u884C",Ml="\u6807\u7B7E\u9875",$l="\u6807\u7B7E\u5355\u5143",Pl="\u5DE5\u5177\u680F",kl="\u6279\u91CF\u63D0\u4EA4",Vl="\u5BFC\u51FA\u8BB0\u5F55",xl="\u5217\u8868\u89C6\u56FE",Ul="\u7ED3\u675F\u65F6\u95F4",Wl="\u5F00\u59CB\u65F6\u95F4",Hl="\u5355\u4F4D",Gl="\u7ED3\u679C",jl="\u5E01\u79CD",Kl="\u7ED3\u675F\u65E5\u671F",Xl="\u5F00\u59CB\u65E5\u671F",ql="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Jl="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",zl="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Ql="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Zl="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Yl="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ec="\u8BF7\u9009\u62E9",tc="\u8BF7\u9009\u62E9\u7EC4\u7EC7",nc="\u8BF7\u9009\u62E9\u90E8\u95E8",rc="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",uc="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",ac="\u8BF7\u9009\u62E9\u5730\u5740",sc="\u5F39\u7A97\u786E\u8BA4\u65F6",oc="\u6807\u7B7E\u9875\u5207\u6362\u65F6",ic="\u884C\u9009\u4E2D\u65F6",lc="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",cc="\u884C\u5220\u9664\u524D",fc="\u884C\u70B9\u51FB\u65F6",dc="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Ec="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",pc="\u91CD\u547D\u540D\u65F6",_c="\u4FDD\u5B58\u6587\u4EF6\u65F6",mc="\u6253\u5F00\u6587\u4EF6\u65F6",hc="\u83B7\u53D6\u7126\u70B9\u65F6",vc="\u5931\u53BB\u7126\u70B9\u65F6",gc="\u7528\u6237\u8F93\u5165\u65F6",bc="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Cc="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Fc="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ac="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Nc="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Dc="\u641C\u7D22\u65F6",Sc="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Ic="\u6267\u884C\u5B8C\u6210\u65F6",Bc="\u70B9\u51FB\u65F6",Oc="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Tc="\u8BF7\u8F93\u5165\u65E5\u671F",Lc="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",yc="\u8BF7\u8F93\u5165",Rc="\u9ED8\u8BA4\u6A21\u7248",wc="\u5DE6\u53F3\u5E03\u5C40",Mc="\u4E0A\u4E0B\u5E03\u5C40",$c="\u53EA\u8BFB",Pc="\u5FC5\u586B",kc="\u63D0\u793A\u6587\u5B57",Vc="\u9690\u85CF\u6807\u9898",xc="\u6807\u9898\u5FC5\u586B",Uc="\u7EC4\u7EC7\u5F62\u6001",Wc="\u4E1A\u52A1\u7C7B\u578B",Hc="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Gc="\u9690\u85CF",jc="\u6D41\u7A0B\u72B6\u6001",Kc="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Xc="\u5220\u9664",qc="\u7F16\u8F91",Jc="\u67E5\u770B",zc="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Qc="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Zc="\u5145\u6EE1\u6574\u884C",Yc="\u6700\u5C0F\u503C",ef="\u6700\u5927\u503C",tf="\u65B0\u5EFA\u6587\u6863",nf="\u91CD\u7F6E",rf="\u67E5\u8BE2",uf="\u660E\u7EC6",af="\u6253\u5370",sf="\u4FDD\u5B58\u8349\u7A3F",of="\u4FDD\u5B58",lf="\u53D6\u6D88",cf="\u4E0A\u4F20\u56FE\u7247",ff="\u53D1\u8D77\u7B7E\u7F72",df="\u4E0A\u4F20\u9644\u4EF6",Ef="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",pf={isNotNumber:ur,isNotString:Cn,isNotObject:ar,isNotArray:sr,isNotBoolean:Pt,runtimeRequired:xe,pleaseEnterCaption:kt,pleaseEnterCaptionTip:to,pleaseEnterRowCaption:no,pleaseEnterPlaceholder:ro,pleaseEnterFieldCode:uo,pleaseEnterForm:ao,pleaseEnterList:so,pleaseEnterProcess:oo,pleaseEnterLabel:io,pleaseEnterValue:lo,bizKeyNotBindFiled:co,pleaseSelectOneField:fo,pleaseEnterNumberRange:Eo,pleaseEnterAValueGreaterThanMin:po,pleaseEnterAValueLessThanMax:_o,numberRangeSetError:mo,stringRangeError:ho,attachmentMaxSize:vo,pleaseEnterTotalScoreSetting:go,theTotalScoreMustNotBeLessThan1:bo,scoreDefaultValueRange:Co,attachmentLimitError:Fo,PleaseReselectTheOptionalQuantity:Ao,TheMaximumLengthIsGreaterThanTheMinimumLength:No,TheMinimumLengthIsGreaterThanTheMaximumLength:Do,PleaseSelectTheCorrectOptionSettings:So,optionIdIsRepeat:Io,optionIsRequired:Bo,pleaseEnterDataCode:Oo,pleaseEnterValueFieldCode:To,pleaseEnterSvcCode:Lo,pleaseBindAtLeastOneDisplayValue:yo,pleaseSelectProvince:Ro,pleaseSelectCity:wo,pleaseSelectDistrict:Mo,limitRowsCannotBeLessThan0:$o,TheNumberOfRowsCannotBeLessThanMinRows:Po,pleaseEnterColumnWidth:ko,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Vo,pleaseCompleteAllRulesAndConditions:xo,pleaseSelectControl:Uo,pleaseSelectAtLeastOneColumn:Wo,pleaseSelectFillBackMode:Ho,pleaseSelectDashboard:Go,rootNodeIsRequired:jo,theViewNameCannotBeEmpty:Ko,pleaseSelectOcrType:Xo,pleaseSelectAtLeastOneFieldToFillIn:qo,pleaseChooseAtLeastOne:Jo,pleaseEnterButtonContent:zo,pleaseEnterDataCodeInDataSetting:Qo,pleaseEnterValueFieldCodeInDataSetting:Zo,pleaseEnterSvcCodeInDataSetting:Yo,pleaseBindAtLeastOneDisplayValueInDataSetting:ei,rootNodeIsRequiredInDataSetting:ti,pleaseEnterMaxHeight:ni,pleaseEnterWatermark:ri,pleaseEnterFileName:ui,pleaseUploadAtLeastOnePrintTemplate:ai,pleaseAssignBusiness:si,pleaseAssignExternal:oi,pleaseEnterAliasCode:ii,pleaseSelectDataCode:li,pleaseSelectSvcCode:ci,pleaseSelectJoinFieldCode:fi,pleaseSelectMainFieldCode:di,pleaseSelectSortFieldCode:Ei,batchDeleteButton:pi,batchPrintListButton:_i,batchPrintRecordList:mi,button:hi,createFormListButton:vi,dashboard:gi,divider:bi,exportListButton:Ci,formSelectButton:Fi,importRecordListButton:Ai,invoiceCheckButton:Ni,link:Di,listSelectButton:Si,ListViewSelect:Ii,operationButton:Bi,pagination:Oi,submissionRecordListButton:Ti,text:Li,textOcrButton:yi,title:Ri,approvalStatusColumn:wi,array:Mi,autoNumber:$i,custom:Pi,decimal:ki,department:Vi,employee:xi,file:Ui,image:Wi,location:Hi,operation:Gi,order:ji,people:Ki,long:Xi,timescope:qi,timestamp:Ji,varchar:zi,gridLayoutWrap:Qi,gridTable:Zi,subTable:Yi,address:el,amount:tl,calc:nl,checkBox:rl,electronicSignature:ul,input:al,number:sl,organizationSelection:ol,radio:il,richText:ll,score:cl,searchNumberRange:fl,select:dl,selectMultiple:El,selectRelation:pl,textarea:_l,tree:ml,vueFormItem:hl,vuePage:vl,WPS:gl,actionBar:bl,advancedContainer:Cl,cardGroup:Fl,col:Al,dataView:Nl,grid:Dl,gridLayoutContainer:Sl,gridRow:Il,listView:Bl,page:Ol,position:Tl,positioningContainer:Ll,row:yl,subtableColumn:Rl,subtableRow:wl,tab:Ml,tabPane:$l,toolbox:Pl,batchSubmissionListButton:kl,exportRecordListButton:Vl,listViewSelect:xl,endTime:Ul,startTime:Wl,unit:Hl,result:Gl,currency:jl,endDate:Kl,startDate:Xl,pleaseSelectCompanyName:ql,pleaseSelectPhoneOrEmail:Jl,pleaseSelectSignType:zl,pleaseSelectSigner:Ql,pleaseSelectOnlyOne:Zl,pleaseSelectSignFile:Yl,pleaseSelect:ec,pleaseSelectOrg:tc,pleaseSelectDept:nc,pleaseSelectEndDate:rc,pleaseSelectStartDate:uc,pleaseChooseAddress:ac,modalConfirm:sc,tabChange:oc,rowSelected:ic,listDataImport:lc,rowDelete:cc,rowClick:fc,cellRender:dc,onClickBtn:Ec,rename:pc,onSaveFile:_c,onOpenFile:mc,onFocus:hc,onBlur:vc,onInput:gc,listDataAdd:bc,listDataDelete:Cc,listDataBack:Fc,listDataCreate:Ac,listDataChange:Nc,search:Dc,valueChange:Sc,finished:Ic,click:Bc,pleaseEnterNameorEmail:Oc,pleaseEnterDate:Tc,pleaseEnterAutonumber:Lc,pleaseEnter:yc,defaultTemplate:Rc,left:wc,top:Mc,default:"\u666E\u901A",readonly:$c,required:Pc,textTip:kc,hideCaption:Vc,titleRequired:xc,organizationalForm:Uc,businessType:Wc,deleteConfirm:Hc,hide:Gc,processStatus:jc,approvedDocuments:Kc,delete:Xc,edit:qc,view:Jc,loadCtrlErrorTip:zc,loadCtrlError:Qc,fullLine:Zc,min:Yc,max:ef,createWPS:tf,reset:nf,query:rf,detailed:uf,print:af,draft:sf,save:of,cancel:lf,uploadImg:cf,signature:ff,uploadFile:df,linkContent:Ef},_f="Please enter a number",mf="Please enter a string",hf="Please enter an object",vf="Please enter an array",gf="Please enter a boolean",bf="{caption} Required",Cf="Please enter the title",Ff="Please enter the bubble prompt",Af="Please enter the row title",Nf="Please enter the prompt text",Df="Please bind data items",Sf="Please bind the form",If="Please bind the list",Bf="Please bind the process",Of="Please enter the displayed value",Tf="Please enter the stored value",Lf="The document number is not bound to the data item",yf="Please select at least one display field",Rf="Please enter a value greater than or equal to {min} and less than or equal to {max}",wf="Please enter a value greater than or equal to {min}",Mf="Please enter a value less than or equal to {max}",$f="The value range is set incorrectly",Pf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",kf="The attachment size must be between 0MB and 1000MB",Vf="Please fill in the total score setting",xf="The total score cannot be less than 1",Uf="The default value must be between {min} and {max}",Wf="The number of attachment uploads exceeds the limit",Hf="Please re-select the optional quantity",Gf="The maximum length of the control must be greater than the minimum length",jf="The minimum length of the control must be less than the maximum length",Kf="Please select the correct option setting",Xf="Option ID cannot be repeated",qf="Please enter at least one option",Jf="Please bind the data source",zf="Please bind the stored value",Qf="Please bind the service",Zf="At least one display value must be bound",Yf="Please select a province",ed="Please select a city",td="Please select a district",nd="The minimum number of lines to fill in cannot be less than 0",rd="The number of rows cannot be less than {min} rows",ud="Please enter the column width",ad="Please set the logical relationship of all rule conditions",sd="Please complete all rules and conditions",od="please select control",id="Please select the dashboard",ld="View name cannot be empty",cd="Please select recognition type",fd="Please select at least one field to fill in",dd="Please select at least one",Ed="Please enter the button title",pd="Please bind the business model in the data settings",_d="Please bind storage values in data settings",md="Please bind the service in the data settings",hd="Please bind at least one display value in the data settings",vd="Please select the root node in the data settings",gd="Please enter the maximum height",bd="The input content cannot be empty",Cd="Watermark cannot be empty",Fd="File name cannot be empty",Ad="Please upload at least one printing template!\uFF01",Nd="Please select a specific business department",Dd="Please select a specified external organization",Sd="Please enter a sub table alias",Id="Please select the associated table to set the business model",Bd="Please select the association table to set the binding service",Od="Select associated sub table fields",Td="Please select the associated main table field",Ld="Please select the sort field",yd="\u6279\u91CF\u5220\u9664",Rd="\u6279\u91CF\u6253\u5370",wd="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Md="\u6309\u94AE",$d="\u521B\u5EFA\u5355\u636E",Pd="\u4EEA\u8868\u76D8",kd="\u5206\u5272\u7EBF",Vd="\u5BFC\u51FA",xd="\u8868\u5355\u64CD\u4F5C",Ud="\u5BFC\u5165",Wd="\u53D1\u7968\u8BC6\u522B",Hd="\u94FE\u63A5",Gd="\u5217\u8868\u9009\u62E9",jd="\u5217\u8868\u89C6\u56FE",Kd="\u64CD\u4F5C\u6309\u94AE",Xd="\u5206\u9875",qd="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Jd="\u8BF4\u660E\u6587\u5B57",zd="\u6587\u5B57\u8BC6\u522B",Qd="\u6807\u9898\u7EC4\u4EF6",Zd="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Yd="\u6570\u7EC4",eE="\u81EA\u52A8\u7F16\u53F7",tE="\u81EA\u5B9A\u4E49",nE="\u6570\u503C",rE="\u90E8\u95E8",uE="\u4EBA\u5458",aE="\u9644\u4EF6",sE="\u56FE\u7247",oE="\u5730\u5740",iE="\u64CD\u4F5C",lE="\u5E8F\u53F7",cE="\u4EBA\u5458",fE="\u957F\u6587\u672C",dE="\u65E5\u671F\u533A\u95F4",EE="\u65E5\u671F",pE="\u77ED\u6587\u672C",_E="\u6362\u884C\u5BB9\u5668Wrap",mE="\u8868\u683C",hE="\u660E\u7EC6\u5B50\u8868",vE="\u5730\u5740",gE="\u91D1\u989D",bE="\u8BA1\u7B97\u516C\u5F0F",CE="\u591A\u9009",FE="\u7535\u5B50\u7B7E\u7AE0",AE="\u5355\u884C\u6587\u672C",NE="\u6570\u5B57",DE="\u4E1A\u52A1\u7EC4\u7EC7",SE="\u5355\u9009",IE="\u5BCC\u6587\u672C",BE="\u8BC4\u5206",OE="\u6570\u5B57\u533A\u95F4",TE="\u4E0B\u62C9\u5355\u9009",LE="\u4E0B\u62C9\u591A\u9009",yE="\u5173\u8054\u5355\u9009",RE="\u591A\u884C\u6587\u672C",wE="\u6811",ME="Vue\u5BB9\u5668",$E="Vue\u9875\u9762",PE="\u5728\u7EBF\u6587\u6863",kE="\u6309\u94AE\u64CD\u4F5C\u680F",VE="\u9AD8\u7EA7\u5BB9\u5668",xE="\u5206\u7EC4",UE="\u6805\u683C\u5217",WE="\u6570\u636E\u5BB9\u5668",HE="\u753B\u5E03",GE="\u6362\u884C\u5BB9\u5668",jE="\u6805\u683C\u7B49\u5206\u884C",KE="\u5217\u8868\u5BB9\u5668",XE="\u81EA\u7531\u9875\u9762",qE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",JE="\u5B9A\u4F4D\u5BB9\u5668",zE="\u6805\u683C\u5E03\u5C40",QE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ZE="\u660E\u7EC6\u5B50\u8868\u884C",YE="\u6807\u7B7E\u9875",ep="\u6807\u7B7E\u5355\u5143",tp="\u5DE5\u5177\u680F",np="\u6279\u91CF\u63D0\u4EA4",rp="\u5BFC\u51FA\u8BB0\u5F55",up="\u5217\u8868\u89C6\u56FE",ap={isNotNumber:_f,isNotString:mf,isNotObject:hf,isNotArray:vf,isNotBoolean:gf,runtimeRequired:bf,pleaseEnterCaption:Cf,pleaseEnterCaptionTip:Ff,pleaseEnterRowCaption:Af,pleaseEnterPlaceholder:Nf,pleaseEnterFieldCode:Df,pleaseEnterForm:Sf,pleaseEnterList:If,pleaseEnterProcess:Bf,pleaseEnterLabel:Of,pleaseEnterValue:Tf,bizKeyNotBindFiled:Lf,pleaseSelectOneField:yf,pleaseEnterNumberRange:Rf,pleaseEnterAValueGreaterThanMin:wf,pleaseEnterAValueLessThanMax:Mf,numberRangeSetError:$f,stringRangeError:Pf,attachmentMaxSize:kf,pleaseEnterTotalScoreSetting:Vf,theTotalScoreMustNotBeLessThan1:xf,scoreDefaultValueRange:Uf,attachmentLimitError:Wf,PleaseReselectTheOptionalQuantity:Hf,TheMaximumLengthIsGreaterThanTheMinimumLength:Gf,TheMinimumLengthIsGreaterThanTheMaximumLength:jf,PleaseSelectTheCorrectOptionSettings:Kf,optionIdIsRepeat:Xf,optionIsRequired:qf,pleaseEnterDataCode:Jf,pleaseEnterValueFieldCode:zf,pleaseEnterSvcCode:Qf,pleaseBindAtLeastOneDisplayValue:Zf,pleaseSelectProvince:Yf,pleaseSelectCity:ed,pleaseSelectDistrict:td,limitRowsCannotBeLessThan0:nd,TheNumberOfRowsCannotBeLessThanMinRows:rd,pleaseEnterColumnWidth:ud,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ad,pleaseCompleteAllRulesAndConditions:sd,pleaseSelectControl:od,pleaseSelectDashboard:id,theViewNameCannotBeEmpty:ld,pleaseSelectOcrType:cd,pleaseSelectAtLeastOneFieldToFillIn:fd,pleaseChooseAtLeastOne:dd,pleaseEnterButtonContent:Ed,pleaseEnterDataCodeInDataSetting:pd,pleaseEnterValueFieldCodeInDataSetting:_d,pleaseEnterSvcCodeInDataSetting:md,pleaseBindAtLeastOneDisplayValueInDataSetting:hd,rootNodeIsRequiredInDataSetting:vd,pleaseEnterMaxHeight:gd,pleaseEnter:bd,pleaseEnterWatermark:Cd,pleaseEnterFileName:Fd,pleaseUploadAtLeastOnePrintTemplate:Ad,pleaseAssignBusiness:Nd,pleaseAssignExternal:Dd,pleaseEnterAliasCode:Sd,pleaseSelectDataCode:Id,pleaseSelectSvcCode:Bd,pleaseSelectJoinFieldCode:Od,pleaseSelectMainFieldCode:Td,pleaseSelectSortFieldCode:Ld,batchDeleteButton:yd,batchPrintListButton:Rd,batchPrintRecordList:wd,button:Md,createFormListButton:$d,dashboard:Pd,divider:kd,exportListButton:Vd,formSelectButton:xd,importRecordListButton:Ud,invoiceCheckButton:Wd,link:Hd,listSelectButton:Gd,ListViewSelect:jd,operationButton:Kd,pagination:Xd,submissionRecordListButton:qd,text:Jd,textOcrButton:zd,title:Qd,approvalStatusColumn:Zd,array:Yd,autoNumber:eE,custom:tE,decimal:nE,department:rE,employee:uE,file:aE,image:sE,location:oE,operation:iE,order:lE,people:cE,long:fE,timescope:dE,timestamp:EE,varchar:pE,gridLayoutWrap:_E,gridTable:mE,subTable:hE,address:vE,amount:gE,calc:bE,checkBox:CE,electronicSignature:FE,input:AE,number:NE,organizationSelection:DE,radio:SE,richText:IE,score:BE,searchNumberRange:OE,select:TE,selectMultiple:LE,selectRelation:yE,textarea:RE,tree:wE,vueFormItem:ME,vuePage:$E,WPS:PE,actionBar:kE,advancedContainer:VE,cardGroup:xE,col:UE,dataView:WE,grid:HE,gridLayoutContainer:GE,gridRow:jE,listView:KE,page:XE,position:qE,positioningContainer:JE,row:zE,subtableColumn:QE,subtableRow:ZE,tab:YE,tabPane:ep,toolbox:tp,batchSubmissionListButton:np,exportRecordListButton:rp,listViewSelect:up},sp="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",op="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ip="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lp="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cp="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fp="{caption}\u5FC5\u9808",dp="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ep="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pp="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_p="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mp="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hp="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vp="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gp="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bp="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cp="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fp="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ap="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Np="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dp="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sp="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ip="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Bp="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Op="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Tp="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Lp="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",yp="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Rp="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",wp="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Mp="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$p="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pp="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kp="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Vp="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",xp="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Up="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wp="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hp="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Gp="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jp="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Kp="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xp="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qp="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Jp="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zp="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Qp="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Zp="please select control",Yp="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",e_="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",t_="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",n_="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",r_="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",u_="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",a_="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",s_="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",o_="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",i_="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",l_="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",c_="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",f_="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",d_="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",E_="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",p_="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",__="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",m_="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",h_="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",v_="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",g_="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",b_="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",C_="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",F_="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",A_="\u6279\u91CF\u5220\u9664",N_="\u6279\u91CF\u6253\u5370",D_="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",S_="\u6309\u94AE",I_="\u521B\u5EFA\u5355\u636E",B_="\u4EEA\u8868\u76D8",O_="\u5206\u5272\u7EBF",T_="\u5BFC\u51FA",L_="\u8868\u5355\u64CD\u4F5C",y_="\u5BFC\u5165",R_="\u53D1\u7968\u8BC6\u522B",w_="\u94FE\u63A5",M_="\u5217\u8868\u9009\u62E9",$_="\u5217\u8868\u89C6\u56FE",P_="\u64CD\u4F5C\u6309\u94AE",k_="\u5206\u9875",V_="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",x_="\u8BF4\u660E\u6587\u5B57",U_="\u6587\u5B57\u8BC6\u522B",W_="\u6807\u9898\u7EC4\u4EF6",H_="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",G_="\u6570\u7EC4",j_="\u81EA\u52A8\u7F16\u53F7",K_="\u81EA\u5B9A\u4E49",X_="\u6570\u503C",q_="\u90E8\u95E8",J_="\u4EBA\u5458",z_="\u9644\u4EF6",Q_="\u56FE\u7247",Z_="\u5730\u5740",Y_="\u64CD\u4F5C",em="\u5E8F\u53F7",tm="\u4EBA\u5458",nm="\u957F\u6587\u672C",rm="\u65E5\u671F\u533A\u95F4",um="\u65E5\u671F",am="\u77ED\u6587\u672C",sm="\u6362\u884C\u5BB9\u5668Wrap",om="\u8868\u683C",im="\u660E\u7EC6\u5B50\u8868",lm="\u5730\u5740",cm="\u91D1\u989D",fm="\u8BA1\u7B97\u516C\u5F0F",dm="\u591A\u9009",Em="\u7535\u5B50\u7B7E\u7AE0",pm="\u5355\u884C\u6587\u672C",_m="\u6570\u5B57",mm="\u4E1A\u52A1\u7EC4\u7EC7",hm="\u5355\u9009",vm="\u5BCC\u6587\u672C",gm="\u8BC4\u5206",bm="\u6570\u5B57\u533A\u95F4",Cm="\u4E0B\u62C9\u5355\u9009",Fm="\u4E0B\u62C9\u591A\u9009",Am="\u5173\u8054\u5355\u9009",Nm="\u591A\u884C\u6587\u672C",Dm="\u6811",Sm="Vue\u5BB9\u5668",Im="Vue\u9875\u9762",Bm="\u5728\u7EBF\u6587\u6863",Om="\u6309\u94AE\u64CD\u4F5C\u680F",Tm="\u9AD8\u7EA7\u5BB9\u5668",Lm="\u5206\u7EC4",ym="\u6805\u683C\u5217",Rm="\u6570\u636E\u5BB9\u5668",wm="\u753B\u5E03",Mm="\u6362\u884C\u5BB9\u5668",$m="\u6805\u683C\u7B49\u5206\u884C",Pm="\u5217\u8868\u5BB9\u5668",km="\u81EA\u7531\u9875\u9762",Vm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",xm="\u5B9A\u4F4D\u5BB9\u5668",Um="\u6805\u683C\u5E03\u5C40",Wm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Hm="\u660E\u7EC6\u5B50\u8868\u884C",Gm="\u6807\u7B7E\u9875",jm="\u6807\u7B7E\u5355\u5143",Km="\u5DE5\u5177\u680F",Xm="\u6279\u91CF\u63D0\u4EA4",qm="\u5BFC\u51FA\u8BB0\u5F55",Jm="\u5217\u8868\u89C6\u56FE",zm={isNotNumber:sp,isNotString:op,isNotObject:ip,isNotArray:lp,isNotBoolean:cp,runtimeRequired:fp,pleaseEnterCaption:dp,pleaseEnterCaptionTip:Ep,pleaseEnterRowCaption:pp,pleaseEnterPlaceholder:_p,pleaseEnterFieldCode:mp,pleaseEnterForm:hp,pleaseEnterList:vp,pleaseEnterProcess:gp,pleaseEnterLabel:bp,pleaseEnterValue:Cp,bizKeyNotBindFiled:Fp,pleaseSelectOneField:Ap,pleaseEnterNumberRange:Np,pleaseEnterAValueGreaterThanMin:Dp,pleaseEnterAValueLessThanMax:Sp,numberRangeSetError:Ip,stringRangeError:Bp,attachmentMaxSize:Op,pleaseEnterTotalScoreSetting:Tp,theTotalScoreMustNotBeLessThan1:Lp,scoreDefaultValueRange:yp,attachmentLimitError:Rp,PleaseReselectTheOptionalQuantity:wp,TheMaximumLengthIsGreaterThanTheMinimumLength:Mp,TheMinimumLengthIsGreaterThanTheMaximumLength:$p,PleaseSelectTheCorrectOptionSettings:Pp,optionIdIsRepeat:kp,optionIsRequired:Vp,pleaseEnterDataCode:xp,pleaseEnterValueFieldCode:Up,pleaseEnterSvcCode:Wp,pleaseBindAtLeastOneDisplayValue:Hp,pleaseSelectProvince:Gp,pleaseSelectCity:jp,pleaseSelectDistrict:Kp,limitRowsCannotBeLessThan0:Xp,TheNumberOfRowsCannotBeLessThanMinRows:qp,pleaseEnterColumnWidth:Jp,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zp,pleaseCompleteAllRulesAndConditions:Qp,pleaseSelectControl:Zp,pleaseSelectDashboard:Yp,theViewNameCannotBeEmpty:e_,pleaseSelectOcrType:t_,pleaseSelectAtLeastOneFieldToFillIn:n_,pleaseChooseAtLeastOne:r_,pleaseEnterButtonContent:u_,pleaseEnterDataCodeInDataSetting:a_,pleaseEnterValueFieldCodeInDataSetting:s_,pleaseEnterSvcCodeInDataSetting:o_,pleaseBindAtLeastOneDisplayValueInDataSetting:i_,rootNodeIsRequiredInDataSetting:l_,pleaseEnterMaxHeight:c_,pleaseEnter:f_,pleaseEnterWatermark:d_,pleaseEnterFileName:E_,pleaseUploadAtLeastOnePrintTemplate:p_,pleaseAssignBusiness:__,pleaseAssignExternal:m_,pleaseEnterAliasCode:h_,pleaseSelectDataCode:v_,pleaseSelectSvcCode:g_,pleaseSelectJoinFieldCode:b_,pleaseSelectMainFieldCode:C_,pleaseSelectSortFieldCode:F_,batchDeleteButton:A_,batchPrintListButton:N_,batchPrintRecordList:D_,button:S_,createFormListButton:I_,dashboard:B_,divider:O_,exportListButton:T_,formSelectButton:L_,importRecordListButton:y_,invoiceCheckButton:R_,link:w_,listSelectButton:M_,ListViewSelect:$_,operationButton:P_,pagination:k_,submissionRecordListButton:V_,text:x_,textOcrButton:U_,title:W_,approvalStatusColumn:H_,array:G_,autoNumber:j_,custom:K_,decimal:X_,department:q_,employee:J_,file:z_,image:Q_,location:Z_,operation:Y_,order:em,people:tm,long:nm,timescope:rm,timestamp:um,varchar:am,gridLayoutWrap:sm,gridTable:om,subTable:im,address:lm,amount:cm,calc:fm,checkBox:dm,electronicSignature:Em,input:pm,number:_m,organizationSelection:mm,radio:hm,richText:vm,score:gm,searchNumberRange:bm,select:Cm,selectMultiple:Fm,selectRelation:Am,textarea:Nm,tree:Dm,vueFormItem:Sm,vuePage:Im,WPS:Bm,actionBar:Om,advancedContainer:Tm,cardGroup:Lm,col:ym,dataView:Rm,grid:wm,gridLayoutContainer:Mm,gridRow:$m,listView:Pm,page:km,position:Vm,positioningContainer:xm,row:Um,subtableColumn:Wm,subtableRow:Hm,tab:Gm,tabPane:jm,toolbox:Km,batchSubmissionListButton:Xm,exportRecordListButton:qm,listViewSelect:Jm},Fn={zhCN:pf,enUS:ap,jaJP:zm},vu;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(vu||(vu={}));var gu;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(gu||(gu={}));var or,bu=(or=window.localStorage.getItem("locale"))!==null&&or!==void 0?or:"zh-CN",Qm=function(){},Cu;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Cu||(Cu={}));var Fu;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(Fu||(Fu={}));var Au;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(Au||(Au={}));var Nu;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(Nu||(Nu={}));var Du;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(Du||(Du={}));var Su;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Su||(Su={}));function Zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ym(e,t,n){return t=Vt(t),r0(e,lr()?Reflect.construct(t,n||[],Vt(e).constructor):t.apply(e,n))}function e0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function An(e,t,n){return lr()?An=Reflect.construct:An=function(a,u,s){var o=[null];o.push.apply(o,u);var i=Function.bind.apply(a,o),E=new i;return s&&xt(E,s.prototype),E},An.apply(null,arguments)}function Vt(e){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vt(e)}function t0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}function n0(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function r0(e,t){return t&&(u0(t)==="object"||typeof t=="function")?t:Zm(e)}function xt(e,t){return xt=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},xt(e,t)}function u0(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ir(e){var t=typeof Map=="function"?new Map:void 0;return ir=function(r){if(r===null||!n0(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return An(r,arguments,Vt(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),xt(a,r)},ir(e)}function lr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lr=function(){return!!e})()}function a0(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var s0=function(e){t0(t,e);function t(n){e0(this,t);var r;return r=Ym(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?a0(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(ir(Error));function o0(e){throw new s0(e)}/*!
|
|
2
|
+
* shared v9.14.0
|
|
3
|
+
* (c) 2024 kazuya kawaguchi
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/const Te=typeof window!="undefined";let Fe,rt;if(process.env.NODE_ENV!=="production"){const e=Te&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Fe=t=>{e.mark(t)},rt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const i0=/\{([0-9a-zA-Z]+)\}/g;function Ut(e,...t){return t.length===1&&U(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(i0,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Le=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l0=(e,t,n)=>c0({l:e,k:t,s:n}),c0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),se=e=>typeof e=="number"&&isFinite(e),f0=e=>Tu(e)==="[object Date]",Xe=e=>Tu(e)==="[object RegExp]",Nn=e=>M(e)&&Object.keys(e).length===0,oe=Object.assign;let Iu;const Ue=()=>Iu||(Iu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Bu(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const d0=Object.prototype.hasOwnProperty;function Dn(e,t){return d0.call(e,t)}const q=Array.isArray,K=e=>typeof e=="function",O=e=>typeof e=="string",$=e=>typeof e=="boolean",U=e=>e!==null&&typeof e=="object",E0=e=>U(e)&&K(e.then)&&K(e.catch),Ou=Object.prototype.toString,Tu=e=>Ou.call(e),M=e=>{if(!U(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},p0=e=>e==null?"":q(e)||M(e)&&e.toString===Ou?JSON.stringify(e,null,2):String(e);function cr(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const Lu=2;function _0(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const u=[];for(let s=0;s<r.length;s++)if(a+=r[s].length+1,a>=t){for(let o=s-Lu;o<=s+Lu||n>a;o++){if(o<0||o>=r.length)continue;const i=o+1;u.push(`${i}${" ".repeat(3-String(i).length)}| ${r[o]}`);const E=r[o].length;if(o===s){const m=t-(a-E)+1,c=Math.max(1,n>a?E-m:n-t);u.push(" | "+" ".repeat(m)+"^".repeat(c))}else if(o>s){if(n>a){const m=Math.max(Math.min(n-a,E),1);u.push(" | "+"^".repeat(m))}a+=E+1}}break}return u.join(`
|
|
6
|
+
`)}function Sn(e){let t=e;return()=>++t}function ie(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const yu={};function Ru(e){yu[e]||(yu[e]=!0,ie(e))}function fr(){const e=new Map;return{events:e,on(n,r){const a=e.get(n);a&&a.push(r)||e.set(n,[r])},off(n,r){const a=e.get(n);a&&a.splice(a.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(a=>a(r)),(e.get("*")||[]).slice().map(a=>a(n,r))}}}const In=e=>!U(e)||q(e);function Bn(e,t){if(In(e)||In(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:a}=n.pop();Object.keys(r).forEach(u=>{In(r[u])||In(a[u])?a[u]=r[u]:n.push({src:r[u],des:a[u]})})}}/*!
|
|
7
|
+
* message-compiler v9.14.0
|
|
8
|
+
* (c) 2024 kazuya kawaguchi
|
|
9
|
+
* Released under the MIT License.
|
|
10
|
+
*/function m0(e,t,n){return{line:e,column:t,offset:n}}function On(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Tn={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},h0={[Tn.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function v0(e,t,...n){const r=process.env.NODE_ENV!=="production"?Ut(h0[e]||"",...n||[]):e,a={message:String(r),code:e};return t&&(a.location=t),a}const w={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},g0={[w.EXPECTED_TOKEN]:"Expected token: '{0}'",[w.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[w.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[w.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[w.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[w.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[w.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[w.EMPTY_PLACEHOLDER]:"Empty placeholder",[w.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[w.INVALID_LINKED_FORMAT]:"Invalid linked format",[w.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[w.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[w.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[w.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[w.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[w.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function _t(e,t,n={}){const{domain:r,messages:a,args:u}=n,s=process.env.NODE_ENV!=="production"?Ut((a||g0)[e]||"",...u||[]):e,o=new SyntaxError(String(s));return o.code=e,t&&(o.location=t),o.domain=r,o}function b0(e){throw e}const C0=/<\/?[\w\s="/.':;#-\/]+>/,F0=e=>C0.test(e),We=" ",A0="\r",pe=`
|
|
11
|
+
`,N0=String.fromCharCode(8232),D0=String.fromCharCode(8233);function S0(e){const t=e;let n=0,r=1,a=1,u=0;const s=N=>t[N]===A0&&t[N+1]===pe,o=N=>t[N]===pe,i=N=>t[N]===D0,E=N=>t[N]===N0,m=N=>s(N)||o(N)||i(N)||E(N),c=()=>n,d=()=>r,A=()=>a,S=()=>u,L=N=>s(N)||i(N)||E(N)?pe:t[N],y=()=>L(n),b=()=>L(n+u);function F(){return u=0,m(n)&&(r++,a=0),s(n)&&n++,n++,a++,t[n]}function p(){return s(n+u)&&u++,u++,t[n+u]}function _(){n=0,r=1,a=1,u=0}function h(N=0){u=N}function g(){const N=n+u;for(;N!==n;)F();u=0}return{index:c,line:d,column:A,peekOffset:S,charAt:L,currentChar:y,currentPeek:b,next:F,peek:p,reset:_,resetPeek:h,skipToPeek:g}}const qe=void 0,I0=".",wu="'",B0="tokenizer";function O0(e,t={}){const n=t.location!==!1,r=S0(e),a=()=>r.index(),u=()=>m0(r.line(),r.column(),r.index()),s=u(),o=a(),i={currentType:14,offset:o,startLoc:s,endLoc:s,lastType:14,lastOffset:o,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},E=()=>i,{onError:m}=t;function c(l,f,C,...R){const te=E();if(f.column+=C,f.offset+=C,m){const X=n?On(te.startLoc,f):null,j=_t(l,X,{domain:B0,args:R});m(j)}}function d(l,f,C){l.endLoc=u(),l.currentType=f;const R={type:f};return n&&(R.loc=On(l.startLoc,l.endLoc)),C!=null&&(R.value=C),R}const A=l=>d(l,14);function S(l,f){return l.currentChar()===f?(l.next(),f):(c(w.EXPECTED_TOKEN,u(),0,f),"")}function L(l){let f="";for(;l.currentPeek()===We||l.currentPeek()===pe;)f+=l.currentPeek(),l.peek();return f}function y(l){const f=L(l);return l.skipToPeek(),f}function b(l){if(l===qe)return!1;const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function F(l){if(l===qe)return!1;const f=l.charCodeAt(0);return f>=48&&f<=57}function p(l,f){const{currentType:C}=f;if(C!==2)return!1;L(l);const R=b(l.currentPeek());return l.resetPeek(),R}function _(l,f){const{currentType:C}=f;if(C!==2)return!1;L(l);const R=l.currentPeek()==="-"?l.peek():l.currentPeek(),te=F(R);return l.resetPeek(),te}function h(l,f){const{currentType:C}=f;if(C!==2)return!1;L(l);const R=l.currentPeek()===wu;return l.resetPeek(),R}function g(l,f){const{currentType:C}=f;if(C!==8)return!1;L(l);const R=l.currentPeek()===".";return l.resetPeek(),R}function N(l,f){const{currentType:C}=f;if(C!==9)return!1;L(l);const R=b(l.currentPeek());return l.resetPeek(),R}function T(l,f){const{currentType:C}=f;if(!(C===8||C===12))return!1;L(l);const R=l.currentPeek()===":";return l.resetPeek(),R}function I(l,f){const{currentType:C}=f;if(C!==10)return!1;const R=()=>{const X=l.currentPeek();return X==="{"?b(l.peek()):X==="@"||X==="%"||X==="|"||X===":"||X==="."||X===We||!X?!1:X===pe?(l.peek(),R()):x(l,!1)},te=R();return l.resetPeek(),te}function J(l){L(l);const f=l.currentPeek()==="|";return l.resetPeek(),f}function De(l){const f=L(l),C=l.currentPeek()==="%"&&l.peek()==="{";return l.resetPeek(),{isModulo:C,hasSpace:f.length>0}}function x(l,f=!0){const C=(te=!1,X="",j=!1)=>{const v=l.currentPeek();return v==="{"?X==="%"?!1:te:v==="@"||!v?X==="%"?!0:te:v==="%"?(l.peek(),C(te,"%",!0)):v==="|"?X==="%"||j?!0:!(X===We||X===pe):v===We?(l.peek(),C(!0,We,j)):v===pe?(l.peek(),C(!0,pe,j)):!0},R=C();return f&&l.resetPeek(),R}function Ee(l,f){const C=l.currentChar();return C===qe?qe:f(C)?(l.next(),C):null}function rn(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function un(l){return Ee(l,rn)}function Ve(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function an(l){return Ee(l,Ve)}function sn(l){const f=l.charCodeAt(0);return f>=48&&f<=57}function on(l){return Ee(l,sn)}function ln(l){const f=l.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function cn(l){return Ee(l,ln)}function Oe(l){let f="",C="";for(;f=on(l);)C+=f;return C}function Lt(l){y(l);const f=l.currentChar();return f!=="%"&&c(w.EXPECTED_TOKEN,u(),0,f),l.next(),"%"}function yt(l){let f="";for(;;){const C=l.currentChar();if(C==="{"||C==="}"||C==="@"||C==="|"||!C)break;if(C==="%")if(x(l))f+=C,l.next();else break;else if(C===We||C===pe)if(x(l))f+=C,l.next();else{if(J(l))break;f+=C,l.next()}else f+=C,l.next()}return f}function fn(l){y(l);let f="",C="";for(;f=an(l);)C+=f;return l.currentChar()===qe&&c(w.UNTERMINATED_CLOSING_BRACE,u(),0),C}function dn(l){y(l);let f="";return l.currentChar()==="-"?(l.next(),f+=`-${Oe(l)}`):f+=Oe(l),l.currentChar()===qe&&c(w.UNTERMINATED_CLOSING_BRACE,u(),0),f}function En(l){return l!==wu&&l!==pe}function nr(l){y(l),S(l,"'");let f="",C="";for(;f=Ee(l,En);)f==="\\"?C+=pn(l):C+=f;const R=l.currentChar();return R===pe||R===qe?(c(w.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,u(),0),R===pe&&(l.next(),S(l,"'")),C):(S(l,"'"),C)}function pn(l){const f=l.currentChar();switch(f){case"\\":case"'":return l.next(),`\\${f}`;case"u":return Rt(l,f,4);case"U":return Rt(l,f,6);default:return c(w.UNKNOWN_ESCAPE_SEQUENCE,u(),0,f),""}}function Rt(l,f,C){S(l,f);let R="";for(let te=0;te<C;te++){const X=cn(l);if(!X){c(w.INVALID_UNICODE_ESCAPE_SEQUENCE,u(),0,`\\${f}${R}${l.currentChar()}`);break}R+=X}return`\\${f}${R}`}function _n(l){return l!=="{"&&l!=="}"&&l!==We&&l!==pe}function mn(l){y(l);let f="",C="";for(;f=Ee(l,_n);)C+=f;return C}function hn(l){let f="",C="";for(;f=un(l);)C+=f;return C}function B(l){const f=C=>{const R=l.currentChar();return R==="{"||R==="%"||R==="@"||R==="|"||R==="("||R===")"||!R||R===We?C:(C+=R,l.next(),f(C))};return f("")}function H(l){y(l);const f=S(l,"|");return y(l),f}function vn(l,f){let C=null;switch(l.currentChar()){case"{":return f.braceNest>=1&&c(w.NOT_ALLOW_NEST_PLACEHOLDER,u(),0),l.next(),C=d(f,2,"{"),y(l),f.braceNest++,C;case"}":return f.braceNest>0&&f.currentType===2&&c(w.EMPTY_PLACEHOLDER,u(),0),l.next(),C=d(f,3,"}"),f.braceNest--,f.braceNest>0&&y(l),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),C;case"@":return f.braceNest>0&&c(w.UNTERMINATED_CLOSING_BRACE,u(),0),C=Et(l,f)||A(f),f.braceNest=0,C;default:{let te=!0,X=!0,j=!0;if(J(l))return f.braceNest>0&&c(w.UNTERMINATED_CLOSING_BRACE,u(),0),C=d(f,1,H(l)),f.braceNest=0,f.inLinked=!1,C;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return c(w.UNTERMINATED_CLOSING_BRACE,u(),0),f.braceNest=0,gn(l,f);if(te=p(l,f))return C=d(f,5,fn(l)),y(l),C;if(X=_(l,f))return C=d(f,6,dn(l)),y(l),C;if(j=h(l,f))return C=d(f,7,nr(l)),y(l),C;if(!te&&!X&&!j)return C=d(f,13,mn(l)),c(w.INVALID_TOKEN_IN_PLACEHOLDER,u(),0,C.value),y(l),C;break}}return C}function Et(l,f){const{currentType:C}=f;let R=null;const te=l.currentChar();switch((C===8||C===9||C===12||C===10)&&(te===pe||te===We)&&c(w.INVALID_LINKED_FORMAT,u(),0),te){case"@":return l.next(),R=d(f,8,"@"),f.inLinked=!0,R;case".":return y(l),l.next(),d(f,9,".");case":":return y(l),l.next(),d(f,10,":");default:return J(l)?(R=d(f,1,H(l)),f.braceNest=0,f.inLinked=!1,R):g(l,f)||T(l,f)?(y(l),Et(l,f)):N(l,f)?(y(l),d(f,12,hn(l))):I(l,f)?(y(l),te==="{"?vn(l,f)||R:d(f,11,B(l))):(C===8&&c(w.INVALID_LINKED_FORMAT,u(),0),f.braceNest=0,f.inLinked=!1,gn(l,f))}}function gn(l,f){let C={type:14};if(f.braceNest>0)return vn(l,f)||A(f);if(f.inLinked)return Et(l,f)||A(f);switch(l.currentChar()){case"{":return vn(l,f)||A(f);case"}":return c(w.UNBALANCED_CLOSING_BRACE,u(),0),l.next(),d(f,3,"}");case"@":return Et(l,f)||A(f);default:{if(J(l))return C=d(f,1,H(l)),f.braceNest=0,f.inLinked=!1,C;const{isModulo:te,hasSpace:X}=De(l);if(te)return X?d(f,0,yt(l)):d(f,4,Lt(l));if(x(l))return d(f,0,yt(l));break}}return C}function hu(){const{currentType:l,offset:f,startLoc:C,endLoc:R}=i;return i.lastType=l,i.lastOffset=f,i.lastStartLoc=C,i.lastEndLoc=R,i.offset=a(),i.startLoc=u(),r.currentChar()===qe?d(i,14):gn(r,i)}return{nextToken:hu,currentOffset:a,currentPosition:u,context:E}}const T0="parser",L0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function y0(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function R0(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function a(p,_,h,g,...N){const T=p.currentPosition();if(T.offset+=g,T.column+=g,n){const I=t?On(h,T):null,J=_t(_,I,{domain:T0,args:N});n(J)}}function u(p,_,h,g,...N){const T=p.currentPosition();if(T.offset+=g,T.column+=g,r){const I=t?On(h,T):null;r(v0(_,I,N))}}function s(p,_,h){const g={type:p};return t&&(g.start=_,g.end=_,g.loc={start:h,end:h}),g}function o(p,_,h,g){g&&(p.type=g),t&&(p.end=_,p.loc&&(p.loc.end=h))}function i(p,_){const h=p.context(),g=s(3,h.offset,h.startLoc);return g.value=_,o(g,p.currentOffset(),p.currentPosition()),g}function E(p,_){const h=p.context(),{lastOffset:g,lastStartLoc:N}=h,T=s(5,g,N);return T.index=parseInt(_,10),p.nextToken(),o(T,p.currentOffset(),p.currentPosition()),T}function m(p,_,h){const g=p.context(),{lastOffset:N,lastStartLoc:T}=g,I=s(4,N,T);return I.key=_,h===!0&&(I.modulo=!0),p.nextToken(),o(I,p.currentOffset(),p.currentPosition()),I}function c(p,_){const h=p.context(),{lastOffset:g,lastStartLoc:N}=h,T=s(9,g,N);return T.value=_.replace(L0,y0),p.nextToken(),o(T,p.currentOffset(),p.currentPosition()),T}function d(p){const _=p.nextToken(),h=p.context(),{lastOffset:g,lastStartLoc:N}=h,T=s(8,g,N);return _.type!==12?(a(p,w.UNEXPECTED_EMPTY_LINKED_MODIFIER,h.lastStartLoc,0),T.value="",o(T,g,N),{nextConsumeToken:_,node:T}):(_.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ye(_)),T.value=_.value||"",o(T,p.currentOffset(),p.currentPosition()),{node:T})}function A(p,_){const h=p.context(),g=s(7,h.offset,h.startLoc);return g.value=_,o(g,p.currentOffset(),p.currentPosition()),g}function S(p){const _=p.context(),h=s(6,_.offset,_.startLoc);let g=p.nextToken();if(g.type===9){const N=d(p);h.modifier=N.node,g=N.nextConsumeToken||p.nextToken()}switch(g.type!==10&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(g)),g=p.nextToken(),g.type===2&&(g=p.nextToken()),g.type){case 11:g.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(g)),h.key=A(p,g.value||"");break;case 5:g.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(g)),h.key=m(p,g.value||"");break;case 6:g.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(g)),h.key=E(p,g.value||"");break;case 7:g.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(g)),h.key=c(p,g.value||"");break;default:{a(p,w.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const N=p.context(),T=s(7,N.offset,N.startLoc);return T.value="",o(T,N.offset,N.startLoc),h.key=T,o(h,N.offset,N.startLoc),{nextConsumeToken:g,node:h}}}return o(h,p.currentOffset(),p.currentPosition()),{node:h}}function L(p){const _=p.context(),h=_.currentType===1?p.currentOffset():_.offset,g=_.currentType===1?_.endLoc:_.startLoc,N=s(2,h,g);N.items=[];let T=null,I=null;do{const x=T||p.nextToken();switch(T=null,x.type){case 0:x.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(x)),N.items.push(i(p,x.value||""));break;case 6:x.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(x)),N.items.push(E(p,x.value||""));break;case 4:I=!0;break;case 5:x.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(x)),N.items.push(m(p,x.value||"",!!I)),I&&(u(p,Tn.USE_MODULO_SYNTAX,_.lastStartLoc,0,ye(x)),I=null);break;case 7:x.value==null&&a(p,w.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ye(x)),N.items.push(c(p,x.value||""));break;case 8:{const Ee=S(p);N.items.push(Ee.node),T=Ee.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const J=_.currentType===1?_.lastOffset:p.currentOffset(),De=_.currentType===1?_.lastEndLoc:p.currentPosition();return o(N,J,De),N}function y(p,_,h,g){const N=p.context();let T=g.items.length===0;const I=s(1,_,h);I.cases=[],I.cases.push(g);do{const J=L(p);T||(T=J.items.length===0),I.cases.push(J)}while(N.currentType!==14);return T&&a(p,w.MUST_HAVE_MESSAGES_IN_PLURAL,h,0),o(I,p.currentOffset(),p.currentPosition()),I}function b(p){const _=p.context(),{offset:h,startLoc:g}=_,N=L(p);return _.currentType===14?N:y(p,h,g,N)}function F(p){const _=O0(p,oe({},e)),h=_.context(),g=s(0,h.offset,h.startLoc);return t&&g.loc&&(g.loc.source=p),g.body=b(_),e.onCacheKey&&(g.cacheKey=e.onCacheKey(p)),h.currentType!==14&&a(_,w.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,p[h.offset]||""),o(g,_.currentOffset(),_.currentPosition()),g}return{parse:F}}function ye(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function w0(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:u=>(n.helpers.add(u),u)}}function Mu(e,t){for(let n=0;n<e.length;n++)dr(e[n],t)}function dr(e,t){switch(e.type){case 1:Mu(e.cases,t),t.helper("plural");break;case 2:Mu(e.items,t);break;case 6:{dr(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function M0(e,t={}){const n=w0(e);n.helper("normalize"),e.body&&dr(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function $0(e){const t=e.body;return t.type===2?$u(t):t.cases.forEach(n=>$u(n)),e}function $u(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=cr(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const P0="minifier";function mt(e){switch(e.t=e.type,e.type){case 0:{const t=e;mt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)mt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)mt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;mt(t.key),t.k=t.key,delete t.key,t.modifier&&(mt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw _t(w.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:P0,args:[e.type]})}delete e.type}const k0="parser";function V0(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:u}=t,s=t.location!==!1,o={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:u,indentLevel:0};s&&e.loc&&(o.source=e.loc.source);const i=()=>o;function E(y,b){o.code+=y}function m(y,b=!0){const F=b?a:"";E(u?F+" ".repeat(y):F)}function c(y=!0){const b=++o.indentLevel;y&&m(b)}function d(y=!0){const b=--o.indentLevel;y&&m(b)}function A(){m(o.indentLevel)}return{context:i,push:E,indent:c,deindent:d,newline:A,helper:y=>`_${y}`,needIndent:()=>o.needIndent}}function x0(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ht(e,t.key),t.modifier?(e.push(", "),ht(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function U0(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let u=0;u<a&&(ht(e,t.items[u]),u!==a-1);u++)e.push(", ");e.deindent(r()),e.push("])")}function W0(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let u=0;u<a&&(ht(e,t.cases[u]),u!==a-1);u++)e.push(", ");e.deindent(r()),e.push("])")}}function H0(e,t){t.body?ht(e,t.body):e.push("null")}function ht(e,t){const{helper:n}=e;switch(t.type){case 0:H0(e,t);break;case 1:W0(e,t);break;case 2:U0(e,t);break;case 6:x0(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw _t(w.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:k0,args:[t.type]})}}const G0=(e,t={})=>{const n=O(t.mode)?t.mode:"normal",r=O(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,u=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
12
|
+
`,s=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],i=V0(e,{mode:n,filename:r,sourceMap:a,breakLineCode:u,needIndent:s});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(s),o.length>0&&(i.push(`const { ${cr(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),i.newline()),i.push("return "),ht(i,e),i.deindent(s),i.push("}"),delete e.helpers;const{code:E,map:m}=i.context();return{ast:e,code:E,map:m?m.toJSON():void 0}};function j0(e,t={}){const n=oe({},t),r=!!n.jit,a=!!n.minify,u=n.optimize==null?!0:n.optimize,o=R0(n).parse(e);return r?(u&&$0(o),a&&mt(o),{ast:o,code:""}):(M0(o,n),G0(o,n))}/*!
|
|
13
|
+
* core-base v9.14.0
|
|
14
|
+
* (c) 2024 kazuya kawaguchi
|
|
15
|
+
* Released under the MIT License.
|
|
16
|
+
*/function K0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ue().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ue().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ue().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Je=[];Je[0]={w:[0],i:[3,0],["["]:[4],o:[7]},Je[1]={w:[1],["."]:[2],["["]:[4],o:[7]},Je[2]={w:[2],i:[3,0],[0]:[3,0]},Je[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},Je[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},Je[5]={["'"]:[4,0],o:8,l:[5,0]},Je[6]={['"']:[4,0],o:8,l:[6,0]};const X0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function q0(e){return X0.test(e)}function J0(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function z0(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Q0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:q0(t)?J0(t):"*"+t}function Z0(e){const t=[];let n=-1,r=0,a=0,u,s,o,i,E,m,c;const d=[];d[0]=()=>{s===void 0?s=o:s+=o},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),a++},d[3]=()=>{if(a>0)a--,r=4,d[0]();else{if(a=0,s===void 0||(s=Q0(s),s===!1))return!1;d[1]()}};function A(){const S=e[n+1];if(r===5&&S==="'"||r===6&&S==='"')return n++,o="\\"+S,d[0](),!0}for(;r!==null;)if(n++,u=e[n],!(u==="\\"&&A())){if(i=z0(u),c=Je[r],E=c[i]||c.l||8,E===8||(r=E[0],E[1]!==void 0&&(m=d[E[1]],m&&(o=u,m()===!1))))return;if(r===7)return t}}const Pu=new Map;function Y0(e,t){return U(e)?e[t]:null}function eh(e,t){if(!U(e))return null;let n=Pu.get(t);if(n||(n=Z0(t),n&&Pu.set(t,n)),!n)return null;const r=n.length;let a=e,u=0;for(;u<r;){const s=a[n[u]];if(s===void 0||K(a))return null;a=s,u++}return a}const th=e=>e,nh=e=>"",rh="text",uh=e=>e.length===0?"":cr(e),ah=p0;function ku(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function sh(e){const t=se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(se(e.named.count)||se(e.named.n))?se(e.named.count)?e.named.count:se(e.named.n)?e.named.n:t:t}function oh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ih(e={}){const t=e.locale,n=sh(e),r=U(e.pluralRules)&&O(t)&&K(e.pluralRules[t])?e.pluralRules[t]:ku,a=U(e.pluralRules)&&O(t)&&K(e.pluralRules[t])?ku:void 0,u=b=>b[r(n,b.length,a)],s=e.list||[],o=b=>s[b],i=e.named||{};se(e.pluralIndex)&&oh(n,i);const E=b=>i[b];function m(b){const F=K(e.messages)?e.messages(b):U(e.messages)?e.messages[b]:!1;return F||(e.parent?e.parent.message(b):nh)}const c=b=>e.modifiers?e.modifiers[b]:th,d=M(e.processor)&&K(e.processor.normalize)?e.processor.normalize:uh,A=M(e.processor)&&K(e.processor.interpolate)?e.processor.interpolate:ah,S=M(e.processor)&&O(e.processor.type)?e.processor.type:rh,y={list:o,named:E,plural:u,linked:(b,...F)=>{const[p,_]=F;let h="text",g="";F.length===1?U(p)?(g=p.modifier||g,h=p.type||h):O(p)&&(g=p||g):F.length===2&&(O(p)&&(g=p||g),O(_)&&(h=_||h));const N=m(b)(y),T=h==="vnode"&&q(N)&&g?N[0]:N;return g?c(g)(T,h):T},message:m,type:S,interpolate:A,normalize:d,values:oe({},s,i)};return y}let Wt=null;function lh(e){Wt=e}function ch(e,t,n){Wt&&Wt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const fh=dh("function:translate");function dh(e){return t=>Wt&&Wt.emit(e,t)}const Vu=Tn.__EXTEND_POINT__,ut=Sn(Vu),_e={NOT_FOUND_KEY:Vu,FALLBACK_TO_TRANSLATE:ut(),CANNOT_FORMAT_NUMBER:ut(),FALLBACK_TO_NUMBER_FORMAT:ut(),CANNOT_FORMAT_DATE:ut(),FALLBACK_TO_DATE_FORMAT:ut(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ut(),__EXTEND_POINT__:ut()},Eh={[_e.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[_e.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[_e.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[_e.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[_e.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[_e.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function at(e,...t){return Ut(Eh[e],...t)}const xu=w.__EXTEND_POINT__,st=Sn(xu),ce={INVALID_ARGUMENT:xu,INVALID_DATE_ARGUMENT:st(),INVALID_ISO_DATE_ARGUMENT:st(),NOT_SUPPORT_NON_STRING_MESSAGE:st(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:st(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:st(),NOT_SUPPORT_LOCALE_TYPE:st(),__EXTEND_POINT__:st()};function Me(e){return _t(e,null,process.env.NODE_ENV!=="production"?{messages:ph}:void 0)}const ph={[ce.INVALID_ARGUMENT]:"Invalid arguments",[ce.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ce.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ce.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ce.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Er(e,t){return t.locale!=null?Uu(t.locale):Uu(e.locale)}let pr;function Uu(e){if(O(e))return e;if(K(e)){if(e.resolvedOnce&&pr!=null)return pr;if(e.constructor.name==="Function"){const t=e();if(E0(t))throw Me(ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return pr=t}else throw Me(ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Me(ce.NOT_SUPPORT_LOCALE_TYPE)}function _h(e,t,n){return[...new Set([n,...q(t)?t:U(t)?Object.keys(t):O(t)?[t]:[n]])]}function Wu(e,t,n){const r=O(n)?n:vt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let u=a.__localeChainCache.get(r);if(!u){u=[];let s=[n];for(;q(s);)s=Hu(u,s,t);const o=q(t)||!M(t)?t:t.default?t.default:null;s=O(o)?[o]:o,q(s)&&Hu(u,s,!1),a.__localeChainCache.set(r,u)}return u}function Hu(e,t,n){let r=!0;for(let a=0;a<t.length&&$(r);a++){const u=t[a];O(u)&&(r=mh(e,t[a],n))}return r}function mh(e,t,n){let r;const a=t.split("-");do{const u=a.join("-");r=hh(e,u,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function hh(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(q(n)||M(n))&&n[a]&&(r=n[a])}return r}const vh="9.14.0",Ln=-1,vt="en-US",yn="",Gu=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function gh(){return{upper:(e,t)=>t==="text"&&O(e)?e.toUpperCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&O(e)?e.toLowerCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&O(e)?Gu(e):t==="vnode"&&U(e)&&"__v_isVNode"in e?Gu(e.children):e}}let ju;function Ku(e){ju=e}let Xu;function bh(e){Xu=e}let qu;function Ch(e){qu=e}let Ju=null;const zu=e=>{Ju=e},Fh=()=>Ju;let Qu=null;const Zu=e=>{Qu=e},Ah=()=>Qu;let Yu=0;function Nh(e={}){const t=K(e.onWarn)?e.onWarn:ie,n=O(e.version)?e.version:vh,r=O(e.locale)||K(e.locale)?e.locale:vt,a=K(r)?vt:r,u=q(e.fallbackLocale)||M(e.fallbackLocale)||O(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=M(e.messages)?e.messages:{[a]:{}},o=M(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},i=M(e.numberFormats)?e.numberFormats:{[a]:{}},E=oe({},e.modifiers||{},gh()),m=e.pluralRules||{},c=K(e.missing)?e.missing:null,d=$(e.missingWarn)||Xe(e.missingWarn)?e.missingWarn:!0,A=$(e.fallbackWarn)||Xe(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,L=!!e.unresolving,y=K(e.postTranslation)?e.postTranslation:null,b=M(e.processor)?e.processor:null,F=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter,_=K(e.messageCompiler)?e.messageCompiler:ju;process.env.NODE_ENV!=="production"&&!0&&!0&&K(e.messageCompiler)&&Ru(at(_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const h=K(e.messageResolver)?e.messageResolver:Xu||Y0,g=K(e.localeFallbacker)?e.localeFallbacker:qu||_h,N=U(e.fallbackContext)?e.fallbackContext:void 0,T=e,I=U(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,J=U(T.__numberFormatters)?T.__numberFormatters:new Map,De=U(T.__meta)?T.__meta:{};Yu++;const x={version:n,cid:Yu,locale:r,fallbackLocale:u,messages:s,modifiers:E,pluralRules:m,missing:c,missingWarn:d,fallbackWarn:A,fallbackFormat:S,unresolving:L,postTranslation:y,processor:b,warnHtmlMessage:F,escapeParameter:p,messageCompiler:_,messageResolver:h,localeFallbacker:g,fallbackContext:N,onWarn:t,__meta:De};return x.datetimeFormats=o,x.numberFormats=i,x.__datetimeFormatters=I,x.__numberFormatters=J,process.env.NODE_ENV!=="production"&&(x.__v_emitter=T.__v_emitter!=null?T.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ch(x,n,De),x}function Rn(e,t){return e instanceof RegExp?e.test(t):e}function ea(e,t){return e instanceof RegExp?e.test(t):e}function _r(e,t,n,r,a){const{missing:u,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const o=e.__v_emitter;o&&o.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(u!==null){const o=u(e,n,t,a);return O(o)?o:t}else return process.env.NODE_ENV!=="production"&&ea(r,t)&&s(at(_e.NOT_FOUND_KEY,{key:t,locale:n})),t}function Ht(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ta(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Dh(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(ta(e,t[r]))return!0;return!1}function mr(e){return n=>Sh(n,e)}function Sh(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,a=r.c||r.cases;return e.plural(a.reduce((u,s)=>[...u,na(e,s)],[]))}else return na(e,n)}function na(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((a,u)=>[...a,hr(e,u)],[]);return e.normalize(r)}}function hr(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,a=r.m||r.modifier;return e.linked(hr(e,r.k||r.key),a?hr(e,a):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Ih="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function ra(e,t){t&&F0(e)&&ie(Ut(Ih,{source:e}))}const ua=e=>e;let gt=Object.create(null);function aa(e){e.code===Tn.USE_MODULO_SYNTAX&&ie(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
17
|
+
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
|
18
|
+
(message compiler warning message: ${e.message})`)}const ze=e=>U(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function sa(e,t={}){let n=!1;const r=t.onError||b0;return t.onError=a=>{n=!0,r(a)},$t(Mt({},j0(e,t)),{detectError:n})}const Bh=(e,t)=>{if(!O(e))throw Me(ce.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=aa);{const n=$(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ra(e,n);const a=(t.onCacheKey||ua)(e),u=gt[a];if(u)return u;const{code:s,detectError:o}=sa(e,t),i=new Function(`return ${s}`)();return o?i:gt[a]=i}};function Oh(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=aa),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&O(e)){const n=$(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ra(e,n);const a=(t.onCacheKey||ua)(e),u=gt[a];if(u)return u;const{ast:s,detectError:o}=sa(e,$t(Mt({},t),{location:process.env.NODE_ENV!=="production",jit:!0})),i=mr(s);return o?i:gt[a]=i}else{if(process.env.NODE_ENV!=="production"&&!ze(e))return ie(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=gt[n];return r||(gt[n]=mr(e))}else return mr(e)}}const oa=()=>"",Se=e=>K(e);function ia(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:u,fallbackLocale:s,messages:o}=e,[i,E]=vr(...t),m=$(E.missingWarn)?E.missingWarn:e.missingWarn,c=$(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn,d=$(E.escapeParameter)?E.escapeParameter:e.escapeParameter,A=!!E.resolvedMessage,S=O(E.default)||$(E.default)?$(E.default)?u?i:()=>i:E.default:n?u?i:()=>i:"",L=n||S!=="",y=Er(e,E);d&&Th(E);let[b,F,p]=A?[i,y,o[y]||{}]:la(e,i,y,s,c,m),_=b,h=i;if(!A&&!(O(_)||ze(_)||Se(_))&&L&&(_=S,h=_),!A&&(!(O(_)||ze(_)||Se(_))||!O(F)))return a?Ln:i;if(process.env.NODE_ENV!=="production"&&O(_)&&e.messageCompiler==null)return ie(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`),i;let g=!1;const N=()=>{g=!0},T=Se(_)?_:ca(e,i,F,_,h,N);if(g)return _;const I=wh(e,F,p,E),J=ih(I),De=Lh(e,T,J),x=r?r(De,i):De;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Ee={timestamp:Date.now(),key:O(i)?i:Se(_)?_.key:"",locale:F||(Se(_)?_.locale:""),format:O(_)?_:Se(_)?_.source:"",message:x};Ee.meta=oe({},e.__meta,Fh()||{}),fh(Ee)}return x}function Th(e){q(e.list)?e.list=e.list.map(t=>O(t)?Bu(t):t):U(e.named)&&Object.keys(e.named).forEach(t=>{O(e.named[t])&&(e.named[t]=Bu(e.named[t]))})}function la(e,t,n,r,a,u){const{messages:s,onWarn:o,messageResolver:i,localeFallbacker:E}=e,m=E(e,r,n);let c={},d,A=null,S=n,L=null;const y="translate";for(let b=0;b<m.length;b++){if(d=L=m[b],process.env.NODE_ENV!=="production"&&n!==d&&!ta(n,d)&&Rn(a,t)&&o(at(_e.FALLBACK_TO_TRANSLATE,{key:t,target:d})),process.env.NODE_ENV!=="production"&&n!==d){const h=e.__v_emitter;h&&h.emit("fallback",{type:y,key:t,from:S,to:L,groupId:`${y}:${t}`})}c=s[d]||{};let F=null,p,_;if(process.env.NODE_ENV!=="production"&&Te&&(F=window.performance.now(),p="intlify-message-resolve-start",_="intlify-message-resolve-end",Fe&&Fe(p)),(A=i(c,t))===null&&(A=c[t]),process.env.NODE_ENV!=="production"&&Te){const h=window.performance.now(),g=e.__v_emitter;g&&F&&A&&g.emit("message-resolve",{type:"message-resolve",key:t,message:A,time:h-F,groupId:`${y}:${t}`}),p&&_&&Fe&&rt&&(Fe(_),rt("intlify message resolve",p,_))}if(O(A)||ze(A)||Se(A))break;if(!Dh(d,m)){const h=_r(e,t,d,u,y);h!==t&&(A=h)}S=L}return[A,d,c]}function ca(e,t,n,r,a,u){const{messageCompiler:s,warnHtmlMessage:o}=e;if(Se(r)){const d=r;return d.locale=d.locale||n,d.key=d.key||t,d}if(s==null){const d=()=>r;return d.locale=n,d.key=t,d}let i=null,E,m;process.env.NODE_ENV!=="production"&&Te&&(i=window.performance.now(),E="intlify-message-compilation-start",m="intlify-message-compilation-end",Fe&&Fe(E));const c=s(r,yh(e,n,a,r,o,u));if(process.env.NODE_ENV!=="production"&&Te){const d=window.performance.now(),A=e.__v_emitter;A&&i&&A.emit("message-compilation",{type:"message-compilation",message:r,time:d-i,groupId:`translate:${t}`}),E&&m&&Fe&&rt&&(Fe(m),rt("intlify message compilation",E,m))}return c.locale=n,c.key=t,c.source=r,c}function Lh(e,t,n){let r=null,a,u;process.env.NODE_ENV!=="production"&&Te&&(r=window.performance.now(),a="intlify-message-evaluation-start",u="intlify-message-evaluation-end",Fe&&Fe(a));const s=t(n);if(process.env.NODE_ENV!=="production"&&Te){const o=window.performance.now(),i=e.__v_emitter;i&&r&&i.emit("message-evaluation",{type:"message-evaluation",value:s,time:o-r,groupId:`translate:${t.key}`}),a&&u&&Fe&&rt&&(Fe(u),rt("intlify message evaluation",a,u))}return s}function vr(...e){const[t,n,r]=e,a={};if(!O(t)&&!se(t)&&!Se(t)&&!ze(t))throw Me(ce.INVALID_ARGUMENT);const u=se(t)?String(t):(Se(t),t);return se(n)?a.plural=n:O(n)?a.default=n:M(n)&&!Nn(n)?a.named=n:q(n)&&(a.list=n),se(r)?a.plural=r:O(r)?a.default=r:M(r)&&oe(a,r),[u,a]}function yh(e,t,n,r,a,u){return{locale:t,key:n,warnHtmlMessage:a,onError:s=>{if(u&&u(s),process.env.NODE_ENV!=="production"){const o=Rh(r),i=`Message compilation error: ${s.message}`,E=s.location&&o&&_0(o,s.location.start.offset,s.location.end.offset),m=e.__v_emitter;m&&o&&m.emit("compile-error",{message:o,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(E?`${i}
|
|
19
|
+
${E}`:i)}else throw s},onCacheKey:s=>l0(t,n,s)}}function Rh(e){if(O(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function wh(e,t,n,r){const{modifiers:a,pluralRules:u,messageResolver:s,fallbackLocale:o,fallbackWarn:i,missingWarn:E,fallbackContext:m}=e,d={locale:t,modifiers:a,pluralRules:u,messages:A=>{let S=s(n,A);if(S==null&&m){const[,,L]=la(m,A,t,o,i,E);S=s(L,A)}if(O(S)||ze(S)){let L=!1;const b=ca(e,A,t,S,A,()=>{L=!0});return L?oa:b}else return Se(S)?S:oa}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),se(r.plural)&&(d.pluralIndex=r.plural),d}const fa=typeof Intl!="undefined",da={dateTimeFormat:fa&&typeof Intl.DateTimeFormat!="undefined",numberFormat:fa&&typeof Intl.NumberFormat!="undefined"};function Ea(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:u,localeFallbacker:s}=e,{__datetimeFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!da.dateTimeFormat)return u(at(_e.CANNOT_FORMAT_DATE)),yn;const[i,E,m,c]=gr(...t),d=$(m.missingWarn)?m.missingWarn:e.missingWarn,A=$(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,S=!!m.part,L=Er(e,m),y=s(e,a,L);if(!O(i)||i==="")return new Intl.DateTimeFormat(L,c).format(E);let b={},F,p=null,_=L,h=null;const g="datetime format";for(let I=0;I<y.length;I++){if(F=h=y[I],process.env.NODE_ENV!=="production"&&L!==F&&Rn(A,i)&&u(at(_e.FALLBACK_TO_DATE_FORMAT,{key:i,target:F})),process.env.NODE_ENV!=="production"&&L!==F){const J=e.__v_emitter;J&&J.emit("fallback",{type:g,key:i,from:_,to:h,groupId:`${g}:${i}`})}if(b=n[F]||{},p=b[i],M(p))break;_r(e,i,F,d,g),_=h}if(!M(p)||!O(F))return r?Ln:i;let N=`${F}__${i}`;Nn(c)||(N=`${N}__${JSON.stringify(c)}`);let T=o.get(N);return T||(T=new Intl.DateTimeFormat(F,oe({},p,c)),o.set(N,T)),S?T.formatToParts(E):T.format(E)}const pa=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function gr(...e){const[t,n,r,a]=e,u={};let s={},o;if(O(t)){const i=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!i)throw Me(ce.INVALID_ISO_DATE_ARGUMENT);const E=i[3]?i[3].trim().startsWith("T")?`${i[1].trim()}${i[3].trim()}`:`${i[1].trim()}T${i[3].trim()}`:i[1].trim();o=new Date(E);try{o.toISOString()}catch(m){throw Me(ce.INVALID_ISO_DATE_ARGUMENT)}}else if(f0(t)){if(isNaN(t.getTime()))throw Me(ce.INVALID_DATE_ARGUMENT);o=t}else if(se(t))o=t;else throw Me(ce.INVALID_ARGUMENT);return O(n)?u.key=n:M(n)&&Object.keys(n).forEach(i=>{pa.includes(i)?s[i]=n[i]:u[i]=n[i]}),O(r)?u.locale=r:M(r)&&(s=r),M(a)&&(s=a),[u.key||"",o,u,s]}function _a(e,t,n){const r=e;for(const a in n){const u=`${t}__${a}`;!r.__datetimeFormatters.has(u)||r.__datetimeFormatters.delete(u)}}function ma(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:u,localeFallbacker:s}=e,{__numberFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!da.numberFormat)return u(at(_e.CANNOT_FORMAT_NUMBER)),yn;const[i,E,m,c]=br(...t),d=$(m.missingWarn)?m.missingWarn:e.missingWarn,A=$(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,S=!!m.part,L=Er(e,m),y=s(e,a,L);if(!O(i)||i==="")return new Intl.NumberFormat(L,c).format(E);let b={},F,p=null,_=L,h=null;const g="number format";for(let I=0;I<y.length;I++){if(F=h=y[I],process.env.NODE_ENV!=="production"&&L!==F&&Rn(A,i)&&u(at(_e.FALLBACK_TO_NUMBER_FORMAT,{key:i,target:F})),process.env.NODE_ENV!=="production"&&L!==F){const J=e.__v_emitter;J&&J.emit("fallback",{type:g,key:i,from:_,to:h,groupId:`${g}:${i}`})}if(b=n[F]||{},p=b[i],M(p))break;_r(e,i,F,d,g),_=h}if(!M(p)||!O(F))return r?Ln:i;let N=`${F}__${i}`;Nn(c)||(N=`${N}__${JSON.stringify(c)}`);let T=o.get(N);return T||(T=new Intl.NumberFormat(F,oe({},p,c)),o.set(N,T)),S?T.formatToParts(E):T.format(E)}const ha=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function br(...e){const[t,n,r,a]=e,u={};let s={};if(!se(t))throw Me(ce.INVALID_ARGUMENT);const o=t;return O(n)?u.key=n:M(n)&&Object.keys(n).forEach(i=>{ha.includes(i)?s[i]=n[i]:u[i]=n[i]}),O(r)?u.locale=r:M(r)&&(s=r),M(a)&&(s=a),[u.key||"",o,u,s]}function va(e,t,n){const r=e;for(const a in n){const u=`${t}__${a}`;!r.__numberFormatters.has(u)||r.__numberFormatters.delete(u)}}K0();/**
|
|
20
|
+
* @vue/shared v3.5.6
|
|
21
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
+
* @license MIT
|
|
23
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Mh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ie=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const ot=()=>{},$h=()=>!1,Ph=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ae=Object.assign,kh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vh=Object.prototype.hasOwnProperty,ue=(e,t)=>Vh.call(e,t),Z=Array.isArray,bt=e=>wn(e)==="[object Map]",xh=e=>wn(e)==="[object Set]",ae=e=>typeof e=="function",Re=e=>typeof e=="string",Gt=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",Uh=e=>(me(e)||ae(e))&&ae(e.then)&&ae(e.catch),Wh=Object.prototype.toString,wn=e=>Wh.call(e),ga=e=>wn(e).slice(8,-1),Hh=e=>wn(e)==="[object Object]",Cr=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ba=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ca=ba(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gh=ba(e=>e?`on${Ca(e)}`:""),Qe=(e,t)=>!Object.is(e,t),jh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})};let Fa;const Aa=()=>Fa||(Fa=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Fr(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],a=Re(r)?Jh(r):Fr(r);if(a)for(const u in a)t[u]=a[u]}return t}else if(Re(e)||me(e))return e}const Kh=/;(?![^(]*\))/g,Xh=/:([^]+)/,qh=/\/\*[^]*?\*\//g;function Jh(e){const t={};return e.replace(qh,"").split(Kh).forEach(n=>{if(n){const r=n.split(Xh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ar(e){let t="";if(Re(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const r=Ar(e[n]);r&&(t+=r+" ")}else if(me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
|
|
24
|
+
* @vue/reactivity v3.5.6
|
|
25
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26
|
+
* @license MIT
|
|
27
|
+
**/function $e(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ne;class zh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}else process.env.NODE_ENV!=="production"&&$e("cannot run an inactive effect scope.")}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function Qh(e){return new zh(e)}function Zh(){return Ne}let W;const Nr=new WeakSet;class Yh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ne&&Ne.active&&Ne.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Nr.has(this)&&(Nr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Da(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ta(this),Sa(this);const t=W,n=we;W=this,we=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&W!==this&&$e("Active effect was not restored correctly - this is likely a Vue internal bug."),Ia(this),W=t,we=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Br(t);this.deps=this.depsTail=void 0,Ta(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Nr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ir(this)&&this.run()}get dirty(){return Ir(this)}}let Na=0,jt;function Da(e){e.flags|=8,e.next=jt,jt=e}function Dr(){Na++}function Sr(){if(--Na>0)return;let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Sa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ia(e){let t,n=e.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),Br(r),ev(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}e.deps=t,e.depsTail=n}function Ir(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ba(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ba(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qt))return;e.globalVersion=qt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ir(e)){e.flags&=-3;return}const n=W,r=we;W=e,we=!0;try{Sa(e);const a=e.fn(e._value);(t.version===0||Qe(a,e._value))&&(e._value=a,t.version++)}catch(a){throw t.version++,a}finally{W=n,we=r,Ia(e),e.flags&=-3}}function Br(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let a=t.computed.deps;a;a=a.nextDep)Br(a)}}function ev(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let we=!0;const Oa=[];function Kt(){Oa.push(we),we=!1}function Xt(){const e=Oa.pop();we=e===void 0?!0:e}function Ta(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=W;W=void 0;try{t()}finally{W=n}}}let qt=0;class tv{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Or{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!W||!we||W===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==W)n=this.activeLink=new tv(W,this),W.deps?(n.prevDep=W.depsTail,W.depsTail.nextDep=n,W.depsTail=n):W.deps=W.depsTail=n,W.flags&4&&La(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=W.depsTail,n.nextDep=void 0,W.depsTail.nextDep=n,W.depsTail=n,W.deps===n&&(W.deps=r)}return process.env.NODE_ENV!=="production"&&W.onTrack&&W.onTrack(Ae({effect:W},t)),n}trigger(t){this.version++,qt++,this.notify(t)}notify(t){Dr();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(Ae({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Sr()}}}function La(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)La(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}const Tr=new WeakMap,it=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Lr=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Jt=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function fe(e,t,n){if(we&&W){let r=Tr.get(e);r||Tr.set(e,r=new Map);let a=r.get(n);a||r.set(n,a=new Or),process.env.NODE_ENV!=="production"?a.track({target:e,type:t,key:n}):a.track()}}function Ze(e,t,n,r,a,u){const s=Tr.get(e);if(!s){qt++;return}const o=i=>{i&&(process.env.NODE_ENV!=="production"?i.trigger({target:e,type:t,key:n,newValue:r,oldValue:a,oldTarget:u}):i.trigger())};if(Dr(),t==="clear")s.forEach(o);else{const i=Z(e),E=i&&Cr(n);if(i&&n==="length"){const m=Number(r);s.forEach((c,d)=>{(d==="length"||d===Jt||!Gt(d)&&d>=m)&&o(c)})}else switch(n!==void 0&&o(s.get(n)),E&&o(s.get(Jt)),t){case"add":i?E&&o(s.get("length")):(o(s.get(it)),bt(e)&&o(s.get(Lr)));break;case"delete":i||(o(s.get(it)),bt(e)&&o(s.get(Lr)));break;case"set":bt(e)&&o(s.get(it));break}}Sr()}function Ct(e){const t=P(e);return t===e?t:(fe(t,"iterate",Jt),ge(e)?t:t.map(he))}function yr(e){return fe(e=P(e),"iterate",Jt),e}const nv={__proto__:null,[Symbol.iterator](){return Rr(this,Symbol.iterator,he)},concat(...e){return Ct(this).concat(...e.map(t=>Z(t)?Ct(t):t))},entries(){return Rr(this,"entries",e=>(e[1]=he(e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,n=>n.map(he),arguments)},find(e,t){return He(this,"find",e,t,he,arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,he,arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return wr(this,"includes",e)},indexOf(...e){return wr(this,"indexOf",e)},join(e){return Ct(this).join(e)},lastIndexOf(...e){return wr(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return zt(this,"pop")},push(...e){return zt(this,"push",e)},reduce(e,...t){return ya(this,"reduce",e,t)},reduceRight(e,...t){return ya(this,"reduceRight",e,t)},shift(){return zt(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return zt(this,"splice",e)},toReversed(){return Ct(this).toReversed()},toSorted(e){return Ct(this).toSorted(e)},toSpliced(...e){return Ct(this).toSpliced(...e)},unshift(...e){return zt(this,"unshift",e)},values(){return Rr(this,"values",he)}};function Rr(e,t,n){const r=yr(e),a=r[t]();return r!==e&&!ge(e)&&(a._next=a.next,a.next=()=>{const u=a._next();return u.value&&(u.value=n(u.value)),u}),a}const rv=Array.prototype;function He(e,t,n,r,a,u){const s=yr(e),o=s!==e&&!ge(e),i=s[t];if(i!==rv[t]){const c=i.apply(e,u);return o?he(c):c}let E=n;s!==e&&(o?E=function(c,d){return n.call(this,he(c),d,e)}:n.length>2&&(E=function(c,d){return n.call(this,c,d,e)}));const m=i.call(s,E,r);return o&&a?a(m):m}function ya(e,t,n,r){const a=yr(e);let u=n;return a!==e&&(ge(e)?n.length>3&&(u=function(s,o,i){return n.call(this,s,o,i,e)}):u=function(s,o,i){return n.call(this,s,he(o),i,e)}),a[t](u,...r)}function wr(e,t,n){const r=P(e);fe(r,"iterate",Jt);const a=r[t](...n);return(a===-1||a===!1)&&Wn(n[0])?(n[0]=P(n[0]),r[t](...n)):a}function zt(e,t,n=[]){Kt(),Dr();const r=P(e)[t].apply(e,n);return Sr(),Xt(),r}const uv=Mh("__proto__,__v_isRef,__isVue"),Ra=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gt));function av(e){Gt(e)||(e=String(e));const t=P(this);return fe(t,"has",e),t.hasOwnProperty(e)}class wa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const a=this._isReadonly,u=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return u;if(n==="__v_raw")return r===(a?u?Ha:Wa:u?vv:Ua).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Z(t);if(!a){let i;if(s&&(i=nv[n]))return i;if(n==="hasOwnProperty")return av}const o=Reflect.get(t,n,de(t)?t:r);return(Gt(n)?Ra.has(n):uv(n))||(a||fe(t,"get",n),u)?o:de(o)?s&&Cr(n)?o:o.value:me(o)?a?ja(o):Ga(o):o}}class sv extends wa{constructor(t=!1){super(!1,t)}set(t,n,r,a){let u=t[n];if(!this._isShallow){const i=Ge(u);if(!ge(r)&&!Ge(r)&&(u=P(u),r=P(r)),!Z(t)&&de(u)&&!de(r))return i?!1:(u.value=r,!0)}const s=Z(t)&&Cr(n)?Number(n)<t.length:ue(t,n),o=Reflect.set(t,n,r,de(t)?t:a);return t===P(a)&&(s?Qe(r,u)&&Ze(t,"set",n,r,u):Ze(t,"add",n,r)),o}deleteProperty(t,n){const r=ue(t,n),a=t[n],u=Reflect.deleteProperty(t,n);return u&&r&&Ze(t,"delete",n,void 0,a),u}has(t,n){const r=Reflect.has(t,n);return(!Gt(n)||!Ra.has(n))&&fe(t,"has",n),r}ownKeys(t){return fe(t,"iterate",Z(t)?"length":it),Reflect.ownKeys(t)}}class Ma extends wa{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&$e(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&$e(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const ov=new sv,iv=new Ma,lv=new Ma(!0),Mr=e=>e,Mn=e=>Reflect.getPrototypeOf(e);function $n(e,t,n=!1,r=!1){e=e.__v_raw;const a=P(e),u=P(t);n||(Qe(t,u)&&fe(a,"get",t),fe(a,"get",u));const{has:s}=Mn(a),o=r?Mr:n?kr:he;if(s.call(a,t))return o(e.get(t));if(s.call(a,u))return o(e.get(u));e!==a&&e.get(t)}function Pn(e,t=!1){const n=this.__v_raw,r=P(n),a=P(e);return t||(Qe(e,a)&&fe(r,"has",e),fe(r,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function kn(e,t=!1){return e=e.__v_raw,!t&&fe(P(e),"iterate",it),Reflect.get(e,"size",e)}function $a(e,t=!1){!t&&!ge(e)&&!Ge(e)&&(e=P(e));const n=P(this);return Mn(n).has.call(n,e)||(n.add(e),Ze(n,"add",e,e)),this}function Pa(e,t,n=!1){!n&&!ge(t)&&!Ge(t)&&(t=P(t));const r=P(this),{has:a,get:u}=Mn(r);let s=a.call(r,e);s?process.env.NODE_ENV!=="production"&&xa(r,a,e):(e=P(e),s=a.call(r,e));const o=u.call(r,e);return r.set(e,t),s?Qe(t,o)&&Ze(r,"set",e,t,o):Ze(r,"add",e,t),this}function ka(e){const t=P(this),{has:n,get:r}=Mn(t);let a=n.call(t,e);a?process.env.NODE_ENV!=="production"&&xa(t,n,e):(e=P(e),a=n.call(t,e));const u=r?r.call(t,e):void 0,s=t.delete(e);return a&&Ze(t,"delete",e,void 0,u),s}function Va(){const e=P(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?bt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&Ze(e,"clear",void 0,void 0,n),r}function Vn(e,t){return function(r,a){const u=this,s=u.__v_raw,o=P(s),i=t?Mr:e?kr:he;return!e&&fe(o,"iterate",it),s.forEach((E,m)=>r.call(a,i(E),i(m),u))}}function xn(e,t,n){return function(...r){const a=this.__v_raw,u=P(a),s=bt(u),o=e==="entries"||e===Symbol.iterator&&s,i=e==="keys"&&s,E=a[e](...r),m=n?Mr:t?kr:he;return!t&&fe(u,"iterate",i?Lr:it),{next(){const{value:c,done:d}=E.next();return d?{value:c,done:d}:{value:o?[m(c[0]),m(c[1])]:m(c),done:d}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";$e(`${Ca(e)} operation ${n}failed: target is readonly.`,P(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function cv(){const e={get(u){return $n(this,u)},get size(){return kn(this)},has:Pn,add:$a,set:Pa,delete:ka,clear:Va,forEach:Vn(!1,!1)},t={get(u){return $n(this,u,!1,!0)},get size(){return kn(this)},has:Pn,add(u){return $a.call(this,u,!0)},set(u,s){return Pa.call(this,u,s,!0)},delete:ka,clear:Va,forEach:Vn(!1,!0)},n={get(u){return $n(this,u,!0)},get size(){return kn(this,!0)},has(u){return Pn.call(this,u,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:Vn(!0,!1)},r={get(u){return $n(this,u,!0,!0)},get size(){return kn(this,!0)},has(u){return Pn.call(this,u,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:Vn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(u=>{e[u]=xn(u,!1,!1),n[u]=xn(u,!0,!1),t[u]=xn(u,!1,!0),r[u]=xn(u,!0,!0)}),[e,n,t,r]}const[fv,dv,Ev,pv]=cv();function $r(e,t){const n=t?e?pv:Ev:e?dv:fv;return(r,a,u)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(ue(n,a)&&a in r?n:r,a,u)}const _v={get:$r(!1,!1)},mv={get:$r(!0,!1)},hv={get:$r(!0,!0)};function xa(e,t,n){const r=P(n);if(r!==n&&t.call(e,r)){const a=ga(e);$e(`Reactive ${a} contains both the raw and reactive versions of the same object${a==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Ua=new WeakMap,vv=new WeakMap,Wa=new WeakMap,Ha=new WeakMap;function gv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bv(e){return e.__v_skip||!Object.isExtensible(e)?0:gv(ga(e))}function Ga(e){return Ge(e)?e:Pr(e,!1,ov,_v,Ua)}function ja(e){return Pr(e,!0,iv,mv,Wa)}function Un(e){return Pr(e,!0,lv,hv,Ha)}function Pr(e,t,n,r,a){if(!me(e))return process.env.NODE_ENV!=="production"&&$e(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const u=a.get(e);if(u)return u;const s=bv(e);if(s===0)return e;const o=new Proxy(e,s===2?r:n);return a.set(e,o),o}function Ft(e){return Ge(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function Ge(e){return!!(e&&e.__v_isReadonly)}function ge(e){return!!(e&&e.__v_isShallow)}function Wn(e){return e?!!e.__v_raw:!1}function P(e){const t=e&&e.__v_raw;return t?P(t):e}function Cv(e){return!ue(e,"__v_skip")&&Object.isExtensible(e)&&jh(e,"__v_skip",!0),e}const he=e=>me(e)?Ga(e):e,kr=e=>me(e)?ja(e):e;function de(e){return e?e.__v_isRef===!0:!1}function At(e){return Xa(e,!1)}function Ka(e){return Xa(e,!0)}function Xa(e,t){return de(e)?e:new Fv(e,t)}class Fv{constructor(t,n){this.dep=new Or,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:P(t),this._value=n?t:he(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ge(t)||Ge(t);t=r?t:P(t),Qe(t,n)&&(this._rawValue=t,this._value=r?t:he(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function Av(e){return de(e)?e.value:e}const Nv={get:(e,t,n)=>t==="__v_raw"?e:Av(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return de(a)&&!de(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function Dv(e){return Ft(e)?e:new Proxy(e,Nv)}class Sv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Or(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&W!==this)return Da(this),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Ba(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&$e("Write operation failed: computed value is readonly")}}function Iv(e,t,n=!1){let r,a;ae(e)?r=e:(r=e.get,a=e.set);const u=new Sv(r,a,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(u.onTrack=t.onTrack,u.onTrigger=t.onTrigger),u}const Hn={},Gn=new WeakMap;let lt;function Bv(e,t=!1,n=lt){if(n){let r=Gn.get(n);r||Gn.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&$e("onWatcherCleanup() was called when there was no active watcher to associate with.")}function Ov(e,t,n=Ie){const{immediate:r,deep:a,once:u,scheduler:s,augmentJob:o,call:i}=n,E=h=>{(n.onWarn||$e)("Invalid watch source: ",h,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},m=h=>a?h:ge(h)||a===!1||a===0?et(h,1):et(h);let c,d,A,S,L=!1,y=!1;if(de(e)?(d=()=>e.value,L=ge(e)):Ft(e)?(d=()=>m(e),L=!0):Z(e)?(y=!0,L=e.some(h=>Ft(h)||ge(h)),d=()=>e.map(h=>{if(de(h))return h.value;if(Ft(h))return m(h);if(ae(h))return i?i(h,2):h();process.env.NODE_ENV!=="production"&&E(h)})):ae(e)?t?d=i?()=>i(e,2):e:d=()=>{if(A){Kt();try{A()}finally{Xt()}}const h=lt;lt=c;try{return i?i(e,3,[S]):e(S)}finally{lt=h}}:(d=ot,process.env.NODE_ENV!=="production"&&E(e)),t&&a){const h=d,g=a===!0?1/0:a;d=()=>et(h(),g)}const b=Zh(),F=()=>{c.stop(),b&&kh(b.effects,c)};if(u&&t){const h=t;t=(...g)=>{h(...g),F()}}let p=y?new Array(e.length).fill(Hn):Hn;const _=h=>{if(!(!(c.flags&1)||!c.dirty&&!h))if(t){const g=c.run();if(a||L||(y?g.some((N,T)=>Qe(N,p[T])):Qe(g,p))){A&&A();const N=lt;lt=c;try{const T=[g,p===Hn?void 0:y&&p[0]===Hn?[]:p,S];i?i(t,3,T):t(...T),p=g}finally{lt=N}}}else c.run()};return o&&o(_),c=new Yh(d),c.scheduler=s?()=>s(_,!1):_,S=h=>Bv(h,!1,c),A=c.onStop=()=>{const h=Gn.get(c);if(h){if(i)i(h,4);else for(const g of h)g();Gn.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),t?r?_(!0):p=c.run():s?s(_.bind(null,!0),!0):c.run(),F.pause=c.pause.bind(c),F.resume=c.resume.bind(c),F.stop=F,F}function et(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))et(e.value,t,n);else if(Z(e))for(let r=0;r<e.length;r++)et(e[r],t,n);else if(xh(e)||bt(e))e.forEach(r=>{et(r,t,n)});else if(Hh(e)){for(const r in e)et(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&et(e[r],t,n)}return e}/**
|
|
28
|
+
* @vue/runtime-core v3.5.6
|
|
29
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
|
+
* @license MIT
|
|
31
|
+
**/const ct=[];function Tv(e){ct.push(e)}function Lv(){ct.pop()}let Vr=!1;function Y(e,...t){if(Vr)return;Vr=!0,Kt();const n=ct.length?ct[ct.length-1].component:null,r=n&&n.appContext.config.warnHandler,a=yv();if(r)jn(r,n,11,[e+t.map(u=>{var s,o;return(o=(s=u.toString)==null?void 0:s.call(u))!=null?o:JSON.stringify(u)}).join(""),n&&n.proxy,a.map(({vnode:u})=>`at <${ms(n,u.type)}>`).join(`
|
|
32
|
+
`),a]);else{const u=[`[Vue warn]: ${e}`,...t];a.length&&u.push(`
|
|
33
|
+
`,...Rv(a)),console.warn(...u)}Xt(),Vr=!1}function yv(){let e=ct[ct.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Rv(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
34
|
+
`],...wv(n))}),t}function wv({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,a=` at <${ms(e.component,e.type,r)}`,u=">"+n;return e.props?[a,...Mv(e.props),u]:[a+u]}function Mv(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...qa(r,e[r]))}),n.length>3&&t.push(" ..."),t}function qa(e,t,n){return Re(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:de(t)?(t=qa(e,P(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ae(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=P(t),n?t:[`${e}=`,t])}const xr={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update",[16]:"app unmount cleanup function"};function jn(e,t,n,r){try{return r?e(...r):e()}catch(a){Wr(a,t,n)}}function Ur(e,t,n,r){if(ae(e)){const a=jn(e,t,n,r);return a&&Uh(a)&&a.catch(u=>{Wr(u,t,n)}),a}if(Z(e)){const a=[];for(let u=0;u<e.length;u++)a.push(Ur(e[u],t,n,r));return a}else process.env.NODE_ENV!=="production"&&Y(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function Wr(e,t,n,r=!0){const a=t?t.vnode:null,{errorHandler:u,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Ie;if(t){let o=t.parent;const i=t.proxy,E=process.env.NODE_ENV!=="production"?xr[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const m=o.ec;if(m){for(let c=0;c<m.length;c++)if(m[c](e,i,E)===!1)return}o=o.parent}if(u){Kt(),jn(u,null,10,[e,i,E]),Xt();return}}$v(e,n,a,r,s)}function $v(e,t,n,r=!0,a=!1){if(process.env.NODE_ENV!=="production"){const u=xr[t];if(n&&Tv(n),Y(`Unhandled error${u?` during execution of ${u}`:""}`),n&&Lv(),r)throw e;console.error(e)}else{if(a)throw e;console.error(e)}}let Kn=!1,Hr=!1;const Be=[];let je=0;const Nt=[];let tt=null,Dt=0;const Ja=Promise.resolve();let Gr=null;const Pv=100;function kv(e){const t=Gr||Ja;return e?t.then(this?e.bind(this):e):t}function Vv(e){let t=Kn?je+1:0,n=Be.length;for(;t<n;){const r=t+n>>>1,a=Be[r],u=Qt(a);u<e||u===e&&a.flags&2?t=r+1:n=r}return t}function jr(e){if(!(e.flags&1)){const t=Qt(e),n=Be[Be.length-1];!n||!(e.flags&2)&&t>=Qt(n)?Be.push(e):Be.splice(Vv(t),0,e),e.flags|=1,za()}}function za(){!Kn&&!Hr&&(Hr=!0,Gr=Ja.then(Za))}function Qa(e){Z(e)?Nt.push(...e):tt&&e.id===-1?tt.splice(Dt+1,0,e):e.flags&1||(Nt.push(e),e.flags|=1),za()}function xv(e){if(Nt.length){const t=[...new Set(Nt)].sort((n,r)=>Qt(n)-Qt(r));if(Nt.length=0,tt){tt.push(...t);return}for(tt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Dt=0;Dt<tt.length;Dt++){const n=tt[Dt];process.env.NODE_ENV!=="production"&&Ya(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}tt=null,Dt=0}}const Qt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Za(e){Hr=!1,Kn=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Ya(e,n):ot;try{for(je=0;je<Be.length;je++){const n=Be[je];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),jn(n,n.i,n.i?15:14),n.flags&=-2}}}finally{for(;je<Be.length;je++){const n=Be[je];n&&(n.flags&=-2)}je=0,Be.length=0,xv(e),Kn=!1,Gr=null,(Be.length||Nt.length)&&Za(e)}}function Ya(e,t){const n=e.get(t)||0;if(n>Pv){const r=t.i,a=r&&_s(r.type);return Wr(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const Kr=new Map;process.env.NODE_ENV!=="production"&&(Aa().__VUE_HMR_RUNTIME__={createRecord:Xr(Uv),rerender:Xr(Wv),reload:Xr(Hv)});const Xn=new Map;function Uv(e,t){return Xn.has(e)?!1:(Xn.set(e,{initialDef:qn(t),instances:new Set}),!0)}function qn(e){return hs(e)?e.__vccOpts:e}function Wv(e,t){const n=Xn.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,qn(r.type).render=t),r.renderCache=[],r.update()}))}function Hv(e,t){const n=Xn.get(e);if(!n)return;t=qn(t),es(n.initialDef,t);const r=[...n.instances];for(let a=0;a<r.length;a++){const u=r[a],s=qn(u.type);let o=Kr.get(s);o||(s!==n.initialDef&&es(s,t),Kr.set(s,o=new Set)),o.add(u),u.appContext.propsCache.delete(u.type),u.appContext.emitsCache.delete(u.type),u.appContext.optionsCache.delete(u.type),u.ceReload?(o.add(u),u.ceReload(t.styles),o.delete(u)):u.parent?jr(()=>{u.parent.update(),o.delete(u)}):u.appContext.reload?u.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),u.root.ce&&u!==u.root&&u.root.ce._removeChildStyle(s)}Qa(()=>{Kr.clear()})}function es(e,t){Ae(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Xr(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let St,Jn=[];function ts(e,t){var n,r;St=e,St?(St.enabled=!0,Jn.forEach(({event:a,args:u})=>St.emit(a,...u)),Jn=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(u=>{ts(u,t)}),setTimeout(()=>{St||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jn=[])},3e3)):Jn=[]}let Pe=null,Gv=null;const jv=e=>e.__isTeleport;function ns(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ns(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function qr(e,t){return ae(e)?(()=>Ae({name:e.name},t,{setup:e}))():e}function Kv(e,t,n=ft,r=!1){if(n){const a=n[e]||(n[e]=[]),u=t.__weh||(t.__weh=(...s)=>{Kt();const o=ps(n),i=Ur(t,n,e,s);return o(),Xt(),i});return r?a.unshift(u):a.push(u),u}else if(process.env.NODE_ENV!=="production"){const a=Gh(xr[e].replace(/ hook$/,""));Y(`${a} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Jr=e=>(t,n=ft)=>{(!er||e==="sp")&&Kv(e,(...r)=>t(...r),n)},Xv=Jr("bm"),qv=Jr("m"),Jv=Jr("um"),zv=Symbol.for("v-ndc"),zr=e=>e?gg(e)?bg(e):zr(e.parent):null,Zt=Ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Un(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Un(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Un(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Un(e.refs):e.refs,$parent:e=>zr(e.parent),$root:e=>zr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?eg(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{jr(e.update)}),$nextTick:e=>e.n||(e.n=kv.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?lg.bind(e):ot}),Qv=e=>e==="_"||e==="$",Qr=(e,t)=>e!==Ie&&!e.__isScriptSetup&&ue(e,t),Zv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:u,accessCache:s,type:o,appContext:i}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let E;if(t[0]!=="$"){const A=s[t];if(A!==void 0)switch(A){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return u[t]}else{if(Qr(r,t))return s[t]=1,r[t];if(a!==Ie&&ue(a,t))return s[t]=2,a[t];if((E=e.propsOptions[0])&&ue(E,t))return s[t]=3,u[t];if(n!==Ie&&ue(n,t))return s[t]=4,n[t];(!__VUE_OPTIONS_API__||Yv)&&(s[t]=0)}}const m=Zt[t];let c,d;if(m)return t==="$attrs"?(fe(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&fe(e,"get",t),m(e);if((c=o.__cssModules)&&(c=c[t]))return c;if(n!==Ie&&ue(n,t))return s[t]=4,n[t];if(d=i.config.globalProperties,ue(d,t))return d[t];process.env.NODE_ENV!=="production"&&Pe&&(!Re(t)||t.indexOf("__v")!==0)&&(a!==Ie&&Qv(t[0])&&ue(a,t)?Y(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Pe&&Y(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:a,ctx:u}=e;return Qr(a,t)?(a[t]=n,!0):process.env.NODE_ENV!=="production"&&a.__isScriptSetup&&ue(a,t)?(Y(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Ie&&ue(r,t)?(r[t]=n,!0):ue(e.props,t)?(process.env.NODE_ENV!=="production"&&Y(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Y(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(u,t,{enumerable:!0,configurable:!0,value:n}):u[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:u}},s){let o;return!!n[s]||e!==Ie&&ue(e,s)||Qr(t,s)||(o=u[0])&&ue(o,s)||ue(r,s)||ue(Zt,s)||ue(a.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(Zv.ownKeys=e=>(Y("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function rs(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Yv=!0;function eg(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:u,config:{optionMergeStrategies:s}}=e.appContext,o=u.get(t);let i;return o?i=o:!a.length&&!n&&!r?i=t:(i={},a.length&&a.forEach(E=>zn(i,E,s,!0)),zn(i,t,s)),me(t)&&u.set(t,i),i}function zn(e,t,n,r=!1){const{mixins:a,extends:u}=t;u&&zn(e,u,n,!0),a&&a.forEach(s=>zn(e,s,n,!0));for(const s in t)if(r&&s==="expose")process.env.NODE_ENV!=="production"&&Y('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=tg[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const tg={data:us,props:ss,emits:ss,methods:Yt,computed:Yt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:Yt,directives:Yt,watch:rg,provide:us,inject:ng};function us(e,t){return t?e?function(){return Ae(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function ng(e,t){return Yt(as(e),as(t))}function as(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ve(e,t){return e?[...new Set([].concat(e,t))]:t}function Yt(e,t){return e?Ae(Object.create(null),e,t):t}function ss(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Ae(Object.create(null),rs(e),rs(t!=null?t:{})):t}function rg(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const r in t)n[r]=ve(e[r],t[r]);return n}function ug(){return{app:null,config:{isNativeTag:$h,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Zr=null;function os(e,t,n=!1){const r=ft||Pe;if(r||Zr){const a=Zr?Zr._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&Y(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Y("inject() can only be used inside setup() or functional components.")}const ag={},is=e=>Object.getPrototypeOf(e)===ag,sg=dg,og=Symbol.for("v-scx"),ig=()=>{{const e=os(og);return e||process.env.NODE_ENV!=="production"&&Y("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Yr(e,t,n){return process.env.NODE_ENV!=="production"&&!ae(t)&&Y("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ls(e,t,n)}function ls(e,t,n=Ie){const{immediate:r,deep:a,flush:u,once:s}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&Y('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Y('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&Y('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const o=Ae({},n);process.env.NODE_ENV!=="production"&&(o.onWarn=Y);let i;if(er)if(u==="sync"){const d=ig();i=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||r)o.once=!0;else{const d=()=>{};return d.stop=ot,d.resume=ot,d.pause=ot,d}const E=ft;o.call=(d,A,S)=>Ur(d,E,A,S);let m=!1;u==="post"?o.scheduler=d=>{sg(d,E&&E.suspense)}:u!=="sync"&&(m=!0,o.scheduler=(d,A)=>{A?d():jr(d)}),o.augmentJob=d=>{t&&(d.flags|=4),m&&(d.flags|=2,E&&(d.id=E.uid,d.i=E))};const c=Ov(e,t,o);return i&&i.push(c),c}function lg(e,t,n){const r=this.proxy,a=Re(e)?e.includes(".")?cg(r,e):()=>r[e]:e.bind(r,r);let u;ae(t)?u=t:(u=t.handler,n=t);const s=ps(this),o=ls(a,u.bind(r),n);return s(),o}function cg(e,t){const n=t.split(".");return()=>{let r=e;for(let a=0;a<n.length&&r;a++)r=r[n[a]];return r}}function K5(){}const fg=e=>e.__isSuspense;function dg(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Qa(e)}const Qn=Symbol.for("v-fgt"),cs=Symbol.for("v-txt"),Eg=Symbol.for("v-cmt");let It=null;function eu(e){return e?e.__v_isVNode===!0:!1}const pg=(...e)=>ds(...e),fs=({key:e})=>e!=null?e:null,Zn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||de(e)||ae(e)?{i:Pe,r:e,k:t,f:!!n}:e:null);function _g(e,t=null,n=null,r=0,a=null,u=e===Qn?0:1,s=!1,o=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fs(t),ref:t&&Zn(t),scopeId:Gv,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Pe};return o?(tu(i,n),u&128&&e.normalize(i)):n&&(i.shapeFlag|=Re(n)?8:16),process.env.NODE_ENV!=="production"&&i.key!==i.key&&Y("VNode created with invalid key (NaN). VNode type:",i.type),!s&&It&&(i.patchFlag>0||u&6)&&i.patchFlag!==32&&It.push(i),i}const Bt=process.env.NODE_ENV!=="production"?pg:ds;function ds(e,t=null,n=null,r=0,a=null,u=!1){if((!e||e===zv)&&(process.env.NODE_ENV!=="production"&&!e&&Y(`Invalid vnode type when creating vnode: ${e}.`),e=Eg),eu(e)){const o=Yn(e,t,!0);return n&&tu(o,n),!u&&It&&(o.shapeFlag&6?It[It.indexOf(e)]=o:It.push(o)),o.patchFlag=-2,o}if(hs(e)&&(e=e.__vccOpts),t){t=mg(t);let{class:o,style:i}=t;o&&!Re(o)&&(t.class=Ar(o)),me(i)&&(Wn(i)&&!Z(i)&&(i=Ae({},i)),t.style=Fr(i))}const s=Re(e)?1:fg(e)?128:jv(e)?64:me(e)?4:ae(e)?2:0;return process.env.NODE_ENV!=="production"&&s&4&&Wn(e)&&(e=P(e),Y("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
35
|
+
Component that was made reactive: `,e)),_g(e,t,n,r,a,s,u,!0)}function mg(e){return e?Wn(e)||is(e)?Ae({},e):e:null}function Yn(e,t,n=!1,r=!1){const{props:a,ref:u,patchFlag:s,children:o,transition:i}=e,E=t?vg(a||{},t):a,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:E,key:E&&fs(E),ref:t&&t.ref?n&&u?Z(u)?u.concat(Zn(t)):[u,Zn(t)]:Zn(t):u,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&Z(o)?o.map(Es):o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Qn?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Yn(e.ssContent),ssFallback:e.ssFallback&&Yn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&r&&ns(m,i.clone(m)),m}function Es(e){const t=Yn(e);return Z(e.children)&&(t.children=e.children.map(Es)),t}function hg(e=" ",t=0){return Bt(cs,null,e,t)}function tu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(r&65){const a=t.default;a&&(a._c&&(a._d=!1),tu(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!is(t)?t._ctx=Pe:a===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),r&64?(n=16,t=[hg(t)]):n=8);e.children=t,e.shapeFlag|=n}function vg(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const a in r)if(a==="class")t.class!==r.class&&(t.class=Ar([t.class,r.class]));else if(a==="style")t.style=Fr([t.style,r.style]);else if(Ph(a)){const u=t[a],s=r[a];s&&u!==s&&!(Z(u)&&u.includes(s))&&(t[a]=u?[].concat(u,s):s)}else a!==""&&(t[a]=r[a])}return t}ug();let ft=null;const Ot=()=>ft||Pe;let nu;{const e=Aa(),t=(n,r)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(r),u=>{a.length>1?a.forEach(s=>s(u)):a[0](u)}};nu=t("__VUE_INSTANCE_SETTERS__",n=>ft=n),t("__VUE_SSR_SETTERS__",n=>er=n)}const ps=e=>{const t=ft;return nu(e),e.scope.on(),()=>{e.scope.off(),nu(t)}};function gg(e){return e.vnode.shapeFlag&4}let er=!1;process.env.NODE_ENV;function bg(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Dv(Cv(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Zt)return Zt[n](e)},has(t,n){return n in t||n in Zt}})):e.proxy}const Cg=/(?:^|[-_])(\w)/g,Fg=e=>e.replace(Cg,t=>t.toUpperCase()).replace(/[-_]/g,"");function _s(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function ms(e,t,n=!1){let r=_s(t);if(!r&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(r=a[1])}if(!r&&e&&e.parent){const a=u=>{for(const s in u)if(u[s]===t)return s};r=a(e.components||e.parent.type.components)||a(e.appContext.components)}return r?Fg(r):n?"App":"Anonymous"}function hs(e){return ae(e)&&"__vccOpts"in e}const ke=(e,t)=>{const n=Iv(e,t,er);if(process.env.NODE_ENV!=="production"){const r=Ot();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function vs(e,t,n){const r=arguments.length;return r===2?me(t)&&!Z(t)?eu(t)?Bt(e,null,[t]):Bt(e,t):Bt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&eu(n)&&(n=[n]),Bt(e,t,n))}function Ag(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},a={__vue_custom_formatter:!0,header(c){return me(c)?c.__isVue?["div",e,"VueInstance"]:de(c)?["div",{},["span",e,m(c)],"<",o("_value"in c?c._value:c),">"]:Ft(c)?["div",{},["span",e,ge(c)?"ShallowReactive":"Reactive"],"<",o(c),`>${Ge(c)?" (readonly)":""}`]:Ge(c)?["div",{},["span",e,ge(c)?"ShallowReadonly":"Readonly"],"<",o(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...u(c.$)]}};function u(c){const d=[];c.type.props&&c.props&&d.push(s("props",P(c.props))),c.setupState!==Ie&&d.push(s("setup",c.setupState)),c.data!==Ie&&d.push(s("data",P(c.data)));const A=i(c,"computed");A&&d.push(s("computed",A));const S=i(c,"inject");return S&&d.push(s("injected",S)),d.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),d}function s(c,d){return d=Ae({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(A=>["div",{},["span",r,A+": "],o(d[A],!1)])]]:["span",{}]}function o(c,d=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:me(c)?["object",{object:d?P(c):c}]:["span",n,String(c)]}function i(c,d){const A=c.type;if(ae(A))return;const S={};for(const L in c.ctx)E(A,L,d)&&(S[L]=c.ctx[L]);return S}function E(c,d,A){const S=c[A];if(Z(S)&&S.includes(d)||me(S)&&d in S||c.extends&&E(c.extends,d,A)||c.mixins&&c.mixins.some(L=>E(L,d,A)))return!0}function m(c){return ge(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(a):window.devtoolsFormatters=[a]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
36
|
+
* vue v3.5.6
|
|
37
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
38
|
+
* @license MIT
|
|
39
|
+
**/function Ng(){Ag()}process.env.NODE_ENV!=="production"&&Ng();function Dg(){return gs().__VUE_DEVTOOLS_GLOBAL_HOOK__}function gs(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const Sg=typeof Proxy=="function",Ig="devtools-plugin:setup",Bg="plugin:settings:set";let Tt,ru;function Og(){var e;return Tt!==void 0||(typeof window!="undefined"&&window.performance?(Tt=!0,ru=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(Tt=!0,ru=globalThis.perf_hooks.performance):Tt=!1),Tt}function Tg(){return Og()?ru.now():Date.now()}class Lg{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const o=t.settings[s];r[s]=o.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let u=Object.assign({},r);try{const s=localStorage.getItem(a),o=JSON.parse(s);Object.assign(u,o)}catch(s){}this.fallbacks={getSettings(){return u},setSettings(s){try{localStorage.setItem(a,JSON.stringify(s))}catch(o){}u=s},now(){return Tg()}},n&&n.on(Bg,(s,o)=>{s===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(s,o)=>this.target?this.target.on[o]:(...i)=>{this.onQueue.push({method:o,args:i})}}),this.proxiedTarget=new Proxy({},{get:(s,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...i)=>(this.targetQueue.push({method:o,args:i,resolve:()=>{}}),this.fallbacks[o](...i)):(...i)=>new Promise(E=>{this.targetQueue.push({method:o,args:i,resolve:E})})})}setRealTarget(t){return bn(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function yg(e,t){const n=e,r=gs(),a=Dg(),u=Sg&&n.enableEarlyProxy;if(a&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!u))a.emit(Ig,e,t);else{const s=u?new Lg(n,a):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
|
|
40
|
+
* vue-i18n v9.14.0
|
|
41
|
+
* (c) 2024 kazuya kawaguchi
|
|
42
|
+
* Released under the MIT License.
|
|
43
|
+
*/const Rg="9.14.0";function wg(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ue().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ue().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ue().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ue().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ue().__INTLIFY_PROD_DEVTOOLS__=!1)}const bs=_e.__EXTEND_POINT__,Ke=Sn(bs),ee={FALLBACK_TO_ROOT:bs,NOT_SUPPORTED_PRESERVE:Ke(),NOT_SUPPORTED_FORMATTER:Ke(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ke(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ke(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ke(),NOT_FOUND_PARENT_SCOPE:Ke(),IGNORE_OBJ_FLATTEN:Ke(),NOTICE_DROP_ALLOW_COMPOSITION:Ke(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Ke()},Mg={[ee.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ee.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ee.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ee.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ee.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ee.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ee.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ee.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ee.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[ee.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function be(e,...t){return Ut(Mg[e],...t)}const Cs=ce.__EXTEND_POINT__,Ce=Sn(Cs),k={UNEXPECTED_RETURN_TYPE:Cs,INVALID_ARGUMENT:Ce(),MUST_BE_CALL_SETUP_TOP:Ce(),NOT_INSTALLED:Ce(),NOT_AVAILABLE_IN_LEGACY_MODE:Ce(),REQUIRED_VALUE:Ce(),INVALID_VALUE:Ce(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ce(),NOT_INSTALLED_WITH_PROVIDE:Ce(),UNEXPECTED_ERROR:Ce(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ce(),BRIDGE_SUPPORT_VUE_2_ONLY:Ce(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ce(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ce(),__EXTEND_POINT__:Ce()};function le(e,...t){return _t(e,null,process.env.NODE_ENV!=="production"?{messages:$g,args:t}:void 0)}const $g={[k.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[k.INVALID_ARGUMENT]:"Invalid argument",[k.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[k.NOT_INSTALLED]:"Need to install with `app.use` function",[k.UNEXPECTED_ERROR]:"Unexpected error",[k.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[k.REQUIRED_VALUE]:"Required in value: {0}",[k.INVALID_VALUE]:"Invalid value",[k.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[k.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[k.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[k.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[k.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[k.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},uu=Le("__translateVNode"),au=Le("__datetimeParts"),su=Le("__numberParts"),dt=Le("__enableEmitter"),en=Le("__disableEmitter"),Fs=Le("__setPluralRules");Le("__intlifyMeta");const As=Le("__injectWithOption"),ou=Le("__dispose");function tn(e){if(!U(e))return e;for(const t in e)if(!!Dn(e,t))if(!t.includes("."))U(e[t])&&tn(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,u=!1;for(let s=0;s<r;s++){if(n[s]in a||(a[n[s]]={}),!U(a[n[s]])){process.env.NODE_ENV!=="production"&&ie(be(ee.IGNORE_OBJ_FLATTEN,{key:n[s]})),u=!0;break}a=a[n[s]]}u||(a[n[r]]=e[t],delete e[t]),U(a[n[r]])&&tn(a[n[r]])}return e}function tr(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:u}=t,s=M(n)?n:q(r)?{}:{[e]:{}};if(q(r)&&r.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:i,resource:E}=o;i?(s[i]=s[i]||{},Bn(E,s[i])):Bn(E,s)}else O(o)&&Bn(JSON.parse(o),s)}),a==null&&u)for(const o in s)Dn(s,o)&&tn(s[o]);return s}function Ns(e){return e.type}function Ds(e,t,n){let r=U(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=tr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(u=>{e.mergeLocaleMessage(u,r[u])});{if(U(t.datetimeFormats)){const u=Object.keys(t.datetimeFormats);u.length&&u.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(U(t.numberFormats)){const u=Object.keys(t.numberFormats);u.length&&u.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Ss(e){return Bt(cs,null,e,0)}const Is="__INTLIFY_META__",Bs=()=>[],Pg=()=>!1;let Os=0;function Ts(e){return(t,n,r,a)=>e(n,r,Ot()||void 0,a)}const kg=()=>{const e=Ot();let t=null;return e&&(t=Ns(e)[Is])?{[Is]:t}:null};function iu(e={},t){const{__root:n,__injectWithOption:r}=e,a=n===void 0,u=e.flatJson,s=Te?At:Ka,o=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&Ru(be(ee.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let i=$(e.inheritLocale)?e.inheritLocale:!0;const E=s(n&&i?n.locale.value:O(e.locale)?e.locale:vt),m=s(n&&i?n.fallbackLocale.value:O(e.fallbackLocale)||q(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:E.value),c=s(tr(E.value,e)),d=s(M(e.datetimeFormats)?e.datetimeFormats:{[E.value]:{}}),A=s(M(e.numberFormats)?e.numberFormats:{[E.value]:{}});let S=n?n.missingWarn:$(e.missingWarn)||Xe(e.missingWarn)?e.missingWarn:!0,L=n?n.fallbackWarn:$(e.fallbackWarn)||Xe(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:$(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,F=K(e.missing)?e.missing:null,p=K(e.missing)?Ts(e.missing):null,_=K(e.postTranslation)?e.postTranslation:null,h=n?n.warnHtmlMessage:$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const N=n?n.modifiers:M(e.modifiers)?e.modifiers:{};let T=e.pluralRules||n&&n.pluralRules,I;I=(()=>{a&&Zu(null);const v={version:Rg,locale:E.value,fallbackLocale:m.value,messages:c.value,modifiers:N,pluralRules:T,missing:p===null?void 0:p,missingWarn:S,fallbackWarn:L,fallbackFormat:b,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};v.datetimeFormats=d.value,v.numberFormats=A.value,v.__datetimeFormatters=M(I)?I.__datetimeFormatters:void 0,v.__numberFormatters=M(I)?I.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(v.__v_emitter=M(I)?I.__v_emitter:void 0);const D=Nh(v);return a&&Zu(D),D})(),Ht(I,E.value,m.value);function De(){return[E.value,m.value,c.value,d.value,A.value]}const x=ke({get:()=>E.value,set:v=>{E.value=v,I.locale=E.value}}),Ee=ke({get:()=>m.value,set:v=>{m.value=v,I.fallbackLocale=m.value,Ht(I,E.value,v)}}),rn=ke(()=>c.value),un=ke(()=>d.value),Ve=ke(()=>A.value);function an(){return K(_)?_:null}function sn(v){_=v,I.postTranslation=v}function on(){return F}function ln(v){v!==null&&(p=Ts(v)),F=v,I.missing=p}function cn(v,D){return v!=="translate"||!D.resolvedMessage}const Oe=(v,D,G,ne,nt,rr)=>{De();let wt;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&zu(kg()),a||(I.fallbackContext=n?Ah():void 0),wt=v(I)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&zu(null),a||(I.fallbackContext=void 0)}if(G!=="translate exists"&&se(wt)&&wt===Ln||G==="translate exists"&&!wt){const[pt,x5]=D();if(process.env.NODE_ENV!=="production"&&n&&O(pt)&&cn(G,x5)&&(y&&(Rn(L,pt)||ea(S,pt))&&ie(be(ee.FALLBACK_TO_ROOT,{key:pt,type:G})),process.env.NODE_ENV!=="production")){const{__v_emitter:Zs}=I;Zs&&y&&Zs.emit("fallback",{type:G,key:pt,to:"global",groupId:`${G}:${pt}`})}return n&&y?ne(n):nt(pt)}else{if(rr(wt))return wt;throw le(k.UNEXPECTED_RETURN_TYPE)}};function Lt(...v){return Oe(D=>Reflect.apply(ia,null,[D,...v]),()=>vr(...v),"translate",D=>Reflect.apply(D.t,D,[...v]),D=>D,D=>O(D))}function yt(...v){const[D,G,ne]=v;if(ne&&!U(ne))throw le(k.INVALID_ARGUMENT);return Lt(D,G,oe({resolvedMessage:!0},ne||{}))}function fn(...v){return Oe(D=>Reflect.apply(Ea,null,[D,...v]),()=>gr(...v),"datetime format",D=>Reflect.apply(D.d,D,[...v]),()=>yn,D=>O(D))}function dn(...v){return Oe(D=>Reflect.apply(ma,null,[D,...v]),()=>br(...v),"number format",D=>Reflect.apply(D.n,D,[...v]),()=>yn,D=>O(D))}function En(v){return v.map(D=>O(D)||se(D)||$(D)?Ss(String(D)):D)}const pn={normalize:En,interpolate:v=>v,type:"vnode"};function Rt(...v){return Oe(D=>{let G;const ne=D;try{ne.processor=pn,G=Reflect.apply(ia,null,[ne,...v])}finally{ne.processor=null}return G},()=>vr(...v),"translate",D=>D[uu](...v),D=>[Ss(D)],D=>q(D))}function _n(...v){return Oe(D=>Reflect.apply(ma,null,[D,...v]),()=>br(...v),"number format",D=>D[su](...v),Bs,D=>O(D)||q(D))}function mn(...v){return Oe(D=>Reflect.apply(Ea,null,[D,...v]),()=>gr(...v),"datetime format",D=>D[au](...v),Bs,D=>O(D)||q(D))}function hn(v){T=v,I.pluralRules=T}function B(v,D){return Oe(()=>{if(!v)return!1;const G=O(D)?D:E.value,ne=Et(G),nt=I.messageResolver(ne,v);return o?nt!=null:ze(nt)||Se(nt)||O(nt)},()=>[v],"translate exists",G=>Reflect.apply(G.te,G,[v,D]),Pg,G=>$(G))}function H(v){let D=null;const G=Wu(I,m.value,E.value);for(let ne=0;ne<G.length;ne++){const nt=c.value[G[ne]]||{},rr=I.messageResolver(nt,v);if(rr!=null){D=rr;break}}return D}function vn(v){const D=H(v);return D!=null?D:n?n.tm(v)||{}:{}}function Et(v){return c.value[v]||{}}function gn(v,D){if(u){const G={[v]:D};for(const ne in G)Dn(G,ne)&&tn(G[ne]);D=G[v]}c.value[v]=D,I.messages=c.value}function hu(v,D){c.value[v]=c.value[v]||{};const G={[v]:D};if(u)for(const ne in G)Dn(G,ne)&&tn(G[ne]);D=G[v],Bn(D,c.value[v]),I.messages=c.value}function l(v){return d.value[v]||{}}function f(v,D){d.value[v]=D,I.datetimeFormats=d.value,_a(I,v,D)}function C(v,D){d.value[v]=oe(d.value[v]||{},D),I.datetimeFormats=d.value,_a(I,v,D)}function R(v){return A.value[v]||{}}function te(v,D){A.value[v]=D,I.numberFormats=A.value,va(I,v,D)}function X(v,D){A.value[v]=oe(A.value[v]||{},D),I.numberFormats=A.value,va(I,v,D)}Os++,n&&Te&&(Yr(n.locale,v=>{i&&(E.value=v,I.locale=v,Ht(I,E.value,m.value))}),Yr(n.fallbackLocale,v=>{i&&(m.value=v,I.fallbackLocale=v,Ht(I,E.value,m.value))}));const j={id:Os,locale:x,fallbackLocale:Ee,get inheritLocale(){return i},set inheritLocale(v){i=v,v&&n&&(E.value=n.locale.value,m.value=n.fallbackLocale.value,Ht(I,E.value,m.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:rn,get modifiers(){return N},get pluralRules(){return T||{}},get isGlobal(){return a},get missingWarn(){return S},set missingWarn(v){S=v,I.missingWarn=S},get fallbackWarn(){return L},set fallbackWarn(v){L=v,I.fallbackWarn=L},get fallbackRoot(){return y},set fallbackRoot(v){y=v},get fallbackFormat(){return b},set fallbackFormat(v){b=v,I.fallbackFormat=b},get warnHtmlMessage(){return h},set warnHtmlMessage(v){h=v,I.warnHtmlMessage=v},get escapeParameter(){return g},set escapeParameter(v){g=v,I.escapeParameter=v},t:Lt,getLocaleMessage:Et,setLocaleMessage:gn,mergeLocaleMessage:hu,getPostTranslationHandler:an,setPostTranslationHandler:sn,getMissingHandler:on,setMissingHandler:ln,[Fs]:hn};return j.datetimeFormats=un,j.numberFormats=Ve,j.rt=yt,j.te=B,j.tm=vn,j.d=fn,j.n=dn,j.getDateTimeFormat=l,j.setDateTimeFormat=f,j.mergeDateTimeFormat=C,j.getNumberFormat=R,j.setNumberFormat=te,j.mergeNumberFormat=X,j[As]=r,j[uu]=Rt,j[au]=mn,j[su]=_n,process.env.NODE_ENV!=="production"&&(j[dt]=v=>{I.__v_emitter=v},j[en]=()=>{I.__v_emitter=void 0}),j}function Vg(e){const t=O(e.locale)?e.locale:vt,n=O(e.fallbackLocale)||q(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=K(e.missing)?e.missing:void 0,a=$(e.silentTranslationWarn)||Xe(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,u=$(e.silentFallbackWarn)||Xe(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=$(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,i=M(e.modifiers)?e.modifiers:{},E=e.pluralizationRules,m=K(e.postTranslation)?e.postTranslation:void 0,c=O(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,A=$(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&ie(be(ee.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&ie(be(ee.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let S=e.messages;if(M(e.sharedMessages)){const g=e.sharedMessages;S=Object.keys(g).reduce((T,I)=>{const J=T[I]||(T[I]={});return oe(J,g[I]),T},S||{})}const{__i18n:L,__root:y,__injectWithOption:b}=e,F=e.datetimeFormats,p=e.numberFormats,_=e.flatJson,h=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:S,flatJson:_,datetimeFormats:F,numberFormats:p,missing:r,missingWarn:a,fallbackWarn:u,fallbackRoot:s,fallbackFormat:o,modifiers:i,pluralRules:E,postTranslation:m,warnHtmlMessage:c,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:A,translateExistCompatible:h,__i18n:L,__root:y,__injectWithOption:b}}function lu(e={},t){{const n=iu(Vg(e)),{__extender:r}=e,a={id:n.id,get locale(){return n.locale.value},set locale(u){n.locale.value=u},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(u){n.fallbackLocale.value=u},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&ie(be(ee.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(u){process.env.NODE_ENV!=="production"&&ie(be(ee.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(u){n.setMissingHandler(u)},get silentTranslationWarn(){return $(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(u){n.missingWarn=$(u)?!u:u},get silentFallbackWarn(){return $(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(u){n.fallbackWarn=$(u)?!u:u},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(u){n.fallbackFormat=u},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(u){n.setPostTranslationHandler(u)},get sync(){return n.inheritLocale},set sync(u){n.inheritLocale=u},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(u){n.warnHtmlMessage=u!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(u){n.escapeParameter=u},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&ie(be(ee.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(u){process.env.NODE_ENV!=="production"&&ie(be(ee.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...u){const[s,o,i]=u,E={};let m=null,c=null;if(!O(s))throw le(k.INVALID_ARGUMENT);const d=s;return O(o)?E.locale=o:q(o)?m=o:M(o)&&(c=o),q(i)?m=i:M(i)&&(c=i),Reflect.apply(n.t,n,[d,m||c||{},E])},rt(...u){return Reflect.apply(n.rt,n,[...u])},tc(...u){const[s,o,i]=u,E={plural:1};let m=null,c=null;if(!O(s))throw le(k.INVALID_ARGUMENT);const d=s;return O(o)?E.locale=o:se(o)?E.plural=o:q(o)?m=o:M(o)&&(c=o),O(i)?E.locale=i:q(i)?m=i:M(i)&&(c=i),Reflect.apply(n.t,n,[d,m||c||{},E])},te(u,s){return n.te(u,s)},tm(u){return n.tm(u)},getLocaleMessage(u){return n.getLocaleMessage(u)},setLocaleMessage(u,s){n.setLocaleMessage(u,s)},mergeLocaleMessage(u,s){n.mergeLocaleMessage(u,s)},d(...u){return Reflect.apply(n.d,n,[...u])},getDateTimeFormat(u){return n.getDateTimeFormat(u)},setDateTimeFormat(u,s){n.setDateTimeFormat(u,s)},mergeDateTimeFormat(u,s){n.mergeDateTimeFormat(u,s)},n(...u){return Reflect.apply(n.n,n,[...u])},getNumberFormat(u){return n.getNumberFormat(u)},setNumberFormat(u,s){n.setNumberFormat(u,s)},mergeNumberFormat(u,s){n.mergeNumberFormat(u,s)},getChoiceIndex(u,s){return process.env.NODE_ENV!=="production"&&ie(be(ee.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return a.__extender=r,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=u=>{const s=n;s[dt]&&s[dt](u)},a.__disableEmitter=()=>{const u=n;u[en]&&u[en]()}),a}}const cu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function xg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===Qn?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function Ls(e){return Qn}const fu=qr({name:"i18n-t",props:oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>se(e)||!isNaN(e)}},cu),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||_u({useScope:e.scope,__useComponent:!0});return()=>{const u=Object.keys(n).filter(c=>c!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=O(e.plural)?+e.plural:e.plural);const o=xg(t,u),i=a[uu](e.keypath,o,s),E=oe({},r),m=O(e.tag)||U(e.tag)?e.tag:Ls();return vs(m,E,i)}}});function Ug(e){return q(e)&&!O(e[0])}function ys(e,t,n,r){const{slots:a,attrs:u}=t;return()=>{const s={part:!0};let o={};e.locale&&(s.locale=e.locale),O(e.format)?s.key=e.format:U(e.format)&&(O(e.format.key)&&(s.key=e.format.key),o=Object.keys(e.format).reduce((d,A)=>n.includes(A)?oe({},d,{[A]:e.format[A]}):d,{}));const i=r(e.value,s,o);let E=[s.key];q(i)?E=i.map((d,A)=>{const S=a[d.type],L=S?S({[d.type]:d.value,index:A,parts:i}):[d.value];return Ug(L)&&(L[0].key=`${d.type}-${A}`),L}):O(i)&&(E=[i]);const m=oe({},u),c=O(e.tag)||U(e.tag)?e.tag:Ls();return vs(c,m,E)}}const Rs=qr({name:"i18n-n",props:oe({value:{type:Number,required:!0},format:{type:[String,Object]}},cu),setup(e,t){const n=e.i18n||_u({useScope:e.scope,__useComponent:!0});return ys(e,t,ha,(...r)=>n[su](...r))}}),ws=qr({name:"i18n-d",props:oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},cu),setup(e,t){const n=e.i18n||_u({useScope:e.scope,__useComponent:!0});return ys(e,t,pa,(...r)=>n[au](...r))}});function Wg(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Hg(e){const t=s=>{const{instance:o,modifiers:i,value:E}=s;if(!o||!o.$)throw le(k.UNEXPECTED_ERROR);const m=Wg(e,o.$);process.env.NODE_ENV!=="production"&&i.preserve&&ie(be(ee.NOT_SUPPORTED_PRESERVE));const c=Ms(E);return[Reflect.apply(m.t,m,[...$s(c)]),m]};return{created:(s,o)=>{const[i,E]=t(o);Te&&e.global===E&&(s.__i18nWatcher=Yr(E.locale,()=>{o.instance&&o.instance.$forceUpdate()})),s.__composer=E,s.textContent=i},unmounted:s=>{Te&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:o})=>{if(s.__composer){const i=s.__composer,E=Ms(o);s.textContent=Reflect.apply(i.t,i,[...$s(E)])}},getSSRProps:s=>{const[o]=t(s);return{textContent:o}}}}function Ms(e){if(O(e))return{path:e};if(M(e)){if(!("path"in e))throw le(k.REQUIRED_VALUE,"path");return e}else throw le(k.INVALID_VALUE)}function $s(e){const{path:t,locale:n,args:r,choice:a,plural:u}=e,s={},o=r||{};return O(n)&&(s.locale=n),se(a)&&(s.plural=a),se(u)&&(s.plural=u),[t,o,s]}function Gg(e,t,...n){const r=M(n[0])?n[0]:{},a=!!r.useI18nComponentName,u=$(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&u&&a&&ie(be(ee.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:fu.name})),u&&([a?"i18n":fu.name,"I18nT"].forEach(s=>e.component(s,fu)),[Rs.name,"I18nN"].forEach(s=>e.component(s,Rs)),[ws.name,"I18nD"].forEach(s=>e.component(s,ws))),e.directive("t",Hg(t))}const du={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},jg={["vue-i18n-resource-inspector"]:"Search for scopes ..."},Kg={["vue-i18n-timeline"]:16764185},Ps="vue-i18n: composer properties";let Eu;function Xg(e,t){return bn(this,null,function*(){return new Promise((n,r)=>{try{yg({id:"vue-devtools-plugin-vue-i18n",label:du["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Ps],app:e},a=>{Eu=a,a.on.visitComponentTree(({componentInstance:s,treeNode:o})=>{qg(s,o,t)}),a.on.inspectComponent(({componentInstance:s,instanceData:o})=>{s.vnode.el&&s.vnode.el.__VUE_I18N__&&o&&(t.mode==="legacy"?s.vnode.el.__VUE_I18N__!==t.global.__composer&&Vs(o,s.vnode.el.__VUE_I18N__):Vs(o,s.vnode.el.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:du["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:jg["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&Yg(s,t)});const u=new Map;a.on.getInspectorState(s=>bn(this,null,function*(){if(s.app===e&&s.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),t5(s,t),s.nodeId==="global"){if(!u.has(s.app)){const[o]=yield a.getComponentInstances(s.app);u.set(s.app,o)}a.highlightElement(u.get(s.app))}else{const o=e5(s.nodeId,t);o&&a.highlightElement(o)}})),a.on.editInspectorState(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&r5(s,t)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:du["vue-i18n-timeline"],color:Kg["vue-i18n-timeline"]}),n(!0)})}catch(a){console.error(a),r(!1)}})})}function ks(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function qg(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const a={label:`i18n (${ks(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}function Vs(e,t){const n=Ps;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:pu(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function pu(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];K(r)&&"source"in r?t[n]=Zg(r):ze(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:U(r)?t[n]=pu(r):t[n]=r}),t}const Jg={"<":"<",">":">",'"':""","&":"&"};function zg(e){return e.replace(/[<>"&]/g,Qg)}function Qg(e){return Jg[e]||e}function Zg(e){const t=e.source?`("${zg(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function Yg(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,a]of t.__instances){const u=t.mode==="composition"?a:a.__composer;n!==u&&e.rootNodes.push({id:u.id.toString(),label:`${ks(r)} Scope`})}}function e5(e,t){let n=null;if(e!=="global"){for(const[r,a]of t.__instances.entries())if(a.id.toString()===e){n=r;break}}return n}function xs(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function t5(e,t){const n=xs(e.nodeId,t);return n&&(e.state=n5(n)),null}function n5(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const a="Locale messages info",u=[{type:a,key:"messages",editable:!1,value:pu(e.messages.value)}];t[a]=u;{const s="Datetime formats info",o=[{type:s,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[s]=o;const i="Datetime formats info",E=[{type:i,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[i]=E}return t}function nn(e,t){if(Eu){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Eu.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function r5(e,t){const n=xs(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&O(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(O(e.state.value)||q(e.state.value)||U(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&$(e.state.value)&&(n.inheritLocale=e.state.value)}}function u5(e,t,n){return{beforeCreate(){const r=Ot();if(!r)throw le(k.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const u=a.i18n;if(a.__i18n&&(u.__i18n=a.__i18n),u.__root=t,this===this.$root)this.$i18n=Us(e,u);else{u.__injectWithOption=!0,u.__extender=n.__vueI18nExtend,this.$i18n=lu(u);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Us(e,a);else{this.$i18n=lu({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ds(t,a,a),this.$t=(...u)=>this.$i18n.t(...u),this.$rt=(...u)=>this.$i18n.rt(...u),this.$tc=(...u)=>this.$i18n.tc(...u),this.$te=(u,s)=>this.$i18n.te(u,s),this.$d=(...u)=>this.$i18n.d(...u),this.$n=(...u)=>this.$i18n.n(...u),this.$tm=u=>this.$i18n.tm(u),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const a=this.__v_emitter=fr();r.__enableEmitter&&r.__enableEmitter(a),a.on("*",nn)}},unmounted(){const r=Ot();if(!r)throw le(k.UNEXPECTED_ERROR);const a=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",nn),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Us(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Fs](t.pluralizationRules||e.pluralizationRules);const n=tr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const a5=Le("global-vue-i18n");function s5(e={},t){const n=__VUE_I18N_LEGACY_API__&&$(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=$(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,u=new Map,[s,o]=o5(e,n),i=Le(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&a&&ie(be(ee.NOTICE_DROP_ALLOW_COMPOSITION));function E(d){return u.get(d)||null}function m(d,A){u.set(d,A)}function c(d){u.delete(d)}{let A;const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},install(S,...L){return bn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(S.__VUE_I18N__=d),S.__VUE_I18N_SYMBOL__=i,S.provide(S.__VUE_I18N_SYMBOL__,d),M(L[0])){const F=L[0];d.__composerExtend=F.__composerExtend,d.__vueI18nExtend=F.__vueI18nExtend}let y=null;!n&&r&&(y=m5(S,d.global)),__VUE_I18N_FULL_INSTALL__&&Gg(S,d,...L),__VUE_I18N_LEGACY_API__&&n&&S.mixin(u5(o,o.__composer,d));const b=S.unmount;if(S.unmount=()=>{y&&y(),d.dispose(),b()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield Xg(S,d)))throw le(k.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const p=fr();if(n){const _=o;_.__enableEmitter&&_.__enableEmitter(p)}else{const _=o;_[dt]&&_[dt](p)}p.on("*",nn)}})},get global(){return o},dispose(){s.stop()},__instances:u,__getInstance:E,__setInstance:m,__deleteInstance:c};return d}}function _u(e={}){const t=Ot();if(t==null)throw le(k.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw le(k.NOT_INSTALLED);const n=i5(t),r=c5(n),a=Ns(t),u=l5(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw le(k.NOT_AVAILABLE_IN_LEGACY_MODE);return p5(t,u,r,e)}if(u==="global")return Ds(r,e,a),r;if(u==="parent"){let i=f5(n,t,e.__useComponent);return i==null&&(process.env.NODE_ENV!=="production"&&ie(be(ee.NOT_FOUND_PARENT_SCOPE)),i=r),i}const s=n;let o=s.__getInstance(t);if(o==null){const i=oe({},e);"__i18n"in a&&(i.__i18n=a.__i18n),r&&(i.__root=r),o=iu(i),s.__composerExtend&&(o[ou]=s.__composerExtend(o)),E5(s,t,o),s.__setInstance(t,o)}return o}function o5(e,t,n){const r=Qh();{const a=__VUE_I18N_LEGACY_API__&&t?r.run(()=>lu(e)):r.run(()=>iu(e));if(a==null)throw le(k.UNEXPECTED_ERROR);return[r,a]}}function i5(e){{const t=os(e.isCE?a5:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw le(e.isCE?k.NOT_INSTALLED_WITH_PROVIDE:k.UNEXPECTED_ERROR);return t}}function l5(e,t){return Nn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function c5(e){return e.mode==="composition"?e.global:e.global.__composer}function f5(e,t,n=!1){let r=null;const a=t.root;let u=d5(t,n);for(;u!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(u);else if(__VUE_I18N_LEGACY_API__){const o=s.__getInstance(u);o!=null&&(r=o.__composer,n&&r&&!r[As]&&(r=null))}if(r!=null||a===u)break;u=u.parent}return r}function d5(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function E5(e,t,n){let r=null;qv(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=fr();const a=n;a[dt]&&a[dt](r),r.on("*",nn)}},t),Jv(()=>{const a=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",nn),a[en]&&a[en](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const u=a[ou];u&&(u(),delete a[ou])},t)}function p5(e,t,n,r={}){const a=t==="local",u=Ka(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw le(k.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=$(r.inheritLocale)?r.inheritLocale:!O(r.locale),o=At(!a||s?n.locale.value:O(r.locale)?r.locale:vt),i=At(!a||s?n.fallbackLocale.value:O(r.fallbackLocale)||q(r.fallbackLocale)||M(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:o.value),E=At(tr(o.value,r)),m=At(M(r.datetimeFormats)?r.datetimeFormats:{[o.value]:{}}),c=At(M(r.numberFormats)?r.numberFormats:{[o.value]:{}}),d=a?n.missingWarn:$(r.missingWarn)||Xe(r.missingWarn)?r.missingWarn:!0,A=a?n.fallbackWarn:$(r.fallbackWarn)||Xe(r.fallbackWarn)?r.fallbackWarn:!0,S=a?n.fallbackRoot:$(r.fallbackRoot)?r.fallbackRoot:!0,L=!!r.fallbackFormat,y=K(r.missing)?r.missing:null,b=K(r.postTranslation)?r.postTranslation:null,F=a?n.warnHtmlMessage:$(r.warnHtmlMessage)?r.warnHtmlMessage:!0,p=!!r.escapeParameter,_=a?n.modifiers:M(r.modifiers)?r.modifiers:{},h=r.pluralRules||a&&n.pluralRules;function g(){return[o.value,i.value,E.value,m.value,c.value]}const N=ke({get:()=>u.value?u.value.locale.value:o.value,set:B=>{u.value&&(u.value.locale.value=B),o.value=B}}),T=ke({get:()=>u.value?u.value.fallbackLocale.value:i.value,set:B=>{u.value&&(u.value.fallbackLocale.value=B),i.value=B}}),I=ke(()=>u.value?u.value.messages.value:E.value),J=ke(()=>m.value),De=ke(()=>c.value);function x(){return u.value?u.value.getPostTranslationHandler():b}function Ee(B){u.value&&u.value.setPostTranslationHandler(B)}function rn(){return u.value?u.value.getMissingHandler():y}function un(B){u.value&&u.value.setMissingHandler(B)}function Ve(B){return g(),B()}function an(...B){return u.value?Ve(()=>Reflect.apply(u.value.t,null,[...B])):Ve(()=>"")}function sn(...B){return u.value?Reflect.apply(u.value.rt,null,[...B]):""}function on(...B){return u.value?Ve(()=>Reflect.apply(u.value.d,null,[...B])):Ve(()=>"")}function ln(...B){return u.value?Ve(()=>Reflect.apply(u.value.n,null,[...B])):Ve(()=>"")}function cn(B){return u.value?u.value.tm(B):{}}function Oe(B,H){return u.value?u.value.te(B,H):!1}function Lt(B){return u.value?u.value.getLocaleMessage(B):{}}function yt(B,H){u.value&&(u.value.setLocaleMessage(B,H),E.value[B]=H)}function fn(B,H){u.value&&u.value.mergeLocaleMessage(B,H)}function dn(B){return u.value?u.value.getDateTimeFormat(B):{}}function En(B,H){u.value&&(u.value.setDateTimeFormat(B,H),m.value[B]=H)}function nr(B,H){u.value&&u.value.mergeDateTimeFormat(B,H)}function pn(B){return u.value?u.value.getNumberFormat(B):{}}function Rt(B,H){u.value&&(u.value.setNumberFormat(B,H),c.value[B]=H)}function _n(B,H){u.value&&u.value.mergeNumberFormat(B,H)}const mn={get id(){return u.value?u.value.id:-1},locale:N,fallbackLocale:T,messages:I,datetimeFormats:J,numberFormats:De,get inheritLocale(){return u.value?u.value.inheritLocale:s},set inheritLocale(B){u.value&&(u.value.inheritLocale=B)},get availableLocales(){return u.value?u.value.availableLocales:Object.keys(E.value)},get modifiers(){return u.value?u.value.modifiers:_},get pluralRules(){return u.value?u.value.pluralRules:h},get isGlobal(){return u.value?u.value.isGlobal:!1},get missingWarn(){return u.value?u.value.missingWarn:d},set missingWarn(B){u.value&&(u.value.missingWarn=B)},get fallbackWarn(){return u.value?u.value.fallbackWarn:A},set fallbackWarn(B){u.value&&(u.value.missingWarn=B)},get fallbackRoot(){return u.value?u.value.fallbackRoot:S},set fallbackRoot(B){u.value&&(u.value.fallbackRoot=B)},get fallbackFormat(){return u.value?u.value.fallbackFormat:L},set fallbackFormat(B){u.value&&(u.value.fallbackFormat=B)},get warnHtmlMessage(){return u.value?u.value.warnHtmlMessage:F},set warnHtmlMessage(B){u.value&&(u.value.warnHtmlMessage=B)},get escapeParameter(){return u.value?u.value.escapeParameter:p},set escapeParameter(B){u.value&&(u.value.escapeParameter=B)},t:an,getPostTranslationHandler:x,setPostTranslationHandler:Ee,getMissingHandler:rn,setMissingHandler:un,rt:sn,d:on,n:ln,tm:cn,te:Oe,getLocaleMessage:Lt,setLocaleMessage:yt,mergeLocaleMessage:fn,getDateTimeFormat:dn,setDateTimeFormat:En,mergeDateTimeFormat:nr,getNumberFormat:pn,setNumberFormat:Rt,mergeNumberFormat:_n};function hn(B){B.locale.value=o.value,B.fallbackLocale.value=i.value,Object.keys(E.value).forEach(H=>{B.mergeLocaleMessage(H,E.value[H])}),Object.keys(m.value).forEach(H=>{B.mergeDateTimeFormat(H,m.value[H])}),Object.keys(c.value).forEach(H=>{B.mergeNumberFormat(H,c.value[H])}),B.escapeParameter=p,B.fallbackFormat=L,B.fallbackRoot=S,B.fallbackWarn=A,B.missingWarn=d,B.warnHtmlMessage=F}return Xv(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw le(k.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=u.value=e.proxy.$i18n.__composer;t==="global"?(o.value=B.locale.value,i.value=B.fallbackLocale.value,E.value=B.messages.value,m.value=B.datetimeFormats.value,c.value=B.numberFormats.value):a&&hn(B)}),mn}const _5=["locale","fallbackLocale","availableLocales"],Ws=["t","rt","d","n","tm","te"];function m5(e,t){const n=Object.create(null);return _5.forEach(a=>{const u=Object.getOwnPropertyDescriptor(t,a);if(!u)throw le(k.UNEXPECTED_ERROR);const s=de(u.value)?{get(){return u.value.value},set(o){u.value.value=o}}:{get(){return u.get&&u.get()}};Object.defineProperty(n,a,s)}),e.config.globalProperties.$i18n=n,Ws.forEach(a=>{const u=Object.getOwnPropertyDescriptor(t,a);if(!u||!u.value)throw le(k.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,u)}),()=>{delete e.config.globalProperties.$i18n,Ws.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(wg(),__INTLIFY_JIT_COMPILATION__?Ku(Oh):Ku(Bh),bh(eh),Ch(Wu),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ue();e.__INTLIFY__=!0,lh(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const h5=(e,t)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=e.split(".");let r;const a=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((s,o)=>{o===0?r=a[s]:r&&(r=r[s])});let u="";return r&&(u=r),t&&Object.keys(t).forEach(s=>{const o=t[s];u=u.replace(new RegExp(`\\{\\s*${s}\\s*\\}`,"g"),o)}),u||(u=e),u};function v5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g5(e,t,n){return t&&Hs(e.prototype,t),n&&Hs(e,n),e}function b5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V=function(){function e(){v5(this,e)}return g5(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,u,s,o=JSON.parse((s=window.localStorage.getItem("tenantDetail"))!==null&&s!==void 0?s:"{}");if(!(o==null||(u=o.data)===null||u===void 0||(a=u.tenant_auth)===null||a===void 0)&&a.dynamic_multilanguage){var i;return(i=h5("engine."+n))!==null&&i!==void 0?i:this.$i18n.global.t(n,r)}else{var E;return Fn==null||(E=Fn[bu])===null||E===void 0?void 0:E[n]}}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bu;return s5({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,r){var a=r;r||(a=Fn.zhCN),this.$i18n.global.setLocaleMessage(n,a)}}]),e}();b5(V,"$i18n",V.resetI18n());var C5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},F5={exports:{}};(function(e){(function(t){var n=function(b,F,p){if(!E(F)||c(F)||d(F)||A(F)||i(F))return F;var _,h=0,g=0;if(m(F))for(_=[],g=F.length;h<g;h++)_.push(n(b,F[h],p));else{_={};for(var N in F)Object.prototype.hasOwnProperty.call(F,N)&&(_[b(N,p)]=n(b,F[N],p))}return _},r=function(b,F){F=F||{};var p=F.separator||"_",_=F.split||/(?=[A-Z])/;return b.split(_).join(p)},a=function(b){return S(b)?b:(b=b.replace(/[\-_\s]+(.)?/g,function(F,p){return p?p.toUpperCase():""}),b.substr(0,1).toLowerCase()+b.substr(1))},u=function(b){var F=a(b);return F.substr(0,1).toUpperCase()+F.substr(1)},s=function(b,F){return r(b,F).toLowerCase()},o=Object.prototype.toString,i=function(b){return typeof b=="function"},E=function(b){return b===Object(b)},m=function(b){return o.call(b)=="[object Array]"},c=function(b){return o.call(b)=="[object Date]"},d=function(b){return o.call(b)=="[object RegExp]"},A=function(b){return o.call(b)=="[object Boolean]"},S=function(b){return b=b-0,b===b},L=function(b,F){var p=F&&"process"in F?F.process:F;return typeof p!="function"?b:function(_,h){return p(_,b,h)}},y={camelize:a,decamelize:s,pascalize:u,depascalize:s,camelizeKeys:function(b,F){return n(L(a,F),b)},decamelizeKeys:function(b,F){return n(L(s,F),b,F)},pascalizeKeys:function(b,F){return n(L(u,F),b)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=y:t.humps=y})(C5)})(F5);var Gs={};Object.defineProperty(Gs,"__esModule",{value:!0});function mu(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:mu(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:mu(r)}return t}}Gs.default=mu;function js(e){return Object.prototype.toString.call(e)==="[object Object]"}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ks(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N5(e,t,n){return t&&Ks(e.prototype,t),n&&Ks(e,n),e}function D5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S5=[{key:"on_click",name:V.getMessage("click"),code:"click"},{key:"on_click_finish",name:V.getMessage("finished"),code:"click-finish"},{key:"on_change",name:V.getMessage("valueChange"),code:"change"},{key:"on_search",name:V.getMessage("search"),code:"search"},{key:"on_list_change",name:V.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:V.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:V.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:V.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:V.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:V.getMessage("onInput"),code:"input"},{key:"on_blur",name:V.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:V.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:V.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:V.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:V.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:V.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:V.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:V.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:V.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:V.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:V.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:V.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:V.getMessage("modalConfirm"),code:"modal-ok"}],I5=function(){function e(){A5(this,e)}return N5(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(a){return r.includes(a.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],a=n.eventKeys;r=r.concat(e.events.filter(function(s){return a.includes(s.key)}));var u=n.customEvents.map(function(s){var o=s.key;return s.namespace!==void 0&&s.namespace!==null&&s.namespace!==""&&(o=s.namespace+":"+s.key),{key:o,code:s.key,name:s.name}});return r=r.concat(u),r}}]),e}();D5(I5,"events",S5);class Xs{constructor(t){var n,r,a;this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component,this.effect=(n=t.effect)!=null?n:{},this.scopeEffect=(r=t.scopeEffect)!=null?r:Qm,this.defaultValue=t.defaultValue,this.validator=t.validator,this.props=(a=t.props)!=null?a:new Q,this.effectKeys=Object.keys(this.effect)}filterEffects(t){return t===""?Object.values(this.effect):this.effectKeys.filter(n=>new RegExp(`^${n}(\\.\\w+)*$`).test(t)).map(n=>this.effect[n])}callEffectFn(t,n){try{const r=t.apply(null,n);js(r)&&Object.assign(this.props,r)}catch(r){o0(`effect error
|
|
44
|
+
${r}`)}}callEffect(t,...n){this.filterEffects(t).forEach(r=>this.callEffectFn(r,n))}callScopeEffect(...t){this.callEffectFn(this.scopeEffect,t)}}class qs{constructor(t){var n,r;this.type="group",this.title=(n=t.title)!=null?n:"",this.required=(r=t.required)!=null?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(a=>{var u;return(u=a.props)==null?void 0:u.visible})}}function Js(e){return"type"in e&&e.type==="tab"}class zs{constructor(t){this.type="tab",this.title=t.title,this.items=t.items}}class B5 extends Q{constructor(t){super(t),js(t)&&Object.entries(t).forEach(([n,r])=>{this[n]=r})}}class O5 extends Q{constructor(t){var n,r,a,u;super(t),this.maxLength=(n=t==null?void 0:t.maxLength)!=null?n:"",this.minLength=(r=t==null?void 0:t.minLength)!=null?r:"",this.placeholder=(a=t==null?void 0:t.placeholder)!=null?a:"",this.i18n=(u=t==null?void 0:t.i18n)!=null?u:!1}}class T5 extends Q{constructor(t){var n,r,a;super(t),this.max=(n=t==null?void 0:t.max)!=null?n:"",this.min=(r=t==null?void 0:t.min)!=null?r:"",this.placeholder=(a=t==null?void 0:t.placeholder)!=null?a:""}}class L5 extends Q{constructor(t){var n,r,a;super(t),this.showType=(n=t==null?void 0:t.showType)!=null?n:"switch",this.tips=(r=t==null?void 0:t.tips)!=null?r:"",this.disabled=(a=t==null?void 0:t.disabled)!=null?a:!1}}class y5 extends Q{constructor(t){var n;super(t),this.options=(n=t==null?void 0:t.options)!=null?n:[]}}class R5 extends Q{constructor(t){var n,r;super(t),this.placeholder=(n=t==null?void 0:t.placeholder)!=null?n:"",this.options=(r=t==null?void 0:t.options)!=null?r:[]}}class w5 extends Q{constructor(t){var n,r;super(t),this.options=(n=t==null?void 0:t.options)!=null?n:[],this.showType=(r=t==null?void 0:t.showType)!=null?r:"outline"}}class M5 extends Q{constructor(t){var n,r,a,u,s,o;super(t),this.maxLength=(n=t==null?void 0:t.maxLength)!=null?n:"",this.minLength=(r=t==null?void 0:t.minLength)!=null?r:"",this.placeholder=(a=t==null?void 0:t.placeholder)!=null?a:"",this.maxRows=(u=t==null?void 0:t.maxRows)!=null?u:"",this.minRows=(s=t==null?void 0:t.minRows)!=null?s:"",this.i18n=(o=t==null?void 0:t.i18n)!=null?o:!1}}function $5(e,t){switch(e){case"input":return new O5(t);case"textarea":return new M5(t);case"input-number":return new T5(t);case"switch":return new L5(t);case"radio":return new w5(t);case"checkbox":return new y5(t);case"select":return new R5(t);default:return new B5(t)}}function P5(e){return function(t){const n=e.get(t);if(!!n)return new Xs($t(Mt({},n),{props:$5(n.component,"props"in n?n.props:void 0)}))}}function k5(e){const t=e.fields.reduce((a,u)=>(a.set(u.key,u),a),new Map);function n(a){return new qs($t(Mt({},a),{items:a.items.map(P5(t)).filter(Boolean)}))}function r(a){return a.map(n)}return e.groups.map(a=>Js(a)?new zs($t(Mt({},a),{items:r(a.items)})):n(a))}function Qs(){return[{label:V.getMessage("hide"),key:"isHide",type:"boolean",component:"switch"},{key:"superSetting",component:"super-setting"},{key:"style.width",component:"styleComponent",props:{configKey:"style.widthConfig",options:["px","%","fill","hug"]},scopeEffect(e,t){const{oldParent:n,newParent:r,instance:a}=t;if((n==null?void 0:n.type)==="advanced-container"&&r.type==="positioning-container"&&(e.setInstance(a,"style.width",""),e.setInstance(a,"style.widthConfig","fill")),r)return{visible:r.type==="advanced-container"}}},{key:"style.height",component:"styleComponent",props:{configKey:"style.heightConfig",options:["px","%","fill","hug"]},scopeEffect(e,t){const{oldParent:n,newParent:r,instance:a}=t;if((n==null?void 0:n.type)==="advanced-container"&&r.type==="positioning-container"&&(e.setInstance(a,"style.height",""),e.setInstance(a,"style.heightConfig","fill")),t.newParent)return{visible:t.newParent.type==="advanced-container"}}}]}function V5(e){return[...Qs(),{type:"DataBind",key:"dataBind",component:"data-bind",defaultValue:e==null?void 0:e.dataBind},{key:"caption",type:"string",component:"input",props:{maxLength:80,i18n:!0},defaultValue:e==null?void 0:e.caption,validator(t){if(!t)return V.getMessage("titleRequired")}},{label:V.getMessage("hideCaption"),key:"isHideCaption",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.isHideCaption,props:{showType:"checkbox"},scopeEffect(t,n){var r,a;if(((r=n.current)==null?void 0:r.type)!==((a=n.from)==null?void 0:a.type))return n.current.type==="subtable"&&t.setInstance(n.control,"isHideCaption",!0),{visible:n.current.type!=="subtable"}}},{key:"labelPosition",type:"string",component:"radio",defaultValue:e==null?void 0:e.labelPosition,props:{showType:"solid",options:[{label:V.getMessage("top"),value:"top"},{label:V.getMessage("left"),value:"left"}]}},{key:"defaultState",type:"string",component:"radio",defaultValue:e==null?void 0:e.defaultState,props:{showType:"solid",options:[{label:V.getMessage("default"),value:"default"},{label:V.getMessage("readonly"),value:"readonly"}]}},{label:V.getMessage("required"),key:"required",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.required},{label:V.getMessage("textTip"),key:"placeholder",type:"string",component:"input",defaultValue:e==null?void 0:e.placeholder,props:{maxLength:80,i18n:!0}}]}z.Group=qs,z.Setting=Xs,z.Tab=zs,z.createBaseFields=Qs,z.createFormBaseFields=V5,z.defineInstance=re,z.initSettings=k5,z.isTabSchema=Js,Object.defineProperty(z,"__esModule",{value:!0})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-settings",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@byteluck-fe/locale-message": "^1.0.8",
|
|
30
|
-
"@byteluck-fe/model-driven-core": "2.23.0-beta.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "2.23.0-beta.
|
|
30
|
+
"@byteluck-fe/model-driven-core": "2.23.0-beta.6",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "2.23.0-beta.6",
|
|
32
32
|
"tslib": "^2.1.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "6e991d1cb35219f237ab03c34addbdc6bcc14991"
|
|
35
35
|
}
|