提交 7c5c42c5 编写于 作者: zhujiamin's avatar zhujiamin

feat: 插件更新

上级 d333af36
var O = Object.defineProperty;
var A = (e, i, o) => i in e ? O(e, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[i] = o;
var y = (e, i, o) => (A(e, typeof i != "symbol" ? i + "" : i, o), o);
import { PluginStaticResource as E } from "@ibiz-template/runtime";
import { GridModel as I } from "@ibiz-template/model";
import { useNamespace as G, useControlController as M, usePropsWatch as U } from "@ibiz-template/vue-util";
import { ref as b, computed as w, defineComponent as k, h as u, getCurrentInstance as H, watch as T, onUnmounted as L } from "vue";
import { GridController as $, GridRowController as j, GridNotifyState as B } from "@ibiz-template/controller";
const F = new E(import.meta.url);
class q {
constructor() {
y(this, "component", "RfpgGridControl");
}
}
function z(e, i) {
var n;
const o = [];
e.source.columnType === "GROUPGRIDCOLUMN" && e.children.forEach((s) => {
o.push(z(s, i));
});
const t = {
title: e.title,
width: e.source.widthUnit === "STAR" ? void 0 : e.width,
minWidth: e.width,
align: ((n = e.source.align) == null ? void 0 : n.toLowerCase()) || "center",
slot: e.codeName,
key: e.codeName,
fieldName: e.deFieldName,
ellipsis: !0,
tooltip: !1,
// todo 表格提示用title
resizable: !0,
sortable: !i.noSort && e.source.enableSort ? "custom" : !1,
columnType: e.source.columnType,
tree: e.id === "pfzbname",
className: e.id === "pfzbname" ? "pfzbname" : ""
};
return o.length > 0 && Object.assign(t, { children: o }), t;
}
function _(e) {
const i = e.model, o = [], t = i.columns.map((n) => z(n, e));
return i.children.forEach((n) => {
const s = t.find((r) => r.key === n.codeName);
s && n.id !== "lb" && o.push(s);
}), e.singleSelect || o.splice(0, 0, { type: "selection", width: 60 }), o;
}
function V(e) {
const i = b([]);
return e.nerve.self.evt.on("created", () => {
i.value = _(e);
}), [w(() => {
const t = [...i.value];
if (!t.find((r) => !r.width)) {
let r = t.length - 1;
t[r].key === "rowEdit" && (r -= 1), t[r] = {
...t[r],
width: void 0
};
}
const s = t.find((r) => r.columnType === "UAGRIDCOLUMN");
return s && (s.fixed = "right"), t;
}), i];
}
function W(e) {
const i = (r) => e.items.find((a) => a.srfkey === r.srfkey);
function o(r) {
const a = i(r);
e.singleSelect && e.onSelectionChange([a]), e.onRowClick(a);
}
function t(r) {
e.onDbRowClick(i(r));
}
function n(r) {
if (!e.singleSelect) {
const a = [];
r.forEach((l) => {
const h = i(l);
h && a.push(h);
}), e.onSelectionChange(a);
}
}
function s(r) {
const { column: a, order: l } = r, h = l === "asc" || l === "desc" ? l : void 0;
e.setSort(a.fieldName, h), e.load();
}
return { onRowClick: o, onDbRowClick: t, onSelectionChange: n, onSortChange: s };
}
function J(e) {
function i(n) {
!n || n === e.curPage || (e.curPage = n, e.load());
}
function o(n) {
!n || n === e.size || (e.size = n, e.curPage === 1 && e.load());
}
function t() {
e.curPage = 1, e.load();
}
return { onPageChange: i, onPageSizeChange: o, onPageReset: t };
}
const K = k({
name: "AppGridPagination",
props: {
total: {
type: Number,
required: !0
},
curPage: {
type: Number,
required: !0
},
size: {
type: Number,
required: !0
}
},
setup(e) {
const i = G("grid-page"), o = w(() => (e.curPage - 1) * e.size + 1), t = w(() => e.curPage * e.size);
return {
ns: i,
start: o,
end: t
};
},
methods: {
onPageChange(e) {
this.$emit("change", e);
},
onPageSizeChange(e) {
this.$emit("page-size-change", e);
},
pageReset() {
this.$emit("page-reset");
}
},
render() {
return u("div", {
class: this.ns.b()
}, [u("i-page", {
attrs: {
transfer: !0,
total: this.total,
"show-sizer": !0,
"show-elevator": !0,
current: this.curPage,
"page-size": this.size,
"page-size-opts": [10, 20, 30, 40, 50, 60, 70, 80, 90, 100],
"show-total": !0
},
on: {
"on-change": this.onPageChange,
"on-page-size-change": this.onPageSizeChange
}
}, [u("span", {
class: this.ns.b("btn")
}, [u("i-button", {
attrs: {
icon: "md-refresh",
title: "刷新"
},
on: {
click: this.pageReset
}
})]), u("span", ["显示 ", this.start, " - ", this.end, " 条,共 ", this.total, " 条数据"])])]);
}
});
class Q extends $ {
constructor() {
super(...arguments);
/**
* 分组数据
* @return {*}
* @author: zhujiamin
* @Date: 2023-10-09 14:00:38
*/
y(this, "groups", []);
}
/**
* 部件加载后处理
*
* @author lxm
* @date 2022-08-19 14:08:50
*/
async afterLoad(o) {
return await Promise.allSettled(
Object.values(this.fieldColumns).map(async (t) => {
await t.loadCodeList();
})
), this.rows = o.map((t) => {
const n = new j(t, this);
return this.gridStateNotify(n, B.LOAD), n;
}), this.handleGroup(o), o;
}
/**
* 处理分组数据
* @param {ControlVO} items
* @return {*}
* @author: zhujiamin
* @Date: 2023-10-09 14:03:17
*/
handleGroup(o) {
const t = /* @__PURE__ */ new Map();
if (o.forEach((n) => {
const s = n.lb;
t.has(s) || t.set(s, []), t.has(s) && t.get(s).push(n);
}), this.groups = [], t.forEach((n, s) => {
this.groups.push({
caption: `${s}`,
key: s,
children: n
});
}), this.groups.length > 0) {
const n = [
"一",
"二",
"三",
"四",
"五",
"六",
"七",
"八",
"九",
"十"
], s = (r, a) => {
const l = n.indexOf(r.key.substr(0, 1)), h = n.indexOf(a.key.substr(0, 1));
return l === -1 || h === -1 ? r.key.substr(0, 1).localeCompare(a.key.substr(0, 1)) : l - h;
};
this.groups = this.groups.sort(s), this.groups.forEach((r) => {
r.children.sort((a, l) => {
const h = +a.pfzbname.split("、")[0], R = +l.pfzbname.split("、")[0];
return h - R;
});
});
}
}
}
function X(e, i, o, t = {}) {
return M(e, () => {
const n = new Q(i, o, t);
return U(e, "gridRowActiveMode", n.setGridRowActiveMode.bind(n)), n;
});
}
const Y = k({
props: {
modelData: I,
context: {
type: Object,
required: !0
},
params: {
type: Object,
default: () => ({})
},
/**
* 表格行数据默认激活模式
* - 0 不激活
* - 1 单击激活
* - 2 双击激活(默认值)
*
* @type {(number | 0 | 1 | 2)}
*/
gridRowActiveMode: {
type: Number,
default: 2
},
modal: {
type: Object
}
},
setup(e) {
const {
proxy: i
} = H(), o = G("grid"), t = X(i, e.modelData, e.context, e.params), [n] = V(t), {
onRowClick: s,
onDbRowClick: r,
onSelectionChange: a,
onSortChange: l
} = W(t), {
onPageChange: h,
onPageReset: R,
onPageSizeChange: x
} = J(t), D = (d, c) => {
const g = i.$refs.grid;
g && (g.toggleSelect && g.toggleSelect(c), g.highlightCurrentRow && g.highlightCurrentRow(c)), s(d);
}, p = b(0), f = b(null), P = b(null);
let m = null, v = 0;
const S = () => {
var d;
if (f.value && ((d = e.modal) == null ? void 0 : d.mode) !== "EMBED")
if (t.model.source.enablePagingBar && P.value) {
const c = P.value.$el, g = c.offsetHeight + parseFloat(window.getComputedStyle(c).paddingTop);
p.value = f.value.offsetHeight - g;
} else
p.value = f.value.offsetHeight;
t.model.source.height > 0 && (p.value = t.model.source.height);
};
T(f, (d, c) => {
d && d !== c && (S(), window.ResizeObserver && f.value && (m = new ResizeObserver((g) => {
const C = g[0].contentRect.height;
C !== v && (S(), v = C);
}), m.observe(f.value)));
}), L(() => {
m && m.disconnect();
});
const N = w(() => {
const d = [];
return t.groups.forEach((c) => {
if (!c.children.length)
return;
const C = [...c.children].shift();
d.push({
srfkey: c.caption,
isGroupData: !0,
first: C,
children: c.children,
_showChildren: !0
});
}), d;
});
return {
c: t,
ns: o,
columns: n,
tableData: N,
onDbRowClick: r,
onUIRowClick: D,
onSelectionChange: a,
onSortChange: l,
onPageChange: h,
onPageSizeChange: x,
onPageReset: R,
tableHeight: p,
gridRef: f,
girdPaginationRef: P
};
},
render() {
if (!this.c.complete)
return;
const e = {};
return this.c.model.columns.forEach((i) => {
if (i.source.columnType === "GROUPGRIDCOLUMN")
return;
const o = i.codeName;
e[o] = (t) => {
const {
row: n,
column: s
} = t;
if (n.isGroupData && s._index === 1)
return u("div", {
class: this.ns.b("sum"),
attrs: {
title: n.first.lb
}
}, [u("span", [n.first.lb])]);
const r = this.c.rows.find((a) => a.data.srfkey === n.srfkey);
if (r)
return u(this.c.providers[o].component, {
props: {
controller: this.c.columns[o],
row: r
},
key: n.srfkey + o
});
};
}), u("control-layout", {
attrs: {
modelData: this.c.model
}
}, [u("div", {
ref: "gridRef",
class: [this.ns.b(), this.ns.b("rfpg-grid"), this.ns.is("show-header", !this.c.model.source.hideHeader), this.ns.is("enable-page", this.c.model.source.enablePagingBar)]
}, [this.c.groups.length > 0 && u("i-table", {
ref: "grid",
attrs: {
height: this.tableHeight,
"show-header": !this.c.model.source.hideHeader,
"highlight-row": !0,
data: this.tableData,
columns: this.columns,
"row-key": "srfkey"
},
class: this.ns.b("content"),
on: {
"on-row-click": this.onUIRowClick,
"on-row-dblclick": this.onDbRowClick,
"on-selection-change": this.onSelectionChange,
"on-sort-change": this.onSortChange
},
scopedSlots: e
}), this.c.model.source.enablePagingBar && u(K, {
ref: "girdPaginationRef",
attrs: {
total: this.c.total,
curPage: this.c.curPage,
size: this.c.size
},
on: {
change: this.onPageChange,
"page-size-change": this.onPageSizeChange,
"page-reset": this.onPageReset
}
})])]);
}
}), re = {
mateUrl: import.meta.url,
install(e) {
F.loadStyle(["/style.css"]), e.component("RfpgGridControl", Y), ibiz.register.control.register(
"GRID_RENDER_RfpgGird",
new q()
);
}
};
export {
re as default
};
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(l){s=!0,o=l}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||p(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(L){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),c=new k(n||[]);return i(a,"_invoke",{value:S(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=f;var p={};function d(){}function g(){}function v(){}var y={};l(y,c,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(E([])));b&&b!==n&&o.call(b,c)&&(y=b);var w=v.prototype=d.prototype=Object.create(y);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function P(e,r){function n(i,a,c,u){var s=h(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==t(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function S(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return x()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function C(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function E(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:x}}function x(){return{value:void 0,done:!0}}return g.prototype=v,i(w,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:g,configurable:!0}),g.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},O(P.prototype),l(P.prototype,u,(function(){return this})),e.AsyncIterator=P,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),l(w,s,"Generator"),l(w,c,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=E,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function n(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void r(s)}c.done?e(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)}))}}function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}function c(e,r){if(r&&("object"===t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){m(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t){return function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||p(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,b(n.key),n)}}function v(t,e,r){return e&&g(t.prototype,e),r&&g(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(e){var r=function(e,r){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===t(r)?r:String(r)}System.register(["@ibiz-template/runtime","@ibiz-template/model","@ibiz-template/vue-util","vue","@ibiz-template/controller"],(function(t,n){"use strict";var c,s,l,p,d,g,b,w,O,P,S,C,j,R,k;return{setters:[function(t){c=t.PluginStaticResource},function(t){s=t.GridModel},function(t){l=t.useNamespace,p=t.useControlController,d=t.usePropsWatch},function(t){g=t.ref,b=t.computed,w=t.defineComponent,O=t.h,P=t.getCurrentInstance,S=t.watch,C=t.onUnmounted},function(t){j=t.GridController,R=t.GridRowController,k=t.GridNotifyState}],execute:function(){var E=new c(n.meta.url),x=v((function t(){y(this,t),m(this,"component","RfpgGridControl")}));function L(t,e){var r,n=[];"GROUPGRIDCOLUMN"===t.source.columnType&&t.children.forEach((function(t){n.push(L(t,e))}));var o={title:t.title,width:"STAR"===t.source.widthUnit?void 0:t.width,minWidth:t.width,align:(null===(r=t.source.align)||void 0===r?void 0:r.toLowerCase())||"center",slot:t.codeName,key:t.codeName,fieldName:t.deFieldName,ellipsis:!0,tooltip:!1,resizable:!0,sortable:!(e.noSort||!t.source.enableSort)&&"custom",columnType:t.source.columnType,tree:"pfzbname"===t.id,className:"pfzbname"===t.id?"pfzbname":""};return n.length>0&&Object.assign(o,{children:n}),o}function z(t){var e=t.model,r=[],n=e.columns.map((function(e){return L(e,t)}));return e.children.forEach((function(t){var e=n.find((function(e){return e.key===t.codeName}));e&&"lb"!==t.id&&r.push(e)})),t.singleSelect||r.splice(0,0,{type:"selection",width:60}),r}var N=w({name:"AppGridPagination",props:{total:{type:Number,required:!0},curPage:{type:Number,required:!0},size:{type:Number,required:!0}},setup:function(t){return{ns:l("grid-page"),start:b((function(){return(t.curPage-1)*t.size+1})),end:b((function(){return t.curPage*t.size}))}},methods:{onPageChange:function(t){this.$emit("change",t)},onPageSizeChange:function(t){this.$emit("page-size-change",t)},pageReset:function(){this.$emit("page-reset")}},render:function(){return O("div",{class:this.ns.b()},[O("i-page",{attrs:{transfer:!0,total:this.total,"show-sizer":!0,"show-elevator":!0,current:this.curPage,"page-size":this.size,"page-size-opts":[10,20,30,40,50,60,70,80,90,100],"show-total":!0},on:{"on-change":this.onPageChange,"on-page-size-change":this.onPageSizeChange}},[O("span",{class:this.ns.b("btn")},[O("i-button",{attrs:{icon:"md-refresh",title:"刷新"},on:{click:this.pageReset}})]),O("span",["显示 ",this.start," - ",this.end," 条,共 ",this.total," 条数据"])])])}}),G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}(c,t);var e,n=a(c);function c(){var t;y(this,c);for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return m(u(t=n.call.apply(n,[this].concat(r))),"groups",[]),t}return v(c,[{key:"afterLoad",value:(e=o(r().mark((function t(e){var n=this;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.allSettled(Object.values(this.fieldColumns).map(function(){var t=o(r().mark((function t(e){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.loadCodeList();case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 2:return this.rows=e.map((function(t){var e=new R(t,n);return n.gridStateNotify(e,k.LOAD),e})),this.handleGroup(e),t.abrupt("return",e);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"handleGroup",value:function(t){var e=this,r=new Map;if(t.forEach((function(t){var e=t.lb;r.has(e)||r.set(e,[]),r.has(e)&&r.get(e).push(t)})),this.groups=[],r.forEach((function(t,r){e.groups.push({caption:"".concat(r),key:r,children:t})})),this.groups.length>0){var n=["一","二","三","四","五","六","七","八","九","十"];this.groups=this.groups.sort((function(t,e){var r=n.indexOf(t.key.substr(0,1)),o=n.indexOf(e.key.substr(0,1));return-1===r||-1===o?t.key.substr(0,1).localeCompare(e.key.substr(0,1)):r-o})),this.groups.forEach((function(t){t.children.sort((function(t,e){return+t.pfzbname.split("、")[0]-+e.pfzbname.split("、")[0]}))}))}}}]),c}(j);var _=w({props:{modelData:s,context:{type:Object,required:!0},params:{type:Object,default:function(){return{}}},gridRowActiveMode:{type:Number,default:2},modal:{type:Object}},setup:function(t){var r=P().proxy,n=l("grid"),o=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return p(t,(function(){var o=new G(e,r,n);return d(t,"gridRowActiveMode",o.setGridRowActiveMode.bind(o)),o}))}(r,t.modelData,t.context,t.params),i=function(t){var e=g([]);return t.nerve.self.evt.on("created",(function(){e.value=z(t)})),[b((function(){var t=h(e.value);if(!t.find((function(t){return!t.width}))){var r=t.length-1;"rowEdit"===t[r].key&&(r-=1),t[r]=f(f({},t[r]),{},{width:void 0})}var n=t.find((function(t){return"UAGRIDCOLUMN"===t.columnType}));return n&&(n.fixed="right"),t})),e]}(o),a=e(i,1)[0],c=function(t){var e=function(e){return t.items.find((function(t){return t.srfkey===e.srfkey}))};return{onRowClick:function(r){var n=e(r);t.singleSelect&&t.onSelectionChange([n]),t.onRowClick(n)},onDbRowClick:function(r){t.onDbRowClick(e(r))},onSelectionChange:function(r){if(!t.singleSelect){var n=[];r.forEach((function(t){var r=e(t);r&&n.push(r)})),t.onSelectionChange(n)}},onSortChange:function(e){var r=e.column,n=e.order,o="asc"===n||"desc"===n?n:void 0;t.setSort(r.fieldName,o),t.load()}}}(o),u=c.onRowClick,s=c.onDbRowClick,v=c.onSelectionChange,y=c.onSortChange,m=function(t){return{onPageChange:function(e){e&&e!==t.curPage&&(t.curPage=e,t.load())},onPageSizeChange:function(e){e&&e!==t.size&&(t.size=e,1===t.curPage&&t.load())},onPageReset:function(){t.curPage=1,t.load()}}}(o),w=m.onPageChange,O=m.onPageReset,j=m.onPageSizeChange,R=g(0),k=g(null),E=g(null),x=null,L=0,N=function(){var e;if(k.value&&"EMBED"!==(null===(e=t.modal)||void 0===e?void 0:e.mode))if(o.model.source.enablePagingBar&&E.value){var r=E.value.$el,n=r.offsetHeight+parseFloat(window.getComputedStyle(r).paddingTop);R.value=k.value.offsetHeight-n}else R.value=k.value.offsetHeight;o.model.source.height>0&&(R.value=o.model.source.height)};S(k,(function(t,e){t&&t!==e&&(N(),window.ResizeObserver&&k.value&&(x=new ResizeObserver((function(t){var e=t[0].contentRect.height;e!==L&&(N(),L=e)}))).observe(k.value))})),C((function(){x&&x.disconnect()}));var _=b((function(){var t=[];return o.groups.forEach((function(e){if(e.children.length){var r=h(e.children).shift();t.push({srfkey:e.caption,isGroupData:!0,first:r,children:e.children,_showChildren:!0})}})),t}));return{c:o,ns:n,columns:a,tableData:_,onDbRowClick:s,onUIRowClick:function(t,e){var n=r.$refs.grid;n&&(n.toggleSelect&&n.toggleSelect(e),n.highlightCurrentRow&&n.highlightCurrentRow(e)),u(t)},onSelectionChange:v,onSortChange:y,onPageChange:w,onPageSizeChange:j,onPageReset:O,tableHeight:R,gridRef:k,girdPaginationRef:E}},render:function(){var t=this;if(this.c.complete){var e={};return this.c.model.columns.forEach((function(r){if("GROUPGRIDCOLUMN"!==r.source.columnType){var n=r.codeName;e[n]=function(e){var r=e.row,o=e.column;if(r.isGroupData&&1===o._index)return O("div",{class:t.ns.b("sum"),attrs:{title:r.first.lb}},[O("span",[r.first.lb])]);var i=t.c.rows.find((function(t){return t.data.srfkey===r.srfkey}));return i?O(t.c.providers[n].component,{props:{controller:t.c.columns[n],row:i},key:r.srfkey+n}):void 0}}})),O("control-layout",{attrs:{modelData:this.c.model}},[O("div",{ref:"gridRef",class:[this.ns.b(),this.ns.b("rfpg-grid"),this.ns.is("show-header",!this.c.model.source.hideHeader),this.ns.is("enable-page",this.c.model.source.enablePagingBar)]},[this.c.groups.length>0&&O("i-table",{ref:"grid",attrs:{height:this.tableHeight,"show-header":!this.c.model.source.hideHeader,"highlight-row":!0,data:this.tableData,columns:this.columns,"row-key":"srfkey"},class:this.ns.b("content"),on:{"on-row-click":this.onUIRowClick,"on-row-dblclick":this.onDbRowClick,"on-selection-change":this.onSelectionChange,"on-sort-change":this.onSortChange},scopedSlots:e}),this.c.model.source.enablePagingBar&&O(N,{ref:"girdPaginationRef",attrs:{total:this.c.total,curPage:this.c.curPage,size:this.c.size},on:{change:this.onPageChange,"page-size-change":this.onPageSizeChange,"page-reset":this.onPageReset}})])])}}});t("default",{mateUrl:n.meta.url,install:function(t){E.loadStyle(["/style.css"]),t.component("RfpgGridControl",_),ibiz.register.control.register("GRID_RENDER_RfpgGird",new x)}})}}}))}();
!function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function(t){return t&&t.Math==Math&&t},e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),n={},o={get exports(){return n},set exports(t){n=t}},i=e,u=Object.defineProperty,c=function(t,r){try{u(i,t,{value:r,configurable:!0,writable:!0})}catch(e){i[t]=r}return r},a=c,f="__core-js_shared__",s=e[f]||a(f,{}),l=s;(o.exports=function(t,r){return l[t]||(l[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.30.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE",source:"https://github.com/zloirock/core-js"});var p,v,h=function(t){try{return!!t()}catch(r){return!0}},d=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),y=d,g=Function.prototype,m=g.call,b=y&&g.bind.bind(m,m),S=y?b:function(t){return function(){return m.apply(t,arguments)}},w=function(t){return null==t},O=w,E=TypeError,j=function(t){if(O(t))throw E("Can't call method on "+t);return t},x=j,T=Object,I=function(t){return T(x(t))},P=I,A=S({}.hasOwnProperty),R=Object.hasOwn||function(t,r){return A(P(t),r)},C=S,k=0,N=Math.random(),L=C(1..toString),M=function(t){return"Symbol("+(void 0===t?"":t)+")_"+L(++k+N,36)},F="undefined"!=typeof navigator&&String(navigator.userAgent)||"",_=e,D=F,U=_.process,G=_.Deno,z=U&&U.versions||G&&G.version,B=z&&z.v8;B&&(v=(p=B.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!v&&D&&(!(p=D.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=D.match(/Chrome\/(\d+)/))&&(v=+p[1]);var W=v,V=W,H=h,$=!!Object.getOwnPropertySymbols&&!H((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V&&V<41})),J=$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=n,q=R,Y=M,X=$,Q=J,Z=e.Symbol,tt=K("wks"),rt=Q?Z.for||Z:Z&&Z.withoutSetter||Y,et=function(t){return q(tt,t)||(tt[t]=X&&q(Z,t)?Z[t]:rt("Symbol."+t)),tt[t]},nt={};nt[et("toStringTag")]="z";var ot="[object z]"===String(nt),it="object"==typeof document&&document.all,ut={all:it,IS_HTMLDDA:void 0===it&&void 0!==it},ct=ut.all,at=ut.IS_HTMLDDA?function(t){return"function"==typeof t||t===ct}:function(t){return"function"==typeof t},ft={},st=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),lt=at,pt=ut.all,vt=ut.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:lt(t)||t===pt}:function(t){return"object"==typeof t?null!==t:lt(t)},ht=vt,dt=e.document,yt=ht(dt)&&ht(dt.createElement),gt=function(t){return yt?dt.createElement(t):{}},mt=gt,bt=!st&&!h((function(){return 7!=Object.defineProperty(mt("div"),"a",{get:function(){return 7}}).a})),St=st&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),wt=vt,Ot=String,Et=TypeError,jt=function(t){if(wt(t))return t;throw Et(Ot(t)+" is not an object")},xt=d,Tt=Function.prototype.call,It=xt?Tt.bind(Tt):function(){return Tt.apply(Tt,arguments)},Pt=e,At=at,Rt=function(t){return At(t)?t:void 0},Ct=function(t,r){return arguments.length<2?Rt(Pt[t]):Pt[t]&&Pt[t][r]},kt=S({}.isPrototypeOf),Nt=Ct,Lt=at,Mt=kt,Ft=Object,_t=J?function(t){return"symbol"==typeof t}:function(t){var r=Nt("Symbol");return Lt(r)&&Mt(r.prototype,Ft(t))},Dt=String,Ut=function(t){try{return Dt(t)}catch(r){return"Object"}},Gt=at,zt=Ut,Bt=TypeError,Wt=function(t){if(Gt(t))return t;throw Bt(zt(t)+" is not a function")},Vt=Wt,Ht=w,$t=function(t,r){var e=t[r];return Ht(e)?void 0:Vt(e)},Jt=It,Kt=at,qt=vt,Yt=TypeError,Xt=function(t,r){var e,n;if("string"===r&&Kt(e=t.toString)&&!qt(n=Jt(e,t)))return n;if(Kt(e=t.valueOf)&&!qt(n=Jt(e,t)))return n;if("string"!==r&&Kt(e=t.toString)&&!qt(n=Jt(e,t)))return n;throw Yt("Can't convert object to primitive value")},Qt=It,Zt=vt,tr=_t,rr=$t,er=Xt,nr=TypeError,or=et("toPrimitive"),ir=function(t,r){if(!Zt(t)||tr(t))return t;var e,n=rr(t,or);if(n){if(void 0===r&&(r="default"),e=Qt(n,t,r),!Zt(e)||tr(e))return e;throw nr("Can't convert object to primitive value")}return void 0===r&&(r="number"),er(t,r)},ur=ir,cr=_t,ar=function(t){var r=ur(t,"string");return cr(r)?r:r+""},fr=st,sr=bt,lr=St,pr=jt,vr=ar,hr=TypeError,dr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,gr="enumerable",mr="configurable",br="writable";ft.f=fr?lr?function(t,r,e){if(pr(t),r=vr(r),pr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&br in e&&!e.writable){var n=yr(t,r);n&&n.writable&&(t[r]=e.value,e={configurable:mr in e?e.configurable:n.configurable,enumerable:gr in e?e.enumerable:n.enumerable,writable:!1})}return dr(t,r,e)}:dr:function(t,r,e){if(pr(t),r=vr(r),pr(e),sr)try{return dr(t,r,e)}catch(n){}if("get"in e||"set"in e)throw hr("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var Sr={},wr={get exports(){return Sr},set exports(t){Sr=t}},Or=st,Er=R,jr=Function.prototype,xr=Or&&Object.getOwnPropertyDescriptor,Tr=Er(jr,"name"),Ir={EXISTS:Tr,PROPER:Tr&&"something"===function(){}.name,CONFIGURABLE:Tr&&(!Or||Or&&xr(jr,"name").configurable)},Pr=at,Ar=s,Rr=S(Function.toString);Pr(Ar.inspectSource)||(Ar.inspectSource=function(t){return Rr(t)});var Cr,kr,Nr,Lr=Ar.inspectSource,Mr=at,Fr=e.WeakMap,_r=Mr(Fr)&&/native code/.test(String(Fr)),Dr=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},Ur=ft,Gr=Dr,zr=st?function(t,r,e){return Ur.f(t,r,Gr(1,e))}:function(t,r,e){return t[r]=e,t},Br=M,Wr=n("keys"),Vr=function(t){return Wr[t]||(Wr[t]=Br(t))},Hr={},$r=_r,Jr=e,Kr=vt,qr=zr,Yr=R,Xr=s,Qr=Vr,Zr=Hr,te="Object already initialized",re=Jr.TypeError,ee=Jr.WeakMap;if($r||Xr.state){var ne=Xr.state||(Xr.state=new ee);ne.get=ne.get,ne.has=ne.has,ne.set=ne.set,Cr=function(t,r){if(ne.has(t))throw re(te);return r.facade=t,ne.set(t,r),r},kr=function(t){return ne.get(t)||{}},Nr=function(t){return ne.has(t)}}else{var oe=Qr("state");Zr[oe]=!0,Cr=function(t,r){if(Yr(t,oe))throw re(te);return r.facade=t,qr(t,oe,r),r},kr=function(t){return Yr(t,oe)?t[oe]:{}},Nr=function(t){return Yr(t,oe)}}var ie={set:Cr,get:kr,has:Nr,enforce:function(t){return Nr(t)?kr(t):Cr(t,{})},getterFor:function(t){return function(r){var e;if(!Kr(r)||(e=kr(r)).type!==t)throw re("Incompatible receiver, "+t+" required");return e}}},ue=S,ce=h,ae=at,fe=R,se=st,le=Ir.CONFIGURABLE,pe=Lr,ve=ie.enforce,he=ie.get,de=String,ye=Object.defineProperty,ge=ue("".slice),me=ue("".replace),be=ue([].join),Se=se&&!ce((function(){return 8!==ye((function(){}),"length",{value:8}).length})),we=String(String).split("String"),Oe=wr.exports=function(t,r,e){"Symbol("===ge(de(r),0,7)&&(r="["+me(de(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!fe(t,"name")||le&&t.name!==r)&&(se?ye(t,"name",{value:r,configurable:!0}):t.name=r),Se&&e&&fe(e,"arity")&&t.length!==e.arity&&ye(t,"length",{value:e.arity});try{e&&fe(e,"constructor")&&e.constructor?se&&ye(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=ve(t);return fe(n,"source")||(n.source=be(we,"string"==typeof r?r:"")),t};Function.prototype.toString=Oe((function(){return ae(this)&&he(this).source||pe(this)}),"toString");var Ee=at,je=ft,xe=Sr,Te=c,Ie=function(t,r,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:r;if(Ee(e)&&xe(e,i,n),n.global)o?t[r]=e:Te(r,e);else{try{n.unsafe?t[r]&&(o=!0):delete t[r]}catch(u){}o?t[r]=e:je.f(t,r,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Pe=S,Ae=Pe({}.toString),Re=Pe("".slice),Ce=function(t){return Re(Ae(t),8,-1)},ke=ot,Ne=at,Le=Ce,Me=et("toStringTag"),Fe=Object,_e="Arguments"==Le(function(){return arguments}()),De=ke?Le:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(e){}}(r=Fe(t),Me))?e:_e?Le(r):"Object"==(n=Le(r))&&Ne(r.callee)?"Arguments":n},Ue=De,Ge=ot?{}.toString:function(){return"[object "+Ue(this)+"]"};ot||Ie(Object.prototype,"toString",Ge,{unsafe:!0});var ze={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Be=gt("span").classList,We=Be&&Be.constructor&&Be.constructor.prototype,Ve=We===Object.prototype?void 0:We,He=Ce,$e=S,Je=function(t){if("Function"===He(t))return $e(t)},Ke=Wt,qe=d,Ye=Je(Je.bind),Xe=function(t,r){return Ke(t),void 0===r?t:qe?Ye(t,r):function(){return t.apply(r,arguments)}},Qe=h,Ze=Ce,tn=Object,rn=S("".split),en=Qe((function(){return!tn("z").propertyIsEnumerable(0)}))?function(t){return"String"==Ze(t)?rn(t,""):tn(t)}:tn,nn=Math.ceil,on=Math.floor,un=Math.trunc||function(t){var r=+t;return(r>0?on:nn)(r)},cn=function(t){var r=+t;return r!=r||0===r?0:un(r)},an=cn,fn=Math.min,sn=function(t){return t>0?fn(an(t),9007199254740991):0},ln=function(t){return sn(t.length)},pn=Ce,vn=Array.isArray||function(t){return"Array"==pn(t)},hn=S,dn=h,yn=at,gn=De,mn=Lr,bn=function(){},Sn=[],wn=Ct("Reflect","construct"),On=/^\s*(?:class|function)\b/,En=hn(On.exec),jn=!On.exec(bn),xn=function(t){if(!yn(t))return!1;try{return wn(bn,Sn,t),!0}catch(r){return!1}},Tn=function(t){if(!yn(t))return!1;switch(gn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return jn||!!En(On,mn(t))}catch(r){return!0}};Tn.sham=!0;var In=!wn||dn((function(){var t;return xn(xn.call)||!xn(Object)||!xn((function(){t=!0}))||t}))?Tn:xn,Pn=vn,An=In,Rn=vt,Cn=et("species"),kn=Array,Nn=function(t){var r;return Pn(t)&&(r=t.constructor,(An(r)&&(r===kn||Pn(r.prototype))||Rn(r)&&null===(r=r[Cn]))&&(r=void 0)),void 0===r?kn:r},Ln=function(t,r){return new(Nn(t))(0===r?0:r)},Mn=Xe,Fn=en,_n=I,Dn=ln,Un=Ln,Gn=S([].push),zn=function(t){var r=1==t,e=2==t,n=3==t,o=4==t,i=6==t,u=7==t,c=5==t||i;return function(a,f,s,l){for(var p,v,h=_n(a),d=Fn(h),y=Mn(f,s),g=Dn(d),m=0,b=l||Un,S=r?b(a,g):e||u?b(a,0):void 0;g>m;m++)if((c||m in d)&&(v=y(p=d[m],m,h),t))if(r)S[m]=v;else if(v)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Gn(S,p)}else switch(t){case 4:return!1;case 7:Gn(S,p)}return i?-1:n||o?o:S}},Bn={forEach:zn(0),map:zn(1),filter:zn(2),some:zn(3),every:zn(4),find:zn(5),findIndex:zn(6),filterReject:zn(7)},Wn=h,Vn=function(t,r){var e=[][t];return!!e&&Wn((function(){e.call(null,r||function(){return 1},1)}))},Hn=Bn.forEach,$n=Vn("forEach")?[].forEach:function(t){return Hn(this,t,arguments.length>1?arguments[1]:void 0)},Jn=e,Kn=ze,qn=Ve,Yn=$n,Xn=zr,Qn=function(t){if(t&&t.forEach!==Yn)try{Xn(t,"forEach",Yn)}catch(r){t.forEach=Yn}};for(var Zn in Kn)Kn[Zn]&&Qn(Jn[Zn]&&Jn[Zn].prototype);Qn(qn);var to={},ro={},eo={}.propertyIsEnumerable,no=Object.getOwnPropertyDescriptor,oo=no&&!eo.call({1:2},1);ro.f=oo?function(t){var r=no(this,t);return!!r&&r.enumerable}:eo;var io=en,uo=j,co=function(t){return io(uo(t))},ao=st,fo=It,so=ro,lo=Dr,po=co,vo=ar,ho=R,yo=bt,go=Object.getOwnPropertyDescriptor;to.f=ao?go:function(t,r){if(t=po(t),r=vo(r),yo)try{return go(t,r)}catch(e){}if(ho(t,r))return lo(!fo(so.f,t,r),t[r])};var mo={},bo=cn,So=Math.max,wo=Math.min,Oo=function(t,r){var e=bo(t);return e<0?So(e+r,0):wo(e,r)},Eo=co,jo=Oo,xo=ln,To=function(t){return function(r,e,n){var o,i=Eo(r),u=xo(i),c=jo(n,u);if(t&&e!=e){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},Io={includes:To(!0),indexOf:To(!1)},Po=R,Ao=co,Ro=Io.indexOf,Co=Hr,ko=S([].push),No=function(t,r){var e,n=Ao(t),o=0,i=[];for(e in n)!Po(Co,e)&&Po(n,e)&&ko(i,e);for(;r.length>o;)Po(n,e=r[o++])&&(~Ro(i,e)||ko(i,e));return i},Lo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mo=No,Fo=Lo.concat("length","prototype");mo.f=Object.getOwnPropertyNames||function(t){return Mo(t,Fo)};var _o={};_o.f=Object.getOwnPropertySymbols;var Do=Ct,Uo=mo,Go=_o,zo=jt,Bo=S([].concat),Wo=Do("Reflect","ownKeys")||function(t){var r=Uo.f(zo(t)),e=Go.f;return e?Bo(r,e(t)):r},Vo=R,Ho=Wo,$o=to,Jo=ft,Ko=function(t,r,e){for(var n=Ho(r),o=Jo.f,i=$o.f,u=0;u<n.length;u++){var c=n[u];Vo(t,c)||e&&Vo(e,c)||o(t,c,i(r,c))}},qo=h,Yo=at,Xo=/#|\.prototype\./,Qo=function(t,r){var e=ti[Zo(t)];return e==ei||e!=ri&&(Yo(r)?qo(r):!!r)},Zo=Qo.normalize=function(t){return String(t).replace(Xo,".").toLowerCase()},ti=Qo.data={},ri=Qo.NATIVE="N",ei=Qo.POLYFILL="P",ni=Qo,oi=e,ii=to.f,ui=zr,ci=Ie,ai=c,fi=Ko,si=ni,li=function(t,r){var e,n,o,i,u,c=t.target,a=t.global,f=t.stat;if(e=a?oi:f?oi[c]||ai(c,{}):(oi[c]||{}).prototype)for(n in r){if(i=r[n],o=t.dontCallGetSet?(u=ii(e,n))&&u.value:e[n],!si(a?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;fi(i,o)}(t.sham||o&&o.sham)&&ui(i,"sham",!0),ci(e,n,i,t)}},pi=st,vi=vn,hi=TypeError,di=Object.getOwnPropertyDescriptor,yi=pi&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,r){if(vi(t)&&!di(t,"length").writable)throw hi("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r},gi=TypeError,mi=function(t){if(t>9007199254740991)throw gi("Maximum allowed index exceeded");return t},bi=I,Si=ln,wi=yi,Oi=mi;li({target:"Array",proto:!0,arity:1,forced:h((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var r=bi(this),e=Si(r),n=arguments.length;Oi(e+n);for(var o=0;o<n;o++)r[e]=arguments[o],e++;return wi(r,e),e}});var Ei=No,ji=Lo,xi=Object.keys||function(t){return Ei(t,ji)},Ti=st,Ii=S,Pi=It,Ai=h,Ri=xi,Ci=_o,ki=ro,Ni=I,Li=en,Mi=Object.assign,Fi=Object.defineProperty,_i=Ii([].concat),Di=!Mi||Ai((function(){if(Ti&&1!==Mi({b:1},Mi(Fi({},"a",{enumerable:!0,get:function(){Fi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},r={},e=Symbol(),n="abcdefghijklmnopqrst";return t[e]=7,n.split("").forEach((function(t){r[t]=t})),7!=Mi({},t)[e]||Ri(Mi({},r)).join("")!=n}))?function(t,r){for(var e=Ni(t),n=arguments.length,o=1,i=Ci.f,u=ki.f;n>o;)for(var c,a=Li(arguments[o++]),f=i?_i(Ri(a),i(a)):Ri(a),s=f.length,l=0;s>l;)c=f[l++],Ti&&!Pi(u,a,c)||(e[c]=a[c]);return e}:Mi,Ui=Di;li({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ui},{assign:Ui});var Gi=h,zi=W,Bi=et("species"),Wi=function(t){return zi>=51||!Gi((function(){var r=[];return(r.constructor={})[Bi]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},Vi=Bn.map;li({target:"Array",proto:!0,forced:!Wi("map")},{map:function(t){return Vi(this,t,arguments.length>1?arguments[1]:void 0)}});var Hi={},$i=st,Ji=St,Ki=ft,qi=jt,Yi=co,Xi=xi;Hi.f=$i&&!Ji?Object.defineProperties:function(t,r){qi(t);for(var e,n=Yi(r),o=Xi(r),i=o.length,u=0;i>u;)Ki.f(t,e=o[u++],n[e]);return t};var Qi,Zi=Ct("document","documentElement"),tu=jt,ru=Hi,eu=Lo,nu=Hr,ou=Zi,iu=gt,uu=Vr("IE_PROTO"),cu=function(){},au=function(t){return"<script>"+t+"</"+"script>"},fu=function(t){t.write(au("")),t.close();var r=t.parentWindow.Object;return t=null,r},su=function(){try{Qi=new ActiveXObject("htmlfile")}catch(n){}var t,r;su="undefined"!=typeof document?document.domain&&Qi?fu(Qi):((r=iu("iframe")).style.display="none",ou.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(au("document.F=Object")),t.close(),t.F):fu(Qi);for(var e=eu.length;e--;)delete su.prototype[eu[e]];return su()};nu[uu]=!0;var lu=Object.create||function(t,r){var e;return null!==t?(cu.prototype=tu(t),e=new cu,cu.prototype=null,e[uu]=t):e=su(),void 0===r?e:ru.f(e,r)},pu=et,vu=lu,hu=ft.f,du=pu("unscopables"),yu=Array.prototype;null==yu[du]&&hu(yu,du,{configurable:!0,value:vu(null)});var gu=function(t){yu[du][t]=!0},mu=li,bu=Bn.find,Su=gu,wu="find",Ou=!0;wu in[]&&Array(1).find((function(){Ou=!1})),mu({target:"Array",proto:!0,forced:Ou},{find:function(t){return bu(this,t,arguments.length>1?arguments[1]:void 0)}}),Su(wu);var Eu=ar,ju=ft,xu=Dr,Tu=function(t,r,e){var n=Eu(r);n in t?ju.f(t,n,xu(0,e)):t[n]=e},Iu=Ut,Pu=TypeError,Au=function(t,r){if(!delete t[r])throw Pu("Cannot delete property "+Iu(r)+" of "+Iu(t))},Ru=li,Cu=I,ku=Oo,Nu=cn,Lu=ln,Mu=yi,Fu=mi,_u=Ln,Du=Tu,Uu=Au,Gu=Wi("splice"),zu=Math.max,Bu=Math.min;Ru({target:"Array",proto:!0,forced:!Gu},{splice:function(t,r){var e,n,o,i,u,c,a=Cu(this),f=Lu(a),s=ku(t,f),l=arguments.length;for(0===l?e=n=0:1===l?(e=0,n=f-s):(e=l-2,n=Bu(zu(Nu(r),0),f-s)),Fu(f+e-n),o=_u(a,n),i=0;i<n;i++)(u=s+i)in a&&Du(o,i,a[u]);if(o.length=n,e<n){for(i=s;i<f-n;i++)c=i+e,(u=i+n)in a?a[c]=a[u]:Uu(a,c);for(i=f;i>f-n+e;i--)Uu(a,i-1)}else if(e>n)for(i=f-n;i>s;i--)c=i+e-1,(u=i+n-1)in a?a[c]=a[u]:Uu(a,c);for(i=0;i<e;i++)a[i+s]=arguments[i+2];return Mu(a,f-n+e),o}});var Wu=De,Vu=String,Hu=function(t){if("Symbol"===Wu(t))throw TypeError("Cannot convert a Symbol value to a string");return Vu(t)},$u=j,Ju=Hu,Ku=/"/g,qu=S("".replace),Yu=h,Xu=function(t,r,e,n){var o=Ju($u(t)),i="<"+r;return""!==e&&(i+=" "+e+'="'+qu(Ju(n),Ku,"&quot;")+'"'),i+">"+o+"</"+r+">"},Qu=function(t){return Yu((function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3}))};li({target:"String",proto:!0,forced:Qu("fixed")},{fixed:function(){return Xu(this,"tt","","")}});var Zu=e,tc=S,rc=Wt,ec=at,nc=String,oc=TypeError,ic=function(t,r,e){try{return tc(rc(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(n){}},uc=jt,cc=function(t){if("object"==typeof t||ec(t))return t;throw oc("Can't set "+nc(t)+" as a prototype")},ac=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=ic(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(n){}return function(e,n){return uc(e),cc(n),r?t(e,n):e.__proto__=n,e}}():void 0),fc=at,sc=vt,lc=ac,pc=function(t,r,e){var n,o;return lc&&fc(n=r.constructor)&&n!==e&&sc(o=n.prototype)&&o!==e.prototype&&lc(t,o),t},vc=S(1..valueOf),hc=j,dc=Hu,yc="\t\n\v\f\r                 \u2028\u2029\ufeff",gc=S("".replace),mc=RegExp("^["+yc+"]+"),bc=RegExp("(^|[^"+yc+"])["+yc+"]+$"),Sc=function(t){return function(r){var e=dc(hc(r));return 1&t&&(e=gc(e,mc,"")),2&t&&(e=gc(e,bc,"$1")),e}},wc={start:Sc(1),end:Sc(2),trim:Sc(3)},Oc=li,Ec=st,jc=e,xc=Zu,Tc=S,Ic=ni,Pc=R,Ac=pc,Rc=kt,Cc=_t,kc=ir,Nc=h,Lc=mo.f,Mc=to.f,Fc=ft.f,_c=vc,Dc=wc.trim,Uc="Number",Gc=jc.Number;xc.Number;var zc=Gc.prototype,Bc=jc.TypeError,Wc=Tc("".slice),Vc=Tc("".charCodeAt),Hc=function(t){var r=kc(t,"number");return"bigint"==typeof r?r:$c(r)},$c=function(t){var r,e,n,o,i,u,c,a,f=kc(t,"number");if(Cc(f))throw Bc("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=Dc(f),43===(r=Vc(f,0))||45===r){if(88===(e=Vc(f,2))||120===e)return NaN}else if(48===r){switch(Vc(f,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+f}for(u=(i=Wc(f,2)).length,c=0;c<u;c++)if((a=Vc(i,c))<48||a>o)return NaN;return parseInt(i,n)}return+f},Jc=Ic(Uc,!Gc(" 0o1")||!Gc("0b1")||Gc("+0x1")),Kc=function(t){return Rc(zc,t)&&Nc((function(){_c(t)}))},qc=function(t){var r=arguments.length<1?0:Gc(Hc(t));return Kc(this)?Ac(Object(r),this,qc):r};qc.prototype=zc,Jc&&(zc.constructor=qc),Oc({global:!0,constructor:!0,wrap:!0,forced:Jc},{Number:qc});Jc&&function(t,r){for(var e,n=Ec?Lc(r):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)Pc(r,e=n[o])&&!Pc(t,e)&&Fc(t,e,Mc(r,e))}(xc.Number,Gc);var Yc=li,Xc=h,Qc=vn,Zc=vt,ta=I,ra=ln,ea=mi,na=Tu,oa=Ln,ia=Wi,ua=W,ca=et("isConcatSpreadable"),aa=ua>=51||!Xc((function(){var t=[];return t[ca]=!1,t.concat()[0]!==t})),fa=function(t){if(!Zc(t))return!1;var r=t[ca];return void 0!==r?!!r:Qc(t)};Yc({target:"Array",proto:!0,arity:1,forced:!aa||!ia("concat")},{concat:function(t){var r,e,n,o,i,u=ta(this),c=oa(u,0),a=0;for(r=-1,n=arguments.length;r<n;r++)if(fa(i=-1===r?u:arguments[r]))for(o=ra(i),ea(a+o),e=0;e<o;e++,a++)e in i&&na(c,a,i[e]);else ea(a+1),na(c,a++,i);return c.length=a,c}});var sa,la,pa,va={},ha=!h((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),da=R,ya=at,ga=I,ma=ha,ba=Vr("IE_PROTO"),Sa=Object,wa=Sa.prototype,Oa=ma?Sa.getPrototypeOf:function(t){var r=ga(t);if(da(r,ba))return r[ba];var e=r.constructor;return ya(e)&&r instanceof e?e.prototype:r instanceof Sa?wa:null},Ea=h,ja=at,xa=vt,Ta=Oa,Ia=Ie,Pa=et("iterator"),Aa=!1;[].keys&&("next"in(pa=[].keys())?(la=Ta(Ta(pa)))!==Object.prototype&&(sa=la):Aa=!0);var Ra=!xa(sa)||Ea((function(){var t={};return sa[Pa].call(t)!==t}));Ra&&(sa={}),ja(sa[Pa])||Ia(sa,Pa,(function(){return this}));var Ca={IteratorPrototype:sa,BUGGY_SAFARI_ITERATORS:Aa},ka=ft.f,Na=R,La=et("toStringTag"),Ma=function(t,r,e){t&&!e&&(t=t.prototype),t&&!Na(t,La)&&ka(t,La,{configurable:!0,value:r})},Fa=Ca.IteratorPrototype,_a=lu,Da=Dr,Ua=Ma,Ga=va,za=function(){return this},Ba=li,Wa=It,Va=at,Ha=function(t,r,e,n){var o=r+" Iterator";return t.prototype=_a(Fa,{next:Da(+!n,e)}),Ua(t,o,!1),Ga[o]=za,t},$a=Oa,Ja=ac,Ka=Ma,qa=zr,Ya=Ie,Xa=va,Qa=Ir.PROPER,Za=Ir.CONFIGURABLE,tf=Ca.IteratorPrototype,rf=Ca.BUGGY_SAFARI_ITERATORS,ef=et("iterator"),nf="keys",of="values",uf="entries",cf=function(){return this},af=function(t,r,e,n,o,i,u){Ha(e,r,n);var c,a,f,s=function(t){if(t===o&&d)return d;if(!rf&&t in v)return v[t];switch(t){case nf:case of:case uf:return function(){return new e(this,t)}}return function(){return new e(this)}},l=r+" Iterator",p=!1,v=t.prototype,h=v[ef]||v["@@iterator"]||o&&v[o],d=!rf&&h||s(o),y="Array"==r&&v.entries||h;if(y&&(c=$a(y.call(new t)))!==Object.prototype&&c.next&&($a(c)!==tf&&(Ja?Ja(c,tf):Va(c[ef])||Ya(c,ef,cf)),Ka(c,l,!0)),Qa&&o==of&&h&&h.name!==of&&(Za?qa(v,"name",of):(p=!0,d=function(){return Wa(h,this)})),o)if(a={values:s(of),keys:i?d:s(nf),entries:s(uf)},u)for(f in a)(rf||p||!(f in v))&&Ya(v,f,a[f]);else Ba({target:r,proto:!0,forced:rf||p},a);return v[ef]!==d&&Ya(v,ef,d,{name:o}),Xa[r]=d,a},ff=function(t,r){return{value:t,done:r}},sf=co,lf=gu,pf=va,vf=ie,hf=ft.f,df=af,yf=ff,gf=st,mf="Array Iterator",bf=vf.set,Sf=vf.getterFor(mf),wf=df(Array,"Array",(function(t,r){bf(this,{type:mf,target:sf(t),index:0,kind:r})}),(function(){var t=Sf(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,yf(void 0,!0)):yf("keys"==e?n:"values"==e?r[n]:[n,r[n]],!1)}),"values"),Of=pf.Arguments=pf.Array;if(lf("keys"),lf("values"),lf("entries"),gf&&"values"!==Of.name)try{hf(Of,"name",{value:"values"})}catch(Kw){}var Ef,jf,xf,Tf,If="undefined"!=typeof process&&"process"==Ce(process),Pf=Sr,Af=ft,Rf=function(t,r,e){return e.get&&Pf(e.get,r,{getter:!0}),e.set&&Pf(e.set,r,{setter:!0}),Af.f(t,r,e)},Cf=Ct,kf=Rf,Nf=st,Lf=et("species"),Mf=function(t){var r=Cf(t);Nf&&r&&!r[Lf]&&kf(r,Lf,{configurable:!0,get:function(){return this}})},Ff=kt,_f=TypeError,Df=function(t,r){if(Ff(r,t))return t;throw _f("Incorrect invocation")},Uf=In,Gf=Ut,zf=TypeError,Bf=function(t){if(Uf(t))return t;throw zf(Gf(t)+" is not a constructor")},Wf=jt,Vf=Bf,Hf=w,$f=et("species"),Jf=d,Kf=Function.prototype,qf=Kf.apply,Yf=Kf.call,Xf="object"==typeof Reflect&&Reflect.apply||(Jf?Yf.bind(qf):function(){return Yf.apply(qf,arguments)}),Qf=S([].slice),Zf=TypeError,ts=/(?:ipad|iphone|ipod).*applewebkit/i.test(F),rs=e,es=Xf,ns=Xe,os=at,is=R,us=h,cs=Zi,as=Qf,fs=gt,ss=function(t,r){if(t<r)throw Zf("Not enough arguments");return t},ls=ts,ps=If,vs=rs.setImmediate,hs=rs.clearImmediate,ds=rs.process,ys=rs.Dispatch,gs=rs.Function,ms=rs.MessageChannel,bs=rs.String,Ss=0,ws={},Os="onreadystatechange";us((function(){Ef=rs.location}));var Es=function(t){if(is(ws,t)){var r=ws[t];delete ws[t],r()}},js=function(t){return function(){Es(t)}},xs=function(t){Es(t.data)},Ts=function(t){rs.postMessage(bs(t),Ef.protocol+"//"+Ef.host)};vs&&hs||(vs=function(t){ss(arguments.length,1);var r=os(t)?t:gs(t),e=as(arguments,1);return ws[++Ss]=function(){es(r,void 0,e)},jf(Ss),Ss},hs=function(t){delete ws[t]},ps?jf=function(t){ds.nextTick(js(t))}:ys&&ys.now?jf=function(t){ys.now(js(t))}:ms&&!ls?(Tf=(xf=new ms).port2,xf.port1.onmessage=xs,jf=ns(Tf.postMessage,Tf)):rs.addEventListener&&os(rs.postMessage)&&!rs.importScripts&&Ef&&"file:"!==Ef.protocol&&!us(Ts)?(jf=Ts,rs.addEventListener("message",xs,!1)):jf=Os in fs("script")?function(t){cs.appendChild(fs("script")).onreadystatechange=function(){cs.removeChild(this),Es(t)}}:function(t){setTimeout(js(t),0)});var Is={set:vs,clear:hs},Ps=function(){this.head=null,this.tail=null};Ps.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var As,Rs,Cs,ks,Ns,Ls=Ps,Ms=/ipad|iphone|ipod/i.test(F)&&"undefined"!=typeof Pebble,Fs=/web0s(?!.*chrome)/i.test(F),_s=e,Ds=Xe,Us=to.f,Gs=Is.set,zs=Ls,Bs=ts,Ws=Ms,Vs=Fs,Hs=If,$s=_s.MutationObserver||_s.WebKitMutationObserver,Js=_s.document,Ks=_s.process,qs=_s.Promise,Ys=Us(_s,"queueMicrotask"),Xs=Ys&&Ys.value;if(!Xs){var Qs=new zs,Zs=function(){var t,r;for(Hs&&(t=Ks.domain)&&t.exit();r=Qs.get();)try{r()}catch(Kw){throw Qs.head&&As(),Kw}t&&t.enter()};Bs||Hs||Vs||!$s||!Js?!Ws&&qs&&qs.resolve?((ks=qs.resolve(void 0)).constructor=qs,Ns=Ds(ks.then,ks),As=function(){Ns(Zs)}):Hs?As=function(){Ks.nextTick(Zs)}:(Gs=Ds(Gs,_s),As=function(){Gs(Zs)}):(Rs=!0,Cs=Js.createTextNode(""),new $s(Zs).observe(Cs,{characterData:!0}),As=function(){Cs.data=Rs=!Rs}),Xs=function(t){Qs.head||As(),Qs.add(t)}}var tl=Xs,rl=function(t){try{return{error:!1,value:t()}}catch(Kw){return{error:!0,value:Kw}}},el=e.Promise,nl="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ol=!nl&&!If&&"object"==typeof window&&"object"==typeof document,il=e,ul=el,cl=at,al=ni,fl=Lr,sl=et,ll=ol,pl=nl,vl=W;ul&&ul.prototype;var hl=sl("species"),dl=!1,yl=cl(il.PromiseRejectionEvent),gl=al("Promise",(function(){var t=fl(ul),r=t!==String(ul);if(!r&&66===vl)return!0;if(!vl||vl<51||!/native code/.test(t)){var e=new ul((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((e.constructor={})[hl]=n,!(dl=e.then((function(){}))instanceof n))return!0}return!r&&(ll||pl)&&!yl})),ml={CONSTRUCTOR:gl,REJECTION_EVENT:yl,SUBCLASSING:dl},bl={},Sl=Wt,wl=TypeError,Ol=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw wl("Bad Promise constructor");r=t,e=n})),this.resolve=Sl(r),this.reject=Sl(e)};bl.f=function(t){return new Ol(t)};var El,jl,xl,Tl=li,Il=If,Pl=e,Al=It,Rl=Ie,Cl=ac,kl=Ma,Nl=Mf,Ll=Wt,Ml=at,Fl=vt,_l=Df,Dl=function(t,r){var e,n=Wf(t).constructor;return void 0===n||Hf(e=Wf(n)[$f])?r:Vf(e)},Ul=Is.set,Gl=tl,zl=function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(Kw){}},Bl=rl,Wl=Ls,Vl=ie,Hl=el,$l=bl,Jl="Promise",Kl=ml.CONSTRUCTOR,ql=ml.REJECTION_EVENT,Yl=ml.SUBCLASSING,Xl=Vl.getterFor(Jl),Ql=Vl.set,Zl=Hl&&Hl.prototype,tp=Hl,rp=Zl,ep=Pl.TypeError,np=Pl.document,op=Pl.process,ip=$l.f,up=ip,cp=!!(np&&np.createEvent&&Pl.dispatchEvent),ap="unhandledrejection",fp=function(t){var r;return!(!Fl(t)||!Ml(r=t.then))&&r},sp=function(t,r){var e,n,o,i=r.value,u=1==r.state,c=u?t.ok:t.fail,a=t.resolve,f=t.reject,s=t.domain;try{c?(u||(2===r.rejection&&dp(r),r.rejection=1),!0===c?e=i:(s&&s.enter(),e=c(i),s&&(s.exit(),o=!0)),e===t.promise?f(ep("Promise-chain cycle")):(n=fp(e))?Al(n,e,a,f):a(e)):f(i)}catch(Kw){s&&!o&&s.exit(),f(Kw)}},lp=function(t,r){t.notified||(t.notified=!0,Gl((function(){for(var e,n=t.reactions;e=n.get();)sp(e,t);t.notified=!1,r&&!t.rejection&&vp(t)})))},pp=function(t,r,e){var n,o;cp?((n=np.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),Pl.dispatchEvent(n)):n={promise:r,reason:e},!ql&&(o=Pl["on"+t])?o(n):t===ap&&zl("Unhandled promise rejection",e)},vp=function(t){Al(Ul,Pl,(function(){var r,e=t.facade,n=t.value;if(hp(t)&&(r=Bl((function(){Il?op.emit("unhandledRejection",n,e):pp(ap,e,n)})),t.rejection=Il||hp(t)?2:1,r.error))throw r.value}))},hp=function(t){return 1!==t.rejection&&!t.parent},dp=function(t){Al(Ul,Pl,(function(){var r=t.facade;Il?op.emit("rejectionHandled",r):pp("rejectionhandled",r,t.value)}))},yp=function(t,r,e){return function(n){t(r,n,e)}},gp=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,lp(t,!0))},mp=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw ep("Promise can't be resolved itself");var n=fp(r);n?Gl((function(){var e={done:!1};try{Al(n,r,yp(mp,e,t),yp(gp,e,t))}catch(Kw){gp(e,Kw,t)}})):(t.value=r,t.state=1,lp(t,!1))}catch(Kw){gp({done:!1},Kw,t)}}};if(Kl&&(rp=(tp=function(t){_l(this,rp),Ll(t),Al(El,this);var r=Xl(this);try{t(yp(mp,r),yp(gp,r))}catch(Kw){gp(r,Kw)}}).prototype,(El=function(t){Ql(this,{type:Jl,done:!1,notified:!1,parent:!1,reactions:new Wl,rejection:!1,state:0,value:void 0})}).prototype=Rl(rp,"then",(function(t,r){var e=Xl(this),n=ip(Dl(this,tp));return e.parent=!0,n.ok=!Ml(t)||t,n.fail=Ml(r)&&r,n.domain=Il?op.domain:void 0,0==e.state?e.reactions.add(n):Gl((function(){sp(n,e)})),n.promise})),jl=function(){var t=new El,r=Xl(t);this.promise=t,this.resolve=yp(mp,r),this.reject=yp(gp,r)},$l.f=ip=function(t){return t===tp||undefined===t?new jl(t):up(t)},Ml(Hl)&&Zl!==Object.prototype)){xl=Zl.then,Yl||Rl(Zl,"then",(function(t,r){var e=this;return new tp((function(t,r){Al(xl,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete Zl.constructor}catch(Kw){}Cl&&Cl(Zl,rp)}Tl({global:!0,constructor:!0,wrap:!0,forced:Kl},{Promise:tp}),kl(tp,Jl,!1),Nl(Jl);var bp=va,Sp=et("iterator"),wp=Array.prototype,Op=function(t){return void 0!==t&&(bp.Array===t||wp[Sp]===t)},Ep=De,jp=$t,xp=w,Tp=va,Ip=et("iterator"),Pp=function(t){if(!xp(t))return jp(t,Ip)||jp(t,"@@iterator")||Tp[Ep(t)]},Ap=It,Rp=Wt,Cp=jt,kp=Ut,Np=Pp,Lp=TypeError,Mp=function(t,r){var e=arguments.length<2?Np(t):r;if(Rp(e))return Cp(Ap(e,t));throw Lp(kp(t)+" is not iterable")},Fp=It,_p=jt,Dp=$t,Up=function(t,r,e){var n,o;_p(t);try{if(!(n=Dp(t,"return"))){if("throw"===r)throw e;return e}n=Fp(n,t)}catch(Kw){o=!0,n=Kw}if("throw"===r)throw e;if(o)throw n;return _p(n),e},Gp=Xe,zp=It,Bp=jt,Wp=Ut,Vp=Op,Hp=ln,$p=kt,Jp=Mp,Kp=Pp,qp=Up,Yp=TypeError,Xp=function(t,r){this.stopped=t,this.result=r},Qp=Xp.prototype,Zp=function(t,r,e){var n,o,i,u,c,a,f,s=e&&e.that,l=!(!e||!e.AS_ENTRIES),p=!(!e||!e.IS_RECORD),v=!(!e||!e.IS_ITERATOR),h=!(!e||!e.INTERRUPTED),d=Gp(r,s),y=function(t){return n&&qp(n,"normal",t),new Xp(!0,t)},g=function(t){return l?(Bp(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=Kp(t)))throw Yp(Wp(t)+" is not iterable");if(Vp(o)){for(i=0,u=Hp(t);u>i;i++)if((c=g(t[i]))&&$p(Qp,c))return c;return new Xp(!1)}n=Jp(t,o)}for(a=p?t.next:n.next;!(f=zp(a,n)).done;){try{c=g(f.value)}catch(Kw){qp(n,"throw",Kw)}if("object"==typeof c&&c&&$p(Qp,c))return c}return new Xp(!1)},tv=et("iterator"),rv=!1;try{var ev=0,nv={next:function(){return{done:!!ev++}},return:function(){rv=!0}};nv[tv]=function(){return this},Array.from(nv,(function(){throw 2}))}catch(Kw){}var ov=function(t,r){if(!r&&!rv)return!1;var e=!1;try{var n={};n[tv]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(Kw){}return e},iv=el,uv=ml.CONSTRUCTOR||!ov((function(t){iv.all(t).then(void 0,(function(){}))})),cv=It,av=Wt,fv=bl,sv=rl,lv=Zp;li({target:"Promise",stat:!0,forced:uv},{all:function(t){var r=this,e=fv.f(r),n=e.resolve,o=e.reject,i=sv((function(){var e=av(r.resolve),i=[],u=0,c=1;lv(t,(function(t){var a=u++,f=!1;c++,cv(e,r,t).then((function(t){f||(f=!0,i[a]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),e.promise}});var pv=li,vv=ml.CONSTRUCTOR,hv=el,dv=Ct,yv=at,gv=Ie,mv=hv&&hv.prototype;if(pv({target:"Promise",proto:!0,forced:vv,real:!0},{catch:function(t){return this.then(void 0,t)}}),yv(hv)){var bv=dv("Promise").prototype.catch;mv.catch!==bv&&gv(mv,"catch",bv,{unsafe:!0})}var Sv=It,wv=Wt,Ov=bl,Ev=rl,jv=Zp;li({target:"Promise",stat:!0,forced:uv},{race:function(t){var r=this,e=Ov.f(r),n=e.reject,o=Ev((function(){var o=wv(r.resolve);jv(t,(function(t){Sv(o,r,t).then(e.resolve,n)}))}));return o.error&&n(o.value),e.promise}});var xv=It,Tv=bl;li({target:"Promise",stat:!0,forced:ml.CONSTRUCTOR},{reject:function(t){var r=Tv.f(this);return xv(r.reject,void 0,t),r.promise}});var Iv=jt,Pv=vt,Av=bl,Rv=li,Cv=ml.CONSTRUCTOR,kv=function(t,r){if(Iv(t),Pv(r)&&r.constructor===t)return r;var e=Av.f(t);return(0,e.resolve)(r),e.promise};Ct("Promise"),Rv({target:"Promise",stat:!0,forced:Cv},{resolve:function(t){return kv(this,t)}});var Nv=It,Lv=Wt,Mv=bl,Fv=rl,_v=Zp;li({target:"Promise",stat:!0,forced:uv},{allSettled:function(t){var r=this,e=Mv.f(r),n=e.resolve,o=e.reject,i=Fv((function(){var e=Lv(r.resolve),o=[],i=0,u=1;_v(t,(function(t){var c=i++,a=!1;u++,Nv(e,r,t).then((function(t){a||(a=!0,o[c]={status:"fulfilled",value:t},--u||n(o))}),(function(t){a||(a=!0,o[c]={status:"rejected",reason:t},--u||n(o))}))})),--u||n(o)}));return i.error&&o(i.value),e.promise}});var Dv=S,Uv=cn,Gv=Hu,zv=j,Bv=Dv("".charAt),Wv=Dv("".charCodeAt),Vv=Dv("".slice),Hv=function(t){return function(r,e){var n,o,i=Gv(zv(r)),u=Uv(e),c=i.length;return u<0||u>=c?t?"":void 0:(n=Wv(i,u))<55296||n>56319||u+1===c||(o=Wv(i,u+1))<56320||o>57343?t?Bv(i,u):n:t?Vv(i,u,u+2):o-56320+(n-55296<<10)+65536}},$v={codeAt:Hv(!1),charAt:Hv(!0)}.charAt,Jv=Hu,Kv=ie,qv=af,Yv=ff,Xv="String Iterator",Qv=Kv.set,Zv=Kv.getterFor(Xv);qv(String,"String",(function(t){Qv(this,{type:Xv,string:Jv(t),index:0})}),(function(){var t,r=Zv(this),e=r.string,n=r.index;return n>=e.length?Yv(void 0,!0):(t=$v(e,n),r.index+=t.length,Yv(t,!1))}));var th=e,rh=ze,eh=Ve,nh=wf,oh=zr,ih=et,uh=ih("iterator"),ch=ih("toStringTag"),ah=nh.values,fh=function(t,r){if(t){if(t[uh]!==ah)try{oh(t,uh,ah)}catch(Kw){t[uh]=ah}if(t[ch]||oh(t,ch,r),rh[r])for(var e in nh)if(t[e]!==nh[e])try{oh(t,e,nh[e])}catch(Kw){t[e]=nh[e]}}};for(var sh in rh)fh(th[sh]&&th[sh].prototype,sh);fh(eh,"DOMTokenList");var lh=st,ph=S,vh=xi,hh=co,dh=ph(ro.f),yh=ph([].push),gh=function(t){return function(r){for(var e,n=hh(r),o=vh(n),i=o.length,u=0,c=[];i>u;)e=o[u++],lh&&!dh(n,e)||yh(c,t?[e,n[e]]:n[e]);return c}},mh={entries:gh(!0),values:gh(!1)}.values;li({target:"Object",stat:!0},{values:function(t){return mh(t)}});var bh={},Sh={get exports(){return bh},set exports(t){bh=t}},wh={},Oh=Oo,Eh=ln,jh=Tu,xh=Array,Th=Math.max,Ih=function(t,r,e){for(var n=Eh(t),o=Oh(r,n),i=Oh(void 0===e?n:e,n),u=xh(Th(i-o,0)),c=0;o<i;o++,c++)jh(u,c,t[o]);return u.length=c,u},Ph=Ce,Ah=co,Rh=mo.f,Ch=Ih,kh="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];wh.f=function(t){return kh&&"Window"==Ph(t)?function(t){try{return Rh(t)}catch(Kw){return Ch(kh)}}(t):Rh(Ah(t))};var Nh=h((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})),Lh=h,Mh=vt,Fh=Ce,_h=Nh,Dh=Object.isExtensible,Uh=Lh((function(){Dh(1)}))||_h?function(t){return!!Mh(t)&&((!_h||"ArrayBuffer"!=Fh(t))&&(!Dh||Dh(t)))}:Dh,Gh=!h((function(){return Object.isExtensible(Object.preventExtensions({}))})),zh=li,Bh=S,Wh=Hr,Vh=vt,Hh=R,$h=ft.f,Jh=mo,Kh=wh,qh=Uh,Yh=Gh,Xh=!1,Qh=M("meta"),Zh=0,td=function(t){$h(t,Qh,{value:{objectID:"O"+Zh++,weakData:{}}})},rd=Sh.exports={enable:function(){rd.enable=function(){},Xh=!0;var t=Jh.f,r=Bh([].splice),e={};e[Qh]=1,t(e).length&&(Jh.f=function(e){for(var n=t(e),o=0,i=n.length;o<i;o++)if(n[o]===Qh){r(n,o,1);break}return n},zh({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Kh.f}))},fastKey:function(t,r){if(!Vh(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Hh(t,Qh)){if(!qh(t))return"F";if(!r)return"E";td(t)}return t[Qh].objectID},getWeakData:function(t,r){if(!Hh(t,Qh)){if(!qh(t))return!0;if(!r)return!1;td(t)}return t[Qh].weakData},onFreeze:function(t){return Yh&&Xh&&qh(t)&&!Hh(t,Qh)&&td(t),t}};Wh[Qh]=!0;var ed=li,nd=e,od=S,id=ni,ud=Ie,cd=bh,ad=Zp,fd=Df,sd=at,ld=w,pd=vt,vd=h,hd=ov,dd=Ma,yd=pc,gd=Ie,md=lu,bd=Rf,Sd=function(t,r,e){for(var n in r)gd(t,n,r[n],e);return t},wd=Xe,Od=Df,Ed=w,jd=Zp,xd=af,Td=ff,Id=Mf,Pd=st,Ad=bh.fastKey,Rd=ie.set,Cd=ie.getterFor,kd={getConstructor:function(t,r,e,n){var o=t((function(t,o){Od(t,i),Rd(t,{type:r,index:md(null),first:void 0,last:void 0,size:0}),Pd||(t.size=0),Ed(o)||jd(o,t[n],{that:t,AS_ENTRIES:e})})),i=o.prototype,u=Cd(r),c=function(t,r,e){var n,o,i=u(t),c=a(t,r);return c?c.value=e:(i.last=c={index:o=Ad(r,!0),key:r,value:e,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=c),n&&(n.next=c),Pd?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},a=function(t,r){var e,n=u(t),o=Ad(r);if("F"!==o)return n.index[o];for(e=n.first;e;e=e.next)if(e.key==r)return e};return Sd(i,{clear:function(){for(var t=u(this),r=t.index,e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),delete r[e.index],e=e.next;t.first=t.last=void 0,Pd?t.size=0:this.size=0},delete:function(t){var r=this,e=u(r),n=a(r,t);if(n){var o=n.next,i=n.previous;delete e.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),e.first==n&&(e.first=o),e.last==n&&(e.last=i),Pd?e.size--:r.size--}return!!n},forEach:function(t){for(var r,e=u(this),n=wd(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:e.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!a(this,t)}}),Sd(i,e?{get:function(t){var r=a(this,t);return r&&r.value},set:function(t,r){return c(this,0===t?0:t,r)}}:{add:function(t){return c(this,t=0===t?0:t,t)}}),Pd&&bd(i,"size",{configurable:!0,get:function(){return u(this).size}}),o},setStrong:function(t,r,e){var n=r+" Iterator",o=Cd(r),i=Cd(n);xd(t,r,(function(t,r){Rd(this,{type:n,target:t,state:o(t),kind:r,last:void 0})}),(function(){for(var t=i(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?Td("keys"==r?e.key:"values"==r?e.value:[e.key,e.value],!1):(t.target=void 0,Td(void 0,!0))}),e?"entries":"values",!e,!0),Id(r)}};(function(t,r,e){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",u=nd[t],c=u&&u.prototype,a=u,f={},s=function(t){var r=od(c[t]);ud(c,t,"add"==t?function(t){return r(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!pd(t))&&r(this,0===t?0:t)}:"get"==t?function(t){return o&&!pd(t)?void 0:r(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!pd(t))&&r(this,0===t?0:t)}:function(t,e){return r(this,0===t?0:t,e),this})};if(id(t,!sd(u)||!(o||c.forEach&&!vd((function(){(new u).entries().next()})))))a=e.getConstructor(r,t,n,i),cd.enable();else if(id(t,!0)){var l=new a,p=l[i](o?{}:-0,1)!=l,v=vd((function(){l.has(1)})),h=hd((function(t){new u(t)})),d=!o&&vd((function(){for(var t=new u,r=5;r--;)t[i](r,r);return!t.has(-0)}));h||((a=r((function(t,r){fd(t,c);var e=yd(new u,t,a);return ld(r)||ad(r,e[i],{that:e,AS_ENTRIES:n}),e}))).prototype=c,c.constructor=a),(v||d)&&(s("delete"),s("has"),n&&s("get")),(d||p)&&s(i),o&&c.clear&&delete c.clear}f[t]=a,ed({global:!0,constructor:!0,forced:a!=u},f),dd(a,t),o||e.setStrong(a,t,n)})("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),kd);var Nd=Ih,Ld=Math.floor,Md=function(t,r){var e=t.length,n=Ld(e/2);return e<8?Fd(t,r):_d(t,Md(Nd(t,0,n),r),Md(Nd(t,n),r),r)},Fd=function(t,r){for(var e,n,o=t.length,i=1;i<o;){for(n=i,e=t[i];n&&r(t[n-1],e)>0;)t[n]=t[--n];n!==i++&&(t[n]=e)}return t},_d=function(t,r,e,n){for(var o=r.length,i=e.length,u=0,c=0;u<o||c<i;)t[u+c]=u<o&&c<i?n(r[u],e[c])<=0?r[u++]:e[c++]:u<o?r[u++]:e[c++];return t},Dd=Md,Ud=F.match(/firefox\/(\d+)/i),Gd=!!Ud&&+Ud[1],zd=/MSIE|Trident/.test(F),Bd=F.match(/AppleWebKit\/(\d+)\./),Wd=!!Bd&&+Bd[1],Vd=li,Hd=S,$d=Wt,Jd=I,Kd=ln,qd=Au,Yd=Hu,Xd=h,Qd=Dd,Zd=Vn,ty=Gd,ry=zd,ey=W,ny=Wd,oy=[],iy=Hd(oy.sort),uy=Hd(oy.push),cy=Xd((function(){oy.sort(void 0)})),ay=Xd((function(){oy.sort(null)})),fy=Zd("sort"),sy=!Xd((function(){if(ey)return ey<70;if(!(ty&&ty>3)){if(ry)return!0;if(ny)return ny<603;var t,r,e,n,o="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)oy.push({k:r+n,v:e})}for(oy.sort((function(t,r){return r.v-t.v})),n=0;n<oy.length;n++)r=oy[n].k.charAt(0),o.charAt(o.length-1)!==r&&(o+=r);return"DGBEFHACIJK"!==o}}));Vd({target:"Array",proto:!0,forced:cy||!ay||!fy||!sy},{sort:function(t){void 0!==t&&$d(t);var r=Jd(this);if(sy)return void 0===t?iy(r):iy(r,t);var e,n,o=[],i=Kd(r);for(n=0;n<i;n++)n in r&&uy(o,r[n]);for(Qd(o,function(t){return function(r,e){return void 0===e?-1:void 0===r?1:void 0!==t?+t(r,e)||0:Yd(r)>Yd(e)?1:-1}}(t)),e=Kd(o),n=0;n<e;)r[n]=o[n++];for(;n<i;)qd(r,n++);return r}});var ly={},py=et;ly.f=py;var vy=Zu,hy=R,dy=ly,yy=ft.f,gy=function(t){var r=vy.Symbol||(vy.Symbol={});hy(r,t)||yy(r,t,{value:dy.f(t)})},my=It,by=Ct,Sy=et,wy=Ie,Oy=function(){var t=by("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,n=Sy("toPrimitive");r&&!r[n]&&wy(r,n,(function(t){return my(e,this)}),{arity:1})},Ey=Oy;gy("toPrimitive"),Ey();var jy=jt,xy=Xt,Ty=TypeError,Iy=R,Py=Ie,Ay=function(t){if(jy(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw Ty("Incorrect hint");return xy(this,t)},Ry=et("toPrimitive"),Cy=Date.prototype;Iy(Cy,Ry)||Py(Cy,Ry,Ay);var ky=li,Ny=e,Ly=It,My=S,Fy=st,_y=$,Dy=h,Uy=R,Gy=kt,zy=jt,By=co,Wy=ar,Vy=Hu,Hy=Dr,$y=lu,Jy=xi,Ky=mo,qy=wh,Yy=_o,Xy=to,Qy=ft,Zy=Hi,tg=ro,rg=Ie,eg=Rf,ng=n,og=Hr,ig=M,ug=et,cg=ly,ag=gy,fg=Oy,sg=Ma,lg=ie,pg=Bn.forEach,vg=Vr("hidden"),hg="Symbol",dg=lg.set,yg=lg.getterFor(hg),gg=Object.prototype,mg=Ny.Symbol,bg=mg&&mg.prototype,Sg=Ny.TypeError,wg=Ny.QObject,Og=Xy.f,Eg=Qy.f,jg=qy.f,xg=tg.f,Tg=My([].push),Ig=ng("symbols"),Pg=ng("op-symbols"),Ag=ng("wks"),Rg=!wg||!wg.prototype||!wg.prototype.findChild,Cg=Fy&&Dy((function(){return 7!=$y(Eg({},"a",{get:function(){return Eg(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=Og(gg,r);n&&delete gg[r],Eg(t,r,e),n&&t!==gg&&Eg(gg,r,n)}:Eg,kg=function(t,r){var e=Ig[t]=$y(bg);return dg(e,{type:hg,tag:t,description:r}),Fy||(e.description=r),e},Ng=function(t,r,e){t===gg&&Ng(Pg,r,e),zy(t);var n=Wy(r);return zy(e),Uy(Ig,n)?(e.enumerable?(Uy(t,vg)&&t[vg][n]&&(t[vg][n]=!1),e=$y(e,{enumerable:Hy(0,!1)})):(Uy(t,vg)||Eg(t,vg,Hy(1,{})),t[vg][n]=!0),Cg(t,n,e)):Eg(t,n,e)},Lg=function(t,r){zy(t);var e=By(r),n=Jy(e).concat(Dg(e));return pg(n,(function(r){Fy&&!Ly(Mg,e,r)||Ng(t,r,e[r])})),t},Mg=function(t){var r=Wy(t),e=Ly(xg,this,r);return!(this===gg&&Uy(Ig,r)&&!Uy(Pg,r))&&(!(e||!Uy(this,r)||!Uy(Ig,r)||Uy(this,vg)&&this[vg][r])||e)},Fg=function(t,r){var e=By(t),n=Wy(r);if(e!==gg||!Uy(Ig,n)||Uy(Pg,n)){var o=Og(e,n);return!o||!Uy(Ig,n)||Uy(e,vg)&&e[vg][n]||(o.enumerable=!0),o}},_g=function(t){var r=jg(By(t)),e=[];return pg(r,(function(t){Uy(Ig,t)||Uy(og,t)||Tg(e,t)})),e},Dg=function(t){var r=t===gg,e=jg(r?Pg:By(t)),n=[];return pg(e,(function(t){!Uy(Ig,t)||r&&!Uy(gg,t)||Tg(n,Ig[t])})),n};_y||(mg=function(){if(Gy(bg,this))throw Sg("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Vy(arguments[0]):void 0,r=ig(t),e=function(t){this===gg&&Ly(e,Pg,t),Uy(this,vg)&&Uy(this[vg],r)&&(this[vg][r]=!1),Cg(this,r,Hy(1,t))};return Fy&&Rg&&Cg(gg,r,{configurable:!0,set:e}),kg(r,t)},rg(bg=mg.prototype,"toString",(function(){return yg(this).tag})),rg(mg,"withoutSetter",(function(t){return kg(ig(t),t)})),tg.f=Mg,Qy.f=Ng,Zy.f=Lg,Xy.f=Fg,Ky.f=qy.f=_g,Yy.f=Dg,cg.f=function(t){return kg(ug(t),t)},Fy&&(eg(bg,"description",{configurable:!0,get:function(){return yg(this).description}}),rg(gg,"propertyIsEnumerable",Mg,{unsafe:!0}))),ky({global:!0,constructor:!0,wrap:!0,forced:!_y,sham:!_y},{Symbol:mg}),pg(Jy(Ag),(function(t){ag(t)})),ky({target:hg,stat:!0,forced:!_y},{useSetter:function(){Rg=!0},useSimple:function(){Rg=!1}}),ky({target:"Object",stat:!0,forced:!_y,sham:!Fy},{create:function(t,r){return void 0===r?$y(t):Lg($y(t),r)},defineProperty:Ng,defineProperties:Lg,getOwnPropertyDescriptor:Fg}),ky({target:"Object",stat:!0,forced:!_y},{getOwnPropertyNames:_g}),fg(),sg(mg,hg),og[vg]=!0;var Ug=$&&!!Symbol.for&&!!Symbol.keyFor,Gg=li,zg=Ct,Bg=R,Wg=Hu,Vg=n,Hg=Ug,$g=Vg("string-to-symbol-registry"),Jg=Vg("symbol-to-string-registry");Gg({target:"Symbol",stat:!0,forced:!Hg},{for:function(t){var r=Wg(t);if(Bg($g,r))return $g[r];var e=zg("Symbol")(r);return $g[r]=e,Jg[e]=r,e}});var Kg=li,qg=R,Yg=_t,Xg=Ut,Qg=Ug,Zg=n("symbol-to-string-registry");Kg({target:"Symbol",stat:!0,forced:!Qg},{keyFor:function(t){if(!Yg(t))throw TypeError(Xg(t)+" is not a symbol");if(qg(Zg,t))return Zg[t]}});var tm=vn,rm=at,em=Ce,nm=Hu,om=S([].push),im=li,um=Ct,cm=Xf,am=It,fm=S,sm=h,lm=at,pm=_t,vm=Qf,hm=function(t){if(rm(t))return t;if(tm(t)){for(var r=t.length,e=[],n=0;n<r;n++){var o=t[n];"string"==typeof o?om(e,o):"number"!=typeof o&&"Number"!=em(o)&&"String"!=em(o)||om(e,nm(o))}var i=e.length,u=!0;return function(t,r){if(u)return u=!1,r;if(tm(this))return r;for(var n=0;n<i;n++)if(e[n]===t)return r}}},dm=$,ym=String,gm=um("JSON","stringify"),mm=fm(/./.exec),bm=fm("".charAt),Sm=fm("".charCodeAt),wm=fm("".replace),Om=fm(1..toString),Em=/[\uD800-\uDFFF]/g,jm=/^[\uD800-\uDBFF]$/,xm=/^[\uDC00-\uDFFF]$/,Tm=!dm||sm((function(){var t=um("Symbol")();return"[null]"!=gm([t])||"{}"!=gm({a:t})||"{}"!=gm(Object(t))})),Im=sm((function(){return'"\\udf06\\ud834"'!==gm("\udf06\ud834")||'"\\udead"'!==gm("\udead")})),Pm=function(t,r){var e=vm(arguments),n=hm(r);if(lm(n)||void 0!==t&&!pm(t))return e[1]=function(t,r){if(lm(n)&&(r=am(n,this,ym(t),r)),!pm(r))return r},cm(gm,null,e)},Am=function(t,r,e){var n=bm(e,r-1),o=bm(e,r+1);return mm(jm,t)&&!mm(xm,o)||mm(xm,t)&&!mm(jm,n)?"\\u"+Om(Sm(t,0),16):t};gm&&im({target:"JSON",stat:!0,arity:3,forced:Tm||Im},{stringify:function(t,r,e){var n=vm(arguments),o=cm(Tm?Pm:gm,null,n);return Im&&"string"==typeof o?wm(o,Em,Am):o}});var Rm=_o,Cm=I;li({target:"Object",stat:!0,forced:!$||h((function(){Rm.f(1)}))},{getOwnPropertySymbols:function(t){var r=Rm.f;return r?r(Cm(t)):[]}});var km=li,Nm=st,Lm=S,Mm=R,Fm=at,_m=kt,Dm=Hu,Um=Rf,Gm=Ko,zm=e.Symbol,Bm=zm&&zm.prototype;if(Nm&&Fm(zm)&&(!("description"in Bm)||void 0!==zm().description)){var Wm={},Vm=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Dm(arguments[0]),r=_m(Bm,this)?new zm(t):void 0===t?zm():zm(t);return""===t&&(Wm[r]=!0),r};Gm(Vm,zm),Vm.prototype=Bm,Bm.constructor=Vm;var Hm="Symbol(test)"==String(zm("test")),$m=Lm(Bm.valueOf),Jm=Lm(Bm.toString),Km=/^Symbol\((.*)\)[^)]+$/,qm=Lm("".replace),Ym=Lm("".slice);Um(Bm,"description",{configurable:!0,get:function(){var t=$m(this);if(Mm(Wm,t))return"";var r=Jm(t),e=Hm?Ym(r,7,-1):qm(r,Km,"$1");return""===e?void 0:e}}),km({global:!0,constructor:!0,forced:!0},{Symbol:Vm})}var Xm=ft.f,Qm=Hu,Zm=vt,tb=zr,rb=Error,eb=S("".replace),nb=String(rb("zxcasd").stack),ob=/\n\s*at [^:]*:[^\n]*/,ib=ob.test(nb),ub=Dr,cb=!h((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",ub(1,7)),7!==t.stack)})),ab=zr,fb=function(t,r){if(ib&&"string"==typeof t&&!rb.prepareStackTrace)for(;r--;)t=eb(t,ob,"");return t},sb=cb,lb=Error.captureStackTrace,pb=Ct,vb=R,hb=zr,db=kt,yb=ac,gb=Ko,mb=function(t,r,e){e in t||Xm(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})},bb=pc,Sb=function(t,r){return void 0===t?arguments.length<2?"":r:Qm(t)},wb=function(t,r){Zm(r)&&"cause"in r&&tb(t,"cause",r.cause)},Ob=function(t,r,e,n){sb&&(lb?lb(t,r):ab(t,"stack",fb(e,n)))},Eb=st,jb=li,xb=Xf,Tb=function(t,r,e,n){var o="stackTraceLimit",i=n?2:1,u=t.split("."),c=u[u.length-1],a=pb.apply(null,u);if(a){var f=a.prototype;if(vb(f,"cause")&&delete f.cause,!e)return a;var s=pb("Error"),l=r((function(t,r){var e=Sb(n?r:t,void 0),o=n?new a(t):new a;return void 0!==e&&hb(o,"message",e),Ob(o,l,o.stack,2),this&&db(f,this)&&bb(o,this,l),arguments.length>i&&wb(o,arguments[i]),o}));l.prototype=f,"Error"!==c?yb?yb(l,s):gb(l,s,{name:!0}):Eb&&o in a&&(mb(l,a,o),mb(l,a,"prepareStackTrace")),gb(l,a);try{f.name!==c&&hb(f,"name",c),f.constructor=l}catch(Kw){}return l}},Ib="WebAssembly",Pb=e.WebAssembly,Ab=7!==Error("e",{cause:7}).cause,Rb=function(t,r){var e={};e[t]=Tb(t,r,Ab),jb({global:!0,constructor:!0,arity:1,forced:Ab},e)},Cb=function(t,r){if(Pb&&Pb[t]){var e={};e[t]=Tb("WebAssembly."+t,r,Ab),jb({target:Ib,stat:!0,constructor:!0,arity:1,forced:Ab},e)}};Rb("Error",(function(t){return function(r){return xb(t,this,arguments)}})),Rb("EvalError",(function(t){return function(r){return xb(t,this,arguments)}})),Rb("RangeError",(function(t){return function(r){return xb(t,this,arguments)}})),Rb("ReferenceError",(function(t){return function(r){return xb(t,this,arguments)}})),Rb("SyntaxError",(function(t){return function(r){return xb(t,this,arguments)}})),Rb("TypeError",(function(t){return function(r){return xb(t,this,arguments)}})),Rb("URIError",(function(t){return function(r){return xb(t,this,arguments)}})),Cb("CompileError",(function(t){return function(r){return xb(t,this,arguments)}})),Cb("LinkError",(function(t){return function(r){return xb(t,this,arguments)}})),Cb("RuntimeError",(function(t){return function(r){return xb(t,this,arguments)}})),gy("iterator");var kb=jt,Nb=Up,Lb=Xe,Mb=It,Fb=I,_b=function(t,r,e,n){try{return n?r(kb(e)[0],e[1]):r(e)}catch(Kw){Nb(t,"throw",Kw)}},Db=Op,Ub=In,Gb=ln,zb=Tu,Bb=Mp,Wb=Pp,Vb=Array,Hb=function(t){var r=Fb(t),e=Ub(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Lb(o,n>2?arguments[2]:void 0));var u,c,a,f,s,l,p=Wb(r),v=0;if(!p||this===Vb&&Db(p))for(u=Gb(r),c=e?new this(u):Vb(u);u>v;v++)l=i?o(r[v],v):r[v],zb(c,v,l);else for(s=(f=Bb(r,p)).next,c=e?new this:[];!(a=Mb(s,f)).done;v++)l=i?_b(f,o,[a.value,v],!0):a.value,zb(c,v,l);return c.length=v,c};li({target:"Array",stat:!0,forced:!ov((function(t){Array.from(t)}))},{from:Hb});var $b=li,Jb=vn,Kb=In,qb=vt,Yb=Oo,Xb=ln,Qb=co,Zb=Tu,tS=et,rS=Qf,eS=Wi("slice"),nS=tS("species"),oS=Array,iS=Math.max;$b({target:"Array",proto:!0,forced:!eS},{slice:function(t,r){var e,n,o,i=Qb(this),u=Xb(i),c=Yb(t,u),a=Yb(void 0===r?u:r,u);if(Jb(i)&&(e=i.constructor,(Kb(e)&&(e===oS||Jb(e.prototype))||qb(e)&&null===(e=e[nS]))&&(e=void 0),e===oS||void 0===e))return rS(i,c,a);for(n=new(void 0===e?oS:e)(iS(a-c,0)),o=0;c<a;c++,o++)c in i&&Zb(n,o,i[c]);return n.length=o,n}});var uS=st,cS=Ir.EXISTS,aS=S,fS=Rf,sS=Function.prototype,lS=aS(sS.toString),pS=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,vS=aS(pS.exec);uS&&!cS&&fS(sS,"name",{configurable:!0,get:function(){try{return vS(pS,lS(this))[1]}catch(Kw){return""}}});var hS,dS,yS=jt,gS=h,mS=e.RegExp,bS=gS((function(){var t=mS("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),SS=bS||gS((function(){return!mS("a","y").sticky})),wS=bS||gS((function(){var t=mS("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),OS={BROKEN_CARET:wS,MISSED_STICKY:SS,UNSUPPORTED_Y:bS},ES=h,jS=e.RegExp,xS=ES((function(){var t=jS(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),TS=h,IS=e.RegExp,PS=TS((function(){var t=IS("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),AS=It,RS=S,CS=Hu,kS=function(){var t=yS(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},NS=OS,LS=lu,MS=ie.get,FS=xS,_S=PS,DS=n("native-string-replace",String.prototype.replace),US=RegExp.prototype.exec,GS=US,zS=RS("".charAt),BS=RS("".indexOf),WS=RS("".replace),VS=RS("".slice),HS=(dS=/b*/g,AS(US,hS=/a/,"a"),AS(US,dS,"a"),0!==hS.lastIndex||0!==dS.lastIndex),$S=NS.BROKEN_CARET,JS=void 0!==/()??/.exec("")[1];(HS||JS||$S||FS||_S)&&(GS=function(t){var r,e,n,o,i,u,c,a=this,f=MS(a),s=CS(t),l=f.raw;if(l)return l.lastIndex=a.lastIndex,r=AS(GS,l,s),a.lastIndex=l.lastIndex,r;var p=f.groups,v=$S&&a.sticky,h=AS(kS,a),d=a.source,y=0,g=s;if(v&&(h=WS(h,"y",""),-1===BS(h,"g")&&(h+="g"),g=VS(s,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==zS(s,a.lastIndex-1))&&(d="(?: "+d+")",g=" "+g,y++),e=new RegExp("^(?:"+d+")",h)),JS&&(e=new RegExp("^"+d+"$(?!\\s)",h)),HS&&(n=a.lastIndex),o=AS(US,v?e:a,g),v?o?(o.input=VS(o.input,y),o[0]=VS(o[0],y),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:HS&&o&&(a.lastIndex=a.global?o.index+o[0].length:n),JS&&o&&o.length>1&&AS(DS,o[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=u=LS(null),i=0;i<p.length;i++)u[(c=p[i])[0]]=o[c[1]];return o});li({target:"RegExp",proto:!0,forced:/./.exec!==GS},{exec:GS});var KS,qS,YS=li,XS=It,QS=at,ZS=jt,tw=Hu,rw=(KS=!1,(qS=/[ac]/).exec=function(){return KS=!0,/./.exec.apply(this,arguments)},!0===qS.test("abc")&&KS),ew=/./.test;YS({target:"RegExp",proto:!0,forced:!rw},{test:function(t){var r=ZS(this),e=tw(t),n=r.exec;if(!QS(n))return XS(ew,r,e);var o=XS(n,r,e);return null!==o&&(ZS(o),!0)}});var nw=I,ow=xi;li({target:"Object",stat:!0,forced:h((function(){ow(1)}))},{keys:function(t){return ow(nw(t))}});var iw=Bn.filter;li({target:"Array",proto:!0,forced:!Wi("filter")},{filter:function(t){return iw(this,t,arguments.length>1?arguments[1]:void 0)}});var uw=li,cw=h,aw=co,fw=to.f,sw=st;uw({target:"Object",stat:!0,forced:!sw||cw((function(){fw(1)})),sham:!sw},{getOwnPropertyDescriptor:function(t,r){return fw(aw(t),r)}});var lw=Wo,pw=co,vw=to,hw=Tu;li({target:"Object",stat:!0,sham:!st},{getOwnPropertyDescriptors:function(t){for(var r,e,n=pw(t),o=vw.f,i=lw(n),u={},c=0;i.length>c;)void 0!==(e=o(n,r=i[c++]))&&hw(u,r,e);return u}});var dw=I,yw=Oa,gw=ha;li({target:"Object",stat:!0,forced:h((function(){yw(1)})),sham:!gw},{getPrototypeOf:function(t){return yw(dw(t))}});var mw=e,bw=Ma;li({global:!0},{Reflect:{}}),bw(mw.Reflect,"Reflect",!0);var Sw=S,ww=Wt,Ow=vt,Ew=R,jw=Qf,xw=d,Tw=Function,Iw=Sw([].concat),Pw=Sw([].join),Aw={},Rw=function(t,r,e){if(!Ew(Aw,r)){for(var n=[],o=0;o<r;o++)n[o]="a["+o+"]";Aw[r]=Tw("C,a","return new C("+Pw(n,",")+")")}return Aw[r](t,e)},Cw=xw?Tw.bind:function(t){var r=ww(this),e=r.prototype,n=jw(arguments,1),o=function(){var e=Iw(n,jw(arguments));return this instanceof o?Rw(r,e.length,e):r.apply(t,e)};return Ow(e)&&(o.prototype=e),o},kw=li,Nw=Xf,Lw=Cw,Mw=Bf,Fw=jt,_w=vt,Dw=lu,Uw=h,Gw=Ct("Reflect","construct"),zw=Object.prototype,Bw=[].push,Ww=Uw((function(){function t(){}return!(Gw((function(){}),[],t)instanceof t)})),Vw=!Uw((function(){Gw((function(){}))})),Hw=Ww||Vw;kw({target:"Reflect",stat:!0,forced:Hw,sham:Hw},{construct:function(t,r){Mw(t),Fw(r);var e=arguments.length<3?t:Mw(arguments[2]);if(Vw&&!Ww)return Gw(t,r,e);if(t==e){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var n=[null];return Nw(Bw,n,r),new(Nw(Lw,t,n))}var o=e.prototype,i=Dw(_w(o)?o:zw),u=Nw(t,i,r);return _w(u)?u:i}}),gy("asyncIterator");var $w=Ct,Jw=Ma;gy("toStringTag"),Jw($w("Symbol"),"Symbol"),Ma(e.JSON,"JSON",!0),Ma(Math,"Math",!0),function(){function r(t,r){return(r||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+t+")"}function e(t,r){if(-1!==t.indexOf("\\")&&(t=t.replace(j,"/")),"/"===t[0]&&"/"===t[1])return r.slice(0,r.indexOf(":")+1)+t;if("."===t[0]&&("/"===t[1]||"."===t[1]&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===t[0]){var e,n=r.slice(0,r.indexOf(":")+1);if(e="/"===r[n.length+1]?"file:"!==n?(e=r.slice(n.length+2)).slice(e.indexOf("/")+1):r.slice(8):r.slice(n.length+("/"===r[n.length])),"/"===t[0])return r.slice(0,r.length-e.length-1)+t;for(var o=e.slice(0,e.lastIndexOf("/")+1)+t,i=[],u=-1,c=0;c<o.length;c++)-1!==u?"/"===o[c]&&(i.push(o.slice(u,c+1)),u=-1):"."===o[c]?"."!==o[c+1]||"/"!==o[c+2]&&c+2!==o.length?"/"===o[c+1]||c+1===o.length?c+=1:u=c:(i.pop(),c+=2):u=c;return-1!==u&&i.push(o.slice(u)),r.slice(0,r.length-e.length)+i.join("")}}function n(t,r){return e(t,r)||(-1!==t.indexOf(":")?t:e("./"+t,r))}function o(t,r,n,o,i){for(var u in t){var c=e(u,n)||u,s=t[u];if("string"==typeof s){var l=f(o,e(s,n)||s,i);l?r[c]=l:a("W1",u,s)}}}function i(t,r,e){var i;for(i in t.imports&&o(t.imports,e.imports,r,e,null),t.scopes||{}){var u=n(i,r);o(t.scopes[i],e.scopes[u]||(e.scopes[u]={}),r,e,u)}for(i in t.depcache||{})e.depcache[n(i,r)]=t.depcache[i];for(i in t.integrity||{})e.integrity[n(i,r)]=t.integrity[i]}function u(t,r){if(r[t])return t;var e=t.length;do{var n=t.slice(0,e+1);if(n in r)return n}while(-1!==(e=t.lastIndexOf("/",e-1)))}function c(t,r){var e=u(t,r);if(e){var n=r[e];if(null===n)return;if(!(t.length>e.length&&"/"!==n[n.length-1]))return n+t.slice(e.length);a("W2",e,n)}}function a(t,e,n){console.warn(r(t,[n,e].join(", ")))}function f(t,r,e){for(var n=t.scopes,o=e&&u(e,n);o;){var i=c(r,n[o]);if(i)return i;o=u(o.slice(0,o.lastIndexOf("/")),n)}return c(r,t.imports)||-1!==r.indexOf(":")&&r}function s(){this[T]={}}function l(t,e,n,o){var i=t[T][e];if(i)return i;var u=[],c=Object.create(null);x&&Object.defineProperty(c,x,{value:"Module"});var a=Promise.resolve().then((function(){return t.instantiate(e,n,o)})).then((function(n){if(!n)throw Error(r(2,e));var o=n[1]((function(t,r){i.h=!0;var e=!1;if("string"==typeof t)t in c&&c[t]===r||(c[t]=r,e=!0);else{for(var n in t)r=t[n],n in c&&c[n]===r||(c[n]=r,e=!0);t&&t.__esModule&&(c.__esModule=t.__esModule)}if(e)for(var o=0;o<u.length;o++){var a=u[o];a&&a(c)}return r}),2===n[1].length?{import:function(r,n){return t.import(r,e,n)},meta:t.createContext(e)}:void 0);return i.e=o.execute||function(){},[n[0],o.setters||[],n[2]||[]]}),(function(t){throw i.e=null,i.er=t,t})),f=a.then((function(r){return Promise.all(r[0].map((function(n,o){var i=r[1][o],u=r[2][o];return Promise.resolve(t.resolve(n,e)).then((function(r){var n=l(t,r,e,u);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(t){i.d=t}))}));return i=t[T][e]={id:e,i:u,n:c,m:o,I:a,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function p(t,r,e,n){if(!n[r.id])return n[r.id]=!0,Promise.resolve(r.L).then((function(){return r.p&&null!==r.p.e||(r.p=e),Promise.all(r.d.map((function(r){return p(t,r,e,n)})))})).catch((function(t){if(r.er)throw t;throw r.e=null,t}))}function v(t,r){return r.C=p(t,r,r,{}).then((function(){return h(t,r,{})})).then((function(){return r.n}))}function h(t,r,e){function n(){try{var t=i.call(P);if(t)return t=t.then((function(){r.C=r.n,r.E=null}),(function(t){throw r.er=t,r.E=null,t})),r.E=t;r.C=r.n,r.L=r.I=void 0}catch(e){throw r.er=e,e}}if(!e[r.id]){if(e[r.id]=!0,!r.e){if(r.er)throw r.er;return r.E?r.E:void 0}var o,i=r.e;return r.e=null,r.d.forEach((function(n){try{var i=h(t,n,e);i&&(o=o||[]).push(i)}catch(c){throw r.er=c,c}})),o?Promise.all(o).then(n):n()}}function d(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):n(t.src,y)).catch((function(r){if(r.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),t.dispatchEvent(e)}return Promise.reject(r)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var e=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(t){if(!t.ok)throw Error(t.status);return t.text()})).catch((function(e){return e.message=r("W4",t.src)+"\n"+e.message,console.warn(e),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;C=C.then((function(){return e})).then((function(e){!function(t,e,n){var o={};try{o=JSON.parse(e)}catch(c){console.warn(Error(r("W5")))}i(o,n,t)}(k,e,t.src||y)}))}}))}var y,g="undefined"!=typeof Symbol,m="undefined"!=typeof self,b="undefined"!=typeof document,S=m?self:t;if(b){var w=document.querySelector("base[href]");w&&(y=w.href)}if(!y&&"undefined"!=typeof location){var O=(y=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==O&&(y=y.slice(0,O+1))}var E,j=/\\/g,x=g&&Symbol.toStringTag,T=g?Symbol():"@",I=s.prototype;I.import=function(t,r,e){var n=this;return r&&"object"==typeof r&&(e=r,r=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(t,r,e)})).then((function(t){var r=l(n,t,void 0,e);return r.C||v(n,r)}))},I.createContext=function(t){var r=this;return{url:t,resolve:function(e,n){return Promise.resolve(r.resolve(e,n||t))}}},I.register=function(t,r,e){E=[t,r,e]},I.getRegister=function(){var t=E;return E=void 0,t};var P=Object.freeze(Object.create(null));S.System=new s;var A,R,C=Promise.resolve(),k={imports:{},scopes:{},depcache:{},integrity:{}},N=b;if(I.prepareImport=function(t){return(N||t)&&(d(),N=!1),C},b&&(d(),window.addEventListener("DOMContentLoaded",d)),I.addImportMap=function(t,r){i(t,r||y,k)},b){window.addEventListener("error",(function(t){M=t.filename,F=t.error}));var L=location.origin}I.createScript=function(t){var r=document.createElement("script");r.async=!0,t.indexOf(L+"/")&&(r.crossOrigin="anonymous");var e=k.integrity[t];return e&&(r.integrity=e),r.src=t,r};var M,F,_={},D=I.register;I.register=function(t,r){if(b&&"loading"===document.readyState&&"string"!=typeof t){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){A=t;var o=this;R=setTimeout((function(){_[n.src]=[t,r],o.import(n.src)}))}}else A=void 0;return D.call(this,t,r)},I.instantiate=function(t,e){var n=_[t];if(n)return delete _[t],n;var o=this;return Promise.resolve(I.createScript(t)).then((function(n){return new Promise((function(i,u){n.addEventListener("error",(function(){u(Error(r(3,[t,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),M===t)u(F);else{var r=o.getRegister(t);r&&r[0]===A&&clearTimeout(R),i(r)}})),document.head.appendChild(n)}))}))},I.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(I.fetch=fetch);var U=I.instantiate,G=/^(text|application)\/(x-)?javascript(;|$)/;I.instantiate=function(t,e,n){var o=this;return this.shouldFetch(t,e,n)?this.fetch(t,{credentials:"same-origin",integrity:k.integrity[t],meta:n}).then((function(n){if(!n.ok)throw Error(r(7,[n.status,n.statusText,t,e].join(", ")));var i=n.headers.get("content-type");if(!i||!G.test(i))throw Error(r(4,i));return n.text().then((function(r){return r.indexOf("//# sourceURL=")<0&&(r+="\n//# sourceURL="+t),(0,eval)(r),o.getRegister(t)}))})):U.apply(this,arguments)},I.resolve=function(t,n){return f(k,e(t,n=n||y)||t,n)||function(t,e){throw Error(r(8,[t,e].join(", ")))}(t,n)};var z=I.instantiate;I.instantiate=function(t,r,e){var n=k.depcache[t];if(n)for(var o=0;o<n.length;o++)l(this,this.resolve(n[o],t),t);return z.call(this,t,r,e)},m&&"function"==typeof importScripts&&(I.instantiate=function(t){var r=this;return Promise.resolve().then((function(){return importScripts(t),r.getRegister(t)}))})}()}();
@charset "UTF-8";.ibiz-grid{--ibiz-grid-text-color: var(--ibiz-text-color);--ibiz-grid-bg-color: var(--ibiz-color-white);--ibiz-grid-padding: 0;--ibiz-grid-cell-padding: calc(var(--ibiz-padding) / 2);--ibiz-grid-header-text-color: var(--ibiz-text-color);--ibiz-grid-header-cell-padding: var(--ibiz-grid-cell-padding);--ibiz-grid-header-height: 45px;--ibiz-grid-content-text-color: var(--ibiz-grid-text-color);--ibiz-grid-content-item-highlight-bg-color: var(--ibiz-color-primary-light-7);--ibiz-grid-content-item-hover-bg-color: var(--ibiz-color-primary-light-7);--ibiz-grid-content-row-height: 48px;--ibiz-grid-page-text-color: var(--ibiz-grid-text-color);--ibiz-grid-page-height: 50px;--ibiz-grid-page-padding: var(--ibiz-padding) 0 0 0;height:100%;padding:var(--ibiz-grid-padding);background-color:var(--ibiz-grid-bg-color)}.ibiz-grid.is-enable-page .ibiz-grid-content{height:calc(100% - var(--ibiz-grid-page-height))}.ibiz-grid .ibiz-grid-content{height:100%}.ibiz-grid .ibiz-grid-content .ivu-table{overflow:auto}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body{overflow-y:auto}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body .ivu-table-row{height:var(--ibiz-grid-content-row-height)}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body .ivu-table-row>td{height:0}@-moz-document url-prefix(""){.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body .ivu-table-row>td{height:100%}}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body>table{color:var(--ibiz-grid-content-text-color)}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body>table .ivu-table-row-highlight td{background-color:var(--ibiz-grid-content-item-highlight-bg-color)}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body>table .ivu-table-row-hover td{background-color:var(--ibiz-grid-content-item-hover-bg-color)}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body .ivu-table-cell-with-selection{padding:var(--ibiz-grid-cell-padding)}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body .ivu-table-cell.ivu-table-cell-ellipsis{padding-right:0;padding-left:0}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body .ivu-table-cell.ivu-table-cell-ellipsis,.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-body .ivu-table-cell.ivu-table-cell-ellipsis .ivu-table-cell-slot{width:100%;height:100%}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-header{overflow:hidden}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-header>table{height:100%;color:var(--ibiz-grid-header-text-color)}.ibiz-grid .ibiz-grid-content .ivu-table .ivu-table-header>table .ivu-table-cell{width:100%;padding:var(--ibiz-grid-header-cell-padding);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-grid .ibiz-grid-content .ivu-table:before{z-index:auto}.ibiz-grid .ibiz-grid-page{height:var(--ibiz-grid-page-height);display:flex;justify-content:flex-end;padding:var(--ibiz-grid-page-padding)}.ibiz-grid-page{display:flex}.ibiz-grid-page .ibiz-grid-page-btn{margin-right:10px}.ibiz-grid-rfpg-grid .pfzbname>.ivu-table-cell{display:flex;align-items:center}.ibiz-grid-rfpg-grid .pfzbname>.ivu-table-cell .ibiz-grid-sum{height:100%;display:flex;align-items:center;margin-left:8px;width:100%}.ibiz-grid-rfpg-grid .pfzbname>.ivu-table-cell .ibiz-grid-sum>span{display:inline-block;width:100%;white-space:pre-line}
{
"name": "@ibiz-template-plugin/sy-cxfh-web",
"version": "0.0.1-beta.1",
"description": "创新孵化项目扩展插件",
"author": "chitanda",
"license": "MIT",
"type": "module",
"main": "dist/ibiz-template-plugin.es.js",
"module": "dist/ibiz-template-plugin.es.js",
"types": "dist/types/index.d.ts",
"system": "dist/index.legacy.js",
"files": [
"dist",
"src",
"CHANGELOG.md",
"README.md"
],
"scripts": {
"dev": "vite build --watch",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"publish:next": "npm run build && npm publish --access public --tag next",
"publish:npm": "npm run build && npm publish --access public"
},
"dependencies": {
"@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.59",
"@ibiz-template/core": "^0.0.1-beta.57",
"@ibiz-template/model": "^0.0.1-beta.59",
"@ibiz-template/runtime": "^0.0.1-beta.59",
"@ibiz-template/service": "^0.0.1-beta.59",
"@ibiz-template/theme": "^0.0.1-beta.59",
"@ibiz-template/vue-util": "^0.0.1-beta.59",
"async-validator": "^4.2.5",
"axios": "^1.1.3",
"core-js": "3",
"dayjs": "^1.11.6",
"lodash-es": "^4.17.21",
"pluralize": "^8.0.0",
"qs": "^6.11.0",
"qx-util": "^0.4.8",
"ramda": "^0.28.0",
"view-design": "^4.7.0",
"vue": "^2.7.13",
"vue-router": "^3.6.5"
},
"peerDependencies": {
"@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.59",
"@ibiz-template/core": "^0.0.1-beta.57",
"@ibiz-template/model": "^0.0.1-beta.59",
"@ibiz-template/runtime": "^0.0.1-beta.59",
"@ibiz-template/service": "^0.0.1-beta.59",
"@ibiz-template/theme": "^0.0.1-beta.59",
"@ibiz-template/vue-util": "^0.0.1-beta.59",
"async-validator": "^4.2.5",
"axios": "^1.1.3",
"core-js": "3",
"dayjs": "^1.11.6",
"lodash-es": "^4.17.21",
"pluralize": "^8.0.0",
"qs": "^6.11.0",
"qx-util": "^0.4.8",
"ramda": "^0.28.0",
"view-design": "^4.7.0",
"vue": "^2.7.13",
"vue-router": "^3.6.5"
},
"devDependencies": {
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@qx-chitanda/vite-plugin-lib-legacy": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@vitejs/plugin-legacy": "^2.3.0",
"@vitejs/plugin-vue2": "^2.2.0",
"@vitejs/plugin-vue2-jsx": "^1.1.0",
"eslint": "^8.26.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.7.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"postcss": "^8.4.18",
"prettier": "^2.7.1",
"rollup-plugin-visualizer": "^5.8.3",
"sass": "^1.55.0",
"stylelint": "^14.14.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recess-order": "^3.0.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-config-standard-scss": "^6.0.0",
"stylelint-scss": "^4.3.0",
"terser": "^5.15.1",
"typescript": "^4.8.4",
"vite": "^4.2.1",
"vite-plugin-dts": "^1.6.6",
"vite-plugin-eslint": "^1.8.1",
"vue-eslint-parser": "^9.1.0",
"vue-tsc": "^1.0.9"
},
"lint-staged": {
"*.{ts,vue}": "eslint --fix",
"*.less": "stylelint --syntax=scss"
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册