jtui3.0 1.0.83 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2277,6 +2277,34 @@ module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
2277
2277
  };
2278
2278
 
2279
2279
 
2280
+ /***/ }),
2281
+
2282
+ /***/ 2120:
2283
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2284
+
2285
+ var $ = __webpack_require__(2109);
2286
+ var getBuiltIn = __webpack_require__(5005);
2287
+ var apply = __webpack_require__(2104);
2288
+ var fails = __webpack_require__(7293);
2289
+ var wrapErrorConstructorWithCause = __webpack_require__(9191);
2290
+
2291
+ var AGGREGATE_ERROR = 'AggregateError';
2292
+ var $AggregateError = getBuiltIn(AGGREGATE_ERROR);
2293
+ var FORCED = !fails(function () {
2294
+ return $AggregateError([1]).errors[0] !== 1;
2295
+ }) && fails(function () {
2296
+ return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;
2297
+ });
2298
+
2299
+ // https://github.com/tc39/proposal-error-cause
2300
+ $({ global: true, constructor: true, arity: 2, forced: FORCED }, {
2301
+ AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {
2302
+ // eslint-disable-next-line no-unused-vars -- required for functions `.length`
2303
+ return function AggregateError(errors, message) { return apply(init, this, arguments); };
2304
+ }, FORCED, true)
2305
+ });
2306
+
2307
+
2280
2308
  /***/ }),
2281
2309
 
2282
2310
  /***/ 2262:
@@ -2441,6 +2469,21 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
2441
2469
  });
2442
2470
 
2443
2471
 
2472
+ /***/ }),
2473
+
2474
+ /***/ 6314:
2475
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2476
+
2477
+ var $ = __webpack_require__(2109);
2478
+ var hasOwn = __webpack_require__(2597);
2479
+
2480
+ // `Object.hasOwn` method
2481
+ // https://github.com/tc39/proposal-accessible-object-hasownproperty
2482
+ $({ target: 'Object', stat: true }, {
2483
+ hasOwn: hasOwn
2484
+ });
2485
+
2486
+
2444
2487
  /***/ }),
2445
2488
 
2446
2489
  /***/ 2087:
@@ -2505,7 +2548,7 @@ if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {
2505
2548
 
2506
2549
  /***/ }),
2507
2550
 
2508
- /***/ 1378:
2551
+ /***/ 4506:
2509
2552
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2510
2553
 
2511
2554
  "use strict";
@@ -6201,7 +6244,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
6201
6244
  /***/ (function(module, exports, __webpack_require__) {
6202
6245
 
6203
6246
  /* module decorator */ module = __webpack_require__.nmd(module);
6204
- var __WEBPACK_AMD_DEFINE_RESULT__;__webpack_require__(2262);__webpack_require__(1378);__webpack_require__(3048);__webpack_require__(7461);__webpack_require__(6699);/**
6247
+ var __WEBPACK_AMD_DEFINE_RESULT__;__webpack_require__(2262);__webpack_require__(4506);__webpack_require__(3048);__webpack_require__(7461);__webpack_require__(6699);/**
6205
6248
  * @license
6206
6249
  * Lodash <https://lodash.com/>
6207
6250
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -23426,7 +23469,7 @@ __webpack_unused_export__ = ({
23426
23469
  });
23427
23470
  exports.ZP = __webpack_unused_export__ = void 0;
23428
23471
 
23429
- var _footer = _interopRequireDefault(__webpack_require__(4506));
23472
+ var _footer = _interopRequireDefault(__webpack_require__(3642));
23430
23473
 
23431
23474
  var _dynamics = __webpack_require__(4512);
23432
23475
 
@@ -23450,7 +23493,7 @@ exports.ZP = _default;
23450
23493
 
23451
23494
  /***/ }),
23452
23495
 
23453
- /***/ 4506:
23496
+ /***/ 3642:
23454
23497
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
23455
23498
 
23456
23499
  "use strict";
@@ -96650,7 +96693,7 @@ const calculatePathNodes = node => {
96650
96693
  return nodes;
96651
96694
  };
96652
96695
 
96653
- class Node {
96696
+ class node_Node {
96654
96697
  constructor(data, config, parent, root = false) {
96655
96698
  this.data = data;
96656
96699
  this.config = config;
@@ -96674,7 +96717,7 @@ class Node {
96674
96717
  this.pathValues = pathNodes.map(node => node.value);
96675
96718
  this.pathLabels = pathNodes.map(node => node.label);
96676
96719
  this.childrenData = childrenData;
96677
- this.children = (childrenData || []).map(child => new Node(child, config, this));
96720
+ this.children = (childrenData || []).map(child => new node_Node(child, config, this));
96678
96721
  this.loaded = !config.lazy || this.isLeaf || !isEmpty(childrenData);
96679
96722
  }
96680
96723
 
@@ -96716,7 +96759,7 @@ class Node {
96716
96759
  childrenData,
96717
96760
  children
96718
96761
  } = this;
96719
- const node = new Node(childData, this.config, this);
96762
+ const node = new node_Node(childData, this.config, this);
96720
96763
 
96721
96764
  if (Array.isArray(childrenData)) {
96722
96765
  childrenData.push(childData);
@@ -96820,7 +96863,7 @@ const flatNodes = (nodes, leafOnly) => {
96820
96863
  class Store {
96821
96864
  constructor(data, config) {
96822
96865
  this.config = config;
96823
- const nodes = (data || []).map(nodeData => new Node(nodeData, this.config));
96866
+ const nodes = (data || []).map(nodeData => new node_Node(nodeData, this.config));
96824
96867
  this.nodes = nodes;
96825
96868
  this.allNodes = flatNodes(nodes, false);
96826
96869
  this.leafNodes = flatNodes(nodes, true);
@@ -96835,7 +96878,7 @@ class Store {
96835
96878
  }
96836
96879
 
96837
96880
  appendNode(nodeData, parentNode) {
96838
- const node = parentNode ? parentNode.appendChild(nodeData) : new Node(nodeData, this.config);
96881
+ const node = parentNode ? parentNode.appendChild(nodeData) : new node_Node(nodeData, this.config);
96839
96882
  if (!parentNode) this.nodes.push(node);
96840
96883
  this.allNodes.push(node);
96841
96884
  node.isLeaf && this.leafNodes.push(node);
@@ -97114,7 +97157,7 @@ const src_sfc_main = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComp
97114
97157
 
97115
97158
  const lazyLoad = (node, cb) => {
97116
97159
  const cfg = config.value;
97117
- node = node || new Node({}, cfg, void 0, true);
97160
+ node = node || new node_Node({}, cfg, void 0, true);
97118
97161
  node.loading = true;
97119
97162
 
97120
97163
  const resolve = dataList => {
@@ -100554,7 +100597,7 @@ const ElInputNumber = withInstall(InputNumber);
100554
100597
 
100555
100598
 
100556
100599
 
100557
- ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/form/index.vue?vue&type=template&id=3d037279&scoped=true
100600
+ ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/form/index.vue?vue&type=template&id=4d86c9d4&scoped=true
100558
100601
  /* unplugin-vue-components disabled */
100559
100602
 
100560
100603
 
@@ -100578,35 +100621,35 @@ const ElInputNumber = withInstall(InputNumber);
100578
100621
 
100579
100622
 
100580
100623
 
100581
- const _withScopeId = n => (_pushScopeId("data-v-3d037279"), n = n(), _popScopeId(), n);
100624
+ const _withScopeId = n => (_pushScopeId("data-v-4d86c9d4"), n = n(), _popScopeId(), n);
100582
100625
 
100583
- const formvue_type_template_id_3d037279_scoped_true_hoisted_1 = {
100626
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_1 = {
100584
100627
  key: 3,
100585
100628
  class: "ht-text"
100586
100629
  };
100587
- const formvue_type_template_id_3d037279_scoped_true_hoisted_2 = ["onClick"];
100588
- const formvue_type_template_id_3d037279_scoped_true_hoisted_3 = {
100630
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_2 = ["onClick"];
100631
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_3 = {
100589
100632
  key: 12,
100590
100633
  style: {
100591
100634
  "margin-right": "5px"
100592
100635
  }
100593
100636
  };
100594
- const formvue_type_template_id_3d037279_scoped_true_hoisted_4 = {
100637
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_4 = {
100595
100638
  key: 14,
100596
100639
  style: {
100597
100640
  "margin-left": "5px"
100598
100641
  }
100599
100642
  };
100600
- const formvue_type_template_id_3d037279_scoped_true_hoisted_5 = {
100643
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_5 = {
100601
100644
  class: "cell-item"
100602
100645
  };
100603
- const formvue_type_template_id_3d037279_scoped_true_hoisted_6 = {
100646
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_6 = {
100604
100647
  key: 0,
100605
100648
  style: {
100606
100649
  "color": "red"
100607
100650
  }
100608
100651
  };
100609
- const formvue_type_template_id_3d037279_scoped_true_hoisted_7 = {
100652
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_7 = {
100610
100653
  key: 3,
100611
100654
  class: "ht-text"
100612
100655
  };
@@ -100628,9 +100671,9 @@ const _hoisted_11 = {
100628
100671
  class: "filter-box"
100629
100672
  };
100630
100673
 
100631
- const formvue_type_template_id_3d037279_scoped_true_hoisted_12 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)("查询");
100674
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_12 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)("查询");
100632
100675
 
100633
- const formvue_type_template_id_3d037279_scoped_true_hoisted_13 = {
100676
+ const formvue_type_template_id_4d86c9d4_scoped_true_hoisted_13 = {
100634
100677
  key: 1,
100635
100678
  class: "table-box"
100636
100679
  };
@@ -100665,6 +100708,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100665
100708
 
100666
100709
  const _component_el_form_item = ElFormItem;
100667
100710
 
100711
+ const _component_Toolbar = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("Toolbar");
100712
+
100713
+ const _component_Editor = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("Editor");
100714
+
100668
100715
  const _component_el_descriptions_item = ElDescriptionsItem;
100669
100716
 
100670
100717
  const _component_el_descriptions = ElDescriptions;
@@ -100673,7 +100720,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100673
100720
 
100674
100721
  const _component_el_button = ElButton;
100675
100722
 
100676
- const _component_table_base = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("table-base");
100723
+ const _component_table_big_data = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("table-big-data");
100677
100724
 
100678
100725
  const _component_el_drawer = ElDrawer;
100679
100726
 
@@ -100722,7 +100769,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100722
100769
  placeholder: item.placeholder ? item.placeholder : ''
100723
100770
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])]),
100724
100771
  _: 2
100725
- }, 1024)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'text' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_3d037279_scoped_true_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.model[item.modelKey]), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'input' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_input, {
100772
+ }, 1024)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'text' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_4d86c9d4_scoped_true_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.model[item.modelKey]), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'input' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_input, {
100726
100773
  key: 4,
100727
100774
  style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
100728
100775
  width: item.width ? item.width + 'px' : 'auto'
@@ -100739,7 +100786,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100739
100786
  key: 0,
100740
100787
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["jtIcon", item.isPwd ? 'iconyincangmima' : 'iconxianshimima']),
100741
100788
  onClick: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withModifiers)($event => $setup.eyeClick(item), ["stop"])
100742
- }, null, 10, formvue_type_template_id_3d037279_scoped_true_hoisted_2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
100789
+ }, null, 10, formvue_type_template_id_4d86c9d4_scoped_true_hoisted_2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
100743
100790
  _: 2
100744
100791
  }, 1032, ["style", "placeholder", "type", "disabled", "modelValue", "onUpdate:modelValue", "onFocus", "onBlur"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'textarea' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_input, {
100745
100792
  key: 5,
@@ -100866,7 +100913,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100866
100913
  "value-format": "HH:mm:ss",
100867
100914
  disabled: item.disabled ? item.disabled : false,
100868
100915
  placeholder: item.placeholder ? item.placeholder : '请选择时间'
100869
- }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "disabled", "placeholder"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'switch' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_3d037279_scoped_true_hoisted_3, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.bText), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'switch' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_switch, {
100916
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "disabled", "placeholder"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'switch' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_4d86c9d4_scoped_true_hoisted_3, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.bText), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'switch' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_switch, {
100870
100917
  key: 13,
100871
100918
  modelValue: $setup.modelRemote[item.modelKey],
100872
100919
  "onUpdate:modelValue": $event => $setup.modelRemote[item.modelKey] = $event,
@@ -100876,7 +100923,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100876
100923
  "active-color": "#13ce66",
100877
100924
  onChange: $event => $setup.switchChange(arguments, item.modelKey),
100878
100925
  "inactive-color": "#ff4949"
100879
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "active-text", "inactive-text", "onChange"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'switch' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_3d037279_scoped_true_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.fText), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'checkbox' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_checkbox_group, {
100926
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "active-text", "inactive-text", "onChange"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'switch' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_4d86c9d4_scoped_true_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.fText), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'checkbox' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_checkbox_group, {
100880
100927
  key: 15,
100881
100928
  modelValue: $setup.modelRemote[item.modelKey],
100882
100929
  "onUpdate:modelValue": $event => $setup.modelRemote[item.modelKey] = $event
@@ -100933,7 +100980,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100933
100980
  "label-align": item.align || 'center',
100934
100981
  key: index
100935
100982
  }, {
100936
- label: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", formvue_type_template_id_3d037279_scoped_true_hoisted_5, [item.modelKey in $props.rules ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_3d037279_scoped_true_hoisted_6, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.label), 1)])]),
100983
+ label: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", formvue_type_template_id_4d86c9d4_scoped_true_hoisted_5, [item.modelKey in $props.rules ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_4d86c9d4_scoped_true_hoisted_6, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.label), 1)])]),
100937
100984
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_el_form_item, {
100938
100985
  prop: item.modelKey,
100939
100986
  style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)([{
@@ -100960,7 +101007,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100960
101007
  placeholder: item.placeholder ? item.placeholder : ''
100961
101008
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])]),
100962
101009
  _: 2
100963
- }, 1024)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'text' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_3d037279_scoped_true_hoisted_7, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.model[item.modelKey]), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'input' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_input, {
101010
+ }, 1024)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'text' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", formvue_type_template_id_4d86c9d4_scoped_true_hoisted_7, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.model[item.modelKey]), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'input' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_input, {
100964
101011
  key: 4,
100965
101012
  style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
100966
101013
  width: item.width ? item.width + 'px' : 'auto'
@@ -101157,7 +101204,29 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
101157
101204
  "onUpdate:modelValue": $event => $setup.modelRemote[item.modelKey] = $event,
101158
101205
  "fetch-suggestions": item.querySearch,
101159
101206
  placeholder: item.placeholder ? item.placeholder : '请输入'
101160
- }, null, 8, ["style", "modelValue", "onUpdate:modelValue", "fetch-suggestions", "placeholder"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
101207
+ }, null, 8, ["style", "modelValue", "onUpdate:modelValue", "fetch-suggestions", "placeholder"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), item.type === 'htmlarea' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
101208
+ key: 18,
101209
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
101210
+ width: item.width ? item.width + 'px' : 'auto'
101211
+ })
101212
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_Toolbar, {
101213
+ style: {
101214
+ "border-bottom": "1px solid #ccc"
101215
+ },
101216
+ editor: $setup.editorRef,
101217
+ defaultConfig: $setup.toolbarConfig,
101218
+ mode: "default"
101219
+ }, null, 8, ["editor", "defaultConfig"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_Editor, {
101220
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)({
101221
+ height: item.height ? item.height + 'px' : '300px',
101222
+ overflowY: 'hidden'
101223
+ }),
101224
+ modelValue: $setup.modelRemote[item.modelKey],
101225
+ "onUpdate:modelValue": $event => $setup.modelRemote[item.modelKey] = $event,
101226
+ defaultConfig: $setup.editorConfig(item),
101227
+ mode: "default",
101228
+ onOnCreated: editor => $setup.handleCreated(editor, item)
101229
+ }, null, 8, ["style", "modelValue", "onUpdate:modelValue", "defaultConfig", "onOnCreated"])], 4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
101161
101230
  _: 2
101162
101231
  }, 1032, ["prop", "style"])]),
101163
101232
  _: 2
@@ -101206,20 +101275,23 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
101206
101275
  },
101207
101276
  onClick: $setup.search
101208
101277
  }, {
101209
- default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [formvue_type_template_id_3d037279_scoped_true_hoisted_12]),
101278
+ default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [formvue_type_template_id_4d86c9d4_scoped_true_hoisted_12]),
101210
101279
  _: 1
101211
- }, 8, ["onClick"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.autoInputConfig ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", formvue_type_template_id_3d037279_scoped_true_hoisted_13, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_table_base, {
101280
+ }, 8, ["onClick"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.autoInputConfig ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", formvue_type_template_id_4d86c9d4_scoped_true_hoisted_13, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_table_big_data, {
101212
101281
  id: "autoInputTable",
101213
101282
  ref: "autoInputTable",
101214
101283
  data: $setup.autoTableData,
101215
- onCustomEvents: $setup.customEvents
101216
- }, null, 8, ["data", "onCustomEvents"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
101284
+ onCustomEvents: $setup.customEvents,
101285
+ load: $setup.load,
101286
+ loading: $setup.loading,
101287
+ page: $setup.page
101288
+ }, null, 8, ["data", "onCustomEvents", "load", "loading", "page"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]),
101217
101289
  _: 1
101218
101290
  }, 8, ["modelValue"])]),
101219
101291
  _: 3
101220
101292
  }, 8, ["locale"]);
101221
101293
  }
101222
- ;// CONCATENATED MODULE: ./packages/form/index.vue?vue&type=template&id=3d037279&scoped=true
101294
+ ;// CONCATENATED MODULE: ./packages/form/index.vue?vue&type=template&id=4d86c9d4&scoped=true
101223
101295
  /* unplugin-vue-components disabled */
101224
101296
  ;// CONCATENATED MODULE: ./packages/form/validate.js
101225
101297
 
@@ -101505,15 +101577,424 @@ const shortcuts = [{
101505
101577
  }];
101506
101578
  // EXTERNAL MODULE: ./node_modules/element-plus/lib/locale/lang/zh-cn.js
101507
101579
  var zh_cn = __webpack_require__(6260);
101580
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.has-own.js
101581
+ var es_object_has_own = __webpack_require__(6314);
101582
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.flags.js
101583
+ var es_regexp_flags = __webpack_require__(2087);
101584
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.aggregate-error.cause.js
101585
+ var es_aggregate_error_cause = __webpack_require__(2120);
101586
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.at.js
101587
+ var es_array_at = __webpack_require__(2262);
101588
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.at-alternative.js
101589
+ var es_string_at_alternative = __webpack_require__(4506);
101590
+ ;// CONCATENATED MODULE: ./node_modules/@wangeditor/editor/dist/index.esm.js
101591
+ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;}function n(e){var t={exports:{}};return e(t,t.exports),t.exports;}var r,o,i=function(e){return e&&e.Math==Math&&e;},a=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this;}()||Function("return this")(),u=Function.prototype,s=u.apply,l=u.bind,c=u.call,f="object"==typeof Reflect&&Reflect.apply||(l?c.bind(s):function(){return c.apply(s,arguments);}),d=Function.prototype,p=d.bind,h=d.call,g=p&&p.bind(h),v=p?function(e){return e&&g(h,e);}:function(e){return e&&function(){return h.apply(e,arguments);};},y=function(e){return"function"==typeof e;},m=function(e){try{return!!e();}catch(e){return!0;}},b=!m(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),w=Function.prototype.call,index_esm_E=w.bind?w.bind(w):function(){return w.apply(w,arguments);},D={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x=S&&!D.call({1:2},1)?function(e){var t=S(this,e);return!!t&&t.enumerable;}:D,index_esm_C={f:x},A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},O=v({}.toString),k=v("".slice),index_esm_B=function(e){return k(O(e),8,-1);},F=a.Object,T=v("".split),_=m(function(){return!F("z").propertyIsEnumerable(0);})?function(e){return"String"==index_esm_B(e)?T(e,""):F(e);}:F,index_esm_P=a.TypeError,j=function(e){if(null==e)throw index_esm_P("Can't call method on "+e);return e;},index_esm_N=function(e){return _(j(e));},index_esm_I=function(e){return"object"==typeof e?null!==e:y(e);},L={},index_esm_R=function(e){return y(e)?e:void 0;},M=function(e,t){return arguments.length<2?index_esm_R(L[e])||index_esm_R(a[e]):L[e]&&L[e][t]||a[e]&&a[e][t];},z=v({}.isPrototypeOf),$=M("navigator","userAgent")||"",index_esm_H=a.process,V=a.Deno,index_esm_U=index_esm_H&&index_esm_H.versions||V&&V.version,index_esm_W=index_esm_U&&index_esm_U.v8;index_esm_W&&(o=(r=index_esm_W.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&$&&(!(r=$.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=$.match(/Chrome\/(\d+)/))&&(o=+r[1]);var index_esm_G,index_esm_q=o,index_esm_K=!!Object.getOwnPropertySymbols&&!m(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&index_esm_q&&index_esm_q<41;}),Y=index_esm_K&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,index_esm_X=a.Object,index_esm_Z=Y?function(e){return"symbol"==typeof e;}:function(e){var t=M("Symbol");return y(t)&&z(t.prototype,index_esm_X(e));},index_esm_J=a.String,index_esm_Q=function(e){try{return index_esm_J(e);}catch(e){return"Object";}},index_esm_ee=a.TypeError,index_esm_te=function(e){if(y(e))return e;throw index_esm_ee(index_esm_Q(e)+" is not a function");},index_esm_ne=function(e,t){var n=e[t];return null==n?void 0:index_esm_te(n);},re=a.TypeError,oe=Object.defineProperty,ie=a["__core-js_shared__"]||function(e,t){try{oe(a,e,{value:t,configurable:!0,writable:!0});}catch(n){a[e]=t;}return t;}("__core-js_shared__",{}),ae=n(function(e){(e.exports=function(e,t){return ie[e]||(ie[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),ue=a.Object,index_esm_se=function(e){return ue(j(e));},le=v({}.hasOwnProperty),index_esm_ce=Object.hasOwn||function(e,t){return le(index_esm_se(e),t);},index_esm_fe=0,de=Math.random(),pe=v(1..toString),he=function(e){return"Symbol("+(void 0===e?"":e)+")_"+pe(++index_esm_fe+de,36);},index_esm_ge=ae("wks"),index_esm_ve=a.Symbol,index_esm_ye=index_esm_ve&&index_esm_ve.for,index_esm_me=Y?index_esm_ve:index_esm_ve&&index_esm_ve.withoutSetter||he,index_esm_be=function(e){if(!index_esm_ce(index_esm_ge,e)||!index_esm_K&&"string"!=typeof index_esm_ge[e]){var t="Symbol."+e;index_esm_K&&index_esm_ce(index_esm_ve,e)?index_esm_ge[e]=index_esm_ve[e]:index_esm_ge[e]=Y&&index_esm_ye?index_esm_ye(t):index_esm_me(t);}return index_esm_ge[e];},index_esm_we=a.TypeError,index_esm_Ee=index_esm_be("toPrimitive"),index_esm_De=function(e,t){if(!index_esm_I(e)||index_esm_Z(e))return e;var n,r=index_esm_ne(e,index_esm_Ee);if(r){if(void 0===t&&(t="default"),n=index_esm_E(r,e,t),!index_esm_I(n)||index_esm_Z(n))return n;throw index_esm_we("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&y(n=e.toString)&&!index_esm_I(r=index_esm_E(n,e)))return r;if(y(n=e.valueOf)&&!index_esm_I(r=index_esm_E(n,e)))return r;if("string"!==t&&y(n=e.toString)&&!index_esm_I(r=index_esm_E(n,e)))return r;throw re("Can't convert object to primitive value");}(e,t);},index_esm_Se=function(e){var t=index_esm_De(e,"string");return index_esm_Z(t)?t:t+"";},xe=a.document,Ce=index_esm_I(xe)&&index_esm_I(xe.createElement),index_esm_Ae=function(e){return Ce?xe.createElement(e):{};},Oe=!b&&!m(function(){return 7!=Object.defineProperty(index_esm_Ae("div"),"a",{get:function(){return 7;}}).a;}),index_esm_ke=Object.getOwnPropertyDescriptor,index_esm_Be=b?index_esm_ke:function(e,t){if(e=index_esm_N(e),t=index_esm_Se(t),Oe)try{return index_esm_ke(e,t);}catch(e){}if(index_esm_ce(e,t))return A(!index_esm_E(index_esm_C.f,e,t),e[t]);},Fe={f:index_esm_Be},index_esm_Te=/#|\.prototype\./,_e=function(e,t){var n=index_esm_je[index_esm_Pe(e)];return n==Ie||n!=Ne&&(y(t)?m(t):!!t);},index_esm_Pe=_e.normalize=function(e){return String(e).replace(index_esm_Te,".").toLowerCase();},index_esm_je=_e.data={},Ne=_e.NATIVE="N",Ie=_e.POLYFILL="P",index_esm_Le=_e,index_esm_Re=v(v.bind),index_esm_Me=function(e,t){return index_esm_te(e),void 0===t?e:index_esm_Re?index_esm_Re(e,t):function(){return e.apply(t,arguments);};},ze=a.String,$e=a.TypeError,index_esm_He=function(e){if(index_esm_I(e))return e;throw $e(ze(e)+" is not an object");},Ve=a.TypeError,Ue=Object.defineProperty,index_esm_We=b?Ue:function(e,t,n){if(index_esm_He(e),t=index_esm_Se(t),index_esm_He(n),Oe)try{return Ue(e,t,n);}catch(e){}if("get"in n||"set"in n)throw Ve("Accessors not supported");return"value"in n&&(e[t]=n.value),e;},index_esm_Ge={f:index_esm_We},qe=b?function(e,t,n){return index_esm_Ge.f(e,t,A(1,n));}:function(e,t,n){return e[t]=n,e;},index_esm_Ke=Fe.f,index_esm_Ye=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e();case 1:return new e(n);case 2:return new e(n,r);}return new e(n,r,o);}return f(e,this,arguments);};return t.prototype=e.prototype,t;},index_esm_Xe=function(e,t){var n,r,o,i,u,s,l,c,f=e.target,d=e.global,p=e.stat,h=e.proto,g=d?a:p?a[f]:(a[f]||{}).prototype,m=d?L:L[f]||qe(L,f,{})[f],b=m.prototype;for(o in t)n=!index_esm_Le(d?o:f+(p?".":"#")+o,e.forced)&&g&&index_esm_ce(g,o),u=m[o],n&&(s=e.noTargetGet?(c=index_esm_Ke(g,o))&&c.value:g[o]),i=n&&s?s:t[o],n&&typeof u==typeof i||(l=e.bind&&n?index_esm_Me(i,a):e.wrap&&n?index_esm_Ye(i):h&&y(i)?v(i):i,(e.sham||i&&i.sham||u&&u.sham)&&qe(l,"sham",!0),qe(m,o,l),h&&(index_esm_ce(L,r=f+"Prototype")||qe(L,r,{}),qe(L[r],o,i),e.real&&b&&!b[o]&&qe(b,o,i)));},index_esm_Ze=ae("keys"),index_esm_Je=function(e){return index_esm_Ze[e]||(index_esm_Ze[e]=he(e));},index_esm_Qe=!m(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),index_esm_et=index_esm_Je("IE_PROTO"),index_esm_tt=a.Object,index_esm_nt=index_esm_tt.prototype,index_esm_rt=index_esm_Qe?index_esm_tt.getPrototypeOf:function(e){var t=index_esm_se(e);if(index_esm_ce(t,index_esm_et))return t[index_esm_et];var n=t.constructor;return y(n)&&t instanceof n?n.prototype:t instanceof index_esm_tt?index_esm_nt:null;},index_esm_ot=a.String,index_esm_it=a.TypeError,index_esm_at=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=v(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return index_esm_He(n),function(e){if("object"==typeof e||y(e))return e;throw index_esm_it("Can't set "+index_esm_ot(e)+" as a prototype");}(r),t?e(n,r):n.__proto__=r,n;};}():void 0),index_esm_ut=Math.ceil,index_esm_st=Math.floor,index_esm_lt=function(e){var t=+e;return t!=t||0===t?0:(t>0?index_esm_st:index_esm_ut)(t);},index_esm_ct=Math.max,index_esm_ft=Math.min,index_esm_dt=function(e,t){var n=index_esm_lt(e);return n<0?index_esm_ct(n+t,0):index_esm_ft(n,t);},index_esm_pt=Math.min,index_esm_ht=function(e){return(t=e.length)>0?index_esm_pt(index_esm_lt(t),9007199254740991):0;var t;},index_esm_gt=function(e){return function(t,n,r){var o,i=index_esm_N(t),a=index_esm_ht(i),u=index_esm_dt(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},index_esm_vt={includes:index_esm_gt(!0),indexOf:index_esm_gt(!1)},index_esm_yt={},index_esm_mt=index_esm_vt.indexOf,index_esm_bt=v([].push),index_esm_wt=function(e,t){var n,r=index_esm_N(e),o=0,i=[];for(n in r)!index_esm_ce(index_esm_yt,n)&&index_esm_ce(r,n)&&index_esm_bt(i,n);for(;t.length>o;)index_esm_ce(r,n=t[o++])&&(~index_esm_mt(i,n)||index_esm_bt(i,n));return i;},Et=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Dt=Et.concat("length","prototype"),index_esm_St=Object.getOwnPropertyNames||function(e){return index_esm_wt(e,Dt);},index_esm_xt={f:index_esm_St},index_esm_Ct={f:Object.getOwnPropertySymbols},At=v([].concat),index_esm_Ot=M("Reflect","ownKeys")||function(e){var t=index_esm_xt.f(index_esm_He(e)),n=index_esm_Ct.f;return n?At(t,n(e)):t;},kt=Object.keys||function(e){return index_esm_wt(e,Et);},index_esm_Bt=b?Object.defineProperties:function(e,t){index_esm_He(e);for(var n,r=index_esm_N(t),o=kt(t),i=o.length,a=0;i>a;)index_esm_Ge.f(e,n=o[a++],r[n]);return e;},index_esm_Ft=M("document","documentElement"),index_esm_Tt=index_esm_Je("IE_PROTO"),index_esm_t=function(){},Pt=function(e){return"<script>"+e+"<\/script>";},jt=function(e){e.write(Pt("")),e.close();var t=e.parentWindow.Object;return e=null,t;},index_esm_Nt=function(){try{index_esm_G=new ActiveXObject("htmlfile");}catch(e){}var e,t;index_esm_Nt="undefined"!=typeof document?document.domain&&index_esm_G?jt(index_esm_G):((t=index_esm_Ae("iframe")).style.display="none",index_esm_Ft.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Pt("document.F=Object")),e.close(),e.F):jt(index_esm_G);for(var n=Et.length;n--;)delete index_esm_Nt.prototype[Et[n]];return index_esm_Nt();};index_esm_yt[index_esm_Tt]=!0;var index_esm_It=Object.create||function(e,t){var n;return null!==e?(index_esm_t.prototype=index_esm_He(e),n=new index_esm_t(),index_esm_t.prototype=null,n[index_esm_Tt]=e):n=index_esm_Nt(),void 0===t?n:index_esm_Bt(n,t);},Lt=function(e,t,n){var r=index_esm_Se(t);r in e?index_esm_Ge.f(e,r,A(0,n)):e[r]=n;},index_esm_Rt=a.Array,index_esm_Mt=Math.max,index_esm_zt=function(e,t,n){for(var r=index_esm_ht(e),o=index_esm_dt(t,r),i=index_esm_dt(void 0===n?r:n,r),a=index_esm_Rt(index_esm_Mt(i-o,0)),u=0;o<i;o++,u++)Lt(a,u,e[o]);return a.length=u,a;},index_esm_$t=v("".replace),index_esm_Ht=v("".split),index_esm_Vt=v([].join),index_esm_Ut=String(Error("zxcasd").stack),index_esm_Wt=/\n\s*at [^:]*:[^\n]*/,index_esm_Gt=index_esm_Wt.test(index_esm_Ut),index_esm_qt=/@[^\n]*\n/.test(index_esm_Ut)&&!/zxcasd/.test(index_esm_Ut),index_esm_Kt=function(e,t){if("string"!=typeof e)return e;if(index_esm_Gt)for(;t--;)e=index_esm_$t(e,index_esm_Wt,"");else if(index_esm_qt)return index_esm_Vt(index_esm_zt(index_esm_Ht(e,"\n"),t),"\n");return e;},index_esm_Yt=function(e,t){index_esm_I(t)&&"cause"in t&&qe(e,"cause",t.cause);},index_esm_Xt={},index_esm_Zt=index_esm_be("iterator"),index_esm_Jt=Array.prototype,index_esm_Qt={};index_esm_Qt[index_esm_be("toStringTag")]="z";var index_esm_en="[object z]"===String(index_esm_Qt),index_esm_tn=index_esm_be("toStringTag"),index_esm_nn=a.Object,index_esm_rn="Arguments"==index_esm_B(function(){return arguments;}()),index_esm_on=index_esm_en?index_esm_B:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=index_esm_nn(e),index_esm_tn))?n:index_esm_rn?index_esm_B(t):"Object"==(r=index_esm_B(t))&&y(t.callee)?"Arguments":r;},index_esm_an=index_esm_be("iterator"),index_esm_un=function(e){if(null!=e)return index_esm_ne(e,index_esm_an)||index_esm_ne(e,"@@iterator")||index_esm_Xt[index_esm_on(e)];},index_esm_sn=a.TypeError,index_esm_ln=function(e,t,n){var r,o;index_esm_He(e);try{if(!(r=index_esm_ne(e,"return"))){if("throw"===t)throw n;return n;}r=index_esm_E(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return index_esm_He(r),n;},index_esm_cn=a.TypeError,index_esm_fn=function(e,t){this.stopped=e,this.result=t;},index_esm_dn=index_esm_fn.prototype,index_esm_pn=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=index_esm_Me(t,c),g=function(e){return r&&index_esm_ln(r,"normal",e),new index_esm_fn(!0,e);},v=function(e){return f?(index_esm_He(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e);};if(d)r=e;else{if(!(o=index_esm_un(e)))throw index_esm_cn(index_esm_Q(e)+" is not iterable");if(function(e){return void 0!==e&&(index_esm_Xt.Array===e||index_esm_Jt[index_esm_Zt]===e);}(o)){for(i=0,a=index_esm_ht(e);a>i;i++)if((u=v(e[i]))&&z(index_esm_dn,u))return u;return new index_esm_fn(!1);}r=function(e,t){var n=arguments.length<2?index_esm_un(e):t;if(index_esm_te(n))return index_esm_He(index_esm_E(n,e));throw index_esm_sn(index_esm_Q(e)+" is not iterable");}(e,o);}for(s=r.next;!(l=index_esm_E(s,r)).done;){try{u=v(l.value);}catch(e){index_esm_ln(r,"throw",e);}if("object"==typeof u&&u&&z(index_esm_dn,u))return u;}return new index_esm_fn(!1);},index_esm_hn=a.String,index_esm_gn=function(e){if("Symbol"===index_esm_on(e))throw TypeError("Cannot convert a Symbol value to a string");return index_esm_hn(e);},index_esm_vn=function(e,t){return void 0===e?arguments.length<2?"":t:index_esm_gn(e);},index_esm_yn=!m(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",A(1,7)),7!==e.stack);}),index_esm_mn=index_esm_be("toStringTag"),bn=a.Error,wn=[].push,En=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=z(Dn,this);index_esm_at?n=index_esm_at(new bn(void 0),o?index_esm_rt(this):Dn):(n=o?this:index_esm_It(Dn),qe(n,index_esm_mn,"Error")),qe(n,"message",index_esm_vn(t,"")),index_esm_yn&&qe(n,"stack",index_esm_Kt(n.stack,1)),index_esm_Yt(n,r);var i=[];return index_esm_pn(e,wn,{that:i}),qe(n,"errors",i),n;};index_esm_at?index_esm_at(En,bn):function(e,t){for(var n=index_esm_Ot(t),r=index_esm_Ge.f,o=Fe.f,i=0;i<n.length;i++){var a=n[i];index_esm_ce(e,a)||r(e,a,o(t,a));}}(En,bn);var Dn=En.prototype=index_esm_It(bn.prototype,{constructor:A(1,En),message:A(1,""),name:A(1,"AggregateError")});index_esm_Xe({global:!0},{AggregateError:En});var Sn=v(Function.toString);y(ie.inspectSource)||(ie.inspectSource=function(e){return Sn(e);});var xn,Cn,An,On=ie.inspectSource,kn=a.WeakMap,Bn=y(kn)&&/native code/.test(On(kn)),Fn=a.TypeError,Tn=a.WeakMap;if(Bn||ie.state){var _n=ie.state||(ie.state=new Tn()),Pn=v(_n.get),jn=v(_n.has),Nn=v(_n.set);xn=function(e,t){if(jn(_n,e))throw new Fn("Object already initialized");return t.facade=e,Nn(_n,e,t),t;},Cn=function(e){return Pn(_n,e)||{};},An=function(e){return jn(_n,e);};}else{var In=index_esm_Je("state");index_esm_yt[In]=!0,xn=function(e,t){if(index_esm_ce(e,In))throw new Fn("Object already initialized");return t.facade=e,qe(e,In,t),t;},Cn=function(e){return index_esm_ce(e,In)?e[In]:{};},An=function(e){return index_esm_ce(e,In);};}var Ln,Rn,Mn,zn={set:xn,get:Cn,has:An,enforce:function(e){return An(e)?Cn(e):xn(e,{});},getterFor:function(e){return function(t){var n;if(!index_esm_I(t)||(n=Cn(t)).type!==e)throw Fn("Incompatible receiver, "+e+" required");return n;};}},$n=Function.prototype,Hn=b&&Object.getOwnPropertyDescriptor,Vn=index_esm_ce($n,"name"),Un={EXISTS:Vn,PROPER:Vn&&"something"===function(){}.name,CONFIGURABLE:Vn&&(!b||b&&Hn($n,"name").configurable)},Wn=function(e,t,n,r){r&&r.enumerable?e[t]=n:qe(e,t,n);},Gn=index_esm_be("iterator"),qn=!1;[].keys&&("next"in(Mn=[].keys())?(Rn=index_esm_rt(index_esm_rt(Mn)))!==Object.prototype&&(Ln=Rn):qn=!0);var Kn=null==Ln||m(function(){var e={};return Ln[Gn].call(e)!==e;});Ln=Kn?{}:index_esm_It(Ln),y(Ln[Gn])||Wn(Ln,Gn,function(){return this;});var Yn={IteratorPrototype:Ln,BUGGY_SAFARI_ITERATORS:qn},Xn=index_esm_en?{}.toString:function(){return"[object "+index_esm_on(this)+"]";},Zn=index_esm_Ge.f,Jn=index_esm_be("toStringTag"),Qn=function(e,t,n,r){if(e){var o=n?e:e.prototype;index_esm_ce(o,Jn)||Zn(o,Jn,{configurable:!0,value:t}),r&&!index_esm_en&&qe(o,"toString",Xn);}},er=Yn.IteratorPrototype,tr=function(){return this;},nr=Un.PROPER,rr=Yn.BUGGY_SAFARI_ITERATORS,or=index_esm_be("iterator"),ir=function(){return this;},ar=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=index_esm_It(er,{next:A(+!r,n)}),Qn(e,o,!1,!0),index_esm_Xt[o]=tr;}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!rr&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e);};}return function(){return new n(this);};},f=t+" Iterator",d=!1,p=e.prototype,h=p[or]||p["@@iterator"]||o&&p[o],g=!rr&&h||c(o),v="Array"==t&&p.entries||h;if(v&&(u=index_esm_rt(v.call(new e())))!==Object.prototype&&u.next&&(Qn(u,f,!0,!0),index_esm_Xt[f]=ir),nr&&"values"==o&&h&&"values"!==h.name&&(d=!0,g=function(){return index_esm_E(h,this);}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(rr||d||!(l in p))&&Wn(p,l,s[l]);else index_esm_Xe({target:t,proto:!0,forced:rr||d},s);return a&&p[or]!==g&&Wn(p,or,g,{name:o}),index_esm_Xt[t]=g,s;},ur=zn.set,sr=zn.getterFor("Array Iterator");ar(Array,"Array",function(e,t){ur(this,{type:"Array Iterator",target:index_esm_N(e),index:0,kind:t});},function(){var e=sr(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1};},"values"),index_esm_Xt.Arguments=index_esm_Xt.Array;var lr=v("".charAt),cr=v("".charCodeAt),fr=v("".slice),dr=function(e){return function(t,n){var r,o,i=index_esm_gn(j(t)),a=index_esm_lt(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=cr(i,a))<55296||r>56319||a+1===u||(o=cr(i,a+1))<56320||o>57343?e?lr(i,a):r:e?fr(i,a,a+2):o-56320+(r-55296<<10)+65536;};},pr={codeAt:dr(!1),charAt:dr(!0)}.charAt,hr=zn.set,gr=zn.getterFor("String Iterator");ar(String,"String",function(e){hr(this,{type:"String Iterator",string:index_esm_gn(e),index:0});},function(){var e,t=gr(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=pr(n,r),t.index+=e.length,{value:e,done:!1});});var vr=L.AggregateError,yr=index_esm_be("toStringTag");for(var mr in{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}){var br=a[mr],wr=br&&br.prototype;wr&&index_esm_on(wr)!==yr&&qe(wr,yr,mr),index_esm_Xt[mr]=index_esm_Xt.Array;}var Er,Dr,Sr=vr,xr=function(e){return e&&e.Math==Math&&e;},Cr=xr("object"==typeof globalThis&&globalThis)||xr("object"==typeof window&&window)||xr("object"==typeof self&&self)||xr("object"==typeof e&&e)||function(){return this;}()||Function("return this")(),Ar=function(e){try{return!!e();}catch(e){return!0;}},Or=!Ar(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),kr=Function.prototype.call,Br=kr.bind?kr.bind(kr):function(){return kr.apply(kr,arguments);},Fr={}.propertyIsEnumerable,Tr=Object.getOwnPropertyDescriptor,_r=Tr&&!Fr.call({1:2},1)?function(e){var t=Tr(this,e);return!!t&&t.enumerable;}:Fr,Pr={f:_r},jr=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},Nr=Function.prototype,Ir=Nr.bind,Lr=Nr.call,Rr=Ir&&Ir.bind(Lr),Mr=Ir?function(e){return e&&Rr(Lr,e);}:function(e){return e&&function(){return Lr.apply(e,arguments);};},zr=Mr({}.toString),$r=Mr("".slice),Hr=function(e){return $r(zr(e),8,-1);},Vr=Cr.Object,Ur=Mr("".split),Wr=Ar(function(){return!Vr("z").propertyIsEnumerable(0);})?function(e){return"String"==Hr(e)?Ur(e,""):Vr(e);}:Vr,Gr=Cr.TypeError,qr=function(e){if(null==e)throw Gr("Can't call method on "+e);return e;},Kr=function(e){return Wr(qr(e));},Yr=function(e){return"function"==typeof e;},Xr=function(e){return"object"==typeof e?null!==e:Yr(e);},Zr=function(e){return Yr(e)?e:void 0;},Jr=function(e,t){return arguments.length<2?Zr(Cr[e]):Cr[e]&&Cr[e][t];},Qr=Mr({}.isPrototypeOf),eo=Jr("navigator","userAgent")||"",to=Cr.process,no=Cr.Deno,ro=to&&to.versions||no&&no.version,oo=ro&&ro.v8;oo&&(Dr=(Er=oo.split("."))[0]>0&&Er[0]<4?1:+(Er[0]+Er[1])),!Dr&&eo&&(!(Er=eo.match(/Edge\/(\d+)/))||Er[1]>=74)&&(Er=eo.match(/Chrome\/(\d+)/))&&(Dr=+Er[1]);var io=Dr,ao=!!Object.getOwnPropertySymbols&&!Ar(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&io&&io<41;}),uo=ao&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,so=Cr.Object,lo=uo?function(e){return"symbol"==typeof e;}:function(e){var t=Jr("Symbol");return Yr(t)&&Qr(t.prototype,so(e));},co=Cr.String,fo=function(e){try{return co(e);}catch(e){return"Object";}},po=Cr.TypeError,ho=function(e){if(Yr(e))return e;throw po(fo(e)+" is not a function");},go=function(e,t){var n=e[t];return null==n?void 0:ho(n);},vo=Cr.TypeError,yo=Object.defineProperty,mo=function(e,t){try{yo(Cr,e,{value:t,configurable:!0,writable:!0});}catch(n){Cr[e]=t;}return t;},bo=Cr["__core-js_shared__"]||mo("__core-js_shared__",{}),wo=n(function(e){(e.exports=function(e,t){return bo[e]||(bo[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),Eo=Cr.Object,Do=function(e){return Eo(qr(e));},So=Mr({}.hasOwnProperty),xo=Object.hasOwn||function(e,t){return So(Do(e),t);},Co=0,Ao=Math.random(),Oo=Mr(1..toString),ko=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Oo(++Co+Ao,36);},Bo=wo("wks"),Fo=Cr.Symbol,To=Fo&&Fo.for,_o=uo?Fo:Fo&&Fo.withoutSetter||ko,Po=function(e){if(!xo(Bo,e)||!ao&&"string"!=typeof Bo[e]){var t="Symbol."+e;ao&&xo(Fo,e)?Bo[e]=Fo[e]:Bo[e]=uo&&To?To(t):_o(t);}return Bo[e];},jo=Cr.TypeError,No=Po("toPrimitive"),Io=function(e,t){if(!Xr(e)||lo(e))return e;var n,r=go(e,No);if(r){if(void 0===t&&(t="default"),n=Br(r,e,t),!Xr(n)||lo(n))return n;throw jo("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Yr(n=e.toString)&&!Xr(r=Br(n,e)))return r;if(Yr(n=e.valueOf)&&!Xr(r=Br(n,e)))return r;if("string"!==t&&Yr(n=e.toString)&&!Xr(r=Br(n,e)))return r;throw vo("Can't convert object to primitive value");}(e,t);},Lo=function(e){var t=Io(e,"string");return lo(t)?t:t+"";},Ro=Cr.document,Mo=Xr(Ro)&&Xr(Ro.createElement),zo=function(e){return Mo?Ro.createElement(e):{};},$o=!Or&&!Ar(function(){return 7!=Object.defineProperty(zo("div"),"a",{get:function(){return 7;}}).a;}),Ho=Object.getOwnPropertyDescriptor,Vo=Or?Ho:function(e,t){if(e=Kr(e),t=Lo(t),$o)try{return Ho(e,t);}catch(e){}if(xo(e,t))return jr(!Br(Pr.f,e,t),e[t]);},Uo={f:Vo},Wo=Cr.String,Go=Cr.TypeError,qo=function(e){if(Xr(e))return e;throw Go(Wo(e)+" is not an object");},Ko=Cr.TypeError,Yo=Object.defineProperty,Xo=Or?Yo:function(e,t,n){if(qo(e),t=Lo(t),qo(n),$o)try{return Yo(e,t,n);}catch(e){}if("get"in n||"set"in n)throw Ko("Accessors not supported");return"value"in n&&(e[t]=n.value),e;},Zo={f:Xo},Jo=Or?function(e,t,n){return Zo.f(e,t,jr(1,n));}:function(e,t,n){return e[t]=n,e;},Qo=Mr(Function.toString);Yr(bo.inspectSource)||(bo.inspectSource=function(e){return Qo(e);});var ei,ti,ni,ri=bo.inspectSource,oi=Cr.WeakMap,ii=Yr(oi)&&/native code/.test(ri(oi)),ai=wo("keys"),ui=function(e){return ai[e]||(ai[e]=ko(e));},si={},li=Cr.TypeError,ci=Cr.WeakMap;if(ii||bo.state){var fi=bo.state||(bo.state=new ci()),di=Mr(fi.get),pi=Mr(fi.has),hi=Mr(fi.set);ei=function(e,t){if(pi(fi,e))throw new li("Object already initialized");return t.facade=e,hi(fi,e,t),t;},ti=function(e){return di(fi,e)||{};},ni=function(e){return pi(fi,e);};}else{var gi=ui("state");si[gi]=!0,ei=function(e,t){if(xo(e,gi))throw new li("Object already initialized");return t.facade=e,Jo(e,gi,t),t;},ti=function(e){return xo(e,gi)?e[gi]:{};},ni=function(e){return xo(e,gi);};}var vi={set:ei,get:ti,has:ni,enforce:function(e){return ni(e)?ti(e):ei(e,{});},getterFor:function(e){return function(t){var n;if(!Xr(t)||(n=ti(t)).type!==e)throw li("Incompatible receiver, "+e+" required");return n;};}},yi=Function.prototype,mi=Or&&Object.getOwnPropertyDescriptor,bi=xo(yi,"name"),wi={EXISTS:bi,PROPER:bi&&"something"===function(){}.name,CONFIGURABLE:bi&&(!Or||Or&&mi(yi,"name").configurable)},Ei=n(function(e){var t=wi.CONFIGURABLE,n=vi.get,r=vi.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;Yr(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!xo(i,"name")||t&&i.name!==f)&&Jo(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==Cr?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:Jo(e,n,i)):l?e[n]=i:mo(n,i);})(Function.prototype,"toString",function(){return Yr(this)&&n(this).source||ri(this);});}),Di=Math.ceil,Si=Math.floor,xi=function(e){var t=+e;return t!=t||0===t?0:(t>0?Si:Di)(t);},Ci=Math.max,Ai=Math.min,Oi=function(e,t){var n=xi(e);return n<0?Ci(n+t,0):Ai(n,t);},ki=Math.min,Bi=function(e){return e>0?ki(xi(e),9007199254740991):0;},Fi=function(e){return Bi(e.length);},Ti=function(e){return function(t,n,r){var o,i=Kr(t),a=Fi(i),u=Oi(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},_i={includes:Ti(!0),indexOf:Ti(!1)}.indexOf,Pi=Mr([].push),ji=function(e,t){var n,r=Kr(e),o=0,i=[];for(n in r)!xo(si,n)&&xo(r,n)&&Pi(i,n);for(;t.length>o;)xo(r,n=t[o++])&&(~_i(i,n)||Pi(i,n));return i;},Ni=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ii=Ni.concat("length","prototype"),Li=Object.getOwnPropertyNames||function(e){return ji(e,Ii);},Ri={f:Li},Mi={f:Object.getOwnPropertySymbols},zi=Mr([].concat),$i=Jr("Reflect","ownKeys")||function(e){var t=Ri.f(qo(e)),n=Mi.f;return n?zi(t,n(e)):t;},Hi=function(e,t){for(var n=$i(t),r=Zo.f,o=Uo.f,i=0;i<n.length;i++){var a=n[i];xo(e,a)||r(e,a,o(t,a));}},Vi=/#|\.prototype\./,Ui=function(e,t){var n=Gi[Wi(e)];return n==Ki||n!=qi&&(Yr(t)?Ar(t):!!t);},Wi=Ui.normalize=function(e){return String(e).replace(Vi,".").toLowerCase();},Gi=Ui.data={},qi=Ui.NATIVE="N",Ki=Ui.POLYFILL="P",Yi=Ui,Xi=Uo.f,Zi=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Cr:l?Cr[u]||mo(u,{}):(Cr[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Xi(n,r))&&a.value:n[r],!Yi(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Hi(i,o);}(e.sham||o&&o.sham)&&Jo(i,"sham",!0),Ei(n,r,i,e);}},Ji={};Ji[Po("toStringTag")]="z";var Qi,ea="[object z]"===String(Ji),ta=Po("toStringTag"),na=Cr.Object,ra="Arguments"==Hr(function(){return arguments;}()),oa=ea?Hr:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=na(e),ta))?n:ra?Hr(t):"Object"==(r=Hr(t))&&Yr(t.callee)?"Arguments":r;},ia=Cr.String,aa=function(e){if("Symbol"===oa(e))throw TypeError("Cannot convert a Symbol value to a string");return ia(e);},ua=function(){var e=qo(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},sa=Cr.RegExp,la=Ar(function(){var e=sa("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),ca=la||Ar(function(){return!sa("a","y").sticky;}),fa=la||Ar(function(){var e=sa("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),da={BROKEN_CARET:fa,MISSED_STICKY:ca,UNSUPPORTED_Y:la},pa=Object.keys||function(e){return ji(e,Ni);},ha=Or?Object.defineProperties:function(e,t){qo(e);for(var n,r=Kr(t),o=pa(t),i=o.length,a=0;i>a;)Zo.f(e,n=o[a++],r[n]);return e;},ga=Jr("document","documentElement"),va=ui("IE_PROTO"),ya=function(){},ma=function(e){return"<script>"+e+"<\/script>";},ba=function(e){e.write(ma("")),e.close();var t=e.parentWindow.Object;return e=null,t;},wa=function(){try{Qi=new ActiveXObject("htmlfile");}catch(e){}var e,t;wa="undefined"!=typeof document?document.domain&&Qi?ba(Qi):((t=zo("iframe")).style.display="none",ga.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ma("document.F=Object")),e.close(),e.F):ba(Qi);for(var n=Ni.length;n--;)delete wa.prototype[Ni[n]];return wa();};si[va]=!0;var Ea,Da,Sa=Object.create||function(e,t){var n;return null!==e?(ya.prototype=qo(e),n=new ya(),ya.prototype=null,n[va]=e):n=wa(),void 0===t?n:ha(n,t);},xa=Cr.RegExp,Ca=Ar(function(){var e=xa(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),Aa=Cr.RegExp,Oa=Ar(function(){var e=Aa("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),ka=vi.get,Ba=wo("native-string-replace",String.prototype.replace),Fa=RegExp.prototype.exec,Ta=Fa,index_esm_a=Mr("".charAt),Pa=Mr("".indexOf),ja=Mr("".replace),Na=Mr("".slice),Ia=(Da=/b*/g,Br(Fa,Ea=/a/,"a"),Br(Fa,Da,"a"),0!==Ea.lastIndex||0!==Da.lastIndex),La=da.BROKEN_CARET,Ra=void 0!==/()??/.exec("")[1];(Ia||Ra||La||Ca||Oa)&&(Ta=function(e){var t,n,r,o,i,a,u,s=this,l=ka(s),c=aa(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Br(Ta,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=La&&s.sticky,h=Br(ua,s),g=s.source,v=0,y=c;if(p&&(h=ja(h,"y",""),-1===Pa(h,"g")&&(h+="g"),y=Na(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==index_esm_a(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),Ra&&(n=new RegExp("^"+g+"$(?!\\s)",h)),Ia&&(r=s.lastIndex),o=Br(Fa,p?n:s,y),p?o?(o.input=Na(o.input,v),o[0]=Na(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Ia&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Ra&&o&&o.length>1&&Br(Ba,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=Sa(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var Ma=Ta;Zi({target:"RegExp",proto:!0,forced:/./.exec!==Ma},{exec:Ma});var za=Po("species"),$a=RegExp.prototype,Ha=Mr("".charAt),Va=Mr("".charCodeAt),Ua=Mr("".slice),Wa=function(e){return function(t,n){var r,o,i=aa(qr(t)),a=xi(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Va(i,a))<55296||r>56319||a+1===u||(o=Va(i,a+1))<56320||o>57343?e?Ha(i,a):r:e?Ua(i,a,a+2):o-56320+(r-55296<<10)+65536;};},Ga={codeAt:Wa(!1),charAt:Wa(!0)},qa=Ga.charAt,Ka=function(e,t,n){return t+(n?qa(e,t).length:1);},Ya=Cr.TypeError,Xa=function(e,t){var n=e.exec;if(Yr(n)){var r=Br(n,e,t);return null!==r&&qo(r),r;}if("RegExp"===Hr(e))return Br(Ma,e,t);throw Ya("RegExp#exec called on incompatible receiver");};!function(e,t,n,r){var o=Po(e),i=!Ar(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!Ar(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[za]=function(){return n;},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null;},n[o](""),!t;});if(!i||!a||n){var u=Mr(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=Mr(e),s=t.exec;return s===Ma||s===$a.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});Ei(String.prototype,e,s[0]),Ei($a,o,s[1]);}r&&Jo($a[o],"sham",!0);}("match",function(e,t,n){return[function(t){var n=qr(this),r=null==t?void 0:go(t,e);return r?Br(r,t,n):new RegExp(t)[e](aa(n));},function(e){var r=qo(this),o=aa(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Xa(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=Xa(r,o));){var c=aa(u[0]);s[l]=c,""===c&&(r.lastIndex=Ka(o,Bi(r.lastIndex),a)),l++;}return 0===l?null:s;}];}),Zi({global:!0},{globalThis:Cr});var Za=!Ar(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),Ja=ui("IE_PROTO"),Qa=Cr.Object,eu=Qa.prototype,tu=Za?Qa.getPrototypeOf:function(e){var t=Do(e);if(xo(t,Ja))return t[Ja];var n=t.constructor;return Yr(n)&&t instanceof n?n.prototype:t instanceof Qa?eu:null;},nu=Cr.String,ru=Cr.TypeError,ou=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Mr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return qo(n),function(e){if("object"==typeof e||Yr(e))return e;throw ru("Can't set "+nu(e)+" as a prototype");}(r),t?e(n,r):n.__proto__=r,n;};}():void 0),iu=Cr.Array,au=Math.max,uu=Mr("".replace),su=Mr("".split),lu=Mr([].join),cu=String(Error("zxcasd").stack),fu=/\n\s*at [^:]*:[^\n]*/,du=fu.test(cu),pu=/@[^\n]*\n/.test(cu)&&!/zxcasd/.test(cu),hu=function(e,t){if("string"!=typeof e)return e;if(du)for(;t--;)e=uu(e,fu,"");else if(pu)return lu(function(e,t,n){for(var r,o,i,a,u=Fi(e),s=Oi(t,u),l=Oi(void 0===n?u:n,u),c=iu(au(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],a=void 0,(a=Lo(o))in r?Zo.f(r,a,jr(0,i)):r[a]=i;return c.length=f,c;}(su(e,"\n"),t),"\n");return e;},gu=function(e,t){Xr(t)&&"cause"in t&&Jo(e,"cause",t.cause);},vu=Mr(Mr.bind),yu=function(e,t){return ho(e),void 0===t?e:vu?vu(e,t):function(){return e.apply(t,arguments);};},mu={},bu=Po("iterator"),wu=Array.prototype,Eu=Po("iterator"),Du=function(e){if(null!=e)return go(e,Eu)||go(e,"@@iterator")||mu[oa(e)];},Su=Cr.TypeError,xu=function(e,t,n){var r,o;qo(e);try{if(!(r=go(e,"return"))){if("throw"===t)throw n;return n;}r=Br(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return qo(r),n;},Cu=Cr.TypeError,Au=function(e,t){this.stopped=e,this.result=t;},Ou=Au.prototype,ku=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=yu(t,c),g=function(e){return r&&xu(r,"normal",e),new Au(!0,e);},v=function(e){return f?(qo(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e);};if(d)r=e;else{if(!(o=Du(e)))throw Cu(fo(e)+" is not iterable");if(function(e){return void 0!==e&&(mu.Array===e||wu[bu]===e);}(o)){for(i=0,a=Fi(e);a>i;i++)if((u=v(e[i]))&&Qr(Ou,u))return u;return new Au(!1);}r=function(e,t){var n=arguments.length<2?Du(e):t;if(ho(n))return qo(Br(n,e));throw Su(fo(e)+" is not iterable");}(e,o);}for(s=r.next;!(l=Br(s,r)).done;){try{u=v(l.value);}catch(e){xu(r,"throw",e);}if("object"==typeof u&&u&&Qr(Ou,u))return u;}return new Au(!1);},Bu=function(e,t){return void 0===e?arguments.length<2?"":t:aa(e);},Fu=!Ar(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",jr(1,7)),7!==e.stack);}),Tu=Po("toStringTag"),_u=Cr.Error,Pu=[].push,ju=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=Qr(Nu,this);ou?n=ou(new _u(void 0),o?tu(this):Nu):(n=o?this:Sa(Nu),Jo(n,Tu,"Error")),Jo(n,"message",Bu(t,"")),Fu&&Jo(n,"stack",hu(n.stack,1)),gu(n,r);var i=[];return ku(e,Pu,{that:i}),Jo(n,"errors",i),n;};ou?ou(ju,_u):Hi(ju,_u);var Nu=ju.prototype=Sa(_u.prototype,{constructor:jr(1,ju),message:jr(1,""),name:jr(1,"AggregateError")});Zi({global:!0},{AggregateError:ju});var Iu=Po("unscopables"),Lu=Array.prototype;null==Lu[Iu]&&Zo.f(Lu,Iu,{configurable:!0,value:Sa(null)});var Ru,Mu,zu,$u=function(e){Lu[Iu][e]=!0;},Hu=Po("iterator"),Vu=!1;[].keys&&("next"in(zu=[].keys())?(Mu=tu(tu(zu)))!==Object.prototype&&(Ru=Mu):Vu=!0);var Uu=null==Ru||Ar(function(){var e={};return Ru[Hu].call(e)!==e;});Uu&&(Ru={}),Yr(Ru[Hu])||Ei(Ru,Hu,function(){return this;});var Wu={IteratorPrototype:Ru,BUGGY_SAFARI_ITERATORS:Vu},Gu=Zo.f,qu=Po("toStringTag"),Ku=function(e,t,n){e&&!xo(e=n?e:e.prototype,qu)&&Gu(e,qu,{configurable:!0,value:t});},Yu=Wu.IteratorPrototype,Xu=function(){return this;},Zu=wi.PROPER,Ju=wi.CONFIGURABLE,Qu=Wu.IteratorPrototype,es=Wu.BUGGY_SAFARI_ITERATORS,ts=Po("iterator"),index_esm_ns=function(){return this;},rs=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Sa(Yu,{next:jr(+!r,n)}),Ku(e,o,!1),mu[o]=Xu;}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!es&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e);};}return function(){return new n(this);};},f=t+" Iterator",d=!1,p=e.prototype,h=p[ts]||p["@@iterator"]||o&&p[o],g=!es&&h||c(o),v="Array"==t&&p.entries||h;if(v&&(u=tu(v.call(new e())))!==Object.prototype&&u.next&&(tu(u)!==Qu&&(ou?ou(u,Qu):Yr(u[ts])||Ei(u,ts,index_esm_ns)),Ku(u,f,!0)),Zu&&"values"==o&&h&&"values"!==h.name&&(Ju?Jo(p,"name","values"):(d=!0,g=function(){return Br(h,this);})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(es||d||!(l in p))&&Ei(p,l,s[l]);else Zi({target:t,proto:!0,forced:es||d},s);return p[ts]!==g&&Ei(p,ts,g,{name:o}),mu[t]=g,s;},os=vi.set,is=vi.getterFor("Array Iterator"),as=rs(Array,"Array",function(e,t){os(this,{type:"Array Iterator",target:Kr(e),index:0,kind:t});},function(){var e=is(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1};},"values");mu.Arguments=mu.Array,$u("keys"),$u("values"),$u("entries");var us=Ga.charAt,ss=vi.set,ls=vi.getterFor("String Iterator");rs(String,"String",function(e){ss(this,{type:"String Iterator",string:aa(e),index:0});},function(){var e,t=ls(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=us(n,r),t.index+=e.length,{value:e,done:!1});});var cs,fs={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},ds=zo("span").classList,ps=ds&&ds.constructor&&ds.constructor.prototype,hs=ps===Object.prototype?void 0:ps,gs=Po("iterator"),vs=Po("toStringTag"),ys=as.values,ms=function(e,t){if(e){if(e[gs]!==ys)try{Jo(e,gs,ys);}catch(t){e[gs]=ys;}if(e[vs]||Jo(e,vs,t),fs[t])for(var n in as)if(e[n]!==as[n])try{Jo(e,n,as[n]);}catch(t){e[n]=as[n];}}};for(var bs in fs)ms(Cr[bs]&&Cr[bs].prototype,bs);if(ms(hs,"DOMTokenList"),"undefined"==typeof __webpack_require__.g){if("ActiveXObject"in window){"\n Sorry, wangEditor V5+ versions do not support IE browser.",console.error("抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器\n Sorry, wangEditor V5+ versions do not support IE browser.");}ws(),Es();}else __webpack_require__.g&&(null===(cs=__webpack_require__.g.navigator)||void 0===cs?void 0:cs.userAgent.match("QQBrowser"))&&(ws(),Es());function ws(){"undefined"==typeof globalThis&&(window.globalThis=window);}function Es(){void 0===Sr&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n;});}var Ds,Ss=Array.isArray||function(e){return"Array"==index_esm_B(e);},xs=function(){},Cs=[],As=M("Reflect","construct"),Os=/^\s*(?:class|function)\b/,ks=v(Os.exec),Bs=!Os.exec(xs),Fs=function(e){if(!y(e))return!1;try{return As(xs,Cs,e),!0;}catch(e){return!1;}},Ts=!As||m(function(){var e;return Fs(Fs.call)||!Fs(Object)||!Fs(function(){e=!0;})||e;})?function(e){if(!y(e))return!1;switch(index_esm_on(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return Bs||!!ks(Os,On(e));}:Fs,_s=index_esm_be("species"),Ps=a.Array,js=function(e,t){return new(function(e){var t;return Ss(e)&&(t=e.constructor,(Ts(t)&&(t===Ps||Ss(t.prototype))||index_esm_I(t)&&null===(t=t[_s]))&&(t=void 0)),void 0===t?Ps:t;}(e))(0===t?0:t);},Ns=index_esm_be("species"),Is=index_esm_be("isConcatSpreadable"),Ls=a.TypeError,Rs=index_esm_q>=51||!m(function(){var e=[];return e[Is]=!1,e.concat()[0]!==e;}),Ms=(Ds="concat",index_esm_q>=51||!m(function(){var e=[];return(e.constructor={})[Ns]=function(){return{foo:1};},1!==e[Ds](Boolean).foo;})),zs=function(e){if(!index_esm_I(e))return!1;var t=e[Is];return void 0!==t?!!t:Ss(e);};index_esm_Xe({target:"Array",proto:!0,forced:!Rs||!Ms},{concat:function(e){var t,n,r,o,i,a=index_esm_se(this),u=js(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(zs(i=-1===t?a:arguments[t])){if(s+(o=index_esm_ht(i))>9007199254740991)throw Ls("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&Lt(u,s,i[n]);}else{if(s>=9007199254740991)throw Ls("Maximum allowed index exceeded");Lt(u,s++,i);}return u.length=s,u;}});var $s=index_esm_xt.f,Hs="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Vs={f:function(e){return Hs&&"Window"==index_esm_B(e)?function(e){try{return $s(e);}catch(e){return index_esm_zt(Hs);}}(e):$s(index_esm_N(e));}},Us=v([].slice),Ws={f:index_esm_be},Gs=index_esm_Ge.f,qs=function(e){var t=L.Symbol||(L.Symbol={});index_esm_ce(t,e)||Gs(t,e,{value:Ws.f(e)});},Ks=v([].push),Ys=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=index_esm_se(s),g=_(h),v=index_esm_Me(l,c),y=index_esm_ht(g),m=0,b=f||js,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Ks(w,d);}else switch(e){case 4:return!1;case 7:Ks(w,d);}return i?-1:r||o?o:w;};},Xs={forEach:Ys(0),map:Ys(1),filter:Ys(2),some:Ys(3),every:Ys(4),find:Ys(5),findIndex:Ys(6),filterReject:Ys(7)}.forEach,Zs=index_esm_Je("hidden"),Js=index_esm_be("toPrimitive"),Qs=zn.set,el=zn.getterFor("Symbol"),tl=Object.prototype,nl=a.Symbol,rl=nl&&nl.prototype,ol=a.TypeError,il=a.QObject,al=M("JSON","stringify"),ul=Fe.f,sl=index_esm_Ge.f,ll=Vs.f,cl=index_esm_C.f,fl=v([].push),dl=ae("symbols"),pl=ae("op-symbols"),hl=ae("string-to-symbol-registry"),gl=ae("symbol-to-string-registry"),vl=ae("wks"),yl=!il||!il.prototype||!il.prototype.findChild,ml=b&&m(function(){return 7!=index_esm_It(sl({},"a",{get:function(){return sl(this,"a",{value:7}).a;}})).a;})?function(e,t,n){var r=ul(tl,t);r&&delete tl[t],sl(e,t,n),r&&e!==tl&&sl(tl,t,r);}:sl,bl=function(e,t){var n=dl[e]=index_esm_It(rl);return Qs(n,{type:"Symbol",tag:e,description:t}),b||(n.description=t),n;},wl=function(e,t,n){e===tl&&wl(pl,t,n),index_esm_He(e);var r=index_esm_Se(t);return index_esm_He(n),index_esm_ce(dl,r)?(n.enumerable?(index_esm_ce(e,Zs)&&e[Zs][r]&&(e[Zs][r]=!1),n=index_esm_It(n,{enumerable:A(0,!1)})):(index_esm_ce(e,Zs)||sl(e,Zs,A(1,{})),e[Zs][r]=!0),ml(e,r,n)):sl(e,r,n);},El=function(e,t){index_esm_He(e);var n=index_esm_N(t),r=kt(n).concat(Cl(n));return Xs(r,function(t){b&&!index_esm_E(Dl,n,t)||wl(e,t,n[t]);}),e;},Dl=function(e){var t=index_esm_Se(e),n=index_esm_E(cl,this,t);return!(this===tl&&index_esm_ce(dl,t)&&!index_esm_ce(pl,t))&&(!(n||!index_esm_ce(this,t)||!index_esm_ce(dl,t)||index_esm_ce(this,Zs)&&this[Zs][t])||n);},Sl=function(e,t){var n=index_esm_N(e),r=index_esm_Se(t);if(n!==tl||!index_esm_ce(dl,r)||index_esm_ce(pl,r)){var o=ul(n,r);return!o||!index_esm_ce(dl,r)||index_esm_ce(n,Zs)&&n[Zs][r]||(o.enumerable=!0),o;}},xl=function(e){var t=ll(index_esm_N(e)),n=[];return Xs(t,function(e){index_esm_ce(dl,e)||index_esm_ce(index_esm_yt,e)||fl(n,e);}),n;},Cl=function(e){var t=e===tl,n=ll(t?pl:index_esm_N(e)),r=[];return Xs(n,function(e){!index_esm_ce(dl,e)||t&&!index_esm_ce(tl,e)||fl(r,dl[e]);}),r;};if(index_esm_K||(rl=(nl=function(){if(z(rl,this))throw ol("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?index_esm_gn(arguments[0]):void 0,t=he(e),n=function(e){this===tl&&index_esm_E(n,pl,e),index_esm_ce(this,Zs)&&index_esm_ce(this[Zs],t)&&(this[Zs][t]=!1),ml(this,t,A(1,e));};return b&&yl&&ml(tl,t,{configurable:!0,set:n}),bl(t,e);}).prototype,Wn(rl,"toString",function(){return el(this).tag;}),Wn(nl,"withoutSetter",function(e){return bl(he(e),e);}),index_esm_C.f=Dl,index_esm_Ge.f=wl,Fe.f=Sl,index_esm_xt.f=Vs.f=xl,index_esm_Ct.f=Cl,Ws.f=function(e){return bl(index_esm_be(e),e);},b&&sl(rl,"description",{configurable:!0,get:function(){return el(this).description;}})),index_esm_Xe({global:!0,wrap:!0,forced:!index_esm_K,sham:!index_esm_K},{Symbol:nl}),Xs(kt(vl),function(e){qs(e);}),index_esm_Xe({target:"Symbol",stat:!0,forced:!index_esm_K},{for:function(e){var t=index_esm_gn(e);if(index_esm_ce(hl,t))return hl[t];var n=nl(t);return hl[t]=n,gl[n]=t,n;},keyFor:function(e){if(!index_esm_Z(e))throw ol(e+" is not a symbol");if(index_esm_ce(gl,e))return gl[e];},useSetter:function(){yl=!0;},useSimple:function(){yl=!1;}}),index_esm_Xe({target:"Object",stat:!0,forced:!index_esm_K,sham:!b},{create:function(e,t){return void 0===t?index_esm_It(e):El(index_esm_It(e),t);},defineProperty:wl,defineProperties:El,getOwnPropertyDescriptor:Sl}),index_esm_Xe({target:"Object",stat:!0,forced:!index_esm_K},{getOwnPropertyNames:xl,getOwnPropertySymbols:Cl}),index_esm_Xe({target:"Object",stat:!0,forced:m(function(){index_esm_Ct.f(1);})},{getOwnPropertySymbols:function(e){return index_esm_Ct.f(index_esm_se(e));}}),al){var Al=!index_esm_K||m(function(){var e=nl();return"[null]"!=al([e])||"{}"!=al({a:e})||"{}"!=al(Object(e));});index_esm_Xe({target:"JSON",stat:!0,forced:Al},{stringify:function(e,t,n){var r=Us(arguments),o=t;if((index_esm_I(t)||void 0!==e)&&!index_esm_Z(e))return Ss(t)||(t=function(e,t){if(y(o)&&(t=index_esm_E(o,this,e,t)),!index_esm_Z(t))return t;}),r[1]=t,f(al,null,r);}});}if(!rl[Js]){var Ol=rl.valueOf;Wn(rl,Js,function(e){return index_esm_E(Ol,this);});}Qn(nl,"Symbol"),index_esm_yt[Zs]=!0,qs("asyncIterator"),qs("hasInstance"),qs("isConcatSpreadable"),qs("iterator"),qs("match"),qs("matchAll"),qs("replace"),qs("search"),qs("species"),qs("split"),qs("toPrimitive"),qs("toStringTag"),qs("unscopables"),Qn(a.JSON,"JSON",!0);var kl=L.Symbol;qs("asyncDispose"),qs("dispose"),qs("matcher"),qs("metadata"),qs("observable"),qs("patternMatch"),qs("replaceAll");var Bl=kl,Fl=Ws.f("iterator"),Tl=n(function(e){function t(n){return"function"==typeof Bl&&"symbol"==typeof Fl?(e.exports=t=function(e){return typeof e;},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Bl&&e.constructor===Bl&&e!==Bl.prototype?"symbol":typeof e;},e.exports.default=e.exports,e.exports.__esModule=!0),t(n);}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0;}),_l=t(Tl),Pl=Uo.f,jl=Ar(function(){Pl(1);});if(Zi({target:"Object",stat:!0,forced:!Or||jl,sham:!Or},{getOwnPropertyDescriptor:function(e,t){return Pl(Kr(e),t);}}),"object"===("undefined"==typeof __webpack_require__.g?"undefined":_l(__webpack_require__.g))){var Nl=Object.getOwnPropertyDescriptor(__webpack_require__.g,"window");__webpack_require__.g.window&&!Nl.set||(__webpack_require__.g.window=__webpack_require__.g,__webpack_require__.g.requestAnimationFrame=function(){},__webpack_require__.g.navigator={userAgent:""},__webpack_require__.g.location={hostname:"0.0.0.0",port:0,protocol:"http:"},__webpack_require__.g.btoa=function(){},__webpack_require__.g.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e);}}),null!=__webpack_require__.g.document&&null==__webpack_require__.g.document.getElementsByTagName&&(__webpack_require__.g.document.getElementsByTagName=function(){return[];});}/*!
101592
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
101593
+ *
101594
+ * Copyright (c) 2014-2017, Jon Schlinkert.
101595
+ * Released under the MIT License.
101596
+ */function Il(e){return"[object Object]"===Object.prototype.toString.call(e);}function Ll(e){var t,n;return!1!==Il(e)&&(void 0===(t=e.constructor)||!1!==Il(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"));}function Rl(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'";}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf");}function Ml(e){return!!e&&!!e[xc];}function zl(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Cc;}(e)||Array.isArray(e)||!!e[Sc]||!!e.constructor[Sc]||Wl(e)||Gl(e));}function $l(e,t,n){void 0===n&&(n=!1),0===Hl(e)?(n?Object.keys:Ac)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e);}):e.forEach(function(n,r){return t(r,n,e);});}function Hl(e){var t=e[xc];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Wl(e)?2:Gl(e)?3:0;}function Vl(e,t){return 2===Hl(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t);}function Ul(e,t,n){var r=Hl(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n;}function Wl(e){return bc&&e instanceof Map;}function Gl(e){return wc&&e instanceof Set;}function ql(e){return e.o||e.t;}function Kl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Oc(e);delete t[xc];for(var n=Ac(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]});}return Object.create(Object.getPrototypeOf(e),t);}function Yl(e,t){return void 0===t&&(t=!1),Zl(e)||Ml(e)||!zl(e)||(Hl(e)>1&&(e.set=e.add=e.clear=e.delete=Xl),Object.freeze(e),t&&$l(e,function(e,t){return Yl(t,!0);},!0)),e;}function Xl(){Rl(2);}function Zl(e){return null==e||"object"!=typeof e||Object.isFrozen(e);}function Jl(e){var t=kc[e];return t||Rl(18,e),t;}function Ql(){return yc;}function ec(e,t){t&&(Jl("Patches"),e.u=[],e.s=[],e.v=t);}function tc(e){nc(e),e.p.forEach(oc),e.p=null;}function nc(e){e===yc&&(yc=e.l);}function rc(e){return yc={p:[],l:yc,h:e,m:!0,_:0};}function oc(e){var t=e[xc];0===t.i||1===t.i?t.j():t.O=!0;}function ic(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||Jl("ES5").S(t,e,r),r?(n[xc].P&&(tc(t),Rl(4)),zl(e)&&(e=ac(t,e),t.l||sc(t,e)),t.u&&Jl("Patches").M(n[xc],e,t.u,t.s)):e=ac(t,n,[]),tc(t),t.u&&t.v(t.u,t.s),e!==Dc?e:void 0;}function ac(e,t,n){if(Zl(t))return t;var r=t[xc];if(!r)return $l(t,function(o,i){return uc(e,r,t,o,i,n);},!0),t;if(r.A!==e)return t;if(!r.P)return sc(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Kl(r.k):r.o;$l(3===r.i?new Set(o):o,function(t,i){return uc(e,r,o,t,i,n);}),sc(e,o,!1),n&&e.u&&Jl("Patches").R(r,n,e.u,e.s);}return r.o;}function uc(e,t,n,r,o,i){if(Ml(o)){var a=ac(e,o,i&&t&&3!==t.i&&!Vl(t.D,r)?i.concat(r):void 0);if(Ul(n,r,a),!Ml(a))return;e.m=!1;}if(zl(o)&&!Zl(o)){if(!e.h.F&&e._<1)return;ac(e,o),t&&t.A.l||sc(e,o);}}function sc(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&Yl(t,n);}function lc(e,t){var n=e[xc];return(n?ql(n):e)[t];}function cc(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n);}}function fc(e){e.P||(e.P=!0,e.l&&fc(e.l));}function dc(e){e.o||(e.o=Kl(e.t));}function pc(e,t,n){var r=Wl(t)?Jl("MapSet").N(t,n):Gl(t)?Jl("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Ql(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Bc;n&&(o=[r],i=Fc);var a=Proxy.revocable(o,i),u=a.revoke,s=a.proxy;return r.k=s,r.j=u,s;}(t,n):Jl("ES5").J(t,n);return(n?n.A:Ql()).p.push(r),r;}function hc(e){return Ml(e)||Rl(22,e),function e(t){if(!zl(t))return t;var n,r=t[xc],o=Hl(t);if(r){if(!r.P&&(r.i<4||!Jl("ES5").K(r)))return r.t;r.I=!0,n=gc(t,o),r.I=!1;}else n=gc(t,o);return $l(n,function(t,o){r&&function(e,t){return 2===Hl(e)?e.get(t):e[t];}(r.t,t)===o||Ul(n,t,e(o));}),3===o?new Set(n):n;}(e);}function gc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e);}return Kl(e);}var vc,yc,mc="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),bc="undefined"!=typeof Map,wc="undefined"!=typeof Set,Ec="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Dc=mc?Symbol.for("immer-nothing"):((vc={})["immer-nothing"]=!0,vc),Sc=mc?Symbol.for("immer-draftable"):"__$immer_draftable",xc=mc?Symbol.for("immer-state"):"__$immer_state",Cc=""+Object.prototype.constructor,Ac="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));}:Object.getOwnPropertyNames,Oc=Object.getOwnPropertyDescriptors||function(e){var t={};return Ac(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n);}),t;},kc={},Bc={get:function(e,t){if(t===xc)return e;var n=ql(e);if(!Vl(n,t))return function(e,t,n){var r,o=cc(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0;}(e,n,t);var r=n[t];return e.I||!zl(r)?r:r===lc(e.t,t)?(dc(e),e.o[t]=pc(e.A.h,r,e)):r;},has:function(e,t){return t in ql(e);},ownKeys:function(e){return Reflect.ownKeys(ql(e));},set:function(e,t,n){var r=cc(ql(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=lc(ql(e),t),i=null==o?void 0:o[xc];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t;}(n,o)&&(void 0!==n||Vl(e.t,t)))return!0;dc(e),fc(e);}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0);},deleteProperty:function(e,t){return void 0!==lc(e.t,t)||t in e.t?(e.D[t]=!1,dc(e),fc(e)):delete e.D[t],e.o&&delete e.o[t],!0;},getOwnPropertyDescriptor:function(e,t){var n=ql(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r;},defineProperty:function(){Rl(11);},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t);},setPrototypeOf:function(){Rl(12);}},Fc={};$l(Bc,function(e,t){Fc[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments);};}),Fc.deleteProperty=function(e,t){return Bc.deleteProperty.call(this,e[0],t);},Fc.set=function(e,t,n){return Bc.set.call(this,e[0],t,n,e[0]);};var Tc=function(){function e(e){var t=this;this.g=Ec,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),u=1;u<r;u++)a[u-1]=arguments[u];return i.produce(e,function(e){var r;return(r=n).call.apply(r,[t,e].concat(a));});};}var a;if("function"!=typeof n&&Rl(6),void 0!==r&&"function"!=typeof r&&Rl(7),zl(e)){var u=rc(t),s=pc(t,e,void 0),l=!0;try{a=n(s),l=!1;}finally{l?tc(u):nc(u);}return"undefined"!=typeof Promise&&a instanceof Promise?a.then(function(e){return ec(u,r),ic(e,u);},function(e){throw tc(u),e;}):(ec(u,r),ic(a,u));}if(!e||"object"!=typeof e){if((a=n(e))===Dc)return;return void 0===a&&(a=e),t.F&&Yl(a,!0),a;}Rl(21,e);},this.produceWithPatches=function(e,n){return"function"==typeof e?function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(o));});}:[t.produce(e,n,function(e,t){r=e,o=t;}),r,o];var r,o;},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze);}var t=e.prototype;return t.createDraft=function(e){zl(e)||Rl(8),Ml(e)&&(e=hc(e));var t=rc(this),n=pc(this,e,void 0);return n[xc].C=!0,nc(t),n;},t.finishDraft=function(e,t){var n=(e&&e[xc]).A;return ec(n,t),ic(void 0,n);},t.setAutoFreeze=function(e){this.F=e;},t.setUseProxies=function(e){e&&!Ec&&Rl(20),this.g=e;},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break;}}n>-1&&(t=t.slice(n+1));var o=Jl("Patches").$;return Ml(e)?o(e,t):this.produce(e,function(e){return o(e,t);});},e;}(),_c=new Tc(),Pc=_c.produce;_c.produceWithPatches.bind(_c),_c.setAutoFreeze.bind(_c),_c.setUseProxies.bind(_c),_c.applyPatches.bind(_c);var jc=_c.createDraft.bind(_c),Nc=_c.finishDraft.bind(_c);function Ic(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}var Lc=new WeakMap(),Rc=new WeakMap(),Mc=new WeakMap(),zc=new WeakMap(),$c=new WeakMap(),Hc=new WeakMap();function Vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function Uc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vc(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var Wc=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of Bf.pathRefs(e))zf.transform(n,t);for(var r of Bf.pointRefs(e))Uf.transform(r,t);for(var o of Bf.rangeRefs(e))Kf.transform(o,t);var i=new Set(),a=[],u=e=>{if(e){var t=e.join(",");i.has(t)||(i.add(t),a.push(e));}},s=Lc.get(e)||[],l=Gc(t);for(var c of s){u(Mf.transform(c,t));}for(var f of l)u(f);Lc.set(e,a),md.transform(e,t),e.operations.push(t),Bf.normalize(e),"set_selection"===t.type&&(e.marks=null),Rc.get(e)||(Rc.set(e,!0),Promise.resolve().then(()=>{Rc.set(e,!1),e.onChange(),e.operations=[];}));},addMark:(t,n)=>{var{selection:r}=e;if(r)if(qf.isExpanded(r))md.setNodes(e,{[t]:n},{match:ed.isText,split:!0});else{var o=Uc(Uc({},Bf.marks(e)||{}),{},{[t]:n});e.marks=o,Rc.get(e)||e.onChange();}},deleteBackward:t=>{var{selection:n}=e;n&&qf.isCollapsed(n)&&md.delete(e,{unit:t,reverse:!0});},deleteForward:t=>{var{selection:n}=e;n&&qf.isCollapsed(n)&&md.delete(e,{unit:t});},deleteFragment:t=>{var{selection:n}=e;n&&qf.isExpanded(n)&&md.delete(e,{reverse:"backward"===t});},getFragment:()=>{var{selection:t}=e;return t?Nf.fragment(e,t):[];},insertBreak:()=>{md.splitNodes(e,{always:!0});},insertFragment:t=>{md.insertFragment(e,t);},insertNode:t=>{md.insertNodes(e,t);},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=Uc({text:t},r);md.insertNodes(e,o);}else md.insertText(e,t);e.marks=null;}},normalizeNode:t=>{var[n,r]=t;if(!ed.isText(n))if(Sf.isElement(n)&&0===n.children.length){md.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});}else for(var o=!Bf.isEditor(n)&&Sf.isElement(n)&&(e.isInline(n)||0===n.children.length||ed.isText(n.children[0])||e.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var u=Nf.get(e,r);if(!ed.isText(u)){var s=n.children[a],l=u.children[i-1],c=a===n.children.length-1;if((ed.isText(s)||Sf.isElement(s)&&e.isInline(s))!==o)md.removeNodes(e,{at:r.concat(i),voids:!0}),i--;else if(Sf.isElement(s)){if(e.isInline(s))if(null!=l&&ed.isText(l)){if(c){md.insertNodes(e,{text:""},{at:r.concat(i+1),voids:!0}),i++;}}else{md.insertNodes(e,{text:""},{at:r.concat(i),voids:!0}),i++;}}else null!=l&&ed.isText(l)&&(ed.equals(s,l,{loose:!0})?(md.mergeNodes(e,{at:r.concat(i),voids:!0}),i--):""===l.text?(md.removeNodes(e,{at:r.concat(i-1),voids:!0}),i--):""===s.text&&(md.removeNodes(e,{at:r.concat(i),voids:!0}),i--));}}},removeMark:t=>{var{selection:n}=e;if(n)if(qf.isExpanded(n))md.unsetNodes(e,t,{match:ed.isText,split:!0});else{var r=Uc({},Bf.marks(e)||{});delete r[t],e.marks=r,Rc.get(e)||e.onChange();}}};return e;},Gc=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return Mf.levels(t);case"insert_node":var{node:n,path:r}=e,o=Mf.levels(r),i=ed.isText(n)?[]:Array.from(Nf.nodes(n),e=>{var[,t]=e;return r.concat(t);});return[...o,...i];case"merge_node":var{path:a}=e;return[...Mf.ancestors(a),Mf.previous(a)];case"move_node":var{path:u,newPath:s}=e;if(Mf.equals(u,s))return[];var l=[],c=[];for(var f of Mf.ancestors(u)){var d=Mf.transform(f,e);l.push(d);}for(var p of Mf.ancestors(s)){var h=Mf.transform(p,e);c.push(h);}var g=c[c.length-1],v=s[s.length-1],y=g.concat(v);return[...l,...c,y];case"remove_node":var{path:m}=e;return[...Mf.ancestors(m)];case"split_node":var{path:b}=e;return[...Mf.levels(b),Mf.next(b)];default:return[];}};function qc(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o;}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);}return o;}var Kc,Yc=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?tf(e):e,o=Kc.None,i=Kc.None,a=0,u=null;for(var s of r){var l=s.codePointAt(0);if(!l)break;var c=hf(s,l);if([o,i]=n?[i,c]:[c,o],gf(o,Kc.ZWJ)&&gf(i,Kc.ExtPict)&&!bf(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(gf(o,Kc.RI)&&gf(i,Kc.RI)&&!(u=null!==u?!u:!!n||Ef(e.substring(0,e.length-a))))break;if(o!==Kc.None&&i!==Kc.None&&yf(o,i))break;a+=s.length;}return a||1;},Xc=/\s/,Zc=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Jc=/['\u2018\u2019]/,Qc=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)];}return[e.slice(0,t),e.slice(t)];},ef=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Xc.test(t))return!1;if(Jc.test(t)){var o=Yc(n,r),[i,a]=Qc(n,o,r);if(e(i,a,r))return!0;}return!Zc.test(t);},tf=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(rf(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(nf(o.charCodeAt(0))){yield o+r,n++;continue;}}yield r;}},nf=e=>e>=55296&&e<=56319,rf=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any";}(Kc||(Kc={}));var of=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,af=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,uf=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,sf=/^[\u1100-\u115F\uA960-\uA97C]$/,lf=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,cf=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,ff=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,df=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,pf=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,hf=(e,t)=>{var n=Kc.Any;return-1!==e.search(of)&&(n|=Kc.Extend),8205===t&&(n|=Kc.ZWJ),t>=127462&&t<=127487&&(n|=Kc.RI),-1!==e.search(af)&&(n|=Kc.Prepend),-1!==e.search(uf)&&(n|=Kc.SpacingMark),-1!==e.search(sf)&&(n|=Kc.L),-1!==e.search(lf)&&(n|=Kc.V),-1!==e.search(cf)&&(n|=Kc.T),-1!==e.search(ff)&&(n|=Kc.LV),-1!==e.search(df)&&(n|=Kc.LVT),-1!==e.search(pf)&&(n|=Kc.ExtPict),n;};function gf(e,t){return 0!=(e&t);}var vf=[[Kc.L,Kc.L|Kc.V|Kc.LV|Kc.LVT],[Kc.LV|Kc.V,Kc.V|Kc.T],[Kc.LVT|Kc.T,Kc.T],[Kc.Any,Kc.Extend|Kc.ZWJ],[Kc.Any,Kc.SpacingMark],[Kc.Prepend,Kc.Any],[Kc.ZWJ,Kc.ExtPict],[Kc.RI,Kc.RI]];function yf(e,t){return-1===vf.findIndex(n=>gf(e,n[0])&&gf(t,n[1]));}var mf=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,bf=e=>-1!==e.search(mf),wf=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,Ef=e=>{var t=e.match(wf);return null!==t&&t[0].length/2%2==1;},Df=e=>Ll(e)&&Nf.isNodeList(e.children)&&!Bf.isEditor(e),Sf={isAncestor:e=>Ll(e)&&Nf.isNodeList(e.children),isElement:Df,isElementList:e=>Array.isArray(e)&&e.every(e=>Sf.isElement(e)),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return Df(e)&&e[n]===t;},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0;}},xf=["text"],Cf=["text"];function Af(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function Of(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Af(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Af(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var kf=new WeakMap(),Bf={above(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=Bf.path(e,o),u="lowest"===r;for(var[s,l]of Bf.levels(e,{at:a,voids:n,match:i,reverse:u}))if(!ed.isText(s)&&!Mf.equals(a,l))return[s,l];}},addMark(e,t,n){e.addMark(t,n);},after(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:Bf.point(e,t,{edge:"end"}),focus:Bf.end(e,[])},{distance:i=1}=r,a=0;for(var u of Bf.positions(e,Of(Of({},r),{},{at:o}))){if(a>i)break;0!==a&&(n=u),a++;}return n;},before(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:Bf.start(e,[]),focus:Bf.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var u of Bf.positions(e,Of(Of({},r),{},{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=u),a++;}return n;},deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n);},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n);},deleteFragment(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n);},edges:(e,t)=>[Bf.start(e,t),Bf.end(e,t)],end:(e,t)=>Bf.point(e,t,{edge:"end"}),first(e,t){var n=Bf.path(e,t,{edge:"start"});return Bf.node(e,n);},fragment(e,t){var n=Bf.range(e,t);return Nf.fragment(e,n);},hasBlocks:(e,t)=>t.children.some(t=>Bf.isBlock(e,t)),hasInlines:(e,t)=>t.children.some(t=>ed.isText(t)||Bf.isInline(e,t)),hasTexts:(e,t)=>t.children.every(e=>ed.isText(e)),insertBreak(e){e.insertBreak();},insertFragment(e,t){e.insertFragment(t);},insertNode(e,t){e.insertNode(t);},insertText(e,t){e.insertText(t);},isBlock:(e,t)=>Sf.isElement(t)&&!e.isInline(t),isEditor(e){if(!Ll(e))return!1;var t=kf.get(e);if(void 0!==t)return t;var n="function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteBackward&&"function"==typeof e.deleteForward&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isInline&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&(null===e.marks||Ll(e.marks))&&(null===e.selection||qf.isRange(e.selection))&&Nf.isNodeList(e.children)&&Rf.isOperationList(e.operations);return kf.set(e,n),n;},isEnd(e,t,n){var r=Bf.end(e,n);return Vf.equals(t,r);},isEdge:(e,t,n)=>Bf.isStart(e,t,n)||Bf.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&ed.isText(r)&&""===r.text&&!e.isVoid(t);},isInline:(e,t)=>Sf.isElement(t)&&e.isInline(t),isNormalizing(e){var t=Mc.get(e);return void 0===t||t;},isStart(e,t,n){if(0!==t.offset)return!1;var r=Bf.start(e,n);return Vf.equals(t,r);},isVoid:(e,t)=>Sf.isElement(t)&&e.isVoid(t),last(e,t){var n=Bf.path(e,t,{edge:"end"});return Bf.node(e,n);},leaf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Bf.path(e,t,n);return[Nf.leaf(e,r),r];},*levels(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],u=Bf.path(e,n);for(var[s,l]of Nf.levels(e,u))if(i(s,l)&&(a.push([s,l]),!o&&Bf.isVoid(e,s)))break;r&&a.reverse(),yield*a;}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(qf.isExpanded(n)){var[r]=Bf.nodes(e,{match:ed.isText});if(r){var[o]=r;return qc(o,xf);}return{};}var{anchor:i}=n,{path:a}=i,[u]=Bf.leaf(e,a);if(0===i.offset){var s=Bf.previous(e,{at:a,match:ed.isText}),l=Bf.above(e,{match:t=>Bf.isBlock(e,t)});if(s&&l){var[c,f]=s,[,d]=l;Mf.isAncestor(d,f)&&(u=c);}}return qc(u,Cf);},next(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=Bf.after(e,i,{voids:r});if(a){var[,u]=Bf.last(e,[]),s=[a.path,u];if(Mf.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(Mf.isPath(i)){var[l]=Bf.parent(e,i);o=e=>l.children.includes(e);}else o=()=>!0;var[c]=Bf.nodes(e,{at:s,match:o,mode:n,voids:r});return c;}}},node(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Bf.path(e,t,n);return[Nf.get(e,r),r];},*nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:u}=t;if(u||(u=()=>!0),n){var s,l;if(Tf.isSpan(n))s=n[0],l=n[1];else{var c=Bf.path(e,n,{edge:"start"}),f=Bf.path(e,n,{edge:"end"});s=i?f:c,l=i?c:f;}var d,p=Nf.nodes(e,{reverse:i,from:s,to:l,pass:t=>{var[n]=t;return!a&&Bf.isVoid(e,n);}}),h=[];for(var[g,v]of p){var y=d&&0===Mf.compare(v,d[1]);if("highest"!==r||!y)if(u(g,v)){if("lowest"===r&&y)d=[g,v];else{var m="lowest"===r?d:[g,v];m&&(o?h.push(m):yield m),d=[g,v];}}else if(o&&!y&&ed.isText(g))return;}"lowest"===r&&d&&(o?h.push(d):yield d),o&&(yield*h);}},normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1}=t,r=e=>Lc.get(e)||[];if(Bf.isNormalizing(e)){if(n){var o=Array.from(Nf.nodes(e),e=>{var[,t]=e;return t;});Lc.set(e,o);}0!==r(e).length&&Bf.withoutNormalizing(e,()=>{for(var t of r(e))if(Nf.has(e,t)){var n=Bf.node(e,t),[o,i]=n;Sf.isElement(o)&&0===o.children.length&&e.normalizeNode(n);}for(var a=42*r(e).length,u=0;0!==r(e).length;){if(u>a)throw new Error("\n Could not completely normalize the editor after ".concat(a," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var s=r(e).pop();if(Nf.has(e,s)){var l=Bf.node(e,s);e.normalizeNode(l);}u++;}});}},parent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Bf.path(e,t,n),o=Mf.parent(r);return Bf.node(e,o);},path(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(Mf.isPath(t))if("start"===o){var[,i]=Nf.first(e,t);t=i;}else if("end"===o){var[,a]=Nf.last(e,t);t=a;}return qf.isRange(t)&&(t="start"===o?qf.start(t):"end"===o?qf.end(t):Mf.common(t.anchor.path,t.focus.path)),Vf.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t;},hasPath:(e,t)=>Nf.has(e,t),pathRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return Bf.pathRefs(e).delete(o),o.current=null,t;}};return Bf.pathRefs(e).add(o),o;},pathRefs(e){var t=zc.get(e);return t||(t=new Set(),zc.set(e,t)),t;},point(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(Mf.isPath(t)){var o;if("end"===r){var[,i]=Nf.last(e,t);o=i;}else{var[,a]=Nf.first(e,t);o=a;}var u=Nf.get(e,o);if(!ed.isText(u))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?u.text.length:0};}if(qf.isRange(t)){var[s,l]=qf.edges(t);return"start"===r?s:l;}return t;},pointRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return Bf.pointRefs(e).delete(o),o.current=null,t;}};return Bf.pointRefs(e).add(o),o;},pointRefs(e){var t=$c.get(e);return t||(t=new Set(),$c.set(e,t)),t;},*positions(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(n){var a=Bf.range(e,n),[u,s]=qf.edges(a),l=o?s:u,c=!1,f="",d=0,p=0,h=0;for(var[g,v]of Bf.nodes(e,{at:n,reverse:o,voids:i})){if(Sf.isElement(g)){if(!i&&e.isVoid(g)){yield Bf.start(e,v);continue;}if(e.isInline(g))continue;if(Bf.hasInlines(e,g)){var y=Mf.isAncestor(v,s.path)?s:Bf.end(e,v),m=Mf.isAncestor(v,u.path)?u:Bf.start(e,v);f=Bf.string(e,{anchor:m,focus:y},{voids:i}),c=!0;}}if(ed.isText(g)){var b=Mf.equals(v,l.path);for(b?(p=o?l.offset:g.text.length-l.offset,h=l.offset):(p=g.text.length,h=o?p:0),(b||c||"offset"===r)&&(yield{path:v,offset:h},c=!1);;){if(0===d){if(""===f)break;d=w(f,r,o),f=Qc(f,d,o)[1];}if(h=o?h-d:h+d,(p-=d)<0){d=-p;break;}d=0,yield{path:v,offset:h};}}}}function w(e,t,n){return"character"===t?Yc(e,n):"word"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var o=Yc(e,t),[i,a]=Qc(e,o,t);if(ef(i,a,t))r=!0,n+=o;else{if(r)break;n+=o;}e=a;}return n;}(e,n):"line"===t||"block"===t?e.length:1;}},previous(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=Bf.before(e,i,{voids:r});if(a){var[,u]=Bf.first(e,[]),s=[a.path,u];if(Mf.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(Mf.isPath(i)){var[l]=Bf.parent(e,i);o=e=>l.children.includes(e);}else o=()=>!0;var[c]=Bf.nodes(e,{reverse:!0,at:s,match:o,mode:n,voids:r});return c;}}},range:(e,t,n)=>qf.isRange(t)&&!n?t:{anchor:Bf.start(e,t),focus:Bf.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return Bf.rangeRefs(e).delete(o),o.current=null,t;}};return Bf.rangeRefs(e).add(o),o;},rangeRefs(e){var t=Hc.get(e);return t||(t=new Set(),Hc.set(e,t)),t;},removeMark(e,t){e.removeMark(t);},setNormalizing(e,t){Mc.set(e,t);},start:(e,t)=>Bf.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=Bf.range(e,t),[i,a]=qf.edges(o),u="";for(var[s,l]of Bf.nodes(e,{at:o,match:ed.isText,voids:r})){var c=s.text;Mf.equals(l,a.path)&&(c=c.slice(0,a.offset)),Mf.equals(l,i.path)&&(c=c.slice(i.offset)),u+=c;}return u;},unhangRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=qf.edges(t);if(0!==o.offset||0!==i.offset||qf.isCollapsed(t))return t;var a=Bf.above(e,{at:i,match:t=>Bf.isBlock(e,t)}),u=a?a[1]:[],s={anchor:Bf.start(e,[]),focus:i},l=!0;for(var[c,f]of Bf.nodes(e,{at:s,match:ed.isText,reverse:!0,voids:r}))if(l)l=!1;else if(""!==c.text||Mf.isBefore(f,u)){i={path:f,offset:c.text.length};break;}return{anchor:o,focus:i};},void(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Bf.above(e,Of(Of({},t),{},{match:t=>Bf.isVoid(e,t)}));},withoutNormalizing(e,t){var n=Bf.isNormalizing(e);Bf.setNormalizing(e,!1);try{t();}finally{Bf.setNormalizing(e,n);}Bf.normalize(e);}},Ff={isLocation:e=>Mf.isPath(e)||Vf.isPoint(e)||qf.isRange(e)},Tf={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(Mf.isPath)},_f=["children"],Pf=["text"],jf=new WeakMap(),Nf={ancestor(e,t){var n=Nf.get(e,t);if(ed.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n;},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of Mf.ancestors(t,n)){var o=[Nf.ancestor(e,r),r];yield o;}},child(e,t){if(ed.isText(e))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n;},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,o=Nf.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var u=Nf.child(o,a),s=t.concat(a);yield[u,s],a=r?a-1:a+1;}},common(e,t,n){var r=Mf.common(t,n);return[Nf.get(e,r),r];},descendant(e,t){var n=Nf.get(e,t);if(Bf.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n;},*descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Nf.nodes(e,t))0!==r.length&&(yield[n,r]);},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Nf.nodes(e,t))Sf.isElement(n)&&(yield[n,r]);},extractProps:e=>Sf.isAncestor(e)?qc(e,_f):qc(e,Pf),first(e,t){for(var n=t.slice(),r=Nf.get(e,n);r&&!ed.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n];},fragment(e,t){if(ed.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));var n=Pc({children:e.children},e=>{var[n,r]=qf.edges(t),o=Nf.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!qf.includes(t,n);}});for(var[,i]of o){if(!qf.includes(t,i)){var a=Nf.parent(e,i),u=i[i.length-1];a.children.splice(u,1);}if(Mf.equals(i,r.path)){var s=Nf.leaf(e,i);s.text=s.text.slice(0,r.offset);}if(Mf.equals(i,n.path)){var l=Nf.leaf(e,i);l.text=l.text.slice(n.offset);}}Bf.isEditor(e)&&(e.selection=null);});return n.children;},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(ed.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o];}return n;},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(ed.isText(n)||!n.children[o])return!1;n=n.children[o];}return!0;},isNode:e=>ed.isText(e)||Sf.isElement(e)||Bf.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=jf.get(e);if(void 0!==t)return t;var n=e.every(e=>Nf.isNode(e));return jf.set(e,n),n;},last(e,t){for(var n=t.slice(),r=Nf.get(e,n);r&&!ed.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o);}return[r,n];},leaf(e,t){var n=Nf.get(e,t);if(!ed.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n;},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of Mf.levels(t,n)){var o=Nf.get(e,r);yield[o,r];}},matches:(e,t)=>Sf.isElement(e)&&Sf.isElementProps(t)&&Sf.matches(e,t)||ed.isText(e)&&ed.isTextProps(t)&&ed.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set(),u=[],s=e;!i||!(r?Mf.isBefore(u,i):Mf.isAfter(u,i));)if(a.has(s)||(yield[s,u]),a.has(s)||ed.isText(s)||0===s.children.length||null!=n&&!1!==n([s,u])){if(0===u.length)break;if(!r){var l=Mf.next(u);if(Nf.has(e,l)){u=l,s=Nf.get(e,u);continue;}}if(r&&0!==u[u.length-1])u=Mf.previous(u),s=Nf.get(e,u);else u=Mf.parent(u),s=Nf.get(e,u),a.add(s);}else{a.add(s);var c=r?s.children.length-1:0;Mf.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),s=Nf.get(e,u);}},parent(e,t){var n=Mf.parent(t),r=Nf.get(e,n);if(ed.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r;},string:e=>ed.isText(e)?e.text:e.children.map(Nf.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Nf.nodes(e,t))ed.isText(n)&&(yield[n,r]);}};function If(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function Lf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?If(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var Rf={isNodeOperation:e=>Rf.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!Ll(e))return!1;switch(e.type){case"insert_node":case"remove_node":return Mf.isPath(e.path)&&Nf.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&Mf.isPath(e.path);case"merge_node":return"number"==typeof e.position&&Mf.isPath(e.path)&&Ll(e.properties);case"move_node":return Mf.isPath(e.path)&&Mf.isPath(e.newPath);case"set_node":return Mf.isPath(e.path)&&Ll(e.properties)&&Ll(e.newProperties);case"set_selection":return null===e.properties&&qf.isRange(e.newProperties)||null===e.newProperties&&qf.isRange(e.properties)||Ll(e.properties)&&Ll(e.newProperties);case"split_node":return Mf.isPath(e.path)&&"number"==typeof e.position&&Ll(e.properties);default:return!1;}},isOperationList:e=>Array.isArray(e)&&e.every(e=>Rf.isOperation(e)),isSelectionOperation:e=>Rf.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>Rf.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return Lf(Lf({},e),{},{type:"remove_node"});case"insert_text":return Lf(Lf({},e),{},{type:"remove_text"});case"merge_node":return Lf(Lf({},e),{},{type:"split_node",path:Mf.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(Mf.equals(t,n))return e;if(Mf.isSibling(n,t))return Lf(Lf({},e),{},{path:t,newPath:n});var r=Mf.transform(n,e),o=Mf.transform(Mf.next(n),e);return Lf(Lf({},e),{},{path:r,newPath:o});case"remove_node":return Lf(Lf({},e),{},{type:"insert_node"});case"remove_text":return Lf(Lf({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return Lf(Lf({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:u,newProperties:s}=e;return Lf(Lf({},e),{},null==u?{properties:s,newProperties:null}:null==s?{properties:null,newProperties:u}:{properties:s,newProperties:u});case"split_node":return Lf(Lf({},e),{},{type:"merge_node",path:Mf.next(e.path)});}}},Mf={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=Mf.levels(e,t);return r=n?r.slice(1):r.slice(0,-1);},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o);}return n;},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1;}return 0;},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Mf.equals(r,o)&&i>a;},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return Mf.equals(r,o);},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Mf.equals(r,o)&&i<a;},equals:(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===Mf.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===Mf.compare(e,t),isBefore:(e,t)=>-1===Mf.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===Mf.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===Mf.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===Mf.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===Mf.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&Mf.equals(n,r);},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r;},next(e){if(0===e.length)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1);},parent(e){if(0===e.length)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1);},previous(e){if(0===e.length)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1);},relative(e,t){if(!Mf.isAncestor(t,e)&&!Mf.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length);},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Pc(e,r=>{var{affinity:o="forward"}=n;if(e&&0!==(null==e?void 0:e.length)){if(null===r)return null;switch(t.type){case"insert_node":var{path:i}=t;(Mf.equals(i,r)||Mf.endsBefore(i,r)||Mf.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Mf.equals(a,r)||Mf.isAncestor(a,r))return null;Mf.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:u,position:s}=t;Mf.equals(u,r)||Mf.endsBefore(u,r)?r[u.length-1]-=1:Mf.isAncestor(u,r)&&(r[u.length-1]-=1,r[u.length]+=s);break;case"split_node":var{path:l,position:c}=t;if(Mf.equals(l,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null;}else Mf.endsBefore(l,r)?r[l.length-1]+=1:Mf.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:f,newPath:d}=t;if(Mf.equals(f,d))return;if(Mf.isAncestor(f,r)||Mf.equals(f,r)){var p=d.slice();return Mf.endsBefore(f,d)&&f.length<d.length&&(p[f.length-1]-=1),p.concat(r.slice(f.length));}Mf.isSibling(f,d)&&(Mf.isAncestor(d,r)||Mf.equals(d,r))?Mf.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:Mf.endsBefore(d,r)||Mf.equals(d,r)||Mf.isAncestor(d,r)?(Mf.endsBefore(f,r)&&(r[f.length-1]-=1),r[d.length-1]+=1):Mf.endsBefore(f,r)&&(Mf.equals(d,r)&&(r[d.length-1]+=1),r[f.length-1]-=1);}}});}},zf={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Mf.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref();}}};function $f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function Hf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$f(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var Vf={compare(e,t){var n=Mf.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n;},isAfter:(e,t)=>1===Vf.compare(e,t),isBefore:(e,t)=>-1===Vf.compare(e,t),equals:(e,t)=>e.offset===t.offset&&Mf.equals(e.path,t.path),isPoint:e=>Ll(e)&&"number"==typeof e.offset&&Mf.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Pc(e,e=>{if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=Mf.transform(o,t,n);break;case"insert_text":Mf.equals(t.path,o)&&t.offset<=i&&(e.offset+=t.text.length);break;case"merge_node":Mf.equals(t.path,o)&&(e.offset+=t.position),e.path=Mf.transform(o,t,n);break;case"remove_text":Mf.equals(t.path,o)&&t.offset<=i&&(e.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(Mf.equals(t.path,o)||Mf.isAncestor(t.path,o))return null;e.path=Mf.transform(o,t,n);break;case"split_node":if(Mf.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(e.offset-=t.position,e.path=Mf.transform(o,t,Hf(Hf({},n),{},{affinity:"forward"})));}else e.path=Mf.transform(o,t,n);}});}},Uf={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Vf.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref();}}},Wf=["anchor","focus"];function Gf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}var qf={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return qf.isBackward(e)===n?[r,o]:[o,r];},end(e){var[,t]=qf.edges(e);return t;},equals:(e,t)=>Vf.equals(e.anchor,t.anchor)&&Vf.equals(e.focus,t.focus),includes(e,t){if(qf.isRange(t)){if(qf.includes(e,t.anchor)||qf.includes(e,t.focus))return!0;var[n,r]=qf.edges(e),[o,i]=qf.edges(t);return Vf.isBefore(n,o)&&Vf.isAfter(r,i);}var[a,u]=qf.edges(e),s=!1,l=!1;return Vf.isPoint(t)?(s=Vf.compare(t,a)>=0,l=Vf.compare(t,u)<=0):(s=Mf.compare(t,a.path)>=0,l=Mf.compare(t,u.path)<=0),s&&l;},intersection(e,t){var n=qc(e,Wf),[r,o]=qf.edges(e),[i,a]=qf.edges(t),u=Vf.isBefore(r,i)?i:r,s=Vf.isBefore(o,a)?o:a;return Vf.isBefore(s,u)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gf(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}({anchor:u,focus:s},n);},isBackward(e){var{anchor:t,focus:n}=e;return Vf.isAfter(t,n);},isCollapsed(e){var{anchor:t,focus:n}=e;return Vf.equals(t,n);},isExpanded:e=>!qf.isCollapsed(e),isForward:e=>!qf.isBackward(e),isRange:e=>Ll(e)&&Vf.isPoint(e.anchor)&&Vf.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"];},start(e){var[t]=qf.edges(e);return t;},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Pc(e,e=>{if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=qf.isCollapsed(e);qf.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward");}else"outward"===i?qf.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var u=Vf.transform(e.anchor,t,{affinity:r}),s=Vf.transform(e.focus,t,{affinity:o});if(!u||!s)return null;e.anchor=u,e.focus=s;});}},Kf={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=qf.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref();}}},Yf=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(Ll(r)&&Ll(o)){if(!Yf(r,o))return!1;}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1;}else if(r!==o)return!1;}for(var a in t)if(void 0===e[a]&&void 0!==t[a])return!1;return!0;},Xf=["text"],Zf=["anchor","focus"];function Jf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function Qf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jf(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var ed={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function o(e){return qc(e,Xf);}return Yf(r?o(e):e,r?o(t):t);},isText:e=>Ll(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every(e=>ed.isText(e)),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if("text"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0;},decorations(e,t){var n=[Qf({},e)];for(var r of t){var o=qc(r,Zf),[i,a]=qf.edges(r),u=[],s=0;for(var l of n){var{length:c}=l.text,f=s;if(s+=c,i.offset<=f&&a.offset>=s)Object.assign(l,o),u.push(l);else if(i.offset!==a.offset&&(i.offset===s||a.offset===f)||i.offset>s||a.offset<f||a.offset===f&&0!==f)u.push(l);else{var d=l,p=void 0,h=void 0;if(a.offset<s){var g=a.offset-f;h=Qf(Qf({},d),{},{text:d.text.slice(g)}),d=Qf(Qf({},d),{},{text:d.text.slice(0,g)});}if(i.offset>f){var v=i.offset-f;p=Qf(Qf({},d),{},{text:d.text.slice(0,v)}),d=Qf(Qf({},d),{},{text:d.text.slice(v)});}Object.assign(d,o),p&&u.push(p),u.push(d),h&&u.push(h);}}n=u;}return n;}};function td(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function nd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?td(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):td(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var rd={transform(e,t){e.children=jc(e.children);var n=e.selection&&jc(e.selection);try{n=((e,t,n)=>{switch(n.type){case"insert_node":var{path:r,node:o}=n,i=Nf.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[u,s]of qf.points(t))t[s]=Vf.transform(u,n);break;case"insert_text":var{path:l,offset:c,text:f}=n;if(0===f.length)break;var d=Nf.leaf(e,l),p=d.text.slice(0,c),h=d.text.slice(c);if(d.text=p+f+h,t)for(var[g,v]of qf.points(t))t[v]=Vf.transform(g,n);break;case"merge_node":var{path:y}=n,m=Nf.get(e,y),b=Mf.previous(y),w=Nf.get(e,b),E=Nf.parent(e,y),D=y[y.length-1];if(ed.isText(m)&&ed.isText(w))w.text+=m.text;else{if(ed.isText(m)||ed.isText(w))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(m," ").concat(w));w.children.push(...m.children);}if(E.children.splice(D,1),t)for(var[S,x]of qf.points(t))t[x]=Vf.transform(S,n);break;case"move_node":var{path:C,newPath:A}=n;if(Mf.isAncestor(C,A))throw new Error("Cannot move a path [".concat(C,"] to new path [").concat(A,"] because the destination is inside itself."));var O=Nf.get(e,C),k=Nf.parent(e,C),B=C[C.length-1];k.children.splice(B,1);var F=Mf.transform(C,n),T=Nf.get(e,Mf.parent(F)),_=F[F.length-1];if(T.children.splice(_,0,O),t)for(var[P,j]of qf.points(t))t[j]=Vf.transform(P,n);break;case"remove_node":var{path:N}=n,I=N[N.length-1];if(Nf.parent(e,N).children.splice(I,1),t)for(var[L,R]of qf.points(t)){var M=Vf.transform(L,n);if(null!=t&&null!=M)t[R]=M;else{var z=void 0,$=void 0;for(var[H,V]of Nf.texts(e)){if(-1!==Mf.compare(V,N)){$=[H,V];break;}z=[H,V];}var U=!1;z&&$&&(U=Mf.equals($[1],N)?!Mf.hasPrevious($[1]):Mf.common(z[1],N).length<Mf.common($[1],N).length),z&&!U?(L.path=z[1],L.offset=z[0].text.length):$?(L.path=$[1],L.offset=0):t=null;}}break;case"remove_text":var{path:W,offset:G,text:q}=n;if(0===q.length)break;var K=Nf.leaf(e,W),Y=K.text.slice(0,G),X=K.text.slice(G+q.length);if(K.text=Y+X,t)for(var[Z,J]of qf.points(t))t[J]=Vf.transform(Z,n);break;case"set_node":var{path:Q,properties:ee,newProperties:te}=n;if(0===Q.length)throw new Error("Cannot set properties on the root node!");var ne=Nf.get(e,Q);for(var re in te){if("children"===re||"text"===re)throw new Error('Cannot set the "'.concat(re,'" property of nodes!'));var oe=te[re];null==oe?delete ne[re]:ne[re]=oe;}for(var ie in ee)te.hasOwnProperty(ie)||delete ne[ie];break;case"set_selection":var{newProperties:ae}=n;if(null==ae)t=ae;else{if(null==t){if(!qf.isRange(ae))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(ae)," when there is no current selection."));t=nd({},ae);}for(var ue in ae){var se=ae[ue];if(null==se){if("anchor"===ue||"focus"===ue)throw new Error('Cannot remove the "'.concat(ue,'" selection property'));delete t[ue];}else t[ue]=se;}}break;case"split_node":var{path:le,position:ce,properties:fe}=n;if(0===le.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(le,"] because the root node cannot be split."));var de,pe=Nf.get(e,le),he=Nf.parent(e,le),ge=le[le.length-1];if(ed.isText(pe)){var ve=pe.text.slice(0,ce),ye=pe.text.slice(ce);pe.text=ve,de=nd(nd({},fe),{},{text:ye});}else{var me=pe.children.slice(0,ce),be=pe.children.slice(ce);pe.children=me,de=nd(nd({},fe),{},{children:be});}if(he.children.splice(ge+1,0,de),t)for(var[we,Ee]of qf.points(t))t[Ee]=Vf.transform(we,n);}return t;})(e,n,t);}finally{e.children=Nc(e.children),e.selection=n?Ml(n)?Nc(n):n:null;}}},od=["text"],id=["children"];function ad(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function ud(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ad(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ad(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var sd={insertNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Bf.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:u,select:s}=n;if(Nf.isNode(t)&&(t=[t]),0!==t.length){var[l]=t;if(a||(a=e.selection?e.selection:e.children.length>0?Bf.end(e,[]):[0],s=!0),null==s&&(s=!1),qf.isRange(a))if(r||(a=Bf.unhangRange(e,a)),qf.isCollapsed(a))a=a.anchor;else{var[,c]=qf.edges(a),f=Bf.pointRef(e,c);md.delete(e,{at:a}),a=f.unref();}if(Vf.isPoint(a)){null==u&&(u=ed.isText(l)?e=>ed.isText(e):e.isInline(l)?t=>ed.isText(t)||Bf.isInline(e,t):t=>Bf.isBlock(e,t));var[d]=Bf.nodes(e,{at:a.path,match:u,mode:i,voids:o});if(!d)return;var[,p]=d,h=Bf.pathRef(e,p),g=Bf.isEnd(e,a,p);md.splitNodes(e,{at:a,match:u,mode:i,voids:o});var v=h.unref();a=g?Mf.next(v):v;}var y=Mf.parent(a),m=a[a.length-1];if(o||!Bf.void(e,{at:y})){for(var b of t){var w=y.concat(m);m++,e.apply({type:"insert_node",path:w,node:b}),a=Mf.next(a);}if(a=Mf.previous(a),s){var E=Bf.end(e,a);E&&md.select(e,E);}}}});},liftNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Bf.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=Mf.isPath(n)?fd(e,n):t=>Bf.isBlock(e,t)),n){var a=Bf.nodes(e,{at:n,match:i,mode:r,voids:o}),u=Array.from(a,t=>{var[,n]=t;return Bf.pathRef(e,n);});for(var s of u){var l=s.unref();if(l.length<2)throw new Error("Cannot lift node at a path [".concat(l,"] because it has a depth of less than `2`."));var c=Bf.node(e,Mf.parent(l)),[f,d]=c,p=l[l.length-1],{length:h}=f.children;if(1===h){var g=Mf.next(d);md.moveNodes(e,{at:l,to:g,voids:o}),md.removeNodes(e,{at:d,voids:o});}else if(0===p)md.moveNodes(e,{at:l,to:d,voids:o});else if(p===h-1){var v=Mf.next(d);md.moveNodes(e,{at:l,to:v,voids:o});}else{var y=Mf.next(l),m=Mf.next(d);md.splitNodes(e,{at:y,voids:o}),md.moveNodes(e,{at:l,to:m,voids:o});}}}});},mergeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Bf.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(Mf.isPath(r)){var[u]=Bf.parent(e,r);n=e=>u.children.includes(e);}else n=t=>Bf.isBlock(e,t);if(!o&&qf.isRange(r)&&(r=Bf.unhangRange(e,r)),qf.isRange(r))if(qf.isCollapsed(r))r=r.anchor;else{var[,s]=qf.edges(r),l=Bf.pointRef(e,s);md.delete(e,{at:r}),r=l.unref(),null==t.at&&md.select(e,r);}var[c]=Bf.nodes(e,{at:r,match:n,voids:i,mode:a}),f=Bf.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&f){var[d,p]=c,[h,g]=f;if(0!==p.length&&0!==g.length){var v,y,m=Mf.next(g),b=Mf.common(p,g),w=Mf.isSibling(p,g),E=Array.from(Bf.levels(e,{at:p}),e=>{var[t]=e;return t;}).slice(b.length).slice(0,-1),D=Bf.above(e,{at:p,mode:"highest",match:t=>E.includes(t)&&ld(e,t)}),S=D&&Bf.pathRef(e,D[1]);if(ed.isText(d)&&ed.isText(h)){var x=qc(d,od);y=h.text.length,v=x;}else{if(!Sf.isElement(d)||!Sf.isElement(h))throw new Error("Cannot merge the node at path [".concat(p,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(d)," ").concat(JSON.stringify(h)));x=qc(d,id);y=h.children.length,v=x;}w||md.moveNodes(e,{at:p,to:m,voids:i}),S&&md.removeNodes(e,{at:S.current,voids:i}),Sf.isElement(h)&&Bf.isEmpty(e,h)||ed.isText(h)&&""===h.text&&0!==g[g.length-1]?md.removeNodes(e,{at:g,voids:i}):e.apply({type:"merge_node",path:m,position:y,properties:v}),S&&S.unref();}}}});},moveNodes(e,t){Bf.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=Mf.isPath(r)?fd(e,r):t=>Bf.isBlock(e,t));var u=Bf.pathRef(e,n),s=Bf.nodes(e,{at:r,match:a,mode:o,voids:i}),l=Array.from(s,t=>{var[,n]=t;return Bf.pathRef(e,n);});for(var c of l){var f=c.unref(),d=u.current;0!==f.length&&e.apply({type:"move_node",path:f,newPath:d}),u.current&&Mf.isSibling(d,f)&&Mf.isAfter(d,f)&&(u.current=Mf.next(u.current));}u.unref();}});},removeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Bf.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Mf.isPath(i)?fd(e,i):t=>Bf.isBlock(e,t)),!n&&qf.isRange(i)&&(i=Bf.unhangRange(e,i));var u=Bf.nodes(e,{at:i,match:a,mode:o,voids:r}),s=Array.from(u,t=>{var[,n]=t;return Bf.pathRef(e,n);});for(var l of s){var c=l.unref();if(c){var[f]=Bf.node(e,c);e.apply({type:"remove_node",path:c,node:f});}}}});},setNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Bf.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:u=!1,voids:s=!1}=n;if(o){if(null==r&&(r=Mf.isPath(o)?fd(e,o):t=>Bf.isBlock(e,t)),!i&&qf.isRange(o)&&(o=Bf.unhangRange(e,o)),u&&qf.isRange(o)){if(qf.isCollapsed(o)&&Bf.leaf(e,o.anchor)[0].text.length>0)return;var l=Bf.rangeRef(e,o,{affinity:"inward"}),[c,f]=qf.edges(o),d="lowest"===a?"lowest":"highest",p=Bf.isEnd(e,f,f.path);md.splitNodes(e,{at:f,match:r,mode:d,voids:s,always:!p});var h=Bf.isStart(e,c,c.path);md.splitNodes(e,{at:c,match:r,mode:d,voids:s,always:!h}),o=l.unref(),null==n.at&&md.select(e,o);}for(var[g,v]of Bf.nodes(e,{at:o,match:r,mode:a,voids:s})){var y={},m={};if(0!==v.length){var b=!1;for(var w in t)"children"!==w&&"text"!==w&&t[w]!==g[w]&&(b=!0,g.hasOwnProperty(w)&&(y[w]=g[w]),null!=t[w]&&(m[w]=t[w]));b&&e.apply({type:"set_node",path:v,properties:y,newProperties:m});}}}});},splitNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Bf.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:u=!1}=t;if(null==o&&(o=t=>Bf.isBlock(e,t)),qf.isRange(i)&&(i=cd(e,i)),Mf.isPath(i)){var s=i,l=Bf.point(e,s),[c]=Bf.parent(e,s);o=e=>e===c,a=l.path.length-s.length+1,i=l,u=!0;}if(i){var f=Bf.pointRef(e,i,{affinity:"backward"}),[d]=Bf.nodes(e,{at:i,match:o,mode:n,voids:r});if(d){var p=Bf.void(e,{at:i,mode:"highest"});if(!r&&p){var[h,g]=p;if(Sf.isElement(h)&&e.isInline(h)){var v=Bf.after(e,g);if(!v){var y=Mf.next(g);md.insertNodes(e,{text:""},{at:y,voids:r}),v=Bf.point(e,y);}i=v,u=!0;}a=i.path.length-g.length+1,u=!0;}var m=Bf.pointRef(e,i),b=i.path.length-a,[,w]=d,E=i.path.slice(0,b),D=0===a?i.offset:i.path[b]+0;for(var[S,x]of Bf.levels(e,{at:E,reverse:!0,voids:r})){var C=!1;if(x.length<w.length||0===x.length||!r&&Bf.isVoid(e,S))break;var A=f.current,O=Bf.isEnd(e,A,x);if(u||!f||!Bf.isEdge(e,A,x)){C=!0;var k=Nf.extractProps(S);e.apply({type:"split_node",path:x,position:D,properties:k});}D=x[x.length-1]+(C||O?1:0);}if(null==t.at){var B=m.current||Bf.end(e,[]);md.select(e,B);}f.unref(),m.unref();}}});},unsetNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;md.setNodes(e,r,n);},unwrapNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Bf.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Mf.isPath(i)?fd(e,i):t=>Bf.isBlock(e,t)),Mf.isPath(i)&&(i=Bf.range(e,i));var u=qf.isRange(i)?Bf.rangeRef(e,i):null,s=Bf.nodes(e,{at:i,match:a,mode:n,voids:o}),l=Array.from(s,t=>{var[,n]=t;return Bf.pathRef(e,n);}).reverse(),c=function(t){var n=t.unref(),[i]=Bf.node(e,n),a=Bf.range(e,n);r&&u&&(a=qf.intersection(u.current,a)),md.liftNodes(e,{at:a,match:e=>Sf.isAncestor(i)&&i.children.includes(e),voids:o});};for(var f of l)c(f);u&&u.unref();}});},wrapNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Bf.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:u=e.selection}=n;if(u){if(null==a&&(a=Mf.isPath(u)?fd(e,u):e.isInline(t)?t=>Bf.isInline(e,t)||ed.isText(t):t=>Bf.isBlock(e,t)),o&&qf.isRange(u)){var[s,l]=qf.edges(u),c=Bf.rangeRef(e,u,{affinity:"inward"});md.splitNodes(e,{at:l,match:a,voids:i}),md.splitNodes(e,{at:s,match:a,voids:i}),u=c.unref(),null==n.at&&md.select(e,u);}var f=Array.from(Bf.nodes(e,{at:u,match:e.isInline(t)?t=>Bf.isBlock(e,t):e=>Bf.isEditor(e),mode:"lowest",voids:i}));for(var[,d]of f){var p=qf.isRange(u)?qf.intersection(u,Bf.range(e,d)):u;if(p){var h=Array.from(Bf.nodes(e,{at:p,match:a,mode:r,voids:i}));if(h.length>0){var g=function(){var[n]=h,r=h[h.length-1],[,o]=n,[,a]=r;if(0===o.length&&0===a.length)return"continue";var u=Mf.equals(o,a)?Mf.parent(o):Mf.common(o,a),s=Bf.range(e,o,a),l=Bf.node(e,u),[c]=l,f=u.length+1,d=Mf.next(a.slice(0,f)),p=ud(ud({},t),{},{children:[]});md.insertNodes(e,p,{at:d,voids:i}),md.moveNodes(e,{at:s,match:e=>Sf.isAncestor(c)&&c.children.includes(e),to:d.concat(0),voids:i});}();if("continue"===g)continue;}}}}});}},ld=(e,t)=>{if(Sf.isElement(t)){var n=t;return!!Bf.isVoid(e,t)||1===n.children.length&&ld(e,n.children[0]);}return!Bf.isEditor(t);},cd=(e,t)=>{if(qf.isCollapsed(t))return t.anchor;var[,n]=qf.edges(t),r=Bf.pointRef(e,n);return md.delete(e,{at:t}),r.unref();},fd=(e,t)=>{var[n]=Bf.node(e,t);return e=>e===n;};function dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function pd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dd(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var hd={collapse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r)if("anchor"===n)md.select(e,r.anchor);else if("focus"===n)md.select(e,r.focus);else if("start"===n){var[o]=qf.edges(r);md.select(e,o);}else if("end"===n){var[,i]=qf.edges(r);md.select(e,i);}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null});},move(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=qf.isBackward(n)?"focus":"anchor"),"end"===a&&(a=qf.isBackward(n)?"anchor":"focus");var{anchor:u,focus:s}=n,l={distance:r,unit:o},c={};if(null==a||"anchor"===a){var f=i?Bf.before(e,u,l):Bf.after(e,u,l);f&&(c.anchor=f);}if(null==a||"focus"===a){var d=i?Bf.before(e,s,l):Bf.after(e,s,l);d&&(c.focus=d);}md.setSelection(e,c);}},select(e,t){var{selection:n}=e;if(t=Bf.range(e,t),n)md.setSelection(e,t);else{if(!qf.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t});}},setPoint(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=qf.isBackward(r)?"focus":"anchor"),"end"===o&&(o=qf.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,u="anchor"===o?i:a;md.setSelection(e,{["anchor"===o?"anchor":"focus"]:pd(pd({},u),t)});}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!Vf.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!Vf.equals(t.focus,n.focus)||"anchor"!==i&&"focus"!==i&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o});}}},gd={delete(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Bf.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:u=!1}=t;if(a){if(qf.isRange(a)&&qf.isCollapsed(a)&&(a=a.anchor),Vf.isPoint(a)){var s=Bf.void(e,{at:a,mode:"highest"});if(!i&&s){var[,l]=s;a=l;}else{var c={unit:r,distance:o};a={anchor:a,focus:n?Bf.before(e,a,c)||Bf.start(e,[]):Bf.after(e,a,c)||Bf.end(e,[])},u=!0;}}if(Mf.isPath(a))md.removeNodes(e,{at:a,voids:i});else if(!qf.isCollapsed(a)){if(!u){var[,f]=qf.edges(a),d=Bf.end(e,[]);Vf.equals(f,d)||(a=Bf.unhangRange(e,a,{voids:i}));}var[p,h]=qf.edges(a),g=Bf.above(e,{match:t=>Bf.isBlock(e,t),at:p,voids:i}),v=Bf.above(e,{match:t=>Bf.isBlock(e,t),at:h,voids:i}),y=g&&v&&!Mf.equals(g[1],v[1]),m=Mf.equals(p.path,h.path),b=i?null:Bf.void(e,{at:p,mode:"highest"}),w=i?null:Bf.void(e,{at:h,mode:"highest"});if(b){var E=Bf.before(e,p);E&&g&&Mf.isAncestor(g[1],E.path)&&(p=E);}if(w){var D=Bf.after(e,h);D&&v&&Mf.isAncestor(v[1],D.path)&&(h=D);}var S,x=[];for(var C of Bf.nodes(e,{at:a,voids:i})){var[A,O]=C;S&&0===Mf.compare(O,S)||(!i&&Bf.isVoid(e,A)||!Mf.isCommon(O,p.path)&&!Mf.isCommon(O,h.path))&&(x.push(C),S=O);}var k=Array.from(x,t=>{var[,n]=t;return Bf.pathRef(e,n);}),B=Bf.pointRef(e,p),F=Bf.pointRef(e,h);if(!m&&!b){var T=B.current,[_]=Bf.leaf(e,T),{path:P}=T,{offset:j}=p,N=_.text.slice(j);N.length>0&&e.apply({type:"remove_text",path:P,offset:j,text:N});}for(var I of k){var L=I.unref();md.removeNodes(e,{at:L,voids:i});}if(!w){var R=F.current,[M]=Bf.leaf(e,R),{path:z}=R,$=m?p.offset:0,H=M.text.slice($,h.offset);H.length>0&&e.apply({type:"remove_text",path:z,offset:$,text:H});}!m&&y&&F.current&&B.current&&md.mergeNodes(e,{at:F.current,hanging:!0,voids:i});var V=n?B.unref()||F.unref():F.unref()||B.unref();null==t.at&&V&&md.select(e,V);}}});},insertFragment(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Bf.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(t.length&&i){if(qf.isRange(i)){if(r||(i=Bf.unhangRange(e,i)),qf.isCollapsed(i))i=i.anchor;else{var[,a]=qf.edges(i);if(!o&&Bf.void(e,{at:a}))return;var u=Bf.pointRef(e,a);md.delete(e,{at:i}),i=u.unref();}}else Mf.isPath(i)&&(i=Bf.start(e,i));if(o||!Bf.void(e,{at:i})){var s=Bf.above(e,{at:i,match:t=>Bf.isInline(e,t),mode:"highest",voids:o});if(s){var[,l]=s;if(Bf.isEnd(e,i,l))i=Bf.after(e,l);else if(Bf.isStart(e,i,l)){i=Bf.before(e,l);}}var c=Bf.above(e,{match:t=>Bf.isBlock(e,t),at:i,voids:o}),[,f]=c,d=Bf.isStart(e,i,f),p=Bf.isEnd(e,i,f),h=d&&p,g=!d||d&&p,v=!p,[,y]=Nf.first({children:t},[]),[,m]=Nf.last({children:t},[]),b=[],w=t=>{var[n,r]=t;return!(0===r.length)&&(!!h||!(g&&Mf.isAncestor(r,y)&&Sf.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(v&&Mf.isAncestor(r,m)&&Sf.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)));};for(var E of Nf.nodes({children:t},{pass:w}))w(E)&&b.push(E);var D=[],S=[],x=[],C=!0,A=!1;for(var[O]of b)Sf.isElement(O)&&!e.isInline(O)?(C=!1,A=!0,S.push(O)):C?D.push(O):x.push(O);var[k]=Bf.nodes(e,{at:i,match:t=>ed.isText(t)||Bf.isInline(e,t),mode:"highest",voids:o}),[,B]=k,F=Bf.isStart(e,i,B),T=Bf.isEnd(e,i,B),_=Bf.pathRef(e,p?Mf.next(f):f),P=Bf.pathRef(e,T?Mf.next(B):B),j=Bf.pathRef(e,f);md.splitNodes(e,{at:i,match:t=>A?Bf.isBlock(e,t):ed.isText(t)||Bf.isInline(e,t),mode:A?"lowest":"highest",voids:o});var N=Bf.pathRef(e,!F||F&&T?Mf.next(B):B);if(md.insertNodes(e,D,{at:N.current,match:t=>ed.isText(t)||Bf.isInline(e,t),mode:"highest",voids:o}),h&&S.length&&md.delete(e,{at:j.unref(),voids:o}),md.insertNodes(e,S,{at:_.current,match:t=>Bf.isBlock(e,t),mode:"lowest",voids:o}),md.insertNodes(e,x,{at:P.current,match:t=>ed.isText(t)||Bf.isInline(e,t),mode:"highest",voids:o}),!n.at){var I;I=x.length>0?Mf.previous(P.current):S.length>0?Mf.previous(_.current):Mf.previous(N.current);var L=Bf.end(e,I);md.select(e,L);}N.unref(),_.unref(),P.unref();}}});},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Bf.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(Mf.isPath(o)&&(o=Bf.range(e,o)),qf.isRange(o))if(qf.isCollapsed(o))o=o.anchor;else{var i=qf.end(o);if(!r&&Bf.void(e,{at:i}))return;var a=Bf.pointRef(e,i);md.delete(e,{at:o,voids:r}),o=a.unref(),md.setSelection(e,{anchor:o,focus:o});}if(r||!Bf.void(e,{at:o})){var{path:u,offset:s}=o;t.length>0&&e.apply({type:"insert_text",path:u,offset:s,text:t});}}});}};function vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function yd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vd(Object(n),!0).forEach(function(t){Ic(e,t,n[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var md=yd(yd(yd(yd({},rd),sd),hd),gd),bd="[object Map]",wd="[object Set]",Ed=/^\[object .+?Constructor\]$/,Dd=/^(?:0|[1-9]\d*)$/,Sd="[\\ud800-\\udfff]",xd="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",Cd="\\ud83c[\\udffb-\\udfff]",Ad="[^\\ud800-\\udfff]",Od="(?:\\ud83c[\\udde6-\\uddff]){2}",kd="[\\ud800-\\udbff][\\udc00-\\udfff]",Bd="(?:"+xd+"|"+Cd+")"+"?",Fd="[\\ufe0e\\ufe0f]?"+Bd+("(?:\\u200d(?:"+[Ad,Od,kd].join("|")+")[\\ufe0e\\ufe0f]?"+Bd+")*"),Td="(?:"+[Ad+xd+"?",xd,Od,kd,Sd].join("|")+")",_d=RegExp(Cd+"(?="+Cd+")|"+Td+Fd,"g"),Pd=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),jd="object"==typeof e&&e&&e.Object===Object&&e,Nd="object"==typeof self&&self&&self.Object===Object&&self,Id=jd||Nd||Function("return this")();function Ld(e,t){return function(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o;}(t,function(t){return e[t];});}function Rd(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e];}),n;}function Md(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e;}),n;}function zd(e){return function(e){return Pd.test(e);}(e)?function(e){return e.match(_d)||[];}(e):function(e){return e.split("");}(e);}var $d,Hd,Vd=Function.prototype,Ud=Object.prototype,Wd=Id["__core-js_shared__"],Gd=function(){var e=/[^.]+$/.exec(Wd&&Wd.keys&&Wd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:"";}(),qd=Vd.toString,Kd=Ud.hasOwnProperty,Yd=Ud.toString,Xd=RegExp("^"+qd.call(Kd).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zd=Id.Symbol,Jd=Zd?Zd.iterator:void 0,Qd=Ud.propertyIsEnumerable,ep=($d=Object.keys,Hd=Object,function(e){return $d(Hd(e));}),tp=hp(Id,"DataView"),np=hp(Id,"Map"),rp=hp(Id,"Promise"),op=hp(Id,"Set"),ip=hp(Id,"WeakMap"),ap=yp(tp),up=yp(np),sp=yp(rp),lp=yp(op),cp=yp(ip);function fp(e,t){var n=mp(e)||function(e){return function(e){return Dp(e)&&bp(e);}(e)&&Kd.call(e,"callee")&&(!Qd.call(e,"callee")||"[object Arguments]"==Yd.call(e));}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r;}(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!Kd.call(e,i)||o&&("length"==i||vp(i,r))||n.push(i);return n;}function dp(e){if(!Ep(e)||function(e){return!!Gd&&Gd in e;}(e))return!1;var t=wp(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"");}catch(e){}return t;}(e)?Xd:Ed;return t.test(yp(e));}function pp(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||Ud,t!==r)return ep(e);var t,n,r,o=[];for(var i in Object(e))Kd.call(e,i)&&"constructor"!=i&&o.push(i);return o;}function hp(e,t){var n=function(e,t){return null==e?void 0:e[t];}(e,t);return dp(n)?n:void 0;}var gp=function(e){return Yd.call(e);};function vp(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||Dd.test(e))&&e>-1&&e%1==0&&e<t;}function yp(e){if(null!=e){try{return qd.call(e);}catch(e){}try{return e+"";}catch(e){}}return"";}(tp&&"[object DataView]"!=gp(new tp(new ArrayBuffer(1)))||np&&gp(new np())!=bd||rp&&"[object Promise]"!=gp(rp.resolve())||op&&gp(new op())!=wd||ip&&"[object WeakMap]"!=gp(new ip()))&&(gp=function(e){var t=Yd.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?yp(n):void 0;if(r)switch(r){case ap:return"[object DataView]";case up:return bd;case sp:return"[object Promise]";case lp:return wd;case cp:return"[object WeakMap]";}return t;});var mp=Array.isArray;function bp(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991;}(e.length)&&!wp(e);}function wp(e){var t=Ep(e)?Yd.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t;}function Ep(e){var t=typeof e;return!!e&&("object"==t||"function"==t);}function Dp(e){return!!e&&"object"==typeof e;}function Sp(e){return e?Ld(e,function(e){return bp(e)?fp(e):pp(e);}(e)):[];}var xp=function(e){if(!e)return[];if(bp(e))return function(e){return"string"==typeof e||!mp(e)&&Dp(e)&&"[object String]"==Yd.call(e);}(e)?zd(e):function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t;}(e);if(Jd&&e[Jd])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n;}(e[Jd]());var t=gp(e);return(t==bd?Rd:t==wd?Md:Sp)(e);};function Cp(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object;}function Ap(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(n){void 0===e[n]?e[n]=t[n]:Cp(t[n])&&Cp(e[n])&&Object.keys(t[n]).length>0&&Ap(e[n],t[n]);});}var Op={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null;},querySelectorAll:function(){return[];},getElementById:function(){return null;},createEvent:function(){return{initEvent:function(){}};},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[];}};},createElementNS:function(){return{};},importNode:function(){return null;},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function kp(){var e="undefined"!=typeof document?document:{};return Ap(e,Op),e;}var Bp={document:Op,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this;},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return"";}};},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{};},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0);},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e);}};function Fp(){var e="undefined"!=typeof window?window:{};return Ap(e,Bp),e;}function Tp(e){return Tp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e);},Tp(e);}function _p(e,t){return _p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e;},_p(e,t);}function Pp(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0;}catch(e){return!1;}}function jp(e,t,n){return jp=Pp()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r))();return n&&_p(o,n.prototype),o;},jp.apply(null,arguments);}function Np(e){var t="function"==typeof Map?new Map():void 0;return Np=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]");}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n);}function n(){return jp(e,arguments,Tp(this).constructor);}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_p(n,e);},Np(e);}var Ip=function(e){var t,n;function r(t){var n,r,o;return n=e.call.apply(e,[this].concat(t))||this,r=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}(n),o=r.__proto__,Object.defineProperty(r,"__proto__",{get:function(){return o;},set:function(e){o.__proto__=e;}}),n;}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r;}(Np(Array));function Lp(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,Lp(e)):t.push(e);}),t;}function Rp(e,t){return Array.prototype.filter.call(e,t);}function Mp(e,t){var n=Fp(),r=kp(),o=[];if(!t&&e instanceof Ip)return e;if(!e)return new Ip(o);if("string"==typeof e){var i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";0===i.indexOf("<li")&&(a="ul"),0===i.indexOf("<tr")&&(a="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(a="tr"),0===i.indexOf("<tbody")&&(a="table"),0===i.indexOf("<option")&&(a="select");var u=r.createElement(a);u.innerHTML=i;for(var s=0;s<u.childNodes.length;s+=1)o.push(u.childNodes[s]);}else o=function(e,t){if("string"!=typeof e)return[e];for(var n=[],r=t.querySelectorAll(e),o=0;o<r.length;o+=1)n.push(r[o]);return n;}(e.trim(),t||r);}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof Ip)return e;o=e;}return new Ip(function(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t;}(o));}function zp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Lp(t.map(function(e){return e.split(" ");}));return this.forEach(function(e){var t;(t=e.classList).add.apply(t,r);}),this;}function $p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Lp(t.map(function(e){return e.split(" ");}));return this.forEach(function(e){var t;(t=e.classList).remove.apply(t,r);}),this;}function Hp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Lp(t.map(function(e){return e.split(" ");}));return Rp(this,function(e){return r.filter(function(t){return e.classList.contains(t);}).length>0;}).length>0;}function Vp(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this;}function Up(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this;}function Wp(){var e=this[0];if(e){var t,n={};if(e.dataset)for(var r in e.dataset)n[r]=e.dataset[r];else for(var o=0;o<e.attributes.length;o+=1){var i=e.attributes[o];i.name.indexOf("data-")>=0&&(n[(t=i.name.split("data-")[1],t.toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase();}))]=i.value);}for(var a in n)"false"===n[a]?n[a]=!1:"true"===n[a]?n[a]=!0:parseFloat(n[a])===1*n[a]&&(n[a]*=1);return n;}}function Gp(e){if(void 0===e){var t=this[0];if(!t)return;if(t.multiple&&"select"===t.nodeName.toLowerCase()){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n;}return t.value;}for(var o=0;o<this.length;o+=1){var i=this[o];if(Array.isArray(e)&&i.multiple&&"select"===i.nodeName.toLowerCase())for(var a=0;a<i.options.length;a+=1)i.options[a].selected=e.indexOf(i.options[a].value)>=0;else i.value=e;}return this;}function qp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];function u(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),Mp(t).is(o))i.apply(t,n);else for(var r=Mp(t).parents(),a=0;a<r.length;a+=1)Mp(r[a]).is(o)&&i.apply(r[a],n);}}function s(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),i.apply(this,t);}"function"==typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var l,c=r.split(" "),f=0;f<this.length;f+=1){var d=this[f];if(o)for(l=0;l<c.length;l+=1){var p=c[l];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[p]||(d.dom7LiveListeners[p]=[]),d.dom7LiveListeners[p].push({listener:i,proxyListener:u}),d.addEventListener(p,u,a);}else for(l=0;l<c.length;l+=1){var h=c[l];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[h]||(d.dom7Listeners[h]=[]),d.dom7Listeners[h].push({listener:i,proxyListener:s}),d.addEventListener(h,s,a);}}return this;}function Kp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];"function"==typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var u=r.split(" "),s=0;s<u.length;s+=1)for(var l=u[s],c=0;c<this.length;c+=1){var f=this[c],d=void 0;if(!o&&f.dom7Listeners?d=f.dom7Listeners[l]:o&&f.dom7LiveListeners&&(d=f.dom7LiveListeners[l]),d&&d.length)for(var p=d.length-1;p>=0;p-=1){var h=d[p];i&&h.listener===i||i&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===i?(f.removeEventListener(l,h.proxyListener,a),d.splice(p,1)):i||(f.removeEventListener(l,h.proxyListener,a),d.splice(p,1));}}return this;}function Yp(){var e=Fp();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null;}function Xp(){var e=Fp();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null;}function Zp(){if(this.length>0){var e=Fp(),t=kp(),n=this[0],r=n.getBoundingClientRect(),o=t.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,u=n===e?e.scrollY:n.scrollTop,s=n===e?e.scrollX:n.scrollLeft;return{top:r.top+u-i,left:r.left+s-a};}return null;}function Jp(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this;}function Qp(){for(var e=Fp(),t=0;t<this.length;t+=1){var n=this[t];"none"===n.style.display&&(n.style.display=""),"none"===e.getComputedStyle(n,null).getPropertyValue("display")&&(n.style.display="block");}return this;}function eh(e,t){var n,r=Fp();if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var o in e)this[n].style[o]=e[o];return this;}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e);}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this;}return this;}function th(e){return e?(this.forEach(function(t,n){e.apply(t,[t,n]);}),this):this;}function nh(e){return Mp(Rp(this,e));}function rh(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this;}function oh(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this;}function ih(e){var t,n,r=Fp(),o=kp(),i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=Mp(e),n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1;}if(e===o)return i===o;if(e===r)return i===r;if(e.nodeType||e instanceof Ip){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1;}return!1;}function ah(){for(var e,t=kp(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if("string"==typeof e){var o=t.createElement("div");for(o.innerHTML=e;o.firstChild;)this[r].appendChild(o.firstChild);}else if(e instanceof Ip)for(var i=0;i<e.length;i+=1)this[r].appendChild(e[i]);else this[r].appendChild(e);}return this;}function uh(e){var t,n,r=kp();for(t=0;t<this.length;t+=1)if("string"==typeof e){var o=r.createElement("div");for(o.innerHTML=e,n=o.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(o.childNodes[n],this[t].childNodes[0]);}else if(e instanceof Ip)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this;}function sh(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?Mp(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return Mp(t);}function lh(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?Mp(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return Mp(t);}function ch(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return Mp(t);}function fh(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)e&&!Mp(r[o]).is(e)||t.push(r[o]);return Mp(t);}function dh(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this;}function ph(){for(var e=0;e<this.length;e+=1){var t=this[e];if(1===t.nodeType){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent="";}}return this;}Mp.fn=Ip.prototype;var hh="resize scroll".split(" ");function gh(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(void 0===n[0]){for(var o=0;o<this.length;o+=1)hh.indexOf(e)<0&&(e in this[o]?this[o][e]():Mp(this[o]).trigger(e));return this;}return this.on.apply(this,[e].concat(n));};}var vh=gh("click"),yh=gh("focus"),mh="[object GeneratorFunction]",bh=/^(?:0|[1-9]\d*)$/;function wh(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););return e;}var Eh=Object.prototype,Dh=Eh.hasOwnProperty,Sh=Eh.toString,xh=Eh.propertyIsEnumerable,Ch=function(e,t){return function(n){return e(t(n));};}(Object.keys,Object);function Ah(e,t){var n=Ph(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e;}(e)&&jh(e);}(e)&&Dh.call(e,"callee")&&(!xh.call(e,"callee")||"[object Arguments]"==Sh.call(e));}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r;}(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!Dh.call(e,i)||o&&("length"==i||_h(i,r))||n.push(i);return n;}var Oh,kh,Bh=(Oh=function(e,t){return e&&Fh(e,t,Nh);},function(e,t){if(null==e)return e;if(!jh(e))return Oh(e,t);for(var n=e.length,r=kh?n:-1,o=Object(e);(kh?r--:++r<n)&&!1!==t(o[r],r,o););return e;}),Fh=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(!1===n(i[s],s,i))break;}return t;};}();function Th(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||Eh,t!==r)return Ch(e);var t,n,r,o=[];for(var i in Object(e))Dh.call(e,i)&&"constructor"!=i&&o.push(i);return o;}function _h(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||bh.test(e))&&e>-1&&e%1==0&&e<t;}var Ph=Array.isArray;function jh(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991;}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t);}(e)?Sh.call(e):"";return"[object Function]"==t||t==mh;}(e);}function Nh(e){return jh(e)?Ah(e):Th(e);}function Ih(e){return e;}var Lh=function(e,t){return(Ph(e)?wh:Bh)(e,"function"==typeof t?t:Ih);};let Rh=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-";}return t;};var Mh=/^\s+|\s+$/g,zh=/^[-+]0x[0-9a-f]+$/i,$h=/^0b[01]+$/i,Hh=/^0o[0-7]+$/i,Vh=parseInt,Uh="object"==typeof e&&e&&e.Object===Object&&e,Wh="object"==typeof self&&self&&self.Object===Object&&self,Gh=Uh||Wh||Function("return this")(),qh=Object.prototype.toString,Kh=Math.max,Yh=Math.min,Xh=function(){return Gh.Date.now();};function Zh(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n);}function h(e){return l=e,u=setTimeout(v,t),c?p(e):a;}function g(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-l>=i;}function v(){var e=Xh();if(g(e))return y(e);u=setTimeout(v,function(e){var n=t-(e-s);return f?Yh(n,i-(e-l)):n;}(e));}function y(e){return u=void 0,d&&r?p(e):(r=o=void 0,a);}function m(){var e=Xh(),n=g(e);if(r=arguments,o=this,s=e,n){if(void 0===u)return h(s);if(f)return u=setTimeout(v,t),p(s);}return void 0===u&&(u=setTimeout(v,t)),a;}return t=Qh(t)||0,Jh(n)&&(c=!!n.leading,i=(f="maxWait"in n)?Kh(Qh(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),m.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=s=o=u=void 0;},m.flush=function(){return void 0===u?a:y(Xh());},m;}function Jh(e){var t=typeof e;return!!e&&("object"==t||"function"==t);}function Qh(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e;}(e)&&"[object Symbol]"==qh.call(e);}(e))return NaN;if(Jh(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Jh(t)?t+"":t;}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Mh,"");var n=$h.test(e);return n||Hh.test(e)?Vh(e.slice(2),n?2:8):zh.test(e)?NaN:+e;}var eg=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Jh(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Zh(e,t,{leading:r,maxWait:t,trailing:o});};const tg={createElement:function(e,t){return document.createElement(e,t);},createElementNS:function(e,t,n){return document.createElementNS(e,t,n);},createTextNode:function(e){return document.createTextNode(e);},createComment:function(e){return document.createComment(e);},insertBefore:function(e,t,n){e.insertBefore(t,n);},removeChild:function(e,t){e.removeChild(t);},appendChild:function(e,t){e.appendChild(t);},parentNode:function(e){return e.parentNode;},nextSibling:function(e){return e.nextSibling;},tagName:function(e){return e.tagName;},setTextContent:function(e,t){e.textContent=t;},getTextContent:function(e){return e.textContent;},isElement:function(e){return 1===e.nodeType;},isText:function(e){return 3===e.nodeType;},isComment:function(e){return 8===e.nodeType;}};function ng(e,t,n,r,o){return{sel:e,data:t,children:n,text:r,elm:o,key:void 0===t?void 0:t.key};}const rg=Array.isArray;function og(e){return"string"==typeof e||"number"==typeof e||e instanceof String||e instanceof Number;}function ig(e){return void 0===e;}function ag(e){return void 0!==e;}const ug=ng("",{},[],void 0,void 0);function sg(e,t){var n,r;const o=e.key===t.key,i=(null===(n=e.data)||void 0===n?void 0:n.is)===(null===(r=t.data)||void 0===r?void 0:r.is);return e.sel===t.sel&&o&&i;}function lg(e,t,n){var r;const o={};for(let i=t;i<=n;++i){const t=null===(r=e[i])||void 0===r?void 0:r.key;void 0!==t&&(o[t]=i);}return o;}const cg=["create","update","remove","destroy","pre","post"];function fg(e,t){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=void 0!==t?t:tg;for(const t of cg)for(const r of e){const e=r[t];void 0!==e&&n[t].push(e);}function o(e){const t=e.id?"#"+e.id:"",n=e.getAttribute("class"),o=n?"."+n.split(" ").join("."):"";return ng(r.tagName(e).toLowerCase()+t+o,{},[],void 0,e);}function i(e,t){return function(){if(0==--t){const t=r.parentNode(e);r.removeChild(t,e);}};}function a(e,t){var o,i;let u,s=e.data;if(void 0!==s){const t=null===(o=s.hook)||void 0===o?void 0:o.init;ag(t)&&(t(e),s=e.data);}const l=e.children,c=e.sel;if("!"===c)ig(e.text)&&(e.text=""),e.elm=r.createComment(e.text);else if(void 0!==c){const o=c.indexOf("#"),f=c.indexOf(".",o),d=o>0?o:c.length,p=f>0?f:c.length,h=-1!==o||-1!==f?c.slice(0,Math.min(d,p)):c,g=e.elm=ag(s)&&ag(u=s.ns)?r.createElementNS(u,h,s):r.createElement(h,s);for(d<p&&g.setAttribute("id",c.slice(d+1,p)),f>0&&g.setAttribute("class",c.slice(p+1).replace(/\./g," ")),u=0;u<n.create.length;++u)n.create[u](ug,e);if(rg(l))for(u=0;u<l.length;++u){const e=l[u];null!=e&&r.appendChild(g,a(e,t));}else og(e.text)&&r.appendChild(g,r.createTextNode(e.text));const v=e.data.hook;ag(v)&&(null===(i=v.create)||void 0===i||i.call(v,ug,e),v.insert&&t.push(e));}else e.elm=r.createTextNode(e.text);return e.elm;}function u(e,t,n,o,i,u){for(;o<=i;++o){const i=n[o];null!=i&&r.insertBefore(e,a(i,u),t);}}function s(e){var t,r;const o=e.data;if(void 0!==o){null===(r=null===(t=null==o?void 0:o.hook)||void 0===t?void 0:t.destroy)||void 0===r||r.call(t,e);for(let t=0;t<n.destroy.length;++t)n.destroy[t](e);if(void 0!==e.children)for(let t=0;t<e.children.length;++t){const n=e.children[t];null!=n&&"string"!=typeof n&&s(n);}}}function l(e,t,o,a){for(var u,l;o<=a;++o){let a,c;const f=t[o];if(null!=f)if(ag(f.sel)){s(f),a=n.remove.length+1,c=i(f.elm,a);for(let e=0;e<n.remove.length;++e)n.remove[e](f,c);const e=null===(l=null===(u=null==f?void 0:f.data)||void 0===u?void 0:u.hook)||void 0===l?void 0:l.remove;ag(e)?e(f,c):c();}else r.removeChild(e,f.elm);}}function c(e,t,o){var i,s,f,d,p;const h=null===(i=t.data)||void 0===i?void 0:i.hook;null===(s=null==h?void 0:h.prepatch)||void 0===s||s.call(h,e,t);const g=t.elm=e.elm,v=e.children,y=t.children;if(e!==t){if(void 0!==t.data){for(let r=0;r<n.update.length;++r)n.update[r](e,t);null===(d=null===(f=t.data.hook)||void 0===f?void 0:f.update)||void 0===d||d.call(f,e,t);}ig(t.text)?ag(v)&&ag(y)?v!==y&&function(e,t,n,o){let i,s,f,d,p=0,h=0,g=t.length-1,v=t[0],y=t[g],m=n.length-1,b=n[0],w=n[m];for(;p<=g&&h<=m;)null==v?v=t[++p]:null==y?y=t[--g]:null==b?b=n[++h]:null==w?w=n[--m]:sg(v,b)?(c(v,b,o),v=t[++p],b=n[++h]):sg(y,w)?(c(y,w,o),y=t[--g],w=n[--m]):sg(v,w)?(c(v,w,o),r.insertBefore(e,v.elm,r.nextSibling(y.elm)),v=t[++p],w=n[--m]):sg(y,b)?(c(y,b,o),r.insertBefore(e,y.elm,v.elm),y=t[--g],b=n[++h]):(void 0===i&&(i=lg(t,p,g)),s=i[b.key],ig(s)?r.insertBefore(e,a(b,o),v.elm):(f=t[s],f.sel!==b.sel?r.insertBefore(e,a(b,o),v.elm):(c(f,b,o),t[s]=void 0,r.insertBefore(e,f.elm,v.elm))),b=n[++h]);(p<=g||h<=m)&&(p>g?(d=null==n[m+1]?null:n[m+1].elm,u(e,d,n,h,m,o)):l(e,t,p,g));}(g,v,y,o):ag(y)?(ag(e.text)&&r.setTextContent(g,""),u(g,null,y,0,y.length-1,o)):ag(v)?l(g,v,0,v.length-1):ag(e.text)&&r.setTextContent(g,""):e.text!==t.text&&(ag(v)&&l(g,v,0,v.length-1),r.setTextContent(g,t.text)),null===(p=null==h?void 0:h.postpatch)||void 0===p||p.call(h,e,t);}}return function(e,t){let i,u,s;const f=[];for(i=0;i<n.pre.length;++i)n.pre[i]();for(function(e){return void 0!==e.sel;}(e)||(e=o(e)),sg(e,t)?c(e,t,f):(u=e.elm,s=r.parentNode(u),a(t,f),null!==s&&(r.insertBefore(s,t.elm,r.nextSibling(u)),l(s,[e],0,0))),i=0;i<f.length;++i)f[i].data.hook.insert(f[i]);for(i=0;i<n.post.length;++i)n.post[i]();return t;};}function dg(e,t,n){if(e.ns="http://www.w3.org/2000/svg","foreignObject"!==n&&void 0!==t)for(let e=0;e<t.length;++e){const n=t[e].data;void 0!==n&&dg(n,t[e].children,t[e].sel);}}function pg(e,t,n){let r,o,i,a={};if(void 0!==n?(null!==t&&(a=t),rg(n)?r=n:og(n)?o=n.toString():n&&n.sel&&(r=[n])):null!=t&&(rg(t)?r=t:og(t)?o=t.toString():t&&t.sel?r=[t]:a=t),void 0!==r)for(i=0;i<r.length;++i)og(r[i])&&(r[i]=ng(void 0,void 0,void 0,r[i],void 0));return"s"!==e[0]||"v"!==e[1]||"g"!==e[2]||3!==e.length&&"."!==e[3]&&"#"!==e[3]||dg(a,r,e),ng(e,a,r,o,void 0);}function hg(e,t){let n;const r=t.elm;let o=e.data.attrs,i=t.data.attrs;if((o||i)&&o!==i){for(n in o=o||{},i=i||{},i){const e=i[n];o[n]!==e&&(!0===e?r.setAttribute(n,""):!1===e?r.removeAttribute(n):120!==n.charCodeAt(0)?r.setAttribute(n,e):58===n.charCodeAt(3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,e):58===n.charCodeAt(5)?r.setAttributeNS("http://www.w3.org/1999/xlink",n,e):r.setAttribute(n,e));}for(n in o)n in i||r.removeAttribute(n);}}const gg={create:hg,update:hg};function vg(e,t){let n,r;const o=t.elm;let i=e.data.class,a=t.data.class;if((i||a)&&i!==a){for(r in i=i||{},a=a||{},i)i[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&o.classList.remove(r);for(r in a)n=a[r],n!==i[r]&&o.classList[n?"add":"remove"](r);}}const yg={create:vg,update:vg},mg=/[A-Z]/g;function bg(e,t){const n=t.elm;let r,o=e.data.dataset,i=t.data.dataset;if(!o&&!i)return;if(o===i)return;o=o||{},i=i||{};const a=n.dataset;for(r in o)i[r]||(a?r in a&&delete a[r]:n.removeAttribute("data-"+r.replace(mg,"-$&").toLowerCase()));for(r in i)o[r]!==i[r]&&(a?a[r]=i[r]:n.setAttribute("data-"+r.replace(mg,"-$&").toLowerCase(),i[r]));}const wg={create:bg,update:bg};function Eg(e,t,n){if("function"==typeof e)e.call(t,n,t);else if("object"==typeof e)for(let r=0;r<e.length;r++)Eg(e[r],t,n);}function Dg(e,t){const n=e.type,r=t.data.on;r&&r[n]&&Eg(r[n],t,e);}function Sg(e,t){const n=e.data.on,r=e.listener,o=e.elm,i=t&&t.data.on,a=t&&t.elm;let u;if(n!==i){if(n&&r)if(i)for(u in n)i[u]||o.removeEventListener(u,r,!1);else for(u in n)o.removeEventListener(u,r,!1);if(i){const r=t.listener=e.listener||function e(t){Dg(t,e.vnode);};if(r.vnode=t,n)for(u in i)n[u]||a.addEventListener(u,r,!1);else for(u in i)a.addEventListener(u,r,!1);}}}const xg={create:Sg,update:Sg,destroy:Sg};function Cg(e,t){let n,r,o;const i=t.elm;let a=e.data.props,u=t.data.props;if((a||u)&&a!==u)for(n in a=a||{},u=u||{},u)r=u[n],o=a[n],o===r||"value"===n&&i[n]===r||(i[n]=r);}const Ag={create:Cg,update:Cg},Og="undefined"!=typeof window&&window.requestAnimationFrame.bind(window)||setTimeout;let kg=!1;function Bg(e,t,n){!function(e){Og(function(){Og(e);});}(function(){e[t]=n;});}function Fg(e,t){let n,r;const o=t.elm;let i=e.data.style,a=t.data.style;if(!i&&!a)return;if(i===a)return;i=i||{},a=a||{};const u=("delayed"in i);for(r in i)a[r]||("-"===r[0]&&"-"===r[1]?o.style.removeProperty(r):o.style[r]="");for(r in a)if(n=a[r],"delayed"===r&&a.delayed)for(const e in a.delayed)n=a.delayed[e],u&&n===i.delayed[e]||Bg(o.style,e,n);else"remove"!==r&&n!==i[r]&&("-"===r[0]&&"-"===r[1]?o.style.setProperty(r,n):o.style[r]=n);}const Tg={pre:function(){kg=!1;},create:Fg,update:Fg,destroy:function(e){let t,n;const r=e.elm,o=e.data.style;if(o&&(t=o.destroy))for(n in t)r.style[n]=t[n];},remove:function(e,t){const n=e.data.style;if(!n||!n.remove)return void t();let r;kg||(e.elm.offsetLeft,kg=!0);const o=e.elm;let i=0;const a=n.remove;let u=0;const s=[];for(r in a)s.push(r),o.style[r]=a[r];const l=getComputedStyle(o)["transition-property"].split(", ");for(;i<l.length;++i)-1!==s.indexOf(l[i])&&u++;o.addEventListener("transitionend",function(e){e.target===o&&--u,0===u&&t();});}};function _g(e,t){for(const n of e)null!=n&&!1!==n&&""!==n&&(Array.isArray(n)?_g(n,t):"string"==typeof n||"number"==typeof n||"boolean"==typeof n?t.push(ng(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t;}function Pg(e,t,...n){const r=_g(n,[]);return"function"==typeof e?e(t,r):1===r.length&&!r[0].sel&&r[0].text?pg(e,t,r[0].text):pg(e,t,r);}Pg||(Pg={});var jg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ng=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ig="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Lg="[\\ud800-\\udfff]",Rg="["+Ig+"]",Mg="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",zg="\\d+",$g="[\\u2700-\\u27bf]",Hg="[a-z\\xdf-\\xf6\\xf8-\\xff]",Vg="[^\\ud800-\\udfff"+Ig+zg+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Ug="\\ud83c[\\udffb-\\udfff]",Wg="[^\\ud800-\\udfff]",Gg="(?:\\ud83c[\\udde6-\\uddff]){2}",qg="[\\ud800-\\udbff][\\udc00-\\udfff]",Kg="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Yg="(?:"+Hg+"|"+Vg+")",Xg="(?:"+Kg+"|"+Vg+")",Zg="(?:"+Mg+"|"+Ug+")"+"?",Jg="[\\ufe0e\\ufe0f]?"+Zg+("(?:\\u200d(?:"+[Wg,Gg,qg].join("|")+")[\\ufe0e\\ufe0f]?"+Zg+")*"),Qg="(?:"+[$g,Gg,qg].join("|")+")"+Jg,ev="(?:"+[Wg+Mg+"?",Mg,Gg,qg,Lg].join("|")+")",tv=RegExp("['’]","g"),nv=RegExp(Mg,"g"),rv=RegExp(Ug+"(?="+Ug+")|"+ev+Jg,"g"),ov=RegExp([Kg+"?"+Hg+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Rg,Kg,"$"].join("|")+")",Xg+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Rg,Kg+Yg,"$"].join("|")+")",Kg+"?"+Yg+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Kg+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",zg,Qg].join("|"),"g"),iv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),av=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,uv="object"==typeof e&&e&&e.Object===Object&&e,sv="object"==typeof self&&self&&self.Object===Object&&self,lv=uv||sv||Function("return this")();var cv,fv=(cv={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==cv?void 0:cv[e];});function dv(e){return iv.test(e);}function pv(e){return dv(e)?function(e){return e.match(rv)||[];}(e):function(e){return e.split("");}(e);}var hv=Object.prototype.toString,gv=lv.Symbol,vv=gv?gv.prototype:void 0,yv=vv?vv.toString:void 0;function mv(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e;}(e)&&"[object Symbol]"==hv.call(e);}(e))return yv?yv.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t;}function bv(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i;}(e,t,n);}function wv(e){return null==e?"":mv(e);}var Ev,Dv=(Ev=function(e,t,n){return t=t.toLowerCase(),e+(n?xv(wv(t).toLowerCase()):t);},function(e){return function(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n;}(function(e,t,n){return e=wv(e),void 0===(t=n?void 0:t)?function(e){return av.test(e);}(e)?function(e){return e.match(ov)||[];}(e):function(e){return e.match(jg)||[];}(e):e.match(t)||[];}(function(e){return(e=wv(e))&&e.replace(Ng,fv).replace(nv,"");}(e).replace(tv,"")),Ev,"");});var Sv,xv=(Sv="toUpperCase",function(e){var t=dv(e=wv(e))?pv(e):void 0,n=t?t[0]:e.charAt(0),r=t?bv(t,1).join(""):e.slice(1);return n[Sv]()+r;});for(var Cv=Dv,Av="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Ov={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},kv={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:Av?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Bv={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},Fv=1;Fv<20;Fv++)Bv["f"+Fv]=111+Fv;function Tv(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(e){return function(e,t){var n=t&&t.byKey,r={},o=(e=e.replace("++","+add")).split("+"),i=o.length;for(var a in Ov)r[Ov[a]]=!1;var u=!0,s=!1,l=void 0;try{for(var c,f=o[Symbol.iterator]();!(u=(c=f.next()).done);u=!0){var d=c.value,p=d.endsWith("?")&&d.length>1;p&&(d=d.slice(0,-1));var h=Pv(d),g=Ov[h];if(d.length>1&&!g&&!kv[d]&&!Bv[h])throw new TypeError('Unknown modifier: "'+d+'"');1!==i&&g||(n?r.key=h:r.which=_v(d)),g&&(r[g]=!p||null);}}catch(e){s=!0,l=e;}finally{try{!u&&f.return&&f.return();}finally{if(s)throw l;}}return r;}(e,t);}),o=function(e){return r.some(function(t){return function(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&(null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r)return!1;}return!0;}(t,e);});};return null==n?o:o(n);}function _v(e){return e=Pv(e),Bv[e]||e.toUpperCase().charCodeAt(0);}function Pv(e){return e=e.toLowerCase(),e=kv[e]||e;}var jv=Tv,Nv=function(e,t){return Tv(e,{byKey:!0},t);},Iv=/^\s+|\s+$/g,Lv=/^[-+]0x[0-9a-f]+$/i,Rv=/^0b[01]+$/i,Mv=/^0o[0-7]+$/i,zv=parseInt,$v="object"==typeof e&&e&&e.Object===Object&&e,Hv="object"==typeof self&&self&&self.Object===Object&&self,Vv=$v||Hv||Function("return this")(),Uv=Object.prototype.toString,Wv=Math.max,Gv=Math.min,qv=function(){return Vv.Date.now();};function Kv(e){var t=typeof e;return!!e&&("object"==t||"function"==t);}function Yv(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e;}(e)&&"[object Symbol]"==Uv.call(e);}(e))return NaN;if(Kv(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Kv(t)?t+"":t;}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Iv,"");var n=Rv.test(e);return n||Mv.test(e)?zv(e.slice(2),n?2:8):Lv.test(e)?NaN:+e;}var Xv,Zv=function(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n);}function h(e){return l=e,u=setTimeout(v,t),c?p(e):a;}function g(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-l>=i;}function v(){var e=qv();if(g(e))return y(e);u=setTimeout(v,function(e){var n=t-(e-s);return f?Gv(n,i-(e-l)):n;}(e));}function y(e){return u=void 0,d&&r?p(e):(r=o=void 0,a);}function m(){var e=qv(),n=g(e);if(r=arguments,o=this,s=e,n){if(void 0===u)return h(s);if(f)return u=setTimeout(v,t),p(s);}return void 0===u&&(u=setTimeout(v,t)),a;}return t=Yv(t)||0,Kv(n)&&(c=!!n.leading,i=(f="maxWait"in n)?Wv(Yv(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),m.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=s=o=u=void 0;},m.flush=function(){return void 0===u?a:y(qv());},m;},Jv=n(function(t,n){var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Boolean]",u="[object Date]",s="[object Function]",l="[object GeneratorFunction]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",m="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",E="[object Float32Array]",D="[object Float64Array]",S="[object Int8Array]",x="[object Int16Array]",C="[object Int32Array]",A="[object Uint8Array]",O="[object Uint8ClampedArray]",k="[object Uint16Array]",B="[object Uint32Array]",F=/\w*$/,T=/^\[object .+?Constructor\]$/,_=/^(?:0|[1-9]\d*)$/,P={};P[i]=P["[object Array]"]=P[b]=P[w]=P[a]=P[u]=P[E]=P[D]=P[S]=P[x]=P[C]=P[c]=P[f]=P[d]=P[h]=P[g]=P[v]=P[y]=P[A]=P[O]=P[k]=P[B]=!0,P["[object Error]"]=P[s]=P[m]=!1;var j="object"==typeof e&&e&&e.Object===Object&&e,N="object"==typeof self&&self&&self.Object===Object&&self,I=j||N||Function("return this")(),L=n&&!n.nodeType&&n,R=L&&t&&!t.nodeType&&t,M=R&&R.exports===L;function z(e,t){return e.set(t[0],t[1]),e;}function $(e,t){return e.add(t),e;}function H(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n;}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"");}catch(e){}return t;}function U(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e];}),n;}function W(e,t){return function(n){return e(t(n));};}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e;}),n;}var q=Array.prototype,K=Function.prototype,Y=Object.prototype,X=I["__core-js_shared__"],Z=function(){var e=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:"";}(),J=K.toString,Q=Y.hasOwnProperty,ee=Y.toString,te=RegExp("^"+J.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=M?I.Buffer:void 0,re=I.Symbol,oe=I.Uint8Array,ie=W(Object.getPrototypeOf,Object),ae=Object.create,ue=Y.propertyIsEnumerable,se=q.splice,le=Object.getOwnPropertySymbols,ce=ne?ne.isBuffer:void 0,fe=W(Object.keys,Object),de=Le(I,"DataView"),pe=Le(I,"Map"),he=Le(I,"Promise"),ge=Le(I,"Set"),ve=Le(I,"WeakMap"),ye=Le(Object,"create"),me=He(de),be=He(pe),we=He(he),Ee=He(ge),De=He(ve),Se=re?re.prototype:void 0,xe=Se?Se.valueOf:void 0;function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function ke(e){this.__data__=new Ae(e);}function Be(e,t){var n=Ue(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e;}(e)&&We(e);}(e)&&Q.call(e,"callee")&&(!ue.call(e,"callee")||ee.call(e)==i);}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r;}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!t&&!Q.call(e,a)||o&&("length"==a||ze(a,r))||n.push(a);return n;}function Fe(e,t,n){var r=e[t];Q.call(e,t)&&Ve(r,n)&&(void 0!==n||t in e)||(e[t]=n);}function Te(e,t){for(var n=e.length;n--;)if(Ve(e[n][0],t))return n;return-1;}function _e(e,t,n,r,o,p,m){var T;if(r&&(T=p?r(e,o,p,m):r(e)),void 0!==T)return T;if(!Ke(e))return e;var _=Ue(e);if(_){if(T=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&Q.call(e,"index")&&(n.index=e.index,n.input=e.input);return n;}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t;}(e,T);}else{var j=Me(e),N=j==s||j==l;if(Ge(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n;}(e,t);if(j==d||j==i||N&&!p){if(V(e))return p?e:{};if(T=function(e){return"function"!=typeof e.constructor||$e(e)?{}:(t=ie(e),Ke(t)?ae(t):{});var t;}(N?{}:e),!t)return function(e,t){return Ne(e,Re(e),t);}(e,function(e,t){return e&&Ne(t,Ye(t),e);}(T,e));}else{if(!P[j])return p?e:{};T=function(e,t,n,r){var o=e.constructor;switch(t){case b:return je(e);case a:case u:return new o(+e);case w:return function(e,t){var n=t?je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength);}(e,r);case E:case D:case S:case x:case C:case A:case O:case k:case B:return function(e,t){var n=t?je(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length);}(e,r);case c:return function(e,t,n){return H(t?n(U(e),!0):U(e),z,new e.constructor());}(e,r,n);case f:case v:return new o(e);case h:return function(e){var t=new e.constructor(e.source,F.exec(e));return t.lastIndex=e.lastIndex,t;}(e);case g:return function(e,t,n){return H(t?n(G(e),!0):G(e),$,new e.constructor());}(e,r,n);case y:return function(e){return xe?Object(xe.call(e)):{};}(e);}}(e,j,_e,t);}}m||(m=new ke());var I=m.get(e);if(I)return I;if(m.set(e,T),!_)var L=n?function(e){return function(e,t,n){var r=t(e);return Ue(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e;}(r,n(e));}(e,Ye,Re);}(e):Ye(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(L||e,function(o,i){L&&(o=e[i=o]),Fe(T,i,_e(o,t,n,r,i,e,m));}),T;}function Pe(e){return!(!Ke(e)||function(e){return!!Z&&Z in e;}(e))&&(qe(e)||V(e)?te:T).test(He(e));}function je(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t;}function Ne(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],u=r?r(n[a],e[a],a,n,e):void 0;Fe(n,a,void 0===u?e[a]:u);}return n;}function Ie(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map;}function Le(e,t){var n=function(e,t){return null==e?void 0:e[t];}(e,t);return Pe(n)?n:void 0;}Ce.prototype.clear=function(){this.__data__=ye?ye(null):{};},Ce.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e];},Ce.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===r?void 0:n;}return Q.call(t,e)?t[e]:void 0;},Ce.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:Q.call(t,e);},Ce.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this;},Ae.prototype.clear=function(){this.__data__=[];},Ae.prototype.delete=function(e){var t=this.__data__,n=Te(t,e);return!(n<0)&&(n==t.length-1?t.pop():se.call(t,n,1),!0);},Ae.prototype.get=function(e){var t=this.__data__,n=Te(t,e);return n<0?void 0:t[n][1];},Ae.prototype.has=function(e){return Te(this.__data__,e)>-1;},Ae.prototype.set=function(e,t){var n=this.__data__,r=Te(n,e);return r<0?n.push([e,t]):n[r][1]=t,this;},Oe.prototype.clear=function(){this.__data__={hash:new Ce(),map:new(pe||Ae)(),string:new Ce()};},Oe.prototype.delete=function(e){return Ie(this,e).delete(e);},Oe.prototype.get=function(e){return Ie(this,e).get(e);},Oe.prototype.has=function(e){return Ie(this,e).has(e);},Oe.prototype.set=function(e,t){return Ie(this,e).set(e,t),this;},ke.prototype.clear=function(){this.__data__=new Ae();},ke.prototype.delete=function(e){return this.__data__.delete(e);},ke.prototype.get=function(e){return this.__data__.get(e);},ke.prototype.has=function(e){return this.__data__.has(e);},ke.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ae){var r=n.__data__;if(!pe||r.length<199)return r.push([e,t]),this;n=this.__data__=new Oe(r);}return n.set(e,t),this;};var Re=le?W(le,Object):function(){return[];},Me=function(e){return ee.call(e);};function ze(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||_.test(e))&&e>-1&&e%1==0&&e<t;}function $e(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Y);}function He(e){if(null!=e){try{return J.call(e);}catch(e){}try{return e+"";}catch(e){}}return"";}function Ve(e,t){return e===t||e!=e&&t!=t;}(de&&Me(new de(new ArrayBuffer(1)))!=w||pe&&Me(new pe())!=c||he&&Me(he.resolve())!=p||ge&&Me(new ge())!=g||ve&&Me(new ve())!=m)&&(Me=function(e){var t=ee.call(e),n=t==d?e.constructor:void 0,r=n?He(n):void 0;if(r)switch(r){case me:return w;case be:return c;case we:return p;case Ee:return g;case De:return m;}return t;});var Ue=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o;}(e.length)&&!qe(e);}var Ge=ce||function(){return!1;};function qe(e){var t=Ke(e)?ee.call(e):"";return t==s||t==l;}function Ke(e){var t=typeof e;return!!e&&("object"==t||"function"==t);}function Ye(e){return We(e)?Be(e):function(e){if(!$e(e))return fe(e);var t=[];for(var n in Object(e))Q.call(e,n)&&"constructor"!=n&&t.push(n);return t;}(e);}t.exports=function(e){return _e(e,!0,!0);};});function Qv(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var ey=0;function ty(e){return"__private_"+ey++ +"_"+e;}function ny(e,t,n){const r=[];return e.forEach(e=>"string"!=typeof e?r.push(e):t[Symbol.split](e).forEach((e,t,o)=>{""!==e&&r.push(e),t<o.length-1&&r.push(n);})),r;}/**
101597
+ * Takes a string with placeholder variables like `%{smart_count} file selected`
101598
+ * and replaces it with values from options `{smart_count: 5}`
101599
+ *
101600
+ * @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
101601
+ * taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
101602
+ *
101603
+ * @param {string} phrase that needs interpolation, with placeholders
101604
+ * @param {object} options with values that will be used to replace placeholders
101605
+ * @returns {any[]} interpolated
101606
+ */function ry(e,t){const n=/\$/g;let r=[e];if(null==t)return r;for(const e of Object.keys(t))if("_"!==e){let o=t[e];"string"==typeof o&&(o=n[Symbol.replace](o,"$$$$")),r=ny(r,new RegExp(`%\\{${e}\\}`,"g"),o);}return r;}var oy=(Xv=ty("apply"),class{constructor(e){Object.defineProperty(this,Xv,{value:iy}),this.locale={strings:{},pluralize:e=>1===e?0:1},Array.isArray(e)?e.forEach(Qv(this,Xv)[Xv],this):Qv(this,Xv)[Xv](e);}translate(e,t){return this.translateArray(e,t).join("");}translateArray(e,t){if(!function(e,t){return Object.prototype.hasOwnProperty.call(e,t);}(this.locale.strings,e))throw new Error(`missing string: ${e}`);const n=this.locale.strings[e];if("object"==typeof n){if(t&&void 0!==t.smart_count){return ry(n[this.locale.pluralize(t.smart_count)],t);}throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}");}return ry(n,t);}});function iy(e){if(null==e||!e.strings)return;const t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize;}var ay=function(){var e={},t=e._fns={};return e.emit=function(e,n,r,o,i,a,u){var s=function(e){var n=t[e]?t[e]:[],r=e.indexOf(":"),o=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],i=Object.keys(t),a=0,u=i.length;for(;a<u;a++){var s=i[a];if("*"===s&&(n=n.concat(t[s])),2===o.length&&o[0]===s){n=n.concat(t[s]);break;}}return n;}(e);s.length&&function(e,t,n){var r=0,o=t.length;for(;r<o&&t[r];r++)t[r].event=e,t[r].apply(t[r],n);}(e,s,[n,r,o,i,a,u]);},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n);},e.once=function(t,n){this.on(t,function r(){n.apply(this,arguments),e.off(t,r);});},e.off=function(e,t){var n=[];if(e&&t)for(var r=this._fns[e],o=0,i=r?r.length:0;o<i;o++)r[o]!==t&&n.push(r[o]);n.length?this._fns[e]=n:delete this._fns[e];},e;};var uy={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:sy}=uy,ly=e=>crypto.getRandomValues(new Uint8Array(e)),cy=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{let i="";for(;;){let a=n(o),u=o;for(;u--;)if(i+=e[a[u]&r]||"",i.length===t)return i;}};};var fy={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-";}return t;},customAlphabet:(e,t)=>cy(e,t,ly),customRandom:cy,urlAlphabet:sy,random:ly},dy=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var o=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o;};function py(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t);}py.prototype.match=function(e){var t,n,r=!0,o=this.parts,i=o.length;if("string"==typeof e||e instanceof String){if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<i;t++)"*"!==o[t]&&(r=t<n.length&&o[t]===n[t]);r=r&&n;}else r=!1;}else if("function"==typeof e.splice)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if("object"==typeof e)for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r;};var hy=/[\/\+\.]/,gy=function(e,t){function n(t){var n=function(e,t,n){var r=new py(e,n||/[\/\.]/);return void 0!==t?r.match(t):r;}(t,e,hy);return n&&n.length>=2;}return t?n(t.split(";")[0]):n;};var vy=0;function yy(e){return"__private_"+vy++ +"_"+e;}var my=yy("publish");class by{constructor(){Object.defineProperty(this,my,{value:wy}),this.state={},this.callbacks=[];}getState(){return this.state;}setState(e){const t={...this.state},n={...this.state,...e};this.state=n,function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}(this,my)[my](t,n,e);}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1);};}}function wy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach(e=>{e(...t);});}by.VERSION="2.0.3";var Ey=function(e){const t=e.lastIndexOf(".");return-1===t||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)};},Dy={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function Sy(e){let t="";return e.replace(/[^A-Z0-9]/gi,e=>(t+=`-${function(e){return e.charCodeAt(0).toString(32);}(e)}`,"/"))+t;}var xy=function(e){if(null==e&&(e="undefined"!=typeof navigator?navigator.userAgent:null),!e)return!0;const t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;const n=t[1];let[r,o]=n.split(".");return r=parseInt(r,10),o=parseInt(o,10),r<15||15===r&&o<15063||r>18||18===r&&o>=18218;};function Cy(e){return e<10?`0${e}`:e.toString();}var Ay=function(){const e=new Date();return`${Cy(e.getHours())}:${Cy(e.getMinutes())}:${Cy(e.getSeconds())}`;};var Oy={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Ay()}]`,...t);}},debugLogger:{debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${Ay()}]`,...t);},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${Ay()}]`,...t);},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Ay()}]`,...t);}}},ky={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}},By=fy;let Fy,Ty;function _y(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var Py=0;function jy(e){return"__private_"+Py++ +"_"+e;}const{nanoid:Ny}=By,{justErrorsLogger:Iy,debugLogger:Ly}=Oy;class Ry extends Error{constructor(){super(...arguments),this.isRestriction=!0;}}"undefined"==typeof AggregateError&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e;}});class My extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0;}}var zy=jy("plugins"),$y=jy("storeUnsubscribe"),Hy=jy("emitter"),Vy=jy("preProcessors"),Uy=jy("uploaders"),Wy=jy("postProcessors"),Gy=jy("checkRestrictions"),qy=jy("checkMinNumberOfFiles"),Ky=jy("checkRequiredMetaFieldsOnFile"),Yy=jy("checkRequiredMetaFields"),Xy=jy("showOrLogErrorAndThrow"),Zy=jy("assertNewUploadAllowed"),Jy=jy("checkAndCreateFileStateObject"),Qy=jy("startIfAutoProceed"),em=jy("addListeners"),tm=jy("updateOnlineStatus"),nm=jy("createUpload"),rm=jy("getUpload"),om=jy("removeUpload"),im=jy("runUpload");Fy=Symbol.for("uppy test: getPlugins"),Ty=Symbol.for("uppy test: createUpload");class am{constructor(e){Object.defineProperty(this,im,{value:bm}),Object.defineProperty(this,om,{value:mm}),Object.defineProperty(this,rm,{value:ym}),Object.defineProperty(this,nm,{value:vm}),Object.defineProperty(this,em,{value:gm}),Object.defineProperty(this,Qy,{value:hm}),Object.defineProperty(this,Jy,{value:pm}),Object.defineProperty(this,Zy,{value:dm}),Object.defineProperty(this,Xy,{value:fm}),Object.defineProperty(this,Yy,{value:cm}),Object.defineProperty(this,Ky,{value:lm}),Object.defineProperty(this,qy,{value:sm}),Object.defineProperty(this,Gy,{value:um}),Object.defineProperty(this,zy,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,$y,{writable:!0,value:void 0}),Object.defineProperty(this,Hy,{writable:!0,value:ay()}),Object.defineProperty(this,Vy,{writable:!0,value:new Set()}),Object.defineProperty(this,Uy,{writable:!0,value:new Set()}),Object.defineProperty(this,Wy,{writable:!0,value:new Set()}),Object.defineProperty(this,tm,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=ky;const t={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:e=>e,onBeforeUpload:e=>e,store:new by(),logger:Iy,infoTimeout:5e3};if(this.opts={...t,...e,restrictions:{...t.restrictions,...(e&&e.restrictions)}},e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=Ly),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&null!==this.opts.restrictions.allowedFileTypes&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=eg(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:xy(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),_y(this,$y)[$y]=this.store.subscribe((e,t,n)=>{this.emit("state-update",e,t,n),this.updateAll(t);}),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),_y(this,em)[em]();}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];_y(this,Hy)[Hy].emit(e,...n);}on(e,t){return _y(this,Hy)[Hy].on(e,t),this;}once(e,t){return _y(this,Hy)[Hy].once(e,t),this;}off(e,t){return _y(this,Hy)[Hy].off(e,t),this;}updateAll(e){this.iteratePlugins(t=>{t.update(e);});}setState(e){this.store.setState(e);}getState(){return this.store.getState();}get state(){return this.getState();}setFileState(e,t){if(!this.getState().files[e])throw new Error(`Can’t set state for ${e} (the file could have been removed)`);this.setState({files:{...this.getState().files,[e]:{...this.getState().files[e],...t}}});}i18nInit(){const e=new oy([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale;}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...(e&&e.restrictions)}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(e=>{e.setOptions();}),this.setState();}resetProgress(){const e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t={...this.getState().files},n={};Object.keys(t).forEach(r=>{const o={...t[r]};o.progress={...o.progress,...e},n[r]=o;}),this.setState({files:n,totalProgress:0}),this.emit("reset-progress");}addPreProcessor(e){_y(this,Vy)[Vy].add(e);}removePreProcessor(e){return _y(this,Vy)[Vy].delete(e);}addPostProcessor(e){_y(this,Wy)[Wy].add(e);}removePostProcessor(e){return _y(this,Wy)[Wy].delete(e);}addUploader(e){_y(this,Uy)[Uy].add(e);}removeUploader(e){return _y(this,Uy)[Uy].delete(e);}setMeta(e){const t={...this.getState().meta,...e},n={...this.getState().files};Object.keys(n).forEach(t=>{n[t]={...n[t],meta:{...n[t].meta,...e}};}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n});}setFileMeta(e,t){const n={...this.getState().files};if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);const r={...n[e].meta,...t};n[e]={...n[e],meta:r},this.setState({files:n});}getFile(e){return this.getState().files[e];}getFiles(){const{files:e}=this.getState();return Object.values(e);}getObjectOfFilesPerState(){const{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),o=r.filter(e=>{let{progress:t}=e;return!t.uploadComplete&&t.uploadStarted;}),i=r.filter(e=>!e.progress.uploadStarted),a=r.filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess),u=r.filter(e=>e.progress.uploadStarted),s=r.filter(e=>e.isPaused),l=r.filter(e=>e.progress.uploadComplete),c=r.filter(e=>e.error),f=o.filter(e=>!e.isPaused),d=r.filter(e=>e.progress.preprocess||e.progress.postprocess);return{newFiles:i,startedFiles:a,uploadStartedFiles:u,pausedFiles:s,completeFiles:l,erroredFiles:c,inProgressFiles:o,inProgressNotPausedFiles:f,processingFiles:d,isUploadStarted:u.length>0,isAllComplete:100===t&&l.length===r.length&&0===d.length,isAllErrored:!!n&&c.length===r.length,isAllPaused:0!==o.length&&s.length===o.length,isUploadInProgress:o.length>0,isSomeGhost:r.some(e=>e.isGhost)};}validateRestrictions(e,t){try{return _y(this,Gy)[Gy](e,t),{result:!0};}catch(e){return{result:!1,reason:e.message};}}checkIfFileAlreadyExists(e){const{files:t}=this.getState();return!(!t[e]||t[e].isGhost);}addFile(e){_y(this,Zy)[Zy](e);const{files:t}=this.getState();let n=_y(this,Jy)[Jy](t,e);return t[n.id]&&t[n.id].isGhost&&(n={...t[n.id],data:e.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:{...t,[n.id]:n}}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),_y(this,Qy)[Qy](),n.id;}addFiles(e){_y(this,Zy)[Zy]();const t={...this.getState().files},n=[],r=[];for(let o=0;o<e.length;o++)try{let r=_y(this,Jy)[Jy](t,e[o]);t[r.id]&&t[r.id].isGhost&&(r={...t[r.id],data:e[o].data,isGhost:!1},this.log(`Replaced blob in a ghost file: ${r.name}, ${r.id}`)),t[r.id]=r,n.push(r);}catch(e){e.isRestriction||r.push(e);}if(this.setState({files:t}),n.forEach(e=>{this.emit("file-added",e);}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach(e=>{this.log(`Added file: ${n[e].name}\n id: ${n[e].id}\n type: ${n[e].type}`);}),n.length>0&&_y(this,Qy)[Qy](),r.length>0){let e="Multiple errors occurred while adding files:\n";if(r.forEach(t=>{e+=`\n * ${t.message}`;}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:r.length}),details:e},"error",this.opts.infoTimeout),"function"==typeof AggregateError)throw new AggregateError(r,e);{const t=new Error(e);throw t.errors=r,t;}}}removeFiles(e,t){const{files:n,currentUploads:r}=this.getState(),o={...n},i={...r},a=Object.create(null);function u(e){return void 0===a[e];}e.forEach(e=>{n[e]&&(a[e]=n[e],delete o[e]);}),Object.keys(i).forEach(e=>{const t=r[e].fileIDs.filter(u);0!==t.length?i[e]={...r[e],fileIDs:t}:delete i[e];});const s={currentUploads:i,files:o};0===Object.keys(o).length&&(s.allowNewUpload=!0,s.error=null,s.recoveredState=null),this.setState(s),this.calculateTotalProgress();const l=Object.keys(a);l.forEach(e=>{this.emit("file-removed",a[e],t);}),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(", ")}`);}removeFile(e,t){void 0===t&&(t=null),this.removeFiles([e],t);}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;const t=!(this.getFile(e).isPaused||!1);return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t;}pauseAll(){const e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n={...e[t],isPaused:!0};e[t]=n;}),this.setState({files:e}),this.emit("pause-all");}resumeAll(){const e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n={...e[t],isPaused:!1,error:null};e[t]=n;}),this.setState({files:e}),this.emit("resume-all");}retryAll(){const e={...this.getState().files},t=Object.keys(e).filter(t=>e[t].error);if(t.forEach(t=>{const n={...e[t],isPaused:!1,error:null};e[t]=n;}),this.setState({files:e,error:null}),this.emit("retry-all",t),0===t.length)return Promise.resolve({successful:[],failed:[]});const n=_y(this,nm)[nm](t,{forceAllowNewUpload:!0});return _y(this,im)[im](n);}cancelAll(){this.emit("cancel-all");const{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null});}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);const t=_y(this,nm)[nm]([e],{forceAllowNewUpload:!0});return _y(this,im)[im](t);}reset(){this.cancelAll();}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout();});}calculateProgress(e,t){if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0}}),this.calculateTotalProgress();}calculateTotalProgress(){const e=this.getFiles().filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess);if(0===e.length)return this.emit("progress",0),void this.setState({totalProgress:0});const t=e.filter(e=>null!=e.progress.bytesTotal),n=e.filter(e=>null==e.progress.bytesTotal);if(0===t.length){const t=100*e.length,r=n.reduce((e,t)=>e+t.progress.percentage,0),o=Math.round(r/t*100);return void this.setState({totalProgress:o});}let r=t.reduce((e,t)=>e+t.progress.bytesTotal,0);const o=r/t.length;r+=o*n.length;let i=0;t.forEach(e=>{i+=e.progress.bytesUploaded;}),n.forEach(e=>{i+=o*(e.progress.percentage||0)/100;});let a=0===r?0:Math.round(i/r*100);a>100&&(a=100),this.setState({totalProgress:a}),this.emit("progress",a);}updateOnlineStatus(){void 0===window.navigator.onLine||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0);}getID(){return this.opts.id;}use(e,t){if("function"!=typeof e){throw new TypeError(`Expected a plugin class, but got ${null===e?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);}const n=new e(this,t),r=n.id;if(!r)throw new Error("Your plugin must have an id");if(!n.type)throw new Error("Your plugin must have a type");const o=this.getPlugin(r);if(o){const e=`Already found a plugin named '${o.id}'. Tried to use: '${r}'.\nUppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(e);}return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in _y(this,zy)[zy]?_y(this,zy)[zy][n.type].push(n):_y(this,zy)[zy][n.type]=[n],n.install(),this;}getPlugin(e){for(const t of Object.values(_y(this,zy)[zy])){const n=t.find(t=>t.id===e);if(null!=n)return n;}}[Fy](e){return _y(this,zy)[zy][e];}iteratePlugins(e){Object.values(_y(this,zy)[zy]).flat(1).forEach(e);}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const t=_y(this,zy)[zy][e.type],n=t.findIndex(t=>t.id===e.id);-1!==n&&t.splice(n,1);const r={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(r);}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),_y(this,$y)[$y](),this.iteratePlugins(e=>{this.removePlugin(e);}),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",_y(this,tm)[tm]),window.removeEventListener("offline",_y(this,tm)[tm]));}hideInfo(){const{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden");}info(e,t,n){void 0===t&&(t="info"),void 0===n&&(n=3e3);const r="object"==typeof e;this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible");}log(e,t){const{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e);}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?_y(this,im)[im](e):(_y(this,om)[om](e),Promise.reject(new Error("Nonexistent upload")));}[Ty](){return _y(this,nm)[nm](...arguments);}addResultData(e,t){if(!_y(this,rm)[rm](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);const{currentUploads:n}=this.getState(),r={...n[e],result:{...n[e].result,...t}};this.setState({currentUploads:{...n,[e]:r}});}upload(){var e;null!=(e=_y(this,zy)[zy].uploader)&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState();const n=this.opts.onBeforeUpload(t);return!1===n?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(n&&"object"==typeof n&&(t=n,this.setState({files:t})),Promise.resolve().then(()=>{_y(this,qy)[qy](t),_y(this,Yy)[Yy](t);}).catch(e=>{_y(this,Xy)[Xy](e);}).then(()=>{const{currentUploads:e}=this.getState(),n=Object.values(e).flatMap(e=>e.fileIDs),r=[];Object.keys(t).forEach(e=>{const t=this.getFile(e);t.progress.uploadStarted||-1!==n.indexOf(e)||r.push(t.id);});const o=_y(this,nm)[nm](r);return _y(this,im)[im](o);}).catch(e=>{_y(this,Xy)[Xy](e,{showInformer:!1});}));}}function um(e,t){void 0===t&&(t=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:i,allowedFileTypes:a}=this.opts.restrictions;if(i&&t.length+1>i)throw new Ry(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a){if(!a.some(t=>t.indexOf("/")>-1?!!e.type&&gy(e.type.replace(/;.*?$/,""),t):!("."!==t[0]||!e.extension)&&e.extension.toLowerCase()===t.substr(1).toLowerCase())){const e=a.join(", ");throw new Ry(this.i18n("youCanOnlyUploadFileTypes",{types:e}));}}if(o&&null!=e.size){let n=0;if(n+=e.size,t.forEach(e=>{n+=e.size;}),n>o)throw new Ry(this.i18n("exceedsSize",{size:dy(o),file:e.name}));}if(n&&null!=e.size&&e.size>n)throw new Ry(this.i18n("exceedsSize",{size:dy(n),file:e.name}));if(r&&null!=e.size&&e.size<r)throw new Ry(this.i18n("inferiorSize",{size:dy(r)}));}function sm(e){const{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new Ry(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`);}function lm(e){const{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let i=0;i<t.length;i++)if(!n.call(e.meta,t[i])||""===e.meta[t[i]]){const n=new Ry(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(n),o.push(t[i]),_y(this,Xy)[Xy](n,{file:e,showInformer:!1,throwErr:!1});}return this.setFileState(e.id,{missingRequiredMetaFields:o}),r;}function cm(e){const t=Object.keys(e).flatMap(e=>{const t=this.getFile(e);return _y(this,Ky)[Ky](t);});if(t.length)throw new My(t,`${this.i18n("missingRequiredMetaField")}`);}function fm(e,t){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=void 0===t?{}:t;const i="object"==typeof e?e.message:e,a="object"==typeof e&&e.details?e.details:"";let u=i;if(a&&(u+=` ${a}`),e.isRestriction?(this.log(u),this.emit("restriction-failed",r,e)):this.log(u,"error"),n&&this.info({message:i,details:a},"error",this.opts.infoTimeout),o)throw"object"==typeof e?e:new Error(e);}function dm(e){const{allowNewUpload:t}=this.getState();!1===t&&_y(this,Xy)[Xy](new Ry(this.i18n("noMoreFilesAllowed")),{file:e});}function pm(e,t){const n=function(e){var t;if(e.type)return e.type;const n=e.name?null==(t=Ey(e.name).extension)?void 0:t.toLowerCase():null;return n&&n in Dy?Dy[n]:"application/octet-stream";}(t),r=function(e,t){return t.name?t.name:"image"===e.split("/")[0]?`${e.split("/")[0]}.${e.split("/")[1]}`:"noname";}(n,t),o=Ey(r).extension,i=Boolean(t.isRemote),a=function(e){let t="uppy";return"string"==typeof e.name&&(t+=`-${Sy(e.name.toLowerCase())}`),void 0!==e.type&&(t+=`-${e.type}`),e.meta&&"string"==typeof e.meta.relativePath&&(t+=`-${Sy(e.meta.relativePath.toLowerCase())}`),void 0!==e.data.size&&(t+=`-${e.data.size}`),void 0!==e.data.lastModified&&(t+=`-${e.data.lastModified}`),t;}({...t,type:n});if(this.checkIfFileAlreadyExists(a)){const e=new Ry(this.i18n("noDuplicates",{fileName:r}));_y(this,Xy)[Xy](e,{file:t});}const u=t.meta||{};u.name=r,u.type=n;const s=Number.isFinite(t.data.size)?t.data.size:null;let l={source:t.source||"",id:a,name:r,extension:o||"",meta:{...this.getState().meta,...u},type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:s,uploadComplete:!1,uploadStarted:null},size:s,isRemote:i,remote:t.remote||"",preview:t.preview};const c=this.opts.onBeforeFileAdded(l,e);!1===c?_y(this,Xy)[Xy](new Ry("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):"object"==typeof c&&null!==c&&(l=c);try{const t=Object.keys(e).map(t=>e[t]);_y(this,Gy)[Gy](l,t);}catch(e){_y(this,Xy)[Xy](e,{file:l});}return l;}function hm(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e);});},4));}function gm(){const e=(e,t,n)=>{let r=e.message||"Unknown error";e.details&&(r+=` ${e.details}`),this.setState({error:r}),null!=t&&t.id in this.getState().files&&this.setFileState(t.id,{error:r,response:n});};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),"object"==typeof n&&n.message){const e=new Error(n.message);e.details=n.message,n.details&&(e.details+=` ${n.details}`),e.message=this.i18n("failedToUpload",{file:t.name}),_y(this,Xy)[Xy](e,{throwErr:!1});}else _y(this,Xy)[Xy](n,{throwErr:!1});}),this.on("upload",()=>{this.setState({error:null});}),this.on("upload-started",e=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`);}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(e,t)=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const n=this.getFile(e.id).progress;this.setFileState(e.id,{progress:{...n,postprocess:_y(this,Wy)[Wy].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:n.bytesTotal},response:t,uploadURL:t.uploadURL,isPaused:!1}),null==e.size&&this.setFileState(e.id,{size:t.bytesUploaded||n.bytesTotal}),this.calculateTotalProgress();}),this.on("preprocess-progress",(e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,preprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`);}),this.on("preprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.preprocess,this.setState({files:t});}),this.on("postprocess-progress",(e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getState().files[e.id].progress,postprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`);}),this.on("postprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.postprocess,this.setState({files:t});}),this.on("restored",()=>{this.calculateTotalProgress();}),this.on("dashboard:file-edit-complete",e=>{e&&_y(this,Ky)[Ky](e);}),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",_y(this,tm)[tm]),window.addEventListener("offline",_y(this,tm)[tm]),setTimeout(_y(this,tm)[tm],3e3));}function vm(e,t){void 0===t&&(t={});const{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!n)throw new Error("Cannot create a new upload: already uploading.");const i=Ny();return this.emit("upload",{id:i,fileIDs:e}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...o,[i]:{fileIDs:e,step:0,result:{}}}}),i;}function ym(e){const{currentUploads:t}=this.getState();return t[e];}function mm(e){const t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t});}async function bm(e){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,o=[..._y(this,Vy)[Vy],..._y(this,Uy)[Uy],..._y(this,Wy)[Wy]];try{for(let i=r;i<o.length&&n;i++){const r=o[i],a={...n,step:i};this.setState({currentUploads:{...t,[e]:a}}),await r(a.fileIDs,e),t=this.getState().currentUploads,n=t[e];}}catch(t){throw this.emit("error",t),_y(this,om)[om](e),t;}if(n){n.fileIDs.forEach(e=>{const t=this.getFile(e);t&&t.progress.postprocess&&this.emit("postprocess-complete",t);});const r=n.fileIDs.map(e=>this.getFile(e)),o=r.filter(e=>!e.error),i=r.filter(e=>e.error);await this.addResultData(e,{successful:o,failed:i,uploadID:e}),t=this.getState().currentUploads,n=t[e];}let i;return n&&(i=n.result,this.emit("complete",i),_y(this,om)[om](e)),null==i&&this.log(`Not setting result for an upload that has been removed: ${e}`),i;}am.VERSION="2.1.3";var wm=am,Em=n(function(e,t){var n,r,o,i,a,u,s,l,c={},f=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e;}function h(e){var t=e.parentNode;t&&t.removeChild(e);}function g(e,t,r){var o,i,a,u={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];if(arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return v(e,u,o,i,null);}function v(e,t,n,i,a){var u={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=r.vnode&&r.vnode(u),u;}function y(e){return e.children;}function m(e,t){this.props=e,this.context=t;}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?b(e):null;}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break;}return w(e);}}function E(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!D.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||u)(D);}function D(){for(var e;D.__r=a.length;)e=a.sort(function(e,t){return e.__v.__b-t.__v.__b;}),a=[],e.some(function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=p({},o)).__v=o.__v+1,F(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?b(o):i,o.__h),T(n,o),o.__e!=i&&w(o)));});}function S(e,t,n,r,o,i,a,u,s,l){var d,p,h,g,m,w,E,D=r&&r.__k||f,S=D.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(g=n.__k[d]=null==(g=t[d])||"boolean"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?v(null,g,null,null,g):Array.isArray(g)?v(y,{children:g},null,null,null):g.__b>0?v(g.type,g.props,g.key,null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(h=D[d])||h&&g.key==h.key&&g.type===h.type)D[d]=void 0;else for(p=0;p<S;p++){if((h=D[p])&&g.key==h.key&&g.type===h.type){D[p]=void 0;break;}h=null;}F(e,g,h=h||c,o,i,a,u,s,l),m=g.__e,(p=g.ref)&&h.ref!=p&&(E||(E=[]),h.ref&&E.push(h.ref,null,g),E.push(p,g.__c||m,g)),null!=m?(null==w&&(w=m),"function"==typeof g.type&&g.__k===h.__k?g.__d=s=x(g,s,e):s=C(e,g,h,D,m,s),"function"==typeof n.type&&(n.__d=s)):s&&h.__e==s&&s.parentNode!=e&&(s=b(h));}for(n.__e=w,d=S;d--;)null!=D[d]&&("function"==typeof n.type&&null!=D[d].__e&&D[d].__e==n.__d&&(n.__d=b(r,d+1)),j(D[d],D[d]));if(E)for(d=0;d<E.length;d++)P(E[d],E[++d],E[++d]);}function x(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?x(r,t,n):C(n,r,r,o,r.__e,t));return t;}function C(e,t,n,r,o,i){var a,u,s;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(u=i,s=0;(u=u.nextSibling)&&s<r.length;s+=2)if(u==o)break e;e.insertBefore(o,i),a=i;}return void 0!==a?a:o.nextSibling;}function A(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px";}function O(e,t,n,r,o){var i;e:if("style"===t){if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||A(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||A(e.style,t,n[t]);}}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?B:k,i):e.removeEventListener(t,i?B:k,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e;}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t));}}function k(e){this.l[e.type+!1](r.event?r.event(e):e);}function B(e){this.l[e.type+!0](r.event?r.event(e):e);}function F(e,t,n,o,i,a,u,s,l){var c,f,d,h,g,v,b,w,E,D,x,C=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,a=[s]),(c=r.__b)&&c(t);try{e:if("function"==typeof C){if(w=t.props,E=(c=C.contextType)&&o[c.__c],D=c?E?E.props.value:c.__:o,n.__c?b=(f=t.__c=n.__c).__=f.__E:("prototype"in C&&C.prototype.render?t.__c=f=new C(w,D):(t.__c=f=new m(w,D),f.constructor=C,f.render=N),E&&E.sub(f),f.props=w,f.state||(f.state={}),f.context=D,f.__n=o,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=C.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=p({},f.__s)),p(f.__s,C.getDerivedStateFromProps(w,f.__s))),h=f.props,g=f.state,d)null==C.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==C.getDerivedStateFromProps&&w!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(w,D),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(w,f.__s,D)||t.__v===n.__v){f.props=w,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t);}),f.__h.length&&u.push(f);break e;}null!=f.componentWillUpdate&&f.componentWillUpdate(w,f.__s,D),null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(h,g,v);});}f.context=D,f.props=w,f.state=f.__s,(c=r.__r)&&c(t),f.__d=!1,f.__v=t,f.__P=e,c=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(o=p(p({},o),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(h,g)),x=null!=c&&c.type===y&&null==c.key?c.props.children:c,S(e,Array.isArray(x)?x:[x],t,n,o,i,a,u,s,l),f.base=t.__e,t.__h=null,f.__h.length&&u.push(f),b&&(f.__E=f.__=null),f.__e=!1;}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=_(n.__e,t,n,o,i,a,u,l);(c=r.diffed)&&c(t);}catch(e){t.__v=null,(l||null!=a)&&(t.__e=s,t.__h=!!l,a[a.indexOf(s)]=null),r.__e(e,t,n);}}function T(e,t){r.__c&&r.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t);});}catch(e){r.__e(e,t.__v);}});}function _(e,t,r,o,i,a,u,s){var l,f,d,p=r.props,g=t.props,v=t.type,y=0;if("svg"===v&&(i=!0),null!=a)for(;y<a.length;y++)if((l=a[y])&&"setAttribute"in l==!!v&&(v?l.localName===v:3===l.nodeType)){e=l,a[y]=null;break;}if(null==e){if(null===v)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,g.is&&g),a=null,s=!1;}if(null===v)p===g||s&&e.data===g||(e.data=g);else{if(a=a&&n.call(e.childNodes),f=(p=r.props||c).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!s){if(null!=a)for(p={},y=0;y<e.attributes.length;y++)p[e.attributes[y].name]=e.attributes[y].value;(d||f)&&(d&&(f&&d.__html==f.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""));}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||O(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||O(e,i,t[i],n[i],r);}(e,g,p,i,s),d)t.__k=[];else if(y=t.props.children,S(e,Array.isArray(y)?y:[y],t,r,o,i&&"foreignObject"!==v,a,u,a?a[0]:r.__k&&b(r,0),s),null!=a)for(y=a.length;y--;)null!=a[y]&&h(a[y]);s||("value"in g&&void 0!==(y=g.value)&&(y!==p.value||y!==e.value||"progress"===v&&!y)&&O(e,"value",y,p.value,!1),"checked"in g&&void 0!==(y=g.checked)&&y!==e.checked&&O(e,"checked",y,p.checked,!1));}return e;}function P(e,t,n){try{"function"==typeof e?e(t):e.current=t;}catch(e){r.__e(e,n);}}function j(e,t,n){var o,i;if(r.unmount&&r.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||P(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount();}catch(e){r.__e(e,t);}o.base=o.__P=null;}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&j(o[i],t,"function"!=typeof e.type);n||null==e.__e||h(e.__e),e.__e=e.__d=void 0;}function N(e,t,n){return this.constructor(e,n);}function I(e,t,o){var i,a,u;r.__&&r.__(e,t),a=(i="function"==typeof o)?null:o&&o.__k||t.__k,u=[],F(t,e=(!i&&o||t).__k=g(y,null,[e]),a||c,c,void 0!==t.ownerSVGElement,!i&&o?[o]:a?null:t.firstChild?n.call(t.childNodes):null,u,!i&&o?o:a?a.__e:t.firstChild,i),T(u,e);}n=f.slice,r={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n;}catch(t){e=t;}throw e;}},o=0,i=function(e){return null!=e&&void 0===e.constructor;},m.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),E(this));},m.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this));},m.prototype.render=y,a=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,D.__r=0,l=0,t.Component=m,t.Fragment=y,t.cloneElement=function(e,t,r){var o,i,a,u=p({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];return arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),v(e.type,u,o||e.key,i||e.ref,null);},t.createContext=function(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t);},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r;},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(E);},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e);};}),e.children;}};return n.Provider.__=n.Consumer.contextType=n;},t.createElement=g,t.createRef=function(){return{current:null};},t.h=g,t.hydrate=function e(t,n){I(t,n,e);},t.isValidElement=i,t.options=r,t.render=I,t.toChildArray=function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some(function(t){e(t,n);}):n.push(t)),n;};}),Dm=function(e,t){return void 0===t&&(t=document),"string"==typeof e?t.querySelector(e):(null==(n=e)?void 0:n.nodeType)===Node.ELEMENT_NODE?e:null;var n;},Sm=class{constructor(e,t){void 0===t&&(t={}),this.uppy=e,this.opts=t;}getPluginState(){const{plugins:e}=this.uppy.getState();return e[this.id]||{};}setPluginState(e){const{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}});}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(),this.i18nInit();}i18nInit(){const e=new oy([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState();}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target");}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element");}update(){}afterUpdate(){}};function xm(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var Cm=0;function Am(e){return"__private_"+Cm++ +"_"+e;}const{render:Om}=Em;var km=Am("updateUI");class Bm extends Sm{constructor(){super(...arguments),Object.defineProperty(this,km,{writable:!0,value:void 0});}mount(e,t){const n=t.id,r=Dm(e);if(r){this.isTargetDOMEl=!0;const t=document.createDocumentFragment();return xm(this,km)[km]=function(e){let t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=o,t||(t=Promise.resolve().then(()=>(t=null,e(...n)))),t;};}(e=>{this.uppy.getPlugin(this.id)&&(Om(this.render(e),t),this.afterUpdate());}),this.uppy.log(`Installing ${n} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(r.innerHTML=""),Om(this.render(this.uppy.getState()),t),this.el=t.firstElementChild,r.appendChild(t),this.onMount(),this.el;}let o;if("object"==typeof e&&e instanceof Bm)o=e;else if("function"==typeof e){const t=e;this.uppy.iteratePlugins(e=>{if(e instanceof t)return o=e,!1;});}if(o)return this.uppy.log(`Installing ${n} to ${o.id}`),this.parent=o,this.el=o.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${n}`);let i=`Invalid target option given to ${n}.`;throw i+="function"==typeof e?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(i);}update(e){var t,n;null!=this.el&&(null==(t=(n=xm(this,km))[km])||t.call(n,e));}unmount(){var e;this.isTargetDOMEl&&(null==(e=this.el)||e.remove());this.onUnmount();}onMount(){}onUnmount(){}}var Fm=Bm;const{debugLogger:Tm}=Oy;var _m=wm,Pm=wm,jm=Fm,Nm=Sm,Im=Tm;_m.Uppy=Pm,_m.UIPlugin=jm,_m.BasePlugin=Nm,_m.debugLogger=Im;class Lm extends Error{constructor(e,t){void 0===t&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t;}}var Rm=Lm,Mm=function(){return fetch(...arguments).catch(e=>{throw"AbortError"===e.name?e:new Rm(e);});};class zm extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0;}}var $m,Hm,Vm,Um,Wm,Gm=zm;function qm(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var Km=0;function Ym(e){return"__private_"+Km++ +"_"+e;}async function Xm(e){if(401===e.status)throw new Gm();const t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{const e=await t;n=e.message?`${n} message: ${e.message}`:n,n=e.requestId?`${n} request-Id: ${e.requestId}`:n;}finally{throw new Error(n);}}return t;}var Zm=(Hm=Ym("getPostResponseFunc"),Vm=Ym("getUrl"),Um=Ym("errorHandler"),Wm=$m=class e{constructor(e,t){Object.defineProperty(this,Um,{value:Qm}),Object.defineProperty(this,Vm,{value:Jm}),Object.defineProperty(this,Hm,{writable:!0,value:e=>t=>e?t:this.onReceiveResponse(t)}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1;}get hostname(){const{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return(e&&e[t]?e[t]:t).replace(/\/$/,"");}headers(){const t=this.opts.companionHeaders||{};return Promise.resolve({...e.defaultHeaders,...t});}onReceiveResponse(e){const t=this.uppy.getState().companion||{},n=this.opts.companionUrl,{headers:r}=e;return r.has("i-am")&&r.get("i-am")!==t[n]&&this.uppy.setState({companion:{...t,[n]:r.get("i-am")}}),e;}preflight(e){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(qm(this,Vm)[Vm](e),{method:"OPTIONS"}).then(e=>(e.headers.has("access-control-allow-headers")&&(this.allowedHeaders=e.headers.get("access-control-allow-headers").split(",").map(e=>e.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(e=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${e}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()));}preflightAndHeaders(e){return Promise.all([this.preflight(e),this.headers()]).then(e=>{let[t,n]=e;return Object.keys(n).forEach(e=>{t.includes(e.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${e}`),delete n[e]);}),n;});}get(e,t){return this.preflightAndHeaders(e).then(t=>Mm(qm(this,Vm)[Vm](e),{method:"get",headers:t,credentials:this.opts.companionCookiesRule||"same-origin"})).then(qm(this,Hm)[Hm](t)).then(Xm).catch(qm(this,Um)[Um]("get",e));}post(e,t,n){const r="post";return this.preflightAndHeaders(e).then(n=>Mm(qm(this,Vm)[Vm](e),{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(t)})).then(qm(this,Hm)[Hm](n)).then(Xm).catch(qm(this,Um)[Um](r,e));}delete(e,t,n){const r="delete";return this.preflightAndHeaders(e).then(n=>Mm(`${this.hostname}/${e}`,{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:t?JSON.stringify(t):null})).then(qm(this,Hm)[Hm](n)).then(Xm).catch(qm(this,Um)[Um](r,e));}},$m.VERSION="2.0.4",$m.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${$m.VERSION}`},Wm);function Jm(e){return /^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`;}function Qm(e,t){return n=>{var r;if(null==(r=n)||!r.isAuthError){const r=new Error(`Could not ${e} ${qm(this,Vm)[Vm](t)}`);r.cause=n,n=r;}return Promise.reject(n);};}var eb={setItem:(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n();}),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise(t=>{localStorage.removeItem(e),t();})};var tb,nb,rb,ob,ib;let ab,ub;function sb(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var lb=0;function cb(e){return"__private_"+lb++ +"_"+e;}var fb=(tb=cb("queued"),nb=cb("emitter"),rb=cb("isOpen"),ob=cb("socket"),ib=cb("handleMessage"),ab=Symbol.for("uppy test: getSocket"),ub=Symbol.for("uppy test: getQueued"),class{constructor(e){Object.defineProperty(this,tb,{writable:!0,value:[]}),Object.defineProperty(this,nb,{writable:!0,value:ay()}),Object.defineProperty(this,rb,{writable:!0,value:!1}),Object.defineProperty(this,ob,{writable:!0,value:void 0}),Object.defineProperty(this,ib,{writable:!0,value:e=>{try{const t=JSON.parse(e.data);this.emit(t.action,t.payload);}catch(e){console.log(e);}}}),this.opts=e,e&&!1===e.autoOpen||this.open();}get isOpen(){return sb(this,rb)[rb];}[ab](){return sb(this,ob)[ob];}[ub](){return sb(this,tb)[tb];}open(){sb(this,ob)[ob]=new WebSocket(this.opts.target),sb(this,ob)[ob].onopen=()=>{for(sb(this,rb)[rb]=!0;sb(this,tb)[tb].length>0&&sb(this,rb)[rb];){const e=sb(this,tb)[tb].shift();this.send(e.action,e.payload);}},sb(this,ob)[ob].onclose=()=>{sb(this,rb)[rb]=!1;},sb(this,ob)[ob].onmessage=sb(this,ib)[ib];}close(){var e;null==(e=sb(this,ob)[ob])||e.close();}send(e,t){sb(this,rb)[rb]?sb(this,ob)[ob].send(JSON.stringify({action:e,payload:t})):sb(this,tb)[tb].push({action:e,payload:t});}on(e,t){sb(this,nb)[nb].on(e,t);}emit(e,t){sb(this,nb)[nb].emit(e,t);}once(e,t){sb(this,nb)[nb].once(e,t);}}),db={RequestClient:Zm,Provider:class extends Zm{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(e=>e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null;}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(e=>{let[t,n]=e;const r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...t,...r};});}onReceiveResponse(e){e=super.onReceiveResponse(e);const t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?401!==e.status:e.status<400;return t.setPluginState({authenticated:n}),e;}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e);}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey);}authUrl(e){return void 0===e&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`;}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`;}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(e=>{this.preAuthToken=e.token;}).catch(e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning");}):Promise.resolve();}list(e){return this.get(`${this.id}/list/${e||""}`);}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t;});}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts={...n,...t}),t.serverUrl||t.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){const n=t.companionAllowedHosts;if(!("string"==typeof n||Array.isArray(n)||n instanceof RegExp))throw new TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=n;}else /^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||eb;}},SearchProvider:class extends Zm{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(e=>e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId;}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`;}search(e,t){return t=t?`&${t}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t}`);}},Socket:fb};var pb,hb,gb=eg(function(e,t,n){const{progress:r,bytesUploaded:o,bytesTotal:i}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:o,bytesTotal:i}));},300,{leading:!0,trailing:!0});function vb(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var yb=0;function mb(e){return"__private_"+yb++ +"_"+e;}var bb=(pb=mb("emitter"),hb=mb("events"),class{constructor(e){Object.defineProperty(this,pb,{writable:!0,value:void 0}),Object.defineProperty(this,hb,{writable:!0,value:[]}),vb(this,pb)[pb]=e;}on(e,t){return vb(this,hb)[hb].push([e,t]),vb(this,pb)[pb].on(e,t);}remove(){for(const[e,t]of vb(this,hb)[hb].splice(0))vb(this,pb)[pb].off(e,t);}});function wb(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var Eb=0;function Db(e){return"__private_"+Eb++ +"_"+e;}var Sb=Db("aliveTimer"),xb=Db("isDone"),Cb=Db("onTimedOut"),Ab=Db("timeout");var Ob=class{constructor(e,t){Object.defineProperty(this,Sb,{writable:!0,value:void 0}),Object.defineProperty(this,xb,{writable:!0,value:!1}),Object.defineProperty(this,Cb,{writable:!0,value:void 0}),Object.defineProperty(this,Ab,{writable:!0,value:void 0}),wb(this,Ab)[Ab]=e,wb(this,Cb)[Cb]=t;}progress(){wb(this,xb)[xb]||wb(this,Ab)[Ab]>0&&(clearTimeout(wb(this,Sb)[Sb]),wb(this,Sb)[Sb]=setTimeout(wb(this,Cb)[Cb],wb(this,Ab)[Ab]));}done(){wb(this,xb)[xb]||(clearTimeout(wb(this,Sb)[Sb]),wb(this,Sb)[Sb]=null,wb(this,xb)[xb]=!0);}};function kb(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e;}var Bb=0;function Fb(e){return"__private_"+Bb++ +"_"+e;}function Tb(){return new Error("Cancelled");}var _b=Fb("activeRequests"),Pb=Fb("queuedHandlers"),jb=Fb("call"),Nb=Fb("queueNext"),Ib=Fb("next"),Lb=Fb("queue"),Rb=Fb("dequeue");function Mb(e){kb(this,_b)[_b]+=1;let t,n=!1;try{t=e();}catch(e){throw kb(this,_b)[_b]-=1,e;}return{abort:()=>{n||(n=!0,kb(this,_b)[_b]-=1,t(),kb(this,Nb)[Nb]());},done:()=>{n||(n=!0,kb(this,_b)[_b]-=1,kb(this,Nb)[Nb]());}};}function zb(){queueMicrotask(()=>kb(this,Ib)[Ib]());}function $b(){if(kb(this,_b)[_b]>=this.limit)return;if(0===kb(this,Pb)[Pb].length)return;const e=kb(this,Pb)[Pb].shift(),t=kb(this,jb)[jb](e.fn);e.abort=t.abort,e.done=t.done;}function Hb(e,t){void 0===t&&(t={});const n={fn:e,priority:t.priority||0,abort:()=>{kb(this,Rb)[Rb](n);},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug");}},r=kb(this,Pb)[Pb].findIndex(e=>n.priority>e.priority);return-1===r?kb(this,Pb)[Pb].push(n):kb(this,Pb)[Pb].splice(r,0,n),n;}function Vb(e){const t=kb(this,Pb)[Pb].indexOf(e);-1!==t&&kb(this,Pb)[Pb].splice(t,1);}var Ub={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,Rb,{value:Vb}),Object.defineProperty(this,Lb,{value:Hb}),Object.defineProperty(this,Ib,{value:$b}),Object.defineProperty(this,Nb,{value:zb}),Object.defineProperty(this,jb,{value:Mb}),Object.defineProperty(this,_b,{writable:!0,value:0}),Object.defineProperty(this,Pb,{writable:!0,value:[]}),this.limit="number"!=typeof e||0===e?1/0:e;}run(e,t){return kb(this,_b)[_b]<this.limit?kb(this,jb)[jb](e):kb(this,Lb)[Lb](e,t);}wrapPromiseFunction(e,t){var n=this;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];let a;const u=new Promise((r,i)=>{a=n.run(()=>{let t,n;try{n=Promise.resolve(e(...o));}catch(e){n=Promise.reject(e);}return n.then(e=>{t?i(t):(a.done(),r(e));},e=>{t?i(t):(a.done(),i(e));}),()=>{t=Tb();};},t);});return u.abort=()=>{a.abort();},u;};}},internalRateLimitedQueue:Symbol("__queue")};var Wb,Gb,qb=function(e){return!!e&&(0!==e.readyState&&4!==e.readyState||0===e.status);},Kb={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};const{nanoid:Yb}=By,{Provider:Xb,RequestClient:Zb,Socket:Jb}=db,{RateLimitedQueue:Qb,internalRateLimitedQueue:ew}=Ub;function tw(e,t){let n=t;return n||(n=new Error("Upload error")),"string"==typeof n&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),qb(e)?(n=new Rm(n,e),n):(n.request=e,n);}function nw(e){return e.data.slice(0,e.data.size,e.meta.type);}var rw=(Gb=Wb=class extends Sm{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=Kb;const n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(t){let n={};try{n=JSON.parse(t);}catch(t){e.log(t);}return n;},getResponseError(e,t){let n=new Error("Upload error");return qb(t)&&(n=new Rm(n,t)),n;},validateStatus:e=>e>=200&&e<300};if(this.opts={...n,...t},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),ew in this.opts?this.requests=this.opts[ew]:this.requests=new Qb(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null);}getOptions(e){const t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r={...this.opts,...(t||{}),...(e.xhrUpload||{}),headers:{}};return"function"==typeof n?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r;}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach(n=>{e.append(n,t[n]);});}createFormDataUpload(e,t){const n=new FormData();this.addMetadata(n,e.meta,t);const r=nw(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n;}createBundledUpload(e,t){const n=new FormData(),{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach(e=>{const t=this.getOptions(e),r=nw(e);e.name?n.append(t.fieldName,r,e.name):n.append(t.fieldName,r);}),n;}upload(e,t,n){const r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise((t,n)=>{this.uppy.emit("upload-started",e);const o=r.formData?this.createFormDataUpload(e,r):e.data,i=new XMLHttpRequest();this.uploaderEvents[e.id]=new bb(this.uppy);const a=new Ob(r.timeout,()=>{i.abort(),s.done();const t=new Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",e,t),n(t);}),u=Yb();i.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${u} started`);}),i.upload.addEventListener("progress",t=>{this.uppy.log(`[XHRUpload] ${u} progress: ${t.loaded} / ${t.total}`),a.progress(),t.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded,bytesTotal:t.total});}),i.addEventListener("load",o=>{if(this.uppy.log(`[XHRUpload] ${u} finished`),a.done(),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(o.target.status,i.responseText,i)){const n=r.getResponseData(i.responseText,i),a=n[r.responseUrlFieldName],u={status:o.target.status,body:n,uploadURL:a};return this.uppy.emit("upload-success",e,u),a&&this.uppy.log(`Download ${e.name} from ${a}`),t(e);}const l=r.getResponseData(i.responseText,i),c=tw(i,r.getResponseError(i.responseText,i)),f={status:o.target.status,body:l};return this.uppy.emit("upload-error",e,c,f),n(c);}),i.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${u} errored`),a.done(),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);const t=tw(i,r.getResponseError(i.responseText,i));return this.uppy.emit("upload-error",e,t),n(t);}),i.open(r.method.toUpperCase(),r.endpoint,!0),i.withCredentials=r.withCredentials,""!==r.responseType&&(i.responseType=r.responseType);const s=this.requests.run(()=>{this.uppy.emit("upload-started",e);const t=this.getOptions(e);return Object.keys(t.headers).forEach(e=>{i.setRequestHeader(e,t.headers[e]);}),i.send(o),()=>{a.done(),i.abort();};});this.onFileRemove(e.id,()=>{s.abort(),n(new Error("File removed"));}),this.onCancelAll(e.id,()=>{s.abort(),n(new Error("Upload cancelled"));});});}uploadRemote(e){const t=this.getOptions(e);return new Promise((n,r)=>{this.uppy.emit("upload-started",e);const o={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach(t=>{o[t]=e.meta[t];});new(e.remote.providerOptions.provider?Xb:Zb)(this.uppy,e.remote.providerOptions).post(e.remote.url,{...e.remote.body,endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:o,httpMethod:t.method,useFormData:t.formData,headers:t.headers}).then(o=>{const{token:i}=o,a=function(e){const t=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(e)[1];return`${/^http:\/\//i.test(e)?"ws":"wss"}://${t}`;}(e.remote.companionUrl),u=new Jb({target:`${a}/api/${i}`,autoOpen:!1});this.uploaderEvents[e.id]=new bb(this.uppy),this.onFileRemove(e.id,()=>{u.send("cancel",{}),s.abort(),n(`upload ${e.id} was removed`);}),this.onCancelAll(e.id,()=>{u.send("cancel",{}),s.abort(),n(`upload ${e.id} was canceled`);}),this.onRetry(e.id,()=>{u.send("pause",{}),u.send("resume",{});}),this.onRetryAll(e.id,()=>{u.send("pause",{}),u.send("resume",{});}),u.on("progress",t=>gb(this,t,e)),u.on("success",r=>{const o=t.getResponseData(r.response.responseText,r.response),i=o[t.responseUrlFieldName],a={status:r.response.status,body:o,uploadURL:i};return this.uppy.emit("upload-success",e,a),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n();}),u.on("error",n=>{const o=n.response,i=o?t.getResponseError(o.responseText,o):Object.assign(new Error(n.error.message),{cause:n.error});this.uppy.emit("upload-error",e,i),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(i);});const s=this.requests.run(()=>(u.open(),e.isPaused&&u.send("pause",{}),()=>u.close()));}).catch(t=>{this.uppy.emit("upload-error",e,t),r(t);});});}uploadBundle(e){return new Promise((t,n)=>{const{endpoint:r}=this.opts,{method:o}=this.opts,i=this.uppy.getState().xhrUpload,a=this.createBundledUpload(e,{...this.opts,...(i||{})}),u=new XMLHttpRequest(),s=new Ob(this.opts.timeout,()=>{u.abort();const e=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(e),n(e);}),l=t=>{e.forEach(e=>{this.uppy.emit("upload-error",e,t);});};u.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),s.progress();}),u.upload.addEventListener("progress",t=>{s.progress(),t.lengthComputable&&e.forEach(e=>{this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded/t.total*e.size,bytesTotal:e.size});});}),u.addEventListener("load",r=>{if(s.done(),this.opts.validateStatus(r.target.status,u.responseText,u)){const n=this.opts.getResponseData(u.responseText,u),o={status:r.target.status,body:n};return e.forEach(e=>{this.uppy.emit("upload-success",e,o);}),t();}const o=this.opts.getResponseError(u.responseText,u)||new Error("Upload error");return o.request=u,l(o),n(o);}),u.addEventListener("error",()=>{s.done();const e=this.opts.getResponseError(u.responseText,u)||new Error("Upload error");return l(e),n(e);}),this.uppy.on("cancel-all",()=>{s.done(),u.abort();}),u.open(o.toUpperCase(),r,!0),u.withCredentials=this.opts.withCredentials,""!==this.opts.responseType&&(u.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(e=>{u.setRequestHeader(e,this.opts.headers[e]);}),u.send(a),e.forEach(e=>{this.uppy.emit("upload-started",e);});});}uploadFiles(e){const t=e.map((t,n)=>{const r=parseInt(n,10)+1,o=e.length;return t.error?Promise.reject(new Error(t.error)):t.isRemote?this.uploadRemote(t,r,o):this.upload(t,r,o);});return function(e){const t=[],n=[];function r(e){t.push(e);}function o(e){n.push(e);}return Promise.all(e.map(e=>e.then(r,o))).then(()=>({successful:t,failed:n}));}(t);}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",n=>{e===n.id&&t(n.id);});}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",n=>{e===n&&t();});}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t();});}onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t();});}handleUpload(e){if(0===e.length)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();0!==this.opts.limit||this.opts[ew]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const t=e.map(e=>this.uppy.getFile(e));if(this.opts.bundle){if(t.some(e=>e.isRemote))throw new Error("Can’t upload remote files when the `bundle: true` option is set");if("function"==typeof this.opts.headers)throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t);}return this.uploadFiles(t).then(()=>null);}install(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}});}this.uppy.addUploader(this.handleUpload);}uninstall(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}});}this.uppy.removeUploader(this.handleUpload);}},Wb.VERSION="2.0.6",Gb),ow="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function iw(e){var t={exports:{}};return e(t,t.exports),t.exports;}var aw,uw,sw=function(e){return e&&e.Math==Math&&e;},lw=sw("object"==typeof globalThis&&globalThis)||sw("object"==typeof window&&window)||sw("object"==typeof self&&self)||sw("object"==typeof ow&&ow)||function(){return this;}()||Function("return this")(),cw=Object.defineProperty,fw=function(e,t){try{cw(lw,e,{value:t,configurable:!0,writable:!0});}catch(n){lw[e]=t;}return t;},dw=lw["__core-js_shared__"]||fw("__core-js_shared__",{}),pw=iw(function(e){(e.exports=function(e,t){return dw[e]||(dw[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),hw=Function.prototype,gw=hw.bind,vw=hw.call,yw=gw&&gw.bind(vw),mw=gw?function(e){return e&&yw(vw,e);}:function(e){return e&&function(){return vw.apply(e,arguments);};},bw=lw.TypeError,ww=function(e){if(null==e)throw bw("Can't call method on "+e);return e;},Ew=lw.Object,Dw=function(e){return Ew(ww(e));},Sw=mw({}.hasOwnProperty),xw=Object.hasOwn||function(e,t){return Sw(Dw(e),t);},Cw=0,Aw=Math.random(),Ow=mw(1..toString),kw=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ow(++Cw+Aw,36);},Bw=function(e){return"function"==typeof e;},Fw=function(e){return Bw(e)?e:void 0;},Tw=function(e,t){return arguments.length<2?Fw(lw[e]):lw[e]&&lw[e][t];},_w=Tw("navigator","userAgent")||"",Pw=lw.process,jw=lw.Deno,Nw=Pw&&Pw.versions||jw&&jw.version,Iw=Nw&&Nw.v8;Iw&&(uw=(aw=Iw.split("."))[0]>0&&aw[0]<4?1:+(aw[0]+aw[1])),!uw&&_w&&(!(aw=_w.match(/Edge\/(\d+)/))||aw[1]>=74)&&(aw=_w.match(/Chrome\/(\d+)/))&&(uw=+aw[1]);var Lw=uw,Rw=function(e){try{return!!e();}catch(e){return!0;}},Mw=!!Object.getOwnPropertySymbols&&!Rw(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Lw&&Lw<41;}),zw=Mw&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$w=pw("wks"),Hw=lw.Symbol,Vw=Hw&&Hw.for,Uw=zw?Hw:Hw&&Hw.withoutSetter||kw,Ww=function(e){if(!xw($w,e)||!Mw&&"string"!=typeof $w[e]){var t="Symbol."+e;Mw&&xw(Hw,e)?$w[e]=Hw[e]:$w[e]=zw&&Vw?Vw(t):Uw(t);}return $w[e];},Gw={};Gw[Ww("toStringTag")]="z";var qw="[object z]"===String(Gw),Kw=!Rw(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),Yw=function(e){return"object"==typeof e?null!==e:Bw(e);},Xw=lw.document,Zw=Yw(Xw)&&Yw(Xw.createElement),Jw=function(e){return Zw?Xw.createElement(e):{};},Qw=!Kw&&!Rw(function(){return 7!=Object.defineProperty(Jw("div"),"a",{get:function(){return 7;}}).a;}),eE=lw.String,tE=lw.TypeError,nE=function(e){if(Yw(e))return e;throw tE(eE(e)+" is not an object");},rE=Function.prototype.call,oE=rE.bind?rE.bind(rE):function(){return rE.apply(rE,arguments);},iE=mw({}.isPrototypeOf),aE=lw.Object,uE=zw?function(e){return"symbol"==typeof e;}:function(e){var t=Tw("Symbol");return Bw(t)&&iE(t.prototype,aE(e));},sE=lw.String,lE=function(e){try{return sE(e);}catch(e){return"Object";}},cE=lw.TypeError,fE=function(e){if(Bw(e))return e;throw cE(lE(e)+" is not a function");},dE=function(e,t){var n=e[t];return null==n?void 0:fE(n);},pE=lw.TypeError,hE=lw.TypeError,gE=Ww("toPrimitive"),vE=function(e){var t=function(e,t){if(!Yw(e)||uE(e))return e;var n,r=dE(e,gE);if(r){if(void 0===t&&(t="default"),n=oE(r,e,t),!Yw(n)||uE(n))return n;throw hE("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Bw(n=e.toString)&&!Yw(r=oE(n,e)))return r;if(Bw(n=e.valueOf)&&!Yw(r=oE(n,e)))return r;if("string"!==t&&Bw(n=e.toString)&&!Yw(r=oE(n,e)))return r;throw pE("Can't convert object to primitive value");}(e,t);}(e,"string");return uE(t)?t:t+"";},yE=lw.TypeError,mE=Object.defineProperty,bE={f:Kw?mE:function(e,t,n){if(nE(e),t=vE(t),nE(n),Qw)try{return mE(e,t,n);}catch(e){}if("get"in n||"set"in n)throw yE("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},wE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},EE=Kw?function(e,t,n){return bE.f(e,t,wE(1,n));}:function(e,t,n){return e[t]=n,e;},DE=mw(Function.toString);Bw(dw.inspectSource)||(dw.inspectSource=function(e){return DE(e);});var SE,xE,CE,AE=dw.inspectSource,OE=lw.WeakMap,kE=Bw(OE)&&/native code/.test(AE(OE)),BE=pw("keys"),FE=function(e){return BE[e]||(BE[e]=kw(e));},TE={},_E=lw.TypeError,PE=lw.WeakMap;if(kE||dw.state){var jE=dw.state||(dw.state=new PE()),NE=mw(jE.get),IE=mw(jE.has),LE=mw(jE.set);SE=function(e,t){if(IE(jE,e))throw new _E("Object already initialized");return t.facade=e,LE(jE,e,t),t;},xE=function(e){return NE(jE,e)||{};},CE=function(e){return IE(jE,e);};}else{var RE=FE("state");TE[RE]=!0,SE=function(e,t){if(xw(e,RE))throw new _E("Object already initialized");return t.facade=e,EE(e,RE,t),t;},xE=function(e){return xw(e,RE)?e[RE]:{};},CE=function(e){return xw(e,RE);};}var ME={set:SE,get:xE,has:CE,enforce:function(e){return CE(e)?xE(e):SE(e,{});},getterFor:function(e){return function(t){var n;if(!Yw(t)||(n=xE(t)).type!==e)throw _E("Incompatible receiver, "+e+" required");return n;};}},zE=Function.prototype,$E=Kw&&Object.getOwnPropertyDescriptor,HE=xw(zE,"name"),VE={EXISTS:HE,PROPER:HE&&"something"===function(){}.name,CONFIGURABLE:HE&&(!Kw||Kw&&$E(zE,"name").configurable)},UE=iw(function(e){var t=VE.CONFIGURABLE,n=ME.get,r=ME.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;Bw(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!xw(i,"name")||t&&i.name!==f)&&EE(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==lw?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:EE(e,n,i)):l?e[n]=i:fw(n,i);})(Function.prototype,"toString",function(){return Bw(this)&&n(this).source||AE(this);});}),WE=mw({}.toString),GE=mw("".slice),qE=function(e){return GE(WE(e),8,-1);},KE=Ww("toStringTag"),YE=lw.Object,XE="Arguments"==qE(function(){return arguments;}()),ZE=qw?qE:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=YE(e),KE))?n:XE?qE(t):"Object"==(r=qE(t))&&Bw(t.callee)?"Arguments":r;},JE=qw?{}.toString:function(){return"[object "+ZE(this)+"]";};qw||UE(Object.prototype,"toString",JE,{unsafe:!0});var QE={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},eD=Jw("span").classList,tD=eD&&eD.constructor&&eD.constructor.prototype,nD=tD===Object.prototype?void 0:tD,rD=mw(mw.bind),oD=function(e,t){return fE(e),void 0===t?e:rD?rD(e,t):function(){return e.apply(t,arguments);};},iD=lw.Object,aD=mw("".split),uD=Rw(function(){return!iD("z").propertyIsEnumerable(0);})?function(e){return"String"==qE(e)?aD(e,""):iD(e);}:iD,sD=Math.ceil,lD=Math.floor,cD=function(e){var t=+e;return t!=t||0===t?0:(t>0?lD:sD)(t);},fD=Math.min,dD=function(e){return e>0?fD(cD(e),9007199254740991):0;},pD=function(e){return dD(e.length);},hD=Array.isArray||function(e){return"Array"==qE(e);},gD=function(){},vD=[],yD=Tw("Reflect","construct"),mD=/^\s*(?:class|function)\b/,bD=mw(mD.exec),wD=!mD.exec(gD),ED=function(e){if(!Bw(e))return!1;try{return yD(gD,vD,e),!0;}catch(e){return!1;}},DD=!yD||Rw(function(){var e;return ED(ED.call)||!ED(Object)||!ED(function(){e=!0;})||e;})?function(e){if(!Bw(e))return!1;switch(ZE(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return wD||!!bD(mD,AE(e));}:ED,SD=Ww("species"),xD=lw.Array,CD=function(e,t){return new(function(e){var t;return hD(e)&&(t=e.constructor,(DD(t)&&(t===xD||hD(t.prototype))||Yw(t)&&null===(t=t[SD]))&&(t=void 0)),void 0===t?xD:t;}(e))(0===t?0:t);},AD=mw([].push),OD=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Dw(s),g=uD(h),v=oD(l,c),y=pD(g),m=0,b=f||CD,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:AD(w,d);}else switch(e){case 4:return!1;case 7:AD(w,d);}return i?-1:r||o?o:w;};},kD={forEach:OD(0),map:OD(1),filter:OD(2),some:OD(3),every:OD(4),find:OD(5),findIndex:OD(6),filterReject:OD(7)},BD=function(e,t){var n=[][e];return!!n&&Rw(function(){n.call(null,t||function(){throw 1;},1);});},FD=kD.forEach,TD=BD("forEach")?[].forEach:function(e){return FD(this,e,arguments.length>1?arguments[1]:void 0);},_D=function(e){if(e&&e.forEach!==TD)try{EE(e,"forEach",TD);}catch(t){e.forEach=TD;}};for(var PD in QE)QE[PD]&&_D(lw[PD]&&lw[PD].prototype);_D(nD);var jD={}.propertyIsEnumerable,ND=Object.getOwnPropertyDescriptor,ID=ND&&!jD.call({1:2},1)?function(e){var t=ND(this,e);return!!t&&t.enumerable;}:jD,LD={f:ID},RD=function(e){return uD(ww(e));},MD=Object.getOwnPropertyDescriptor,zD={f:Kw?MD:function(e,t){if(e=RD(e),t=vE(t),Qw)try{return MD(e,t);}catch(e){}if(xw(e,t))return wE(!oE(LD.f,e,t),e[t]);}},$D=Math.max,HD=Math.min,VD=function(e,t){var n=cD(e);return n<0?$D(n+t,0):HD(n,t);},UD=function(e){return function(t,n,r){var o,i=RD(t),a=pD(i),u=VD(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},WD={includes:UD(!0),indexOf:UD(!1)},GD=WD.indexOf,qD=mw([].push),KD=function(e,t){var n,r=RD(e),o=0,i=[];for(n in r)!xw(TE,n)&&xw(r,n)&&qD(i,n);for(;t.length>o;)xw(r,n=t[o++])&&(~GD(i,n)||qD(i,n));return i;},YD=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],XD=YD.concat("length","prototype"),ZD={f:Object.getOwnPropertyNames||function(e){return KD(e,XD);}},JD={f:Object.getOwnPropertySymbols},QD=mw([].concat),eS=Tw("Reflect","ownKeys")||function(e){var t=ZD.f(nE(e)),n=JD.f;return n?QD(t,n(e)):t;},tS=function(e,t){for(var n=eS(t),r=bE.f,o=zD.f,i=0;i<n.length;i++){var a=n[i];xw(e,a)||r(e,a,o(t,a));}},nS=/#|\.prototype\./,rS=function(e,t){var n=iS[oS(e)];return n==uS||n!=aS&&(Bw(t)?Rw(t):!!t);},oS=rS.normalize=function(e){return String(e).replace(nS,".").toLowerCase();},iS=rS.data={},aS=rS.NATIVE="N",uS=rS.POLYFILL="P",sS=rS,lS=zD.f,cS=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?lw:l?lw[u]||fw(u,{}):(lw[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=lS(n,r))&&a.value:n[r],!sS(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;tS(i,o);}(e.sham||o&&o.sham)&&EE(i,"sham",!0),UE(n,r,i,e);}},fS=Object.keys||function(e){return KD(e,YD);},dS=Rw(function(){fS(1);});/*!
101607
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
101608
+ *
101609
+ * Copyright (c) 2014-2017, Jon Schlinkert.
101610
+ * Released under the MIT License.
101611
+ */function pS(e){return"[object Object]"===Object.prototype.toString.call(e);}cS({target:"Object",stat:!0,forced:dS},{keys:function(e){return fS(Dw(e));}});var hS={isHistory(e){return!1!==pS(t=e)&&(void 0===(n=t.constructor)||!1!==pS(r=n.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Rf.isOperationList(e.redos[0]))&&(0===e.undos.length||Rf.isOperationList(e.undos[0]));var t,n,r;}},gS=new WeakMap(),vS=new WeakMap(),yS={isHistoryEditor:e=>hS.isHistory(e.history)&&Bf.isEditor(e),isMerging:e=>vS.get(e),isSaving:e=>gS.get(e),redo(e){e.redo();},undo(e){e.undo();},withoutMerging(e,t){var n=yS.isMerging(e);vS.set(e,!1),t(),vS.set(e,n);},withoutSaving(e,t){var n=yS.isSaving(e);gS.set(e,!1),t(),gS.set(e,n);}},mS=lw.String,bS=function(e){if("Symbol"===ZE(e))throw TypeError("Cannot convert a Symbol value to a string");return mS(e);},wS=function(){var e=nE(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},ES=VE.PROPER,DS=RegExp.prototype,SS=DS.toString,xS=mw(wS),CS=Rw(function(){return"/a/b"!=SS.call({source:"a",flags:"b"});}),AS=ES&&"toString"!=SS.name;(CS||AS)&&UE(RegExp.prototype,"toString",function(){var e=nE(this),t=bS(e.source),n=e.flags;return"/"+t+"/"+bS(void 0===n&&iE(DS,e)&&!("flags"in DS)?xS(e):n);},{unsafe:!0});var OS,kS=Kw?Object.defineProperties:function(e,t){nE(e);for(var n,r=RD(t),o=fS(t),i=o.length,a=0;i>a;)bE.f(e,n=o[a++],r[n]);return e;},BS=Tw("document","documentElement"),FS=FE("IE_PROTO"),TS=function(){},_S=function(e){return"<script>"+e+"<\/script>";},PS=function(e){e.write(_S("")),e.close();var t=e.parentWindow.Object;return e=null,t;},jS=function(){try{OS=new ActiveXObject("htmlfile");}catch(e){}var e,t;jS="undefined"!=typeof document?document.domain&&OS?PS(OS):((t=Jw("iframe")).style.display="none",BS.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(_S("document.F=Object")),e.close(),e.F):PS(OS);for(var n=YD.length;n--;)delete jS.prototype[YD[n]];return jS();};TE[FS]=!0;var NS=Object.create||function(e,t){var n;return null!==e?(TS.prototype=nE(e),n=new TS(),TS.prototype=null,n[FS]=e):n=jS(),void 0===t?n:kS(n,t);},IS=Ww("unscopables"),LS=Array.prototype;null==LS[IS]&&bE.f(LS,IS,{configurable:!0,value:NS(null)});var RS=function(e){LS[IS][e]=!0;},MS=WD.includes;cS({target:"Array",proto:!0},{includes:function(e){return MS(this,e,arguments.length>1?arguments[1]:void 0);}}),RS("includes");var zS=Ww("match"),$S=function(e){var t;return Yw(e)&&(void 0!==(t=e[zS])?!!t:"RegExp"==qE(e));},HS=lw.TypeError,VS=function(e){if($S(e))throw HS("The method doesn't accept regular expressions");return e;},US=Ww("match"),WS=function(e){var t=/./;try{"/./"[e](t);}catch(n){try{return t[US]=!1,"/./"[e](t);}catch(e){}}return!1;},GS=mw("".indexOf);cS({target:"String",proto:!0,forced:!WS("includes")},{includes:function(e){return!!~GS(bS(ww(this)),bS(VS(e)),arguments.length>1?arguments[1]:void 0);}});var qS=/"/g,KS=mw("".replace);cS({target:"String",proto:!0,forced:("anchor",Rw(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3;}))},{anchor:function(e){return"a","name",t=e,n=bS(ww(this)),r="<a",(r+=' name="'+KS(bS(t),qS,"&quot;")+'"')+">"+n+"</a>";var t,n,r;}});var YS=function(e,t,n){var r,o;nE(e);try{if(!(r=dE(e,"return"))){if("throw"===t)throw n;return n;}r=oE(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return nE(r),n;},XS=function(e,t,n,r){try{return r?t(nE(n)[0],n[1]):t(n);}catch(t){YS(e,"throw",t);}},ZS={},JS=Ww("iterator"),QS=Array.prototype,ex=function(e){return void 0!==e&&(ZS.Array===e||QS[JS]===e);},tx=function(e,t,n){var r=vE(t);r in e?bE.f(e,r,wE(0,n)):e[r]=n;},nx=Ww("iterator"),rx=function(e){if(null!=e)return dE(e,nx)||dE(e,"@@iterator")||ZS[ZE(e)];},ox=lw.TypeError,ix=function(e,t){var n=arguments.length<2?rx(e):t;if(fE(n))return nE(oE(n,e));throw ox(lE(e)+" is not iterable");},ax=lw.Array,ux=Ww("iterator"),sx=!1;try{var lx=0,cx={next:function(){return{done:!!lx++};},return:function(){sx=!0;}};cx[ux]=function(){return this;},Array.from(cx,function(){throw 2;});}catch(jO){}var fx=function(e,t){if(!t&&!sx)return!1;var n=!1;try{var r={};r[ux]=function(){return{next:function(){return{done:n=!0};}};},e(r);}catch(e){}return n;},dx=!fx(function(e){Array.from(e);});cS({target:"Array",stat:!0,forced:dx},{from:function(e){var t=Dw(e),n=DD(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=oD(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,d=rx(t),p=0;if(!d||this==ax&&ex(d))for(a=pD(t),u=n?new this(a):ax(a);a>p;p++)f=i?o(t[p],p):t[p],tx(u,p,f);else for(c=(l=ix(t,d)).next,u=n?new this():[];!(s=oE(c,l)).done;p++)f=i?XS(l,o,[s.value,p],!0):s.value,tx(u,p,f);return u.length=p,u;}});var px,hx,gx,vx=mw("".charAt),yx=mw("".charCodeAt),mx=mw("".slice),bx=function(e){return function(t,n){var r,o,i=bS(ww(t)),a=cD(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=yx(i,a))<55296||r>56319||a+1===u||(o=yx(i,a+1))<56320||o>57343?e?vx(i,a):r:e?mx(i,a,a+2):o-56320+(r-55296<<10)+65536;};},index_esm_wx={codeAt:bx(!1),charAt:bx(!0)},Ex=!Rw(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),Dx=FE("IE_PROTO"),Sx=lw.Object,xx=Sx.prototype,Cx=Ex?Sx.getPrototypeOf:function(e){var t=Dw(e);if(xw(t,Dx))return t[Dx];var n=t.constructor;return Bw(n)&&t instanceof n?n.prototype:t instanceof Sx?xx:null;},Ax=Ww("iterator"),Ox=!1;[].keys&&("next"in(gx=[].keys())?(hx=Cx(Cx(gx)))!==Object.prototype&&(px=hx):Ox=!0);var kx=null==px||Rw(function(){var e={};return px[Ax].call(e)!==e;});kx&&(px={}),Bw(px[Ax])||UE(px,Ax,function(){return this;});var Bx={IteratorPrototype:px,BUGGY_SAFARI_ITERATORS:Ox},Fx=bE.f,Tx=Ww("toStringTag"),_x=function(e,t,n){e&&!xw(e=n?e:e.prototype,Tx)&&Fx(e,Tx,{configurable:!0,value:t});},Px=Bx.IteratorPrototype,jx=function(){return this;},Nx=lw.String,Ix=lw.TypeError,Lx=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=mw(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return nE(n),function(e){if("object"==typeof e||Bw(e))return e;throw Ix("Can't set "+Nx(e)+" as a prototype");}(r),t?e(n,r):n.__proto__=r,n;};}():void 0),Rx=VE.PROPER,Mx=VE.CONFIGURABLE,zx=Bx.IteratorPrototype,$x=Bx.BUGGY_SAFARI_ITERATORS,Hx=Ww("iterator"),Vx=function(){return this;},Ux=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=NS(Px,{next:wE(1,n)}),_x(e,o,!1),ZS[o]=jx;}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!$x&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e);};}return function(){return new n(this);};},f=t+" Iterator",d=!1,p=e.prototype,h=p[Hx]||p["@@iterator"]||o&&p[o],g=!$x&&h||c(o),v="Array"==t&&p.entries||h;if(v&&(u=Cx(v.call(new e())))!==Object.prototype&&u.next&&(Cx(u)!==zx&&(Lx?Lx(u,zx):Bw(u[Hx])||UE(u,Hx,Vx)),_x(u,f,!0)),Rx&&"values"==o&&h&&"values"!==h.name&&(Mx?EE(p,"name","values"):(d=!0,g=function(){return oE(h,this);})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)($x||d||!(l in p))&&UE(p,l,s[l]);else cS({target:t,proto:!0,forced:$x||d},s);return p[Hx]!==g&&UE(p,Hx,g,{name:o}),ZS[t]=g,s;},Wx=index_esm_wx.charAt,Gx=ME.set,qx=ME.getterFor("String Iterator");Ux(String,"String",function(e){Gx(this,{type:"String Iterator",string:bS(e),index:0});},function(){var e,t=qx(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Wx(n,r),t.index+=e.length,{value:e,done:!1});});var Kx,Yx=zD.f,Xx=mw("".endsWith),Zx=mw("".slice),Jx=Math.min,Qx=WS("endsWith"),eC=!(Qx||(Kx=Yx(String.prototype,"endsWith"),!Kx||Kx.writable));cS({target:"String",proto:!0,forced:!eC&&!Qx},{endsWith:function(e){var t=bS(ww(this));VS(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:Jx(dD(n),r),i=bS(e);return Xx?Xx(t,i,o):Zx(t,o-i.length,o)===i;}});var tC=mw([].join),nC=uD!=Object,rC=BD("join",",");cS({target:"Array",proto:!0,forced:nC||!rC},{join:function(e){return tC(RD(this),void 0===e?",":e);}});var oC=Ww("species"),iC=function(e){return Lw>=51||!Rw(function(){var t=[];return(t.constructor={})[oC]=function(){return{foo:1};},1!==t[e](Boolean).foo;});},aC=kD.map,uC=iC("map");cS({target:"Array",proto:!0,forced:!uC},{map:function(e){return aC(this,e,arguments.length>1?arguments[1]:void 0);}});var sC=lw.RegExp,lC=Rw(function(){var e=sC("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),cC=lC||Rw(function(){return!sC("a","y").sticky;}),fC={BROKEN_CARET:lC||Rw(function(){var e=sC("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),MISSED_STICKY:cC,UNSUPPORTED_Y:lC},dC=lw.RegExp,pC=Rw(function(){var e=dC(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),hC=lw.RegExp,gC=Rw(function(){var e=hC("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),vC=ME.get,yC=pw("native-string-replace",String.prototype.replace),mC=RegExp.prototype.exec,bC=mC,wC=mw("".charAt),EC=mw("".indexOf),DC=mw("".replace),SC=mw("".slice),xC=function(){var e=/a/,t=/b*/g;return oE(mC,e,"a"),oE(mC,t,"a"),0!==e.lastIndex||0!==t.lastIndex;}(),CC=fC.BROKEN_CARET,AC=void 0!==/()??/.exec("")[1];(xC||AC||CC||pC||gC)&&(bC=function(e){var t,n,r,o,i,a,u,s=this,l=vC(s),c=bS(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=oE(bC,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=CC&&s.sticky,h=oE(wS,s),g=s.source,v=0,y=c;if(p&&(h=DC(h,"y",""),-1===EC(h,"g")&&(h+="g"),y=SC(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==wC(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),AC&&(n=new RegExp("^"+g+"$(?!\\s)",h)),xC&&(r=s.lastIndex),o=oE(mC,p?n:s,y),p?o?(o.input=SC(o.input,v),o[0]=SC(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:xC&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),AC&&o&&o.length>1&&oE(yC,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=NS(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var OC=bC;cS({target:"RegExp",proto:!0,forced:/./.exec!==OC},{exec:OC});var kC=Function.prototype,BC=kC.apply,FC=kC.bind,TC=kC.call,_C="object"==typeof Reflect&&Reflect.apply||(FC?TC.bind(BC):function(){return TC.apply(BC,arguments);}),PC=Ww("species"),jC=RegExp.prototype,NC=function(e,t,n,r){var o=Ww(e),i=!Rw(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!Rw(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[PC]=function(){return n;},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null;},n[o](""),!t;});if(!i||!a||n){var u=mw(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=mw(e),s=t.exec;return s===OC||s===jC.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});UE(String.prototype,e,s[0]),UE(jC,o,s[1]);}r&&EE(jC[o],"sham",!0);},IC=index_esm_wx.charAt,LC=function(e,t,n){return t+(n?IC(e,t).length:1);},RC=Math.floor,MC=mw("".charAt),zC=mw("".replace),$C=mw("".slice),HC=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,VC=/\$([$&'`]|\d{1,2})/g,UC=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=VC;return void 0!==o&&(o=Dw(o),s=HC),zC(i,s,function(i,s){var l;switch(MC(s,0)){case"$":return"$";case"&":return e;case"`":return $C(t,0,n);case"'":return $C(t,a);case"<":l=o[$C(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=RC(c/10);return 0===f?i:f<=u?void 0===r[f-1]?MC(s,1):r[f-1]+MC(s,1):i;}l=r[c-1];}return void 0===l?"":l;});},WC=lw.TypeError,GC=function(e,t){var n=e.exec;if(Bw(n)){var r=oE(n,e,t);return null!==r&&nE(r),r;}if("RegExp"===qE(e))return oE(OC,e,t);throw WC("RegExp#exec called on incompatible receiver");},qC=Ww("replace"),KC=Math.max,YC=Math.min,XC=mw([].concat),ZC=mw([].push),JC=mw("".indexOf),QC=mw("".slice),eA="$0"==="a".replace(/./,"$0"),tA=!!/./[qC]&&""===/./[qC]("a","$0");NC("replace",function(e,t,n){var r=tA?"$":"$0";return[function(e,n){var r=ww(this),o=null==e?void 0:dE(e,qC);return o?oE(o,e,r,n):oE(t,bS(r),e,n);},function(e,o){var i=nE(this),a=bS(e);if("string"==typeof o&&-1===JC(o,r)&&-1===JC(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value;}var s=Bw(o);s||(o=bS(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0;}for(var f=[];;){var d=GC(i,a);if(null===d)break;if(ZC(f,d),!l)break;""===bS(d[0])&&(i.lastIndex=LC(a,dD(i.lastIndex),c));}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=bS((d=f[v])[0]),m=KC(YC(cD(d.index),a.length),0),b=[],w=1;w<d.length;w++)ZC(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=XC([y],b,m,a);void 0!==E&&ZC(D,E);var S=bS(_C(o,void 0,D));}else S=UC(y,a,m,b,E,o);m>=g&&(h+=QC(a,g,m)+S,g=m+y.length);}return h+QC(a,g);}];},!!Rw(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e;},"7"!=="".replace(e,"$<a>");})||!eA||tA);/*! *****************************************************************************
101612
+ Copyright (c) Microsoft Corporation.
101613
+
101614
+ Permission to use, copy, modify, and/or distribute this software for any
101615
+ purpose with or without fee is hereby granted.
101616
+
101617
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101618
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101619
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101620
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101621
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101622
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101623
+ PERFORMANCE OF THIS SOFTWARE.
101624
+ ***************************************************************************** */var nA=function(e,t){return nA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);},nA(e,t);};function rA(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e;}nA(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n());}var oA=function(){return oA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e;},oA.apply(this,arguments);};function iA(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}function aA(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return a;}function uA(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e;}var sA=0,lA=function(){this.id=""+sA++;},cA=ME.set,fA=ME.getterFor("Array Iterator"),dA=Ux(Array,"Array",function(e,t){cA(this,{type:"Array Iterator",target:RD(e),index:0,kind:t});},function(){var e=fA(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1};},"values");ZS.Arguments=ZS.Array,RS("keys"),RS("values"),RS("entries");var pA=function(e,t,n){for(var r in t)UE(e,r,t[r],n);return e;},hA=lw.Array,gA=Math.max,vA=function(e,t,n){for(var r=pD(e),o=VD(t,r),i=VD(void 0===n?r:n,r),a=hA(gA(i-o,0)),u=0;o<i;o++,u++)tx(a,u,e[o]);return a.length=u,a;},yA=ZD.f,mA="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],bA={f:function(e){return mA&&"Window"==qE(e)?function(e){try{return yA(e);}catch(e){return vA(mA);}}(e):yA(RD(e));}},wA=Rw(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8});}}),EA=Object.isExtensible,DA=Rw(function(){EA(1);})||wA?function(e){return!!Yw(e)&&(!wA||"ArrayBuffer"!=qE(e))&&(!EA||EA(e));}:EA,SA=!Rw(function(){return Object.isExtensible(Object.preventExtensions({}));}),xA=iw(function(e){var t=bE.f,n=!1,r=kw("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}});},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=ZD.f,t=mw([].splice),o={};o[r]=1,e(o).length&&(ZD.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break;}return o;},cS({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:bA.f}));},fastKey:function(e,t){if(!Yw(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!xw(e,r)){if(!DA(e))return"F";if(!t)return"E";i(e);}return e[r].objectID;},getWeakData:function(e,t){if(!xw(e,r)){if(!DA(e))return!0;if(!t)return!1;i(e);}return e[r].weakData;},onFreeze:function(e){return SA&&n&&DA(e)&&!xw(e,r)&&i(e),e;}};TE[r]=!0;}),CA=lw.TypeError,AA=function(e,t){this.stopped=e,this.result=t;},OA=AA.prototype,kA=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=oD(t,c),g=function(e){return r&&YS(r,"normal",e),new AA(!0,e);},v=function(e){return f?(nE(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e);};if(d)r=e;else{if(!(o=rx(e)))throw CA(lE(e)+" is not iterable");if(ex(o)){for(i=0,a=pD(e);a>i;i++)if((u=v(e[i]))&&iE(OA,u))return u;return new AA(!1);}r=ix(e,o);}for(s=r.next;!(l=oE(s,r)).done;){try{u=v(l.value);}catch(e){YS(r,"throw",e);}if("object"==typeof u&&u&&iE(OA,u))return u;}return new AA(!1);},BA=lw.TypeError,FA=function(e,t){if(iE(t,e))return e;throw BA("Incorrect invocation");},TA=function(e,t,n){var r,o;return Lx&&Bw(r=t.constructor)&&r!==n&&Yw(o=r.prototype)&&o!==n.prototype&&Lx(e,o),e;},_A=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=lw[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=mw(u[e]);UE(u,e,"add"==e?function(e){return t(this,0===e?0:e),this;}:"delete"==e?function(e){return!(o&&!Yw(e))&&t(this,0===e?0:e);}:"get"==e?function(e){return o&&!Yw(e)?void 0:t(this,0===e?0:e);}:"has"==e?function(e){return!(o&&!Yw(e))&&t(this,0===e?0:e);}:function(e,n){return t(this,0===e?0:e,n),this;});};if(sS(e,!Bw(a)||!(o||u.forEach&&!Rw(function(){new a().entries().next();}))))s=n.getConstructor(t,e,r,i),xA.enable();else if(sS(e,!0)){var f=new s(),d=f[i](o?{}:-0,1)!=f,p=Rw(function(){f.has(1);}),h=fx(function(e){new a(e);}),g=!o&&Rw(function(){for(var e=new a(),t=5;t--;)e[i](t,t);return!e.has(-0);});h||((s=t(function(e,t){FA(e,u);var n=TA(new a(),e,s);return null!=t&&kA(t,n[i],{that:n,AS_ENTRIES:r}),n;})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear;}return l[e]=s,cS({global:!0,forced:s!=a},l),_x(s,e),o||n.setStrong(s,e,r),s;},PA=xA.getWeakData,jA=ME.set,NA=ME.getterFor,IA=kD.find,LA=kD.findIndex,RA=mw([].splice),MA=0,zA=function(e){return e.frozen||(e.frozen=new $A());},$A=function(){this.entries=[];},HA=function(e,t){return IA(e.entries,function(e){return e[0]===t;});};$A.prototype={get:function(e){var t=HA(this,e);if(t)return t[1];},has:function(e){return!!HA(this,e);},set:function(e,t){var n=HA(this,e);n?n[1]=t:this.entries.push([e,t]);},delete:function(e){var t=LA(this.entries,function(t){return t[0]===e;});return~t&&RA(this.entries,t,1),!!~t;}};var VA,UA={getConstructor:function(e,t,n,r){var o=e(function(e,o){FA(e,i),jA(e,{type:t,id:MA++,frozen:void 0}),null!=o&&kA(o,e[r],{that:e,AS_ENTRIES:n});}),i=o.prototype,a=NA(t),u=function(e,t,n){var r=a(e),o=PA(nE(t),!0);return!0===o?zA(r).set(t,n):o[r.id]=n,e;};return pA(i,{delete:function(e){var t=a(this);if(!Yw(e))return!1;var n=PA(e);return!0===n?zA(t).delete(e):n&&xw(n,t.id)&&delete n[t.id];},has:function(e){var t=a(this);if(!Yw(e))return!1;var n=PA(e);return!0===n?zA(t).has(e):n&&xw(n,t.id);}}),pA(i,n?{get:function(e){var t=a(this);if(Yw(e)){var n=PA(e);return!0===n?zA(t).get(e):n?n[t.id]:void 0;}},set:function(e,t){return u(this,e,t);}}:{add:function(e){return u(this,e,!0);}}),o;}},WA=ME.enforce,GA=!lw.ActiveXObject&&"ActiveXObject"in lw,qA=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0);};},KA=_A("WeakMap",qA,UA);if(kE&&GA){VA=UA.getConstructor(qA,"WeakMap",!0),xA.enable();var YA=KA.prototype,XA=mw(YA.delete),ZA=mw(YA.has),JA=mw(YA.get),QA=mw(YA.set);pA(YA,{delete:function(e){if(Yw(e)&&!DA(e)){var t=WA(this);return t.frozen||(t.frozen=new VA()),XA(this,e)||t.frozen.delete(e);}return XA(this,e);},has:function(e){if(Yw(e)&&!DA(e)){var t=WA(this);return t.frozen||(t.frozen=new VA()),ZA(this,e)||t.frozen.has(e);}return ZA(this,e);},get:function(e){if(Yw(e)&&!DA(e)){var t=WA(this);return t.frozen||(t.frozen=new VA()),ZA(this,e)?JA(this,e):t.frozen.get(e);}return JA(this,e);},set:function(e,t){if(Yw(e)&&!DA(e)){var n=WA(this);n.frozen||(n.frozen=new VA()),ZA(this,e)?QA(this,e,t):n.frozen.set(e,t);}else QA(this,e,t);return this;}});}var eO=Ww("iterator"),tO=Ww("toStringTag"),nO=dA.values,rO=function(e,t){if(e){if(e[eO]!==nO)try{EE(e,eO,nO);}catch(t){e[eO]=nO;}if(e[tO]||EE(e,tO,t),QE[t])for(var n in dA)if(e[n]!==dA[n])try{EE(e,n,dA[n]);}catch(t){e[n]=dA[n];}}};for(var oO in QE)rO(lw[oO]&&lw[oO].prototype,oO);rO(nD,"DOMTokenList");var iO=new WeakMap(),aO=new WeakMap(),uO=new WeakMap(),sO=new WeakMap(),lO=new WeakMap(),cO=new WeakMap(),fO=new WeakMap(),dO=new WeakMap(),pO=new WeakMap(),hO=new WeakMap(),gO=new WeakMap(),vO=new WeakMap(),yO=new WeakMap(),mO=new WeakMap(),bO=new WeakMap(),wO=new WeakMap(),EO=new WeakMap(),DO=new WeakMap(),SO=new WeakMap(),xO=new WeakMap(),CO=new WeakMap(),AO=new WeakMap(),OO=new WeakMap(),kO=new WeakMap(),BO=new WeakMap(),FO=kD.find,TO=!0;"find"in[]&&Array(1).find(function(){TO=!1;}),cS({target:"Array",proto:!0,forced:TO},{find:function(e){return FO(this,e,arguments.length>1?arguments[1]:void 0);}}),RS("find"),cS({global:!0},{globalThis:lw});const _O=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];eh&&(Mp.fn.css=eh),ah&&(Mp.fn.append=ah),zp&&(Mp.fn.addClass=zp),$p&&(Mp.fn.removeClass=$p),Hp&&(Mp.fn.hasClass=Hp),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),Vp&&(Mp.fn.attr=Vp),Up&&(Mp.fn.removeAttr=Up),Jp&&(Mp.fn.hide=Jp),Qp&&(Mp.fn.show=Qp),Zp&&(Mp.fn.offset=Zp),Yp&&(Mp.fn.width=Yp),Xp&&(Mp.fn.height=Xp),sh&&(Mp.fn.parent=sh),lh&&(Mp.fn.parents=lh),ih&&(Mp.fn.is=ih),Wp&&(Mp.fn.dataset=Wp),Gp&&(Mp.fn.val=Gp),oh&&(Mp.fn.text=oh),rh&&(Mp.fn.html=rh),fh&&(Mp.fn.children=fh),dh&&(Mp.fn.remove=dh),ch&&(Mp.fn.find=ch),th&&(Mp.fn.each=th),ph&&(Mp.fn.empty=ph);var PO,jO,index_esm_NO=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null;},IO=function(e){return LO(e)&&1===e.nodeType;},LO=function(e){var t=index_esm_NO(e);return!!t&&e instanceof t.Node;},RO=function(e){var t=e&&e.anchorNode&&index_esm_NO(e.anchorNode);return!!t&&e instanceof t.Selection;},MO=function(e){return LO(e)&&3===e.nodeType;},zO=function(e){var t,n,r;return null!==(t=window.document.getElementById(e))&&void 0!==t?t:(null===(r=null===(n=window.document.activeElement)||void 0===n?void 0:n.shadowRoot)||void 0===r?void 0:r.getElementById(e))||null;},$O=function(e,t,n){for(var r,o=e.childNodes,i=o[t],a=t,u=!1,s=!1;(LO(r=i)&&8===r.nodeType||IO(i)&&0===i.childNodes.length||IO(i)&&"false"===i.getAttribute("contenteditable"))&&(!u||!s);)a>=o.length?(u=!0,a=t-1,n="backward"):a<0?(s=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t];},HO=function(e,t,n){return aA($O(e,t,n),1)[0];},VO=function e(t){var n,r,o="";if(MO(t)&&t.nodeValue)return t.nodeValue;if(IO(t)){try{for(var i=iA(Array.from(t.childNodes)),a=i.next();!a.done;a=i.next())o+=e(a.value);}catch(e){n={error:e};}finally{try{a&&!a.done&&(r=i.return)&&r.call(i);}finally{if(n)throw n.error;}}var u=getComputedStyle(t).getPropertyValue("display");"block"!==u&&"list"!==u&&"table-row"!==u&&"BR"!==t.tagName||(o+="\n");}return o;};function UO(e,t){if(!(e instanceof HTMLElement&&"true"===e.dataset.slateVoid))for(var n=e.childNodes,r=n.length;r--;){var o=n[r],i=o.nodeType;3==i?t(o,e):1!=i&&9!=i&&11!=i||UO(o,t);}}function WO(e){if(0===e.length)return"";var t=e[0];return t.nodeType!==PO.ELEMENT_NODE?"":t.tagName.toLowerCase();}(jO=PO||(PO={}))[jO.ELEMENT_NODE=1]="ELEMENT_NODE",jO[jO.TEXT_NODE=3]="TEXT_NODE",jO[jO.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",jO[jO.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",jO[jO.COMMENT_NODE=8]="COMMENT_NODE",jO[jO.DOCUMENT_NODE=9]="DOCUMENT_NODE",jO[jO.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",jO[jO.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",void 0!==globalThis.navigator&&void 0!==globalThis.window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var GO="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),qO="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var KO="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),YO="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),XO="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ZO="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var JO=!XO&&!YO&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,QO={getWindow:function(e){var t=CO.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t;},findKey:function(e,t){var n=xO.get(t);return n||(n=new lA(),xO.set(t,n)),n;},setNewKey:function(e){var t=new lA();xO.set(e,t);},findPath:function(e,t){for(var n=[],r=t;;){var o=bO.get(r);if(null==o){if(Bf.isEditor(r))return n;break;}var i=mO.get(r);if(null==i)break;n.unshift(i),r=o;}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(t));},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=QO.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument;},getParentNode:function(e,t){return bO.get(t)||null;},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&null!=r;){var o=QO.getParentNode(e,r);if(null==o)break;n.push(o),r=o;}return n;},getTopNode:function(e,t){var n=[QO.findPath(e,t)[0]];return Nf.get(e,n);},toDOMNode:function(e,t){var n;if(Bf.isEditor(t))n=wO.get(e);else{var r=QO.findKey(e,t);n=DO.get(r);}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n;},hasDOMNode:function(e,t,n){void 0===n&&(n={});var r,o=n.editable,i=void 0!==o&&o,a=QO.toDOMNode(e,e);try{r=IO(t)?t:t.parentElement;}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e;}return!!r&&r.closest("[data-slate-editor]")===a&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"));},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=qf.isBackward(t),i=QO.toDOMPoint(e,n),a=qf.isCollapsed(t)?i:QO.toDOMPoint(e,r),u=QO.getWindow(e).document.createRange(),s=aA(o?a:i,2),l=s[0],c=s[1],f=aA(o?i:a,2),d=f[0],p=f[1],h=!!(IO(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),g=!!(IO(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,h?1:c),u.setEnd(d,g?1:p),u;},toDOMPoint:function(e,t){var n,r,o,i=aA(Bf.node(e,t.path),1)[0],a=QO.toDOMNode(e,i);Bf.void(e,{at:t})&&(t={path:t.path,offset:0});var u=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var l=iA(u),c=l.next();!c.done;c=l.next()){var f=c.value,d=f.childNodes[0];if(null!=d&&null!=d.textContent){var p=d.textContent.length,h=f.getAttribute("data-slate-length"),g=s+(null==h?p:parseInt(h,10));if(t.offset<=g){o=[d,Math.min(p,Math.max(0,t.offset-s))];break;}s=g;}}}catch(e){n={error:e};}finally{try{c&&!c.done&&(r=l.return)&&r.call(l);}finally{if(n)throw n.error;}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return o;},toSlateNode:function(e,t){var n=IO(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?EO.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r;},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,o=t.target;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);var i,a=QO.toSlateNode(e,t.target),u=QO.findPath(e,a);if(Bf.isVoid(e,a)){var s=o.getBoundingClientRect(),l=e.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,c=Bf.point(e,u,{edge:l?"start":"end"}),f=l?Bf.before(e,c):Bf.after(e,c);if(f)return Bf.range(e,f);}var d=this.getWindow(e).document;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(n,r);else{var p=d.caretPositionFromPoint(n,r);p&&((i=d.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset));}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);return QO.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1});},toSlateRange:function(e,t,n){var r,o,i,a,u,s=n.exactMatch,l=n.suppressThrow;if((RO(t)?t.anchorNode:t.startContainer)&&(RO(t)?(r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=ZO&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,u=t.collapsed)),null==r||null==i||null==o||null==a)throw new Error("Cannot resolve a Slate range from DOM range: "+t);var c=QO.toSlatePoint(e,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:QO.toSlatePoint(e,[i,a],{exactMatch:s,suppressThrow:l});if(!f)return null;var d={anchor:c,focus:f};return qf.isExpanded(d)&&qf.isForward(d)&&IO(i)&&Bf.void(e,{at:d.focus,mode:"highest"})&&(d=Bf.unhangRange(e,d,{voids:!0})),d;},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=aA(o?t:function(e){var t,n=aA(e,2),r=n[0],o=n[1];if(IO(r)&&r.childNodes.length){var i=o===r.childNodes.length,a=i?o-1:o;for(r=(t=aA($O(r,a,i?"backward":"forward"),2))[0],i=(a=t[1])<o;IO(r)&&r.childNodes.length;){var u=i?r.childNodes.length-1:0;r=HO(r,u,i?"backward":"forward");}o=i&&null!=r.textContent?r.textContent.length:0;}return[r,o];}(t),2),u=a[0],s=a[1],l=u.parentNode,c=null,f=0;if(l){var d=l.closest('[data-slate-void="true"]'),p=l.closest("[data-slate-leaf]"),h=null;if(p){c=p.closest('[data-slate-node="text"]');var g=QO.getWindow(e).document.createRange();g.setStart(c,0),g.setEnd(u,s);var v=g.cloneContents();uA(uA([],aA(xp(v.querySelectorAll("[data-slate-zero-width]")))),aA(xp(v.querySelectorAll("[contenteditable=false]")))).forEach(function(e){e.parentNode.removeChild(e);}),f=v.textContent.length,h=c;}else d&&((p=d.querySelector("[data-slate-leaf]"))?(c=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach(function(e){f-=e.textContent.length;})):f=1);h&&f===h.textContent.length&&(l.hasAttribute("data-slate-zero-width")||qO&&(null===(r=h.textContent)||void 0===r?void 0:r.endsWith("\n")))&&f--;}if(!c){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t);}var y=QO.toSlateNode(e,c);return{path:QO.findPath(e,y),offset:f};},hasRange:function(e,t){var n=t.anchor,r=t.focus;return Bf.hasPath(e,n.path)&&Bf.hasPath(e,r.path);},getNodeType:function(e){return Sf.isElement(e)?e.type:"";},checkNodeType:function(e,t){return this.getNodeType(e)===t;},getNodesStr:function(e){return e.map(function(e){return Nf.string(e);}).join("");},getSelectedElems:function(e){var t,n,r=[],o=Bf.nodes(e,{universal:!0});try{for(var i=iA(o),a=i.next();!a.done;a=i.next()){var u=aA(a.value,1)[0];Sf.isElement(u)&&r.push(u);}}catch(e){t={error:e};}finally{try{a&&!a.done&&(n=i.return)&&n.call(i);}finally{if(t)throw t.error;}}return r;},getSelectedNodeByType:function(e,t){var n=this,r=aA(Bf.nodes(e,{match:function(e){return n.checkNodeType(e,t);},universal:!0}),1),o=r[0];return null==o?null:o[0];},getSelectedTextNode:function(e){var t=aA(Bf.nodes(e,{match:function(e){return ed.isText(e);},universal:!0}),1),n=t[0];return null==n?null:n[0];},isNodeSelected:function(e,t){var n=aA(Bf.nodes(e,{match:function(e){return e===t;},universal:!0}),1),r=n[0];return null!=r&&aA(r,1)[0]===t;},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(Bf.isEnd(e,n.anchor,t)||Bf.isEnd(e,n.focus,t));},getTextarea:function(e){var t=iO.get(e);if(null==t)throw new Error("Cannot find textarea instance by editor");return t;},getToolbar:function(e){return sO.get(e)||null;},getHoverbar:function(e){return cO.get(e)||null;},normalizeContent:function(e){e.children.forEach(function(t,n){e.normalizeNode([t,[n]]);});},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o;},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,o,i=QO.getTextarea(e).$textArea,a=null==i?void 0:i[0].childNodes;if(a)try{for(var u=iA(Array.from(a)),s=u.next();!s.done;s=u.next()){var l=s.value;if(3!==l.nodeType)break;l.remove();}}catch(e){t={error:e};}finally{try{s&&!s.done&&(n=u.return)&&n.call(u);}finally{if(t)throw t.error;}}var c=Bf.nodes(e,{match:function(t){return!(!Sf.isElement(t)||e.isInline(t));},universal:!0});try{for(var f=iA(c),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];UO(QO.toDOMNode(e,h),function(e,t){var n=Mp(t);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||t.removeChild(e);});}}}catch(e){r={error:e};}finally{try{d&&!d.done&&(o=f.return)&&o.call(f);}finally{if(r)throw r.error;}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t;},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]};},isSelectedVoidNode:function(e){var t,n,r=Bf.nodes(e,{match:function(t){return e.isVoid(t);}}),o=0;try{for(var i=iA(r),a=i.next();!a.done;a=i.next())a.value,o++;}catch(e){t={error:e};}finally{try{a&&!a.done&&(n=i.return)&&n.call(i);}finally{if(t)throw t.error;}}return o>0;},isSelectedEmptyParagraph:function(e){var t=e.selection;if(null==t)return!1;if(qf.isExpanded(t))return!1;var n=QO.getSelectedNodeByType(e,"paragraph");if(null===n)return!1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0);},isEmptyPath:function(e,t){var n=Bf.node(e,t);if(null==n)return!1;var r=aA(n,1)[0].children;return 1===r.length&&""===r[0].text;}},ek=1,tk={},nk={};var rk=kD.filter,ok=iC("filter");cS({target:"Array",proto:!0,forced:!ok},{filter:function(e){return rk(this,e,arguments.length>1?arguments[1]:void 0);}});var ik="\t\n\v\f\r                 \u2028\u2029\ufeff",ak=mw("".replace),uk="["+ik+"]",sk=RegExp("^"+uk+uk+"*"),lk=RegExp(uk+uk+"*$"),ck=function(e){return function(t){var n=bS(ww(t));return 1&e&&(n=ak(n,sk,"")),2&e&&(n=ak(n,lk,"")),n;};},fk={start:ck(1),end:ck(2),trim:ck(3)},dk=VE.PROPER,pk=fk.trim;cS({target:"String",proto:!0,forced:function(e){return Rw(function(){return!!ik[e]()||"​…᠎"!=="​…᠎"[e]()||dk&&ik[e].name!==e;});}("trim")},{trim:function(){return pk(this);}});var hk=[];var gk={};function vk(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">";}var yk,mk,bk,wk,Ek=lw.Promise,Dk=Ww("species"),Sk=function(e){var t=Tw(e),n=bE.f;Kw&&t&&!t[Dk]&&n(t,Dk,{configurable:!0,get:function(){return this;}});},xk=lw.TypeError,Ck=Ww("species"),Ak=function(e,t){var n,r=nE(e).constructor;return void 0===r||null==(n=nE(r)[Ck])?t:function(e){if(DD(e))return e;throw xk(lE(e)+" is not a constructor");}(n);},Ok=mw([].slice),kk=/(?:ipad|iphone|ipod).*applewebkit/i.test(_w),Bk="process"==qE(lw.process),Fk=lw.setImmediate,Tk=lw.clearImmediate,_k=lw.process,Pk=lw.Dispatch,jk=lw.Function,Nk=lw.MessageChannel,Ik=lw.String,Lk=0,Rk={};try{yk=lw.location;}catch(jO){}var Mk=function(e){if(xw(Rk,e)){var t=Rk[e];delete Rk[e],t();}},zk=function(e){return function(){Mk(e);};},$k=function(e){Mk(e.data);},Hk=function(e){lw.postMessage(Ik(e),yk.protocol+"//"+yk.host);};Fk&&Tk||(Fk=function(e){var t=Ok(arguments,1);return Rk[++Lk]=function(){_C(Bw(e)?e:jk(e),void 0,t);},mk(Lk),Lk;},Tk=function(e){delete Rk[e];},Bk?mk=function(e){_k.nextTick(zk(e));}:Pk&&Pk.now?mk=function(e){Pk.now(zk(e));}:Nk&&!kk?(wk=(bk=new Nk()).port2,bk.port1.onmessage=$k,mk=oD(wk.postMessage,wk)):lw.addEventListener&&Bw(lw.postMessage)&&!lw.importScripts&&yk&&"file:"!==yk.protocol&&!Rw(Hk)?(mk=Hk,lw.addEventListener("message",$k,!1)):mk="onreadystatechange"in Jw("script")?function(e){BS.appendChild(Jw("script")).onreadystatechange=function(){BS.removeChild(this),Mk(e);};}:function(e){setTimeout(zk(e),0);});var Vk,Uk,Wk,Gk,qk,Kk,Yk,Xk,Zk={set:Fk,clear:Tk},Jk=/ipad|iphone|ipod/i.test(_w)&&void 0!==lw.Pebble,Qk=/web0s(?!.*chrome)/i.test(_w),eB=zD.f,tB=Zk.set,nB=lw.MutationObserver||lw.WebKitMutationObserver,rB=lw.document,oB=lw.process,iB=lw.Promise,aB=eB(lw,"queueMicrotask"),uB=aB&&aB.value;uB||(Vk=function(){var e,t;for(Bk&&(e=oB.domain)&&e.exit();Uk;){t=Uk.fn,Uk=Uk.next;try{t();}catch(e){throw Uk?Gk():Wk=void 0,e;}}Wk=void 0,e&&e.enter();},kk||Bk||Qk||!nB||!rB?!Jk&&iB&&iB.resolve?((Yk=iB.resolve(void 0)).constructor=iB,Xk=oD(Yk.then,Yk),Gk=function(){Xk(Vk);}):Bk?Gk=function(){oB.nextTick(Vk);}:(tB=oD(tB,lw),Gk=function(){tB(Vk);}):(qk=!0,Kk=rB.createTextNode(""),new nB(Vk).observe(Kk,{characterData:!0}),Gk=function(){Kk.data=qk=!qk;}));var sB,lB,cB,fB,dB=uB||function(e){var t={fn:e,next:void 0};Wk&&(Wk.next=t),Uk||(Uk=t,Gk()),Wk=t;},pB=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r;}),this.resolve=fE(t),this.reject=fE(n);},hB={f:function(e){return new pB(e);}},gB=function(e){try{return{error:!1,value:e()};}catch(e){return{error:!0,value:e};}},vB="object"==typeof window,yB=Zk.set,mB=Ww("species"),bB="Promise",wB=ME.getterFor(bB),EB=ME.set,DB=ME.getterFor(bB),SB=Ek&&Ek.prototype,xB=Ek,CB=SB,AB=lw.TypeError,OB=lw.document,kB=lw.process,BB=hB.f,FB=BB,TB=!!(OB&&OB.createEvent&&lw.dispatchEvent),_B=Bw(lw.PromiseRejectionEvent),PB=!1,jB=sS(bB,function(){var e=AE(xB),t=e!==String(xB);if(!t&&66===Lw)return!0;if(Lw>=51&&/native code/.test(e))return!1;var n=new xB(function(e){e(1);}),r=function(e){e(function(){},function(){});};return(n.constructor={})[mB]=r,!(PB=n.then(function(){})instanceof r)||!t&&vB&&!_B;}),NB=jB||!fx(function(e){xB.all(e).catch(function(){});}),IB=function(e){var t;return!(!Yw(e)||!Bw(t=e.then))&&t;},LB=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;dB(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&$B(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(AB("Promise-chain cycle")):(u=IB(a))?oE(u,a,f,d):f(a)):d(r);}catch(e){p&&!s&&p.exit(),d(e);}}e.reactions=[],e.notified=!1,t&&!e.rejection&&MB(e);});}},RB=function(e,t,n){var r,o;TB?((r=OB.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),lw.dispatchEvent(r)):r={promise:t,reason:n},!_B&&(o=lw["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=lw.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t));}("Unhandled promise rejection",n);},MB=function(e){oE(yB,lw,function(){var t,n=e.facade,r=e.value;if(zB(e)&&(t=gB(function(){Bk?kB.emit("unhandledRejection",r,n):RB("unhandledrejection",n,r);}),e.rejection=Bk||zB(e)?2:1,t.error))throw t.value;});},zB=function(e){return 1!==e.rejection&&!e.parent;},$B=function(e){oE(yB,lw,function(){var t=e.facade;Bk?kB.emit("rejectionHandled",t):RB("rejectionhandled",t,e.value);});},HB=function(e,t,n){return function(r){e(t,r,n);};},VB=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,LB(e,!0));},UB=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw AB("Promise can't be resolved itself");var r=IB(t);r?dB(function(){var n={done:!1};try{oE(r,t,HB(UB,n,e),HB(VB,n,e));}catch(t){VB(n,t,e);}}):(e.value=t,e.state=1,LB(e,!1));}catch(t){VB({done:!1},t,e);}}};if(jB&&(CB=(xB=function(e){FA(this,CB),fE(e),oE(sB,this);var t=wB(this);try{e(HB(UB,t),HB(VB,t));}catch(e){VB(t,e);}}).prototype,(sB=function(e){EB(this,{type:bB,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0});}).prototype=pA(CB,{then:function(e,t){var n=DB(this),r=n.reactions,o=BB(Ak(this,xB));return o.ok=!Bw(e)||e,o.fail=Bw(t)&&t,o.domain=Bk?kB.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&LB(n,!1),o.promise;},catch:function(e){return this.then(void 0,e);}}),lB=function(){var e=new sB(),t=wB(e);this.promise=e,this.resolve=HB(UB,t),this.reject=HB(VB,t);},hB.f=BB=function(e){return e===xB||e===cB?new lB(e):FB(e);},Bw(Ek)&&SB!==Object.prototype)){fB=SB.then,PB||(UE(SB,"then",function(e,t){var n=this;return new xB(function(e,t){oE(fB,n,e,t);}).then(e,t);},{unsafe:!0}),UE(SB,"catch",CB.catch,{unsafe:!0}));try{delete SB.constructor;}catch(jO){}Lx&&Lx(SB,CB);}cS({global:!0,wrap:!0,forced:jB},{Promise:xB}),_x(xB,bB,!1),Sk(bB),cB=Tw(bB),cS({target:bB,stat:!0,forced:jB},{reject:function(e){var t=BB(this);return oE(t.reject,void 0,e),t.promise;}}),cS({target:bB,stat:!0,forced:jB},{resolve:function(e){return function(e,t){if(nE(e),Yw(t)&&t.constructor===e)return t;var n=hB.f(e);return(0,n.resolve)(t),n.promise;}(this,e);}}),cS({target:bB,stat:!0,forced:NB},{all:function(e){var t=this,n=BB(t),r=n.resolve,o=n.reject,i=gB(function(){var n=fE(t.resolve),i=[],a=0,u=1;kA(e,function(e){var s=a++,l=!1;u++,oE(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i));},o);}),--u||r(i);});return i.error&&o(i.value),n.promise;},race:function(e){var t=this,n=BB(t),r=n.reject,o=gB(function(){var o=fE(t.resolve);kA(e,function(e){oE(o,t,e).then(n.resolve,r);});});return o.error&&r(o.value),n.promise;}});var WB=fC.UNSUPPORTED_Y,GB=Math.min,qB=[].push,KB=mw(/./.exec),YB=mw(qB),XB=mw("".slice);function ZB(e){Promise.resolve().then(e);}function JB(e,t){return Sf.isElement(e)?function(e,t){var n=e.type,r=void 0===n?"":n,o=e.children,i=void 0===o?[]:o,a=Bf.isVoid(t,e),u="";a||(u=i.map(function(e){return JB(e,t);}).join(""));var s=function(e){return gk[e]||vk;}(r),l=s(e,u,t),c="";if(c="string"==typeof l?l:l.html||"",a||hk.forEach(function(t){return c=t(e,c);}),"string"==typeof l)return c;var f=l.prefix,d=void 0===f?"":f,p=l.suffix,h=void 0===p?"":p;return d&&(c=d+c),h&&(c+=h),c;}(e,t):function(e,t){var n=e.text;if(null==n)throw new Error("Current node is not slate Text "+JSON.stringify(e));var r=n;r=function(e){return e.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;");}(r);var o=QO.getParentsNodes(t,e).some(function(e){return"pre"===QO.getNodeType(e);});if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/&nbsp;/g," ")),""===r){var i=QO.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>";}return hk.forEach(function(t){return r=t(e,r);}),r;}(e,t);}function QB(e){return"w-e-element-"+e;}NC("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=bS(ww(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!$S(e))return oE(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=oE(OC,f,r))&&!((a=f.lastIndex)>c&&(YB(s,XB(r,c,i.index)),i.length>1&&i.index<r.length&&_C(qB,s,vA(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&KB(f,"")||YB(s,""):YB(s,XB(r,c)),s.length>o?vA(s,0,o):s;}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:oE(t,this,e,n);}:t,[function(t,n){var o=ww(this),i=null==t?void 0:dE(t,e);return i?oE(i,t,o,n):oE(r,bS(o),t,n);},function(e,o){var i=nE(this),a=bS(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=Ak(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(WB?"g":"y"),f=new s(WB?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===GC(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=WB?0:h;var v,y=GC(f,WB?XB(a,h):a);if(null===y||(v=GB(dD(f.lastIndex+(WB?h:0)),a.length))===p)h=LC(a,h,l);else{if(YB(g,XB(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(YB(g,y[m]),g.length===d)return g;h=p=v;}}return YB(g,XB(a,p)),g;}];},!!Rw(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments);};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1];}),WB);var eF=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n;},tF=function(e,t,n){var r=QO.toDOMRange(e,t).getBoundingClientRect(),o=QO.toDOMRange(e,n).getBoundingClientRect();return eF(r,o)&&eF(o,r);},nF=["span","b","strong","i","em","s","strike","u","font","sub","sup"],rF=[];var oF=[];var iF={};var aF=bE.f,uF=ZD.f,sF=ME.enforce,lF=Ww("match"),cF=lw.RegExp,fF=cF.prototype,dF=lw.SyntaxError,pF=mw(wS),hF=mw(fF.exec),gF=mw("".charAt),vF=mw("".replace),yF=mw("".indexOf),mF=mw("".slice),bF=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,wF=/a/g,EF=/a/g,DF=new cF(wF)!==wF,SF=fC.MISSED_STICKY,xF=fC.UNSUPPORTED_Y,CF=Kw&&(!DF||SF||pC||gC||Rw(function(){return EF[lF]=!1,cF(wF)!=wF||cF(EF)==EF||"/a/i"!=cF(wF,"i");}));if(sS("RegExp",CF)){for(var AF=function(e,t){var n,r,o,i,a,u,s=iE(fF,this),l=$S(e),c=void 0===t,f=[],d=e;if(!s&&l&&c&&e.constructor===AF)return e;if((l||iE(fF,e))&&(e=e.source,c&&(t=("flags"in d)?d.flags:pF(d))),e=void 0===e?"":bS(e),t=void 0===t?"":bS(t),d=e,pC&&("dotAll"in wF)&&(r=!!t&&yF(t,"s")>-1)&&(t=vF(t,/s/g,"")),n=t,SF&&("sticky"in wF)&&(o=!!t&&yF(t,"y")>-1)&&xF&&(t=vF(t,/y/g,"")),gC&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},u=!1,s=!1,l=0,c="";r<=n;r++){if("\\"===(t=gF(e,r)))t+=gF(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:hF(bF,mF(e,r+1))&&(r+=2,s=!0),o+=t,l++;continue;case">"===t&&s:if(""===c||xw(a,c))throw new dF("Invalid capture group name");a[c]=!0,i[i.length]=[c,l],s=!1,c="";continue;}s?c+=t:o+=t;}return[o,i];}(e),e=i[0],f=i[1]),a=TA(cF(e,t),s?this:fF,AF),(r||o||f.length)&&(u=sF(a),r&&(u.dotAll=!0,u.raw=AF(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=gF(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+gF(e,++r);return o;}(e),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),e!==d)try{EE(a,"source",""===d?"(?:)":d);}catch(e){}return a;},OF=function(e){(e in AF)||aF(AF,e,{configurable:!0,get:function(){return cF[e];},set:function(t){cF[e]=t;}});},kF=uF(cF),BF=0;kF.length>BF;)OF(kF[BF++]);fF.constructor=AF,AF.prototype=fF,UE(lw,"RegExp",AF);}Sk("RegExp");var FF=new RegExp(String.fromCharCode(160),"g");function TF(e){return e.replace(FF," ");}function _F(e,t){var n=e.length;if(n){var r=e[n-1];if(ed.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text=r.text+t,!0;}}return!1;}function PF(e,t,n){return{type:"paragraph",children:[{text:Mp(e).text().replace(/\s+/gm," ")}]};}function jF(e,t){var n=function(e,t){var n=[];if(null!=e.attr("data-w-e-is-void"))return n;var r=e[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?(n.push({text:""}),n):(r.forEach(function(e){if(e.nodeType!==PO.ELEMENT_NODE){if(e.nodeType!==PO.TEXT_NODE);else{var r=e.textContent||"";if(""===r.trim()&&r.indexOf("\n")>=0)return;r&&(r=TF(r),_F(n,r)||n.push({text:r}));}}else{if("BR"===e.nodeName)return void(_F(n,"\n")||n.push({text:"\n"}));var o=IF(Mp(e),t);Array.isArray(o)?o.forEach(function(e){return n.push(e);}):n.push(o);}}),n);}(e,t),r=function(e){for(var t in iF)if(e[0].matches(t))return iF[t];return PF;}(e),o=r(e[0],n,t);return Array.isArray(o)||(o=[o]),o.forEach(function(r){Bf.isVoid(t,r)||(0===n.length&&(r.children=[{text:e.text().replace(/\s+/gm," ")}]),oF.forEach(function(n){r=n(e[0],r,t);}));}),o;}function NF(e,t){0===e.parents("pre").length&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=e[0].textContent||"";n=function(e){return e.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"®").replace(/&copy;/g,"©").replace(/&trade;/g,"™").replace(/&quot;/g,'"');}(n);var r={text:n=TF(n)};return oF.forEach(function(n){r=n(e[0],r,t);}),r;}function IF(e,t){rF.forEach(function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=Mp(r(e[0])));});var n=WO(e);return"span"===n?e.attr("data-w-e-type")?jF(e,t):NF(e,t):"code"===n?"pre"===WO(e.parent())?jF(e,t):NF(e,t):nF.includes(n)?NF(e,t):jF(e,t);}function LF(e,t,n){var r=Mp(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t);}),!1);}function RF(e,t){void 0===t&&(t="");var n=[];""===t&&(t="<p><br></p>"),0!==t.indexOf("<")&&(t=t.split(/\n/).map(function(e){return"<p>"+e+"</p>";}).join(""));var r=Mp("<div>"+t+"</div>");return Array.from(r.children()).forEach(function(t){var r=IF(Mp(t),e);Array.isArray(r)?r.forEach(function(e){return n.push(e);}):n.push(r);}),n;}var MF=bE.f,zF=xA.fastKey,$F=ME.set,HF=ME.getterFor,VF={getConstructor:function(e,t,n,r){var o=e(function(e,o){FA(e,i),$F(e,{type:t,index:NS(null),first:void 0,last:void 0,size:0}),Kw||(e.size=0),null!=o&&kA(o,e[r],{that:e,AS_ENTRIES:n});}),i=o.prototype,a=HF(t),u=function(e,t,n){var r,o,i=a(e),u=s(e,t);return u?u.value=n:(i.last=u={index:o=zF(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),Kw?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e;},s=function(e,t){var n,r=a(e),o=zF(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n;};return pA(i,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,Kw?e.size=0:this.size=0;},delete:function(e){var t=this,n=a(t),r=s(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),Kw?n.size--:t.size--;}return!!r;},forEach:function(e){for(var t,n=a(this),r=oD(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous;},has:function(e){return!!s(this,e);}}),pA(i,n?{get:function(e){var t=s(this,e);return t&&t.value;},set:function(e,t){return u(this,0===e?0:e,t);}}:{add:function(e){return u(this,e=0===e?0:e,e);}}),Kw&&MF(i,"size",{get:function(){return a(this).size;}}),o;},setStrong:function(e,t,n){var r=t+" Iterator",o=HF(t),i=HF(r);Ux(e,t,function(e,t){$F(this,{type:r,target:e,state:o(e),kind:t,last:void 0});},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0});},n?"entries":"values",!n,!0),Sk(t);}};_A("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0);};},VF);var UF=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function WF(e,t){e.isInline(t)?(e.insertNode(t),"link"===t.type&&e.insertFragment([{text:""}])):md.insertNodes(e,t,{mode:"highest"});}var GF=function(e){var t=e,n=t.insertText;return t.insertFragment,t.setFragmentData=function(e){var n=t.selection;if(n){var r=aA(qf.edges(n),2),o=r[0],i=r[1],a=Bf.void(t,{at:o.path}),u=Bf.void(t,{at:i.path});if(!qf.isCollapsed(n)||a){var s=QO.toDOMRange(t,n),l=s.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach(function(e){e.textContent&&""!==e.textContent.trim()&&(c=e);}),u){var f=aA(u,1)[0],d=s.cloneRange(),p=QO.toDOMNode(t,f);d.setEndAfter(p),l=d.cloneContents();}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(function(e){var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":"";}),MO(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),l.appendChild(h),c=h;}var g=t.getFragment(),v=JSON.stringify(g),y=window.btoa(encodeURIComponent(v));c.setAttribute("data-slate-fragment",y),e.setData("application/x-slate-fragment",y);var m=l.ownerDocument.createElement("div");return m.appendChild(l),m.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(m),e.setData("text/html",m.innerHTML),e.setData("text/plain",VO(m)),l.ownerDocument.body.removeChild(m),e;}}},t.insertData=function(e){var r,o,i=e.getData("application/x-slate-fragment");if(i){var a=decodeURIComponent(window.atob(i)),u=JSON.parse(a);t.insertFragment(u);}else{var s=e.getData("text/plain"),l=e.getData("text/html");if(l)t.dangerouslyInsertHtml(l);else if(s){var c=s.split(/\r\n|\r|\n/),f=!1;try{for(var d=iA(c),p=d.next();!p.done;p=d.next()){var h=p.value;f&&md.splitNodes(t,{always:!0}),n(h),f=!0;}}catch(e){r={error:e};}finally{try{p&&!p.done&&(o=d.return)&&o.call(d);}finally{if(r)throw r.error;}}}}},t;},qF=function(e){return null!=e;},KF={object:!0,function:!0,undefined:!0},YF=/^\s*class[\s{/}]/,XF=Function.prototype.toString,ZF=function(e){return!!function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1;}catch(e){return!1;}return!function(e){if(!function(e){return!!qF(e)&&hasOwnProperty.call(KF,typeof e);}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e;}catch(e){return!1;}}(e);}(e)&&!YF.test(XF.call(e));},JF=function(e){return null!=e;},QF=Object.keys,eT=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}}()?Object.keys:function(e){return QF(JF(e)?Object(e):e);},tT=function(e){if(!JF(e))throw new TypeError("Cannot use null or undefined");return e;},nT=Math.max,rT=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy");}()?Object.assign:function(e,t){var n,r,o,i=nT(arguments.length,2);for(e=Object(tT(e)),o=function(r){try{e[r]=t[r];}catch(e){n||(n=e);}},r=1;r<i;++r)eT(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e;},oT=Array.prototype.forEach,iT=Object.create,aT=function(e,t){var n;for(n in e)t[n]=e[n];},uT=function(e){var t=iT(null);return oT.call(arguments,function(e){JF(e)&&aT(Object(e),t);}),t;},sT="razdwatrzy",lT=String.prototype.indexOf,cT="function"==typeof sT.contains&&!0===sT.contains("dwa")&&!1===sT.contains("foo")?String.prototype.contains:function(e){return lT.call(this,e,arguments[1])>-1;},fT=iw(function(e){var t=e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],qF(e)?(n=cT.call(e,"c"),r=cT.call(e,"e"),o=cT.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?rT(uT(i),a):a;};t.gs=function(e,t,n){var r,o,i,a;return"string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],qF(t)?ZF(t)?qF(n)?ZF(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,qF(e)?(r=cT.call(e,"c"),o=cT.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?rT(uT(i),a):a;};}),dT=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e;},pT=iw(function(e,t){var n,r,o,i,a,u,s,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,d=Object.defineProperty,p=Object.defineProperties,h=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return dT(t),h.call(this,"__ee__")?n=this.__ee__:(n=g.value=f(null),d(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this;},r=function(e,t){var r,i;return dT(t),i=this,n.call(this,e,r=function(){o.call(i,e,r),l.call(t,this,arguments);}),r.__eeOnceListener__=t,this;},o=function(e,t){var n,r,o,i;if(dT(t),!h.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this;},i=function(e){var t,n,r,o,i;if(h.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)l.call(r,this,i);}else switch(arguments.length){case 1:c.call(o,this);break;case 2:c.call(o,this,arguments[1]);break;case 3:c.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];l.call(o,this,i);}},a={on:n,once:r,off:o,emit:i},u={on:fT(n),once:fT(r),off:fT(o),emit:fT(i)},s=p({},u),e.exports=t=function(e){return null==e?f(s):p(Object(e),u);},t.methods=a;});function hT(e){var t=kO.get(e);return null==t&&(t=pT(),kO.set(e,t)),t;}var gT=new WeakMap();function vT(e,t){var n=gT.get(e);null==n&&(n=new Set(),gT.set(e,n)),n.add(t);}function yT(e){return gT.get(e)||new Set();}function mT(e){gT.set(e,new Set());}function bT(e){var t=QO.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r};}function wT(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=bT(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,u=r.height,s=QO.toDOMRange(e,n).getClientRects()[0];if(null==s)return t;s.width;var l=s.height,c={},f=s.top-o,d=s.left-i;if(d>a/2){var p=a-d;c.right=p+5+"px";}else c.left=d+5+"px";if(f>u/2){var h=u-f;c.bottom=h+5+"px";}else{var g=f+l;g<0&&(g=0),c.top=g+5+"px";}return c;}function ET(e,t,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==e.selection)return r;var o=Sf.isElement(t)&&e.isVoid(t),i=Sf.isElement(t)&&e.isInline(t),a=SO.get(t);if(null==a)return r;var u=a.getBoundingClientRect(),s=u.top,l=u.left,c=u.height,f=u.width;if(o){var d=function(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(null==r)break;if(++n>1e4)break;var o=r.nodeName;if(1===r.nodeType){var i=o.toLowerCase();if(_O.includes(i)||"iframe"===i||"video"===i)return r;var a=r.children||[],u=a.length;if(u)for(var s=u-1;s>=0;s--)t.push(a[s]);}}return null;}(a);if(null!=d){var p=d.getBoundingClientRect();s=p.top,c=p.height;}}var h=bT(e);if(null==h)return r;var g,v=h.top,y=h.left,m=h.width,b=h.height,w={},E=s-v,D=l-y;if("bar"===n)return w.left=D+"px",E>40?w.bottom=b-E+5+"px":w.top=E+c+5+"px",w;if("modal"===n)return o?i?D>(m-f)/2?w.right=m-D+5+"px":w.left=D+f+5+"px":w.left="20px":w.left=D+"px",o?((g=E)<0&&(g=0),w.top=g+"px"):E>(b-c)/2?w.bottom=b-E+5+"px":((g=E+c)<0&&(g=0),w.top=g+5+"px"),w;throw new Error("type '"+n+"' is invalid");}function DT(e,t){ZB(function(){var n=bT(e);if(null!=n){var r,o=n.top,i=n.left,a=n.width,u=n.height,s=t.offset(),l=s.top,c=s.left,f=t.width(),d=t.height(),p=l-o,h=c-i,g=t.attr("style");if(g.indexOf("top")>=0&&(r=p+d-u)>0){var v=t.css("top"),y=parseInt(v.toString())-r;y<0&&(y=0),t.css("top",y+"px");}if(g.indexOf("bottom")>=0&&l<0){var m=t.css("bottom"),b=parseInt(m.toString())-Math.abs(l);t.css("bottom",b+"px");}if(g.indexOf("left")>=0&&(r=h+f-a)>0){var w=t.css("left"),E=parseInt(w.toString())-r;E<0&&(E=0),t.css("left",E+"px");}if(g.indexOf("right")>=0&&c<0){var D=t.css("right"),S=parseInt(D.toString())-Math.abs(c);t.css("right",S+"px");}}});}var ST=iC("slice"),xT=Ww("species"),CT=lw.Array,AT=Math.max;cS({target:"Array",proto:!0,forced:!ST},{slice:function(e,t){var n,r,o,i=RD(this),a=pD(i),u=VD(e,a),s=VD(void 0===t?a:t,a);if(hD(i)&&(n=i.constructor,(DD(n)&&(n===CT||hD(n.prototype))||Yw(n)&&null===(n=n[xT]))&&(n=void 0),n===CT||void 0===n))return Ok(i,u,s);for(r=new(void 0===n?CT:n)(AT(s-u,0)),o=0;u<s;u++,o++)u in i&&tx(r,o,i[u]);return r.length=o,r;}});var OT=zD.f,kT=mw("".startsWith),BT=mw("".slice),FT=Math.min,TT=WS("startsWith"),_T=!TT&&!!function(){var e=OT(String.prototype,"startsWith");return e&&!e.writable;}();cS({target:"String",proto:!0,forced:!_T&&!TT},{startsWith:function(e){var t=bS(ww(this));VS(e);var n=dD(FT(arguments.length>1?arguments[1]:void 0,t.length)),r=bS(e);return kT?kT(t,r,n):BT(t,n,n+r.length)===r;}});var PT=Object.assign,jT=Object.defineProperty,NT=mw([].concat),IT=!PT||Rw(function(){if(Kw&&1!==PT({b:1},PT(jT({},"a",{enumerable:!0,get:function(){jT(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e;}),7!=PT({},e)[n]||fS(PT({},t)).join("")!=r;})?function(e,t){for(var n=Dw(e),r=arguments.length,o=1,i=JD.f,a=LD.f;r>o;)for(var u,s=uD(arguments[o++]),l=i?NT(fS(s),i(s)):fS(s),c=l.length,f=0;c>f;)u=l[f++],Kw&&!oE(a,s,u)||(n[u]=s[u]);return n;}:PT;cS({target:"Object",stat:!0,forced:Object.assign!==IT},{assign:IT});var LT=["props","attrs","style","dataset","on","hook"];function RT(e){var t=e.data,n=void 0===t?{}:t,r=e.children,o=void 0===r?[]:r;Object.keys(n).forEach(function(t){var r,o,i=n[t];if("key"!==t){if(!LT.includes(t)){if(t.startsWith("data-")){var a=t.slice(5);return a=Cv(a),function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.dataset&&(n.dataset={}),Object.assign(n.dataset,t);}(e,((r={})[a]=i,r)),void delete n[t];}!function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,t);}(e,(o={},o[t]=i,o)),delete n[t];}}else e.key=i;}),o.length>0&&o.forEach(function(e){"string"!=typeof e&&RT(e);});}var MT=[];var zT={};function $T(e,t,n){return Pg(n.isInline(e)?"span":"div",null,t);}function HT(e,t){return void 0===t&&(t=!1),Pg("span",{"data-slate-string":!0},t?e+"\n":e);}function VT(e,t){return void 0===e&&(e=0),void 0===t&&(t=!1),Pg("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\ufeff",t?Pg("br",null):null);}function UT(e,t,n,r){return mO.set(e,t),bO.set(e,n),Sf.isElement(e)?function(e,t){var n,r=QO.findKey(t,e),o=t.isInline(e),i=Bf.isVoid(t,e),a=QB(r.id),u={id:a,key:r.id,"data-slate-node":"element","data-slate-inline":o},s=e.type,l=e.children,c=void 0===l?[]:l,f=function(e){return zT[e]||$T;}(s);n=i?null:c.map(function(n,r){return UT(n,r,e,t);});var d=f(e,n,t);if(i){u["data-slate-void"]=!0;var p=o?"span":"div",h=aA(Nf.texts(e),1),g=aA(h[0],1)[0],v=Pg(p,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},UT(g,0,e,t));d=Pg(p,{style:{position:"relative"}},d,v),mO.set(g,0),bO.set(g,e);}return null==d.data&&(d.data={}),Object.assign(d.data,u),i||o||(d=function(e,t){var n=t;return MT.forEach(function(r){n=r(e,t);}),n;}(e,d)),ZB(function(){var t=zO(a);null!=t&&(DO.set(r,t),SO.set(e,t),EO.set(t,e));}),d;}(e,r):function(e,t,n){if(null==e.text)throw new Error("Current node is not slate Text "+JSON.stringify(e));var r=QO.findKey(n,e),o=n.getConfig().decorate;if(null==o)throw new Error("Can not get config.decorate");var i=QO.findPath(n,e),a=o([e,i]),u=ed.decorations(e,a),s=u.map(function(r,o){var i=function(e,t,n,r,o){void 0===t&&(t=!1);var i=e.text,a=QO.findPath(o,n),u=Mf.parent(a);if(Bf.isEditor(r))throw new Error("Text node "+JSON.stringify(n)+" parent is Editor");return o.isVoid(r)?VT(Nf.string(r).length):""!==i||r.children[r.children.length-1]!==n||o.isInline(r)||""!==Bf.string(o,u)?""===i?VT():t&&"\n"===i.slice(-1)?HT(i,!0):HT(i):VT(0,!0);}(r,o===u.length-1,e,t,n);return i=function(e,t){var n=t;return MT.forEach(function(t){n=t(e,n);}),n;}(r,i),Pg("span",{"data-slate-leaf":!0},i);}),l=function(e){return"w-e-text-"+e;}(r.id),c=Pg("span",{"data-slate-node":"text",id:l,key:r.id},s);return ZB(function(){var t=zO(l);null!=t&&(DO.set(r,t),SO.set(e,t),EO.set(t,e));}),c;}(e,n,r);}function WT(e,t){var n,r=e.$scroll,o=function(e){return"w-e-textarea-"+e;}(e.id),i=t.getConfig(),a=i.readOnly,u=i.autoFocus,s=function(e,t){return void 0===t&&(t=!1),pg("div#"+e,{props:{contentEditable:!t}});}(o,a),l=t.children||[];s.children=l.map(function(e,n){var r=UT(e,n,t,t);return RT(r),r;});var c=gO.get(e);if(null==c&&(c=!0),c){var f=function(e,t){return Mp('<div\n id="'+e+'"\n data-slate-editor\n data-slate-node="value"\n suppressContentEditableWarning\n role="textarea"\n spellCheck="true"\n autoCorrect="true"\n autoCapitalize="true"\n ></div>');}(o);r.append(f),e.$textArea=f,n=f[0],(p=fg([yg,Ag,Tg,wg,xg,gg]))(n,s),gO.set(e,!1),vO.set(e,p);}else{var d=yO.get(e),p=vO.get(e);if(null==d||null==p)return;n=d.elm,p(d,s);}if(null!=n||null!=(n=zO(o))){if((c?u:t.isFocused())&&n.focus({preventScroll:!0}),c){var h=index_esm_NO(n);h&&CO.set(t,h);}wO.set(t,n),SO.set(t,n),EO.set(n,t),yO.set(e,s);}}function GT(e){return"object"==typeof e&&null!=e&&1===e.nodeType;}function qT(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e;}function KT(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return qT(n.overflowY,t)||qT(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement;}catch(e){return null;}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth);}(e);}return!1;}function YT(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0;}function XT(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,u=t.skipOverflowHiddenElements,s="function"==typeof a?a:function(e){return e!==a;};if(!GT(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=e;GT(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break;}null!=f&&f===document.body&&KT(f)&&!KT(document.documentElement)||null!=f&&KT(f,u)&&c.push(f);}for(var d=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,m=v.width,b=v.top,w=v.right,E=v.bottom,D=v.left,S="start"===o||"nearest"===o?b:"end"===o?E:b+y/2,x="center"===i?D+m/2:"end"===i?w:D,C=[],A=0;A<c.length;A++){var O=c[A],k=O.getBoundingClientRect(),B=k.height,F=k.width,T=k.top,_=k.right,P=k.bottom,j=k.left;if("if-needed"===r&&b>=0&&D>=0&&E<=p&&w<=d&&b>=T&&E<=P&&D>=j&&w<=_)return C;var N=getComputedStyle(O),I=parseInt(N.borderLeftWidth,10),L=parseInt(N.borderTopWidth,10),R=parseInt(N.borderRightWidth,10),M=parseInt(N.borderBottomWidth,10),z=0,$=0,H="offsetWidth"in O?O.offsetWidth-O.clientWidth-I-R:0,V="offsetHeight"in O?O.offsetHeight-O.clientHeight-L-M:0;if(l===O)z="start"===o?S:"end"===o?S-p:"nearest"===o?YT(g,g+p,p,L,M,g+S,g+S+y,y):S-p/2,$="start"===i?x:"center"===i?x-d/2:"end"===i?x-d:YT(h,h+d,d,I,R,h+x,h+x+m,m),z=Math.max(0,z+g),$=Math.max(0,$+h);else{z="start"===o?S-T-L:"end"===o?S-P+M+V:"nearest"===o?YT(T,P,B,L,M+V,S,S+y,y):S-(T+B/2)+V/2,$="start"===i?x-j-I:"center"===i?x-(j+F/2)+H/2:"end"===i?x-_+R+H:YT(j,_,F,I,R+H,x,x+m,m);var U=O.scrollLeft,W=O.scrollTop;S+=W-(z=Math.max(0,Math.min(W+z,O.scrollHeight-B+V))),x+=U-($=Math.max(0,Math.min(U+$,O.scrollWidth-F+H)));}C.push({el:O,top:z,left:$});}return C;}function ZT(e){return e===Object(e)&&0!==Object.keys(e).length;}function JT(e,t){return LO(t)&&QO.hasDOMNode(e,t,{editable:!0});}function QT(e,t){if(e.getConfig().readOnly)return!1;var n=e_(e,t)&&QO.toSlateNode(e,t);return Bf.isVoid(e,n);}function e_(e,t){return LO(t)&&QO.hasDOMNode(e,t);}function t_(e,t,n){void 0===n&&(n=!1);var r=t.selection,o=t.getConfig(),i=QO.findDocumentOrShadowRoot(t).getSelection();if(i&&(!e.isComposing||n)&&t.isFocused()){var a="None"!==i.type;if(r||a){var u=wO.get(t),s=!1;if(u.contains(i.anchorNode)&&u.contains(i.focusNode)&&(s=!0),a&&s&&r){var l=QO.toSlateRange(t,i,{exactMatch:!0,suppressThrow:!0});if(l&&qf.equals(l,r)){var c=!0;if(qf.isCollapsed(r)){var f=i.anchorNode,d=i.anchorOffset;if(f===u){var p=u.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(c=!1),(h=p[d-1])&&h.matches("table")&&(c=!1);}}if(c)return;}}if(!r||QO.hasRange(t,r)){e.isUpdatingSelection=!0;var g=r&&QO.toDOMRange(t,r);if(g){qf.isBackward(r)?i.setBaseAndExtent(g.endContainer,g.endOffset,g.startContainer,g.startOffset):i.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset);var v=g.startContainer.parentElement;if(!v.closest("[data-slate-spacer]")){v.getBoundingClientRect=g.getBoundingClientRect.bind(g);var y=document.body;(function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(ZT(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:XT(e,t));if(!n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:ZT(e)?e:{block:"start",inline:"nearest"};}(t);(function(e,t){void 0===t&&(t="auto");var n=("scrollBehavior"in document.body.style);e.forEach(function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i);});})(XT(e,r),r.behavior);}})(v,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:y,block:"end",behavior:"smooth"}),delete v.getBoundingClientRect;}}else i.removeAllRanges();setTimeout(function(){g&&qO&&u.focus(),e.isUpdatingSelection=!1;});}else t.selection=QO.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1});}}}var n_=new WeakMap(),r_=new WeakMap(),o_={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},i_={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},a_={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},u_=function(e){var t=o_[e],n=i_[e],r=a_[e],o=t&&Nv(t),i=n&&Nv(n),a=r&&Nv(r);return function(e){return!(!o||!o(e))||!!(GO&&i&&i(e))||!(GO||!a||!a(e));};},s_={isBold:u_("bold"),isCompose:u_("compose"),isMoveBackward:u_("moveBackward"),isMoveForward:u_("moveForward"),isDeleteBackward:u_("deleteBackward"),isDeleteForward:u_("deleteForward"),isDeleteLineBackward:u_("deleteLineBackward"),isDeleteLineForward:u_("deleteLineForward"),isDeleteWordBackward:u_("deleteWordBackward"),isDeleteWordForward:u_("deleteWordForward"),isExtendBackward:u_("extendBackward"),isExtendForward:u_("extendForward"),isExtendLineBackward:u_("extendLineBackward"),isExtendLineForward:u_("extendLineForward"),isItalic:u_("italic"),isMoveLineBackward:u_("moveLineBackward"),isMoveLineForward:u_("moveLineForward"),isMoveWordBackward:u_("moveWordBackward"),isMoveWordForward:u_("moveWordForward"),isRedo:u_("redo"),isSplitBlock:u_("splitBlock"),isTransposeCharacter:u_("transposeCharacter"),isUndo:u_("undo"),isTab:u_("tab"),isSelectAll:u_("selectAll")};function l_(e){e.preventDefault();}var c_={beforeinput:function(e,t,n){var r=e,o=n.getConfig().readOnly;if(JO&&!o&&JT(n,r.target)){var i=n.selection,a=r.inputType,u=r.dataTransfer||r.data||void 0;if("insertCompositionText"!==a&&"deleteCompositionText"!==a){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var s=aA(r.getTargetRanges(),1)[0];if(s){var l=QO.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&qf.equals(i,l)||md.select(n,l);}}if(i&&qf.isExpanded(i)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";Bf.deleteFragment(n,{direction:c});}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":Bf.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":Bf.deleteForward(n);break;case"deleteContentBackward":Bf.deleteBackward(n);break;case"deleteEntireSoftLine":Bf.deleteBackward(n,{unit:"line"}),Bf.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":Bf.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":Bf.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":Bf.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":Bf.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":Bf.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":Bf.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":Bf.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===a&&!BO.get(n))break;u instanceof DataTransfer?n.insertData(u):"string"==typeof u&&Bf.insertText(n,u);}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,i=t.latestElement;if(!n.getConfig().readOnly&&!o&&JT(n,r.target)){var a=QO.findDocumentOrShadowRoot(n);if(i!==a.activeElement){var u=r.relatedTarget;if(!(u===QO.toDOMNode(n,n)||IO(u)&&u.hasAttribute("data-slate-spacer"))){if(null!=u&&LO(u)&&QO.hasDOMNode(n,u)){var s=QO.toSlateNode(n,u);if(Sf.isElement(s)&&!n.isVoid(s))return;}if(KO){var l=a.getSelection();null==l||l.removeAllRanges();}AO.delete(n);}}}},focus:function(e,t,n){var r=QO.toDOMNode(n,n),o=QO.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,qO&&e.target!==r?r.focus():AO.set(n,!0);},click:function(e,t,n){if(!n.getConfig().readOnly&&e_(n,e.target)&&LO(e.target)){var r=QO.toSlateNode(n,e.target),o=QO.findPath(n,r);if(Bf.hasPath(n,o)&&Nf.get(n,o)===r){var i=Bf.start(n,o),a=Bf.end(n,o),u=Bf.void(n,{at:i}),s=Bf.void(n,{at:a});if(u&&s&&Mf.equals(u[1],s[1])){var l=Bf.range(n,i);md.select(n,l);}}}},compositionstart:function(e,t,n){if(JT(n,e.target)){var r=n.selection;if(r&&qf.isExpanded(r)&&(Bf.deleteFragment(n),Promise.resolve().then(function(){t_(t,n,!0);})),r&&qf.isCollapsed(r)){var o=QO.toDOMRange(n,r).startContainer,i=o.textContent||"";n_.set(n,i),r_.set(n,o);}t.isComposing=!0,function(e,t){var n;t.getConfig().placeholder&&t.isEmpty()&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1);}(t,n);}},compositionend:function(e,t,n){var r=e;if(JT(n,r.target)){t.isComposing=!1;var o=n.selection;if(null!=o){(ZO||qO)&&QO.cleanExposedTexNodeInSelectionBlock(n);for(var i=qf.isBackward(o)?o.focus:o.anchor,a=aA(Bf.node(n,[i.path[0]]),1)[0],u=0;u<i.path.length;u++){var s=aA(Bf.node(n,i.path.slice(0,u+1)),1)[0];if(Sf.isElement(s)&&((KO||qO)&&"link"===s.type||"code"===s.type)){QO.setNewKey(a);break;}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=QO.getLeftLengthOfMaxLength(n);c<l.length?(QO.toDOMRange(n,o).startContainer.textContent=n_.get(n)||"",c>0&&Bf.insertText(n,l.slice(0,c)),t.changeViewState()):Bf.insertText(n,l);}else Bf.insertText(n,l);KO||setTimeout(function(){var e=n.selection;if(null!=e){var t=r_.get(n);null!=t&&QO.toDOMRange(n,e).startContainer!==t&&(t.textContent=n_.get(n)||"");}});}}}},compositionupdate:function(e,t,n){JT(n,e.target)&&(t.isComposing=!0);},keydown:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&JT(n,r.target)){if(function(e,t){var n=sO.get(e),r=n&&n.getMenus(),o=cO.get(e),i=o&&o.getMenus(),a=oA(oA({},r),i);for(var u in a){var s=a[u],l=s.hotkey;if(l&&jv(l,t)&&!s.isDisabled(e)){var c=s.getValue(e);s.exec(e,c);}}}(n,r),s_.isTab(r))return l_(r),void n.handleTab();if(s_.isRedo(r))return l_(r),void("function"==typeof n.redo&&n.redo());if(s_.isUndo(r))return l_(r),void("function"==typeof n.undo&&n.undo());if(s_.isMoveLineBackward(r))return l_(r),void md.move(n,{unit:"line",reverse:!0});if(s_.isMoveLineForward(r))return l_(r),void md.move(n,{unit:"line"});if(s_.isExtendLineBackward(r))return l_(r),void md.move(n,{unit:"line",edge:"focus",reverse:!0});if(s_.isExtendLineForward(r))return l_(r),void md.move(n,{unit:"line",edge:"focus"});if(s_.isMoveBackward(r))return l_(r),void(o&&qf.isCollapsed(o)?md.move(n,{reverse:!0}):md.collapse(n,{edge:"start"}));if(s_.isMoveForward(r))return l_(r),void(o&&qf.isCollapsed(o)?md.move(n):md.collapse(n,{edge:"end"}));if(s_.isMoveWordBackward(r))return l_(r),o&&qf.isExpanded(o)&&md.collapse(n,{edge:"focus"}),void md.move(n,{unit:"word",reverse:!0});if(s_.isMoveWordForward(r))return l_(r),o&&qf.isExpanded(o)&&md.collapse(n,{edge:"focus"}),void md.move(n,{unit:"word"});if(s_.isSelectAll(r))return l_(r),void n.selectAll();if(JO){if((ZO||KO)&&o&&(s_.isDeleteBackward(r)||s_.isDeleteForward(r))&&qf.isCollapsed(o)){var i=Nf.parent(n,o.anchor.path);if(Sf.isElement(i)&&Bf.isVoid(n,i)&&Bf.isInline(n,i))return r.preventDefault(),void md.delete(n,{unit:"block"});}}else{if(s_.isBold(r)||s_.isItalic(r)||s_.isTransposeCharacter(r))return void l_(r);if(s_.isSplitBlock(r))return l_(r),void Bf.insertBreak(n);if(s_.isDeleteBackward(r))return l_(r),void(o&&qf.isExpanded(o)?Bf.deleteFragment(n,{direction:"backward"}):Bf.deleteBackward(n));if(s_.isDeleteForward(r))return l_(r),void(o&&qf.isExpanded(o)?Bf.deleteFragment(n,{direction:"forward"}):Bf.deleteForward(n));if(s_.isDeleteLineBackward(r))return l_(r),void(o&&qf.isExpanded(o)?Bf.deleteFragment(n,{direction:"backward"}):Bf.deleteBackward(n,{unit:"line"}));if(s_.isDeleteLineForward(r))return l_(r),void(o&&qf.isExpanded(o)?Bf.deleteFragment(n,{direction:"forward"}):Bf.deleteForward(n,{unit:"line"}));if(s_.isDeleteWordBackward(r))return l_(r),void(o&&qf.isExpanded(o)?Bf.deleteFragment(n,{direction:"backward"}):Bf.deleteBackward(n,{unit:"word"}));if(s_.isDeleteWordForward(r))return l_(r),void(o&&qf.isExpanded(o)?Bf.deleteFragment(n,{direction:"forward"}):Bf.deleteForward(n,{unit:"word"}));}}},keypress:function(e,t,n){if(!JO&&!n.getConfig().readOnly&&JT(n,e.target)){e.preventDefault();var r=e.key;Bf.insertText(n,r);}},copy:function(e,t,n){var r=e;if(JT(n,r.target)){r.preventDefault();var o=r.clipboardData;null!=o&&n.setFragmentData(o);}},cut:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&JT(n,r.target)){r.preventDefault();var i=r.clipboardData;if(null!=i&&(n.setFragmentData(i),o))if(qf.isExpanded(o))Bf.deleteFragment(n);else{var a=Nf.parent(n,o.anchor.path);Bf.isVoid(n,a)&&md.delete(n);}}},paste:function(e,t,n){BO.set(n,!0);var r=e;if(!n.getConfig().readOnly&&JT(n,r.target)){var o=n.getConfig().customPaste;if(o&&!1===o(n,r))return void BO.set(n,!1);if(!JO||function(e){return e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length;}(r)){r.preventDefault();var i=r.clipboardData;null!=i&&n.insertData(i);}}},dragover:function(e,t,n){if(e_(n,e.target)){var r=QO.toSlateNode(n,e.target);Bf.isVoid(n,r)&&e.preventDefault();}},dragstart:function(e,t,n){var r=e;if(e_(n,r.target)&&!n.getConfig().readOnly){var o=QO.toSlateNode(n,r.target),i=QO.findPath(n,o);if(Bf.isVoid(n,o)||Bf.void(n,{at:i,voids:!0})){var a=Bf.range(n,i);md.select(n,a);}var u=r.dataTransfer;null!=u&&(t.isDraggingInternally=!0,n.setFragmentData(u));}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&e_(n,r.target)&&(t.isDraggingInternally=!1);},drop:function(e,t,n){var r=e,o=r.dataTransfer;if(!n.getConfig().readOnly&&e_(n,r.target)&&null!=o&&!(JO&&KO&&o.files.length>0)){r.preventDefault();var i=n.selection,a=QO.findEventRange(n,r);md.select(n,a),t.isDraggingInternally&&(i&&md.delete(n,{at:i}),t.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus();}}},f_=1,d_=function(){function e(e){var t=this;this.id=f_++,this.$textArea=null,this.$progressBar=Mp('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=Mp('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=eg(function(){var e=t.editorInstance;!function(e,t){var n=e.isComposing,r=e.isUpdatingSelection,o=e.isDraggingInternally;if(!(t.getConfig().readOnly||n||r||o)){var i=QO.findDocumentOrShadowRoot(t),a=i.activeElement,u=QO.toDOMNode(t,t),s=i.getSelection();if(a===u?(e.latestElement=a,AO.set(t,!0)):AO.delete(t),!s)return md.deselect(t);var l=s.anchorNode,c=s.focusNode,f=JT(t,l)||QT(t,l),d=JT(t,c)||QT(t,c);if(f&&d){var p=QO.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!1});md.select(t,p);}else md.deselect(t);}}(t,e);},100);var n=Mp(e);if(0===n.length)throw new Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=n;var r=Mp('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=Mp('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,ZB(function(){var e=t.editorInstance,n=QO.getWindow(e);n.document.addEventListener("selectionchange",t.onDOMSelectionChange),e.on("destroyed",function(){n.document.removeEventListener("selectionchange",t.onDOMSelectionChange);}),r.on("click",function(){return e.hidePanelOrModal();}),e.on("change",t.changeViewState.bind(t));var o=e.getConfig().onChange;o&&e.on("change",function(){return o(e);}),t.onFocusAndOnBlur(),e.on("change",t.changeMaxLengthInfo.bind(t)),t.bindEvent();});}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var e=aO.get(this);if(null==e)throw new Error("Can not get editor instance");return e;},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=t&&(Lh(c_,function(n,o){t.on(o,function(t){n(t,e,r);});}),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",eg(function(){r.emit("scroll");},100))));},e.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=t.selection,t.on("change",function(){null==e.latestEditorSelection&&null!=t.selection?setTimeout(function(){return o&&o(t);}):null!=e.latestEditorSelection&&null==t.selection&&setTimeout(function(){return r&&r(t);}),e.latestEditorSelection=t.selection;});},e.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-QO.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=n+"/"+t;}},e.prototype.changeProgress=function(e){var t=this.$progressBar;t.css("width",e+"%"),e>=100&&setTimeout(function(){t.hide(),t.css("width","0"),t.show();},1e3);},e.prototype.changeViewState=function(){var e=this,t=this.editorInstance;WT(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var o=t.isEmpty();if(o&&!e.showPlaceholder&&!e.isComposing){if(null==e.$placeholder){var i=Mp('<div class="w-e-text-placeholder">'+r+"</div>");e.$textAreaContainer.append(i),e.$placeholder=i;}return e.$placeholder.show(),void(e.showPlaceholder=!0);}!o&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1);}}(this,t),ZB(function(){t_(e,t);});},e.prototype.destroy=function(){this.$textAreaContainer.remove();},e;}();function p_(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&p_(t);}function h_(){return Mp('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>');}function g_(){return Mp('<div class="w-e-bar-divider"></div>');}function v_(e,t,n,r,o){if(void 0===o&&(o=!1),t){if(r){var i=GO?"cmd":"ctrl";r=r.replace("mod",i);}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var a=r?n+"\n"+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5");}}}NC("match",function(e,t,n){return[function(t){var n=ww(this),r=null==t?void 0:dE(t,e);return r?oE(r,t,n):new RegExp(t)[e](bS(n));},function(e){var r=nE(this),o=bS(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return GC(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=GC(r,o));){var c=bS(u[0]);s[l]=c,""===c&&(r.lastIndex=LC(o,dD(r.lastIndex),a)),l++;}return 0===l?null:s;}];});var y_=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=Mp('<div class="w-e-bar-item"></div>'),this.$button=Mp('<button type="button"></button>'),this.disabled=!1,this.menu=t;var o=t.tag,i=t.width;if("button"!==o)throw new Error("Invalid tag '"+o+"', expected 'button'");var a=t.title,u=t.hotkey,s=void 0===u?"":u,l=t.iconSvg,c=void 0===l?"":l,f=this.$button;if(c){var d=Mp(c);p_(d),f.append(d);}else f.text(a);v_(f,c,a,s,n),n&&c&&f.append(Mp('<span class="title">'+a+"</span>")),i&&f.css("width",i+"px"),f.attr("data-menu-key",e),this.$elem.append(f),ZB(function(){return r.init();});}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(t){t.preventDefault(),T_(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick());});},e.prototype.exec=function(){var e=T_(this),t=this.menu,n=t.getValue(e);t.exec(e,n);},e.prototype.setActive=function(){var e=T_(this),t=this.$button,n="active";this.menu.isActive(e)?t.addClass(n):t.removeClass(n);},e.prototype.setDisabled=function(){var e=T_(this),t=this.$button,n=this.menu.isDisabled(e);(null==e.selection||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?t.addClass(r):t.removeClass(r),this.disabled=n;},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled();},e;}(),m_=function(e){function t(t,n,r){return void 0===r&&(r=!1),e.call(this,t,n,r)||this;}return rA(t,e),t.prototype.onButtonClick=function(){},t;}(y_),b_=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e);}return e.prototype.record=function(e){var t=dO.get(e);null==t&&(t=new Set(),dO.set(e,t)),t.add(this),pO.set(this,e);},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n);},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t);},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=pO.get(this);e&&e.emit("modalOrPanelShow",this);}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=pO.get(this);e&&e.emit("modalOrPanelHide");}},e;}(),w_=function(e){function t(t){var n=e.call(this,t)||this;return n.type="dropPanel",n.$elem=Mp('<div class="w-e-drop-panel"></div>'),n;}return rA(t,e),t.prototype.genSelfElem=function(){return null;},t;}(b_),E_=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=h_();o.$button.append(i);}return o;}return rA(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel();},t.prototype.handleDropPanel=function(){var e=this.menu;if(null!=e.getPanelContentElem){var t=T_(this);if(null==this.dropPanel){var n=new w_(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n;}else{var o=this.dropPanel;o.isShow?o.hide():(r=e.getPanelContentElem(t),o.renderContent(r),o.show());}var i=this.dropPanel;if(i.isShow){var a=this.$elem,u=a.offset().left,s=a.parents(".w-e-bar");u-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"});}}},t;}(y_),D_=function(e){function t(t,n){void 0===n&&(n=0);var r=e.call(this,t)||this;r.type="modal",r.$elem=Mp('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",function(e){return e.stopPropagation();}),o.on("keyup",function(e){"Escape"===e.code&&(r.hide(),t.restoreSelection());}),r;}return rA(t,e),t.prototype.genSelfElem=function(){var e=this,t=Mp('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),n=pO.get(this);return t.on("click",function(){e.hide(),null==n||n.restoreSelection();}),t;},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr("style",""),t&&n.css("width",t+"px"),n.css(e);},t;}(b_);function S_(e,t,n){var r=Mp('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=Mp('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]];}function x_(e,t,n){var r=Mp('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=Mp('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]];}function C_(e,t){var n=Mp('<div class="button-container"></div>'),r=Mp('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]];}var A_=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;return o.$body=Mp("body"),o.modal=null,o.menu=n,o;}return rA(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal();},t.prototype.getPosition=function(){var e=T_(this),t=this.menu.getModalPositionNode(e);return Sf.isElement(t)?ET(e,t,"modal"):wT(e);},t.prototype.handleModal=function(){var e=T_(this),t=this.menu;if(null==this.modal){var n=new D_(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n;}else(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1);},t.prototype.renderAndShowModal=function(e,t){void 0===t&&(t=!1);var n=T_(this),r=this.menu;if(null!=r.getModalContentElem){var o=QO.getTextarea(n),i=QO.getToolbar(n),a=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,u=r.getModalContentElem(n);if(e.renderContent(u),a)e.setStyle({left:"0",right:"0"});else{var s=this.getPosition();e.setStyle(s);}t&&(a?e.appendTo(this.$body):e.appendTo(o.$textAreaContainer)),e.show(),a||DT(n,e.$elem),setTimeout(function(){n.blur();});}},t;}(y_),O_=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="selectList",r.$elem=Mp('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width",n+"px"),r.$elem.on("click",function(e){e.stopPropagation();}),r;}return rA(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=Mp("<ul></ul>");e.forEach(function(e){var t=e.value,r=e.text,o=e.selected,i=e.styleForRenderMenuList,a=Mp('<li data-value="'+t+'"></li>');if(i&&a.css(i),o){var u=Mp('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');a.append(u),a.addClass("selected");}a.append(Mp('<span data-value="'+t+'">'+r+"</span>")),a.attr("title",r),n.append(a);}),t.append(n);},t.prototype.genSelfElem=function(){return null;},t;}(b_),k_=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=Mp('<div class="w-e-bar-item"></div>'),this.$button=Mp('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=t.tag,i=t.title,a=t.width,u=t.iconSvg,s=void 0===u?"":u,l=t.hotkey,c=void 0===l?"":l;if("select"!==o)throw new Error("Invalid tag '"+o+"', expected 'select'");var f=this.$button;a&&f.css("width",a+"px"),f.attr("data-menu-key",e),v_(f,s,i,c,n),this.$elem.append(f),this.menu=t,ZB(function(){return r.init();});}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",function(t){t.preventDefault(),T_(e).hidePanelOrModal(),e.trigger();});},e.prototype.trigger=function(){var e=this,t=T_(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new O_(t,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(t);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",function(t){var n=t.target;if(null!=n){t.preventDefault();var r=Mp(n).attr("data-value");e.onChange(r);}});}else(r=this.selectList).isShow?r.hide():(o=n.getOptions(t),r.renderList(o),r.show());}},e.prototype.onChange=function(e){var t=T_(this),n=this.menu;n.exec&&n.exec(t,e);},e.prototype.setSelectedValue=function(){var e=T_(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r="",o=0;o<n;o++){var i=e[o];if(i.value===t){r=i.text;break;}}return r;}(t.getOptions(e),n.toString()),o=this.$button,i=h_();o.empty(),o.text(r),o.append(i);},e.prototype.setDisabled=function(){var e=T_(this),t=this.menu.isDisabled(e),n=this.$button;(null==e.selection||e.isDisabled())&&(t=!0);var r="disabled";t?n.addClass(r):n.removeClass(r),this.disabled=t;},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled();},e;}(),B_=function(){function e(e){this.$elem=Mp('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=Mp('<div class="w-e-bar-item-menus-container"></div>'),this.$button=Mp('<button type="button"></button>');var t=e.key,n=e.iconSvg,r=e.title,o=this.$elem,i=this.$button;if(n){var a=Mp(n);p_(a),i.append(a);}else i.text(r);i.attr("data-menu-key",t);var u=h_();i.append(u),o.append(i);var s=this.$container;o.append(s);var l=this.createObserver();this.observe(l);}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t);},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0});},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver(function(){var o=t.find("button"),i=o.length;if(0!==i){var a=0;o.each(function(e){Mp(e).hasClass("disabled")&&a++;}),r.disconnect(),a===i?n.addClass("disabled"):n.removeClass("disabled"),e.observe(r);}});return r;},e;}(),F_=new WeakMap();function T_(e){var t=fO.get(e);if(null==t)throw new Error("Can not get editor instance");return t;}function __(e,t,n){void 0===n&&(n=!1);var r=F_.get(t);if(r)return r;var o=t.tag;if("button"===o){var i=t.showDropPanel,a=t.showModal;r=i?new E_(e,t,n):a?new A_(e,t,n):new m_(e,t,n);}if("select"===o&&(r=new k_(e,t,n)),null==r)throw new Error("Invalid tag in menu "+JSON.stringify(t));return F_.set(t,r),r;}function P_(e,t){var n=e.selection;return null!=n&&!qf.isCollapsed(n)&&!QO.getSelectedElems(e).some(function(t){if(e.isVoid(t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0;})&&!!ed.isText(t);}var j_=function(){function e(){var e=this;this.$elem=Mp('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=Zv(function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys,a=void 0===i?[]:i;null!=o&&e.changeItemsState(),o&&Sf.isElement(o)&&t&&e.isSamePath(o,e.prevSelectedNode)||(e.hideAndClean(),null!=o&&(e.registerItems(a),e.setPosition(o),e.show()),e.prevSelectedNode=o);},200),ZB(function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",function(e){return e.preventDefault();},{passive:!1}),QO.getTextarea(t).$textAreaContainer.append(n),t.on("change",e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on("scroll",r),t.on("fullScreen",r),t.on("unFullScreen",r);});}return e.prototype.getMenus=function(){return this.menus;},e.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1;},e.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&n-e[0].getBoundingClientRect().bottom<360&&(t=!0),t?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom");},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom();},e.prototype.changeItemsState=function(){var e=this;ZB(function(){e.hoverbarItems.forEach(function(e){e.changeMenuState();});});},e.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach(function(e){if("|"!==e)t.registerSingleItem(e);else{var r=g_();n.append(r);}});},e.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(null==r){var o=nk[e];if(null==o)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof o)throw new Error("Menu item factory (key='"+e+"') is not a function");r=o(),n[e]=r;}var i=__(e,r);this.hoverbarItems.push(i),fO.set(i,t),this.$elem.append(i.$elem);},e.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),Sf.isElement(e)){var r=ET(t,e,"bar");return n.css(r),void DT(t,n);}if(ed.isText(e))return r=wT(t),n.css(r),void DT(t,n);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text");},e.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(null==e.selection)return null;var t=this.getHoverbarKeysConf(),n=null,r=[],o=function(o){var i=t[o],a=i.match,u=i.menuKeys,s=void 0===u?[]:u,l=a||function(e,t){return QO.checkNodeType(t,o);},c=aA(Bf.nodes(e,{match:function(t){return l(e,t);},universal:!0}),1),f=c[0];if(null!=f)return n=f[0],r=s,"break";};for(var i in t)if("break"===o(i))break;return null==n||0===r.length?null:{node:n,menuKeys:r};},e.prototype.getEditorInstance=function(){var e=lO.get(this);if(null==e)throw new Error("Can not get editor instance");return e;},e.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=void 0===e?{}:e,n=t.text;return n&&null==n.match&&(n.match=P_),t;},e.prototype.isSamePath=function(e,t){if(null==e||null==t)return!1;var n=QO.findPath(null,e),r=QO.findPath(null,t);return Mf.equals(n,r);},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null;},e;}();function N_(e,t,n,r){if(mO.set(e,t),bO.set(e,n),Sf.isElement(e)){var o=e.children;if((void 0===o?[]:o).forEach(function(t,n){return N_(t,n,e,r);}),Bf.isVoid(r,e)){var i=aA(Nf.texts(e),1),a=aA(i[0],1)[0];mO.set(a,0),bO.set(a,e);}}}function I_(e){var t=e.selector,n=void 0===t?"":t,r=e.config,o=void 0===r?{}:r,i=e.content,a=e.html,u=e.plugins,s=void 0===u?[]:u,l=(e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];yS.withoutSaving(t,()=>{Bf.withoutNormalizing(t,()=>{for(var e of r)t.apply(e);});}),e.redos.pop(),e.undos.push(r);}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];yS.withoutSaving(t,()=>{Bf.withoutNormalizing(t,()=>{var e=r.map(Rf.inverse).reverse();for(var n of e)t.apply(n);});}),e.redos.push(r),e.undos.pop();}},t.apply=e=>{var{operations:r,history:o}=t,{undos:i}=o,a=i[i.length-1],u=a&&a[a.length-1],s=((e,t)=>!(!t||"set_selection"!==e.type||"set_selection"!==t.type))(e,u),l=yS.isSaving(t),c=yS.isMerging(t);if(null==l&&(l=((e,t)=>"set_selection"!==e.type||null!=e.properties&&null!=e.newProperties)(e)),l){if(null==c&&(c=null!=a&&(0!==r.length||((e,t)=>"set_selection"===e.type||!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Mf.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Mf.equals(e.path,t.path)))(e,u)||s)),a&&c)s&&a.pop(),a.push(e);else{var f=[e];i.push(f);}for(;i.length>100;)i.shift();(e=>"set_selection"!==e.type)(e)&&(o.redos=[]);}n(e);},t;})(function(e){var t=e,n=t.insertText,r=t.insertNode,o=t.insertFragment,i=t.dangerouslyInsertHtml;return t.insertText=function(e){if(t.getConfig().maxLength){var r=QO.getLeftLengthOfMaxLength(t);r<=0||(r<e.length?n(e.slice(0,r)):n(e));}else n(e);},t.insertNode=function(e){if(t.getConfig().maxLength){var n=QO.getLeftLengthOfMaxLength(t);n<=0||n<Nf.string(e).length||r(e);}else r(e);},t.insertFragment=function(e){if(t.getConfig().maxLength){if(1!==e.length)e.forEach(function(e){t.insertNode(e);});else{var n=e[0];if(QO.getLeftLengthOfMaxLength(t)<Nf.string(n).length)return;o(e);}}else o(e);},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e)if(t.getConfig().maxLength){var r=QO.getLeftLengthOfMaxLength(t);if(!(r<=0)){var o=document.createElement("div");o.innerHTML=e;var a=Array.from(o.childNodes).reduce(function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===PO.TEXT_NODE?e+(t.textContent||""):n===PO.ELEMENT_NODE?UF.has(r.toLowerCase())?e:e+(t.textContent||""):e:e;},"");r<a.length||i(e,n);}}else i(e,n);},t;}(function(e){var t=e;return t.on=function(e,n){var r=hT(t);if(r.on(e,n),"destroyed"===e&&vT(t,n),"destroyed"!==e){var o=function(){return r.off(e,n);};r.on("destroyed",o),vT(t,o);}},t.once=function(e,n){hT(t).once(e,n);},t.off=function(e,n){hT(t).off(e,n);},t.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=hT(t);o.emit.apply(o,uA([e],aA(n))),"destroyed"===e&&(yT(t).forEach(function(e){return o.off("destroyed",e);}),mT(t));},t;}(function(e){var t=e;return t.select=function(e){md.select(t,e);},t.deselect=function(){var n=t.selection,r=QO.findDocumentOrShadowRoot(t).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),n&&md.deselect(e);},t.move=function(t,n){void 0===n&&(n=!1),t&&(t<0||md.move(e,{distance:t,unit:"character",reverse:n}));},t.moveReverse=function(e){t.move(e,!0);},t.restoreSelection=function(){var e=OO.get(t);null!=e&&(t.focus(),md.select(t,e));},t.getSelectionPosition=function(){return wT(t);},t.getNodePosition=function(e){return ET(t,e);},t.isSelectedAll=function(){var e=t.selection;if(null==e)return!1;var n=aA(qf.edges(e),2),r=n[0],o=n[1],i=aA(Bf.edges(t,[]),2),a=i[0],u=i[1];return!(!Vf.equals(r,a)||!Vf.equals(o,u));},t.selectAll=function(){var e=Bf.start(t,[]),n=Bf.end(t,[]);md.select(t,{anchor:e,focus:n});},t;}(function(e){var t=e,n=t.onChange,r=t.insertText,o=t.apply,i=t.deleteBackward;return t.insertText=function(e){t.getConfig().readOnly||r(e);},t.apply=function(e){var n,r,i,a,u,s,l,c,f=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":try{for(var d=iA(Bf.levels(t,{at:e.path})),p=d.next();!p.done;p=d.next()){var h=aA(p.value,2),g=h[0],v=h[1],y=QO.findKey(t,g);f.push([v,y]);}}catch(e){n={error:e};}finally{try{p&&!p.done&&(r=d.return)&&r.call(d);}finally{if(n)throw n.error;}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var m=iA(Bf.levels(t,{at:Mf.parent(e.path)})),b=m.next();!b.done;b=m.next()){var w=aA(b.value,2);g=w[0],v=w[1],y=QO.findKey(t,g),f.push([v,y]);}}catch(e){i={error:e};}finally{try{b&&!b.done&&(a=m.return)&&a.call(m);}finally{if(i)throw i.error;}}break;case"move_node":try{for(var E=iA(Bf.levels(t,{at:Mf.common(Mf.parent(e.path),Mf.parent(e.newPath))})),D=E.next();!D.done;D=E.next()){var S=aA(D.value,2);g=S[0],v=S[1],y=QO.findKey(t,g),f.push([v,y]);}}catch(e){u={error:e};}finally{try{D&&!D.done&&(s=E.return)&&s.call(E);}finally{if(u)throw u.error;}}}o(e);try{for(var x=iA(f),C=x.next();!C.done;C=x.next()){var A=aA(C.value,2);v=A[0],y=A[1],g=aA(Bf.node(t,v),1)[0],xO.set(g,y);}}catch(e){l={error:e};}finally{try{C&&!C.done&&(c=x.return)&&c.call(x);}finally{if(l)throw l.error;}}},t.deleteBackward=function(n){if("line"!==n)return i(n);if(e.selection&&qf.isCollapsed(e.selection)){var r=Bf.above(e,{match:function(t){return Bf.isBlock(e,t);},at:e.selection});if(r){var o=aA(r,2)[1],a=Bf.range(e,o,e.selection.anchor),u=function(e,t){var n=Bf.range(e,qf.end(t)),r=Array.from(Bf.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(tF(e,Bf.range(e,r[o]),n))return Bf.range(e,r[o],n);if(r.length<2)return Bf.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)tF(e,Bf.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return Bf.range(e,r[i],n);}(t,a);qf.isCollapsed(u)||md.delete(e,{at:u});}}},t.onChange=function(){var e=t.selection;null!=e&&OO.set(t,e),t.emit("change"),n();},t.handleTab=function(){t.insertText(" ");},t.getHtml=function(){var e=t.children;return(void 0===e?[]:e).map(function(e){return JB(e,t);}).join("");},t.getText=function(){var e=t.children;return(void 0===e?[]:e).map(function(e){return Nf.string(e);}).join("\n");},t.getSelectionText=function(){var n=t.selection;return null==n?"":Bf.string(e,n);},t.getElemsByType=function(e,n){var r,o;void 0===n&&(n=!1);var i=[],a=Bf.nodes(t,{at:[],universal:!0});try{for(var u=iA(a),s=u.next();!s.done;s=u.next()){var l=aA(s.value,1)[0];if(Sf.isElement(l)&&(n?l.type.indexOf(e)>=0:l.type===e)){var c=QB(QO.findKey(t,l).id);i.push(oA(oA({},l),{id:c}));}}}catch(e){r={error:e};}finally{try{s&&!s.done&&(o=u.return)&&o.call(u);}finally{if(r)throw r.error;}}return i;},t.getElemsByTypePrefix=function(e){return t.getElemsByType(e,!0);},t.isEmpty=function(){var e=t.children,n=void 0===e?[]:e;if(n.length>1)return!1;var r=n[0];if(null==r)return!0;if(Sf.isElement(r)&&"paragraph"===r.type){var o=r.children,i=void 0===o?[]:o;if(i.length>1)return!1;var a=i[0];if(null==a)return!0;if(ed.isText(a)&&""===a.text)return!0;}return!1;},t.clear=function(){md.delete(t,{at:{anchor:Bf.start(t,[]),focus:Bf.end(t,[])}}),0===t.children.length&&md.insertNodes(t,[{type:"paragraph",children:[{text:""}]}]);},t.getParentNode=function(e){return QO.getParentNode(t,e);},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e){var r=document.createElement("div");r.innerHTML=e;var o=Array.from(r.childNodes);if(o=o.filter(function(e){var t=e.nodeType,n=e.nodeName;return t===PO.TEXT_NODE||t===PO.ELEMENT_NODE&&!UF.has(n.toLowerCase());}),0!==o.length){var i=t.selection;if(null!=i){var a=null;QO.isSelectedEmptyParagraph(t)&&!n&&(a=[i.focus.path[0]]),r.setAttribute("hidden","true"),document.body.appendChild(r);var u=0;o.forEach(function(e){var n=e.nodeType,r=e.nodeName,o=e.textContent,i=void 0===o?"":o;if(n!==PO.TEXT_NODE){if("BR"!==r){var a=e,s=!1;if(nF.includes(r.toLowerCase()))s=!0;else for(var l in iF)if(a.matches(l)){s=!0;break;}if(s){var c=IF(Mp(a),t);return Array.isArray(c)?(c.forEach(function(e){return WF(t,e);}),u++):(WF(t,c),u++),void(QO.isSelectedVoidNode(t)&&t.move(1));}var f=window.getComputedStyle(a).display;QO.isSelectedEmptyParagraph(t)||f.indexOf("inline")<0&&t.insertBreak(),t.dangerouslyInsertHtml(a.innerHTML,!0);}else t.insertText("\n");}else{if(!i||!i.trim())return;t.insertNode({text:i});}}),u&&a&&QO.isEmptyPath(t,a)&&md.removeNodes(t,{at:a}),r.remove();}}}},t.setHtml=function(e){void 0===e&&(e="");var n=t.isDisabled(),r=t.isFocused(),o=JSON.stringify(t.selection);t.enable(),t.focus(),t.clear();var i=RF(t,e);if(md.insertFragment(t,i),r||(t.deselect(),t.blur()),n&&(t.deselect(),t.disable()),t.isFocused())try{t.select(JSON.parse(o));}catch(e){t.select(Bf.start(t,[]));}},t;}(function(e){var t=e;return t.getAllMenuKeys=function(){var e=[];for(var t in nk)e.push(t);return e;},t.getConfig=function(){var e=hO.get(t);if(null==e)throw new Error("Can not get editor config");return e;},t.getMenuConfig=function(e){var n=t.getConfig().MENU_CONF;return(void 0===n?{}:n)[e]||{};},t.alert=function(e,n){void 0===n&&(n="info");var r=t.getConfig().customAlert;r&&r(e,n);},t;}(function(e){var t=GF(Wc());return t.id="wangEditor-"+ek++,t.isDestroyed=!1,t.isFullScreen=!1,t.focus=function(e){if(QO.toDOMNode(t,t).focus({preventScroll:!0}),AO.set(t,!0),e){var n=Bf.end(t,[]);md.select(t,n);}else{var r=OO.get(t);r?md.select(t,r):md.select(t,Bf.start(t,[]));}},t.isFocused=function(){return!!AO.get(t);},t.blur=function(){QO.toDOMNode(t,t).blur(),md.deselect(t),AO.set(t,!1);},t.updateView=function(){QO.getTextarea(t).changeViewState();var e=QO.getToolbar(t);e&&e.changeToolbarState();var n=QO.getHoverbar(t);n&&n.changeHoverbarState();},t.destroy=function(){if(!t.isDestroyed){var e=QO.getTextarea(t);e.destroy(),iO.delete(t),aO.delete(e);var n=QO.getToolbar(t);n&&(n.destroy(),sO.delete(t),uO.delete(n));var r=QO.getHoverbar(t);r&&(r.destroy(),cO.delete(t),lO.delete(r)),t.isDestroyed=!0,t.emit("destroyed");}},t.scrollToElem=function(e){if(!t.getConfig().scroll){var n="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return n+="\nYou has disabled editor scroll, please do this yourself",void console.warn(n);}var r=Mp("#"+e);if(0!==r.length){var o=r[0];if(!QO.hasDOMNode(t,o))return n="Element (found by id is '"+e+"') is not in editor DOM",n+="\n 通过 id '"+e+"' 找到的 element 不在 editor DOM 之内",void console.error(n,o);var i=QO.getTextarea(t),a=i.$textAreaContainer,u=i.$scroll,s=r.offset().top,l=a.offset().top;u[0].scrollBy({top:s-l,behavior:"smooth"});}},t.showProgressBar=function(e){e<1||QO.getTextarea(t).changeProgress(e);},t.hidePanelOrModal=function(){var e=dO.get(t);null!=e&&e.forEach(function(e){return e.hide();});},t.enable=function(){t.getConfig().readOnly=!1,t.updateView();},t.disable=function(){t.getConfig().readOnly=!0,t.updateView();},t.isDisabled=function(){return t.getConfig().readOnly;},t.toDOMNode=function(e){return QO.toDOMNode(t,e);},t.fullScreen=function(){if(!t.isFullScreen){var e=null,n=QO.getToolbar(t);n&&(e=n.$box);var r=QO.getTextarea(t).$box.parent();if(e&&e.parent()[0]!==r[0])throw new Error("Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent\n不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致");r.addClass("w-e-full-screen-container");var o=r.css("z-index");r.attr("data-z-index",o.toString()),t.isFullScreen=!0,t.emit("fullScreen");}},t.unFullScreen=function(){if(t.isFullScreen){var e=QO.getTextarea(t).$box.parent();setTimeout(function(){e.removeClass("w-e-full-screen-container"),t.isFullScreen=!1,t.emit("unFullScreen");},200);}},t.getEditableContainer=function(){return QO.getTextarea(t).$textAreaContainer[0];},t;}()))))));if(n&&function(e,t){return LF(e,"data-w-e-textarea",t);}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(e){void 0===e&&(e={});var t=Jv(tk),n={},r=e.MENU_CONF,o=void 0===r?{}:r;return Lh(t,function(e,t){n[t]=oA(oA({},e),o[t]||{});}),delete e.MENU_CONF,oA({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[];},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(e,t){window.alert(t+":\n"+e);}},e);}(o);hO.set(l,c);var f=c.hoverbarKeys,d=void 0===f?{}:f;if(s.forEach(function(e){l=e(l);}),null!=a&&(l.children=RF(l,a)),i&&i.length&&(l.children=i),0===l.children.length&&(l.children=[{type:"paragraph",children:[{text:""}]}]),QO.normalizeContent(l),n){var p=new d_(n);iO.set(l,p),aO.set(p,l),p.changeViewState(),ZB(function(){var e=p.$scroll;null!=e&&e.height()<300&&console.warn("编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常\nTextarea height < 300px . This may be cause modal and hoverbar position error",e);});var h=void 0;Object.keys(d).length>0&&(h=new j_(),lO.set(h,l),cO.set(l,h)),l.on("change",function(){l.hidePanelOrModal();}),l.on("scroll",function(){l.hidePanelOrModal();});}else l.children.forEach(function(e,t){return N_(e,t,l,l);});var g=c.onCreated,v=c.onDestroyed;return g&&l.on("created",function(){return g(l);}),v&&l.on("destroyed",function(){return v(l);}),ZB(function(){return l.emit("created");}),l;}var L_=iC("splice"),R_=lw.TypeError,M_=Math.max,z_=Math.min;cS({target:"Array",proto:!0,forced:!L_},{splice:function(e,t){var n,r,o,i,a,u,s=Dw(this),l=pD(s),c=VD(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=z_(M_(cD(t),0),l-c)),l+n-r>9007199254740991)throw R_("Maximum allowed length exceeded");for(o=CD(s,r),i=0;i<r;i++)(a=c+i)in s&&tx(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1];}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o;}});var $_=function(){function e(e,t){var n=this;this.$toolbar=Mp('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=Zv(function(){n.toolbarItems.forEach(function(e){e.changeMenuState();});},200),this.config=t;var r=Mp(e);if(0===r.length)throw new Error("Cannot find toolbar DOM by selector '"+e+"'");this.$box=r;var o=this.$toolbar;o.on("mousedown",function(e){return e.preventDefault();},{passive:!1}),r.append(o),ZB(function(){n.registerItems(),n.changeToolbarState(),n.getEditorInstance().on("change",n.changeToolbarState);});}return e.prototype.getMenus=function(){return this.menus;},e.prototype.getConfig=function(){return this.config;},e.prototype.registerItems=function(){var e=this,t="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=void 0===o?[]:o,a=r.insertKeys,u=void 0===a?{index:0,keys:[]}:a,s=r.excludeKeys,l=void 0===s?[]:s,c=Jv(i);u.keys.length>0&&("string"==typeof u.keys&&(u.keys=[u.keys]),u.keys.forEach(function(e,t){c.splice(u.index+t,0,e);}));var f=c.filter(function(e){if("string"==typeof e){if(l.includes(e))return!1;}else if(l.includes(e.key))return!1;return!0;}),d=f.length;f.forEach(function(r,o){if("|"===r){if(0===o)return;if(o+1===d)return;if("|"===t)return;var i=g_();return n.append(i),void(t=r);}if("string"==typeof r)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t="group";});},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=function(e){return new B_(e);}(e),o=e.menuKeys,i=void 0===o?[]:o,a=this.config.excludeKeys,u=void 0===a?[]:a;i.forEach(function(e){u.includes(e)||t.registerSingleItem(e,r);}),n.append(r.$elem);},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof B_,o=this.menus,i=o[e];if(null==i){var a=nk[e];if(null==a)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof a)throw new Error("Menu item factory (key='"+e+"') is not a function");i=a(),o[e]=i;}else console.warn("Duplicated toolbar menu key '"+e+"'\n重复注册了菜单栏 menu '"+e+"'");var u=__(e,i,r);this.toolbarItems.push(u),fO.set(u,n),r?t.appendBarItem(u):t.$toolbar.append(u.$elem);},e.prototype.getEditorInstance=function(){var e=uO.get(this);if(null==e)throw new Error("Can not get editor instance");return e;},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[];},e;}();var H_=VE.EXISTS,V_=bE.f,U_=Function.prototype,W_=mw(U_.toString),G_=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,q_=mw(G_.exec);function K_(e){var t=e.server,n=void 0===t?"":t,r=e.fieldName,o=void 0===r?"":r,i=e.maxFileSize,a=void 0===i?10485760:i,u=e.maxNumberOfFiles,s=void 0===u?100:u,l=e.meta,c=void 0===l?{}:l,f=e.metaWithUrl,d=void 0!==f&&f,p=e.headers,h=void 0===p?{}:p,g=e.withCredentials,v=void 0!==g&&g,y=e.timeout,m=void 0===y?1e4:y,b=e.onBeforeUpload,w=void 0===b?function(e){return e;}:b,E=e.onSuccess,D=void 0===E?function(e,t){}:E,S=e.onError,x=void 0===S?function(e,t,n){console.error(e.name+" upload error",t,n);}:S,C=e.onProgress,A=void 0===C?function(e){}:C;if(!n)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var O=n;d&&(O=function(e,t){var n=aA(e.split("#"),2),r=n[0],o=n[1],i=[];Lh(t,function(e,t){i.push(t+"="+e);});var a=i.join("&");return r=r.indexOf("?")>0?r+"&"+a:r+"?"+a,o?r+"#"+o:r;}(O,c));var k=new _m({onBeforeUpload:w,restrictions:{maxFileSize:a,maxNumberOfFiles:s},meta:c}).use(rw,{endpoint:O,headers:h,formData:!0,fieldName:o,bundle:!0,withCredentials:v,timeout:m});return k.on("upload-success",function(e,t){var n=t.body,r=void 0===n?{}:n;try{D(e,r);}catch(e){console.error("wangEditor upload file - onSuccess error",e);}k.removeFile(e.id);}),k.on("progress",function(e){e<1||A(e);}),k.on("upload-error",function(e,t,n){try{x(e,t,n);}catch(e){console.error("wangEditor upload file - onError error",e);}k.removeFile(e.id);}),k.on("restriction-failed",function(e,t){try{x(e,t);}catch(e){console.error("wangEditor upload file - onError error",e);}k.removeFile(e.id);}),k;}function Y_(e){return Y_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},Y_(e);}function X_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}function Z_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable;})),r.forEach(function(t){X_(e,t,n[t]);});}return e;}function J_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}function Q_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function eP(e,t,n){return t&&Q_(e.prototype,t),n&&Q_(e,n),e;}function tP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function nP(e,t){if(t&&("object"===Y_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return tP(e);}function rP(e){return rP=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e);},rP(e);}function oP(e,t){return oP=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e;},oP(e,t);}function iP(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oP(e,t);}Kw&&!H_&&V_(U_,"name",{configurable:!0,get:function(){try{return q_(G_,W_(this))[1];}catch(e){return"";}}});var aP={type:"logger",log:function(e){this.output("log",e);},warn:function(e){this.output("warn",e);},error:function(e){this.output("error",e);},output:function(e,t){console&&console[e]&&console[e].apply(console,t);}},uP=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};J_(this,e),this.init(t,n);}return eP(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||aP,this.options=t,this.debug=t.debug;}},{key:"setDebug",value:function(e){this.debug=e;}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0);}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0);}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","");}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0);}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e));}},{key:"create",value:function(t){return new e(this.logger,Z_({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options));}}]),e;}())(),sP=function(){function e(){J_(this,e),this.observers={};}return eP(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t);}),this;}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter(function(e){return e!==t;}):delete this.observers[e]);}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var o=[].concat(this.observers[e]);o.forEach(function(e){e.apply(void 0,n);});}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach(function(t){t.apply(t,[e].concat(n));});}}}]),e;}();function lP(){var e,t,n=new Promise(function(n,r){e=n,t=r;});return n.resolve=e,n.reject=t,n;}function cP(e){return null==e?"":""+e;}function fP(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e]);});}function dP(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e;}function o(){return!e||"string"==typeof e;}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n()),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{};}return o()?{}:{obj:e,k:r(i.shift())};}function pP(e,t,n){var r=dP(e,t,Object);r.obj[r.k]=n;}function hP(e,t){var n=dP(e,t),r=n.obj,o=n.k;if(r)return r[o];}function gP(e,t,n){var r=hP(e,n);return void 0!==r?r:hP(t,n);}function vP(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):vP(e[r],t[r],n):e[r]=t[r]);return e;}function yP(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");}var mP={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function bP(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return mP[e];}):e;}var wP="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function EP(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,u=r.slice(i,i+a).join(n),s=o[u];void 0===s&&r.length>i+a;)a++,s=o[u=r.slice(i,i+a).join(n)];if(void 0===s)return;if("string"==typeof s)return s;if(u&&"string"==typeof s[u])return s[u];var l=r.slice(i+a).join(n);return l?EP(s,l,n):void 0;}o=o[r[i]];}return o;}}var DP=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return J_(this,t),n=nP(this,rP(t).call(this)),wP&&sP.call(tP(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n;}return iP(t,sP),eP(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e);}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1);}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var u=hP(this.data,a);return u||!i||"string"!=typeof n?u:EP(this.data&&this.data[e]&&this.data[e][t],n,o);}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),pP(this.data,a,r),o.silent||this.emit("added",e,t,n,r);}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n);}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var u=hP(this.data,a)||{};r?vP(u,n,o):u=Z_({},u,n),pP(this.data,a,u),i.silent||this.emit("added",e,t,n);}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t);}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t);}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?Z_({},{},this.getResource(e,t)):this.getResource(e,t);}},{key:"getDataByLanguage",value:function(e){return this.data[e];}},{key:"toJSON",value:function(){return this.data;}}]),t;}(),SP={processors:{},addPostProcessor:function(e){this.processors[e.name]=e;},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o));}),t;}},xP={},CP=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return J_(this,t),n=nP(this,rP(t).call(this)),wP&&sP.call(tP(n)),fP(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,tP(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=uP.create("translator"),n;}return iP(t,sP),eP(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e);}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res;}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:o};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r);}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o};}},{key:"translate",value:function(e,n,r){var o=this;if("object"!==Y_(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],n),u=a.key,s=a.namespaces,l=s[s.length-1],c=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(f){var d=n.nsSeparator||this.options.nsSeparator;return l+d+u;}return u;}var p=this.resolve(e,n),h=p&&p.res,g=p&&p.usedKey||u,v=p&&p.exactUsedKey||u,y=Object.prototype.toString.apply(h),m=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,E="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(w&&h&&E&&m.indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,h,Z_({},n,{ns:s})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var D="[object Array]"===y,S=D?[]:{},x=D?v:g;for(var C in h)if(Object.prototype.hasOwnProperty.call(h,C)){var A="".concat(x).concat(i).concat(C);S[C]=this.translate(A,Z_({},n,{joinArrays:!1,ns:s})),S[C]===A&&(S[C]=h[C]);}h=S;}}else if(w&&"string"==typeof b&&"[object Array]"===y)(h=h.join(b))&&(h=this.extendTranslation(h,e,n,r));else{var O=!1,k=!1,B=void 0!==n.count&&"string"!=typeof n.count,F=t.hasDefaultValue(n),T=B?this.pluralResolver.getSuffix(c,n.count):"",_=n["defaultValue".concat(T)]||n.defaultValue;!this.isValidLookup(h)&&F&&(O=!0,h=_),this.isValidLookup(h)||(k=!0,h=u);var P=n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,j=P&&k?void 0:h,N=F&&_!==h&&this.options.updateMissing;if(k||O||N){if(this.logger.log(N?"updateKey":"missingKey",c,l,u,N?_:h),i){var I=this.resolve(u,Z_({},n,{keySeparator:!1}));I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");}var L=[],R=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&R&&R[0])for(var M=0;M<R.length;M++)L.push(R[M]);else"all"===this.options.saveMissingTo?L=this.languageUtils.toResolveHierarchy(n.lng||this.language):L.push(n.lng||this.language);var z=function(e,t,r){o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,N?r:j,N,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,N?r:j,N,n),o.emit("missingKey",e,l,t,h);};this.options.saveMissing&&(this.options.saveMissingPlurals&&B?L.forEach(function(e){o.pluralResolver.getSuffixes(e).forEach(function(t){z([e],u+t,n["defaultValue".concat(t)]||_);});}):z(L,u,_));}h=this.extendTranslation(h,e,n,p,r),k&&h===u&&this.options.appendNamespaceToMissingKey&&(h="".concat(l,":").concat(u)),(k||O)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h));}return h;}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Z_({},n,{interpolation:Z_({},this.options.interpolation,n.interpolation)}));var a,u=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(u){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length;}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=Z_({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),u){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1);}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]));},n)),n.interpolation&&this.interpolator.reset();}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=SP.handle(d,e,t,this.options&&this.options.postProcessPassResolved?Z_({i18nResolved:r},n):n,this)),e;}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,u),l=s.key;n=l;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==u.count&&"string"!=typeof u.count,d=void 0!==u.context&&("string"==typeof u.context||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:a.languageUtils.toResolveHierarchy(u.lng||a.language,u.fallbackLng);c.forEach(function(e){a.isValidLookup(t)||(i=e,!xP["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(xP["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(function(n){if(!a.isValidLookup(t)){o=n;var i,s,c=l,p=[c];for(a.i18nFormat&&a.i18nFormat.addLookupKeys?a.i18nFormat.addLookupKeys(p,l,n,e,u):(f&&(i=a.pluralResolver.getSuffix(n,u.count)),f&&d&&p.push(c+i),d&&p.push(c+="".concat(a.options.contextSeparator).concat(u.context)),f&&p.push(c+=i));s=p.pop();)a.isValidLookup(t)||(r=s,t=a.getResource(n,e,s,u));}}));});}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i};}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e);}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r);}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1;}}]),t;}();function AP(e){return e.charAt(0).toUpperCase()+e.slice(1);}var OP=function(){function e(t){J_(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=uP.create("languageUtils");}return eP(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")));}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0]);}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase();}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=AP(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=AP(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=AP(n[2].toLowerCase()))),n.join("-");}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e;}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e);}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1;}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r);}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e;});}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null;}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[];}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)));};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e));}),o;}}]),e;}(),kP=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],BP={1:function(e){return Number(e>1);},2:function(e){return Number(1!=e);},3:function(e){return 0;},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2);},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5);},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2);},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2);},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3);},9:function(e){return Number(e>=2);},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4);},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3);},12:function(e){return Number(e%10!=1||e%100==11);},13:function(e){return Number(0!==e);},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3);},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2);},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2);},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1);},18:function(e){return Number(0==e?0:1==e?1:2);},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3);},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2);},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0);},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3);}};function FP(){var e={};return kP.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:BP[t.fc]};});}),e;}var TP=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};J_(this,e),this.languageUtils=t,this.options=n,this.logger=uP.create("pluralResolver"),this.rules=FP();}return eP(e,[{key:"addRule",value:function(e,t){this.rules[e]=t;}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)];}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1;}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map(function(e){return t+e;});}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map(function(n){return t.getSuffix(e,n);}):[];}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString();};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();}return this.logger.warn("no plural rule found for: ".concat(e)),"";}}]),e;}(),_P=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};J_(this,e),this.logger=uP.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e;},this.init(t);}return eP(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:bP,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?yP(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?yP(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?yP(t.nestingPrefix):t.nestingPrefixEscaped||yP("$t("),this.nestingSuffix=t.nestingSuffix?yP(t.nestingSuffix):t.nestingSuffixEscaped||yP(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp();}},{key:"reset",value:function(){this.options&&this.init(this.options);}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g");}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,u=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$");}var c=function(e){if(e.indexOf(u.formatSeparator)<0){var o=gP(t,s,e);return u.alwaysFormat?u.format(o,void 0,n,Z_({},r,t,{interpolationkey:e})):o;}var i=e.split(u.formatSeparator),a=i.shift().trim(),l=i.join(u.formatSeparator).trim();return u.format(gP(t,s,a),l,n,Z_({},r,t,{interpolationkey:a}));};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,p=[{regex:this.regexpUnescape,safeValue:function(e){return l(e);}},{regex:this.regexp,safeValue:function(e){return u.escapeValue?l(u.escape(e)):l(e);}}];return p.forEach(function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=c(o[1].trim()))){if("function"==typeof f){var n=f(e,o,r);i="string"==typeof n?n:"";}else{if(d){i=o[0];continue;}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i="";}}else"string"==typeof i||u.useRawValueToEscape||(i=cP(i));var s=t.safeValue(i);if(e=e.replace(o[0],s),d?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=u.maxReplaces)break;}}),e;}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Z_({},i);function u(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=Z_({},t,a));}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o);}return delete a.defaultValue,e;}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map(function(e){return e.trim();});n[1]=c.shift(),s=c,l=!0;}if((r=t(u.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=cP(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=s.reduce(function(e,t){return o.format(e,t,i.lng,Z_({},i,{interpolationkey:n[1].trim()}));},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0;}return e;}}]),e;}(),PP=function(e){function t(e,n,r){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return J_(this,t),o=nP(this,rP(t).call(this)),wP&&sP.call(tP(o)),o.backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=i,o.logger=uP.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,i.backend,i),o;}return iP(t,sP),eP(t,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],u=[],s=[];return e.forEach(function(e){var r=!0;t.forEach(function(t){var u="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?a.indexOf(u)<0&&a.push(u):(o.state[u]=1,r=!1,a.indexOf(u)<0&&a.push(u),i.indexOf(u)<0&&i.push(u),s.indexOf(t)<0&&s.push(t)));}),r||u.push(e);}),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:u,toLoadNamespaces:s};}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){!function(e,t,n,r){var o=dP(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],i[a].push(n);}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t);}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach(function(t){a[e].indexOf(t)<0&&a[e].push(t);});}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback());}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done;});}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,function(u,s){u&&s&&o<5?setTimeout(function(){r.read.call(r,e,t,n,o+1,2*i,a);},i):a(u,s);}):a(null,{});}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e);});}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n);}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n);}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a);});}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Z_({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r));}}]),t;}();function jP(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===Y_(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===Y_(e[2])||"object"===Y_(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e];});}return t;},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e;},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}};}function NP(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e;}function IP(){}var LP=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(J_(this,t),e=nP(this,rP(t).call(this)),wP&&sP.call(tP(e)),e.options=NP(n),e.services={},e.logger=uP,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),nP(e,tP(e));setTimeout(function(){e.init(n,r);},0);}return e;}return iP(t,sP),eP(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e():e:null;}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Z_({},jP(),this.options,NP(t)),this.format=this.options.interpolation.format,n||(n=IP),!this.options.isClone){this.modules.logger?uP.init(r(this.modules.logger),this.options):uP.init(null,this.options);var o=new OP(this.options);this.store=new DP(this.options.resources,this.options);var i=this.services;i.logger=uP,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new TP(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new _P(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new PP(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r));}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new CP(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r));}),this.modules.external.forEach(function(t){t.init&&t.init(e);});}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&"dev"!==a[0]&&(this.options.lng=a[0]);}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments);};});var s=["addResource","addResources","addResourceBundle","removeResourceBundle"];s.forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e;};});var l=lP(),c=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),l.resolve(r),n(t,r);};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t);};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l;}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IP,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){i.indexOf(e)<0&&i.push(e);});};if(o)a(o);else{var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.forEach(function(e){return a(e);});}this.options.preload&&this.options.preload.forEach(function(e){return a(e);}),this.services.backendConnector.load(i,this.options.ns,r);}else r(null);}},{key:"reloadResources",value:function(e,t,n){var r=lP();return e||(e=this.languages),t||(t=this.options.ns),n||(n=IP),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e);}),r;}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&SP.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this;}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=lP();this.emit("languageChanging",e);var o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,function(e){!function(e,o){o?(n.language=o,n.languages=n.services.languageUtils.toResolveHierarchy(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments);}),t&&t(e,function(){return n.t.apply(n,arguments);});}(e,i);});};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r;}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==Y_(o)){for(var a=arguments.length,u=new Array(a>2?a-2:0),s=2;s<a;s++)u[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,o].concat(u));}else i=Z_({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var l=r.options.keySeparator||".",c=n?"".concat(n).concat(l).concat(t):t;return r.t(c,i);};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o;}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments);}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments);}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e;}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r;};if(n.precheck){var u=n.precheck(this,a);if(void 0!==u)return u;}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e));}},{key:"loadNamespaces",value:function(e,t){var n=this,r=lP();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e);}),this.loadResources(function(e){r.resolve(),t&&t(e);}),r):(t&&t(),Promise.resolve());}},{key:"loadLanguages",value:function(e,t){var n=lP();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter(function(e){return r.indexOf(e)<0;});return o.length?(this.options.preload=r.concat(o),this.loadResources(function(e){n.resolve(),t&&t(e);}),n):(t&&t(),Promise.resolve());}},{key:"dir",value:function(e){return e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl";}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n);}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IP,o=Z_({},this.options,n,{isClone:!0}),i=new t(o),a=["store","services","language"];return a.forEach(function(t){i[t]=e[t];}),i.services=Z_({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new CP(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n));}),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i;}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages};}}]),t;}(),RP=new LP();function MP(e,t){RP.addResourceBundle(e,"translation",t,!0,!0);}function zP(e){RP.changeLanguage(e);}function $P(e){return RP.getResourceBundle(e,"translation");}RP.init({lng:"zh-CN",resources:{}});var HP=RP.t.bind(RP);MP("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),MP("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var VP=ea?{}.toString:function(){return"[object "+oa(this)+"]";};ea||Ei(Object.prototype,"toString",VP,{unsafe:!0});var UP=Array.isArray||function(e){return"Array"==Hr(e);},WP=function(){},GP=[],qP=Jr("Reflect","construct"),KP=/^\s*(?:class|function)\b/,YP=Mr(KP.exec),XP=!KP.exec(WP),ZP=function(e){if(!Yr(e))return!1;try{return qP(WP,GP,e),!0;}catch(e){return!1;}},JP=!qP||Ar(function(){var e;return ZP(ZP.call)||!ZP(Object)||!ZP(function(){e=!0;})||e;})?function(e){if(!Yr(e))return!1;switch(oa(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return XP||!!YP(KP,ri(e));}:ZP,QP=Po("species"),ej=Cr.Array,tj=function(e,t){return new(function(e){var t;return UP(e)&&(t=e.constructor,(JP(t)&&(t===ej||UP(t.prototype))||Xr(t)&&null===(t=t[QP]))&&(t=void 0)),void 0===t?ej:t;}(e))(0===t?0:t);},nj=Mr([].push),rj=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Do(s),g=Wr(h),v=yu(l,c),y=Fi(g),m=0,b=f||tj,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:nj(w,d);}else switch(e){case 4:return!1;case 7:nj(w,d);}return i?-1:r||o?o:w;};},oj={forEach:rj(0),map:rj(1),filter:rj(2),some:rj(3),every:rj(4),find:rj(5),findIndex:rj(6),filterReject:rj(7)}.forEach,ij=function(e,t){var n=[][e];return!!n&&Ar(function(){n.call(null,t||function(){throw 1;},1);});}("forEach"),aj=ij?[].forEach:function(e){return oj(this,e,arguments.length>1?arguments[1]:void 0);},uj=function(e){if(e&&e.forEach!==aj)try{Jo(e,"forEach",aj);}catch(t){e.forEach=aj;}};for(var sj in fs)fs[sj]&&uj(Cr[sj]&&Cr[sj].prototype);uj(hs),MP("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),MP("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"}});var lj={type:"paragraph",renderElem:function(e,t,n){return Pg("p",null,t);}},cj="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function fj(e){var t={exports:{}};return e(t,t.exports),t.exports;}var dj,pj,hj=function(e){return e&&e.Math==Math&&e;},gj=hj("object"==typeof globalThis&&globalThis)||hj("object"==typeof window&&window)||hj("object"==typeof self&&self)||hj("object"==typeof cj&&cj)||function(){return this;}()||Function("return this")(),vj=function(e){try{return!!e();}catch(e){return!0;}},yj=!vj(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),mj=Function.prototype.call,bj=mj.bind?mj.bind(mj):function(){return mj.apply(mj,arguments);},wj={}.propertyIsEnumerable,Ej=Object.getOwnPropertyDescriptor,Dj=Ej&&!wj.call({1:2},1)?function(e){var t=Ej(this,e);return!!t&&t.enumerable;}:wj,Sj={f:Dj},xj=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},Cj=Function.prototype,Aj=Cj.bind,Oj=Cj.call,kj=Aj&&Aj.bind(Oj),Bj=Aj?function(e){return e&&kj(Oj,e);}:function(e){return e&&function(){return Oj.apply(e,arguments);};},Fj=Bj({}.toString),Tj=Bj("".slice),_j=function(e){return Tj(Fj(e),8,-1);},Pj=gj.Object,jj=Bj("".split),Nj=vj(function(){return!Pj("z").propertyIsEnumerable(0);})?function(e){return"String"==_j(e)?jj(e,""):Pj(e);}:Pj,Ij=gj.TypeError,Lj=function(e){if(null==e)throw Ij("Can't call method on "+e);return e;},Rj=function(e){return Nj(Lj(e));},Mj=function(e){return"function"==typeof e;},zj=function(e){return"object"==typeof e?null!==e:Mj(e);},$j=function(e){return Mj(e)?e:void 0;},Hj=function(e,t){return arguments.length<2?$j(gj[e]):gj[e]&&gj[e][t];},Vj=Bj({}.isPrototypeOf),Uj=Hj("navigator","userAgent")||"",Wj=gj.process,Gj=gj.Deno,qj=Wj&&Wj.versions||Gj&&Gj.version,Kj=qj&&qj.v8;Kj&&(pj=(dj=Kj.split("."))[0]>0&&dj[0]<4?1:+(dj[0]+dj[1])),!pj&&Uj&&(!(dj=Uj.match(/Edge\/(\d+)/))||dj[1]>=74)&&(dj=Uj.match(/Chrome\/(\d+)/))&&(pj=+dj[1]);var Yj=pj,Xj=!!Object.getOwnPropertySymbols&&!vj(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Yj&&Yj<41;}),Zj=Xj&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Jj=gj.Object,Qj=Zj?function(e){return"symbol"==typeof e;}:function(e){var t=Hj("Symbol");return Mj(t)&&Vj(t.prototype,Jj(e));},eN=gj.String,tN=function(e){try{return eN(e);}catch(e){return"Object";}},nN=gj.TypeError,rN=function(e){if(Mj(e))return e;throw nN(tN(e)+" is not a function");},oN=function(e,t){var n=e[t];return null==n?void 0:rN(n);},iN=gj.TypeError,aN=Object.defineProperty,uN=function(e,t){try{aN(gj,e,{value:t,configurable:!0,writable:!0});}catch(n){gj[e]=t;}return t;},sN=gj["__core-js_shared__"]||uN("__core-js_shared__",{}),lN=fj(function(e){(e.exports=function(e,t){return sN[e]||(sN[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),cN=gj.Object,fN=function(e){return cN(Lj(e));},dN=Bj({}.hasOwnProperty),pN=Object.hasOwn||function(e,t){return dN(fN(e),t);},hN=0,gN=Math.random(),vN=Bj(1..toString),yN=function(e){return"Symbol("+(void 0===e?"":e)+")_"+vN(++hN+gN,36);},mN=lN("wks"),bN=gj.Symbol,wN=bN&&bN.for,EN=Zj?bN:bN&&bN.withoutSetter||yN,DN=function(e){if(!pN(mN,e)||!Xj&&"string"!=typeof mN[e]){var t="Symbol."+e;Xj&&pN(bN,e)?mN[e]=bN[e]:mN[e]=Zj&&wN?wN(t):EN(t);}return mN[e];},SN=gj.TypeError,xN=DN("toPrimitive"),CN=function(e){var t=function(e,t){if(!zj(e)||Qj(e))return e;var n,r=oN(e,xN);if(r){if(void 0===t&&(t="default"),n=bj(r,e,t),!zj(n)||Qj(n))return n;throw SN("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Mj(n=e.toString)&&!zj(r=bj(n,e)))return r;if(Mj(n=e.valueOf)&&!zj(r=bj(n,e)))return r;if("string"!==t&&Mj(n=e.toString)&&!zj(r=bj(n,e)))return r;throw iN("Can't convert object to primitive value");}(e,t);}(e,"string");return Qj(t)?t:t+"";},AN=gj.document,ON=zj(AN)&&zj(AN.createElement),kN=function(e){return ON?AN.createElement(e):{};},BN=!yj&&!vj(function(){return 7!=Object.defineProperty(kN("div"),"a",{get:function(){return 7;}}).a;}),FN=Object.getOwnPropertyDescriptor,TN={f:yj?FN:function(e,t){if(e=Rj(e),t=CN(t),BN)try{return FN(e,t);}catch(e){}if(pN(e,t))return xj(!bj(Sj.f,e,t),e[t]);}},_N=gj.String,PN=gj.TypeError,jN=function(e){if(zj(e))return e;throw PN(_N(e)+" is not an object");},NN=gj.TypeError,IN=Object.defineProperty,LN={f:yj?IN:function(e,t,n){if(jN(e),t=CN(t),jN(n),BN)try{return IN(e,t,n);}catch(e){}if("get"in n||"set"in n)throw NN("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},RN=yj?function(e,t,n){return LN.f(e,t,xj(1,n));}:function(e,t,n){return e[t]=n,e;},MN=Bj(Function.toString);Mj(sN.inspectSource)||(sN.inspectSource=function(e){return MN(e);});var zN,$N,HN,VN=sN.inspectSource,UN=gj.WeakMap,WN=Mj(UN)&&/native code/.test(VN(UN)),GN=lN("keys"),qN=function(e){return GN[e]||(GN[e]=yN(e));},KN={},YN=gj.TypeError,XN=gj.WeakMap;if(WN||sN.state){var ZN=sN.state||(sN.state=new XN()),JN=Bj(ZN.get),QN=Bj(ZN.has),eI=Bj(ZN.set);zN=function(e,t){if(QN(ZN,e))throw new YN("Object already initialized");return t.facade=e,eI(ZN,e,t),t;},$N=function(e){return JN(ZN,e)||{};},HN=function(e){return QN(ZN,e);};}else{var tI=qN("state");KN[tI]=!0,zN=function(e,t){if(pN(e,tI))throw new YN("Object already initialized");return t.facade=e,RN(e,tI,t),t;},$N=function(e){return pN(e,tI)?e[tI]:{};},HN=function(e){return pN(e,tI);};}var nI={set:zN,get:$N,has:HN,enforce:function(e){return HN(e)?$N(e):zN(e,{});},getterFor:function(e){return function(t){var n;if(!zj(t)||(n=$N(t)).type!==e)throw YN("Incompatible receiver, "+e+" required");return n;};}},rI=Function.prototype,oI=yj&&Object.getOwnPropertyDescriptor,iI=pN(rI,"name"),aI={EXISTS:iI,PROPER:iI&&"something"===function(){}.name,CONFIGURABLE:iI&&(!yj||yj&&oI(rI,"name").configurable)},uI=fj(function(e){var t=aI.CONFIGURABLE,n=nI.get,r=nI.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;Mj(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!pN(i,"name")||t&&i.name!==f)&&RN(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==gj?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:RN(e,n,i)):l?e[n]=i:uN(n,i);})(Function.prototype,"toString",function(){return Mj(this)&&n(this).source||VN(this);});}),sI=Math.ceil,lI=Math.floor,cI=function(e){var t=+e;return t!=t||0===t?0:(t>0?lI:sI)(t);},fI=Math.max,dI=Math.min,pI=function(e,t){var n=cI(e);return n<0?fI(n+t,0):dI(n,t);},hI=Math.min,gI=function(e){return e>0?hI(cI(e),9007199254740991):0;},vI=function(e){return gI(e.length);},yI=function(e){return function(t,n,r){var o,i=Rj(t),a=vI(i),u=pI(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},mI={includes:yI(!0),indexOf:yI(!1)},bI=mI.indexOf,wI=Bj([].push),EI=function(e,t){var n,r=Rj(e),o=0,i=[];for(n in r)!pN(KN,n)&&pN(r,n)&&wI(i,n);for(;t.length>o;)pN(r,n=t[o++])&&(~bI(i,n)||wI(i,n));return i;},DI=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],SI=DI.concat("length","prototype"),xI={f:Object.getOwnPropertyNames||function(e){return EI(e,SI);}},CI={f:Object.getOwnPropertySymbols},AI=Bj([].concat),OI=Hj("Reflect","ownKeys")||function(e){var t=xI.f(jN(e)),n=CI.f;return n?AI(t,n(e)):t;},kI=function(e,t){for(var n=OI(t),r=LN.f,o=TN.f,i=0;i<n.length;i++){var a=n[i];pN(e,a)||r(e,a,o(t,a));}},BI=/#|\.prototype\./,FI=function(e,t){var n=_I[TI(e)];return n==jI||n!=PI&&(Mj(t)?vj(t):!!t);},TI=FI.normalize=function(e){return String(e).replace(BI,".").toLowerCase();},_I=FI.data={},PI=FI.NATIVE="N",jI=FI.POLYFILL="P",NI=FI,II=TN.f,LI=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?gj:l?gj[u]||uN(u,{}):(gj[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=II(n,r))&&a.value:n[r],!NI(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;kI(i,o);}(e.sham||o&&o.sham)&&RN(i,"sham",!0),uI(n,r,i,e);}},RI=Bj(Bj.bind),MI=Array.isArray||function(e){return"Array"==_j(e);},zI={};zI[DN("toStringTag")]="z";var $I="[object z]"===String(zI),HI=DN("toStringTag"),VI=gj.Object,UI="Arguments"==_j(function(){return arguments;}()),WI=$I?_j:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=VI(e),HI))?n:UI?_j(t):"Object"==(r=_j(t))&&Mj(t.callee)?"Arguments":r;},GI=function(){},qI=[],KI=Hj("Reflect","construct"),YI=/^\s*(?:class|function)\b/,XI=Bj(YI.exec),ZI=!YI.exec(GI),JI=function(e){if(!Mj(e))return!1;try{return KI(GI,qI,e),!0;}catch(e){return!1;}},QI=!KI||vj(function(){var e;return JI(JI.call)||!JI(Object)||!JI(function(){e=!0;})||e;})?function(e){if(!Mj(e))return!1;switch(WI(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return ZI||!!XI(YI,VN(e));}:JI,eL=DN("species"),tL=gj.Array,nL=function(e,t){return new(function(e){var t;return MI(e)&&(t=e.constructor,(QI(t)&&(t===tL||MI(t.prototype))||zj(t)&&null===(t=t[eL]))&&(t=void 0)),void 0===t?tL:t;}(e))(0===t?0:t);},rL=Bj([].push),oL=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=fN(s),g=Nj(h),v=function(e,t){return rN(e),void 0===t?e:RI?RI(e,t):function(){return e.apply(t,arguments);};}(l,c),y=vI(g),m=0,b=f||nL,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:rL(w,d);}else switch(e){case 4:return!1;case 7:rL(w,d);}return i?-1:r||o?o:w;};},iL={forEach:oL(0),map:oL(1),filter:oL(2),some:oL(3),every:oL(4),find:oL(5),findIndex:oL(6),filterReject:oL(7)},aL=DN("species"),uL=function(e){return Yj>=51||!vj(function(){var t=[];return(t.constructor={})[aL]=function(){return{foo:1};},1!==t[e](Boolean).foo;});},sL=iL.filter;LI({target:"Array",proto:!0,forced:!uL("filter")},{filter:function(e){return sL(this,e,arguments.length>1?arguments[1]:void 0);}});var lL=$I?{}.toString:function(){return"[object "+WI(this)+"]";};$I||uI(Object.prototype,"toString",lL,{unsafe:!0});var cL,fL=gj.String,dL=function(e){if("Symbol"===WI(e))throw TypeError("Cannot convert a Symbol value to a string");return fL(e);},pL=function(){var e=jN(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},hL=gj.RegExp,gL=vj(function(){var e=hL("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),vL=gL||vj(function(){return!hL("a","y").sticky;}),yL={BROKEN_CARET:gL||vj(function(){var e=hL("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),MISSED_STICKY:vL,UNSUPPORTED_Y:gL},mL=Object.keys||function(e){return EI(e,DI);},bL=yj?Object.defineProperties:function(e,t){jN(e);for(var n,r=Rj(t),o=mL(t),i=o.length,a=0;i>a;)LN.f(e,n=o[a++],r[n]);return e;},wL=Hj("document","documentElement"),EL=qN("IE_PROTO"),DL=function(){},SL=function(e){return"<script>"+e+"<\/script>";},xL=function(e){e.write(SL("")),e.close();var t=e.parentWindow.Object;return e=null,t;},CL=function(){try{cL=new ActiveXObject("htmlfile");}catch(e){}var e,t;CL="undefined"!=typeof document?document.domain&&cL?xL(cL):((t=kN("iframe")).style.display="none",wL.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(SL("document.F=Object")),e.close(),e.F):xL(cL);for(var n=DI.length;n--;)delete CL.prototype[DI[n]];return CL();};KN[EL]=!0;var AL,OL,kL=Object.create||function(e,t){var n;return null!==e?(DL.prototype=jN(e),n=new DL(),DL.prototype=null,n[EL]=e):n=CL(),void 0===t?n:bL(n,t);},BL=gj.RegExp,FL=vj(function(){var e=BL(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),TL=gj.RegExp,_L=vj(function(){var e=TL("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),PL=nI.get,jL=lN("native-string-replace",String.prototype.replace),NL=RegExp.prototype.exec,IL=NL,LL=Bj("".charAt),RL=Bj("".indexOf),ML=Bj("".replace),zL=Bj("".slice),$L=(OL=/b*/g,bj(NL,AL=/a/,"a"),bj(NL,OL,"a"),0!==AL.lastIndex||0!==OL.lastIndex),HL=yL.BROKEN_CARET,VL=void 0!==/()??/.exec("")[1];($L||VL||HL||FL||_L)&&(IL=function(e){var t,n,r,o,i,a,u,s=this,l=PL(s),c=dL(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=bj(IL,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=HL&&s.sticky,h=bj(pL,s),g=s.source,v=0,y=c;if(p&&(h=ML(h,"y",""),-1===RL(h,"g")&&(h+="g"),y=zL(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==LL(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),VL&&(n=new RegExp("^"+g+"$(?!\\s)",h)),$L&&(r=s.lastIndex),o=bj(NL,p?n:s,y),p?o?(o.input=zL(o.input,v),o[0]=zL(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:$L&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),VL&&o&&o.length>1&&bj(jL,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=kL(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var UL=IL;LI({target:"RegExp",proto:!0,forced:/./.exec!==UL},{exec:UL});var WL=Function.prototype,GL=WL.apply,qL=WL.bind,KL=WL.call,YL="object"==typeof Reflect&&Reflect.apply||(qL?KL.bind(GL):function(){return KL.apply(GL,arguments);}),XL=DN("species"),ZL=RegExp.prototype,JL=function(e,t,n,r){var o=DN(e),i=!vj(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!vj(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[XL]=function(){return n;},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null;},n[o](""),!t;});if(!i||!a||n){var u=Bj(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=Bj(e),s=t.exec;return s===UL||s===ZL.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});uI(String.prototype,e,s[0]),uI(ZL,o,s[1]);}r&&RN(ZL[o],"sham",!0);},QL=Bj("".charAt),eR=Bj("".charCodeAt),tR=Bj("".slice),nR=function(e){return function(t,n){var r,o,i=dL(Lj(t)),a=cI(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=eR(i,a))<55296||r>56319||a+1===u||(o=eR(i,a+1))<56320||o>57343?e?QL(i,a):r:e?tR(i,a,a+2):o-56320+(r-55296<<10)+65536;};},rR=(nR(!1),nR(!0)),oR=function(e,t,n){return t+(n?rR(e,t).length:1);},iR=Math.floor,aR=Bj("".charAt),uR=Bj("".replace),sR=Bj("".slice),lR=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,cR=/\$([$&'`]|\d{1,2})/g,fR=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=cR;return void 0!==o&&(o=fN(o),s=lR),uR(i,s,function(i,s){var l;switch(aR(s,0)){case"$":return"$";case"&":return e;case"`":return sR(t,0,n);case"'":return sR(t,a);case"<":l=o[sR(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=iR(c/10);return 0===f?i:f<=u?void 0===r[f-1]?aR(s,1):r[f-1]+aR(s,1):i;}l=r[c-1];}return void 0===l?"":l;});},dR=gj.TypeError,pR=function(e,t){var n=e.exec;if(Mj(n)){var r=bj(n,e,t);return null!==r&&jN(r),r;}if("RegExp"===_j(e))return bj(UL,e,t);throw dR("RegExp#exec called on incompatible receiver");},hR=DN("replace"),gR=Math.max,vR=Math.min,yR=Bj([].concat),mR=Bj([].push),bR=Bj("".indexOf),wR=Bj("".slice),ER="$0"==="a".replace(/./,"$0"),DR=!!/./[hR]&&""===/./[hR]("a","$0");JL("replace",function(e,t,n){var r=DR?"$":"$0";return[function(e,n){var r=Lj(this),o=null==e?void 0:oN(e,hR);return o?bj(o,e,r,n):bj(t,dL(r),e,n);},function(e,o){var i=jN(this),a=dL(e);if("string"==typeof o&&-1===bR(o,r)&&-1===bR(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value;}var s=Mj(o);s||(o=dL(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0;}for(var f=[];;){var d=pR(i,a);if(null===d)break;if(mR(f,d),!l)break;""===dL(d[0])&&(i.lastIndex=oR(a,gI(i.lastIndex),c));}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=dL((d=f[v])[0]),m=gR(vR(cI(d.index),a.length),0),b=[],w=1;w<d.length;w++)mR(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=yR([y],b,m,a);void 0!==E&&mR(D,E);var S=dL(YL(o,void 0,D));}else S=fR(y,a,m,b,E,o);m>=g&&(h+=wR(a,g,m)+S,g=m+y.length);}return h+wR(a,g);}];},!!vj(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e;},"7"!=="".replace(e,"$<a>");})||!ER||DR);var SR=DN("unscopables"),xR=Array.prototype;null==xR[SR]&&LN.f(xR,SR,{configurable:!0,value:kL(null)});var CR=function(e){xR[SR][e]=!0;},AR=iL.find,OR=!0;"find"in[]&&Array(1).find(function(){OR=!1;}),LI({target:"Array",proto:!0,forced:OR},{find:function(e){return AR(this,e,arguments.length>1?arguments[1]:void 0);}}),CR("find");var kR=DN("match"),BR=function(e){var t;return zj(e)&&(void 0!==(t=e[kR])?!!t:"RegExp"==_j(e));},FR=gj.TypeError,TR=DN("species"),_R=function(e,t,n){var r=CN(t);r in e?LN.f(e,r,xj(0,n)):e[r]=n;},PR=gj.Array,jR=Math.max,NR=function(e,t,n){for(var r=vI(e),o=pI(t,r),i=pI(void 0===n?r:n,r),a=PR(jR(i-o,0)),u=0;o<i;o++,u++)_R(a,u,e[o]);return a.length=u,a;},IR=yL.UNSUPPORTED_Y,LR=Math.min,RR=[].push,MR=Bj(/./.exec),zR=Bj(RR),$R=Bj("".slice);JL("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=dL(Lj(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!BR(e))return bj(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=bj(UL,f,r))&&!((a=f.lastIndex)>c&&(zR(s,$R(r,c,i.index)),i.length>1&&i.index<r.length&&YL(RR,s,NR(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&MR(f,"")||zR(s,""):zR(s,$R(r,c)),s.length>o?NR(s,0,o):s;}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:bj(t,this,e,n);}:t,[function(t,n){var o=Lj(this),i=null==t?void 0:oN(t,e);return i?bj(i,t,o,n):bj(r,dL(o),t,n);},function(e,o){var i=jN(this),a=dL(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=jN(e).constructor;return void 0===r||null==(n=jN(r)[TR])?t:function(e){if(QI(e))return e;throw FR(tN(e)+" is not a constructor");}(n);}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(IR?"g":"y"),f=new s(IR?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===pR(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=IR?0:h;var v,y=pR(f,IR?$R(a,h):a);if(null===y||(v=LR(gI(f.lastIndex+(IR?h:0)),a.length))===p)h=oR(a,h,l);else{if(zR(g,$R(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(zR(g,y[m]),g.length===d)return g;h=p=v;}}return zR(g,$R(a,p)),g;}];},!!vj(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments);};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1];}),IR);var HR="\t\n\v\f\r                 \u2028\u2029\ufeff",VR=Bj("".replace),UR="["+HR+"]",WR=RegExp("^"+UR+UR+"*"),GR=RegExp(UR+UR+"*$"),qR=function(e){return function(t){var n=dL(Lj(t));return 1&e&&(n=VR(n,WR,"")),2&e&&(n=VR(n,GR,"")),n;};},KR={start:qR(1),end:qR(2),trim:qR(3)},YR=aI.PROPER,XR=KR.trim;function ZR(e){return 0===Mp("<div>"+e+"</div>").children().filter(function(e){return"BR"!==e.tagName;}).length;}function JR(e){return 0===e.length?"":e[0].outerHTML;}function QR(e){return e.length?e[0].tagName.toLowerCase():"";}function eM(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");u[0].trim()===t&&(n=u[1].trim());}}return n;}LI({target:"String",proto:!0,forced:("trim",vj(function(){return!!HR.trim()||"​…᠎"!=="​…᠎".trim()||YR&&"trim"!==HR.trim.name;}))},{trim:function(){return XR(this);}}),LI({global:!0},{globalThis:gj}),eh&&(Mp.fn.css=eh),ah&&(Mp.fn.append=ah),uh&&(Mp.fn.prepend=uh),zp&&(Mp.fn.addClass=zp),$p&&(Mp.fn.removeClass=$p),Hp&&(Mp.fn.hasClass=Hp),qp&&(Mp.fn.on=qp),Kp&&(Mp.fn.off=Kp),yh&&(Mp.fn.focus=yh),Vp&&(Mp.fn.attr=Vp),Up&&(Mp.fn.removeAttr=Up),Jp&&(Mp.fn.hide=Jp),Qp&&(Mp.fn.show=Qp),lh&&(Mp.fn.parents=lh),Wp&&(Mp.fn.dataset=Wp),Gp&&(Mp.fn.val=Gp),oh&&(Mp.fn.text=oh),rh&&(Mp.fn.html=rh),fh&&(Mp.fn.children=fh),dh&&(Mp.fn.remove=dh),ch&&(Mp.fn.find=ch),Yp&&(Mp.fn.width=Yp),Xp&&(Mp.fn.height=Xp),nh&&(Mp.fn.filter=nh),ph&&(Mp.fn.empty=ph);var tM={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter(function(e){return!!ed.isText(e)||!!n.isInline(e);})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t};}},nM=function(e,t){return nM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);},nM(e,t);/*! *****************************************************************************
101625
+ Copyright (c) Microsoft Corporation.
101626
+
101627
+ Permission to use, copy, modify, and/or distribute this software for any
101628
+ purpose with or without fee is hereby granted.
101629
+
101630
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101631
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101632
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101633
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101634
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101635
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101636
+ PERFORMANCE OF THIS SOFTWARE.
101637
+ ***************************************************************************** */};function rM(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e;}nM(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n());}var oM=function(){return oM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e;},oM.apply(this,arguments);};function iM(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e));}catch(e){i(e);}}function u(e){try{s(r.throw(e));}catch(e){i(e);}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t);})).then(a,u);}s((r=r.apply(e,t||[])).next());});}function aM(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1];},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this;}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue;}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break;}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break;}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break;}o[2]&&a.ops.pop(),a.trys.pop();continue;}i=t.call(e,a);}catch(e){i=[6,e],r=0;}finally{n=o=0;}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0};}([i,u]);};}}function uM(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}function sM(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return a;}function lM(e){var t=sM(Bf.nodes(e,{match:function(t){return e.children[0]===t;},mode:"highest"}),1)[0];if(null==t)return!1;var n=t[0];if(!Sf.isElement(n))return!1;if("paragraph"===n.type)return!1;if(""!==Nf.string(n))return!1;var r=n.children,o=void 0===r?[]:r;return!!ed.isText(o[0])&&(md.setNodes(e,{type:"paragraph"}),!0);}var cM={renderElems:[lj],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>";}}],parseElemsHtml:[tM],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(e){lM(r)||t(e);},r.deleteForward=function(e){lM(r)||n(e);},r;}},fM=/"/g,dM=Bj("".replace),pM=function(e,t,n,r){var o=dL(Lj(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+dM(dL(r),fM,"&quot;")+'"'),i+">"+o+"</"+t+">";},hM=function(e){return vj(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3;});};function gM(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n;}function vM(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0);}LI({target:"String",proto:!0,forced:hM("bold")},{bold:function(){return pM(this,"b","","");}}),LI({target:"String",proto:!0,forced:hM("italics")},{italics:function(){return pM(this,"i","","");}}),LI({target:"String",proto:!0,forced:hM("sub")},{sub:function(){return pM(this,"sub","","");}}),LI({target:"String",proto:!0,forced:hM("sup")},{sup:function(){return pM(this,"sup","","");}});var yM={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},mM=kN("span").classList,bM=mM&&mM.constructor&&mM.constructor.prototype,wM=bM===Object.prototype?void 0:bM,EM=function(e,t){var n=[][e];return!!n&&vj(function(){n.call(null,t||function(){throw 1;},1);});},DM=iL.forEach,SM=EM("forEach")?[].forEach:function(e){return DM(this,e,arguments.length>1?arguments[1]:void 0);},xM=function(e){if(e&&e.forEach!==SM)try{RN(e,"forEach",SM);}catch(t){e.forEach=SM;}};for(var CM in yM)yM[CM]&&xM(gj[CM]&&gj[CM].prototype);function AM(e,t){return null==e.selection||!!sM(Bf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Bf.isVoid(e,t);},universal:!0}),1)[0];}function OM(e,t){Object.keys(t).forEach(function(t){"text"!==t&&Bf.removeMark(e,t);});}xM(wM),LI({target:"Object",stat:!0,forced:vj(function(){mL(1);})},{keys:function(e){return mL(fN(e));}});var kM=function(){function e(){this.marksNeedToRemove=[],this.tag="button";}return e.prototype.getValue=function(e){var t=this.mark,n=Bf.marks(e);return n?n[t]:!!sM(Bf.nodes(e,{match:function(e){return!0===e[t];}}),1)[0];},e.prototype.isActive=function(e){return!!this.getValue(e);},e.prototype.isDisabled=function(e){return AM(e,this.mark);},e.prototype.exec=function(e,t){var n=this.mark,r=this.marksNeedToRemove;t?e.removeMark(n):(e.addMark(n,!0),r&&r.forEach(function(t){return e.removeMark(t);}));},e;}(),BM='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',FM='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',TM='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',_M='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',PM='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',jM='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',NM='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',IM='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',LM='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',RM='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',MM='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',zM='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',$M='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',HM='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',VM='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',UM='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',WM='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',GM='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',qM='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',KM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="bold",t.title=HP("textStyle.bold"),t.iconSvg=BM,t.hotkey="mod+b",t;}return rM(t,e),t;}(kM),YM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="code",t.title=HP("textStyle.code"),t.iconSvg=PM,t.hotkey="mod+e",t;}return rM(t,e),t;}(kM),XM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="italic",t.title=HP("textStyle.italic"),t.iconSvg=TM,t.hotkey="mod+i",t;}return rM(t,e),t;}(kM),ZM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="through",t.title=HP("textStyle.through"),t.iconSvg=_M,t.hotkey="mod+shift+x",t;}return rM(t,e),t;}(kM),JM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="underline",t.title=HP("textStyle.underline"),t.iconSvg=FM,t.hotkey="mod+u",t;}return rM(t,e),t;}(kM),QM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sub",t.marksNeedToRemove=["sup"],t.title=HP("textStyle.sub"),t.iconSvg=qM,t.hotkey="",t;}return rM(t,e),t;}(kM),ez=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sup",t.marksNeedToRemove=["sub"],t.title=HP("textStyle.sup"),t.iconSvg=GM,t.hotkey="",t;}return rM(t,e),t;}(kM),tz=function(){function e(){this.title=HP("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return AM(e);},e.prototype.exec=function(e,t){var n,r,o=Bf.nodes(e,{match:function(e){return ed.isText(e);},universal:!0});try{for(var i=uM(o),a=i.next();!a.done;a=i.next())OM(e,a.value[0]);}catch(e){n={error:e};}finally{try{a&&!a.done&&(r=i.return)&&r.call(i);}finally{if(n)throw n.error;}}},e;}(),nz={renderStyle:function(e,t){var n=e,r=n.bold,o=n.italic,i=n.underline,a=n.code,u=n.through,s=n.sub,l=n.sup,c=t;return r&&(c=Pg("strong",null,c)),a&&(c=Pg("code",null,c)),o&&(c=Pg("em",null,c)),i&&(c=Pg("u",null,c)),u&&(c=Pg("s",null,c)),s&&(c=Pg("sub",null,c)),l&&(c=Pg("sup",null,c)),c;},menus:[{key:"bold",factory:function(){return new KM();}},{key:"underline",factory:function(){return new JM();}},{key:"italic",factory:function(){return new XM();}},{key:"through",factory:function(){return new ZM();}},{key:"code",factory:function(){return new YM();}},{key:"sub",factory:function(){return new QM();}},{key:"sup",factory:function(){return new ez();}},{key:"clearStyle",factory:function(){return new tz();}}],styleToHtml:function(e,t){if(!ed.isText(e))return t;if(ZR(t))return gM(e,t);var n=Mp(t);if("br"===QR(n))return gM(e,"<br>");var r=n.html();return r=gM(e,r),n.html(r),JR(n);},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t;return vM(r,"b,strong")&&(o.bold=!0),vM(r,"i,em")&&(o.italic=!0),vM(r,"u")&&(o.underline=!0),vM(r,"s,strike")&&(o.through=!0),vM(r,"sub")&&(o.sub=!0),vM(r,"sup")&&(o.sup=!0),vM(r,"code")&&(o.code=!0),o;}};function rz(e){return function(t,n,r){return Pg("h"+e,null,n);};}var oz={type:"header1",renderElem:rz(1)},iz={type:"header2",renderElem:rz(2)},az={type:"header3",renderElem:rz(3)},uz={type:"header4",renderElem:rz(4)},sz={type:"header5",renderElem:rz(5)},lz=aI.PROPER,cz=RegExp.prototype,fz=cz.toString,dz=Bj(pL),pz=vj(function(){return"/a/b"!=fz.call({source:"a",flags:"b"});}),hz=lz&&"toString"!=fz.name;(pz||hz)&&uI(RegExp.prototype,"toString",function(){var e=jN(this),t=dL(e.source),n=e.flags;return"/"+t+"/"+dL(void 0===n&&Vj(cz,e)&&!("flags"in cz)?dz(e):n);},{unsafe:!0});var gz,vz=gj.TypeError,yz=function(e){if(BR(e))throw vz("The method doesn't accept regular expressions");return e;},mz=DN("match"),bz=function(e){var t=/./;try{"/./"[e](t);}catch(n){try{return t[mz]=!1,"/./"[e](t);}catch(e){}}return!1;},wz=TN.f,Ez=Bj("".startsWith),Dz=Bj("".slice),Sz=Math.min,xz=bz("startsWith");function Cz(e){var t=sM(Bf.nodes(e,{match:function(e){return QO.getNodeType(e).startsWith("header");},universal:!0}),1),n=t[0];if(null==n)return"paragraph";var r=sM(n,1)[0];return QO.getNodeType(r);}function Az(e){return null==e.selection||!sM(Bf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||!!t.startsWith("header");},universal:!0,mode:"highest"}),1)[0];}function Oz(e,t){t&&md.setNodes(e,{type:t});}LI({target:"String",proto:!0,forced:!(!xz&&(gz=wz(String.prototype,"startsWith"),gz&&!gz.writable)||xz)},{startsWith:function(e){var t=dL(Lj(this));yz(e);var n=gI(Sz(arguments.length>1?arguments[1]:void 0,t.length)),r=dL(e);return Ez?Ez(t,r,n):Dz(t,n,n+r.length)===r;}});var kz=function(){function e(){this.title=HP("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60;}return e.prototype.getOptions=function(e){var t=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:HP("header.text")}],n=this.getValue(e).toString();return t.forEach(function(e){e.value===n?e.selected=!0:delete e.selected;}),t;},e.prototype.isActive=function(e){return!1;},e.prototype.getValue=function(e){return Cz(e);},e.prototype.isDisabled=function(e){return Az(e);},e.prototype.exec=function(e,t){Oz(e,t.toString());},e;}(),Bz=function(){function e(){this.tag="button";}return e.prototype.getValue=function(e){return Cz(e);},e.prototype.isActive=function(e){return this.getValue(e)===this.type;},e.prototype.isDisabled=function(e){return Az(e);},e.prototype.exec=function(e,t){var n=this.type;Oz(e,t===n?"paragraph":n);},e;}(),Fz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H1",t.type="header1",t;}return rM(t,e),t;}(Bz),Tz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H2",t.type="header2",t;}return rM(t,e),t;}(Bz),_z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H3",t.type="header3",t;}return rM(t,e),t;}(Bz),Pz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H4",t.type="header4",t;}return rM(t,e),t;}(Bz),jz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H5",t.type="header5",t;}return rM(t,e),t;}(Bz),Nz={key:"headerSelect",factory:function(){return new kz();}},Iz={key:"header1",factory:function(){return new Fz();}},Lz={key:"header2",factory:function(){return new Tz();}},Rz={key:"header3",factory:function(){return new _z();}},Mz={key:"header4",factory:function(){return new Pz();}},zz={key:"header5",factory:function(){return new jz();}};function $z(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">";};}function Hz(e){return function(t,n,r){var o=Mp(t);return 0===(n=n.filter(function(e){return!!ed.isText(e)||!!r.isInline(e);})).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n};};}var Vz={renderElems:[oz,iz,az,uz,sz],elemsToHtml:[{type:"header1",elemToHtml:$z(1)},{type:"header2",elemToHtml:$z(2)},{type:"header3",elemToHtml:$z(3)},{type:"header4",elemToHtml:$z(4)},{type:"header5",elemToHtml:$z(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:Hz(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:Hz(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:Hz(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:Hz(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:Hz(5)}],menus:[Nz,Iz,Lz,Rz,Mz,zz],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=sM(Bf.nodes(n,{match:function(e){return QO.getNodeType(e).startsWith("header");},universal:!0}),1)[0];r&&QO.isSelectionAtLineEnd(e,r[1])?md.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t();},n;}},Uz=Object.assign,Wz=Object.defineProperty,Gz=Bj([].concat),qz=!Uz||vj(function(){if(yj&&1!==Uz({b:1},Uz(Wz({},"a",{enumerable:!0,get:function(){Wz(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e;}),7!=Uz({},e)[n]||mL(Uz({},t)).join("")!=r;})?function(e,t){for(var n=fN(e),r=arguments.length,o=1,i=CI.f,a=Sj.f;r>o;)for(var u,s=Nj(arguments[o++]),l=i?Gz(mL(s),i(s)):mL(s),c=l.length,f=0;c>f;)u=l[f++],yj&&!bj(a,s,u)||(n[u]=s[u]);return n;}:Uz;function Kz(e,t){null==e.data&&(e.data={});var n=e.data;null==n.style&&(n.style={}),Object.assign(n.style,t);}LI({target:"Object",stat:!0,forced:Object.assign!==qz},{assign:qz});var Yz={selector:"font",preParseHtml:function(e){var t=Mp(e);if("font"!==QR(t))return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0];}},Xz=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null;}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){var t=this.mark,n=Bf.marks(e);return n&&n[t]?n[t]:"";},e.prototype.isActive=function(e){return!!this.getValue(e);},e.prototype.isDisabled=function(e){return null==e.selection||!!sM(Bf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Bf.isVoid(e,t);},universal:!0}),1)[0];},e.prototype.getPanelContentElem=function(e){var t=this.mark;if(null==this.$content){var n=Mp('<ul class="w-e-panel-content-color"></ul>');n.on("click","li",function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=e.selection)){var o=Mp(r).attr("data-value");"0"===o?Bf.removeMark(e,t):Bf.addMark(e,t,o);}}),this.$content=n;}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var o=this.getValue(e),i=e.getMenuConfig(t).colors;(void 0===i?[]:i).forEach(function(e){var t=Mp('<div class="color-block" data-value="'+e+'"></div>');t.css("background-color",e);var n=Mp('<li data-value="'+e+'"></li>');o===e&&n.addClass("active"),n.append(t),r.append(n);});var a="";"color"===t&&(a=HP("color.default")),"bgColor"===t&&(a=HP("color.clear"));var u=Mp('\n <li data-value="0" class="clear">\n <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>\n '+a+"\n </li>\n ");return r.prepend(u),r[0];},e;}(),Zz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("color.color"),t.iconSvg=IM,t.mark="color",t;}return rM(t,e),t;}(Xz),Jz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("color.bgColor"),t.iconSvg=LM,t.mark="bgColor",t;}return rM(t,e),t;}(Xz),Qz=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],e$={renderStyle:function(e,t){var n=e,r=n.color,o=n.bgColor,i=t;return r&&Kz(i,{color:r}),o&&Kz(i,{backgroundColor:o}),i;},styleToHtml:function(e,t){if(!ed.isText(e))return t;var n,r=e,o=r.color,i=r.bgColor;return o||i?((ZR(t)||"span"!==QR(n=Mp(t)))&&(n=Mp("<span>"+t+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),JR(n)):t;},preParseHtml:[Yz],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t,i=eM(r,"color");i&&(o.color=i);var a=eM(r,"background-color");return a||(a=eM(r,"background")),a&&(o.bgColor=a),o;},menus:[{key:"color",factory:function(){return new Zz();},config:{colors:Qz}},{key:"bgColor",factory:function(){return new Jz();},config:{colors:Qz}}]},t$=/^(?:\w+:)?\/\/(\S+)$/,n$=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,r$=/^[^\s\.]+\.\S{2,}$/,o$=mI.includes;function i$(e){return void 0===e&&(e="r"),e+"-"+Rh();}function a$(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;");}function u$(e,t,n,r){return iM(this,void 0,void 0,function(){var o,i;return aM(this,function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if("string"==typeof(i=a.sent()))return t.alert(i,"error"),[2,!1];if(null==i)return[2,!1];a.label=2;case 2:return[2,!0];}});});}function s$(e,t,n){return iM(this,void 0,void 0,function(){var r;return aM(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n];}});});}function l$(e){return null==e.selection||!!QO.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0;});}function c$(e,t){return{type:"link",url:a$(e),children:t?[{text:t}]:[]};}function f$(e,t,n){return iM(this,void 0,void 0,function(){var r,o,i;return aM(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),l$(e)?[2]:[4,u$("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,s$("insertLink",e,n)]:[2];case 2:return r=a.sent(),null==(o=e.selection)||(qf.isCollapsed(o)?(e.insertText(" "),i=c$(r,t),md.insertNodes(e,i),e.insertFragment([{text:" "}])):Bf.string(e,o)!==t?(e.deleteFragment(),i=c$(r,t),md.insertNodes(e,i)):(i=c$(r),md.wrapNodes(e,i,{split:!0}),md.collapse(e,{edge:"end"}))),[2];}});});}LI({target:"Array",proto:!0},{includes:function(e){return o$(this,e,arguments.length>1?arguments[1]:void 0);}}),CR("includes");var d$={type:"link",renderElem:function(e,t,n){var r=e,o=r.url,i=r.target;return Pg("a",{href:o,target:void 0===i?"_blank":i},t);}},p$={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter(function(e){return!!ed.isText(e)||!!n.isInline(e);})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t};}};function h$(){return i$("w-e-insert-link");}var g$=function(){function e(){this.title=HP("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=h$(),this.urlInputId=h$(),this.buttonId=h$();}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return l$(e);},e.prototype.getModalPositionNode=function(e){return null;},e.prototype.getModalContentElem=function(e){var t=e.selection,n=this,r=n.textInputId,o=n.urlInputId,i=n.buttonId,a=sM(S_(HP("link.text"),r),2),u=a[0],s=Mp(a[1]),l=sM(S_(HP("link.url"),o),2),c=l[0],f=Mp(l[1]),d=sM(C_(i,HP("common.ok")),1)[0];if(null==this.$content){var p=Mp("<div></div>");p.on("click","#"+i,function(t){t.preventDefault();var n=p.find("#"+r).val(),i=p.find("#"+o).val();f$(e,n,i),e.hidePanelOrModal();}),this.$content=p;}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(d),null==t||qf.isCollapsed(t))s.val("");else{var g=Bf.string(e,t);s.val(g);}return f.val(""),setTimeout(function(){s.focus();}),h[0];},e;}();function v$(){return i$("w-e-update-link");}var y$=function(){function e(){this.title=HP("link.edit"),this.iconSvg=jM,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=v$(),this.buttonId=v$();}return e.prototype.getSelectedLinkElem=function(e){var t=QO.getSelectedNodeByType(e,"link");return null==t?null:t;},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||"";},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e);},e.prototype.getModalPositionNode=function(e){return QO.getSelectedNodeByType(e,"link");},e.prototype.getModalContentElem=function(e){var t=this.urlInputId,n=this.buttonId,r=sM(S_(HP("link.url"),t),2),o=r[0],i=Mp(r[1]),a=sM(C_(n,HP("common.ok")),1)[0];if(null==this.$content){var u=Mp("<div></div>");u.on("click","button",function(n){n.preventDefault(),e.restoreSelection();var r=QO.getSelectedNodeByType(e,"link"),o=r?Nf.string(r):"",i=u.find("#"+t).val();!function(e,t,n){iM(this,void 0,void 0,function(){var r,o;return aM(this,function(i){switch(i.label){case 0:return n?[4,u$("editLink",e,t,n)]:[2];case 1:return i.sent()?[4,s$("editLink",e,n)]:[2];case 2:return r=i.sent(),o={url:a$(r)},md.setNodes(e,o,{match:function(e){return QO.checkNodeType(e,"link");}}),[2];}});});}(e,o,i),e.hidePanelOrModal();}),this.$content=u;}var s=this.$content;s.empty(),s.append(o),s.append(a);var l=this.getValue(e);return i.val(l),setTimeout(function(){i.focus();}),s[0];},e;}(),m$=function(){function e(){this.title=HP("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection||null==QO.getSelectedNodeByType(e,"link");},e.prototype.exec=function(e,t){this.isDisabled(e)||md.unwrapNodes(e,{match:function(e){return QO.checkNodeType(e,"link");}});},e;}(),b$=function(){function e(){this.title=HP("link.view"),this.iconSvg=NM,this.tag="button";}return e.prototype.getSelectedLinkElem=function(e){var t=QO.getSelectedNodeByType(e,"link");return null==t?null:t;},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e);},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw new Error("View link failed, link url is '"+t+"'");window.open(t,"_blank");}},e;}(),w$={checkLink:function(e,t){return!0;},parseLinkUrl:function(e){return e;}},E$={renderElems:[d$],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e,r=n.url,o=n.target;return'<a href="'+r+'" target="'+(void 0===o?"_blank":o)+'">'+t+"</a>";}}],parseElemsHtml:[p$],menus:[{key:"insertLink",factory:function(){return new g$();},config:w$},{key:"editLink",factory:function(){return new y$();},config:w$},{key:"unLink",factory:function(){return new m$();}},{key:"viewLink",factory:function(){return new b$();}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var o=e;return o.isInline=function(e){return"link"===e.type||t(e);},o.insertData=function(e){var t=e.getData("text/plain");if(function(e){if("string"!=typeof e)return!1;var t=e.match(t$);if(!t)return!1;var n=t[1];return!(!n||!n$.test(n)&&!r$.test(n));}(t)){if(!l$(o)){var r=o.selection;if(null!=r){var i=Bf.string(o,r);f$(o,i,t);}}}else n(e);},o.normalizeNode=function(e){var t=sM(e,2),n=t[0],i=t[1];return"link"!==QO.getNodeType(n)?r([n,i]):""===Nf.string(n)?md.removeNodes(o,{at:i}):r([n,i]);},o;}},D$=Bj(1..valueOf),S$=gj.RangeError,x$=gj.RangeError,C$=gj.String,A$=Math.floor,O$=Bj(function(e){var t=dL(Lj(this)),n="",r=cI(e);if(r<0||r==1/0)throw S$("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n;}),k$=Bj("".slice),B$=Bj(1..toFixed),F$=function(e,t,n){return 0===t?n:t%2==1?F$(e,t-1,n*e):F$(e*e,t/2,n);},T$=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=A$(o/1e7);},_$=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=A$(r/t),r=r%t*1e7;},P$=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=C$(e[t]);n=""===n?r:n+O$("0",7-r.length)+r;}return n;};function j$(e,t){return"w-e-image-container-"+QO.findKey(e,t).id;}LI({target:"Number",proto:!0,forced:vj(function(){return"0.000"!==B$(8e-5,3)||"1"!==B$(.9,0)||"1.25"!==B$(1.255,2)||"1000000000000000128"!==B$(0xde0b6b3a7640080,0);})||!vj(function(){B$({});})},{toFixed:function(e){var t,n,r,o,i=D$(this),a=cI(e),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw x$("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return C$(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t;}(i*F$(2,69,1))-69)<0?i*F$(2,-t,1):i/F$(2,t,1),n*=4503599627370496,(t=52-t)>0){for(T$(u,0,n),r=a;r>=7;)T$(u,1e7,0),r-=7;for(T$(u,F$(10,r,1),0),r=t-1;r>=23;)_$(u,1<<23),r-=23;_$(u,1<<r),T$(u,1,1),_$(u,2),l=P$(u);}else T$(u,0,n),T$(u,1<<-t,0),l=P$(u)+O$("0",a);return a>0?s+((o=l.length)<=a?"0."+O$("0",a-o)+l:k$(l,0,o-a)+"."+k$(l,o-a)):s+l;}});var N$={type:"image",renderElem:function(e,t,n){var r=e,o=r.src,i=r.alt,a=void 0===i?"":i,u=r.href,s=void 0===u?"":u,l=r.style,c=void 0===l?{}:l,f=c.width,d=void 0===f?"":f,p=c.height,h=void 0===p?"":p,g=QO.isNodeSelected(n,e),v={};d&&(v.width="100%"),h&&(v.height="100%");var y=Pg("img",{style:v,src:o,alt:a,"data-href":s}),m=n.isDisabled();return g&&!m?function(e,t,n,r){var o=Mp("body"),i=j$(e,t),a=r.width,u=r.height,s=0,l=0,c=0,f=!1,d=null;function p(t){d=function(){var e=Mp("#"+i);if(0===e.length)throw new Error("Cannot find image container elem");return e;}(),s=t;var n=d.find("img");if(0===n.length)throw new Error("Cannot find image elem");l=n.width(),c=n.height(),o.on("mousemove",h),o.on("mouseup",g);var r=QO.getHoverbar(e);r&&r.hideAndClean();}var h=eg(function(e){e.preventDefault();var t=e.clientX,n=l+(f?s-t:t-s),r=c*(n/l);null!=d&&(n<=15||r<=15||(d.css("width",n+"px"),d.css("height",r+"px")));},100);function g(n){if(o.off("mousemove",h),null!=d){var r=d.width().toFixed(2),i=d.height().toFixed(2),a={style:oM(oM({},t.style),{width:r+"px",height:i+"px"})};md.setNodes(e,a,{at:QO.findPath(e,t)}),o.off("mouseup",g);}}var v={};return a&&(v.width=a),u&&(v.height=u),Pg("div",{id:i,style:v,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(e){var t=Mp(e.target);t.hasClass("w-e-image-dragger")&&(e.preventDefault(),(t.hasClass("left-top")||t.hasClass("left-bottom"))&&(f=!0),p(e.clientX));}}},n,Pg("div",{className:"w-e-image-dragger left-top"}),Pg("div",{className:"w-e-image-dragger right-top"}),Pg("div",{className:"w-e-image-dragger left-bottom"}),Pg("div",{className:"w-e-image-dragger right-bottom"}));}(n,e,y,{width:d,height:h}):function(e,t,n,r){var o=r.width,i=r.height,a={};return o&&(a.width=o),i&&(a.height=i),Pg("div",{id:j$(e,t),style:a,className:"w-e-image-container"},n);}(n,e,y,{width:d,height:h});}},I$={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:eM(r,"width"),height:eM(r,"height")},children:[{text:""}]};}};function L$(e,t,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),iM(this,void 0,void 0,function(){var i,a;return aM(this,function(u){switch(u.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if("string"==typeof(a=u.sent()))return t.alert(a,"error"),[2,!1];if(null==a)return[2,!1];u.label=2;case 2:return[2,!0];}});});}function R$(e,t,n){return iM(this,void 0,void 0,function(){var r;return aM(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n];}});});}function M$(e,t,n,r){return void 0===n&&(n=""),void 0===r&&(r=""),iM(this,void 0,void 0,function(){var o,i,a;return aM(this,function(u){switch(u.label){case 0:return[4,L$("insertImage",e,t,n,r)];case 1:return u.sent()?[4,R$("insertImage",e,t)]:[2];case 2:return o=u.sent(),i={type:"image",src:a$(o),href:r,alt:n,style:{},children:[{text:""}]},null===e.selection&&e.restoreSelection(),QO.getSelectedNodeByType(e,"image")&&e.move(1),z$(e)||(md.insertNodes(e,i),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(i)),[2];}});});}function z$(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!sM(Bf.nodes(e,{match:function(t){var n=QO.getNodeType(t);return"code"===n||"pre"===n||"link"===n||"list-item"===n||!!n.startsWith("header")||"blockquote"===n||!!Bf.isVoid(e,t);},universal:!0}),1)[0];}function $$(){return i$("w-e-insert-image");}var H$=function(){function e(){this.title=HP("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=$$(),this.altInputId=$$(),this.hrefInputId=$$(),this.buttonId=$$();}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return z$(e);},e.prototype.getModalPositionNode=function(e){return null;},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,a=n.buttonId,u=sM(S_(HP("image.src"),r),2),s=u[0],l=Mp(u[1]),c=sM(S_(HP("image.desc"),o),2),f=c[0],d=Mp(c[1]),p=sM(S_(HP("image.link"),i),2),h=p[0],g=Mp(p[1]),v=sM(C_(a,HP("common.ok")),1)[0];if(null==this.$content){var y=Mp("<div></div>");y.on("click","#"+a,function(n){n.preventDefault();var a=y.find("#"+r).val().trim(),u=y.find("#"+o).val().trim(),s=y.find("#"+i).val().trim();t.insertImage(e,a,u,s),e.hidePanelOrModal();}),this.$content=y;}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(h),m.append(v),l.val(""),d.val(""),g.val(""),setTimeout(function(){l.focus();}),m[0];},e.prototype.insertImage=function(e,t,n,r){void 0===n&&(n=""),void 0===r&&(r=""),t&&(e.restoreSelection(),this.isDisabled(e)||M$(e,t,n,r));},e;}(),V$=function(){function e(){this.title=HP("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection||null==QO.getSelectedNodeByType(e,"image");},e.prototype.exec=function(e,t){this.isDisabled(e)||md.removeNodes(e,{match:function(e){return QO.checkNodeType(e,"image");}});},e;}();function U$(){return i$("w-e-edit-image");}var W$=function(){function e(){this.title=HP("image.edit"),this.iconSvg=jM,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=U$(),this.altInputId=U$(),this.hrefInputId=U$(),this.buttonId=U$();}return e.prototype.getValue=function(e){return"";},e.prototype.getImageNode=function(e){return QO.getSelectedNodeByType(e,"image");},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"image");},e.prototype.getModalPositionNode=function(e){return this.getImageNode(e);},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,a=n.buttonId,u=this.getImageNode(e);if(null==u)throw new Error("Not found selected image node");var s=sM(S_(HP("image.src"),r),2),l=s[0],c=Mp(s[1]),f=sM(S_(HP("image.desc"),o),2),d=f[0],p=Mp(f[1]),h=sM(S_(HP("image.link"),i),2),g=h[0],v=Mp(h[1]),y=sM(C_(a,HP("common.ok")),1)[0];if(null==this.$content){var m=Mp("<div></div>");m.on("click","#"+a,function(n){n.preventDefault();var a=m.find("#"+r).val(),u=m.find("#"+o).val(),s=m.find("#"+i).val();t.updateImage(e,a,u,s),e.hidePanelOrModal();}),this.$content=m;}var b=this.$content;b.empty(),b.append(l),b.append(d),b.append(g),b.append(y);var w=u,E=w.src,D=w.alt,S=void 0===D?"":D,x=w.href,C=void 0===x?"":x;return c.val(E),p.val(S),v.val(C),setTimeout(function(){c.focus();}),b[0];},e.prototype.updateImage=function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),t&&(e.restoreSelection(),this.isDisabled(e)||function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),iM(this,void 0,void 0,function(){var i,a,u,s,l,c;return aM(this,function(f){switch(f.label){case 0:return[4,L$("editImage",e,t,n,r)];case 1:return f.sent()?[4,R$("editImage",e,t)]:[2];case 2:return i=f.sent(),null==(a=QO.getSelectedNodeByType(e,"image"))||(u=a.style,s={src:i,alt:n,href:r,style:oM(oM({},void 0===u?{}:u),o)},md.setNodes(e,s,{match:function(e){return QO.checkNodeType(e,"image");}}),l=QO.getSelectedNodeByType(e,"image"),(c=e.getMenuConfig("editImage").onUpdatedImage)&&c(l)),[2];}});});}(e,t,n,r,o));},e;}(),G$=function(){function e(){this.title=HP("image.viewLink"),this.iconSvg=NM,this.tag="button";}return e.prototype.getValue=function(e){var t=QO.getSelectedNodeByType(e,"image");return t&&t.href||"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection||!this.getValue(e);},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw new Error("View image link failed, image.href is '"+t+"'");window.open(t,"_blank");}},e;}(),q$=function(){function e(){this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.getSelectedNode=function(e){return QO.getSelectedNodeByType(e,"image");},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedNode(e);},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.getSelectedNode(e);if(null!=n){var r=QO.getHoverbar(e);r&&r.hideAndClean();var o=n.style,i={style:oM(oM({},void 0===o?{}:o),{width:this.value,height:""})};md.setNodes(e,i,{match:function(e){return QO.checkNodeType(e,"image");}});}}},e;}(),K$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="30%",t.value="30%",t;}return rM(t,e),t;}(q$),Y$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="50%",t.value="50%",t;}return rM(t,e),t;}(q$),X$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="100%",t.value="100%",t;}return rM(t,e),t;}(q$),Z$={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0;},parseImageSrc:function(e){return e;}},J$={renderElems:[N$],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e,r=n.src,o=n.alt,i=void 0===o?"":o,a=n.href,u=void 0===a?"":a,s=n.style,l=void 0===s?{}:s,c=l.width,f=void 0===c?"":c,d=l.height,p=void 0===d?"":d,h="";return f&&(h+="width: "+f+";"),p&&(h+="height: "+p+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+u+'" style="'+h+'"/>';}}],parseElemsHtml:[I$],menus:[{key:"insertImage",factory:function(){return new H$();},config:Z$},{key:"deleteImage",factory:function(){return new V$();}},{key:"editImage",factory:function(){return new W$();},config:Z$},{key:"viewImageLink",factory:function(){return new G$();}},{key:"imageWidth30",factory:function(){return new K$();}},{key:"imageWidth50",factory:function(){return new Y$();}},{key:"imageWidth100",factory:function(){return new X$();}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(e){return"image"===e.type||t(e);},r.isVoid=function(e){return"image"===e.type||n(e);},r;}},Q$={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var o=Pg("div",{style:{margin:"5px 0"}},Pg("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Pg("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(t){var r=QO.findPath(n,e),o={checked:t.target.checked};md.setNodes(n,o,{at:r});}}})),Pg("span",null,t));return o;}},eH=function(){function e(){this.title=HP("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!!QO.getSelectedNodeByType(e,"todo");},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some(function(t){if(Bf.isVoid(e,t)&&Bf.isBlock(e,t))return!0;var n=t.type;return!!["pre","table","list-item"].includes(n)||void 0;});},e.prototype.exec=function(e,t){var n=this.isActive(e);md.setNodes(e,{type:n?"paragraph":"todo"});},e;}(),tH={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter(function(e){return!!ed.isText(e)||!!n.isInline(e);})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return null!=r.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:t};}},nH={renderElems:[Q$],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>";}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=Mp(e).find("li"),n=Mp('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0];}}],parseElemsHtml:[tH],menus:[{key:"todo",factory:function(){return new eH();}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(n){var r=e.selection;if(r&&qf.isCollapsed(r)){var o=QO.getSelectedNodeByType(e,"todo");if(o&&0===Nf.string(o).length)return void md.setNodes(e,{type:"paragraph"},{mode:"highest"});}t(n);},n;}},rH={type:"blockquote",renderElem:function(e,t,n){return Pg("blockquote",null,t);}},oH={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter(function(e){return!!ed.isText(e)||!!n.isInline(e);})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t};}},iH=function(){function e(){this.title=HP("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!!QO.getSelectedNodeByType(e,"blockquote");},e.prototype.isDisabled=function(e){return null==e.selection||!sM(Bf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||"blockquote"===t;},universal:!0,mode:"highest"}),1)[0];},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.isActive(e)?"paragraph":"blockquote";md.setNodes(e,{type:n},{mode:"highest"});}},e;}(),aH={key:"blockquote",factory:function(){return new iH();}},uH=Bj([].slice),sH=uL("slice"),lH=DN("species"),cH=gj.Array,fH=Math.max;LI({target:"Array",proto:!0,forced:!sH},{slice:function(e,t){var n,r,o,i=Rj(this),a=vI(i),u=pI(e,a),s=pI(void 0===t?a:t,a);if(MI(i)&&(n=i.constructor,(QI(n)&&(n===cH||MI(n.prototype))||zj(n)&&null===(n=n[lH]))&&(n=void 0),n===cH||void 0===n))return uH(i,u,s);for(r=new(void 0===n?cH:n)(fH(s-u,0)),o=0;u<s;u++,o++)u in i&&_R(r,o,i[u]);return r.length=o,r;}});var dH={renderElems:[rH],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>";}}],parseElemsHtml:[oH],menus:[aH],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var o=r.selection;if(null==o)return t();var i=sM(Bf.nodes(e,{match:function(e){return QO.checkNodeType(e,"blockquote");},universal:!0}),1)[0];if(!i)return t();var a=i[0],u=QO.findPath(e,a),s=Bf.end(e,u);if(Vf.equals(s,o.focus)){var l=Nf.string(a);if(l&&"\n"===l.slice(-1))return e.deleteBackward("character"),void md.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"});}n("\n");},r;}},pH=function(){function e(){this.title=HP("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null;}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection||!!sM(Bf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Bf.isVoid(e,t);},universal:!0}),1)[0];},e.prototype.getPanelContentElem=function(e){if(null==this.$content){var t=Mp('<ul class="w-e-panel-content-emotion"></ul>');t.on("click","li",function(t){var n=t.target;if(null!=n){t.preventDefault();var r=Mp(n).text();e.insertText(r);}}),this.$content=t;}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=e.getMenuConfig("emotion").emotions;return(void 0===r?[]:r).forEach(function(e){var t=Mp("<li>"+e+"</li>");n.append(t);}),n[0];},e;}(),hH={menus:[{key:"emotion",factory:function(){return new pH();},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},gH={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},vH={selector:"font",preParseHtml:function(e){var t=Mp(e);if("font"!==QR(t))return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",gH[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0];}},yH=Bj("".indexOf);LI({target:"String",proto:!0,forced:!bz("includes")},{includes:function(e){return!!~yH(dL(Lj(this)),dL(yz(e)),arguments.length>1?arguments[1]:void 0);}});var mH,bH,wH=function(e){return e&&e.Math==Math&&e;},EH=wH("object"==typeof globalThis&&globalThis)||wH("object"==typeof window&&window)||wH("object"==typeof self&&self)||wH("object"==typeof cj&&cj)||function(){return this;}()||Function("return this")(),DH=Function.prototype,SH=DH.apply,xH=DH.bind,CH=DH.call,AH="object"==typeof Reflect&&Reflect.apply||(xH?CH.bind(SH):function(){return CH.apply(SH,arguments);}),OH=Function.prototype,kH=OH.bind,BH=OH.call,FH=kH&&kH.bind(BH),TH=kH?function(e){return e&&FH(BH,e);}:function(e){return e&&function(){return BH.apply(e,arguments);};},_H=function(e){return"function"==typeof e;},PH=function(e){try{return!!e();}catch(e){return!0;}},jH=!PH(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),NH=Function.prototype.call,IH=NH.bind?NH.bind(NH):function(){return NH.apply(NH,arguments);},LH={}.propertyIsEnumerable,RH=Object.getOwnPropertyDescriptor,MH=RH&&!LH.call({1:2},1)?function(e){var t=RH(this,e);return!!t&&t.enumerable;}:LH,zH={f:MH},$H=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},HH=TH({}.toString),VH=TH("".slice),UH=function(e){return VH(HH(e),8,-1);},WH=EH.Object,GH=TH("".split),qH=PH(function(){return!WH("z").propertyIsEnumerable(0);})?function(e){return"String"==UH(e)?GH(e,""):WH(e);}:WH,KH=EH.TypeError,YH=function(e){if(null==e)throw KH("Can't call method on "+e);return e;},XH=function(e){return qH(YH(e));},ZH=function(e){return"object"==typeof e?null!==e:_H(e);},JH={},QH=function(e){return _H(e)?e:void 0;},eV=function(e,t){return arguments.length<2?QH(JH[e])||QH(EH[e]):JH[e]&&JH[e][t]||EH[e]&&EH[e][t];},tV=TH({}.isPrototypeOf),nV=eV("navigator","userAgent")||"",rV=EH.process,oV=EH.Deno,iV=rV&&rV.versions||oV&&oV.version,aV=iV&&iV.v8;aV&&(bH=(mH=aV.split("."))[0]>0&&mH[0]<4?1:+(mH[0]+mH[1])),!bH&&nV&&(!(mH=nV.match(/Edge\/(\d+)/))||mH[1]>=74)&&(mH=nV.match(/Chrome\/(\d+)/))&&(bH=+mH[1]);var uV=bH,sV=!!Object.getOwnPropertySymbols&&!PH(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&uV&&uV<41;}),lV=sV&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,cV=EH.Object,fV=lV?function(e){return"symbol"==typeof e;}:function(e){var t=eV("Symbol");return _H(t)&&tV(t.prototype,cV(e));},dV=EH.String,pV=EH.TypeError,hV=function(e){if(_H(e))return e;throw pV(function(e){try{return dV(e);}catch(e){return"Object";}}(e)+" is not a function");},gV=EH.TypeError,vV=Object.defineProperty,yV=EH["__core-js_shared__"]||function(e,t){try{vV(EH,e,{value:t,configurable:!0,writable:!0});}catch(n){EH[e]=t;}return t;}("__core-js_shared__",{}),mV=fj(function(e){(e.exports=function(e,t){return yV[e]||(yV[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),bV=EH.Object,wV=function(e){return bV(YH(e));},EV=TH({}.hasOwnProperty),DV=Object.hasOwn||function(e,t){return EV(wV(e),t);},SV=0,xV=Math.random(),CV=TH(1..toString),AV=function(e){return"Symbol("+(void 0===e?"":e)+")_"+CV(++SV+xV,36);},OV=mV("wks"),kV=EH.Symbol,BV=kV&&kV.for,FV=lV?kV:kV&&kV.withoutSetter||AV,TV=function(e){if(!DV(OV,e)||!sV&&"string"!=typeof OV[e]){var t="Symbol."+e;sV&&DV(kV,e)?OV[e]=kV[e]:OV[e]=lV&&BV?BV(t):FV(t);}return OV[e];},_V=EH.TypeError,PV=TV("toPrimitive"),jV=function(e){var t=function(e,t){if(!ZH(e)||fV(e))return e;var n,r,o=null==(n=e[PV])?void 0:hV(n);if(o){if(void 0===t&&(t="default"),r=IH(o,e,t),!ZH(r)||fV(r))return r;throw _V("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&_H(n=e.toString)&&!ZH(r=IH(n,e)))return r;if(_H(n=e.valueOf)&&!ZH(r=IH(n,e)))return r;if("string"!==t&&_H(n=e.toString)&&!ZH(r=IH(n,e)))return r;throw gV("Can't convert object to primitive value");}(e,t);}(e,"string");return fV(t)?t:t+"";},NV=EH.document,IV=ZH(NV)&&ZH(NV.createElement),LV=function(e){return IV?NV.createElement(e):{};},RV=!jH&&!PH(function(){return 7!=Object.defineProperty(LV("div"),"a",{get:function(){return 7;}}).a;}),MV=Object.getOwnPropertyDescriptor,zV={f:jH?MV:function(e,t){if(e=XH(e),t=jV(t),RV)try{return MV(e,t);}catch(e){}if(DV(e,t))return $H(!IH(zH.f,e,t),e[t]);}},$V=/#|\.prototype\./,HV=function(e,t){var n=UV[VV(e)];return n==GV||n!=WV&&(_H(t)?PH(t):!!t);},VV=HV.normalize=function(e){return String(e).replace($V,".").toLowerCase();},UV=HV.data={},WV=HV.NATIVE="N",GV=HV.POLYFILL="P",qV=HV,KV=TH(TH.bind),YV=function(e,t){return hV(e),void 0===t?e:KV?KV(e,t):function(){return e.apply(t,arguments);};},XV=EH.String,ZV=EH.TypeError,JV=function(e){if(ZH(e))return e;throw ZV(XV(e)+" is not an object");},QV=EH.TypeError,eU=Object.defineProperty,tU={f:jH?eU:function(e,t,n){if(JV(e),t=jV(t),JV(n),RV)try{return eU(e,t,n);}catch(e){}if("get"in n||"set"in n)throw QV("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},nU=jH?function(e,t,n){return tU.f(e,t,$H(1,n));}:function(e,t,n){return e[t]=n,e;},rU=zV.f,oU=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e();case 1:return new e(n);case 2:return new e(n,r);}return new e(n,r,o);}return AH(e,this,arguments);};return t.prototype=e.prototype,t;},iU=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,d=e.stat,p=e.proto,h=f?EH:d?EH[c]:(EH[c]||{}).prototype,g=f?JH:JH[c]||nU(JH,c,{})[c],v=g.prototype;for(o in t)n=!qV(f?o:c+(d?".":"#")+o,e.forced)&&h&&DV(h,o),a=g[o],n&&(u=e.noTargetGet?(l=rU(h,o))&&l.value:h[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?YV(i,EH):e.wrap&&n?oU(i):p&&_H(i)?TH(i):i,(e.sham||i&&i.sham||a&&a.sham)&&nU(s,"sham",!0),nU(g,o,s),p&&(DV(JH,r=c+"Prototype")||nU(JH,r,{}),nU(JH[r],o,i),e.real&&v&&!v[o]&&nU(v,o,i)));},aU=Array.isArray||function(e){return"Array"==UH(e);},uU=Math.ceil,sU=Math.floor,lU=function(e){var t=+e;return t!=t||0===t?0:(t>0?sU:uU)(t);},cU=Math.min,fU=function(e){return(t=e.length)>0?cU(lU(t),9007199254740991):0;var t;},dU=function(e,t,n){var r=jV(t);r in e?tU.f(e,r,$H(0,n)):e[r]=n;},pU={};pU[TV("toStringTag")]="z";var hU="[object z]"===String(pU),gU=TV("toStringTag"),vU=EH.Object,yU="Arguments"==UH(function(){return arguments;}()),mU=hU?UH:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=vU(e),gU))?n:yU?UH(t):"Object"==(r=UH(t))&&_H(t.callee)?"Arguments":r;},bU=TH(Function.toString);_H(yV.inspectSource)||(yV.inspectSource=function(e){return bU(e);});var wU=yV.inspectSource,EU=function(){},DU=[],SU=eV("Reflect","construct"),xU=/^\s*(?:class|function)\b/,CU=TH(xU.exec),AU=!xU.exec(EU),OU=function(e){if(!_H(e))return!1;try{return SU(EU,DU,e),!0;}catch(e){return!1;}},kU=!SU||PH(function(){var e;return OU(OU.call)||!OU(Object)||!OU(function(){e=!0;})||e;})?function(e){if(!_H(e))return!1;switch(mU(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return AU||!!CU(xU,wU(e));}:OU,BU=TV("species"),FU=EH.Array,TU=function(e,t){return new(function(e){var t;return aU(e)&&(t=e.constructor,(kU(t)&&(t===FU||aU(t.prototype))||ZH(t)&&null===(t=t[BU]))&&(t=void 0)),void 0===t?FU:t;}(e))(0===t?0:t);},_U=TV("species"),PU=TV("isConcatSpreadable"),jU=EH.TypeError,NU=uV>=51||!PH(function(){var e=[];return e[PU]=!1,e.concat()[0]!==e;}),IU=uV>=51||!PH(function(){var e=[];return(e.constructor={})[_U]=function(){return{foo:1};},1!==e.concat(Boolean).foo;}),LU=function(e){if(!ZH(e))return!1;var t=e[PU];return void 0!==t?!!t:aU(e);};iU({target:"Array",proto:!0,forced:!NU||!IU},{concat:function(e){var t,n,r,o,i,a=wV(this),u=TU(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(LU(i=-1===t?a:arguments[t])){if(s+(o=fU(i))>9007199254740991)throw jU("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&dU(u,s,i[n]);}else{if(s>=9007199254740991)throw jU("Maximum allowed index exceeded");dU(u,s++,i);}return u.length=s,u;}});var RU,MU=EH.String,zU=function(e){if("Symbol"===mU(e))throw TypeError("Cannot convert a Symbol value to a string");return MU(e);},$U=Math.max,HU=Math.min,VU=function(e,t){var n=lU(e);return n<0?$U(n+t,0):HU(n,t);},UU=function(e){return function(t,n,r){var o,i=XH(t),a=fU(i),u=VU(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},WU={includes:UU(!0),indexOf:UU(!1)},GU={},qU=WU.indexOf,KU=TH([].push),YU=function(e,t){var n,r=XH(e),o=0,i=[];for(n in r)!DV(GU,n)&&DV(r,n)&&KU(i,n);for(;t.length>o;)DV(r,n=t[o++])&&(~qU(i,n)||KU(i,n));return i;},XU=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ZU=Object.keys||function(e){return YU(e,XU);},JU=jH?Object.defineProperties:function(e,t){JV(e);for(var n,r=XH(t),o=ZU(t),i=o.length,a=0;i>a;)tU.f(e,n=o[a++],r[n]);return e;},QU=eV("document","documentElement"),eW=mV("keys"),tW=function(e){return eW[e]||(eW[e]=AV(e));},nW=tW("IE_PROTO"),rW=function(){},oW=function(e){return"<script>"+e+"<\/script>";},iW=function(e){e.write(oW("")),e.close();var t=e.parentWindow.Object;return e=null,t;},aW=function(){try{RU=new ActiveXObject("htmlfile");}catch(e){}var e,t;aW="undefined"!=typeof document?document.domain&&RU?iW(RU):((t=LV("iframe")).style.display="none",QU.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(oW("document.F=Object")),e.close(),e.F):iW(RU);for(var n=XU.length;n--;)delete aW.prototype[XU[n]];return aW();};GU[nW]=!0;var uW,sW,lW,cW=Object.create||function(e,t){var n;return null!==e?(rW.prototype=JV(e),n=new rW(),rW.prototype=null,n[nW]=e):n=aW(),void 0===t?n:JU(n,t);},fW=XU.concat("length","prototype"),dW={f:Object.getOwnPropertyNames||function(e){return YU(e,fW);}},pW=EH.Array,hW=Math.max,gW=dW.f,vW="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],yW={f:function(e){return vW&&"Window"==UH(e)?function(e){try{return gW(e);}catch(e){return function(e,t,n){for(var r=fU(e),o=VU(void 0,r),i=VU(r,r),a=pW(hW(i-o,0)),u=0;o<i;o++,u++)dU(a,u,e[o]);return a.length=u,a;}(vW);}}(e):gW(XH(e));}},mW={f:Object.getOwnPropertySymbols},bW=TH([].slice),wW=function(e,t,n,r){r&&r.enumerable?e[t]=n:nU(e,t,n);},EW={f:TV},DW=tU.f,SW=function(e){var t=JH.Symbol||(JH.Symbol={});DV(t,e)||DW(t,e,{value:EW.f(e)});},xW=hU?{}.toString:function(){return"[object "+mU(this)+"]";},CW=tU.f,AW=TV("toStringTag"),OW=function(e,t,n,r){if(e){var o=n?e:e.prototype;DV(o,AW)||CW(o,AW,{configurable:!0,value:t}),r&&!hU&&nU(o,"toString",xW);}},kW=EH.WeakMap,BW=_H(kW)&&/native code/.test(wU(kW)),FW=EH.TypeError,TW=EH.WeakMap;if(BW||yV.state){var _W=yV.state||(yV.state=new TW()),PW=TH(_W.get),jW=TH(_W.has),NW=TH(_W.set);uW=function(e,t){if(jW(_W,e))throw new FW("Object already initialized");return t.facade=e,NW(_W,e,t),t;},sW=function(e){return PW(_W,e)||{};},lW=function(e){return jW(_W,e);};}else{var IW=tW("state");GU[IW]=!0,uW=function(e,t){if(DV(e,IW))throw new FW("Object already initialized");return t.facade=e,nU(e,IW,t),t;},sW=function(e){return DV(e,IW)?e[IW]:{};},lW=function(e){return DV(e,IW);};}var LW={set:uW,get:sW,has:lW,enforce:function(e){return lW(e)?sW(e):uW(e,{});},getterFor:function(e){return function(t){var n;if(!ZH(t)||(n=sW(t)).type!==e)throw FW("Incompatible receiver, "+e+" required");return n;};}},RW=TH([].push),MW=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=wV(s),g=qH(h),v=YV(l,c),y=fU(g),m=0,b=f||TU,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:RW(w,d);}else switch(e){case 4:return!1;case 7:RW(w,d);}return i?-1:r||o?o:w;};},zW=[MW(0),MW(1),MW(2),MW(3),MW(4),MW(5),MW(6),MW(7)][0],$W=tW("hidden"),HW=TV("toPrimitive"),VW=LW.set,UW=LW.getterFor("Symbol"),WW=Object.prototype,GW=EH.Symbol,qW=GW&&GW.prototype,KW=EH.TypeError,YW=EH.QObject,XW=eV("JSON","stringify"),ZW=zV.f,JW=tU.f,QW=yW.f,eG=zH.f,tG=TH([].push),nG=mV("symbols"),rG=mV("op-symbols"),oG=mV("string-to-symbol-registry"),iG=mV("symbol-to-string-registry"),aG=mV("wks"),uG=!YW||!YW.prototype||!YW.prototype.findChild,sG=jH&&PH(function(){return 7!=cW(JW({},"a",{get:function(){return JW(this,"a",{value:7}).a;}})).a;})?function(e,t,n){var r=ZW(WW,t);r&&delete WW[t],JW(e,t,n),r&&e!==WW&&JW(WW,t,r);}:JW,lG=function(e,t){var n=nG[e]=cW(qW);return VW(n,{type:"Symbol",tag:e,description:t}),jH||(n.description=t),n;},cG=function(e,t,n){e===WW&&cG(rG,t,n),JV(e);var r=jV(t);return JV(n),DV(nG,r)?(n.enumerable?(DV(e,$W)&&e[$W][r]&&(e[$W][r]=!1),n=cW(n,{enumerable:$H(0,!1)})):(DV(e,$W)||JW(e,$W,$H(1,{})),e[$W][r]=!0),sG(e,r,n)):JW(e,r,n);},fG=function(e,t){JV(e);var n=XH(t),r=ZU(n).concat(gG(n));return zW(r,function(t){jH&&!IH(dG,n,t)||cG(e,t,n[t]);}),e;},dG=function(e){var t=jV(e),n=IH(eG,this,t);return!(this===WW&&DV(nG,t)&&!DV(rG,t))&&(!(n||!DV(this,t)||!DV(nG,t)||DV(this,$W)&&this[$W][t])||n);},pG=function(e,t){var n=XH(e),r=jV(t);if(n!==WW||!DV(nG,r)||DV(rG,r)){var o=ZW(n,r);return!o||!DV(nG,r)||DV(n,$W)&&n[$W][r]||(o.enumerable=!0),o;}},hG=function(e){var t=QW(XH(e)),n=[];return zW(t,function(e){DV(nG,e)||DV(GU,e)||tG(n,e);}),n;},gG=function(e){var t=e===WW,n=QW(t?rG:XH(e)),r=[];return zW(n,function(e){!DV(nG,e)||t&&!DV(WW,e)||tG(r,nG[e]);}),r;};if(sV||(qW=(GW=function(){if(tV(qW,this))throw KW("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?zU(arguments[0]):void 0,t=AV(e),n=function(e){this===WW&&IH(n,rG,e),DV(this,$W)&&DV(this[$W],t)&&(this[$W][t]=!1),sG(this,t,$H(1,e));};return jH&&uG&&sG(WW,t,{configurable:!0,set:n}),lG(t,e);}).prototype,wW(qW,"toString",function(){return UW(this).tag;}),wW(GW,"withoutSetter",function(e){return lG(AV(e),e);}),zH.f=dG,tU.f=cG,zV.f=pG,dW.f=yW.f=hG,mW.f=gG,EW.f=function(e){return lG(TV(e),e);},jH&&JW(qW,"description",{configurable:!0,get:function(){return UW(this).description;}})),iU({global:!0,wrap:!0,forced:!sV,sham:!sV},{Symbol:GW}),zW(ZU(aG),function(e){SW(e);}),iU({target:"Symbol",stat:!0,forced:!sV},{for:function(e){var t=zU(e);if(DV(oG,t))return oG[t];var n=GW(t);return oG[t]=n,iG[n]=t,n;},keyFor:function(e){if(!fV(e))throw KW(e+" is not a symbol");if(DV(iG,e))return iG[e];},useSetter:function(){uG=!0;},useSimple:function(){uG=!1;}}),iU({target:"Object",stat:!0,forced:!sV,sham:!jH},{create:function(e,t){return void 0===t?cW(e):fG(cW(e),t);},defineProperty:cG,defineProperties:fG,getOwnPropertyDescriptor:pG}),iU({target:"Object",stat:!0,forced:!sV},{getOwnPropertyNames:hG,getOwnPropertySymbols:gG}),iU({target:"Object",stat:!0,forced:PH(function(){mW.f(1);})},{getOwnPropertySymbols:function(e){return mW.f(wV(e));}}),XW){var vG=!sV||PH(function(){var e=GW();return"[null]"!=XW([e])||"{}"!=XW({a:e})||"{}"!=XW(Object(e));});iU({target:"JSON",stat:!0,forced:vG},{stringify:function(e,t,n){var r=bW(arguments),o=t;if((ZH(t)||void 0!==e)&&!fV(e))return aU(t)||(t=function(e,t){if(_H(o)&&(t=IH(o,this,e,t)),!fV(t))return t;}),r[1]=t,AH(XW,null,r);}});}if(!qW[HW]){var yG=qW.valueOf;wW(qW,HW,function(e){return IH(yG,this);});}OW(GW,"Symbol"),GU[$W]=!0,SW("asyncIterator"),SW("hasInstance"),SW("isConcatSpreadable"),SW("iterator"),SW("match"),SW("matchAll"),SW("replace"),SW("search"),SW("species"),SW("split"),SW("toPrimitive"),SW("toStringTag"),SW("unscopables"),OW(EH.JSON,"JSON",!0);var mG,bG,wG,EG=JH.Symbol,DG={},SG=Function.prototype,xG=jH&&Object.getOwnPropertyDescriptor,CG=DV(SG,"name"),AG={EXISTS:CG,PROPER:CG&&"something"===function(){}.name,CONFIGURABLE:CG&&(!jH||jH&&xG(SG,"name").configurable)},OG=!PH(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),kG=tW("IE_PROTO"),BG=EH.Object,FG=BG.prototype,TG=OG?BG.getPrototypeOf:function(e){var t=wV(e);if(DV(t,kG))return t[kG];var n=t.constructor;return _H(n)&&t instanceof n?n.prototype:t instanceof BG?FG:null;},_G=TV("iterator"),PG=!1;[].keys&&("next"in(wG=[].keys())?(bG=TG(TG(wG)))!==Object.prototype&&(mG=bG):PG=!0);var jG=null==mG||PH(function(){var e={};return mG[_G].call(e)!==e;});mG=jG?{}:cW(mG),_H(mG[_G])||wW(mG,_G,function(){return this;});var NG={IteratorPrototype:mG,BUGGY_SAFARI_ITERATORS:PG},IG=NG.IteratorPrototype,LG=function(){return this;};EH.String,EH.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e={};try{TH(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(e,[]),e instanceof Array;}catch(e){}}();var RG=AG.PROPER,MG=NG.BUGGY_SAFARI_ITERATORS,zG=TV("iterator"),$G=function(){return this;},HG=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=cW(IG,{next:$H(1,n)}),OW(e,o,!1,!0),DG[o]=LG;}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!MG&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e);};}return function(){return new n(this);};},f=t+" Iterator",d=!1,p=e.prototype,h=p[zG]||p["@@iterator"]||o&&p[o],g=!MG&&h||c(o),v="Array"==t&&p.entries||h;if(v&&(u=TG(v.call(new e())))!==Object.prototype&&u.next&&(OW(u,f,!0,!0),DG[f]=$G),RG&&"values"==o&&h&&"values"!==h.name&&(d=!0,g=function(){return IH(h,this);}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(MG||d||!(l in p))&&wW(p,l,s[l]);else iU({target:t,proto:!0,forced:MG||d},s);return a&&p[zG]!==g&&wW(p,zG,g,{name:o}),DG[t]=g,s;},VG=LW.set,UG=LW.getterFor("Array Iterator");HG(Array,"Array",function(e,t){VG(this,{type:"Array Iterator",target:XH(e),index:0,kind:t});},function(){var e=UG(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1};},"values"),DG.Arguments=DG.Array;var WG=TV("toStringTag");for(var GG in{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}){var qG=EH[GG],KG=qG&&qG.prototype;KG&&mU(KG)!==WG&&nU(KG,WG,GG),DG[GG]=DG.Array;}var YG=EG;SW("asyncDispose"),SW("dispose"),SW("matcher"),SW("metadata"),SW("observable"),SW("patternMatch"),SW("replaceAll");var XG=YG,ZG=TH("".charAt),JG=TH("".charCodeAt),QG=TH("".slice),index_esm_eq=function(e){return function(t,n){var r,o,i=zU(YH(t)),a=lU(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=JG(i,a))<55296||r>56319||a+1===u||(o=JG(i,a+1))<56320||o>57343?e?ZG(i,a):r:e?QG(i,a,a+2):o-56320+(r-55296<<10)+65536;};},tq=(index_esm_eq(!1),index_esm_eq(!0)),nq=LW.set,rq=LW.getterFor("String Iterator");HG(String,"String",function(e){nq(this,{type:"String Iterator",string:zU(e),index:0});},function(){var e,t=rq(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=tq(n,r),t.index+=e.length,{value:e,done:!1});});var oq=EW.f("iterator"),iq=fj(function(e){function t(n){return"function"==typeof XG&&"symbol"==typeof oq?(e.exports=t=function(e){return typeof e;},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof XG&&e.constructor===XG&&e!==XG.prototype?"symbol":typeof e;},e.exports.default=e.exports,e.exports.__esModule=!0),t(n);}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0;}),aq=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;}(iq),uq=aI.EXISTS,sq=LN.f,lq=Function.prototype,cq=Bj(lq.toString),fq=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,dq=Bj(fq.exec);yj&&!uq&&sq(lq,"name",{configurable:!0,get:function(){try{return dq(fq,cq(this))[1];}catch(e){return"";}}});var pq=function(){function e(){this.tag="select",this.width=80;}return e.prototype.isActive=function(e){return!1;},e.prototype.getValue=function(e){var t=this.mark,n=Bf.marks(e);return n&&n[t]?n[t]:"";},e.prototype.isDisabled=function(e){return null==e.selection||(this.mark,!!sM(Bf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Bf.isVoid(e,t);},universal:!0}),1)[0]);},e.prototype.exec=function(e,t){var n=this.mark;t?e.addMark(n,t):e.removeMark(n);},e;}(),hq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("fontSize.title"),t.iconSvg=RM,t.mark="fontSize",t;}return rM(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontSizeList,r=void 0===n?[]:n;t.push({text:HP("fontSize.default"),value:""}),r.forEach(function(e){if("string"==typeof e)t.push({text:e,value:e});else if("object"===aq(e)){var n=e.name,r=e.value;t.push({text:n,value:r});}});var o=this.getValue(e);return t.forEach(function(e){e.value===o?e.selected=!0:delete e.selected;}),t;},t;}(pq),gq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("fontFamily.title"),t.iconSvg=MM,t.mark="fontFamily",t.selectPanelWidth=150,t;}return rM(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontFamilyList,r=void 0===n?[]:n;t.push({text:HP("fontFamily.default"),value:""}),r.forEach(function(e){if("string"==typeof e)t.push({text:e,value:e,styleForRenderMenuList:{"font-family":e}});else if("object"===aq(e)){var n=e.name,r=e.value;t.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}});}});var o=this.getValue(e);return t.forEach(function(e){e.value===o?e.selected=!0:delete e.selected;}),t;},t;}(pq),vq={renderStyle:function(e,t){var n=e,r=n.fontSize,o=n.fontFamily,i=t;return r&&Kz(i,{fontSize:r}),o&&Kz(i,{fontFamily:o}),i;},styleToHtml:function(e,t){if(!ed.isText(e))return t;var n,r=e,o=r.fontSize,i=r.fontFamily;return o||i?((ZR(t)||"span"!==QR(n=Mp(t)))&&(n=Mp("<span>"+t+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),JR(n)):t;},preParseHtml:[vH],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t,i=n.getMenuConfig("fontSize").fontSizeList,a=void 0===i?[]:i,u=eM(r,"font-size"),s=a.find(function(e){return e.value&&e.value===u;})||a.includes(u);u&&s&&(o.fontSize=u);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=void 0===l?[]:l,f=eM(r,"font-family").replace(/"/g,""),d=c.find(function(e){return e.value&&e.value===f;})||c.includes(f);return f&&d&&(o.fontFamily=f),o;},menus:[{key:"fontSize",factory:function(){return new hq();},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new gq();},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},yq={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=Mp(e),n=eM(t,"padding-left");return /\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0];}},mq=function(){function e(){this.tag="button";}return e.prototype.getValue=function(e){var t=sM(Bf.nodes(e,{match:function(e){return!!e.indent;},universal:!0}),1),n=t[0];return null==n?"":sM(n,1)[0].indent||"";},e.prototype.isActive=function(e){return!1;},e.prototype.getMatchNode=function(e){var t=sM(Bf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||!!t.startsWith("header");},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0];},e;}(),bq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("indent.decrease"),t.iconSvg=zM,t;}return rM(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!t.indent;},t.prototype.exec=function(e,t){md.setNodes(e,{indent:null},{match:function(e){return Sf.isElement(e);}});},t;}(mq),wq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("indent.increase"),t.iconSvg=$M,t;}return rM(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!!t.indent;},t.prototype.exec=function(e,t){md.setNodes(e,{indent:"2em"},{match:function(e){return Sf.isElement(e);},mode:"highest"});},t;}(mq),Eq={renderStyle:function(e,t){if(!Sf.isElement(e))return t;var n=e.indent,r=t;return n&&Kz(r,{textIndent:n}),r;},styleToHtml:function(e,t){if(!Sf.isElement(e))return t;var n=e.indent;if(!n)return t;var r=Mp(t);return r.css("text-indent",n),JR(r);},preParseHtml:[yq],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Sf.isElement(t))return t;var o=t,i=eM(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o;},menus:[{key:"indent",factory:function(){return new wq();}},{key:"delIndent",factory:function(){return new bq();}}]},Dq=function(){function e(){this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.getMatchNode=function(e){var t=sM(Bf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||"blockquote"===t||!!t.startsWith("header");},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0];},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some(function(t){if(Bf.isVoid(e,t)&&Bf.isBlock(e,t))return!0;var n=t.type;return!!["pre","code"].includes(n)||void 0;});},e;}(),Sq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("justify.left"),t.iconSvg=HM,t;}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"left"},{match:function(t){return Sf.isElement(t)&&!e.isInline(t);}});},t;}(Dq),xq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("justify.right"),t.iconSvg=VM,t;}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"right"},{match:function(t){return Sf.isElement(t)&&!e.isInline(t);}});},t;}(Dq),Cq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("justify.center"),t.iconSvg=UM,t;}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"center"},{match:function(t){return Sf.isElement(t)&&!e.isInline(t);}});},t;}(Dq),Aq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=HP("justify.justify"),t.iconSvg=WM,t;}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"justify"},{match:function(t){return Sf.isElement(t)&&!e.isInline(t);}});},t;}(Dq),Oq={renderStyle:function(e,t){if(!Sf.isElement(e))return t;var n=e.textAlign,r=t;return n&&Kz(r,{textAlign:n}),r;},styleToHtml:function(e,t){if(!Sf.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=Mp(t);return r.css("text-align",n),JR(r);},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Sf.isElement(t))return t;var o=t,i=eM(r,"text-align");return i&&(o.textAlign=i),o;},menus:[{key:"justifyLeft",factory:function(){return new Sq();}},{key:"justifyRight",factory:function(){return new xq();}},{key:"justifyCenter",factory:function(){return new Cq();}},{key:"justifyJustify",factory:function(){return new Aq();}}]},kq=function(){function e(){this.title=HP("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80;}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("lineHeight").lineHeightList,r=void 0===n?[]:n;t.push({text:HP("lineHeight.default"),value:""}),r.forEach(function(e){t.push({text:e,value:e});});var o=this.getValue(e);return t.forEach(function(e){e.value===o?e.selected=!0:delete e.selected;}),t;},e.prototype.getMatchNode=function(e){var t=sM(Bf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return!!t.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(t);},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0];},e.prototype.isActive=function(e){return!1;},e.prototype.getValue=function(e){var t=this.getMatchNode(e);return null==t?"":Sf.isElement(t)&&t.lineHeight||"";},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getMatchNode(e);},e.prototype.exec=function(e,t){md.setNodes(e,{lineHeight:t.toString()},{mode:"highest"});},e;}(),Bq={renderStyle:function(e,t){if(!Sf.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Kz(r,{lineHeight:n}),r;},styleToHtml:function(e,t){if(!Sf.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=Mp(t);return r.css("line-height",n),JR(r);},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Sf.isElement(t))return t;var o=t,i=n.getMenuConfig("lineHeight").lineHeightList,a=void 0===i?[]:i,u=eM(r,"line-height");return u&&a.includes(u)&&(o.lineHeight=u),o;},menus:[{key:"lineHeight",factory:function(){return new kq();},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Fq=function(){function e(){this.title=HP("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection;},e.prototype.exec=function(e,t){"function"==typeof e.redo&&e.redo();},e;}(),Tq=function(){function e(){this.title=HP("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection;},e.prototype.exec=function(e,t){"function"==typeof e.undo&&e.undo();},e;}(),_q={menus:[{key:"redo",factory:function(){return new Fq();}},{key:"undo",factory:function(){return new Tq();}}]},Pq={type:"divider",renderElem:function(e,t,n){return pg("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:QO.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(e){return e.preventDefault();}}},[pg("hr")]);}},jq=function(){function e(){this.title=HP("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some(function(t){if(e.isVoid(t))return!0;var n=QO.getNodeType(t);return"table"===n||"pre"===n||void 0;});},e.prototype.exec=function(e,t){md.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"});},e;}(),Nq={renderElems:[Pq],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>";}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]};}}],menus:[{key:"divider",factory:function(){return new jq();}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return"divider"===e.type||t(e);},r.normalizeNode=function(e){var t=sM(e,2),o=t[0],i=t[1];if("divider"!==QO.getNodeType(o))return n([o,i]);QO.isLastNode(r,o)&&md.insertNodes(r,QO.genEmptyParagraph(),{at:[i[0]+1]});},r;}},Iq=iL.map;LI({target:"Array",proto:!0,forced:!uL("map")},{map:function(e){return Iq(this,e,arguments.length>1?arguments[1]:void 0);}});var Lq=Bj([].join),Rq=Nj!=Object,Mq=EM("join",",");LI({target:"Array",proto:!0,forced:Rq||!Mq},{join:function(e){return Lq(Rj(this),void 0===e?",":e);}});var zq=function(){function e(){this.title=HP("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button";}return e.prototype.getSelectCodeElem=function(e){var t=QO.getSelectedNodeByType(e,"code");if(null==t)return null;var n=QO.getParentNode(e,t);return null==n||"pre"!==QO.getNodeType(n)?null:t;},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);return null==t?"":t.language||"";},e.prototype.isActive=function(e){return!!this.getSelectCodeElem(e);},e.prototype.isDisabled=function(e){if(null==e.selection)return!0;var t=QO.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t);})||!t.some(function(e){var t=QO.getNodeType(e);if("pre"===t||"paragraph"===t)return!0;});},e.prototype.exec=function(e,t){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,t.toString());},e.prototype.changeToPlainText=function(e){var t=this.getSelectCodeElem(e);if(null!=t){var n=Nf.string(t);md.removeNodes(e,{mode:"highest"});var r=n.split("\n").map(function(e){return{type:"paragraph",children:[{text:e}]};});md.insertNodes(e,r,{mode:"highest"});}},e.prototype.changeToCodeBlock=function(e,t){var n,r,o=[],i=Bf.nodes(e,{match:function(t){return e.children.includes(t);},universal:!0});try{for(var a=uM(i),u=a.next();!u.done;u=a.next()){var s=sM(u.value,1)[0];s&&o.push(Nf.string(s));}}catch(e){n={error:e};}finally{try{u&&!u.done&&(r=a.return)&&r.call(a);}finally{if(n)throw n.error;}}md.removeNodes(e,{mode:"highest"});var l={type:"pre",children:[{type:"code",language:t,children:[{text:o.join("\n")}]}]};md.insertNodes(e,l,{mode:"highest"});},e;}(),$q={key:"codeBlock",factory:function(){return new zq();}};LI({target:"String",proto:!0,forced:hM("anchor")},{anchor:function(e){return pM(this,"a","name",e);}}),JL("match",function(e,t,n){return[function(t){var n=Lj(this),r=null==t?void 0:oN(t,e);return r?bj(r,t,n):new RegExp(t)[e](dL(n));},function(e){var r=jN(this),o=dL(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return pR(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=pR(r,o));){var c=dL(u[0]);s[l]=c,""===c&&(r.lastIndex=oR(o,gI(r.lastIndex),a)),l++;}return 0===l?null:s;}];});var Hq={type:"pre",renderElem:function(e,t,n){return Pg("pre",null,t);}},Vq={type:"code",renderElem:function(e,t,n){return Pg("code",null,t);}},Uq={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter(function(e){return"code"===QO.getNodeType(e);})).length&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(e){return"code"===QO.getNodeType(e);})};}},Wq={menus:[$q],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var o=e;return o.insertBreak=function(){var e=QO.getSelectedNodeByType(o,"code");if(null!=e){var n=function(e,t){var n=t.selection;if(null==n)return"";var r=Nf.string(e),o=n.anchor.offset,i=r.slice(0,o).split("\n"),a=i.length;return 0===a?"":i[a-1];}(e,o);if(n){var r=n.match(/^\s+/);if(null!=r&&null!=r[0]){var i=r[0];return void o.insertText("\n"+i);}}o.insertText("\n");}else t();},o.normalizeNode=function(e){var t=sM(e,2),r=t[0],i=t[1],a=QO.getNodeType(r);return"code"===a&&i.length<=1&&md.setNodes(o,{type:"paragraph"},{at:i}),"pre"===a&&(QO.isLastNode(o,r)&&md.insertNodes(o,QO.genEmptyParagraph(),{at:[i[0]+1]}),"code"!==QO.getNodeType(r.children[0])&&(md.unwrapNodes(o),md.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([r,i]);},o.insertData=function(e){if(null!=QO.getSelectedNodeByType(o,"code")){var t=e.getData("text/plain");Bf.insertText(o,t);}else r(e);},o;},renderElems:[Hq,Vq],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>";}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>";}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=Mp(e);if("code"!==QR(t))return e;var n=t.find("xmp");if(0===n.length)return e;var r=n.text();return n.remove(),t.text(r),t[0];}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:Mp(e)[0].textContent||""}]};}},Uq]},Gq=function(){function e(){this.title=HP("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0;}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return e.isFullScreen;},e.prototype.isDisabled=function(e){return!1;},e.prototype.exec=function(e,t){e.isFullScreen?e.unFullScreen():e.fullScreen();},e;}(),qq={menus:[{key:"fullScreen",factory:function(){return new Gq();}}]},Kq=function(){function e(){this.title=HP("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!!qf.isExpanded(t);},e.prototype.exec=function(e,t){var n=e.selection;if(null!=n){var r=[n.anchor.path[0]];md.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:r}),e.select(Bf.start(e,r));}},e;}(),Yq=[nz,e$,vq,Eq,Oq,Bq,J$,Nq,hH,E$,Wq,dH,Vz,cM,nH,_q,qq,{menus:[{key:"enter",factory:function(){return new Kq();}}]}];MP("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),MP("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var Xq="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function Zq(e){var t={exports:{}};return e(t,t.exports),t.exports;}var Jq,Qq,eK=function(e){return e&&e.Math==Math&&e;},tK=eK("object"==typeof globalThis&&globalThis)||eK("object"==typeof window&&window)||eK("object"==typeof self&&self)||eK("object"==typeof Xq&&Xq)||function(){return this;}()||Function("return this")(),nK=Function.prototype,rK=nK.bind,oK=nK.call,iK=rK&&rK.bind(oK),aK=rK?function(e){return e&&iK(oK,e);}:function(e){return e&&function(){return oK.apply(e,arguments);};},uK=function(e){try{return!!e();}catch(e){return!0;}},sK=aK({}.toString),lK=aK("".slice),cK=function(e){return lK(sK(e),8,-1);},fK=tK.Object,dK=aK("".split),pK=uK(function(){return!fK("z").propertyIsEnumerable(0);})?function(e){return"String"==cK(e)?dK(e,""):fK(e);}:fK,hK=tK.TypeError,gK=function(e){if(null==e)throw hK("Can't call method on "+e);return e;},vK=function(e){return pK(gK(e));},yK=Object.defineProperty,mK=function(e,t){try{yK(tK,e,{value:t,configurable:!0,writable:!0});}catch(n){tK[e]=t;}return t;},bK=tK["__core-js_shared__"]||mK("__core-js_shared__",{}),wK=Zq(function(e){(e.exports=function(e,t){return bK[e]||(bK[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),EK=tK.Object,DK=function(e){return EK(gK(e));},SK=aK({}.hasOwnProperty),xK=Object.hasOwn||function(e,t){return SK(DK(e),t);},CK=0,AK=Math.random(),OK=aK(1..toString),kK=function(e){return"Symbol("+(void 0===e?"":e)+")_"+OK(++CK+AK,36);},BK=function(e){return"function"==typeof e;},FK=function(e){return BK(e)?e:void 0;},TK=function(e,t){return arguments.length<2?FK(tK[e]):tK[e]&&tK[e][t];},_K=TK("navigator","userAgent")||"",PK=tK.process,jK=tK.Deno,NK=PK&&PK.versions||jK&&jK.version,IK=NK&&NK.v8;IK&&(Qq=(Jq=IK.split("."))[0]>0&&Jq[0]<4?1:+(Jq[0]+Jq[1])),!Qq&&_K&&(!(Jq=_K.match(/Edge\/(\d+)/))||Jq[1]>=74)&&(Jq=_K.match(/Chrome\/(\d+)/))&&(Qq=+Jq[1]);var LK,RK=Qq,MK=!!Object.getOwnPropertySymbols&&!uK(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&RK&&RK<41;}),zK=MK&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$K=wK("wks"),HK=tK.Symbol,VK=HK&&HK.for,UK=zK?HK:HK&&HK.withoutSetter||kK,WK=function(e){if(!xK($K,e)||!MK&&"string"!=typeof $K[e]){var t="Symbol."+e;MK&&xK(HK,e)?$K[e]=HK[e]:$K[e]=zK&&VK?VK(t):UK(t);}return $K[e];},GK=function(e){return"object"==typeof e?null!==e:BK(e);},qK=tK.String,KK=tK.TypeError,YK=function(e){if(GK(e))return e;throw KK(qK(e)+" is not an object");},XK=!uK(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),ZK=tK.document,JK=GK(ZK)&&GK(ZK.createElement),QK=function(e){return JK?ZK.createElement(e):{};},eY=!XK&&!uK(function(){return 7!=Object.defineProperty(QK("div"),"a",{get:function(){return 7;}}).a;}),tY=Function.prototype.call,nY=tY.bind?tY.bind(tY):function(){return tY.apply(tY,arguments);},rY=aK({}.isPrototypeOf),oY=tK.Object,iY=zK?function(e){return"symbol"==typeof e;}:function(e){var t=TK("Symbol");return BK(t)&&rY(t.prototype,oY(e));},aY=tK.String,uY=function(e){try{return aY(e);}catch(e){return"Object";}},sY=tK.TypeError,lY=function(e){if(BK(e))return e;throw sY(uY(e)+" is not a function");},cY=function(e,t){var n=e[t];return null==n?void 0:lY(n);},fY=tK.TypeError,dY=tK.TypeError,pY=WK("toPrimitive"),hY=function(e){var t=function(e,t){if(!GK(e)||iY(e))return e;var n,r=cY(e,pY);if(r){if(void 0===t&&(t="default"),n=nY(r,e,t),!GK(n)||iY(n))return n;throw dY("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&BK(n=e.toString)&&!GK(r=nY(n,e)))return r;if(BK(n=e.valueOf)&&!GK(r=nY(n,e)))return r;if("string"!==t&&BK(n=e.toString)&&!GK(r=nY(n,e)))return r;throw fY("Can't convert object to primitive value");}(e,t);}(e,"string");return iY(t)?t:t+"";},gY=tK.TypeError,vY=Object.defineProperty,yY={f:XK?vY:function(e,t,n){if(YK(e),t=hY(t),YK(n),eY)try{return vY(e,t,n);}catch(e){}if("get"in n||"set"in n)throw gY("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},mY=Math.ceil,bY=Math.floor,wY=function(e){var t=+e;return t!=t||0===t?0:(t>0?bY:mY)(t);},EY=Math.max,DY=Math.min,SY=function(e,t){var n=wY(e);return n<0?EY(n+t,0):DY(n,t);},xY=Math.min,CY=function(e){return e>0?xY(wY(e),9007199254740991):0;},AY=function(e){return CY(e.length);},OY=function(e){return function(t,n,r){var o,i=vK(t),a=AY(i),u=SY(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},kY={includes:OY(!0),indexOf:OY(!1)},BY={},FY=kY.indexOf,TY=aK([].push),_Y=function(e,t){var n,r=vK(e),o=0,i=[];for(n in r)!xK(BY,n)&&xK(r,n)&&TY(i,n);for(;t.length>o;)xK(r,n=t[o++])&&(~FY(i,n)||TY(i,n));return i;},PY=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jY=Object.keys||function(e){return _Y(e,PY);},NY=XK?Object.defineProperties:function(e,t){YK(e);for(var n,r=vK(t),o=jY(t),i=o.length,a=0;i>a;)yY.f(e,n=o[a++],r[n]);return e;},IY=TK("document","documentElement"),LY=wK("keys"),RY=function(e){return LY[e]||(LY[e]=kK(e));},MY=RY("IE_PROTO"),zY=function(){},$Y=function(e){return"<script>"+e+"<\/script>";},HY=function(e){e.write($Y("")),e.close();var t=e.parentWindow.Object;return e=null,t;},VY=function(){try{LK=new ActiveXObject("htmlfile");}catch(e){}var e,t;VY="undefined"!=typeof document?document.domain&&LK?HY(LK):((t=QK("iframe")).style.display="none",IY.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write($Y("document.F=Object")),e.close(),e.F):HY(LK);for(var n=PY.length;n--;)delete VY.prototype[PY[n]];return VY();};BY[MY]=!0;var UY=Object.create||function(e,t){var n;return null!==e?(zY.prototype=YK(e),n=new zY(),zY.prototype=null,n[MY]=e):n=VY(),void 0===t?n:NY(n,t);},WY=WK("unscopables"),GY=Array.prototype;null==GY[WY]&&yY.f(GY,WY,{configurable:!0,value:UY(null)});var qY=function(e){GY[WY][e]=!0;},KY={},YY=aK(Function.toString);BK(bK.inspectSource)||(bK.inspectSource=function(e){return YY(e);});var XY,ZY,JY,QY=bK.inspectSource,eX=tK.WeakMap,tX=BK(eX)&&/native code/.test(QY(eX)),nX=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},rX=XK?function(e,t,n){return yY.f(e,t,nX(1,n));}:function(e,t,n){return e[t]=n,e;},oX=tK.TypeError,iX=tK.WeakMap;if(tX||bK.state){var aX=bK.state||(bK.state=new iX()),uX=aK(aX.get),sX=aK(aX.has),lX=aK(aX.set);XY=function(e,t){if(sX(aX,e))throw new oX("Object already initialized");return t.facade=e,lX(aX,e,t),t;},ZY=function(e){return uX(aX,e)||{};},JY=function(e){return sX(aX,e);};}else{var cX=RY("state");BY[cX]=!0,XY=function(e,t){if(xK(e,cX))throw new oX("Object already initialized");return t.facade=e,rX(e,cX,t),t;},ZY=function(e){return xK(e,cX)?e[cX]:{};},JY=function(e){return xK(e,cX);};}var fX,dX,pX,hX={set:XY,get:ZY,has:JY,enforce:function(e){return JY(e)?ZY(e):XY(e,{});},getterFor:function(e){return function(t){var n;if(!GK(t)||(n=ZY(t)).type!==e)throw oX("Incompatible receiver, "+e+" required");return n;};}},gX={}.propertyIsEnumerable,vX=Object.getOwnPropertyDescriptor,yX={f:vX&&!gX.call({1:2},1)?function(e){var t=vX(this,e);return!!t&&t.enumerable;}:gX},mX=Object.getOwnPropertyDescriptor,bX={f:XK?mX:function(e,t){if(e=vK(e),t=hY(t),eY)try{return mX(e,t);}catch(e){}if(xK(e,t))return nX(!nY(yX.f,e,t),e[t]);}},wX=Function.prototype,EX=XK&&Object.getOwnPropertyDescriptor,DX=xK(wX,"name"),SX={EXISTS:DX,PROPER:DX&&"something"===function(){}.name,CONFIGURABLE:DX&&(!XK||XK&&EX(wX,"name").configurable)},xX=Zq(function(e){var t=SX.CONFIGURABLE,n=hX.get,r=hX.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;BK(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!xK(i,"name")||t&&i.name!==f)&&rX(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==tK?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:rX(e,n,i)):l?e[n]=i:mK(n,i);})(Function.prototype,"toString",function(){return BK(this)&&n(this).source||QY(this);});}),CX=PY.concat("length","prototype"),AX={f:Object.getOwnPropertyNames||function(e){return _Y(e,CX);}},OX={f:Object.getOwnPropertySymbols},kX=aK([].concat),BX=TK("Reflect","ownKeys")||function(e){var t=AX.f(YK(e)),n=OX.f;return n?kX(t,n(e)):t;},FX=function(e,t){for(var n=BX(t),r=yY.f,o=bX.f,i=0;i<n.length;i++){var a=n[i];xK(e,a)||r(e,a,o(t,a));}},TX=/#|\.prototype\./,_X=function(e,t){var n=jX[PX(e)];return n==IX||n!=NX&&(BK(t)?uK(t):!!t);},PX=_X.normalize=function(e){return String(e).replace(TX,".").toLowerCase();},jX=_X.data={},NX=_X.NATIVE="N",IX=_X.POLYFILL="P",LX=_X,RX=bX.f,MX=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?tK:l?tK[u]||mK(u,{}):(tK[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=RX(n,r))&&a.value:n[r],!LX(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;FX(i,o);}(e.sham||o&&o.sham)&&rX(i,"sham",!0),xX(n,r,i,e);}},zX=!uK(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),$X=RY("IE_PROTO"),HX=tK.Object,VX=HX.prototype,UX=zX?HX.getPrototypeOf:function(e){var t=DK(e);if(xK(t,$X))return t[$X];var n=t.constructor;return BK(n)&&t instanceof n?n.prototype:t instanceof HX?VX:null;},WX=WK("iterator"),GX=!1;[].keys&&("next"in(pX=[].keys())?(dX=UX(UX(pX)))!==Object.prototype&&(fX=dX):GX=!0);var qX=null==fX||uK(function(){var e={};return fX[WX].call(e)!==e;});qX&&(fX={}),BK(fX[WX])||xX(fX,WX,function(){return this;});var KX={IteratorPrototype:fX,BUGGY_SAFARI_ITERATORS:GX},YX=yY.f,XX=WK("toStringTag"),ZX=function(e,t,n){e&&!xK(e=n?e:e.prototype,XX)&&YX(e,XX,{configurable:!0,value:t});},JX=KX.IteratorPrototype,QX=function(){return this;},eZ=tK.String,tZ=tK.TypeError,nZ=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=aK(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return YK(n),function(e){if("object"==typeof e||BK(e))return e;throw tZ("Can't set "+eZ(e)+" as a prototype");}(r),t?e(n,r):n.__proto__=r,n;};}():void 0),rZ=SX.PROPER,oZ=SX.CONFIGURABLE,iZ=KX.IteratorPrototype,aZ=KX.BUGGY_SAFARI_ITERATORS,uZ=WK("iterator"),sZ=function(){return this;},lZ=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=UY(JX,{next:nX(1,n)}),ZX(e,o,!1),KY[o]=QX;}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!aZ&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e);};}return function(){return new n(this);};},f=t+" Iterator",d=!1,p=e.prototype,h=p[uZ]||p["@@iterator"]||o&&p[o],g=!aZ&&h||c(o),v="Array"==t&&p.entries||h;if(v&&(u=UX(v.call(new e())))!==Object.prototype&&u.next&&(UX(u)!==iZ&&(nZ?nZ(u,iZ):BK(u[uZ])||xX(u,uZ,sZ)),ZX(u,f,!0)),rZ&&"values"==o&&h&&"values"!==h.name&&(oZ?rX(p,"name","values"):(d=!0,g=function(){return nY(h,this);})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(aZ||d||!(l in p))&&xX(p,l,s[l]);else MX({target:t,proto:!0,forced:aZ||d},s);return p[uZ]!==g&&xX(p,uZ,g,{name:o}),KY[t]=g,s;},cZ=hX.set,fZ=hX.getterFor("Array Iterator"),dZ=lZ(Array,"Array",function(e,t){cZ(this,{type:"Array Iterator",target:vK(e),index:0,kind:t});},function(){var e=fZ(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1};},"values");KY.Arguments=KY.Array,qY("keys"),qY("values"),qY("entries");var pZ={};pZ[WK("toStringTag")]="z";var hZ="[object z]"===String(pZ),gZ=WK("toStringTag"),vZ=tK.Object,yZ="Arguments"==cK(function(){return arguments;}()),mZ=hZ?cK:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=vZ(e),gZ))?n:yZ?cK(t):"Object"==(r=cK(t))&&BK(t.callee)?"Arguments":r;},bZ=hZ?{}.toString:function(){return"[object "+mZ(this)+"]";};hZ||xX(Object.prototype,"toString",bZ,{unsafe:!0});var wZ=tK.String,EZ=function(e){if("Symbol"===mZ(e))throw TypeError("Cannot convert a Symbol value to a string");return wZ(e);},DZ=aK("".charAt),SZ=aK("".charCodeAt),xZ=aK("".slice),CZ=function(e){return function(t,n){var r,o,i=EZ(gK(t)),a=wY(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=SZ(i,a))<55296||r>56319||a+1===u||(o=SZ(i,a+1))<56320||o>57343?e?DZ(i,a):r:e?xZ(i,a,a+2):o-56320+(r-55296<<10)+65536;};},AZ={codeAt:CZ(!1),charAt:CZ(!0)},OZ=AZ.charAt,kZ=hX.set,BZ=hX.getterFor("String Iterator");lZ(String,"String",function(e){kZ(this,{type:"String Iterator",string:EZ(e),index:0});},function(){var e,t=BZ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=OZ(n,r),t.index+=e.length,{value:e,done:!1});});var FZ=function(e,t,n){for(var r in t)xX(e,r,t[r],n);return e;},TZ=tK.Array,_Z=Math.max,PZ=AX.f,jZ="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],NZ={f:function(e){return jZ&&"Window"==cK(e)?function(e){try{return PZ(e);}catch(e){return function(e,t,n){for(var r,o,i,a,u=AY(e),s=SY(void 0,u),l=SY(u,u),c=TZ(_Z(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],(a=hY(o))in r?yY.f(r,a,nX(0,i)):r[a]=i;return c.length=f,c;}(jZ);}}(e):PZ(vK(e));}},IZ=uK(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8});}}),LZ=Object.isExtensible,RZ=uK(function(){LZ(1);})||IZ?function(e){return!!GK(e)&&(!IZ||"ArrayBuffer"!=cK(e))&&(!LZ||LZ(e));}:LZ,MZ=!uK(function(){return Object.isExtensible(Object.preventExtensions({}));}),zZ=Zq(function(e){var t=yY.f,n=!1,r=kK("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}});},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=AX.f,t=aK([].splice),o={};o[r]=1,e(o).length&&(AX.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break;}return o;},MX({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:NZ.f}));},fastKey:function(e,t){if(!GK(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!xK(e,r)){if(!RZ(e))return"F";if(!t)return"E";i(e);}return e[r].objectID;},getWeakData:function(e,t){if(!xK(e,r)){if(!RZ(e))return!0;if(!t)return!1;i(e);}return e[r].weakData;},onFreeze:function(e){return MZ&&n&&RZ(e)&&!xK(e,r)&&i(e),e;}};BY[r]=!0;}),$Z=aK(aK.bind),HZ=function(e,t){return lY(e),void 0===t?e:$Z?$Z(e,t):function(){return e.apply(t,arguments);};},VZ=WK("iterator"),UZ=Array.prototype,WZ=WK("iterator"),GZ=function(e){if(null!=e)return cY(e,WZ)||cY(e,"@@iterator")||KY[mZ(e)];},qZ=tK.TypeError,KZ=function(e,t,n){var r,o;YK(e);try{if(!(r=cY(e,"return"))){if("throw"===t)throw n;return n;}r=nY(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return YK(r),n;},YZ=tK.TypeError,XZ=function(e,t){this.stopped=e,this.result=t;},ZZ=XZ.prototype,JZ=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),g=HZ(t,f),v=function(e){return r&&KZ(r,"normal",e),new XZ(!0,e);},y=function(e){return d?(YK(e),h?g(e[0],e[1],v):g(e[0],e[1])):h?g(e,v):g(e);};if(p)r=e;else{if(!(o=GZ(e)))throw YZ(uY(e)+" is not iterable");if(void 0!==(c=o)&&(KY.Array===c||UZ[VZ]===c)){for(i=0,a=AY(e);a>i;i++)if((u=y(e[i]))&&rY(ZZ,u))return u;return new XZ(!1);}r=function(e,t){var n=arguments.length<2?GZ(e):t;if(lY(n))return YK(nY(n,e));throw qZ(uY(e)+" is not iterable");}(e,o);}for(s=r.next;!(l=nY(s,r)).done;){try{u=y(l.value);}catch(e){KZ(r,"throw",e);}if("object"==typeof u&&u&&rY(ZZ,u))return u;}return new XZ(!1);},QZ=tK.TypeError,eJ=function(e,t){if(rY(t,e))return e;throw QZ("Incorrect invocation");},tJ=WK("iterator"),nJ=!1;try{var rJ=0,oJ={next:function(){return{done:!!rJ++};},return:function(){nJ=!0;}};oJ[tJ]=function(){return this;},Array.from(oJ,function(){throw 2;});}catch(Ml){}var iJ=Array.isArray||function(e){return"Array"==cK(e);},aJ=function(){},uJ=[],sJ=TK("Reflect","construct"),lJ=/^\s*(?:class|function)\b/,cJ=aK(lJ.exec),fJ=!lJ.exec(aJ),dJ=function(e){if(!BK(e))return!1;try{return sJ(aJ,uJ,e),!0;}catch(e){return!1;}},pJ=!sJ||uK(function(){var e;return dJ(dJ.call)||!dJ(Object)||!dJ(function(){e=!0;})||e;})?function(e){if(!BK(e))return!1;switch(mZ(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return fJ||!!cJ(lJ,QY(e));}:dJ,hJ=WK("species"),gJ=tK.Array,vJ=function(e,t){return new(function(e){var t;return iJ(e)&&(t=e.constructor,(pJ(t)&&(t===gJ||iJ(t.prototype))||GK(t)&&null===(t=t[hJ]))&&(t=void 0)),void 0===t?gJ:t;}(e))(0===t?0:t);},yJ=aK([].push),mJ=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=DK(s),g=pK(h),v=HZ(l,c),y=AY(g),m=0,b=f||vJ,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:yJ(w,d);}else switch(e){case 4:return!1;case 7:yJ(w,d);}return i?-1:r||o?o:w;};},bJ={forEach:mJ(0),map:mJ(1),filter:mJ(2),some:mJ(3),every:mJ(4),find:mJ(5),findIndex:mJ(6),filterReject:mJ(7)},wJ=zZ.getWeakData,EJ=hX.set,DJ=hX.getterFor,SJ=bJ.find,xJ=bJ.findIndex,CJ=aK([].splice),AJ=0,OJ=function(e){return e.frozen||(e.frozen=new kJ());},kJ=function(){this.entries=[];},BJ=function(e,t){return SJ(e.entries,function(e){return e[0]===t;});};kJ.prototype={get:function(e){var t=BJ(this,e);if(t)return t[1];},has:function(e){return!!BJ(this,e);},set:function(e,t){var n=BJ(this,e);n?n[1]=t:this.entries.push([e,t]);},delete:function(e){var t=xJ(this.entries,function(t){return t[0]===e;});return~t&&CJ(this.entries,t,1),!!~t;}};var FJ,TJ={getConstructor:function(e,t,n,r){var o=e(function(e,o){eJ(e,i),EJ(e,{type:t,id:AJ++,frozen:void 0}),null!=o&&JZ(o,e[r],{that:e,AS_ENTRIES:n});}),i=o.prototype,a=DJ(t),u=function(e,t,n){var r=a(e),o=wJ(YK(t),!0);return!0===o?OJ(r).set(t,n):o[r.id]=n,e;};return FZ(i,{delete:function(e){var t=a(this);if(!GK(e))return!1;var n=wJ(e);return!0===n?OJ(t).delete(e):n&&xK(n,t.id)&&delete n[t.id];},has:function(e){var t=a(this);if(!GK(e))return!1;var n=wJ(e);return!0===n?OJ(t).has(e):n&&xK(n,t.id);}}),FZ(i,n?{get:function(e){var t=a(this);if(GK(e)){var n=wJ(e);return!0===n?OJ(t).get(e):n?n[t.id]:void 0;}},set:function(e,t){return u(this,e,t);}}:{add:function(e){return u(this,e,!0);}}),o;}},_J=hX.enforce,PJ=!tK.ActiveXObject&&"ActiveXObject"in tK,jJ=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0);};},NJ=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=tK[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=aK(u[e]);xX(u,e,"add"==e?function(e){return t(this,0===e?0:e),this;}:"delete"==e?function(e){return!(o&&!GK(e))&&t(this,0===e?0:e);}:"get"==e?function(e){return o&&!GK(e)?void 0:t(this,0===e?0:e);}:"has"==e?function(e){return!(o&&!GK(e))&&t(this,0===e?0:e);}:function(e,n){return t(this,0===e?0:e,n),this;});};if(LX(e,!BK(a)||!(o||u.forEach&&!uK(function(){new a().entries().next();}))))s=n.getConstructor(t,e,r,i),zZ.enable();else if(LX(e,!0)){var f=new s(),d=f[i](o?{}:-0,1)!=f,p=uK(function(){f.has(1);}),h=function(e,t){if(!nJ)return!1;var n=!1;try{var r={};r[tJ]=function(){return{next:function(){return{done:n=!0};}};},function(e){new a(e);}(r);}catch(e){}return n;}(),g=!o&&uK(function(){for(var e=new a(),t=5;t--;)e[i](t,t);return!e.has(-0);});h||((s=t(function(e,t){eJ(e,u);var n=function(e,t,n){var r,o;return nZ&&BK(r=t.constructor)&&r!==n&&GK(o=r.prototype)&&o!==n.prototype&&nZ(e,o),e;}(new a(),e,s);return null!=t&&JZ(t,n[i],{that:n,AS_ENTRIES:r}),n;})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear;}return l[e]=s,MX({global:!0,forced:s!=a},l),ZX(s,e),o||n.setStrong(s,e,r),s;}("WeakMap",jJ,TJ);if(tX&&PJ){FJ=TJ.getConstructor(jJ,"WeakMap",!0),zZ.enable();var IJ=NJ.prototype,LJ=aK(IJ.delete),RJ=aK(IJ.has),MJ=aK(IJ.get),zJ=aK(IJ.set);FZ(IJ,{delete:function(e){if(GK(e)&&!RZ(e)){var t=_J(this);return t.frozen||(t.frozen=new FJ()),LJ(this,e)||t.frozen.delete(e);}return LJ(this,e);},has:function(e){if(GK(e)&&!RZ(e)){var t=_J(this);return t.frozen||(t.frozen=new FJ()),RJ(this,e)||t.frozen.has(e);}return RJ(this,e);},get:function(e){if(GK(e)&&!RZ(e)){var t=_J(this);return t.frozen||(t.frozen=new FJ()),RJ(this,e)?MJ(this,e):t.frozen.get(e);}return MJ(this,e);},set:function(e,t){if(GK(e)&&!RZ(e)){var n=_J(this);n.frozen||(n.frozen=new FJ()),RJ(this,e)?zJ(this,e,t):n.frozen.set(e,t);}else zJ(this,e,t);return this;}});}var $J={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},HJ=QK("span").classList,VJ=HJ&&HJ.constructor&&HJ.constructor.prototype,UJ=VJ===Object.prototype?void 0:VJ,WJ=WK("iterator"),GJ=WK("toStringTag"),qJ=dZ.values,KJ=function(e,t){if(e){if(e[WJ]!==qJ)try{rX(e,WJ,qJ);}catch(t){e[WJ]=qJ;}if(e[GJ]||rX(e,GJ,t),$J[t])for(var n in dZ)if(e[n]!==dZ[n])try{rX(e,n,dZ[n]);}catch(t){e[n]=dZ[n];}}};for(var YJ in $J)KJ(tK[YJ]&&tK[YJ].prototype,YJ);KJ(UJ,"DOMTokenList");var XJ=new WeakMap(),ZJ={type:"list-item",renderElem:function(e,t,n){XJ.set(e,n);var r=e,o=r.level,i=void 0===o?0:o,a=r.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(void 0!==a&&a){var l=function(e,t){var n=t,r=n.type,o=n.level,i=void 0===o?0:o,a=n.ordered,u=void 0!==a&&a;if(!u)return-1;var s=1,l=t,c=QO.findPath(e,l);if(0===c[0])return 1;for(;c[0]>0;){var f=Mf.previous(c),d=Bf.node(e,f);if(null==d)break;var p=d[0],h=p.level,g=void 0===h?0:h,v=p.type,y=p.ordered;if(v!==r)break;if(g<i)break;if(g===i){if(y!==u)break;s++;}l=p,c=f;}return s;}(n,e);s=l+".";}else s=function(e){void 0===e&&(e=0);var t="";switch(e){case 0:t="•";break;case 1:t="◦";break;default:t="▪";}return t;}(i);var c=function(e){var t,n=e.children||[],r=n.length;if(0===r)return"";for(var o=0;o<r&&!t;o++){var i=n[o];ed.isText(i)&&(t=i);}return null==t?"":t.color||"";}(e);return Pg("div",{style:u},Pg("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),Pg("span",null,t));}},JJ=function(e,t){return JJ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);},JJ(e,t);/*! *****************************************************************************
101638
+ Copyright (c) Microsoft Corporation.
101639
+
101640
+ Permission to use, copy, modify, and/or distribute this software for any
101641
+ purpose with or without fee is hereby granted.
101642
+
101643
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101644
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101645
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101646
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101647
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101648
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101649
+ PERFORMANCE OF THIS SOFTWARE.
101650
+ ***************************************************************************** */};function QJ(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e;}JJ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n());}function eQ(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}function tQ(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return a;}function nQ(e){return Bf.nodes(e,{at:e.selection||void 0,match:function(t){return 1===QO.findPath(e,t).length;}});}var rQ=kY.includes;MX({target:"Array",proto:!0},{includes:function(e){return rQ(this,e,arguments.length>1?arguments[1]:void 0);}}),qY("includes");var oQ,iQ,aQ=function(){var e=YK(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},uQ=tK.RegExp,sQ=uK(function(){var e=uQ("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),lQ=sQ||uK(function(){return!uQ("a","y").sticky;}),cQ={BROKEN_CARET:sQ||uK(function(){var e=uQ("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),MISSED_STICKY:lQ,UNSUPPORTED_Y:sQ},fQ=tK.RegExp,dQ=uK(function(){var e=fQ(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),pQ=tK.RegExp,hQ=uK(function(){var e=pQ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),gQ=hX.get,vQ=wK("native-string-replace",String.prototype.replace),yQ=RegExp.prototype.exec,mQ=yQ,bQ=aK("".charAt),wQ=aK("".indexOf),EQ=aK("".replace),DQ=aK("".slice),SQ=(iQ=/b*/g,nY(yQ,oQ=/a/,"a"),nY(yQ,iQ,"a"),0!==oQ.lastIndex||0!==iQ.lastIndex),xQ=cQ.BROKEN_CARET,CQ=void 0!==/()??/.exec("")[1];(SQ||CQ||xQ||dQ||hQ)&&(mQ=function(e){var t,n,r,o,i,a,u,s=this,l=gQ(s),c=EZ(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=nY(mQ,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=xQ&&s.sticky,h=nY(aQ,s),g=s.source,v=0,y=c;if(p&&(h=EQ(h,"y",""),-1===wQ(h,"g")&&(h+="g"),y=DQ(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==bQ(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),CQ&&(n=new RegExp("^"+g+"$(?!\\s)",h)),SQ&&(r=s.lastIndex),o=nY(yQ,p?n:s,y),p?o?(o.input=DQ(o.input,v),o[0]=DQ(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:SQ&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),CQ&&o&&o.length>1&&nY(vQ,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=UY(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var AQ=mQ;MX({target:"RegExp",proto:!0,forced:/./.exec!==AQ},{exec:AQ});var OQ=function(){function e(){this.type="list-item",this.tag="button";}return e.prototype.getListNode=function(e){var t=this.type;return QO.getSelectedNodeByType(e,t);},e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered;},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some(function(t){if(Bf.isVoid(e,t)&&Bf.isBlock(e,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0;});},e.prototype.exec=function(e,t){this.isActive(e)?md.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):md.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0});},e;}(),kQ='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',BQ='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',FQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!1,t.title=HP("listModule.unOrderedList"),t.iconSvg=kQ,t;}return QJ(t,e),t;}(OQ),TQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!0,t.title=HP("listModule.orderedList"),t.iconSvg=BQ,t;}return QJ(t,e),t;}(OQ),_Q={key:"bulletedList",factory:function(){return new FQ();}},PQ={key:"numberedList",factory:function(){return new TQ();}},jQ=[],NQ={type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=void 0!==o&&o?"ol":"ul",a=function(e){var t=XJ.get(e);if(null==t)return 0;var n=e,r=n.type,o=n.ordered,i=void 0!==o&&o,a=n.level,u=void 0===a?0:a,s=QO.findPath(t,e);if(0===s[0])return u+1;var l=Mf.previous(s),c=Bf.node(t,l);if(!c)return 0;var f=tQ(c,1)[0];if(QO.getNodeType(f)!==r)return u+1;var d=f,p=d.ordered,h=void 0!==p&&p,g=d.level,v=void 0===g?0:g;return v<u?u-v:v>u?0:v===u?h===i?0:1:0;}(e);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",jQ.push(i);var s=function(e){var t=XJ.get(e);if(null==t)return 0;var n=e,r=n.type,o=n.ordered,i=void 0!==o&&o,a=n.level,u=void 0===a?0:a,s=QO.findPath(t,e);if(s[0]===t.children.length-1)return u+1;var l=Mf.next(s),c=Bf.node(t,l);if(!c)return 0;var f=tQ(c,1)[0];if(QO.getNodeType(f)!==r)return u+1;var d=f,p=d.ordered,h=void 0!==p&&p,g=d.level,v=void 0===g?0:g;return v<u?u-v:v>u?0:v===u?h===i?0:1:0;}(e);if(s>0)for(u=0;u<s;u++)r+="</"+jQ.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r};}},IQ=WK("species"),LQ=bJ.filter,RQ=("filter",RK>=51||!uK(function(){var e=[];return(e.constructor={})[IQ]=function(){return{foo:1};},1!==e.filter(Boolean).foo;}));MX({target:"Array",proto:!0,forced:!RQ},{filter:function(e){return LQ(this,e,arguments.length>1?arguments[1]:void 0);}});var MQ=Function.prototype,zQ=MQ.apply,$Q=MQ.bind,HQ=MQ.call,VQ="object"==typeof Reflect&&Reflect.apply||($Q?HQ.bind(zQ):function(){return HQ.apply(zQ,arguments);}),UQ=(WK("species"),RegExp.prototype),WQ=AZ.charAt,GQ=function(e,t,n){return t+(n?WQ(e,t).length:1);},qQ=Math.floor,KQ=aK("".charAt),YQ=aK("".replace),XQ=aK("".slice),ZQ=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,JQ=/\$([$&'`]|\d{1,2})/g,QQ=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=JQ;return void 0!==o&&(o=DK(o),s=ZQ),YQ(i,s,function(i,s){var l;switch(KQ(s,0)){case"$":return"$";case"&":return e;case"`":return XQ(t,0,n);case"'":return XQ(t,a);case"<":l=o[XQ(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=qQ(c/10);return 0===f?i:f<=u?void 0===r[f-1]?KQ(s,1):r[f-1]+KQ(s,1):i;}l=r[c-1];}return void 0===l?"":l;});},e0=tK.TypeError,t0=function(e,t){var n=e.exec;if(BK(n)){var r=nY(n,e,t);return null!==r&&YK(r),r;}if("RegExp"===cK(e))return nY(AQ,e,t);throw e0("RegExp#exec called on incompatible receiver");},n0=WK("replace"),r0=Math.max,o0=Math.min,i0=aK([].concat),a0=aK([].push),u0=aK("".indexOf),s0=aK("".slice),l0="$0"==="a".replace(/./,"$0"),c0=!!/./[n0]&&""===/./[n0]("a","$0");!function(e,t,n,r){var o=WK(e),i=!uK(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!uK(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null;},t[o](""),!e;});if(!i||!a||n){var u=aK(/./[o]),s=function(e,t,n){var r=c0?"$":"$0";return[function(e,n){var r=gK(this),o=null==e?void 0:cY(e,n0);return o?nY(o,e,r,n):nY(t,EZ(r),e,n);},function(e,o){var i=YK(this),a=EZ(e);if("string"==typeof o&&-1===u0(o,r)&&-1===u0(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value;}var s=BK(o);s||(o=EZ(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0;}for(var f=[];;){var d=t0(i,a);if(null===d)break;if(a0(f,d),!l)break;""===EZ(d[0])&&(i.lastIndex=GQ(a,CY(i.lastIndex),c));}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=EZ((d=f[v])[0]),m=r0(o0(wY(d.index),a.length),0),b=[],w=1;w<d.length;w++)a0(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=i0([y],b,m,a);void 0!==E&&a0(D,E);var S=EZ(VQ(o,void 0,D));}else S=QQ(y,a,m,b,E,o);m>=g&&(h+=s0(a,g,m)+S,g=m+y.length);}return h+s0(a,g);}];}(0,""[e],function(e,t,n,r,o){var a=aK(e),s=t.exec;return s===AQ||s===UQ.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});xX(String.prototype,e,s[0]),xX(UQ,o,s[1]);}}("replace",0,!!uK(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e;},"7"!=="".replace(e,"$<a>");})||!l0||c0);var f0=tK.TypeError,d0=function(e,t,n,r,o,i,a,u){for(var s,l,c=o,f=0,d=!!a&&HZ(a,u);f<r;){if(f in n){if(s=d?d(n[f],f,t):n[f],i>0&&iJ(s))l=AY(s),c=d0(e,t,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw f0("Exceed the acceptable array length");e[c]=s;}c++;}f++;}return c;},p0=d0;function h0(e){return e.length?e[0].tagName.toLowerCase():"";}MX({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=DK(this),n=AY(t),r=vJ(t,0);return r.length=p0(r,t,t,n,0,void 0===e?1:wY(e)),r;}}),qY("flat"),MX({global:!0},{globalThis:tK}),ah&&(Mp.fn.append=ah),Vp&&(Mp.fn.attr=Vp),sh&&(Mp.fn.parent=sh);var g0={renderElems:[ZJ],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,o=e;return o.deleteBackward=function(e){var n=o.selection;if(null!=n){if(qf.isExpanded(n))t(e);else{var r=QO.getSelectedNodeByType(o,"list-item");if(null!=r){if(0!==n.focus.offset)t(e);else{var i=r.level,a=void 0===i?0:i;a>0?md.setNodes(o,{level:a-1}):md.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0});}}else t(e);}}else t(e);},o.handleTab=function(){var e,t,r,i,a=o.selection;if(null!=a){if(qf.isCollapsed(a)){var u=QO.getSelectedNodeByType(o,"list-item");if(null==u)return void n();if(0===a.focus.offset){var s=u.level,l=void 0===s?0:s;return void md.setNodes(o,{level:l+1});}}if(qf.isExpanded(a)){var c=0,f=!1;try{for(var d=eQ(nQ(o)),p=d.next();!p.done;p=d.next()){var h=tQ(p.value,1)[0];"list-item"===QO.getNodeType(h)?c++:f=!0;}}catch(t){e={error:t};}finally{try{p&&!p.done&&(t=d.return)&&t.call(d);}finally{if(e)throw e.error;}}if(f||c<=1)return void n();try{for(var g=eQ(nQ(o)),v=g.next();!v.done;v=g.next()){var y=tQ(v.value,2),m=(h=y[0],y[1]),b=h.level;l=void 0===b?0:b,md.setNodes(o,{level:l+1},{at:m});}}catch(e){r={error:e};}finally{try{v&&!v.done&&(i=g.return)&&i.call(g);}finally{if(r)throw r.error;}}}else n();}else n();},o.normalizeNode=function(e){var t=tQ(e,2),n=t[0],i=t[1],a=QO.getNodeType(n);return"bulleted-list"!==a&&"numbered-list"!==a||md.unwrapNodes(o,{at:i}),r([n,i]);},o;},menus:[_Q,PQ],elemsToHtml:[NQ],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0);}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter(function(e){return!!ed.isText(e)||!!n.isInline(e);})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(e){return"ol"===h0(e.parent());}(r),i=function(e){for(var t=0,n=e.parent(),r=h0(n);"ul"===r||"ol"===r;)r=h0(n=n.parent()),t++;return t-1;}(r);return{type:"list-item",ordered:o,level:i,children:t};}}]},v0=n(function(t,n){var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",u="[object Boolean]",s="[object Date]",l="[object Error]",c="[object Function]",f="[object Map]",d="[object Number]",p="[object Object]",h="[object Promise]",g="[object RegExp]",v="[object Set]",y="[object String]",m="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",E="[object DataView]",D=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,x={};x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x[i]=x[a]=x[w]=x[u]=x[E]=x[s]=x[l]=x[c]=x[f]=x[d]=x[p]=x[g]=x[v]=x[y]=x[b]=!1;var C="object"==typeof e&&e&&e.Object===Object&&e,A="object"==typeof self&&self&&self.Object===Object&&self,O=C||A||Function("return this")(),k=n&&!n.nodeType&&n,B=k&&t&&!t.nodeType&&t,F=B&&B.exports===k,T=F&&C.process,_=function(){try{return T&&T.binding&&T.binding("util");}catch(e){}}(),P=_&&_.isTypedArray;function j(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1;}function N(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e];}),n;}function I(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e;}),n;}var L=Array.prototype,R=Function.prototype,M=Object.prototype,z=O["__core-js_shared__"],$=R.toString,H=M.hasOwnProperty,V=function(){var e=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:"";}(),U=M.toString,W=RegExp("^"+$.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=F?O.Buffer:void 0,q=O.Symbol,K=O.Uint8Array,Y=M.propertyIsEnumerable,X=L.splice,Z=q?q.toStringTag:void 0,J=Object.getOwnPropertySymbols,Q=G?G.isBuffer:void 0,ee=function(e,t){return function(n){return e(t(n));};}(Object.keys,Object),te=Be(O,"DataView"),ne=Be(O,"Map"),re=Be(O,"Promise"),oe=Be(O,"Set"),ie=Be(O,"WeakMap"),ae=Be(Object,"create"),ue=Pe(te),se=Pe(ne),le=Pe(re),ce=Pe(oe),fe=Pe(ie),de=q?q.prototype:void 0,pe=de?de.valueOf:void 0;function he(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ve();++t<n;)this.add(e[t]);}function me(e){var t=this.__data__=new ge(e);this.size=t.size;}function be(e,t){var n=Ie(e),r=!n&&Ne(e),o=!n&&!r&&Le(e),i=!n&&!r&&!o&&He(e),a=n||r||o||i,u=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r;}(e.length,String):[],s=u.length;for(var l in e)!t&&!H.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||_e(l,s))||u.push(l);return u;}function we(e,t){for(var n=e.length;n--;)if(je(e[n][0],t))return n;return-1;}function Ee(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Z&&Z in Object(e)?function(e){var t=H.call(e,Z),n=e[Z];try{e[Z]=void 0;var r=!0;}catch(e){}var o=U.call(e);r&&(t?e[Z]=n:delete e[Z]);return o;}(e):function(e){return U.call(e);}(e);}function De(e){return $e(e)&&Ee(e)==i;}function Se(e,t,n,r,o){return e===t||(null==e||null==t||!$e(e)&&!$e(t)?e!=e&&t!=t:function(e,t,n,r,o,c){var h=Ie(e),b=Ie(t),D=h?a:Te(e),S=b?a:Te(t),x=(D=D==i?p:D)==p,C=(S=S==i?p:S)==p,A=D==S;if(A&&Le(e)){if(!Le(t))return!1;h=!0,x=!1;}if(A&&!x)return c||(c=new me()),h||He(e)?Ae(e,t,n,r,o,c):function(e,t,n,r,o,i,a){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!i(new K(e),new K(t)));case u:case s:case d:return je(+e,+t);case l:return e.name==t.name&&e.message==t.message;case g:case y:return e==t+"";case f:var c=N;case v:var p=1&r;if(c||(c=I),e.size!=t.size&&!p)return!1;var h=a.get(e);if(h)return h==t;r|=2,a.set(e,t);var b=Ae(c(e),c(t),r,o,i,a);return a.delete(e),b;case m:if(pe)return pe.call(e)==pe.call(t);}return!1;}(e,t,D,n,r,o,c);if(!(1&n)){var O=x&&H.call(e,"__wrapped__"),k=C&&H.call(t,"__wrapped__");if(O||k){var B=O?e.value():e,F=k?t.value():t;return c||(c=new me()),o(B,F,n,r,c);}}if(!A)return!1;return c||(c=new me()),function(e,t,n,r,o,i){var a=1&n,u=Oe(e),s=u.length,l=Oe(t).length;if(s!=l&&!a)return!1;var c=s;for(;c--;){var f=u[c];if(!(a?f in t:H.call(t,f)))return!1;}var d=i.get(e);if(d&&i.get(t))return d==t;var p=!0;i.set(e,t),i.set(t,e);var h=a;for(;++c<s;){var g=e[f=u[c]],v=t[f];if(r)var y=a?r(v,g,f,t,e,i):r(g,v,f,e,t,i);if(!(void 0===y?g===v||o(g,v,n,r,i):y)){p=!1;break;}h||(h="constructor"==f);}if(p&&!h){var m=e.constructor,b=t.constructor;m==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(p=!1);}return i.delete(e),i.delete(t),p;}(e,t,n,r,o,c);}(e,t,n,r,Se,o));}function xe(e){return!(!ze(e)||function(e){return!!V&&V in e;}(e))&&(Re(e)?W:D).test(Pe(e));}function Ce(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||M,t!==r)return ee(e);var t,n,r,o=[];for(var i in Object(e))H.call(e,i)&&"constructor"!=i&&o.push(i);return o;}function Ae(e,t,n,r,o,i){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&s>u))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var c=-1,f=!0,d=2&n?new ye():void 0;for(i.set(e,t),i.set(t,e);++c<u;){var p=e[c],h=t[c];if(r)var g=a?r(h,p,c,t,e,i):r(p,h,c,e,t,i);if(void 0!==g){if(g)continue;f=!1;break;}if(d){if(!j(t,function(e,t){if(a=t,!d.has(a)&&(p===e||o(p,e,n,r,i)))return d.push(t);var a;})){f=!1;break;}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break;}}return i.delete(e),i.delete(t),f;}function Oe(e){return function(e,t,n){var r=t(e);return Ie(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e;}(r,n(e));}(e,Ve,Fe);}function ke(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map;}function Be(e,t){var n=function(e,t){return null==e?void 0:e[t];}(e,t);return xe(n)?n:void 0;}he.prototype.clear=function(){this.__data__=ae?ae(null):{},this.size=0;},he.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t;},he.prototype.get=function(e){var t=this.__data__;if(ae){var n=t[e];return n===r?void 0:n;}return H.call(t,e)?t[e]:void 0;},he.prototype.has=function(e){var t=this.__data__;return ae?void 0!==t[e]:H.call(t,e);},he.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ae&&void 0===t?r:t,this;},ge.prototype.clear=function(){this.__data__=[],this.size=0;},ge.prototype.delete=function(e){var t=this.__data__,n=we(t,e);return!(n<0)&&(n==t.length-1?t.pop():X.call(t,n,1),--this.size,!0);},ge.prototype.get=function(e){var t=this.__data__,n=we(t,e);return n<0?void 0:t[n][1];},ge.prototype.has=function(e){return we(this.__data__,e)>-1;},ge.prototype.set=function(e,t){var n=this.__data__,r=we(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this;},ve.prototype.clear=function(){this.size=0,this.__data__={hash:new he(),map:new(ne||ge)(),string:new he()};},ve.prototype.delete=function(e){var t=ke(this,e).delete(e);return this.size-=t?1:0,t;},ve.prototype.get=function(e){return ke(this,e).get(e);},ve.prototype.has=function(e){return ke(this,e).has(e);},ve.prototype.set=function(e,t){var n=ke(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this;},ye.prototype.add=ye.prototype.push=function(e){return this.__data__.set(e,r),this;},ye.prototype.has=function(e){return this.__data__.has(e);},me.prototype.clear=function(){this.__data__=new ge(),this.size=0;},me.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n;},me.prototype.get=function(e){return this.__data__.get(e);},me.prototype.has=function(e){return this.__data__.has(e);},me.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ge){var r=n.__data__;if(!ne||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ve(r);}return n.set(e,t),this.size=n.size,this;};var Fe=J?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a);}return i;}(J(e),function(t){return Y.call(e,t);}));}:function(){return[];},Te=Ee;function _e(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t;}function Pe(e){if(null!=e){try{return $.call(e);}catch(e){}try{return e+"";}catch(e){}}return"";}function je(e,t){return e===t||e!=e&&t!=t;}(te&&Te(new te(new ArrayBuffer(1)))!=E||ne&&Te(new ne())!=f||re&&Te(re.resolve())!=h||oe&&Te(new oe())!=v||ie&&Te(new ie())!=b)&&(Te=function(e){var t=Ee(e),n=t==p?e.constructor:void 0,r=n?Pe(n):"";if(r)switch(r){case ue:return E;case se:return f;case le:return h;case ce:return v;case fe:return b;}return t;});var Ne=De(function(){return arguments;}())?De:function(e){return $e(e)&&H.call(e,"callee")&&!Y.call(e,"callee");},Ie=Array.isArray;var Le=Q||function(){return!1;};function Re(e){if(!ze(e))return!1;var t=Ee(e);return t==c||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t;}function Me(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o;}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t);}function $e(e){return null!=e&&"object"==typeof e;}var He=P?function(e){return function(t){return e(t);};}(P):function(e){return $e(e)&&Me(e.length)&&!!x[Ee(e)];};function Ve(e){return null!=(t=e)&&Me(t.length)&&!Re(t)?be(e):Ce(e);var t;}t.exports=function(e,t){return Se(e,t);};});MP("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),MP("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头"}});var y0="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function m0(e){var t={exports:{}};return e(t,t.exports),t.exports;}var b0,w0,E0=function(e){return e&&e.Math==Math&&e;},D0=E0("object"==typeof globalThis&&globalThis)||E0("object"==typeof window&&window)||E0("object"==typeof self&&self)||E0("object"==typeof y0&&y0)||function(){return this;}()||Function("return this")(),S0=function(e){try{return!!e();}catch(e){return!0;}},x0=!S0(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),C0=Function.prototype.call,A0=C0.bind?C0.bind(C0):function(){return C0.apply(C0,arguments);},O0={}.propertyIsEnumerable,k0=Object.getOwnPropertyDescriptor,B0={f:k0&&!O0.call({1:2},1)?function(e){var t=k0(this,e);return!!t&&t.enumerable;}:O0},F0=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},T0=Function.prototype,_0=T0.bind,P0=T0.call,j0=_0&&_0.bind(P0),N0=_0?function(e){return e&&j0(P0,e);}:function(e){return e&&function(){return P0.apply(e,arguments);};},I0=N0({}.toString),L0=N0("".slice),R0=function(e){return L0(I0(e),8,-1);},M0=D0.Object,z0=N0("".split),$0=S0(function(){return!M0("z").propertyIsEnumerable(0);})?function(e){return"String"==R0(e)?z0(e,""):M0(e);}:M0,H0=D0.TypeError,V0=function(e){if(null==e)throw H0("Can't call method on "+e);return e;},U0=function(e){return $0(V0(e));},W0=function(e){return"function"==typeof e;},G0=function(e){return"object"==typeof e?null!==e:W0(e);},q0=function(e){return W0(e)?e:void 0;},K0=function(e,t){return arguments.length<2?q0(D0[e]):D0[e]&&D0[e][t];},Y0=N0({}.isPrototypeOf),X0=K0("navigator","userAgent")||"",Z0=D0.process,J0=D0.Deno,Q0=Z0&&Z0.versions||J0&&J0.version,e1=Q0&&Q0.v8;e1&&(w0=(b0=e1.split("."))[0]>0&&b0[0]<4?1:+(b0[0]+b0[1])),!w0&&X0&&(!(b0=X0.match(/Edge\/(\d+)/))||b0[1]>=74)&&(b0=X0.match(/Chrome\/(\d+)/))&&(w0=+b0[1]);var t1=w0,n1=!!Object.getOwnPropertySymbols&&!S0(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t1&&t1<41;}),r1=n1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,o1=D0.Object,i1=r1?function(e){return"symbol"==typeof e;}:function(e){var t=K0("Symbol");return W0(t)&&Y0(t.prototype,o1(e));},a1=D0.String,u1=function(e){try{return a1(e);}catch(e){return"Object";}},s1=D0.TypeError,l1=function(e){if(W0(e))return e;throw s1(u1(e)+" is not a function");},c1=function(e,t){var n=e[t];return null==n?void 0:l1(n);},f1=D0.TypeError,d1=Object.defineProperty,p1=function(e,t){try{d1(D0,e,{value:t,configurable:!0,writable:!0});}catch(n){D0[e]=t;}return t;},h1=D0["__core-js_shared__"]||p1("__core-js_shared__",{}),g1=m0(function(e){(e.exports=function(e,t){return h1[e]||(h1[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),v1=D0.Object,y1=function(e){return v1(V0(e));},m1=N0({}.hasOwnProperty),b1=Object.hasOwn||function(e,t){return m1(y1(e),t);},w1=0,E1=Math.random(),D1=N0(1..toString),S1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+D1(++w1+E1,36);},x1=g1("wks"),C1=D0.Symbol,A1=C1&&C1.for,O1=r1?C1:C1&&C1.withoutSetter||S1,k1=function(e){if(!b1(x1,e)||!n1&&"string"!=typeof x1[e]){var t="Symbol."+e;n1&&b1(C1,e)?x1[e]=C1[e]:x1[e]=r1&&A1?A1(t):O1(t);}return x1[e];},B1=D0.TypeError,F1=k1("toPrimitive"),T1=function(e){var t=function(e,t){if(!G0(e)||i1(e))return e;var n,r=c1(e,F1);if(r){if(void 0===t&&(t="default"),n=A0(r,e,t),!G0(n)||i1(n))return n;throw B1("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&W0(n=e.toString)&&!G0(r=A0(n,e)))return r;if(W0(n=e.valueOf)&&!G0(r=A0(n,e)))return r;if("string"!==t&&W0(n=e.toString)&&!G0(r=A0(n,e)))return r;throw f1("Can't convert object to primitive value");}(e,t);}(e,"string");return i1(t)?t:t+"";},_1=D0.document,P1=G0(_1)&&G0(_1.createElement),j1=function(e){return P1?_1.createElement(e):{};},N1=!x0&&!S0(function(){return 7!=Object.defineProperty(j1("div"),"a",{get:function(){return 7;}}).a;}),I1=Object.getOwnPropertyDescriptor,L1={f:x0?I1:function(e,t){if(e=U0(e),t=T1(t),N1)try{return I1(e,t);}catch(e){}if(b1(e,t))return F0(!A0(B0.f,e,t),e[t]);}},R1=D0.String,M1=D0.TypeError,z1=function(e){if(G0(e))return e;throw M1(R1(e)+" is not an object");},$1=D0.TypeError,H1=Object.defineProperty,V1={f:x0?H1:function(e,t,n){if(z1(e),t=T1(t),z1(n),N1)try{return H1(e,t,n);}catch(e){}if("get"in n||"set"in n)throw $1("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},U1=x0?function(e,t,n){return V1.f(e,t,F0(1,n));}:function(e,t,n){return e[t]=n,e;},W1=N0(Function.toString);W0(h1.inspectSource)||(h1.inspectSource=function(e){return W1(e);});var G1,q1,K1,Y1=h1.inspectSource,X1=D0.WeakMap,Z1=W0(X1)&&/native code/.test(Y1(X1)),J1=g1("keys"),Q1=function(e){return J1[e]||(J1[e]=S1(e));},e2={},t2=D0.TypeError,n2=D0.WeakMap;if(Z1||h1.state){var r2=h1.state||(h1.state=new n2()),o2=N0(r2.get),i2=N0(r2.has),a2=N0(r2.set);G1=function(e,t){if(i2(r2,e))throw new t2("Object already initialized");return t.facade=e,a2(r2,e,t),t;},q1=function(e){return o2(r2,e)||{};},K1=function(e){return i2(r2,e);};}else{var u2=Q1("state");e2[u2]=!0,G1=function(e,t){if(b1(e,u2))throw new t2("Object already initialized");return t.facade=e,U1(e,u2,t),t;},q1=function(e){return b1(e,u2)?e[u2]:{};},K1=function(e){return b1(e,u2);};}var s2={set:G1,get:q1,has:K1,enforce:function(e){return K1(e)?q1(e):G1(e,{});},getterFor:function(e){return function(t){var n;if(!G0(t)||(n=q1(t)).type!==e)throw t2("Incompatible receiver, "+e+" required");return n;};}},l2=Function.prototype,c2=x0&&Object.getOwnPropertyDescriptor,f2=b1(l2,"name"),d2={EXISTS:f2,PROPER:f2&&"something"===function(){}.name,CONFIGURABLE:f2&&(!x0||x0&&c2(l2,"name").configurable)},p2=m0(function(e){var t=d2.CONFIGURABLE,n=s2.get,r=s2.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;W0(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!b1(i,"name")||t&&i.name!==f)&&U1(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==D0?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:U1(e,n,i)):l?e[n]=i:p1(n,i);})(Function.prototype,"toString",function(){return W0(this)&&n(this).source||Y1(this);});}),h2=Math.ceil,g2=Math.floor,v2=function(e){var t=+e;return t!=t||0===t?0:(t>0?g2:h2)(t);},y2=Math.max,m2=Math.min,b2=function(e,t){var n=v2(e);return n<0?y2(n+t,0):m2(n,t);},w2=Math.min,E2=function(e){return e>0?w2(v2(e),9007199254740991):0;},D2=function(e){return E2(e.length);},S2=function(e){return function(t,n,r){var o,i=U0(t),a=D2(i),u=b2(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},x2=(S2(!0),S2(!1)),C2=N0([].push),A2=function(e,t){var n,r=U0(e),o=0,i=[];for(n in r)!b1(e2,n)&&b1(r,n)&&C2(i,n);for(;t.length>o;)b1(r,n=t[o++])&&(~x2(i,n)||C2(i,n));return i;},O2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],k2=O2.concat("length","prototype"),B2={f:Object.getOwnPropertyNames||function(e){return A2(e,k2);}},F2={f:Object.getOwnPropertySymbols},T2=N0([].concat),_2=K0("Reflect","ownKeys")||function(e){var t=B2.f(z1(e)),n=F2.f;return n?T2(t,n(e)):t;},P2=function(e,t){for(var n=_2(t),r=V1.f,o=L1.f,i=0;i<n.length;i++){var a=n[i];b1(e,a)||r(e,a,o(t,a));}},j2=/#|\.prototype\./,N2=function(e,t){var n=L2[I2(e)];return n==M2||n!=R2&&(W0(t)?S0(t):!!t);},I2=N2.normalize=function(e){return String(e).replace(j2,".").toLowerCase();},L2=N2.data={},R2=N2.NATIVE="N",M2=N2.POLYFILL="P",z2=N2,$2=L1.f,H2=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?D0:l?D0[u]||p1(u,{}):(D0[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=$2(n,r))&&a.value:n[r],!z2(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;P2(i,o);}(e.sham||o&&o.sham)&&U1(i,"sham",!0),p2(n,r,i,e);}},V2={};V2[k1("toStringTag")]="z";var U2="[object z]"===String(V2),W2=k1("toStringTag"),G2=D0.Object,q2="Arguments"==R0(function(){return arguments;}()),K2=U2?R0:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=G2(e),W2))?n:q2?R0(t):"Object"==(r=R0(t))&&W0(t.callee)?"Arguments":r;},Y2=D0.String,X2=function(e){if("Symbol"===K2(e))throw TypeError("Cannot convert a Symbol value to a string");return Y2(e);},Z2=/"/g,J2=N0("".replace);H2({target:"String",proto:!0,forced:("anchor",S0(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3;}))},{anchor:function(e){return"a","name",t=e,n=X2(V0(this)),r="<a",(r+=' name="'+J2(X2(t),Z2,"&quot;")+'"')+">"+n+"</a>";var t,n,r;}});var Q2,e4=function(){var e=z1(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},t4=D0.RegExp,n4=S0(function(){var e=t4("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),r4=n4||S0(function(){return!t4("a","y").sticky;}),o4={BROKEN_CARET:n4||S0(function(){var e=t4("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),MISSED_STICKY:r4,UNSUPPORTED_Y:n4},i4=Object.keys||function(e){return A2(e,O2);},a4=x0?Object.defineProperties:function(e,t){z1(e);for(var n,r=U0(t),o=i4(t),i=o.length,a=0;i>a;)V1.f(e,n=o[a++],r[n]);return e;},u4=K0("document","documentElement"),s4=Q1("IE_PROTO"),l4=function(){},c4=function(e){return"<script>"+e+"<\/script>";},f4=function(e){e.write(c4("")),e.close();var t=e.parentWindow.Object;return e=null,t;},d4=function(){try{Q2=new ActiveXObject("htmlfile");}catch(e){}var e,t;d4="undefined"!=typeof document?document.domain&&Q2?f4(Q2):((t=j1("iframe")).style.display="none",u4.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(c4("document.F=Object")),e.close(),e.F):f4(Q2);for(var n=O2.length;n--;)delete d4.prototype[O2[n]];return d4();};e2[s4]=!0;var p4,h4,g4=Object.create||function(e,t){var n;return null!==e?(l4.prototype=z1(e),n=new l4(),l4.prototype=null,n[s4]=e):n=d4(),void 0===t?n:a4(n,t);},v4=D0.RegExp,y4=S0(function(){var e=v4(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),m4=D0.RegExp,b4=S0(function(){var e=m4("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),w4=s2.get,E4=g1("native-string-replace",String.prototype.replace),D4=RegExp.prototype.exec,S4=D4,x4=N0("".charAt),C4=N0("".indexOf),A4=N0("".replace),O4=N0("".slice),k4=(h4=/b*/g,A0(D4,p4=/a/,"a"),A0(D4,h4,"a"),0!==p4.lastIndex||0!==h4.lastIndex),B4=o4.BROKEN_CARET,F4=void 0!==/()??/.exec("")[1];(k4||F4||B4||y4||b4)&&(S4=function(e){var t,n,r,o,i,a,u,s=this,l=w4(s),c=X2(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=A0(S4,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=B4&&s.sticky,h=A0(e4,s),g=s.source,v=0,y=c;if(p&&(h=A4(h,"y",""),-1===C4(h,"g")&&(h+="g"),y=O4(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==x4(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),F4&&(n=new RegExp("^"+g+"$(?!\\s)",h)),k4&&(r=s.lastIndex),o=A0(D4,p?n:s,y),p?o?(o.input=O4(o.input,v),o[0]=O4(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:k4&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),F4&&o&&o.length>1&&A0(E4,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=g4(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var T4=S4;H2({target:"RegExp",proto:!0,forced:/./.exec!==T4},{exec:T4});var _4=Array.isArray||function(e){return"Array"==R0(e);},P4=function(){},j4=[],N4=K0("Reflect","construct"),I4=/^\s*(?:class|function)\b/,L4=N0(I4.exec),R4=!I4.exec(P4),M4=function(e){if(!W0(e))return!1;try{return N4(P4,j4,e),!0;}catch(e){return!1;}},z4=!N4||S0(function(){var e;return M4(M4.call)||!M4(Object)||!M4(function(){e=!0;})||e;})?function(e){if(!W0(e))return!1;switch(K2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return R4||!!L4(I4,Y1(e));}:M4,$4=function(e,t,n){var r=T1(t);r in e?V1.f(e,r,F0(0,n)):e[r]=n;},H4=k1("species"),V4=function(e){return t1>=51||!S0(function(){var t=[];return(t.constructor={})[H4]=function(){return{foo:1};},1!==t[e](Boolean).foo;});},U4=N0([].slice),W4=V4("slice"),G4=k1("species"),q4=D0.Array,K4=Math.max;function Y4(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return a;}function X4(e){var t=e.selection;if(null==t)return!1;var n=Y4(Bf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell");}}),1)[0];if(n){var r=Y4(n,2)[1],o=Bf.start(e,r);if(Vf.equals(t.anchor,o))return!0;}return!1;}function Z4(e,t){var n,r,o=Bf.nodes(e,{at:t,match:function(e){return"table"===QO.getNodeType(e);}}),i=!1;try{for(var a=/*! *****************************************************************************
101651
+ Copyright (c) Microsoft Corporation.
101652
+
101653
+ Permission to use, copy, modify, and/or distribute this software for any
101654
+ purpose with or without fee is hereby granted.
101655
+
101656
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101657
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101658
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101659
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101660
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101661
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101662
+ PERFORMANCE OF THIS SOFTWARE.
101663
+ ***************************************************************************** */function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}(o),u=a.next();!u.done;u=a.next())u.value,i=!0;}catch(e){n={error:e};}finally{try{u&&!u.done&&(r=a.return)&&r.call(a);}finally{if(n)throw n.error;}}return i;}H2({target:"Array",proto:!0,forced:!W4},{slice:function(e,t){var n,r,o,i=U0(this),a=D2(i),u=b2(e,a),s=b2(void 0===t?a:t,a);if(_4(i)&&(n=i.constructor,(z4(n)&&(n===q4||_4(n.prototype))||G0(n)&&null===(n=n[G4]))&&(n=void 0),n===q4||void 0===n))return U4(i,u,s);for(r=new(void 0===n?q4:n)(K4(s-u,0)),o=0;u<s;u++,o++)u in i&&$4(r,o,i[u]);return r.length=o,r;}});var J4=N0(N0.bind),Q4=k1("species"),e6=D0.Array,t6=function(e,t){return new(function(e){var t;return _4(e)&&(t=e.constructor,(z4(t)&&(t===e6||_4(t.prototype))||G0(t)&&null===(t=t[Q4]))&&(t=void 0)),void 0===t?e6:t;}(e))(0===t?0:t);},n6=N0([].push),r6=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=y1(s),g=$0(h),v=function(e,t){return l1(e),void 0===t?e:J4?J4(e,t):function(){return e.apply(t,arguments);};}(l,c),y=D2(g),m=0,b=f||t6,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:n6(w,d);}else switch(e){case 4:return!1;case 7:n6(w,d);}return i?-1:r||o?o:w;};},o6={forEach:r6(0),map:r6(1),filter:r6(2),some:r6(3),every:r6(4),find:r6(5),findIndex:r6(6),filterReject:r6(7)},i6=o6.map;H2({target:"Array",proto:!0,forced:!V4("map")},{map:function(e){return i6(this,e,arguments.length>1?arguments[1]:void 0);}});var a6=U2?{}.toString:function(){return"[object "+K2(this)+"]";};function u6(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[];}function s6(e){return u6(e).every(function(e){return!!e.isHeader;});}U2||p2(Object.prototype,"toString",a6,{unsafe:!0});var l6=d2.PROPER,c6=RegExp.prototype,f6=c6.toString,d6=N0(e4),p6=S0(function(){return"/a/b"!=f6.call({source:"a",flags:"b"});}),h6=l6&&"toString"!=f6.name;(p6||h6)&&p2(RegExp.prototype,"toString",function(){var e=z1(this),t=X2(e.source),n=e.flags;return"/"+t+"/"+X2(void 0===n&&Y0(c6,e)&&!("flags"in c6)?d6(e):n);},{unsafe:!0});var g6=k1("unscopables"),v6=Array.prototype;null==v6[g6]&&V1.f(v6,g6,{configurable:!0,value:g4(null)});var y6=o6.find,m6=!0;"find"in[]&&Array(1).find(function(){m6=!1;}),H2({target:"Array",proto:!0,forced:m6},{find:function(e){return y6(this,e,arguments.length>1?arguments[1]:void 0);}}),v6[g6].find=!0;var b6=Function.prototype,w6=b6.apply,E6=b6.bind,D6=b6.call,S6="object"==typeof Reflect&&Reflect.apply||(E6?D6.bind(w6):function(){return D6.apply(w6,arguments);}),x6=k1("species"),C6=RegExp.prototype,A6=function(e,t,n,r){var o=k1(e),i=!S0(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!S0(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[x6]=function(){return n;},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null;},n[o](""),!t;});if(!i||!a||n){var u=N0(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=N0(e),s=t.exec;return s===T4||s===C6.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});p2(String.prototype,e,s[0]),p2(C6,o,s[1]);}r&&U1(C6[o],"sham",!0);},O6=k1("match"),k6=D0.TypeError,B6=k1("species"),F6=N0("".charAt),T6=N0("".charCodeAt),_6=N0("".slice),P6=function(e){return function(t,n){var r,o,i=X2(V0(t)),a=v2(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=T6(i,a))<55296||r>56319||a+1===u||(o=T6(i,a+1))<56320||o>57343?e?F6(i,a):r:e?_6(i,a,a+2):o-56320+(r-55296<<10)+65536;};},j6=(P6(!1),P6(!0)),N6=function(e,t,n){return t+(n?j6(e,t).length:1);},I6=D0.Array,L6=Math.max,R6=function(e,t,n){for(var r=D2(e),o=b2(t,r),i=b2(void 0===n?r:n,r),a=I6(L6(i-o,0)),u=0;o<i;o++,u++)$4(a,u,e[o]);return a.length=u,a;},M6=D0.TypeError,z6=function(e,t){var n=e.exec;if(W0(n)){var r=A0(n,e,t);return null!==r&&z1(r),r;}if("RegExp"===R0(e))return A0(T4,e,t);throw M6("RegExp#exec called on incompatible receiver");},$6=o4.UNSUPPORTED_Y,H6=Math.min,V6=[].push,U6=N0(/./.exec),W6=N0(V6),G6=N0("".slice);A6("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o,i=X2(V0(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!G0(r=e)||!(void 0!==(o=r[O6])?o:"RegExp"==R0(r)))return A0(t,i,e,a);for(var u,s,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=new RegExp(e.source,f+"g");(u=A0(T4,p,i))&&!((s=p.lastIndex)>d&&(W6(c,G6(i,d,u.index)),u.length>1&&u.index<i.length&&S6(V6,c,R6(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&U6(p,"")||W6(c,""):W6(c,G6(i,d)),c.length>a?R6(c,0,a):c;}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:A0(t,this,e,n);}:t,[function(t,n){var o=V0(this),i=null==t?void 0:c1(t,e);return i?A0(i,t,o,n):A0(r,X2(o),t,n);},function(e,o){var i=z1(this),a=X2(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=z1(e).constructor;return void 0===r||null==(n=z1(r)[B6])?t:function(e){if(z4(e))return e;throw k6(u1(e)+" is not a constructor");}(n);}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+($6?"g":"y"),f=new s($6?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===z6(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=$6?0:h;var v,y=z6(f,$6?G6(a,h):a);if(null===y||(v=H6(E2(f.lastIndex+($6?h:0)),a.length))===p)h=N6(a,h,l);else{if(W6(g,G6(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(W6(g,y[m]),g.length===d)return g;h=p=v;}}return W6(g,G6(a,p)),g;}];},!!S0(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments);};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1];}),$6);var q6="\t\n\v\f\r                 \u2028\u2029\ufeff",K6=N0("".replace),Y6="["+q6+"]",X6=RegExp("^"+Y6+Y6+"*"),Z6=RegExp(Y6+Y6+"*$"),J6=function(e){return function(t){var n=X2(V0(t));return 1&e&&(n=K6(n,X6,"")),2&e&&(n=K6(n,Z6,"")),n;};},Q6={start:J6(1),end:J6(2),trim:J6(3)},e3=d2.PROPER,t3=Q6.trim;function n3(e){return e.length?e[0].tagName.toLowerCase():"";}H2({target:"String",proto:!0,forced:function(e){return S0(function(){return!!q6[e]()||"​…᠎"!=="​…᠎"[e]()||e3&&q6[e].name!==e;});}("trim")},{trim:function(){return t3(this);}}),H2({global:!0},{globalThis:D0}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),Vp&&(Mp.fn.attr=Vp),Gp&&(Mp.fn.val=Gp),rh&&(Mp.fn.html=rh),Wp&&(Mp.fn.dataset=Wp),zp&&(Mp.fn.addClass=zp),$p&&(Mp.fn.removeClass=$p),fh&&(Mp.fn.children=fh),th&&(Mp.fn.each=th),ch&&(Mp.fn.find=ch);var r3=!1,o3=0,i3=0,a3=null,u3=null,s3=Mp("body");function l3(e){r3=!1,u3=null,a3=null,s3.off("mousemove",c3),s3.off("mouseup",l3);}s3.on("mousedown",function(e){var t=e.target;if(("TH"===t.tagName||"TD"===t.tagName)&&"col-resize"===t.style.cursor){t.style.cursor="auto",e.preventDefault(),r3=!0;var n=e.clientX;o3=n;var r=t.getBoundingClientRect().width;i3=r,s3.on("mousemove",c3),s3.on("mouseup",l3);}});var c3=eg(function(e){if(r3&&null!=u3&&null!=a3){e.preventDefault();var t=e.clientX,n=i3+(t-o3);(n=Math.floor(100*n)/100)<30&&(n=30),md.setNodes(u3,{width:n.toString()},{at:a3});}},100),f3={type:"table",renderElem:function(e,t,n){var r=function(e,t){if(e.isDisabled())return!1;var n=e.selection;if(null==n)return!0;if(qf.isCollapsed(n))return!0;var r=n.anchor,o=n.focus,i=QO.findPath(e,t),a=Bf.start(e,i),u=Bf.end(e,i),s=Vf.compare(r,u)<=0&&Vf.compare(r,a)>=0,l=Vf.compare(o,u)<=0&&Vf.compare(o,a)>=0;return!!(s&&l&&Mf.equals(r.path.slice(0,3),o.path.slice(0,3)));}(n,e),o=e.width,i=void 0===o?"auto":o,a=Pg("div",{className:"table-container","data-selected":QO.isNodeSelected(n,e),on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!n.isDisabled()){var r=QO.findPath(n,e),o=Bf.start(n,r),i=n.selection;null!=i?i.anchor.path[0]!==r[0]&&n.select(o):n.select(o);}}}},Pg("table",{width:i,contentEditable:r},Pg("colgroup",null,u6(e).map(function(e){var t=e.width;return Pg("col",{width:void 0===t?"auto":t});})),Pg("tbody",null,t)));return a;}},d3={type:"table-row",renderElem:function(e,t,n){return Pg("tr",null,t);}},p3={type:"table-cell",renderElem:function(e,t,n){var r=function(e,t){var n=QO.getParentNode(e,t);if(null==n)return!1;var r=QO.getParentNode(e,n);return null!=r&&u6(r).some(function(e){return e===t;});}(n,e),o=e,i=o.colSpan,a=void 0===i?1:i,u=o.rowSpan,s=void 0===u?1:u,l=o.isHeader,c=void 0!==l&&l;if(!r)return Pg("td",{colSpan:a,rowSpan:s},t);var f=Pg(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:eg(function(t){var r=this.elm;if(null!=r){var o=r.getBoundingClientRect(),i=o.left,a=o.width,u=o.top,s=o.height,l=t.clientX,c=t.clientY;r3||(l>i+a-5&&l<i+a&&c>u&&c<u+s?(r.style.cursor="col-resize",u3=n,a3=QO.findPath(n,e)):r3||(r.style.cursor="auto",u3=null,a3=null));}},100)}},t);return f;}},h3={selector:"table",preParseHtml:function(e){var t=Mp(e);if("table"!==n3(t))return e;var n=t.find("tbody");if(0===n.length)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0];}},g3=o6.filter;H2({target:"Array",proto:!0,forced:!V4("filter")},{filter:function(e){return g3(this,e,arguments.length>1?arguments[1]:void 0);}});var v3=Math.floor,y3=N0("".charAt),m3=N0("".replace),b3=N0("".slice),w3=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,E3=/\$([$&'`]|\d{1,2})/g,D3=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=E3;return void 0!==o&&(o=y1(o),s=w3),m3(i,s,function(i,s){var l;switch(y3(s,0)){case"$":return"$";case"&":return e;case"`":return b3(t,0,n);case"'":return b3(t,a);case"<":l=o[b3(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=v3(c/10);return 0===f?i:f<=u?void 0===r[f-1]?y3(s,1):r[f-1]+y3(s,1):i;}l=r[c-1];}return void 0===l?"":l;});},S3=k1("replace"),x3=Math.max,C3=Math.min,A3=N0([].concat),O3=N0([].push),k3=N0("".indexOf),B3=N0("".slice),F3="$0"==="a".replace(/./,"$0"),T3=!!/./[S3]&&""===/./[S3]("a","$0");A6("replace",function(e,t,n){var r=T3?"$":"$0";return[function(e,n){var r=V0(this),o=null==e?void 0:c1(e,S3);return o?A0(o,e,r,n):A0(t,X2(r),e,n);},function(e,o){var i=z1(this),a=X2(e);if("string"==typeof o&&-1===k3(o,r)&&-1===k3(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value;}var s=W0(o);s||(o=X2(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0;}for(var f=[];;){var d=z6(i,a);if(null===d)break;if(O3(f,d),!l)break;""===X2(d[0])&&(i.lastIndex=N6(a,E2(i.lastIndex),c));}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=X2((d=f[v])[0]),m=x3(C3(v2(d.index),a.length),0),b=[],w=1;w<d.length;w++)O3(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=A3([y],b,m,a);void 0!==E&&O3(D,E);var S=X2(S6(o,void 0,D));}else S=D3(y,a,m,b,E,o);m>=g&&(h+=B3(a,g,m)+S,g=m+y.length);}return h+B3(a,g);}];},!!S0(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e;},"7"!=="".replace(e,"$<a>");})||!F3||T3);var _3={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter(function(e){return!!ed.isText(e)||!!n.isInline(e);})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===n3(r),colSpan:o,rowSpan:i,width:a,children:t};}},P3={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(e){return"table-cell"===QO.getNodeType(e);})};}},j3={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e),o="auto";return"100%"===function(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");"width"===u[0].trim()&&(n=u[1].trim());}}return n;}(r)&&(o="100%"),"100%"===r.attr("width")&&(o="100%"),{type:"table",width:o,children:t.filter(function(e){return"table-row"===QO.getNodeType(e);})};}},N3=function(){function e(){this.title=HP("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null;}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!QO.getSelectedElems(e).some(function(t){var n=QO.getNodeType(t);return"pre"===n||"table"===n||"list-item"===n||!!e.isVoid(t);});},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var n=Mp('<div class="w-e-panel-content-table"></div>'),r=Mp("<span>0 &times; 0</span>"),o=Mp("<table></table>"),i=0;i<10;i++){for(var a=Mp("<tr></tr>"),u=0;u<10;u++){var s=Mp("<td></td>");s.attr("data-x",u.toString()),s.attr("data-y",i.toString()),a.append(s),s.on("mouseenter",function(e){var t=e.target;if(null!=t){var n=Mp(t).dataset(),i=n.x,a=n.y;r[0].innerHTML=i+1+" &times; "+(a+1),o.children().each(function(e){Mp(e).children().each(function(e){var t=Mp(e),n=t.dataset(),r=n.x,o=n.y;r<=i&&o<=a?t.addClass("active"):t.removeClass("active");});});}}),s.on("click",function(n){n.preventDefault();var r=n.target;if(null!=r){var o=Mp(r).dataset(),i=o.x,a=o.y;t.insertTable(e,a+1,i+1);}});}o.append(a);}return n.append(o),n.append(r),this.$content=n,n[0];},e.prototype.insertTable=function(e,t,n){var r=parseInt(t,10),o=parseInt(n,10);if(r&&o&&!(r<=0||o<=0)){QO.isSelectedEmptyParagraph(e)&&md.removeNodes(e,{mode:"highest"});var i=function(e,t){for(var n=[],r=0;r<e;r++){for(var o=[],i=0;i<t;i++){var a={type:"table-cell",children:[{text:""}]};0===r&&(a.isHeader=!0),o.push(a);}n.push({type:"table-row",children:o});}return{type:"table",width:"auto",children:n};}(r,o);md.insertNodes(e,i,{mode:"highest"});}},e;}(),I3=function(){function e(){this.title=HP("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return null==e.selection||null==QO.getSelectedNodeByType(e,"table");},e.prototype.exec=function(e,t){this.isDisabled(e)||md.removeNodes(e,{mode:"highest"});},e;}(),L3=function(){function e(){this.title=HP("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table");},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Y4(Bf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell");},universal:!0}),1),r=Y4(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(0!==u){for(var s={type:"table-row",children:[]},l=0;l<u;l++)s.children.push({type:"table-cell",children:[{text:""}]});var c=Mf.parent(i),f=Mf.next(c);md.insertNodes(e,s,{at:f});}}},e;}(),R3=function(){function e(){this.title=HP("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table-row");},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Y4(Bf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-row");},universal:!0}),1),r=Y4(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o);((null==a?void 0:a.children.length)||0)<=1?md.removeNodes(e,{mode:"highest"}):md.removeNodes(e,{at:i});}},e;}(),M3={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},z3=j1("span").classList,$3=z3&&z3.constructor&&z3.constructor.prototype,H3=$3===Object.prototype?void 0:$3,V3=o6.forEach,U3=function(e,t){var n=[].forEach;return!!n&&S0(function(){n.call(null,function(){throw 1;},1);});}(),W3=U3?[].forEach:function(e){return V3(this,e,arguments.length>1?arguments[1]:void 0);},G3=function(e){if(e&&e.forEach!==W3)try{U1(e,"forEach",W3);}catch(t){e.forEach=W3;}};for(var q3 in M3)M3[q3]&&G3(D0[q3]&&D0[q3].prototype);G3(H3);var K3=function(){function e(){this.title=HP("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table");},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Y4(Bf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell");},universal:!0}),1),r=Y4(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o);if(null!=a){var u=QO.getParentNode(e,a);null!=u&&(u.children||[]).forEach(function(t,n){Sf.isElement(t)&&(t.children||[]).forEach(function(t){var r=QO.findPath(e,t);if(r.length===i.length&&v0(r.slice(-1),i.slice(-1))){var o={type:"table-cell",children:[{text:""}]};0===n&&s6(u)&&(o.isHeader=!0),md.insertNodes(e,o,{at:r});}});});}}},e;}(),Y3=function(){function e(){this.title=HP("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table-cell");},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Y4(Bf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell");},universal:!0}),1),r=Y4(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(!a||u<=1)md.removeNodes(e,{mode:"highest"});else{var s=QO.getParentNode(e,a);null!=s&&(s.children||[]).forEach(function(t){Sf.isElement(t)&&(t.children||[]).forEach(function(t){var n=QO.findPath(e,t);n.length===i.length&&v0(n.slice(-1),i.slice(-1))&&md.removeNodes(e,{at:n});});});}}},e;}(),X3=function(){function e(){this.title=HP("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){var t=QO.getSelectedNodeByType(e,"table");return null!=t&&s6(t);},e.prototype.isActive=function(e){return!!this.getValue(e);},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table");},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=!t,r=QO.getSelectedNodeByType(e,"table");null!=r&&u6(r).forEach(function(t){return md.setNodes(e,{isHeader:n},{at:QO.findPath(e,t)});});}},e;}(),Z3=function(){function e(){this.title=HP("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){var t=QO.getSelectedNodeByType(e,"table");return null!=t&&"100%"===t.width;},e.prototype.isActive=function(e){return!!this.getValue(e);},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table");},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n={width:t?"auto":"100%"};md.setNodes(e,n,{mode:"highest"});}},e;}(),J3={renderElems:[f3,d3,p3],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(void 0===n?"auto":n)+';"><tbody>'+t+"</tbody></table>";}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>";}},{type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,o=void 0===r?1:r,i=n.rowSpan,a=void 0===i?1:i,u=n.isHeader,s=void 0!==u&&u,l=n.width,c=s?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(void 0===l?"auto":l)+'">'+t+"</"+c+">";}}],preParseHtml:[h3],parseElemsHtml:[_3,P3,j3],menus:[{key:"insertTable",factory:function(){return new N3();}},{key:"deleteTable",factory:function(){return new I3();}},{key:"insertTableRow",factory:function(){return new L3();}},{key:"deleteTableRow",factory:function(){return new R3();}},{key:"insertTableCol",factory:function(){return new K3();}},{key:"deleteTableCol",factory:function(){return new Y3();}},{key:"tableHeader",factory:function(){return new X3();}},{key:"tableFullWidth",factory:function(){return new Z3();}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,i=e.insertData,a=e.handleTab,u=e.selectAll,s=e;return s.insertBreak=function(){null==QO.getSelectedNodeByType(s,"table")?t():s.insertText("\n");},s.deleteBackward=function(e){if(!X4(s)){var t=s.selection;if(t){var r=Bf.before(s,t);if(r){var o=Z4(s,r),i=Z4(s,t);if(o&&!i)return;}}n(e);}},s.handleTab=function(){var t;if(QO.getSelectedNodeByType(s,"table")){var n=Bf.above(e);QO.checkNodeType(n[0],"table-cell")&&md.select(e,n[1]);var r=Bf.next(e);if(r)r[0]&&r[0].text&&(r=null!==(t=Bf.above(e,{at:r[1]}))&&void 0!==t?t:r),md.select(e,r[1]);else{var o=s.children||[],i=o.length;if(QO.checkNodeType(o[i-1],"table")){var u=QO.genEmptyParagraph();md.insertNodes(s,u,{at:[i]}),s.handleTab();}}}else a();},s.deleteForward=function(e){X4(s)||r(e);},s.normalizeNode=function(e){var t=Y4(e,2),n=t[0],r=t[1];if("table"!==QO.getNodeType(n))return o([n,r]);if(QO.isLastNode(s,n)){var i=QO.genEmptyParagraph();md.insertNodes(s,i,{at:[r[0]+1]});}},s.insertData=function(e){if(null!=QO.getSelectedNodeByType(s,"table")){var t=e.getData("text/plain");"\n"===t||/<img[^>]+>/.test(e.getData("text/html"))?i(e):Bf.insertText(s,t);}else i(e);},s.selectAll=function(){var e=s.selection;if(null!=e){var t=QO.getSelectedNodeByType(s,"table-cell");if(null!=t){var n=e.anchor,r=e.focus;if(Mf.equals(n.path.slice(0,3),r.path.slice(0,3))){if(0!==Nf.string(t).length){var o=QO.findPath(s,t),i={anchor:Bf.start(s,o),focus:Bf.end(s,o)};s.select(i);}else u();}else u();}else u();}else u();},s;}};MP("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),MP("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",width:"宽度",height:"高度"}});/*! *****************************************************************************
101664
+ Copyright (c) Microsoft Corporation.
101665
+
101666
+ Permission to use, copy, modify, and/or distribute this software for any
101667
+ purpose with or without fee is hereby granted.
101668
+
101669
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101670
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101671
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101672
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101673
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101674
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101675
+ PERFORMANCE OF THIS SOFTWARE.
101676
+ ***************************************************************************** */var Q3=function(){return Q3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e;},Q3.apply(this,arguments);};function e5(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e));}catch(e){i(e);}}function u(e){try{s(r.throw(e));}catch(e){i(e);}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t);})).then(a,u);}s((r=r.apply(e,t||[])).next());});}function t5(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1];},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this;}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue;}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break;}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break;}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break;}o[2]&&a.ops.pop(),a.trys.pop();continue;}i=t.call(e,a);}catch(e){i=[6,e],r=0;}finally{n=o=0;}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0};}([i,u]);};}}function n5(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return a;}function r5(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this;},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n});},t);}(r,o,(t=e[n](t)).done,t.value);});};}}var o5="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function i5(e){var t={exports:{}};return e(t,t.exports),t.exports;}var a5,u5,s5=function(e){return e&&e.Math==Math&&e;},l5=s5("object"==typeof globalThis&&globalThis)||s5("object"==typeof window&&window)||s5("object"==typeof self&&self)||s5("object"==typeof o5&&o5)||function(){return this;}()||Function("return this")(),c5=function(e){try{return!!e();}catch(e){return!0;}},f5=!c5(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),d5=Function.prototype.call,p5=d5.bind?d5.bind(d5):function(){return d5.apply(d5,arguments);},h5={}.propertyIsEnumerable,g5=Object.getOwnPropertyDescriptor,v5={f:g5&&!h5.call({1:2},1)?function(e){var t=g5(this,e);return!!t&&t.enumerable;}:h5},y5=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},m5=Function.prototype,b5=m5.bind,w5=m5.call,E5=b5&&b5.bind(w5),D5=b5?function(e){return e&&E5(w5,e);}:function(e){return e&&function(){return w5.apply(e,arguments);};},S5=D5({}.toString),x5=D5("".slice),C5=function(e){return x5(S5(e),8,-1);},A5=l5.Object,O5=D5("".split),k5=c5(function(){return!A5("z").propertyIsEnumerable(0);})?function(e){return"String"==C5(e)?O5(e,""):A5(e);}:A5,B5=l5.TypeError,F5=function(e){if(null==e)throw B5("Can't call method on "+e);return e;},T5=function(e){return k5(F5(e));},_5=function(e){return"function"==typeof e;},P5=function(e){return"object"==typeof e?null!==e:_5(e);},j5=function(e){return _5(e)?e:void 0;},N5=function(e,t){return arguments.length<2?j5(l5[e]):l5[e]&&l5[e][t];},I5=D5({}.isPrototypeOf),L5=N5("navigator","userAgent")||"",R5=l5.process,M5=l5.Deno,z5=R5&&R5.versions||M5&&M5.version,$5=z5&&z5.v8;$5&&(u5=(a5=$5.split("."))[0]>0&&a5[0]<4?1:+(a5[0]+a5[1])),!u5&&L5&&(!(a5=L5.match(/Edge\/(\d+)/))||a5[1]>=74)&&(a5=L5.match(/Chrome\/(\d+)/))&&(u5=+a5[1]);var H5=u5,V5=!!Object.getOwnPropertySymbols&&!c5(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&H5&&H5<41;}),U5=V5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,W5=l5.Object,G5=U5?function(e){return"symbol"==typeof e;}:function(e){var t=N5("Symbol");return _5(t)&&I5(t.prototype,W5(e));},q5=l5.String,K5=function(e){try{return q5(e);}catch(e){return"Object";}},Y5=l5.TypeError,X5=function(e){if(_5(e))return e;throw Y5(K5(e)+" is not a function");},Z5=function(e,t){var n=e[t];return null==n?void 0:X5(n);},J5=l5.TypeError,Q5=Object.defineProperty,e8=function(e,t){try{Q5(l5,e,{value:t,configurable:!0,writable:!0});}catch(n){l5[e]=t;}return t;},t8=l5["__core-js_shared__"]||e8("__core-js_shared__",{}),n8=i5(function(e){(e.exports=function(e,t){return t8[e]||(t8[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),r8=l5.Object,o8=function(e){return r8(F5(e));},i8=D5({}.hasOwnProperty),a8=Object.hasOwn||function(e,t){return i8(o8(e),t);},u8=0,s8=Math.random(),l8=D5(1..toString),c8=function(e){return"Symbol("+(void 0===e?"":e)+")_"+l8(++u8+s8,36);},f8=n8("wks"),d8=l5.Symbol,p8=d8&&d8.for,h8=U5?d8:d8&&d8.withoutSetter||c8,g8=function(e){if(!a8(f8,e)||!V5&&"string"!=typeof f8[e]){var t="Symbol."+e;V5&&a8(d8,e)?f8[e]=d8[e]:f8[e]=U5&&p8?p8(t):h8(t);}return f8[e];},v8=l5.TypeError,y8=g8("toPrimitive"),m8=function(e){var t=function(e,t){if(!P5(e)||G5(e))return e;var n,r=Z5(e,y8);if(r){if(void 0===t&&(t="default"),n=p5(r,e,t),!P5(n)||G5(n))return n;throw v8("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&_5(n=e.toString)&&!P5(r=p5(n,e)))return r;if(_5(n=e.valueOf)&&!P5(r=p5(n,e)))return r;if("string"!==t&&_5(n=e.toString)&&!P5(r=p5(n,e)))return r;throw J5("Can't convert object to primitive value");}(e,t);}(e,"string");return G5(t)?t:t+"";},b8=l5.document,w8=P5(b8)&&P5(b8.createElement),E8=function(e){return w8?b8.createElement(e):{};},D8=!f5&&!c5(function(){return 7!=Object.defineProperty(E8("div"),"a",{get:function(){return 7;}}).a;}),S8=Object.getOwnPropertyDescriptor,x8={f:f5?S8:function(e,t){if(e=T5(e),t=m8(t),D8)try{return S8(e,t);}catch(e){}if(a8(e,t))return y5(!p5(v5.f,e,t),e[t]);}},C8=l5.String,A8=l5.TypeError,O8=function(e){if(P5(e))return e;throw A8(C8(e)+" is not an object");},k8=l5.TypeError,B8=Object.defineProperty,F8={f:f5?B8:function(e,t,n){if(O8(e),t=m8(t),O8(n),D8)try{return B8(e,t,n);}catch(e){}if("get"in n||"set"in n)throw k8("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},T8=f5?function(e,t,n){return F8.f(e,t,y5(1,n));}:function(e,t,n){return e[t]=n,e;},_8=D5(Function.toString);_5(t8.inspectSource)||(t8.inspectSource=function(e){return _8(e);});var P8,j8,N8,I8=t8.inspectSource,L8=l5.WeakMap,R8=_5(L8)&&/native code/.test(I8(L8)),M8=n8("keys"),z8=function(e){return M8[e]||(M8[e]=c8(e));},$8={},H8=l5.TypeError,V8=l5.WeakMap;if(R8||t8.state){var U8=t8.state||(t8.state=new V8()),W8=D5(U8.get),G8=D5(U8.has),q8=D5(U8.set);P8=function(e,t){if(G8(U8,e))throw new H8("Object already initialized");return t.facade=e,q8(U8,e,t),t;},j8=function(e){return W8(U8,e)||{};},N8=function(e){return G8(U8,e);};}else{var K8=z8("state");$8[K8]=!0,P8=function(e,t){if(a8(e,K8))throw new H8("Object already initialized");return t.facade=e,T8(e,K8,t),t;},j8=function(e){return a8(e,K8)?e[K8]:{};},N8=function(e){return a8(e,K8);};}var Y8={set:P8,get:j8,has:N8,enforce:function(e){return N8(e)?j8(e):P8(e,{});},getterFor:function(e){return function(t){var n;if(!P5(t)||(n=j8(t)).type!==e)throw H8("Incompatible receiver, "+e+" required");return n;};}},X8=Function.prototype,Z8=f5&&Object.getOwnPropertyDescriptor,J8=a8(X8,"name"),Q8={EXISTS:J8,PROPER:J8&&"something"===function(){}.name,CONFIGURABLE:J8&&(!f5||f5&&Z8(X8,"name").configurable)},e7=i5(function(e){var t=Q8.CONFIGURABLE,n=Y8.get,r=Y8.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;_5(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a8(i,"name")||t&&i.name!==f)&&T8(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==l5?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:T8(e,n,i)):l?e[n]=i:e8(n,i);})(Function.prototype,"toString",function(){return _5(this)&&n(this).source||I8(this);});}),t7=Math.ceil,n7=Math.floor,r7=function(e){var t=+e;return t!=t||0===t?0:(t>0?n7:t7)(t);},o7=Math.max,i7=Math.min,a7=function(e,t){var n=r7(e);return n<0?o7(n+t,0):i7(n,t);},u7=Math.min,s7=function(e){return e>0?u7(r7(e),9007199254740991):0;},l7=function(e){return s7(e.length);},c7=function(e){return function(t,n,r){var o,i=T5(t),a=l7(i),u=a7(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},f7={includes:c7(!0),indexOf:c7(!1)},d7=f7.indexOf,p7=D5([].push),h7=function(e,t){var n,r=T5(e),o=0,i=[];for(n in r)!a8($8,n)&&a8(r,n)&&p7(i,n);for(;t.length>o;)a8(r,n=t[o++])&&(~d7(i,n)||p7(i,n));return i;},g7=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],v7=g7.concat("length","prototype"),y7={f:Object.getOwnPropertyNames||function(e){return h7(e,v7);}},m7={f:Object.getOwnPropertySymbols},b7=D5([].concat),w7=N5("Reflect","ownKeys")||function(e){var t=y7.f(O8(e)),n=m7.f;return n?b7(t,n(e)):t;},E7=function(e,t){for(var n=w7(t),r=F8.f,o=x8.f,i=0;i<n.length;i++){var a=n[i];a8(e,a)||r(e,a,o(t,a));}},D7=/#|\.prototype\./,S7=function(e,t){var n=C7[x7(e)];return n==O7||n!=A7&&(_5(t)?c5(t):!!t);},x7=S7.normalize=function(e){return String(e).replace(D7,".").toLowerCase();},C7=S7.data={},A7=S7.NATIVE="N",O7=S7.POLYFILL="P",k7=S7,B7=x8.f,F7=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?l5:l?l5[u]||e8(u,{}):(l5[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=B7(n,r))&&a.value:n[r],!k7(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;E7(i,o);}(e.sham||o&&o.sham)&&T8(i,"sham",!0),e7(n,r,i,e);}},T7={};T7[g8("toStringTag")]="z";var _7="[object z]"===String(T7),P7=g8("toStringTag"),j7=l5.Object,N7="Arguments"==C5(function(){return arguments;}()),I7=_7?C5:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=j7(e),P7))?n:N7?C5(t):"Object"==(r=C5(t))&&_5(t.callee)?"Arguments":r;},L7=l5.String,R7=function(e){if("Symbol"===I7(e))throw TypeError("Cannot convert a Symbol value to a string");return L7(e);},M7="\t\n\v\f\r                 \u2028\u2029\ufeff",z7=D5("".replace),$7="["+M7+"]",H7=RegExp("^"+$7+$7+"*"),V7=RegExp($7+$7+"*$"),U7=function(e){return function(t){var n=R7(F5(t));return 1&e&&(n=z7(n,H7,"")),2&e&&(n=z7(n,V7,"")),n;};},W7={start:U7(1),end:U7(2),trim:U7(3)},G7=Q8.PROPER,q7=W7.trim;function K7(e){return e.length?e[0].tagName.toLowerCase():"";}function Y7(e,t,n){void 0===t&&(t="auto"),void 0===n&&(n="auto");var r=Mp(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML;}F7({target:"String",proto:!0,forced:("trim",c5(function(){return!!M7.trim()||"​…᠎"!=="​…᠎".trim()||G7&&"trim"!==M7.trim.name;}))},{trim:function(){return q7(this);}}),F7({global:!0},{globalThis:l5}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),Vp&&(Mp.fn.attr=Vp),Gp&&(Mp.fn.val=Gp),rh&&(Mp.fn.html=rh),sh&&(Mp.fn.parent=sh),Hp&&(Mp.fn.hasClass=Hp),ph&&(Mp.fn.empty=ph);var X7,Z7={type:"video",renderElem:function(e,t,n){var r,o=e,i=o.src,a=void 0===i?"":i,u=o.poster,s=void 0===u?"":u,l=o.width,c=void 0===l?"auto":l,f=o.height,d=void 0===f?"auto":f,p=QO.isNodeSelected(n,e);if(0===a.trim().indexOf("<iframe ")){r=Pg("div",{className:"w-e-textarea-video-container","data-selected":p?"true":"",innerHTML:Y7(a,c,d)});}else{var h=Pg("video",{poster:s,controls:!0},Pg("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==c&&(h.data.width=c),"auto"!==d&&(h.data.height=d),r=Pg("div",{className:"w-e-textarea-video-container","data-selected":p?"true":""},h);}return pg("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault();}}},r);}},J7={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,o=void 0===r?"":r,i=n.poster,a=void 0===i?"":i,u=n.width,s=void 0===u?"auto":u,l=n.height,c=void 0===l?"auto":l,f='<div data-w-e-type="video" data-w-e-is-void>\n';return 0===o.trim().indexOf("<iframe ")?f+=Y7(o,s,c):f+='<video poster="'+a+'" controls="true" width="'+s+'" height="'+c+'"><source src="'+o+'" type="video/mp4"/></video>',f+"\n</div>";}},Q7=Object.keys||function(e){return h7(e,g7);},e9=f5?Object.defineProperties:function(e,t){O8(e);for(var n,r=T5(t),o=Q7(t),i=o.length,a=0;i>a;)F8.f(e,n=o[a++],r[n]);return e;},t9=N5("document","documentElement"),n9=z8("IE_PROTO"),r9=function(){},o9=function(e){return"<script>"+e+"<\/script>";},i9=function(e){e.write(o9("")),e.close();var t=e.parentWindow.Object;return e=null,t;},a9=function(){try{X7=new ActiveXObject("htmlfile");}catch(e){}var e,t;a9="undefined"!=typeof document?document.domain&&X7?i9(X7):((t=E8("iframe")).style.display="none",t9.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(o9("document.F=Object")),e.close(),e.F):i9(X7);for(var n=g7.length;n--;)delete a9.prototype[g7[n]];return a9();};$8[n9]=!0;var u9=Object.create||function(e,t){var n;return null!==e?(r9.prototype=O8(e),n=new r9(),r9.prototype=null,n[n9]=e):n=a9(),void 0===t?n:e9(n,t);},s9=g8("unscopables"),l9=Array.prototype;null==l9[s9]&&F8.f(l9,s9,{configurable:!0,value:u9(null)});var c9=function(e){l9[s9][e]=!0;},f9=f7.includes;F7({target:"Array",proto:!0},{includes:function(e){return f9(this,e,arguments.length>1?arguments[1]:void 0);}}),c9("includes");var d9={selector:"iframe,video,p",preParseHtml:function(e){var t=Mp(e),n=t;if("p"===K7(t)){var r=t.children();if(1===r.length){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=Mp(o));}}var a=K7(n);if("iframe"!==a&&"video"!==a)return n[0];if("video"===n.parent().attr("data-w-e-type"))return n[0];var u=Mp('<div data-w-e-type="video" data-w-e-is-void></div>');return u.append(n),u[0];}},p9=D5(D5.bind),h9=function(e,t){return X5(e),void 0===t?e:p9?p9(e,t):function(){return e.apply(t,arguments);};},g9=Array.isArray||function(e){return"Array"==C5(e);},v9=function(){},y9=[],m9=N5("Reflect","construct"),b9=/^\s*(?:class|function)\b/,w9=D5(b9.exec),E9=!b9.exec(v9),D9=function(e){if(!_5(e))return!1;try{return m9(v9,y9,e),!0;}catch(e){return!1;}},S9=!m9||c5(function(){var e;return D9(D9.call)||!D9(Object)||!D9(function(){e=!0;})||e;})?function(e){if(!_5(e))return!1;switch(I7(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return E9||!!w9(b9,I8(e));}:D9,x9=g8("species"),C9=l5.Array,A9=function(e,t){return new(function(e){var t;return g9(e)&&(t=e.constructor,(S9(t)&&(t===C9||g9(t.prototype))||P5(t)&&null===(t=t[x9]))&&(t=void 0)),void 0===t?C9:t;}(e))(0===t?0:t);},O9=D5([].push),k9=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=o8(s),g=k5(h),v=h9(l,c),y=l7(g),m=0,b=f||A9,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:O9(w,d);}else switch(e){case 4:return!1;case 7:O9(w,d);}return i?-1:r||o?o:w;};},B9={forEach:k9(0),map:k9(1),filter:k9(2),some:k9(3),every:k9(4),find:k9(5),findIndex:k9(6),filterReject:k9(7)},F9=B9.find,T9=!0;"find"in[]&&Array(1).find(function(){T9=!1;}),F7({target:"Array",proto:!0,forced:T9},{find:function(e){return F9(this,e,arguments.length>1?arguments[1]:void 0);}}),c9("find");var _9=_7?{}.toString:function(){return"[object "+I7(this)+"]";};function P9(e,t,n,r){return void 0===t&&(t=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]};}_7||e7(Object.prototype,"toString",_9,{unsafe:!0});var j9,N9,I9={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=Mp(e),o="",i="",a="auto",u="auto",s=r.find("iframe");if(s.length>0)return a=s.attr("width")||"auto",u=s.attr("height")||"auto",P9(o=s[0].outerHTML,i,a,u);var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),a=l.attr("width")||"auto",u=l.attr("height")||"auto",P9(o,i=l.attr("poster")||"",a,u);}},L9=function(){var e=O8(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},R9=l5.RegExp,M9=c5(function(){var e=R9("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),z9=M9||c5(function(){return!R9("a","y").sticky;}),$9={BROKEN_CARET:M9||c5(function(){var e=R9("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),MISSED_STICKY:z9,UNSUPPORTED_Y:M9},H9=l5.RegExp,V9=c5(function(){var e=H9(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),U9=l5.RegExp,W9=c5(function(){var e=U9("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),G9=Y8.get,q9=n8("native-string-replace",String.prototype.replace),K9=RegExp.prototype.exec,Y9=K9,X9=D5("".charAt),Z9=D5("".indexOf),J9=D5("".replace),Q9=D5("".slice),eee=(N9=/b*/g,p5(K9,j9=/a/,"a"),p5(K9,N9,"a"),0!==j9.lastIndex||0!==N9.lastIndex),tee=$9.BROKEN_CARET,nee=void 0!==/()??/.exec("")[1];(eee||nee||tee||V9||W9)&&(Y9=function(e){var t,n,r,o,i,a,u,s=this,l=G9(s),c=R7(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=p5(Y9,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=tee&&s.sticky,h=p5(L9,s),g=s.source,v=0,y=c;if(p&&(h=J9(h,"y",""),-1===Z9(h,"g")&&(h+="g"),y=Q9(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==X9(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),nee&&(n=new RegExp("^"+g+"$(?!\\s)",h)),eee&&(r=s.lastIndex),o=p5(K9,p?n:s,y),p?o?(o.input=Q9(o.input,v),o[0]=Q9(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:eee&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),nee&&o&&o.length>1&&p5(q9,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=u9(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var ree=Y9;F7({target:"RegExp",proto:!0,forced:/./.exec!==ree},{exec:ree});var oee=Function.prototype,iee=oee.apply,aee=oee.bind,uee=oee.call,see="object"==typeof Reflect&&Reflect.apply||(aee?uee.bind(iee):function(){return uee.apply(iee,arguments);}),lee=(g8("species"),RegExp.prototype),cee=D5("".charAt),fee=D5("".charCodeAt),dee=D5("".slice),pee=function(e){return function(t,n){var r,o,i=R7(F5(t)),a=r7(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=fee(i,a))<55296||r>56319||a+1===u||(o=fee(i,a+1))<56320||o>57343?e?cee(i,a):r:e?dee(i,a,a+2):o-56320+(r-55296<<10)+65536;};},hee={codeAt:pee(!1),charAt:pee(!0)},gee=hee.charAt,vee=function(e,t,n){return t+(n?gee(e,t).length:1);},yee=Math.floor,mee=D5("".charAt),bee=D5("".replace),wee=D5("".slice),Eee=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Dee=/\$([$&'`]|\d{1,2})/g,See=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Dee;return void 0!==o&&(o=o8(o),s=Eee),bee(i,s,function(i,s){var l;switch(mee(s,0)){case"$":return"$";case"&":return e;case"`":return wee(t,0,n);case"'":return wee(t,a);case"<":l=o[wee(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=yee(c/10);return 0===f?i:f<=u?void 0===r[f-1]?mee(s,1):r[f-1]+mee(s,1):i;}l=r[c-1];}return void 0===l?"":l;});},xee=l5.TypeError,Cee=function(e,t){var n=e.exec;if(_5(n)){var r=p5(n,e,t);return null!==r&&O8(r),r;}if("RegExp"===C5(e))return p5(ree,e,t);throw xee("RegExp#exec called on incompatible receiver");},Aee=g8("replace"),Oee=Math.max,kee=Math.min,Bee=D5([].concat),Fee=D5([].push),Tee=D5("".indexOf),_ee=D5("".slice),Pee="$0"==="a".replace(/./,"$0"),jee=!!/./[Aee]&&""===/./[Aee]("a","$0");function Nee(e){return void 0===e&&(e="r"),e+"-"+Rh();}!function(e,t,n,r){var o=g8(e),i=!c5(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!c5(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null;},t[o](""),!e;});if(!i||!a||n){var u=D5(/./[o]),s=function(e,t,n){var r=jee?"$":"$0";return[function(e,n){var r=F5(this),o=null==e?void 0:Z5(e,Aee);return o?p5(o,e,r,n):p5(t,R7(r),e,n);},function(e,o){var i=O8(this),a=R7(e);if("string"==typeof o&&-1===Tee(o,r)&&-1===Tee(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value;}var s=_5(o);s||(o=R7(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0;}for(var f=[];;){var d=Cee(i,a);if(null===d)break;if(Fee(f,d),!l)break;""===R7(d[0])&&(i.lastIndex=vee(a,s7(i.lastIndex),c));}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=R7((d=f[v])[0]),m=Oee(kee(r7(d.index),a.length),0),b=[],w=1;w<d.length;w++)Fee(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=Bee([y],b,m,a);void 0!==E&&Fee(D,E);var S=R7(see(o,void 0,D));}else S=See(y,a,m,b,E,o);m>=g&&(h+=_ee(a,g,m)+S,g=m+y.length);}return h+_ee(a,g);}];}(0,""[e],function(e,t,n,r,o){var a=D5(e),s=t.exec;return s===ree||s===lee.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});e7(String.prototype,e,s[0]),e7(lee,o,s[1]);}}("replace",0,!!c5(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e;},"7"!=="".replace(e,"$<a>");})||!Pee||jee);var Iee=l5.Promise,Lee=function(e,t,n){for(var r in t)e7(e,r,t[r],n);return e;},Ree=l5.String,Mee=l5.TypeError,zee=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=D5(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return O8(n),function(e){if("object"==typeof e||_5(e))return e;throw Mee("Can't set "+Ree(e)+" as a prototype");}(r),t?e(n,r):n.__proto__=r,n;};}():void 0),$ee=F8.f,Hee=g8("toStringTag"),Vee=function(e,t,n){e&&!a8(e=n?e:e.prototype,Hee)&&$ee(e,Hee,{configurable:!0,value:t});},Uee=g8("species"),Wee=l5.TypeError,Gee=function(e,t){if(I5(t,e))return e;throw Wee("Incorrect invocation");},qee={},Kee=g8("iterator"),Yee=Array.prototype,Xee=g8("iterator"),Zee=function(e){if(null!=e)return Z5(e,Xee)||Z5(e,"@@iterator")||qee[I7(e)];},Jee=l5.TypeError,Qee=function(e,t,n){var r,o;O8(e);try{if(!(r=Z5(e,"return"))){if("throw"===t)throw n;return n;}r=p5(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return O8(r),n;},ete=l5.TypeError,tte=function(e,t){this.stopped=e,this.result=t;},nte=tte.prototype,rte=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),g=h9(t,f),v=function(e){return r&&Qee(r,"normal",e),new tte(!0,e);},y=function(e){return d?(O8(e),h?g(e[0],e[1],v):g(e[0],e[1])):h?g(e,v):g(e);};if(p)r=e;else{if(!(o=Zee(e)))throw ete(K5(e)+" is not iterable");if(void 0!==(c=o)&&(qee.Array===c||Yee[Kee]===c)){for(i=0,a=l7(e);a>i;i++)if((u=y(e[i]))&&I5(nte,u))return u;return new tte(!1);}r=function(e,t){var n=arguments.length<2?Zee(e):t;if(X5(n))return O8(p5(n,e));throw Jee(K5(e)+" is not iterable");}(e,o);}for(s=r.next;!(l=p5(s,r)).done;){try{u=y(l.value);}catch(e){Qee(r,"throw",e);}if("object"==typeof u&&u&&I5(nte,u))return u;}return new tte(!1);},ote=g8("iterator"),ite=!1;try{var ate=0,ute={next:function(){return{done:!!ate++};},return:function(){ite=!0;}};ute[ote]=function(){return this;},Array.from(ute,function(){throw 2;});}catch(Ml){}var ste,lte,cte,fte,dte=function(e,t){if(!t&&!ite)return!1;var n=!1;try{var r={};r[ote]=function(){return{next:function(){return{done:n=!0};}};},e(r);}catch(e){}return n;},pte=l5.TypeError,hte=g8("species"),gte=D5([].slice),vte=/(?:ipad|iphone|ipod).*applewebkit/i.test(L5),yte="process"==C5(l5.process),mte=l5.setImmediate,bte=l5.clearImmediate,wte=l5.process,Ete=l5.Dispatch,Dte=l5.Function,Ste=l5.MessageChannel,xte=l5.String,Cte=0,Ate={};try{ste=l5.location;}catch(Ml){}var Ote=function(e){if(a8(Ate,e)){var t=Ate[e];delete Ate[e],t();}},kte=function(e){return function(){Ote(e);};},Bte=function(e){Ote(e.data);},Fte=function(e){l5.postMessage(xte(e),ste.protocol+"//"+ste.host);};mte&&bte||(mte=function(e){var t=gte(arguments,1);return Ate[++Cte]=function(){see(_5(e)?e:Dte(e),void 0,t);},lte(Cte),Cte;},bte=function(e){delete Ate[e];},yte?lte=function(e){wte.nextTick(kte(e));}:Ete&&Ete.now?lte=function(e){Ete.now(kte(e));}:Ste&&!vte?(fte=(cte=new Ste()).port2,cte.port1.onmessage=Bte,lte=h9(fte.postMessage,fte)):l5.addEventListener&&_5(l5.postMessage)&&!l5.importScripts&&ste&&"file:"!==ste.protocol&&!c5(Fte)?(lte=Fte,l5.addEventListener("message",Bte,!1)):lte="onreadystatechange"in E8("script")?function(e){t9.appendChild(E8("script")).onreadystatechange=function(){t9.removeChild(this),Ote(e);};}:function(e){setTimeout(kte(e),0);});var Tte,_te,Pte,jte,Nte,Ite,Lte,Rte,Mte={set:mte,clear:bte},zte=/ipad|iphone|ipod/i.test(L5)&&void 0!==l5.Pebble,$te=/web0s(?!.*chrome)/i.test(L5),Hte=x8.f,Vte=Mte.set,Ute=l5.MutationObserver||l5.WebKitMutationObserver,Wte=l5.document,Gte=l5.process,qte=l5.Promise,Kte=Hte(l5,"queueMicrotask"),Yte=Kte&&Kte.value;Yte||(Tte=function(){var e,t;for(yte&&(e=Gte.domain)&&e.exit();_te;){t=_te.fn,_te=_te.next;try{t();}catch(e){throw _te?jte():Pte=void 0,e;}}Pte=void 0,e&&e.enter();},vte||yte||$te||!Ute||!Wte?!zte&&qte&&qte.resolve?((Lte=qte.resolve(void 0)).constructor=qte,Rte=h9(Lte.then,Lte),jte=function(){Rte(Tte);}):yte?jte=function(){Gte.nextTick(Tte);}:(Vte=h9(Vte,l5),jte=function(){Vte(Tte);}):(Nte=!0,Ite=Wte.createTextNode(""),new Ute(Tte).observe(Ite,{characterData:!0}),jte=function(){Ite.data=Nte=!Nte;}));var Xte,Zte,Jte,Qte,ene=Yte||function(e){var t={fn:e,next:void 0};Pte&&(Pte.next=t),_te||(_te=t,jte()),Pte=t;},tne=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r;}),this.resolve=X5(t),this.reject=X5(n);},nne={f:function(e){return new tne(e);}},rne=function(e){try{return{error:!1,value:e()};}catch(e){return{error:!0,value:e};}},one="object"==typeof window,ine=Mte.set,ane=g8("species"),une="Promise",sne=Y8.getterFor(une),lne=Y8.set,cne=Y8.getterFor(une),fne=Iee&&Iee.prototype,dne=Iee,pne=fne,hne=l5.TypeError,gne=l5.document,vne=l5.process,yne=nne.f,mne=yne,bne=!!(gne&&gne.createEvent&&l5.dispatchEvent),wne=_5(l5.PromiseRejectionEvent),Ene=!1,Dne=k7(une,function(){var e=I8(dne),t=e!==String(dne);if(!t&&66===H5)return!0;if(H5>=51&&/native code/.test(e))return!1;var n=new dne(function(e){e(1);}),r=function(e){e(function(){},function(){});};return(n.constructor={})[ane]=r,!(Ene=n.then(function(){})instanceof r)||!t&&one&&!wne;}),Sne=Dne||!dte(function(e){dne.all(e).catch(function(){});}),xne=function(e){var t;return!(!P5(e)||!_5(t=e.then))&&t;},Cne=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;ene(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&Bne(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(hne("Promise-chain cycle")):(u=xne(a))?p5(u,a,f,d):f(a)):d(r);}catch(e){p&&!s&&p.exit(),d(e);}}e.reactions=[],e.notified=!1,t&&!e.rejection&&One(e);});}},Ane=function(e,t,n){var r,o;bne?((r=gne.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l5.dispatchEvent(r)):r={promise:t,reason:n},!wne&&(o=l5["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=l5.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t));}("Unhandled promise rejection",n);},One=function(e){p5(ine,l5,function(){var t,n=e.facade,r=e.value;if(kne(e)&&(t=rne(function(){yte?vne.emit("unhandledRejection",r,n):Ane("unhandledrejection",n,r);}),e.rejection=yte||kne(e)?2:1,t.error))throw t.value;});},kne=function(e){return 1!==e.rejection&&!e.parent;},Bne=function(e){p5(ine,l5,function(){var t=e.facade;yte?vne.emit("rejectionHandled",t):Ane("rejectionhandled",t,e.value);});},Fne=function(e,t,n){return function(r){e(t,r,n);};},Tne=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Cne(e,!0));},_ne=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw hne("Promise can't be resolved itself");var r=xne(t);r?ene(function(){var n={done:!1};try{p5(r,t,Fne(_ne,n,e),Fne(Tne,n,e));}catch(t){Tne(n,t,e);}}):(e.value=t,e.state=1,Cne(e,!1));}catch(t){Tne({done:!1},t,e);}}};if(Dne&&(pne=(dne=function(e){Gee(this,pne),X5(e),p5(Xte,this);var t=sne(this);try{e(Fne(_ne,t),Fne(Tne,t));}catch(e){Tne(t,e);}}).prototype,(Xte=function(e){lne(this,{type:une,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0});}).prototype=Lee(pne,{then:function(e,t){var n=cne(this),r=n.reactions,o=yne(function(e,t){var n,r=O8(e).constructor;return void 0===r||null==(n=O8(r)[hte])?t:function(e){if(S9(e))return e;throw pte(K5(e)+" is not a constructor");}(n);}(this,dne));return o.ok=!_5(e)||e,o.fail=_5(t)&&t,o.domain=yte?vne.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&Cne(n,!1),o.promise;},catch:function(e){return this.then(void 0,e);}}),Zte=function(){var e=new Xte(),t=sne(e);this.promise=e,this.resolve=Fne(_ne,t),this.reject=Fne(Tne,t);},nne.f=yne=function(e){return e===dne||e===Jte?new Zte(e):mne(e);},_5(Iee)&&fne!==Object.prototype)){Qte=fne.then,Ene||(e7(fne,"then",function(e,t){var n=this;return new dne(function(e,t){p5(Qte,n,e,t);}).then(e,t);},{unsafe:!0}),e7(fne,"catch",pne.catch,{unsafe:!0}));try{delete fne.constructor;}catch(Ml){}zee&&zee(fne,pne);}function Pne(e,t,n){return void 0===n&&(n=""),e5(this,void 0,void 0,function(){var r,o,i,a,u,s,l;return t5(this,function(c){switch(c.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig("insertVideo"),o=r.onInsertedVideo,i=r.checkVideo,a=r.parseVideoSrc,[4,i(t,n)]):[2];case 1:return"string"==typeof(u=c.sent())?(e.alert(u,"error"),[2]):null==u?[2]:[4,a(t)];case 2:return 0!==(s=c.sent()).trim().indexOf("<iframe ")&&(s=s.replace(/</g,"&lt;").replace(/>/g,"&gt;")),l={type:"video",src:s,poster:n,children:[{text:""}]},Promise.resolve().then(function(){md.insertNodes(e,l);}),o(l),[2];}});});}function jne(){return Nee("w-e-insert-video");}F7({global:!0,wrap:!0,forced:Dne},{Promise:dne}),Vee(dne,une,!1),function(e){var t=N5("Promise"),n=F8.f;f5&&t&&!t[Uee]&&n(t,Uee,{configurable:!0,get:function(){return this;}});}(),Jte=N5(une),F7({target:une,stat:!0,forced:Dne},{reject:function(e){var t=yne(this);return p5(t.reject,void 0,e),t.promise;}}),F7({target:une,stat:!0,forced:Dne},{resolve:function(e){return function(e,t){if(O8(e),P5(t)&&t.constructor===e)return t;var n=nne.f(e);return(0,n.resolve)(t),n.promise;}(this,e);}}),F7({target:une,stat:!0,forced:Sne},{all:function(e){var t=this,n=yne(t),r=n.resolve,o=n.reject,i=rne(function(){var n=X5(t.resolve),i=[],a=0,u=1;rte(e,function(e){var s=a++,l=!1;u++,p5(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i));},o);}),--u||r(i);});return i.error&&o(i.value),n.promise;},race:function(e){var t=this,n=yne(t),r=n.reject,o=rne(function(){var o=X5(t.resolve);rte(e,function(e){p5(o,t,e).then(n.resolve,r);});});return o.error&&r(o.value),n.promise;}});var Nne=function(){function e(){this.title=HP("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=jne(),this.posterInputId=jne(),this.buttonId=jne();}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!QO.getSelectedElems(e).some(function(t){var n=QO.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t);});},e.prototype.getModalPositionNode=function(e){return null;},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,a=n5(S_(HP("videoModule.videoSrc"),r,HP("videoModule.videoSrcPlaceHolder")),2),u=a[0],s=a[1],l=n5(S_(HP("videoModule.videoPoster"),o,HP("videoModule.videoPosterPlaceHolder")),2),c=l[0],f=l[1],d=Mp(s),p=Mp(f),h=n5(C_(i,HP("videoModule.ok")),1)[0];if(null==this.$content){var g=Mp("<div></div>");g.on("click","#"+i,function(n){return e5(t,void 0,void 0,function(){var t,i;return t5(this,function(a){switch(a.label){case 0:return n.preventDefault(),t=g.find("#"+r).val().trim(),i=g.find("#"+o).val().trim(),[4,Pne(e,t,i)];case 1:return a.sent(),e.hidePanelOrModal(),[2];}});});}),this.$content=g;}var v=this.$content;return v.empty(),v.append(u),v.append(c),v.append(h),d.val(""),p.val(""),setTimeout(function(){d.focus();}),v[0];},e;}(),Ine=D5([].join),Lne=k5!=Object,Rne=function(e,t){var n=[].join;return!!n&&c5(function(){n.call(null,",",1);});}();F7({target:"Array",proto:!0,forced:Lne||!Rne},{join:function(e){return Ine(T5(this),void 0===e?",":e);}});var Mne,zne,$ne,Hne=!c5(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),Vne=z8("IE_PROTO"),Une=l5.Object,Wne=Une.prototype,Gne=Hne?Une.getPrototypeOf:function(e){var t=o8(e);if(a8(t,Vne))return t[Vne];var n=t.constructor;return _5(n)&&t instanceof n?n.prototype:t instanceof Une?Wne:null;},qne=g8("iterator"),Kne=!1;[].keys&&("next"in($ne=[].keys())?(zne=Gne(Gne($ne)))!==Object.prototype&&(Mne=zne):Kne=!0);var Yne=null==Mne||c5(function(){var e={};return Mne[qne].call(e)!==e;});Yne&&(Mne={}),_5(Mne[qne])||e7(Mne,qne,function(){return this;});var Xne={IteratorPrototype:Mne,BUGGY_SAFARI_ITERATORS:Kne},Zne=Xne.IteratorPrototype,Jne=function(){return this;},Qne=Q8.PROPER,ere=Q8.CONFIGURABLE,tre=Xne.IteratorPrototype,nre=Xne.BUGGY_SAFARI_ITERATORS,rre=g8("iterator"),ore=function(){return this;},ire=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=u9(Zne,{next:y5(1,n)}),Vee(e,o,!1),qee[o]=Jne;}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!nre&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e);};}return function(){return new n(this);};},f=t+" Iterator",d=!1,p=e.prototype,h=p[rre]||p["@@iterator"]||o&&p[o],g=!nre&&h||c(o),v="Array"==t&&p.entries||h;if(v&&(u=Gne(v.call(new e())))!==Object.prototype&&u.next&&(Gne(u)!==tre&&(zee?zee(u,tre):_5(u[rre])||e7(u,rre,ore)),Vee(u,f,!0)),Qne&&"values"==o&&h&&"values"!==h.name&&(ere?T8(p,"name","values"):(d=!0,g=function(){return p5(h,this);})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(nre||d||!(l in p))&&e7(p,l,s[l]);else F7({target:t,proto:!0,forced:nre||d},s);return p[rre]!==g&&e7(p,rre,g,{name:o}),qee[t]=g,s;},are=Y8.set,ure=Y8.getterFor("Array Iterator"),sre=ire(Array,"Array",function(e,t){are(this,{type:"Array Iterator",target:T5(e),index:0,kind:t});},function(){var e=ure(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1};},"values");qee.Arguments=qee.Array,c9("keys"),c9("values"),c9("entries");var lre=hee.charAt,cre=Y8.set,fre=Y8.getterFor("String Iterator");ire(String,"String",function(e){cre(this,{type:"String Iterator",string:R7(e),index:0});},function(){var e,t=fre(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=lre(n,r),t.index+=e.length,{value:e,done:!1});});var dre=function(e,t,n){var r=m8(t);r in e?F8.f(e,r,y5(0,n)):e[r]=n;},pre=l5.Array,hre=Math.max,gre=y7.f,vre="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],yre={f:function(e){return vre&&"Window"==C5(e)?function(e){try{return gre(e);}catch(e){return function(e,t,n){for(var r=l7(e),o=a7(void 0,r),i=a7(r,r),a=pre(hre(i-o,0)),u=0;o<i;o++,u++)dre(a,u,e[o]);return a.length=u,a;}(vre);}}(e):gre(T5(e));}},mre=c5(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8});}}),bre=Object.isExtensible,wre=c5(function(){bre(1);})||mre?function(e){return!!P5(e)&&(!mre||"ArrayBuffer"!=C5(e))&&(!bre||bre(e));}:bre,Ere=!c5(function(){return Object.isExtensible(Object.preventExtensions({}));}),Dre=i5(function(e){var t=F8.f,n=!1,r=c8("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}});},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=y7.f,t=D5([].splice),o={};o[r]=1,e(o).length&&(y7.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break;}return o;},F7({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:yre.f}));},fastKey:function(e,t){if(!P5(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a8(e,r)){if(!wre(e))return"F";if(!t)return"E";i(e);}return e[r].objectID;},getWeakData:function(e,t){if(!a8(e,r)){if(!wre(e))return!0;if(!t)return!1;i(e);}return e[r].weakData;},onFreeze:function(e){return Ere&&n&&wre(e)&&!a8(e,r)&&i(e),e;}};$8[r]=!0;}),Sre=Dre.getWeakData,xre=Y8.set,Cre=Y8.getterFor,Are=B9.find,Ore=B9.findIndex,kre=D5([].splice),Bre=0,Fre=function(e){return e.frozen||(e.frozen=new Tre());},Tre=function(){this.entries=[];},_re=function(e,t){return Are(e.entries,function(e){return e[0]===t;});};Tre.prototype={get:function(e){var t=_re(this,e);if(t)return t[1];},has:function(e){return!!_re(this,e);},set:function(e,t){var n=_re(this,e);n?n[1]=t:this.entries.push([e,t]);},delete:function(e){var t=Ore(this.entries,function(t){return t[0]===e;});return~t&&kre(this.entries,t,1),!!~t;}};var Pre,jre={getConstructor:function(e,t,n,r){var o=e(function(e,o){Gee(e,i),xre(e,{type:t,id:Bre++,frozen:void 0}),null!=o&&rte(o,e[r],{that:e,AS_ENTRIES:n});}),i=o.prototype,a=Cre(t),u=function(e,t,n){var r=a(e),o=Sre(O8(t),!0);return!0===o?Fre(r).set(t,n):o[r.id]=n,e;};return Lee(i,{delete:function(e){var t=a(this);if(!P5(e))return!1;var n=Sre(e);return!0===n?Fre(t).delete(e):n&&a8(n,t.id)&&delete n[t.id];},has:function(e){var t=a(this);if(!P5(e))return!1;var n=Sre(e);return!0===n?Fre(t).has(e):n&&a8(n,t.id);}}),Lee(i,n?{get:function(e){var t=a(this);if(P5(e)){var n=Sre(e);return!0===n?Fre(t).get(e):n?n[t.id]:void 0;}},set:function(e,t){return u(this,e,t);}}:{add:function(e){return u(this,e,!0);}}),o;}},Nre=Y8.enforce,Ire=!l5.ActiveXObject&&"ActiveXObject"in l5,Lre=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0);};},Rre=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=l5[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=D5(u[e]);e7(u,e,"add"==e?function(e){return t(this,0===e?0:e),this;}:"delete"==e?function(e){return!(o&&!P5(e))&&t(this,0===e?0:e);}:"get"==e?function(e){return o&&!P5(e)?void 0:t(this,0===e?0:e);}:"has"==e?function(e){return!(o&&!P5(e))&&t(this,0===e?0:e);}:function(e,n){return t(this,0===e?0:e,n),this;});};if(k7(e,!_5(a)||!(o||u.forEach&&!c5(function(){new a().entries().next();}))))s=n.getConstructor(t,e,r,i),Dre.enable();else if(k7(e,!0)){var f=new s(),d=f[i](o?{}:-0,1)!=f,p=c5(function(){f.has(1);}),h=dte(function(e){new a(e);}),g=!o&&c5(function(){for(var e=new a(),t=5;t--;)e[i](t,t);return!e.has(-0);});h||((s=t(function(e,t){Gee(e,u);var n=function(e,t,n){var r,o;return zee&&_5(r=t.constructor)&&r!==n&&P5(o=r.prototype)&&o!==n.prototype&&zee(e,o),e;}(new a(),e,s);return null!=t&&rte(t,n[i],{that:n,AS_ENTRIES:r}),n;})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear;}return l[e]=s,F7({global:!0,forced:s!=a},l),Vee(s,e),o||n.setStrong(s,e,r),s;}("WeakMap",Lre,jre);if(R8&&Ire){Pre=jre.getConstructor(Lre,"WeakMap",!0),Dre.enable();var Mre=Rre.prototype,zre=D5(Mre.delete),$re=D5(Mre.has),Hre=D5(Mre.get),Vre=D5(Mre.set);Lee(Mre,{delete:function(e){if(P5(e)&&!wre(e)){var t=Nre(this);return t.frozen||(t.frozen=new Pre()),zre(this,e)||t.frozen.delete(e);}return zre(this,e);},has:function(e){if(P5(e)&&!wre(e)){var t=Nre(this);return t.frozen||(t.frozen=new Pre()),$re(this,e)||t.frozen.has(e);}return $re(this,e);},get:function(e){if(P5(e)&&!wre(e)){var t=Nre(this);return t.frozen||(t.frozen=new Pre()),$re(this,e)?Hre(this,e):t.frozen.get(e);}return Hre(this,e);},set:function(e,t){if(P5(e)&&!wre(e)){var n=Nre(this);n.frozen||(n.frozen=new Pre()),$re(this,e)?Vre(this,e,t):n.frozen.set(e,t);}else Vre(this,e,t);return this;}});}var Ure={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},Wre=E8("span").classList,Gre=Wre&&Wre.constructor&&Wre.constructor.prototype,qre=Gre===Object.prototype?void 0:Gre,Kre=g8("iterator"),Yre=g8("toStringTag"),Xre=sre.values,Zre=function(e,t){if(e){if(e[Kre]!==Xre)try{T8(e,Kre,Xre);}catch(t){e[Kre]=Xre;}if(e[Yre]||T8(e,Yre,t),Ure[t])for(var n in sre)if(e[n]!==sre[n])try{T8(e,n,sre[n]);}catch(t){e[n]=sre[n];}}};for(var Jre in Ure)Zre(l5[Jre]&&l5[Jre].prototype,Jre);Zre(qre,"DOMTokenList");var Qre=Q8.EXISTS,eoe=F8.f,toe=Function.prototype,noe=D5(toe.toString),roe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ooe=D5(roe.exec);f5&&!Qre&&eoe(toe,"name",{configurable:!0,get:function(){try{return ooe(roe,noe(this))[1];}catch(e){return"";}}});var ioe=g8("species"),aoe=H5>=51||!c5(function(){var e=[];return(e.constructor={})[ioe]=function(){return{foo:1};},1!==e.slice(Boolean).foo;}),uoe=g8("species"),soe=l5.Array,loe=Math.max;function coe(e){return e.getMenuConfig("uploadVideo");}F7({target:"Array",proto:!0,forced:!aoe},{slice:function(e,t){var n,r,o,i=T5(this),a=l7(i),u=a7(e,a),s=a7(void 0===t?a:t,a);if(g9(i)&&(n=i.constructor,(S9(n)&&(n===soe||g9(n.prototype))||P5(n)&&null===(n=n[uoe]))&&(n=void 0),n===soe||void 0===n))return gte(i,u,s);for(r=new(void 0===n?soe:n)(loe(s-u,0)),o=0;u<s;u++,o++)u in i&&dre(r,o,i[u]);return r.length=o,r;}});var foe=new WeakMap();function doe(e,t){return e5(this,void 0,void 0,function(){var n,r,o,i;return t5(this,function(a){switch(a.label){case 0:return n=function(e){var t=foe.get(e);if(null!=t)return t;var n=coe(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=K_(Q3(Q3({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t);},onSuccess:function(t,n){if(a)return a(n,function(t,n){return Pne(e,t,n);}),void r(t,n);var o=n.errno,u=void 0===o?1:o,s=n.data,l=void 0===s?{}:s;if(0===u){var c=l.url,f=void 0===c?"":c,d=l.poster;Pne(e,f,void 0===d?"":d),r(t,n);}else i(t,n);},onError:function(e,t,n){u(e,t,n);}})),foe.set(e,t),t;}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2];}});});}var poe=function(){function e(){this.title=HP("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(t,n){return Pne(e,t,n);});else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=Mp("body"),s=Mp('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",function(){var t=s[0].files;!function(e,t){var n,r;e5(this,void 0,void 0,function(){var o,i,a,u,s,l;return t5(this,function(c){switch(c.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=coe(e).customUpload,c.label=1;case 1:c.trys.push([1,9,10,15]),a=r5(o),c.label=2;case 2:return[4,a.next()];case 3:return(u=c.sent()).done?[3,8]:(s=u.value,i?[4,i(s,function(t,n){return Pne(e,t,n);})]:[3,5]);case 4:return c.sent(),[3,7];case 5:return[4,doe(e,s)];case 6:c.sent(),c.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return l=c.sent(),n={error:l},[3,15];case 10:return c.trys.push([10,,13,14]),u&&!u.done&&(r=a.return)?[4,r.call(a)]:[3,12];case 11:c.sent(),c.label=12;case 12:return[3,14];case 13:if(n)throw n.error;return[7];case 14:return[7];case 15:return[2];}});});}(e,t);});}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!QO.getSelectedElems(e).some(function(t){var n=QO.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t);});},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo");},e;}(),hoe=Q8.PROPER,goe=RegExp.prototype,voe=goe.toString,yoe=D5(L9),moe=c5(function(){return"/a/b"!=voe.call({source:"a",flags:"b"});}),boe=hoe&&"toString"!=voe.name;function woe(){return Nee("w-e-insert-video");}(moe||boe)&&e7(RegExp.prototype,"toString",function(){var e=O8(this),t=R7(e.source),n=e.flags;return"/"+t+"/"+R7(void 0===n&&I5(goe,e)&&!("flags"in goe)?yoe(e):n);},{unsafe:!0});var Eoe=function(){function e(){this.title=HP("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=woe(),this.heightInputId=woe(),this.buttonId=woe();}return e.prototype.getSelectedVideoNode=function(e){return QO.getSelectedNodeByType(e,"video");},e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e);},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e);},e.prototype.getModalContentElem=function(e){var t=this,n=t.widthInputId,r=t.heightInputId,o=t.buttonId,i=n5(S_(HP("videoModule.width"),n,"auto"),2),a=i[0],u=Mp(i[1]),s=n5(S_(HP("videoModule.height"),r,"auto"),2),l=s[0],c=Mp(s[1]),f=n5(C_(o,HP("videoModule.ok")),1)[0];if(null==this.$content){var d=Mp("<div></div>");d.on("click","#"+o,function(t){t.preventDefault();var o=d.find("#"+n).val().trim(),i=d.find("#"+r).val().trim(),a=parseInt(o),u=parseInt(i),s=a?a.toString():"auto",l=u?u.toString():"auto";e.restoreSelection(),md.setNodes(e,{width:s,height:l},{match:function(e){return QO.checkNodeType(e,"video");}}),e.hidePanelOrModal();}),this.$content=d;}var p=this.$content;p.empty(),p.append(a),p.append(l),p.append(f);var h=this.getSelectedVideoNode(e);if(null==h)return p[0];var g=h.width,v=void 0===g?"auto":g,y=h.height,m=void 0===y?"auto":y;return u.val(v),c.val(m),setTimeout(function(){u.focus();}),p[0];},e;}(),Doe={renderElems:[Z7],elemsToHtml:[J7],preParseHtml:[d9],parseElemsHtml:[I9],menus:[{key:"insertVideo",factory:function(){return new Nne();},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0;},parseVideoSrc:function(e){return e;}}},{key:"uploadVideo",factory:function(){return new poe();},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e;},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t);},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n);}}},{key:"editVideoSize",factory:function(){return new Eoe();}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return"video"===e.type||t(e);},r.normalizeNode=function(e){var t=n5(e,2),o=t[0],i=t[1];return"video"===QO.getNodeType(o)&&QO.isLastNode(r,o)&&md.insertNodes(r,QO.genEmptyParagraph(),{at:[i[0]+1]}),n([o,i]);},r;}};MP("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),MP("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var Soe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function xoe(e){var t={exports:{}};return e(t,t.exports),t.exports;}var Coe,Aoe,Ooe=function(e){return e&&e.Math==Math&&e;},koe=Ooe("object"==typeof globalThis&&globalThis)||Ooe("object"==typeof window&&window)||Ooe("object"==typeof self&&self)||Ooe("object"==typeof Soe&&Soe)||function(){return this;}()||Function("return this")(),Boe=function(e){try{return!!e();}catch(e){return!0;}},Foe=!Boe(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),Toe=Function.prototype.call,_oe=Toe.bind?Toe.bind(Toe):function(){return Toe.apply(Toe,arguments);},Poe={}.propertyIsEnumerable,joe=Object.getOwnPropertyDescriptor,Noe={f:joe&&!Poe.call({1:2},1)?function(e){var t=joe(this,e);return!!t&&t.enumerable;}:Poe},Ioe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},Loe=Function.prototype,Roe=Loe.bind,Moe=Loe.call,zoe=Roe&&Roe.bind(Moe),$oe=Roe?function(e){return e&&zoe(Moe,e);}:function(e){return e&&function(){return Moe.apply(e,arguments);};},Hoe=$oe({}.toString),Voe=$oe("".slice),Uoe=function(e){return Voe(Hoe(e),8,-1);},Woe=koe.Object,Goe=$oe("".split),qoe=Boe(function(){return!Woe("z").propertyIsEnumerable(0);})?function(e){return"String"==Uoe(e)?Goe(e,""):Woe(e);}:Woe,Koe=koe.TypeError,Yoe=function(e){if(null==e)throw Koe("Can't call method on "+e);return e;},Xoe=function(e){return qoe(Yoe(e));},Zoe=function(e){return"function"==typeof e;},Joe=function(e){return"object"==typeof e?null!==e:Zoe(e);},Qoe=function(e){return Zoe(e)?e:void 0;},eie=function(e,t){return arguments.length<2?Qoe(koe[e]):koe[e]&&koe[e][t];},tie=$oe({}.isPrototypeOf),nie=eie("navigator","userAgent")||"",rie=koe.process,oie=koe.Deno,iie=rie&&rie.versions||oie&&oie.version,aie=iie&&iie.v8;aie&&(Aoe=(Coe=aie.split("."))[0]>0&&Coe[0]<4?1:+(Coe[0]+Coe[1])),!Aoe&&nie&&(!(Coe=nie.match(/Edge\/(\d+)/))||Coe[1]>=74)&&(Coe=nie.match(/Chrome\/(\d+)/))&&(Aoe=+Coe[1]);var uie=Aoe,sie=!!Object.getOwnPropertySymbols&&!Boe(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&uie&&uie<41;}),lie=sie&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,cie=koe.Object,fie=lie?function(e){return"symbol"==typeof e;}:function(e){var t=eie("Symbol");return Zoe(t)&&tie(t.prototype,cie(e));},die=koe.String,pie=function(e){try{return die(e);}catch(e){return"Object";}},hie=koe.TypeError,gie=function(e){if(Zoe(e))return e;throw hie(pie(e)+" is not a function");},vie=function(e,t){var n=e[t];return null==n?void 0:gie(n);},yie=koe.TypeError,mie=Object.defineProperty,bie=function(e,t){try{mie(koe,e,{value:t,configurable:!0,writable:!0});}catch(n){koe[e]=t;}return t;},wie=koe["__core-js_shared__"]||bie("__core-js_shared__",{}),Eie=xoe(function(e){(e.exports=function(e,t){return wie[e]||(wie[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),Die=koe.Object,Sie=function(e){return Die(Yoe(e));},xie=$oe({}.hasOwnProperty),Cie=Object.hasOwn||function(e,t){return xie(Sie(e),t);},Aie=0,Oie=Math.random(),kie=$oe(1..toString),Bie=function(e){return"Symbol("+(void 0===e?"":e)+")_"+kie(++Aie+Oie,36);},Fie=Eie("wks"),Tie=koe.Symbol,_ie=Tie&&Tie.for,Pie=lie?Tie:Tie&&Tie.withoutSetter||Bie,jie=function(e){if(!Cie(Fie,e)||!sie&&"string"!=typeof Fie[e]){var t="Symbol."+e;sie&&Cie(Tie,e)?Fie[e]=Tie[e]:Fie[e]=lie&&_ie?_ie(t):Pie(t);}return Fie[e];},Nie=koe.TypeError,Iie=jie("toPrimitive"),Lie=function(e){var t=function(e,t){if(!Joe(e)||fie(e))return e;var n,r=vie(e,Iie);if(r){if(void 0===t&&(t="default"),n=_oe(r,e,t),!Joe(n)||fie(n))return n;throw Nie("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Zoe(n=e.toString)&&!Joe(r=_oe(n,e)))return r;if(Zoe(n=e.valueOf)&&!Joe(r=_oe(n,e)))return r;if("string"!==t&&Zoe(n=e.toString)&&!Joe(r=_oe(n,e)))return r;throw yie("Can't convert object to primitive value");}(e,t);}(e,"string");return fie(t)?t:t+"";},Rie=koe.document,Mie=Joe(Rie)&&Joe(Rie.createElement),zie=function(e){return Mie?Rie.createElement(e):{};},$ie=!Foe&&!Boe(function(){return 7!=Object.defineProperty(zie("div"),"a",{get:function(){return 7;}}).a;}),Hie=Object.getOwnPropertyDescriptor,Vie={f:Foe?Hie:function(e,t){if(e=Xoe(e),t=Lie(t),$ie)try{return Hie(e,t);}catch(e){}if(Cie(e,t))return Ioe(!_oe(Noe.f,e,t),e[t]);}},Uie=koe.String,Wie=koe.TypeError,Gie=function(e){if(Joe(e))return e;throw Wie(Uie(e)+" is not an object");},qie=koe.TypeError,Kie=Object.defineProperty,Yie={f:Foe?Kie:function(e,t,n){if(Gie(e),t=Lie(t),Gie(n),$ie)try{return Kie(e,t,n);}catch(e){}if("get"in n||"set"in n)throw qie("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},Xie=Foe?function(e,t,n){return Yie.f(e,t,Ioe(1,n));}:function(e,t,n){return e[t]=n,e;},Zie=$oe(Function.toString);Zoe(wie.inspectSource)||(wie.inspectSource=function(e){return Zie(e);});var Jie,Qie,eae,tae=wie.inspectSource,nae=koe.WeakMap,rae=Zoe(nae)&&/native code/.test(tae(nae)),oae=Eie("keys"),iae=function(e){return oae[e]||(oae[e]=Bie(e));},aae={},uae=koe.TypeError,sae=koe.WeakMap;if(rae||wie.state){var lae=wie.state||(wie.state=new sae()),cae=$oe(lae.get),fae=$oe(lae.has),dae=$oe(lae.set);Jie=function(e,t){if(fae(lae,e))throw new uae("Object already initialized");return t.facade=e,dae(lae,e,t),t;},Qie=function(e){return cae(lae,e)||{};},eae=function(e){return fae(lae,e);};}else{var pae=iae("state");aae[pae]=!0,Jie=function(e,t){if(Cie(e,pae))throw new uae("Object already initialized");return t.facade=e,Xie(e,pae,t),t;},Qie=function(e){return Cie(e,pae)?e[pae]:{};},eae=function(e){return Cie(e,pae);};}var hae={set:Jie,get:Qie,has:eae,enforce:function(e){return eae(e)?Qie(e):Jie(e,{});},getterFor:function(e){return function(t){var n;if(!Joe(t)||(n=Qie(t)).type!==e)throw uae("Incompatible receiver, "+e+" required");return n;};}},gae=Function.prototype,vae=Foe&&Object.getOwnPropertyDescriptor,yae=Cie(gae,"name"),mae={EXISTS:yae,PROPER:yae&&"something"===function(){}.name,CONFIGURABLE:yae&&(!Foe||Foe&&vae(gae,"name").configurable)},bae=xoe(function(e){var t=mae.CONFIGURABLE,n=hae.get,r=hae.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;Zoe(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Cie(i,"name")||t&&i.name!==f)&&Xie(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==koe?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:Xie(e,n,i)):l?e[n]=i:bie(n,i);})(Function.prototype,"toString",function(){return Zoe(this)&&n(this).source||tae(this);});}),wae=Math.ceil,Eae=Math.floor,Dae=function(e){var t=+e;return t!=t||0===t?0:(t>0?Eae:wae)(t);},Sae=Math.max,xae=Math.min,Cae=function(e,t){var n=Dae(e);return n<0?Sae(n+t,0):xae(n,t);},Aae=Math.min,Oae=function(e){return e>0?Aae(Dae(e),9007199254740991):0;},kae=function(e){return Oae(e.length);},Bae=function(e){return function(t,n,r){var o,i=Xoe(t),a=kae(i),u=Cae(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},Fae=(Bae(!0),Bae(!1)),Tae=$oe([].push),_ae=function(e,t){var n,r=Xoe(e),o=0,i=[];for(n in r)!Cie(aae,n)&&Cie(r,n)&&Tae(i,n);for(;t.length>o;)Cie(r,n=t[o++])&&(~Fae(i,n)||Tae(i,n));return i;},Pae=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jae=Pae.concat("length","prototype"),Nae={f:Object.getOwnPropertyNames||function(e){return _ae(e,jae);}},Iae={f:Object.getOwnPropertySymbols},Lae=$oe([].concat),Rae=eie("Reflect","ownKeys")||function(e){var t=Nae.f(Gie(e)),n=Iae.f;return n?Lae(t,n(e)):t;},Mae=function(e,t){for(var n=Rae(t),r=Yie.f,o=Vie.f,i=0;i<n.length;i++){var a=n[i];Cie(e,a)||r(e,a,o(t,a));}},zae=/#|\.prototype\./,$ae=function(e,t){var n=Vae[Hae(e)];return n==Wae||n!=Uae&&(Zoe(t)?Boe(t):!!t);},Hae=$ae.normalize=function(e){return String(e).replace(zae,".").toLowerCase();},Vae=$ae.data={},Uae=$ae.NATIVE="N",Wae=$ae.POLYFILL="P",Gae=$ae,qae=Vie.f,Kae=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?koe:l?koe[u]||bie(u,{}):(koe[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=qae(n,r))&&a.value:n[r],!Gae(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Mae(i,o);}(e.sham||o&&o.sham)&&Xie(i,"sham",!0),bae(n,r,i,e);}},Yae=Array.isArray||function(e){return"Array"==Uoe(e);},Xae={};Xae[jie("toStringTag")]="z";var Zae="[object z]"===String(Xae),Jae=jie("toStringTag"),Qae=koe.Object,eue="Arguments"==Uoe(function(){return arguments;}()),tue=Zae?Uoe:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=Qae(e),Jae))?n:eue?Uoe(t):"Object"==(r=Uoe(t))&&Zoe(t.callee)?"Arguments":r;},nue=function(){},rue=[],oue=eie("Reflect","construct"),iue=/^\s*(?:class|function)\b/,aue=$oe(iue.exec),uue=!iue.exec(nue),sue=function(e){if(!Zoe(e))return!1;try{return oue(nue,rue,e),!0;}catch(e){return!1;}},lue=!oue||Boe(function(){var e;return sue(sue.call)||!sue(Object)||!sue(function(){e=!0;})||e;})?function(e){if(!Zoe(e))return!1;switch(tue(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return uue||!!aue(iue,tae(e));}:sue,cue=function(e,t,n){var r=Lie(t);r in e?Yie.f(e,r,Ioe(0,n)):e[r]=n;},fue=jie("species"),due=$oe([].slice),pue=("slice",uie>=51||!Boe(function(){var e=[];return(e.constructor={})[fue]=function(){return{foo:1};},1!==e.slice(Boolean).foo;})),hue=jie("species"),gue=koe.Array,vue=Math.max;Kae({target:"Array",proto:!0,forced:!pue},{slice:function(e,t){var n,r,o,i=Xoe(this),a=kae(i),u=Cae(e,a),s=Cae(void 0===t?a:t,a);if(Yae(i)&&(n=i.constructor,(lue(n)&&(n===gue||Yae(n.prototype))||Joe(n)&&null===(n=n[hue]))&&(n=void 0),n===gue||void 0===n))return due(i,u,s);for(r=new(void 0===n?gue:n)(vue(s-u,0)),o=0;u<s;u++,o++)u in i&&cue(r,o,i[u]);return r.length=o,r;}});var yue=Zae?{}.toString:function(){return"[object "+tue(this)+"]";};Zae||bae(Object.prototype,"toString",yue,{unsafe:!0});var mue,bue=koe.String,wue=function(e){if("Symbol"===tue(e))throw TypeError("Cannot convert a Symbol value to a string");return bue(e);},Eue=function(){var e=Gie(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},Due=koe.RegExp,Sue=Boe(function(){var e=Due("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),xue=Sue||Boe(function(){return!Due("a","y").sticky;}),Cue={BROKEN_CARET:Sue||Boe(function(){var e=Due("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),MISSED_STICKY:xue,UNSUPPORTED_Y:Sue},Aue=Object.keys||function(e){return _ae(e,Pae);},Oue=Foe?Object.defineProperties:function(e,t){Gie(e);for(var n,r=Xoe(t),o=Aue(t),i=o.length,a=0;i>a;)Yie.f(e,n=o[a++],r[n]);return e;},kue=eie("document","documentElement"),Bue=iae("IE_PROTO"),Fue=function(){},Tue=function(e){return"<script>"+e+"<\/script>";},_ue=function(e){e.write(Tue("")),e.close();var t=e.parentWindow.Object;return e=null,t;},Pue=function(){try{mue=new ActiveXObject("htmlfile");}catch(e){}var e,t;Pue="undefined"!=typeof document?document.domain&&mue?_ue(mue):((t=zie("iframe")).style.display="none",kue.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Tue("document.F=Object")),e.close(),e.F):_ue(mue);for(var n=Pae.length;n--;)delete Pue.prototype[Pae[n]];return Pue();};aae[Bue]=!0;var jue,Nue,Iue=Object.create||function(e,t){var n;return null!==e?(Fue.prototype=Gie(e),n=new Fue(),Fue.prototype=null,n[Bue]=e):n=Pue(),void 0===t?n:Oue(n,t);},Lue=koe.RegExp,Rue=Boe(function(){var e=Lue(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),Mue=koe.RegExp,zue=Boe(function(){var e=Mue("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),$ue=hae.get,Hue=Eie("native-string-replace",String.prototype.replace),Vue=RegExp.prototype.exec,Uue=Vue,Wue=$oe("".charAt),Gue=$oe("".indexOf),que=$oe("".replace),Kue=$oe("".slice),Yue=(Nue=/b*/g,_oe(Vue,jue=/a/,"a"),_oe(Vue,Nue,"a"),0!==jue.lastIndex||0!==Nue.lastIndex),Xue=Cue.BROKEN_CARET,Zue=void 0!==/()??/.exec("")[1];(Yue||Zue||Xue||Rue||zue)&&(Uue=function(e){var t,n,r,o,i,a,u,s=this,l=$ue(s),c=wue(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=_oe(Uue,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=Xue&&s.sticky,h=_oe(Eue,s),g=s.source,v=0,y=c;if(p&&(h=que(h,"y",""),-1===Gue(h,"g")&&(h+="g"),y=Kue(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Wue(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),Zue&&(n=new RegExp("^"+g+"$(?!\\s)",h)),Yue&&(r=s.lastIndex),o=_oe(Vue,p?n:s,y),p?o?(o.input=Kue(o.input,v),o[0]=Kue(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Yue&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Zue&&o&&o.length>1&&_oe(Hue,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=Iue(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var Jue=Uue;Kae({target:"RegExp",proto:!0,forced:/./.exec!==Jue},{exec:Jue});var Que=Function.prototype,ese=Que.apply,tse=Que.bind,nse=Que.call,rse="object"==typeof Reflect&&Reflect.apply||(tse?nse.bind(ese):function(){return nse.apply(ese,arguments);}),ose=jie("species"),ise=RegExp.prototype,ase=jie("match"),use=koe.TypeError,sse=jie("species"),lse=function(e,t){var n,r=Gie(e).constructor;return void 0===r||null==(n=Gie(r)[sse])?t:function(e){if(lue(e))return e;throw use(pie(e)+" is not a constructor");}(n);},cse=$oe("".charAt),fse=$oe("".charCodeAt),dse=$oe("".slice),pse=function(e){return function(t,n){var r,o,i=wue(Yoe(t)),a=Dae(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=fse(i,a))<55296||r>56319||a+1===u||(o=fse(i,a+1))<56320||o>57343?e?cse(i,a):r:e?dse(i,a,a+2):o-56320+(r-55296<<10)+65536;};},hse={codeAt:pse(!1),charAt:pse(!0)},gse=hse.charAt,vse=function(e,t,n){return t+(n?gse(e,t).length:1);},yse=koe.Array,mse=Math.max,bse=function(e,t,n){for(var r=kae(e),o=Cae(t,r),i=Cae(void 0===n?r:n,r),a=yse(mse(i-o,0)),u=0;o<i;o++,u++)cue(a,u,e[o]);return a.length=u,a;},wse=koe.TypeError,Ese=function(e,t){var n=e.exec;if(Zoe(n)){var r=_oe(n,e,t);return null!==r&&Gie(r),r;}if("RegExp"===Uoe(e))return _oe(Jue,e,t);throw wse("RegExp#exec called on incompatible receiver");},Dse=Cue.UNSUPPORTED_Y,Sse=Math.min,xse=[].push,Cse=$oe(/./.exec),Ase=$oe(xse),Ose=$oe("".slice);!function(e,t,n,r){var o=jie(e),i=!Boe(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!Boe(function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[ose]=function(){return t;},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null;},t[o](""),!e;});if(!i||!a||n){var u=$oe(/./[o]),s=function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o,i=wue(Yoe(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Joe(r=e)||!(void 0!==(o=r[ase])?o:"RegExp"==Uoe(r)))return _oe(t,i,e,a);for(var u,s,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=new RegExp(e.source,f+"g");(u=_oe(Jue,p,i))&&!((s=p.lastIndex)>d&&(Ase(c,Ose(i,d,u.index)),u.length>1&&u.index<i.length&&rse(xse,c,bse(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&Cse(p,"")||Ase(c,""):Ase(c,Ose(i,d)),c.length>a?bse(c,0,a):c;}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:_oe(t,this,e,n);}:t,[function(t,n){var o=Yoe(this),i=null==t?void 0:vie(t,e);return i?_oe(i,t,o,n):_oe(r,wue(o),t,n);},function(e,o){var i=Gie(this),a=wue(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=lse(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Dse?"g":"y"),f=new s(Dse?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Ese(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=Dse?0:h;var v,y=Ese(f,Dse?Ose(a,h):a);if(null===y||(v=Sse(Oae(f.lastIndex+(Dse?h:0)),a.length))===p)h=vse(a,h,l);else{if(Ase(g,Ose(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(Ase(g,y[m]),g.length===d)return g;h=p=v;}}return Ase(g,Ose(a,p)),g;}];}(o,""[e],function(e,t,n,r,o){var a=$oe(e),s=t.exec;return s===Jue||s===ise.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});bae(String.prototype,e,s[0]),bae(ise,o,s[1]);}r&&Xie(ise[o],"sham",!0);}("split",0,!!Boe(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments);};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1];}),Dse);/*! *****************************************************************************
101677
+ Copyright (c) Microsoft Corporation.
101678
+
101679
+ Permission to use, copy, modify, and/or distribute this software for any
101680
+ purpose with or without fee is hereby granted.
101681
+
101682
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101683
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101684
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101685
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101686
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101687
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101688
+ PERFORMANCE OF THIS SOFTWARE.
101689
+ ***************************************************************************** */var kse=function(){return kse=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e;},kse.apply(this,arguments);};function Bse(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e));}catch(e){i(e);}}function u(e){try{s(r.throw(e));}catch(e){i(e);}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t);})).then(a,u);}s((r=r.apply(e,t||[])).next());});}function Fse(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1];},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this;}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue;}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break;}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break;}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break;}o[2]&&a.ops.pop(),a.trys.pop();continue;}i=t.call(e,a);}catch(e){i=[6,e],r=0;}finally{n=o=0;}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0};}([i,u]);};}}function Tse(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this;},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n});},t);}(r,o,(t=e[n](t)).done,t.value);});};}}var _se=jie("unscopables"),Pse=Array.prototype;null==Pse[_se]&&Yie.f(Pse,_se,{configurable:!0,value:Iue(null)});var jse,Nse,Ise,Lse=function(e){Pse[_se][e]=!0;},Rse={},Mse=!Boe(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),zse=iae("IE_PROTO"),$se=koe.Object,Hse=$se.prototype,Vse=Mse?$se.getPrototypeOf:function(e){var t=Sie(e);if(Cie(t,zse))return t[zse];var n=t.constructor;return Zoe(n)&&t instanceof n?n.prototype:t instanceof $se?Hse:null;},Use=jie("iterator"),Wse=!1;[].keys&&("next"in(Ise=[].keys())?(Nse=Vse(Vse(Ise)))!==Object.prototype&&(jse=Nse):Wse=!0);var Gse=null==jse||Boe(function(){var e={};return jse[Use].call(e)!==e;});Gse&&(jse={}),Zoe(jse[Use])||bae(jse,Use,function(){return this;});var qse={IteratorPrototype:jse,BUGGY_SAFARI_ITERATORS:Wse},Kse=Yie.f,Yse=jie("toStringTag"),Xse=function(e,t,n){e&&!Cie(e=n?e:e.prototype,Yse)&&Kse(e,Yse,{configurable:!0,value:t});},Zse=qse.IteratorPrototype,Jse=function(){return this;},Qse=koe.String,ele=koe.TypeError,tle=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=$oe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return Gie(n),function(e){if("object"==typeof e||Zoe(e))return e;throw ele("Can't set "+Qse(e)+" as a prototype");}(r),t?e(n,r):n.__proto__=r,n;};}():void 0),nle=mae.PROPER,rle=mae.CONFIGURABLE,ole=qse.IteratorPrototype,ile=qse.BUGGY_SAFARI_ITERATORS,ale=jie("iterator"),ule=function(){return this;},sle=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Iue(Zse,{next:Ioe(1,n)}),Xse(e,o,!1),Rse[o]=Jse;}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!ile&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e);};}return function(){return new n(this);};},f=t+" Iterator",d=!1,p=e.prototype,h=p[ale]||p["@@iterator"]||o&&p[o],g=!ile&&h||c(o),v="Array"==t&&p.entries||h;if(v&&(u=Vse(v.call(new e())))!==Object.prototype&&u.next&&(Vse(u)!==ole&&(tle?tle(u,ole):Zoe(u[ale])||bae(u,ale,ule)),Xse(u,f,!0)),nle&&"values"==o&&h&&"values"!==h.name&&(rle?Xie(p,"name","values"):(d=!0,g=function(){return _oe(h,this);})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(ile||d||!(l in p))&&bae(p,l,s[l]);else Kae({target:t,proto:!0,forced:ile||d},s);return p[ale]!==g&&bae(p,ale,g,{name:o}),Rse[t]=g,s;},lle=hae.set,cle=hae.getterFor("Array Iterator"),fle=sle(Array,"Array",function(e,t){lle(this,{type:"Array Iterator",target:Xoe(e),index:0,kind:t});},function(){var e=cle(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1};},"values");Rse.Arguments=Rse.Array,Lse("keys"),Lse("values"),Lse("entries");var dle=hse.charAt,ple=hae.set,hle=hae.getterFor("String Iterator");sle(String,"String",function(e){ple(this,{type:"String Iterator",string:wue(e),index:0});},function(){var e,t=hle(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=dle(n,r),t.index+=e.length,{value:e,done:!1});});var gle=function(e,t,n){for(var r in t)bae(e,r,t[r],n);return e;},vle=Nae.f,yle="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mle={f:function(e){return yle&&"Window"==Uoe(e)?function(e){try{return vle(e);}catch(e){return bse(yle);}}(e):vle(Xoe(e));}},ble=Boe(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8});}}),wle=Object.isExtensible,Ele=Boe(function(){wle(1);})||ble?function(e){return!!Joe(e)&&(!ble||"ArrayBuffer"!=Uoe(e))&&(!wle||wle(e));}:wle,Dle=!Boe(function(){return Object.isExtensible(Object.preventExtensions({}));}),Sle=xoe(function(e){var t=Yie.f,n=!1,r=Bie("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}});},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Nae.f,t=$oe([].splice),o={};o[r]=1,e(o).length&&(Nae.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break;}return o;},Kae({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:mle.f}));},fastKey:function(e,t){if(!Joe(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Cie(e,r)){if(!Ele(e))return"F";if(!t)return"E";i(e);}return e[r].objectID;},getWeakData:function(e,t){if(!Cie(e,r)){if(!Ele(e))return!0;if(!t)return!1;i(e);}return e[r].weakData;},onFreeze:function(e){return Dle&&n&&Ele(e)&&!Cie(e,r)&&i(e),e;}};aae[r]=!0;}),xle=$oe($oe.bind),Cle=function(e,t){return gie(e),void 0===t?e:xle?xle(e,t):function(){return e.apply(t,arguments);};},Ale=jie("iterator"),Ole=Array.prototype,kle=jie("iterator"),Ble=function(e){if(null!=e)return vie(e,kle)||vie(e,"@@iterator")||Rse[tue(e)];},Fle=koe.TypeError,Tle=function(e,t,n){var r,o;Gie(e);try{if(!(r=vie(e,"return"))){if("throw"===t)throw n;return n;}r=_oe(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return Gie(r),n;},_le=koe.TypeError,Ple=function(e,t){this.stopped=e,this.result=t;},jle=Ple.prototype,Nle=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),g=Cle(t,f),v=function(e){return r&&Tle(r,"normal",e),new Ple(!0,e);},y=function(e){return d?(Gie(e),h?g(e[0],e[1],v):g(e[0],e[1])):h?g(e,v):g(e);};if(p)r=e;else{if(!(o=Ble(e)))throw _le(pie(e)+" is not iterable");if(void 0!==(c=o)&&(Rse.Array===c||Ole[Ale]===c)){for(i=0,a=kae(e);a>i;i++)if((u=y(e[i]))&&tie(jle,u))return u;return new Ple(!1);}r=function(e,t){var n=arguments.length<2?Ble(e):t;if(gie(n))return Gie(_oe(n,e));throw Fle(pie(e)+" is not iterable");}(e,o);}for(s=r.next;!(l=_oe(s,r)).done;){try{u=y(l.value);}catch(e){Tle(r,"throw",e);}if("object"==typeof u&&u&&tie(jle,u))return u;}return new Ple(!1);},Ile=koe.TypeError,Lle=function(e,t){if(tie(t,e))return e;throw Ile("Incorrect invocation");},Rle=jie("iterator"),Mle=!1;try{var zle=0,$le={next:function(){return{done:!!zle++};},return:function(){Mle=!0;}};$le[Rle]=function(){return this;},Array.from($le,function(){throw 2;});}catch(Ml){}var Hle=function(e,t){if(!t&&!Mle)return!1;var n=!1;try{var r={};r[Rle]=function(){return{next:function(){return{done:n=!0};}};},e(r);}catch(e){}return n;},Vle=jie("species"),Ule=koe.Array,Wle=function(e,t){return new(function(e){var t;return Yae(e)&&(t=e.constructor,(lue(t)&&(t===Ule||Yae(t.prototype))||Joe(t)&&null===(t=t[Vle]))&&(t=void 0)),void 0===t?Ule:t;}(e))(0===t?0:t);},Gle=$oe([].push),qle=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Sie(s),g=qoe(h),v=Cle(l,c),y=kae(g),m=0,b=f||Wle,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Gle(w,d);}else switch(e){case 4:return!1;case 7:Gle(w,d);}return i?-1:r||o?o:w;};},Kle={forEach:qle(0),map:qle(1),filter:qle(2),some:qle(3),every:qle(4),find:qle(5),findIndex:qle(6),filterReject:qle(7)},Yle=Sle.getWeakData,Xle=hae.set,Zle=hae.getterFor,Jle=Kle.find,Qle=Kle.findIndex,ece=$oe([].splice),tce=0,nce=function(e){return e.frozen||(e.frozen=new rce());},rce=function(){this.entries=[];},oce=function(e,t){return Jle(e.entries,function(e){return e[0]===t;});};rce.prototype={get:function(e){var t=oce(this,e);if(t)return t[1];},has:function(e){return!!oce(this,e);},set:function(e,t){var n=oce(this,e);n?n[1]=t:this.entries.push([e,t]);},delete:function(e){var t=Qle(this.entries,function(t){return t[0]===e;});return~t&&ece(this.entries,t,1),!!~t;}};var ice,ace={getConstructor:function(e,t,n,r){var o=e(function(e,o){Lle(e,i),Xle(e,{type:t,id:tce++,frozen:void 0}),null!=o&&Nle(o,e[r],{that:e,AS_ENTRIES:n});}),i=o.prototype,a=Zle(t),u=function(e,t,n){var r=a(e),o=Yle(Gie(t),!0);return!0===o?nce(r).set(t,n):o[r.id]=n,e;};return gle(i,{delete:function(e){var t=a(this);if(!Joe(e))return!1;var n=Yle(e);return!0===n?nce(t).delete(e):n&&Cie(n,t.id)&&delete n[t.id];},has:function(e){var t=a(this);if(!Joe(e))return!1;var n=Yle(e);return!0===n?nce(t).has(e):n&&Cie(n,t.id);}}),gle(i,n?{get:function(e){var t=a(this);if(Joe(e)){var n=Yle(e);return!0===n?nce(t).get(e):n?n[t.id]:void 0;}},set:function(e,t){return u(this,e,t);}}:{add:function(e){return u(this,e,!0);}}),o;}},uce=hae.enforce,sce=!koe.ActiveXObject&&"ActiveXObject"in koe,lce=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0);};},cce=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=koe[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=$oe(u[e]);bae(u,e,"add"==e?function(e){return t(this,0===e?0:e),this;}:"delete"==e?function(e){return!(o&&!Joe(e))&&t(this,0===e?0:e);}:"get"==e?function(e){return o&&!Joe(e)?void 0:t(this,0===e?0:e);}:"has"==e?function(e){return!(o&&!Joe(e))&&t(this,0===e?0:e);}:function(e,n){return t(this,0===e?0:e,n),this;});};if(Gae(e,!Zoe(a)||!(o||u.forEach&&!Boe(function(){new a().entries().next();}))))s=n.getConstructor(t,e,r,i),Sle.enable();else if(Gae(e,!0)){var f=new s(),d=f[i](o?{}:-0,1)!=f,p=Boe(function(){f.has(1);}),h=Hle(function(e){new a(e);}),g=!o&&Boe(function(){for(var e=new a(),t=5;t--;)e[i](t,t);return!e.has(-0);});h||((s=t(function(e,t){Lle(e,u);var n=function(e,t,n){var r,o;return tle&&Zoe(r=t.constructor)&&r!==n&&Joe(o=r.prototype)&&o!==n.prototype&&tle(e,o),e;}(new a(),e,s);return null!=t&&Nle(t,n[i],{that:n,AS_ENTRIES:r}),n;})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear;}return l[e]=s,Kae({global:!0,forced:s!=a},l),Xse(s,e),o||n.setStrong(s,e,r),s;}("WeakMap",lce,ace);if(rae&&sce){ice=ace.getConstructor(lce,"WeakMap",!0),Sle.enable();var fce=cce.prototype,dce=$oe(fce.delete),pce=$oe(fce.has),hce=$oe(fce.get),gce=$oe(fce.set);gle(fce,{delete:function(e){if(Joe(e)&&!Ele(e)){var t=uce(this);return t.frozen||(t.frozen=new ice()),dce(this,e)||t.frozen.delete(e);}return dce(this,e);},has:function(e){if(Joe(e)&&!Ele(e)){var t=uce(this);return t.frozen||(t.frozen=new ice()),pce(this,e)||t.frozen.has(e);}return pce(this,e);},get:function(e){if(Joe(e)&&!Ele(e)){var t=uce(this);return t.frozen||(t.frozen=new ice()),pce(this,e)?hce(this,e):t.frozen.get(e);}return hce(this,e);},set:function(e,t){if(Joe(e)&&!Ele(e)){var n=uce(this);n.frozen||(n.frozen=new ice()),pce(this,e)?gce(this,e,t):n.frozen.set(e,t);}else gce(this,e,t);return this;}});}var vce={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},yce=zie("span").classList,mce=yce&&yce.constructor&&yce.constructor.prototype,bce=mce===Object.prototype?void 0:mce,wce=jie("iterator"),Ece=jie("toStringTag"),Dce=fle.values,Sce=function(e,t){if(e){if(e[wce]!==Dce)try{Xie(e,wce,Dce);}catch(t){e[wce]=Dce;}if(e[Ece]||Xie(e,Ece,t),vce[t])for(var n in fle)if(e[n]!==fle[n])try{Xie(e,n,fle[n]);}catch(t){e[n]=fle[n];}}};for(var xce in vce)Sce(koe[xce]&&koe[xce].prototype,xce);Sce(bce,"DOMTokenList");var Cce=function(e,t){var n=[][e];return!!n&&Boe(function(){n.call(null,t||function(){throw 1;},1);});},Ace=Kle.forEach,Oce=Cce("forEach")?[].forEach:function(e){return Ace(this,e,arguments.length>1?arguments[1]:void 0);},kce=function(e){if(e&&e.forEach!==Oce)try{Xie(e,"forEach",Oce);}catch(t){e.forEach=Oce;}};for(var Bce in vce)vce[Bce]&&kce(koe[Bce]&&koe[Bce].prototype);kce(bce);var Fce,Tce,_ce,Pce,jce=koe.Promise,Nce=jie("species"),Ice=/(?:ipad|iphone|ipod).*applewebkit/i.test(nie),Lce="process"==Uoe(koe.process),Rce=koe.setImmediate,Mce=koe.clearImmediate,zce=koe.process,$ce=koe.Dispatch,Hce=koe.Function,Vce=koe.MessageChannel,Uce=koe.String,Wce=0,Gce={};try{Fce=koe.location;}catch(Ml){}var qce=function(e){if(Cie(Gce,e)){var t=Gce[e];delete Gce[e],t();}},Kce=function(e){return function(){qce(e);};},Yce=function(e){qce(e.data);},Xce=function(e){koe.postMessage(Uce(e),Fce.protocol+"//"+Fce.host);};Rce&&Mce||(Rce=function(e){var t=due(arguments,1);return Gce[++Wce]=function(){rse(Zoe(e)?e:Hce(e),void 0,t);},Tce(Wce),Wce;},Mce=function(e){delete Gce[e];},Lce?Tce=function(e){zce.nextTick(Kce(e));}:$ce&&$ce.now?Tce=function(e){$ce.now(Kce(e));}:Vce&&!Ice?(Pce=(_ce=new Vce()).port2,_ce.port1.onmessage=Yce,Tce=Cle(Pce.postMessage,Pce)):koe.addEventListener&&Zoe(koe.postMessage)&&!koe.importScripts&&Fce&&"file:"!==Fce.protocol&&!Boe(Xce)?(Tce=Xce,koe.addEventListener("message",Yce,!1)):Tce="onreadystatechange"in zie("script")?function(e){kue.appendChild(zie("script")).onreadystatechange=function(){kue.removeChild(this),qce(e);};}:function(e){setTimeout(Kce(e),0);});var Zce,Jce,Qce,efe,tfe,nfe,rfe,ofe,ife={set:Rce,clear:Mce},afe=/ipad|iphone|ipod/i.test(nie)&&void 0!==koe.Pebble,ufe=/web0s(?!.*chrome)/i.test(nie),sfe=Vie.f,lfe=ife.set,cfe=koe.MutationObserver||koe.WebKitMutationObserver,ffe=koe.document,dfe=koe.process,pfe=koe.Promise,hfe=sfe(koe,"queueMicrotask"),gfe=hfe&&hfe.value;gfe||(Zce=function(){var e,t;for(Lce&&(e=dfe.domain)&&e.exit();Jce;){t=Jce.fn,Jce=Jce.next;try{t();}catch(e){throw Jce?efe():Qce=void 0,e;}}Qce=void 0,e&&e.enter();},Ice||Lce||ufe||!cfe||!ffe?!afe&&pfe&&pfe.resolve?((rfe=pfe.resolve(void 0)).constructor=pfe,ofe=Cle(rfe.then,rfe),efe=function(){ofe(Zce);}):Lce?efe=function(){dfe.nextTick(Zce);}:(lfe=Cle(lfe,koe),efe=function(){lfe(Zce);}):(tfe=!0,nfe=ffe.createTextNode(""),new cfe(Zce).observe(nfe,{characterData:!0}),efe=function(){nfe.data=tfe=!tfe;}));var vfe,yfe,mfe,bfe,wfe=gfe||function(e){var t={fn:e,next:void 0};Qce&&(Qce.next=t),Jce||(Jce=t,efe()),Qce=t;},Efe=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r;}),this.resolve=gie(t),this.reject=gie(n);},Dfe={f:function(e){return new Efe(e);}},Sfe=function(e){try{return{error:!1,value:e()};}catch(e){return{error:!0,value:e};}},xfe="object"==typeof window,Cfe=ife.set,Afe=jie("species"),Ofe="Promise",kfe=hae.getterFor(Ofe),Bfe=hae.set,Ffe=hae.getterFor(Ofe),Tfe=jce&&jce.prototype,_fe=jce,Pfe=Tfe,jfe=koe.TypeError,Nfe=koe.document,Ife=koe.process,Lfe=Dfe.f,Rfe=Lfe,Mfe=!!(Nfe&&Nfe.createEvent&&koe.dispatchEvent),zfe=Zoe(koe.PromiseRejectionEvent),$fe=!1,Hfe=Gae(Ofe,function(){var e=tae(_fe),t=e!==String(_fe);if(!t&&66===uie)return!0;if(uie>=51&&/native code/.test(e))return!1;var n=new _fe(function(e){e(1);}),r=function(e){e(function(){},function(){});};return(n.constructor={})[Afe]=r,!($fe=n.then(function(){})instanceof r)||!t&&xfe&&!zfe;}),Vfe=Hfe||!Hle(function(e){_fe.all(e).catch(function(){});}),Ufe=function(e){var t;return!(!Joe(e)||!Zoe(t=e.then))&&t;},Wfe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;wfe(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&Yfe(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(jfe("Promise-chain cycle")):(u=Ufe(a))?_oe(u,a,f,d):f(a)):d(r);}catch(e){p&&!s&&p.exit(),d(e);}}e.reactions=[],e.notified=!1,t&&!e.rejection&&qfe(e);});}},Gfe=function(e,t,n){var r,o;Mfe?((r=Nfe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),koe.dispatchEvent(r)):r={promise:t,reason:n},!zfe&&(o=koe["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=koe.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t));}("Unhandled promise rejection",n);},qfe=function(e){_oe(Cfe,koe,function(){var t,n=e.facade,r=e.value;if(Kfe(e)&&(t=Sfe(function(){Lce?Ife.emit("unhandledRejection",r,n):Gfe("unhandledrejection",n,r);}),e.rejection=Lce||Kfe(e)?2:1,t.error))throw t.value;});},Kfe=function(e){return 1!==e.rejection&&!e.parent;},Yfe=function(e){_oe(Cfe,koe,function(){var t=e.facade;Lce?Ife.emit("rejectionHandled",t):Gfe("rejectionhandled",t,e.value);});},Xfe=function(e,t,n){return function(r){e(t,r,n);};},Zfe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Wfe(e,!0));},Jfe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw jfe("Promise can't be resolved itself");var r=Ufe(t);r?wfe(function(){var n={done:!1};try{_oe(r,t,Xfe(Jfe,n,e),Xfe(Zfe,n,e));}catch(t){Zfe(n,t,e);}}):(e.value=t,e.state=1,Wfe(e,!1));}catch(t){Zfe({done:!1},t,e);}}};if(Hfe&&(Pfe=(_fe=function(e){Lle(this,Pfe),gie(e),_oe(vfe,this);var t=kfe(this);try{e(Xfe(Jfe,t),Xfe(Zfe,t));}catch(e){Zfe(t,e);}}).prototype,(vfe=function(e){Bfe(this,{type:Ofe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0});}).prototype=gle(Pfe,{then:function(e,t){var n=Ffe(this),r=n.reactions,o=Lfe(lse(this,_fe));return o.ok=!Zoe(e)||e,o.fail=Zoe(t)&&t,o.domain=Lce?Ife.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&Wfe(n,!1),o.promise;},catch:function(e){return this.then(void 0,e);}}),yfe=function(){var e=new vfe(),t=kfe(e);this.promise=e,this.resolve=Xfe(Jfe,t),this.reject=Xfe(Zfe,t);},Dfe.f=Lfe=function(e){return e===_fe||e===mfe?new yfe(e):Rfe(e);},Zoe(jce)&&Tfe!==Object.prototype)){bfe=Tfe.then,$fe||(bae(Tfe,"then",function(e,t){var n=this;return new _fe(function(e,t){_oe(bfe,n,e,t);}).then(e,t);},{unsafe:!0}),bae(Tfe,"catch",Pfe.catch,{unsafe:!0}));try{delete Tfe.constructor;}catch(Ml){}tle&&tle(Tfe,Pfe);}Kae({global:!0,wrap:!0,forced:Hfe},{Promise:_fe}),Xse(_fe,Ofe,!1),function(e){var t=eie("Promise"),n=Yie.f;Foe&&t&&!t[Nce]&&n(t,Nce,{configurable:!0,get:function(){return this;}});}(),mfe=eie(Ofe),Kae({target:Ofe,stat:!0,forced:Hfe},{reject:function(e){var t=Lfe(this);return _oe(t.reject,void 0,e),t.promise;}}),Kae({target:Ofe,stat:!0,forced:Hfe},{resolve:function(e){return function(e,t){if(Gie(e),Joe(t)&&t.constructor===e)return t;var n=Dfe.f(e);return(0,n.resolve)(t),n.promise;}(this,e);}}),Kae({target:Ofe,stat:!0,forced:Vfe},{all:function(e){var t=this,n=Lfe(t),r=n.resolve,o=n.reject,i=Sfe(function(){var n=gie(t.resolve),i=[],a=0,u=1;Nle(e,function(e){var s=a++,l=!1;u++,_oe(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i));},o);}),--u||r(i);});return i.error&&o(i.value),n.promise;},race:function(e){var t=this,n=Lfe(t),r=n.reject,o=Sfe(function(){var o=gie(t.resolve);Nle(e,function(e){_oe(o,t,e).then(n.resolve,r);});});return o.error&&r(o.value),n.promise;}});var Qfe=mae.PROPER,ede=RegExp.prototype,tde=ede.toString,nde=$oe(Eue),rde=Boe(function(){return"/a/b"!=tde.call({source:"a",flags:"b"});}),ode=Qfe&&"toString"!=tde.name;(rde||ode)&&bae(RegExp.prototype,"toString",function(){var e=Gie(this),t=wue(e.source),n=e.flags;return"/"+t+"/"+wue(void 0===n&&tie(ede,e)&&!("flags"in ede)?nde(e):n);},{unsafe:!0});var ide=mae.EXISTS,ade=Yie.f,ude=Function.prototype,sde=$oe(ude.toString),lde=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,cde=$oe(lde.exec);Foe&&!ide&&ade(ude,"name",{configurable:!0,get:function(){try{return cde(lde,sde(this))[1];}catch(e){return"";}}});var fde=new WeakMap();function dde(e){return e.getMenuConfig("uploadImage");}function pde(e,t){return Bse(this,void 0,void 0,function(){return Fse(this,function(n){return[2,new Promise(function(n){var r=new FileReader();r.readAsDataURL(t),r.onload=function(){var o=r.result;if(o){var i=o.toString(),a=0===i.indexOf("data:image")?"":i;M$(e,i,t.name,a),n("ok");}};})];});});}function hde(e,t){return Bse(this,void 0,void 0,function(){var n,r,o,i;return Fse(this,function(a){switch(a.label){case 0:return n=function(e){var t=fde.get(e);if(null!=t)return t;var n=dde(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=K_(kse(kse({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t);},onSuccess:function(t,n){if(a)return a(n,function(t,n,r){return M$(e,t,n,r);}),void r(t,n);var o=n.errno,u=void 0===o?1:o,s=n.data,l=void 0===s?{}:s;if(0===u){if(Array.isArray(l))l.forEach(function(t){var n=t.url,r=void 0===n?"":n,o=t.alt,i=void 0===o?"":o,a=t.href;M$(e,r,i,void 0===a?"":a);});else{var c=l.url,f=void 0===c?"":c,d=l.alt,p=void 0===d?"":d,h=l.href;M$(e,f,p,void 0===h?"":h);}r(t,n);}else i(t,n);},onError:function(e,t,n){u(e,t,n);}})),fde.set(e,t),t;}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2];}});});}function gde(e,t){var n,r;return Bse(this,void 0,void 0,function(){var o,i,a,u,s,l,c,f,d;return Fse(this,function(p){switch(p.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=dde(e),a=i.customUpload,u=i.base64LimitSize,p.label=1;case 1:p.trys.push([1,11,12,17]),s=Tse(o),p.label=2;case 2:return[4,s.next()];case 3:return(l=p.sent()).done?[3,10]:(c=l.value,f=c.size,u&&f<=u?[4,pde(e,c)]:[3,5]);case 4:return p.sent(),[3,9];case 5:return a?[4,a(c,function(t,n,r){return M$(e,t,n,r);})]:[3,7];case 6:return p.sent(),[3,9];case 7:return[4,hde(e,c)];case 8:p.sent(),p.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return d=p.sent(),n={error:d},[3,17];case 12:return p.trys.push([12,,15,16]),l&&!l.done&&(r=s.return)?[4,r.call(s)]:[3,14];case 13:p.sent(),p.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2];}});});}var vde=$oe([].join),yde=qoe!=Object,mde=Cce("join",",");Kae({target:"Array",proto:!0,forced:yde||!mde},{join:function(e){return vde(Xoe(this),void 0===e?",":e);}}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),dh&&(Mp.fn.remove=dh),Gp&&(Mp.fn.val=Gp),vh&&(Mp.fn.click=vh),Jp&&(Mp.fn.hide=Jp);var bde=function(){function e(){this.title=HP("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button";}return e.prototype.getValue=function(e){return"";},e.prototype.isActive=function(e){return!1;},e.prototype.isDisabled=function(e){return z$(e);},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage");},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(t,n,r){return M$(e,t,n,r);});else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=Mp("body"),s=Mp('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",function(){var t=s[0].files;gde(e,t);});}},e;}(),wde={menus:[{key:"uploadImage",factory:function(){return new bde();},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e;},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t);},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n);},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(z$(n))t(r);else if(r.getData("text/plain"))t(r);else{var o=r.files;o.length<=0?t(r):Array.prototype.slice.call(o).some(function(e){return"image"===function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return a;}(e.type.split("/"),1)[0];})?gde(e,o):t(r);}},n;}};MP("en",{highLightModule:{selectLang:"Language"}}),MP("zh-CN",{highLightModule:{selectLang:"选择语言"}});var Ede="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function Dde(e){var t={exports:{}};return e(t,t.exports),t.exports;}var Sde,xde,Cde=function(e){return e&&e.Math==Math&&e;},Ade=Cde("object"==typeof globalThis&&globalThis)||Cde("object"==typeof window&&window)||Cde("object"==typeof self&&self)||Cde("object"==typeof Ede&&Ede)||function(){return this;}()||Function("return this")(),Ode=Object.defineProperty,kde=function(e,t){try{Ode(Ade,e,{value:t,configurable:!0,writable:!0});}catch(n){Ade[e]=t;}return t;},Bde=Ade["__core-js_shared__"]||kde("__core-js_shared__",{}),Fde=Dde(function(e){(e.exports=function(e,t){return Bde[e]||(Bde[e]=void 0!==t?t:{});})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});}),Tde=Function.prototype,_de=Tde.bind,Pde=Tde.call,jde=_de&&_de.bind(Pde),Nde=_de?function(e){return e&&jde(Pde,e);}:function(e){return e&&function(){return Pde.apply(e,arguments);};},Ide=Ade.TypeError,Lde=function(e){if(null==e)throw Ide("Can't call method on "+e);return e;},Rde=Ade.Object,Mde=function(e){return Rde(Lde(e));},zde=Nde({}.hasOwnProperty),$de=Object.hasOwn||function(e,t){return zde(Mde(e),t);},Hde=0,Vde=Math.random(),Ude=Nde(1..toString),Wde=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ude(++Hde+Vde,36);},Gde=function(e){return"function"==typeof e;},qde=function(e){return Gde(e)?e:void 0;},Kde=function(e,t){return arguments.length<2?qde(Ade[e]):Ade[e]&&Ade[e][t];},Yde=Kde("navigator","userAgent")||"",Xde=Ade.process,Zde=Ade.Deno,Jde=Xde&&Xde.versions||Zde&&Zde.version,Qde=Jde&&Jde.v8;Qde&&(xde=(Sde=Qde.split("."))[0]>0&&Sde[0]<4?1:+(Sde[0]+Sde[1])),!xde&&Yde&&(!(Sde=Yde.match(/Edge\/(\d+)/))||Sde[1]>=74)&&(Sde=Yde.match(/Chrome\/(\d+)/))&&(xde=+Sde[1]);var epe=xde,tpe=function(e){try{return!!e();}catch(e){return!0;}},npe=!!Object.getOwnPropertySymbols&&!tpe(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&epe&&epe<41;}),rpe=npe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ope=Fde("wks"),ipe=Ade.Symbol,ape=ipe&&ipe.for,upe=rpe?ipe:ipe&&ipe.withoutSetter||Wde,spe=function(e){if(!$de(ope,e)||!npe&&"string"!=typeof ope[e]){var t="Symbol."+e;npe&&$de(ipe,e)?ope[e]=ipe[e]:ope[e]=rpe&&ape?ape(t):upe(t);}return ope[e];},lpe={};lpe[spe("toStringTag")]="z";var cpe="[object z]"===String(lpe),fpe=!tpe(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}),dpe=function(e){return"object"==typeof e?null!==e:Gde(e);},ppe=Ade.document,hpe=dpe(ppe)&&dpe(ppe.createElement),gpe=function(e){return hpe?ppe.createElement(e):{};},vpe=!fpe&&!tpe(function(){return 7!=Object.defineProperty(gpe("div"),"a",{get:function(){return 7;}}).a;}),ype=Ade.String,mpe=Ade.TypeError,bpe=function(e){if(dpe(e))return e;throw mpe(ype(e)+" is not an object");},wpe=Function.prototype.call,Epe=wpe.bind?wpe.bind(wpe):function(){return wpe.apply(wpe,arguments);},Dpe=Nde({}.isPrototypeOf),Spe=Ade.Object,xpe=rpe?function(e){return"symbol"==typeof e;}:function(e){var t=Kde("Symbol");return Gde(t)&&Dpe(t.prototype,Spe(e));},Cpe=Ade.String,Ape=function(e){try{return Cpe(e);}catch(e){return"Object";}},Ope=Ade.TypeError,kpe=function(e){if(Gde(e))return e;throw Ope(Ape(e)+" is not a function");},Bpe=function(e,t){var n=e[t];return null==n?void 0:kpe(n);},Fpe=Ade.TypeError,Tpe=Ade.TypeError,_pe=spe("toPrimitive"),Ppe=function(e){var t=function(e,t){if(!dpe(e)||xpe(e))return e;var n,r=Bpe(e,_pe);if(r){if(void 0===t&&(t="default"),n=Epe(r,e,t),!dpe(n)||xpe(n))return n;throw Tpe("Can't convert object to primitive value");}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Gde(n=e.toString)&&!dpe(r=Epe(n,e)))return r;if(Gde(n=e.valueOf)&&!dpe(r=Epe(n,e)))return r;if("string"!==t&&Gde(n=e.toString)&&!dpe(r=Epe(n,e)))return r;throw Fpe("Can't convert object to primitive value");}(e,t);}(e,"string");return xpe(t)?t:t+"";},jpe=Ade.TypeError,Npe=Object.defineProperty,Ipe={f:fpe?Npe:function(e,t,n){if(bpe(e),t=Ppe(t),bpe(n),vpe)try{return Npe(e,t,n);}catch(e){}if("get"in n||"set"in n)throw jpe("Accessors not supported");return"value"in n&&(e[t]=n.value),e;}},Lpe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},Rpe=fpe?function(e,t,n){return Ipe.f(e,t,Lpe(1,n));}:function(e,t,n){return e[t]=n,e;},Mpe=Nde(Function.toString);Gde(Bde.inspectSource)||(Bde.inspectSource=function(e){return Mpe(e);});var zpe,$pe,Hpe,Vpe=Bde.inspectSource,Upe=Ade.WeakMap,Wpe=Gde(Upe)&&/native code/.test(Vpe(Upe)),Gpe=Fde("keys"),qpe=function(e){return Gpe[e]||(Gpe[e]=Wde(e));},Kpe={},Ype=Ade.TypeError,Xpe=Ade.WeakMap;if(Wpe||Bde.state){var Zpe=Bde.state||(Bde.state=new Xpe()),Jpe=Nde(Zpe.get),Qpe=Nde(Zpe.has),ehe=Nde(Zpe.set);zpe=function(e,t){if(Qpe(Zpe,e))throw new Ype("Object already initialized");return t.facade=e,ehe(Zpe,e,t),t;},$pe=function(e){return Jpe(Zpe,e)||{};},Hpe=function(e){return Qpe(Zpe,e);};}else{var the=qpe("state");Kpe[the]=!0,zpe=function(e,t){if($de(e,the))throw new Ype("Object already initialized");return t.facade=e,Rpe(e,the,t),t;},$pe=function(e){return $de(e,the)?e[the]:{};},Hpe=function(e){return $de(e,the);};}var nhe={set:zpe,get:$pe,has:Hpe,enforce:function(e){return Hpe(e)?$pe(e):zpe(e,{});},getterFor:function(e){return function(t){var n;if(!dpe(t)||(n=$pe(t)).type!==e)throw Ype("Incompatible receiver, "+e+" required");return n;};}},rhe=Function.prototype,ohe=fpe&&Object.getOwnPropertyDescriptor,ihe=$de(rhe,"name"),ahe={EXISTS:ihe,PROPER:ihe&&"something"===function(){}.name,CONFIGURABLE:ihe&&(!fpe||fpe&&ohe(rhe,"name").configurable)},uhe=Dde(function(e){var t=ahe.CONFIGURABLE,n=nhe.get,r=nhe.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;Gde(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!$de(i,"name")||t&&i.name!==f)&&Rpe(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==Ade?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:Rpe(e,n,i)):l?e[n]=i:kde(n,i);})(Function.prototype,"toString",function(){return Gde(this)&&n(this).source||Vpe(this);});}),she=Nde({}.toString),lhe=Nde("".slice),che=function(e){return lhe(she(e),8,-1);},fhe=spe("toStringTag"),dhe=Ade.Object,phe="Arguments"==che(function(){return arguments;}()),hhe=cpe?che:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t];}catch(e){}}(t=dhe(e),fhe))?n:phe?che(t):"Object"==(r=che(t))&&Gde(t.callee)?"Arguments":r;},ghe=cpe?{}.toString:function(){return"[object "+hhe(this)+"]";};cpe||uhe(Object.prototype,"toString",ghe,{unsafe:!0});var vhe,yhe={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},mhe=gpe("span").classList,bhe=mhe&&mhe.constructor&&mhe.constructor.prototype,whe=bhe===Object.prototype?void 0:bhe,Ehe=Nde(Nde.bind),Dhe=Ade.Object,She=Nde("".split),xhe=tpe(function(){return!Dhe("z").propertyIsEnumerable(0);})?function(e){return"String"==che(e)?She(e,""):Dhe(e);}:Dhe,Che=Math.ceil,Ahe=Math.floor,Ohe=function(e){var t=+e;return t!=t||0===t?0:(t>0?Ahe:Che)(t);},khe=Math.min,Bhe=function(e){return e>0?khe(Ohe(e),9007199254740991):0;},Fhe=function(e){return Bhe(e.length);},The=Array.isArray||function(e){return"Array"==che(e);},_he=function(){},Phe=[],jhe=Kde("Reflect","construct"),Nhe=/^\s*(?:class|function)\b/,Ihe=Nde(Nhe.exec),Lhe=!Nhe.exec(_he),Rhe=function(e){if(!Gde(e))return!1;try{return jhe(_he,Phe,e),!0;}catch(e){return!1;}},Mhe=!jhe||tpe(function(){var e;return Rhe(Rhe.call)||!Rhe(Object)||!Rhe(function(){e=!0;})||e;})?function(e){if(!Gde(e))return!1;switch(hhe(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}return Lhe||!!Ihe(Nhe,Vpe(e));}:Rhe,zhe=spe("species"),$he=Ade.Array,Hhe=function(e,t){return new(function(e){var t;return The(e)&&(t=e.constructor,(Mhe(t)&&(t===$he||The(t.prototype))||dpe(t)&&null===(t=t[zhe]))&&(t=void 0)),void 0===t?$he:t;}(e))(0===t?0:t);},Vhe=Nde([].push),Uhe=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Mde(s),g=xhe(h),v=function(e,t){return kpe(e),void 0===t?e:Ehe?Ehe(e,t):function(){return e.apply(t,arguments);};}(l,c),y=Fhe(g),m=0,b=f||Hhe,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Vhe(w,d);}else switch(e){case 4:return!1;case 7:Vhe(w,d);}return i?-1:r||o?o:w;};},Whe=[Uhe(0),Uhe(1),Uhe(2),Uhe(3),Uhe(4),Uhe(5),Uhe(6),Uhe(7)][0],Ghe=(vhe=[].forEach)&&tpe(function(){vhe.call(null,function(){throw 1;},1);})?[].forEach:function(e){return Whe(this,e,arguments.length>1?arguments[1]:void 0);},qhe=function(e){if(e&&e.forEach!==Ghe)try{Rpe(e,"forEach",Ghe);}catch(t){e.forEach=Ghe;}};for(var Khe in yhe)yhe[Khe]&&qhe(Ade[Khe]&&Ade[Khe].prototype);qhe(whe);var Yhe={}.propertyIsEnumerable,Xhe=Object.getOwnPropertyDescriptor,Zhe={f:Xhe&&!Yhe.call({1:2},1)?function(e){var t=Xhe(this,e);return!!t&&t.enumerable;}:Yhe},Jhe=function(e){return xhe(Lde(e));},Qhe=Object.getOwnPropertyDescriptor,ege={f:fpe?Qhe:function(e,t){if(e=Jhe(e),t=Ppe(t),vpe)try{return Qhe(e,t);}catch(e){}if($de(e,t))return Lpe(!Epe(Zhe.f,e,t),e[t]);}},tge=Math.max,nge=Math.min,rge=function(e,t){var n=Ohe(e);return n<0?tge(n+t,0):nge(n,t);},oge=function(e){return function(t,n,r){var o,i=Jhe(t),a=Fhe(i),u=rge(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0;}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1;};},ige=(oge(!0),oge(!1)),age=Nde([].push),uge=function(e,t){var n,r=Jhe(e),o=0,i=[];for(n in r)!$de(Kpe,n)&&$de(r,n)&&age(i,n);for(;t.length>o;)$de(r,n=t[o++])&&(~ige(i,n)||age(i,n));return i;},sge=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lge=sge.concat("length","prototype"),cge={f:Object.getOwnPropertyNames||function(e){return uge(e,lge);}},fge={f:Object.getOwnPropertySymbols},dge=Nde([].concat),pge=Kde("Reflect","ownKeys")||function(e){var t=cge.f(bpe(e)),n=fge.f;return n?dge(t,n(e)):t;},hge=function(e,t){for(var n=pge(t),r=Ipe.f,o=ege.f,i=0;i<n.length;i++){var a=n[i];$de(e,a)||r(e,a,o(t,a));}},gge=/#|\.prototype\./,vge=function(e,t){var n=mge[yge(e)];return n==wge||n!=bge&&(Gde(t)?tpe(t):!!t);},yge=vge.normalize=function(e){return String(e).replace(gge,".").toLowerCase();},mge=vge.data={},bge=vge.NATIVE="N",wge=vge.POLYFILL="P",Ege=vge,Dge=ege.f,Sge=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Ade:l?Ade[u]||kde(u,{}):(Ade[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Dge(n,r))&&a.value:n[r],!Ege(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;hge(i,o);}(e.sham||o&&o.sham)&&Rpe(i,"sham",!0),uhe(n,r,i,e);}},xge=Object.keys||function(e){return uge(e,sge);},Cge=Object.assign,Age=Object.defineProperty,Oge=Nde([].concat),kge=!Cge||tpe(function(){if(fpe&&1!==Cge({b:1},Cge(Age({},"a",{enumerable:!0,get:function(){Age(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e;}),7!=Cge({},e)[n]||xge(Cge({},t)).join("")!=r;})?function(e,t){for(var n=Mde(e),r=arguments.length,o=1,i=fge.f,a=Zhe.f;r>o;)for(var u,s=xhe(arguments[o++]),l=i?Oge(xge(s),i(s)):xge(s),c=l.length,f=0;c>f;)u=l[f++],fpe&&!Epe(a,s,u)||(n[u]=s[u]);return n;}:Cge;Sge({target:"Object",stat:!0,forced:Object.assign!==kge},{assign:kge});var Bge=Dde(function(e){var t=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ");},type:function(e){return Object.prototype.toString.call(e).slice(8,-1);},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id;},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach(function(t,o){r[o]=e(t,n);}),r);default:return t;}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none";},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error();}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n];}return null;}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement;}return!!n;}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n;},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var u in i)if(i.hasOwnProperty(u)){if(u==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(u)||(a[u]=i[u]);}var l=r[e];return r[e]=a,o.languages.DFS(o.languages,function(t,n){n===l&&t!=e&&(this[t]=a);}),a;},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var u in t)if(t.hasOwnProperty(u)){n.call(t,u,t[u],r||u);var s=t[u],l=o.util.type(s);"Object"!==l||i[a(s)]?"Array"!==l||i[a(s)]||(i[a(s)]=!0,e(s,n,u,i)):(i[a(s)]=!0,e(s,n,null,i));}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t);},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback);},highlightElement:function(n,r,i){var a=o.util.getLanguage(n),u=o.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var s=n.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&(s.className=s.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var l={element:n,language:a,grammar:u,code:n.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),i&&i.call(l.element);}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(i&&i.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar){if(r&&e.Worker){var f=new Worker(o.filename);f.onmessage=function(e){c(e.data);},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}));}else c(o.highlight(l.code,l.grammar,l.language));}else c(o.util.encode(l.code));},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return o.hooks.run("before-tokenize",r),r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language);},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest;}var o=new s();return l(o,o.head,e),u(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t;}(o);},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t);},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t);}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length;}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i);}return o;}function u(e,t,n,r,s,f){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var g=p[h],v=g.inside,y=!!g.lookbehind,m=!!g.greedy,b=g.alias;if(m&&!g.pattern.global){var w=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,w+"g");}for(var E=g.pattern||g,D=r.next,S=s;D!==t.tail&&!(f&&S>=f.reach);S+=D.value.length,D=D.next){var x=D.value;if(t.length>e.length)return;if(!(x instanceof i)){var C,A=1;if(m){if(!(C=a(E,S,e,y)))break;var O=C.index,k=C.index+C[0].length,B=S;for(B+=D.value.length;O>=B;)B+=(D=D.next).value.length;if(S=B-=D.value.length,D.value instanceof i)continue;for(var F=D;F!==t.tail&&(B<k||"string"==typeof F.value);F=F.next)A++,B+=F.value.length;A--,x=e.slice(S,B),C.index-=S;}else if(!(C=a(E,0,x,y)))continue;O=C.index;var T=C[0],_=x.slice(0,O),P=x.slice(O+T.length),j=S+x.length;f&&j>f.reach&&(f.reach=j);var N=D.prev;if(_&&(N=l(t,N,_),S+=_.length),c(t,N,A),D=l(t,N,new i(d,v?o.tokenize(T,v):T,b,T)),P&&l(t,D,P),A>1){var I={cause:d+","+h,reach:j};u(e,t,n,D.prev,S,I),f&&I.reach>f.reach&&(f.reach=I.reach);}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0;}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o;}function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o;}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n);}),r;}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var u="";for(var s in i.attributes)u+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+u+">"+i.content+"</"+i.tag+">";},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close();},!1),o):o;var f=o.util.currentScript();function d(){o.manual||o.highlightAll();}if(f&&(o.filename=f.src,f.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var p=document.readyState;"loading"===p||"interactive"===p&&f&&f.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16);}return o;}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});/**
101690
+ * Prism: Lightweight, robust, elegant syntax highlighting
101691
+ *
101692
+ * @license MIT <https://opensource.org/licenses/MIT>
101693
+ * @author Lea Verou <https://lea.verou.me>
101694
+ * @namespace
101695
+ * @public
101696
+ */e.exports&&(e.exports=t),void 0!==Ede&&(Ede.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"));}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e;}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",i);}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}});}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"));}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',o=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",function(e){e.selector+=", "+r;}),t.hooks.add("before-sanity-check",function(o){var i=o.element;if(i.matches(r)){o.code="",i.setAttribute(n,"loading");var u=i.appendChild(document.createElement("CODE"));u.textContent="Loading…";var s=i.getAttribute("data-src"),l=o.language;if("none"===l){var c=(/\.(\w+)$/.exec(s)||[,"none"])[1];l=e[c]||c;}a(u,l),a(i,l);var f=t.plugins.autoloader;f&&f.loadLanguages(l);var d=new XMLHttpRequest();d.open("GET",s,!0),d.onreadystatechange=function(){4==d.readyState&&(d.status<400&&d.responseText?(i.setAttribute(n,"loaded"),u.textContent=d.responseText,t.highlightElement(u)):(i.setAttribute(n,"failed"),d.status>=400?u.textContent="✖ Error "+d.status+" while fetching file: "+d.statusText:u.textContent="✖ Error: File does not exist or is empty"));},d.send(null);}}),t.plugins.fileHighlight={highlight:function(e){for(var n,o=(e||document).querySelectorAll(r),i=0;n=o[i++];)t.highlightElement(n);}};var i=!1;t.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),t.plugins.fileHighlight.highlight.apply(this,arguments);};}function a(e,t){var n=e.className;n=n.replace(o," ")+" language-"+t,e.className=n.replace(/\s+/g," ").trim();}}();});!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,function(){return n;}).replace(/<BRACES>/g,function(){return r;}).replace(/<SPREAD>/g,function(){return o;}),RegExp(e,t);}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):"";},u=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=a(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s);}o.content&&"string"!=typeof o.content&&u(o.content);}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens);});}(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript;}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"));}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e;}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o);}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}});}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},u=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:u,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:u,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi);}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php");});}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source;})),lookbehind:!0,inside:{punctuation:/\./}}});}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source;});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source;})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n;})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"]);}(Prism),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")";});}function n(e,n,r){return RegExp(t(e,n),r||"");}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")";});return e.replace(/<<self>>/g,"[^\\s\\S]");}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b";}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),d=s(o+" "+i+" "+u),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),m=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),D=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,m]),S={keyword:c,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,C=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:RegExp(x),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,D]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:S},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:S},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[D,d,g]),inside:S}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[D,y]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[D]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:S}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,v,g,D,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(D),greedy:!0,inside:S},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=C+"|"+x,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),B=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),F=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,T=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,B]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[F,T]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[F]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[B]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var _=/:[^}\r\n]+/.source,P=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,_]),N=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[O]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,_]);function L(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,_]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/};}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:L(j,P)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:L(I,N)}]});}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby;}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift;}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash;}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t;}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")");}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r;}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n]);});}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var u=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(u=(/[a-z][\w-]*/i.exec(u)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,s]:a.alias.push(s):a.alias=[s];}}else e(o.content);}}(e.tokens);}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var i=t.classes[r],l=/language-(.+)/.exec(i);if(l){n=l[1];break;}}var c=e.languages[n];if(c)t.content=e.highlight(function(e){var t=e.replace(a,"");return t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):u[t]||e;});}(t.content),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n));});}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown;}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(e){if("groovy"===e.language&&"string"===e.type){var t=e.content[0];if("'"!=t){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===t&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push("/"===t?"regex":"gstring");}}});var Fge=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function Tge(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce(function(e,t){return e+Tge(t);},0);}var _ge,Pge=Ade.String,jge=function(e){if("Symbol"===hhe(e))throw TypeError("Cannot convert a Symbol value to a string");return Pge(e);},Nge=function(){var e=bpe(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t;},Ige=Ade.RegExp,Lge=tpe(function(){var e=Ige("a","y");return e.lastIndex=2,null!=e.exec("abcd");}),Rge=Lge||tpe(function(){return!Ige("a","y").sticky;}),Mge={BROKEN_CARET:Lge||tpe(function(){var e=Ige("^r","gy");return e.lastIndex=2,null!=e.exec("str");}),MISSED_STICKY:Rge,UNSUPPORTED_Y:Lge},zge=fpe?Object.defineProperties:function(e,t){bpe(e);for(var n,r=Jhe(t),o=xge(t),i=o.length,a=0;i>a;)Ipe.f(e,n=o[a++],r[n]);return e;},$ge=Kde("document","documentElement"),Hge=qpe("IE_PROTO"),Vge=function(){},Uge=function(e){return"<script>"+e+"<\/script>";},Wge=function(e){e.write(Uge("")),e.close();var t=e.parentWindow.Object;return e=null,t;},Gge=function(){try{_ge=new ActiveXObject("htmlfile");}catch(e){}var e,t;Gge="undefined"!=typeof document?document.domain&&_ge?Wge(_ge):((t=gpe("iframe")).style.display="none",$ge.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Uge("document.F=Object")),e.close(),e.F):Wge(_ge);for(var n=sge.length;n--;)delete Gge.prototype[sge[n]];return Gge();};Kpe[Hge]=!0;var qge,Kge,Yge=Object.create||function(e,t){var n;return null!==e?(Vge.prototype=bpe(e),n=new Vge(),Vge.prototype=null,n[Hge]=e):n=Gge(),void 0===t?n:zge(n,t);},Xge=Ade.RegExp,Zge=tpe(function(){var e=Xge(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags);}),Jge=Ade.RegExp,Qge=tpe(function(){var e=Jge("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c");}),eve=nhe.get,tve=Fde("native-string-replace",String.prototype.replace),nve=RegExp.prototype.exec,rve=nve,ove=Nde("".charAt),ive=Nde("".indexOf),ave=Nde("".replace),uve=Nde("".slice),sve=(Kge=/b*/g,Epe(nve,qge=/a/,"a"),Epe(nve,Kge,"a"),0!==qge.lastIndex||0!==Kge.lastIndex),lve=Mge.BROKEN_CARET,cve=void 0!==/()??/.exec("")[1];(sve||cve||lve||Zge||Qge)&&(rve=function(e){var t,n,r,o,i,a,u,s=this,l=eve(s),c=jge(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Epe(rve,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=lve&&s.sticky,h=Epe(Nge,s),g=s.source,v=0,y=c;if(p&&(h=ave(h,"y",""),-1===ive(h,"g")&&(h+="g"),y=uve(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==ove(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),cve&&(n=new RegExp("^"+g+"$(?!\\s)",h)),sve&&(r=s.lastIndex),o=Epe(nve,p?n:s,y),p?o?(o.input=uve(o.input,v),o[0]=uve(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:sve&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),cve&&o&&o.length>1&&Epe(tve,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);}),o&&d)for(o.groups=a=Yge(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o;});var fve=rve;Sge({target:"RegExp",proto:!0,forced:/./.exec!==fve},{exec:fve});var dve=Function.prototype,pve=dve.apply,hve=dve.bind,gve=dve.call,vve="object"==typeof Reflect&&Reflect.apply||(hve?gve.bind(pve):function(){return gve.apply(pve,arguments);}),yve=spe("species"),mve=RegExp.prototype,bve=spe("match"),wve=Ade.TypeError,Eve=spe("species"),Dve=Nde("".charAt),Sve=Nde("".charCodeAt),xve=Nde("".slice),Cve=function(e){return function(t,n){var r,o,i=jge(Lde(t)),a=Ohe(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Sve(i,a))<55296||r>56319||a+1===u||(o=Sve(i,a+1))<56320||o>57343?e?Dve(i,a):r:e?xve(i,a,a+2):o-56320+(r-55296<<10)+65536;};},Ave=(Cve(!1),Cve(!0)),Ove=function(e,t,n){return t+(n?Ave(e,t).length:1);},kve=Ade.Array,Bve=Math.max,Fve=function(e,t,n){for(var r,o,i,a,u=Fhe(e),s=rge(t,u),l=rge(void 0===n?u:n,u),c=kve(Bve(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],void 0,(a=Ppe(o))in r?Ipe.f(r,a,Lpe(0,i)):r[a]=i;return c.length=f,c;},Tve=Ade.TypeError,_ve=function(e,t){var n=e.exec;if(Gde(n)){var r=Epe(n,e,t);return null!==r&&bpe(r),r;}if("RegExp"===che(e))return Epe(fve,e,t);throw Tve("RegExp#exec called on incompatible receiver");},Pve=Mge.UNSUPPORTED_Y,jve=Math.min,Nve=[].push,Ive=Nde(/./.exec),Lve=Nde(Nve),Rve=Nde("".slice);!function(e,t,n,r){var o=spe(e),i=!tpe(function(){var t={};return t[o]=function(){return 7;},7!=""[e](t);}),a=i&&!tpe(function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[yve]=function(){return t;},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null;},t[o](""),!e;});if(!i||!a||n){var u=Nde(/./[o]),s=function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o,i=jge(Lde(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!dpe(r=e)||!(void 0!==(o=r[bve])?o:"RegExp"==che(r)))return Epe(t,i,e,a);for(var u,s,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=new RegExp(e.source,f+"g");(u=Epe(fve,p,i))&&!((s=p.lastIndex)>d&&(Lve(c,Rve(i,d,u.index)),u.length>1&&u.index<i.length&&vve(Nve,c,Fve(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&Ive(p,"")||Lve(c,""):Lve(c,Rve(i,d)),c.length>a?Fve(c,0,a):c;}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Epe(t,this,e,n);}:t,[function(t,n){var o=Lde(this),i=null==t?void 0:Bpe(t,e);return i?Epe(i,t,o,n):Epe(r,jge(o),t,n);},function(e,o){var i=bpe(this),a=jge(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=bpe(e).constructor;return void 0===r||null==(n=bpe(r)[Eve])?t:function(e){if(Mhe(e))return e;throw wve(Ape(e)+" is not a constructor");}(n);}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Pve?"g":"y"),f=new s(Pve?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===_ve(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=Pve?0:h;var v,y=_ve(f,Pve?Rve(a,h):a);if(null===y||(v=jve(Bhe(f.lastIndex+(Pve?h:0)),a.length))===p)h=Ove(a,h,l);else{if(Lve(g,Rve(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(Lve(g,y[m]),g.length===d)return g;h=p=v;}}return Lve(g,Rve(a,p)),g;}];}(o,""[e],function(e,t,n,r,o){var a=Nde(e),s=t.exec;return s===fve||s===mve.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1};});uhe(String.prototype,e,s[0]),uhe(mve,o,s[1]);}r&&Rpe(mve[o],"sham",!0);}("split",0,!!tpe(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments);};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1];}),Pve),Sge({global:!0},{globalThis:Ade}),Vp&&(Mp.fn.attr=Vp);var Mve=ahe.PROPER,zve=RegExp.prototype,$ve=zve.toString,Hve=Nde(Nge),Vve=tpe(function(){return"/a/b"!=$ve.call({source:"a",flags:"b"});}),Uve=Mve&&"toString"!=$ve.name;(Vve||Uve)&&uhe(RegExp.prototype,"toString",function(){var e=bpe(this),t=jge(e.source),n=e.flags;return"/"+t+"/"+jge(void 0===n&&Dpe(zve,e)&&!("flags"in zve)?Hve(e):n);},{unsafe:!0});var Wve=function(){function e(){this.title=HP("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115;}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("codeSelectLang").codeLangs,r=void 0===n?[]:n;t.push({text:"plain text",value:""}),r.forEach(function(e){var n=e.text,r=e.value;t.push({text:n,value:r});});var o=this.getValue(e);return t.forEach(function(e){e.value===o?e.selected=!0:delete e.selected;}),t;},e.prototype.isActive=function(e){return!1;},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t)return"";if(!Sf.isElement(t))return"";var n=t.language.toString(),r=e.getMenuConfig("codeSelectLang").codeLangs;return(void 0===r?[]:r).some(function(e){return e.value===n;})?n:"";},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e);},e.prototype.exec=function(e,t){if(null!=this.getSelectCodeElem(e)){var n={language:t.toString()};md.setNodes(e,n,{match:function(e){return QO.checkNodeType(e,"code");}});}},e.prototype.getSelectCodeElem=function(e){var t=QO.getSelectedNodeByType(e,"code");if(null==t)return null;var n=QO.getParentNode(e,t);return Sf.isElement(n)?"pre"!==n.type?null:t:null;},e;}(),Gve={renderStyle:function(e,t){var n=e,r=t,o="";return Fge.forEach(function(e){n[e]&&(o=e);}),o&&function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,{className:t});}(r,o="token "+o),r;},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Sf.isElement(t))return t;if("code"!==QO.getNodeType(t))return t;var o=t,i=r.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o;},menus:[{key:"codeSelectLang",factory:function(){return new Wve();},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=void 0===n?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>";}}]},qve=/"/g,Kve=Nde("".replace);Sge({target:"String",proto:!0,forced:tpe(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3;})},{anchor:function(e){return"a","name",t=e,n=jge(Lde(this)),r="<a",(r+=' name="'+Kve(jge(t),qve,"&quot;")+'"')+">"+n+"</a>";var t,n,r;}});var Yve=function(e){var t,n,r,o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error;}}return a;}(e,2),i=o[0],a=o[1],u=[],s=function(e){if(!ed.isText(e))return null;var t=QO.getParentNode(null,e);if(t&&"code"===QO.getNodeType(t)){var n=QO.getParentNode(null,t);if(n&&"pre"===QO.getNodeType(n))return t;}return null;}(i);if(null==s)return u;var l=s.language,c=void 0===l?"":l;if(!c)return u;var f=function(e,t){if(!t)return[];var n=Bge.languages[t];return n?Bge.tokenize(e.text,n):[];}(i,c),d=0;try{for(var p=/*! *****************************************************************************
101697
+ Copyright (c) Microsoft Corporation.
101698
+
101699
+ Permission to use, copy, modify, and/or distribute this software for any
101700
+ purpose with or without fee is hereby granted.
101701
+
101702
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101703
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101704
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101705
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101706
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101707
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101708
+ PERFORMANCE OF THIS SOFTWARE.
101709
+ ***************************************************************************** */function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}(f),h=p.next();!h.done;h=p.next()){var g=h.value,v=d+Tge(g);"string"!=typeof g&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:v},r)),d=v;}}catch(e){t={error:e};}finally{try{h&&!h.done&&(n=p.return)&&n.call(p);}finally{if(t)throw t.error;}}return u;},Xve=function(){return Xve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e;},Xve.apply(this,arguments);},Zve=function(){function e(){throw new Error("不能实例化\nCan not construct a instance");}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=Xve(Xve({},this.editorConfig),e);},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=Xve(Xve({},this.simpleEditorConfig),e);},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=Xve(Xve({},this.toolbarConfig),e);},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=Xve(Xve({},this.simpleToolbarConfig),e);},e.registerPlugin=function(e){this.plugins.push(e);},e.registerMenu=function(e,t){!function(e,t){var n=e.key,r=e.factory,o=e.config,i=oA(oA({},o),t||{});if(null!=nk[n])throw new Error("Duplicated key '"+n+"' in menu items");nk[n]=r,function(e,t){null!=t&&(tk[e]=t);}(n,i);}(e,t);},e.registerRenderElem=function(e){!function(e){var t=e.type,n=e.renderElem;zT[t||""]=n;}(e);},e.registerRenderStyle=function(e){!function(e){MT.push(e);}(e);},e.registerElemToHtml=function(e){!function(e){var t=e.type,n=e.elemToHtml;gk[t||""]=n;}(e);},e.registerStyleToHtml=function(e){!function(e){hk.push(e);}(e);},e.registerPreParseHtml=function(e){!function(e){rF.push(e);}(e);},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,n=e.parseElemHtml;iF[t]=n;}(e);},e.registerParseStyleHtml=function(e){!function(e){oF.push(e);}(e);},e.registerModule=function(e){Jve(e);},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e;}();/*! *****************************************************************************
101710
+ Copyright (c) Microsoft Corporation.
101711
+
101712
+ Permission to use, copy, modify, and/or distribute this software for any
101713
+ purpose with or without fee is hereby granted.
101714
+
101715
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
101716
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101717
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
101718
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101719
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
101720
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101721
+ PERFORMANCE OF THIS SOFTWARE.
101722
+ ***************************************************************************** */function Jve(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(e){return Zve.registerMenu(e);}),n&&n.forEach(function(e){return Zve.registerRenderElem(e);}),r&&Zve.registerRenderStyle(r),o&&o.forEach(function(e){return Zve.registerElemToHtml(e);}),i&&Zve.registerStyleToHtml(i),a&&a.forEach(function(e){return Zve.registerPreParseHtml(e);}),u&&u.forEach(function(e){return Zve.registerParseElemHtml(e);}),s&&Zve.registerParseStyleHtml(s),l&&Zve.registerPlugin(l);}Yq.forEach(function(e){return Jve(e);}),Jve(g0),Jve(J3),Jve(Doe),Jve(wde),Jve(Gve);var Qve='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>';var eye={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}};var tye={hoverbarKeys:Xve(Xve({},eye),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Zve.setEditorConfig(Xve(Xve({},tye),{decorate:Yve}));var nye={hoverbarKeys:eye};Zve.setSimpleEditorConfig(Xve(Xve({},nye),{decorate:Yve}));var rye={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:HP("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:HP("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:HP("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:HP("editor.image"),iconSvg:Qve,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:HP("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};Zve.setToolbarConfig(rye);var oye={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:HP("editor.image"),iconSvg:Qve,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function iye(e){void 0===e&&(e={});var t=e.selector,n=void 0===t?"":t,r=e.content,o=void 0===r?[]:r,i=e.html,a=e.config,u=void 0===a?{}:a,s=e.mode,l="simple"===(void 0===s?"default":s)?Zve.simpleEditorConfig:Zve.editorConfig,c=Xve(Xve({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return I_({selector:n,config:Xve(Xve(Xve({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:Zve.plugins});}function aye(e){var t=e.selector,n=e.editor,r=e.config,o=void 0===r?{}:r,i=e.mode,a=void 0===i?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var u="simple"===a?Zve.simpleToolbarConfig:Zve.toolbarConfig,s=function(e,t){if(null==e)throw new Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config,o=void 0===r?{}:r;if(function(e,t){return LF(e,"data-w-e-toolbar",t);}(e,n))throw new Error("Repeated create toolbar by selector '"+n+"'");var i=oA({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),a=new $_(n,i);return uO.set(a,e),sO.set(e,a),a;}(n,{selector:t,config:Xve(Xve({},u),o)});return s;}Zve.setSimpleToolbarConfig(oye);var uye={};
101723
+ ;// CONCATENATED MODULE: ./node_modules/@wangeditor/editor-for-vue/dist/index.esm.js
101724
+
101725
+ var index_esm_defProp = Object.defineProperty;
101726
+ var index_esm_defProps = Object.defineProperties;
101727
+ var index_esm_getOwnPropDescs = Object.getOwnPropertyDescriptors;
101728
+ var index_esm_getOwnPropSymbols = Object.getOwnPropertySymbols;
101729
+ var index_esm_hasOwnProp = Object.prototype.hasOwnProperty;
101730
+ var index_esm_propIsEnum = Object.prototype.propertyIsEnumerable;
101731
+
101732
+ var index_esm_defNormalProp = (obj, key, value) => key in obj ? index_esm_defProp(obj, key, {
101733
+ enumerable: true,
101734
+ configurable: true,
101735
+ writable: true,
101736
+ value
101737
+ }) : obj[key] = value;
101738
+
101739
+ var index_esm_spreadValues = (a, b) => {
101740
+ for (var prop in b || (b = {})) if (index_esm_hasOwnProp.call(b, prop)) index_esm_defNormalProp(a, prop, b[prop]);
101741
+
101742
+ if (index_esm_getOwnPropSymbols) for (var prop of index_esm_getOwnPropSymbols(b)) {
101743
+ if (index_esm_propIsEnum.call(b, prop)) index_esm_defNormalProp(a, prop, b[prop]);
101744
+ }
101745
+ return a;
101746
+ };
101747
+
101748
+ var index_esm_spreadProps = (a, b) => index_esm_defProps(a, index_esm_getOwnPropDescs(b));
101749
+
101750
+
101751
+
101752
+
101753
+ function genErrorInfo(fnName) {
101754
+ let info = `\u8BF7\u4F7F\u7528 '@${fnName}' \u4E8B\u4EF6\uFF0C\u4E0D\u8981\u653E\u5728 props \u4E2D`;
101755
+ info += `
101756
+ Please use '@${fnName}' event instead of props`;
101757
+ return info;
101758
+ }
101759
+
101760
+ var index_esm_export_sfc = (sfc, props) => {
101761
+ for (const [key, val] of props) {
101762
+ sfc[key] = val;
101763
+ }
101764
+
101765
+ return sfc;
101766
+ };
101767
+
101768
+ const _sfc_main$1 = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
101769
+ props: {
101770
+ mode: {
101771
+ type: String,
101772
+ default: "default"
101773
+ },
101774
+ defaultContent: {
101775
+ type: Array,
101776
+ default: []
101777
+ },
101778
+ defaultHtml: {
101779
+ type: String,
101780
+ default: ""
101781
+ },
101782
+ defaultConfig: {
101783
+ type: Object,
101784
+ default: {}
101785
+ },
101786
+ modelValue: {
101787
+ type: String,
101788
+ default: ""
101789
+ }
101790
+ },
101791
+
101792
+ setup(props, context) {
101793
+ const box = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(null);
101794
+ const editorRef = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.shallowRef)(null);
101795
+ const curValue = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)("");
101796
+
101797
+ const initEditor = () => {
101798
+ if (!box.value) return;
101799
+ const defaultContent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRaw)(props.defaultContent);
101800
+ iye({
101801
+ selector: box.value,
101802
+ mode: props.mode,
101803
+ content: defaultContent || [],
101804
+ html: props.defaultHtml || props.modelValue || "",
101805
+ config: index_esm_spreadProps(index_esm_spreadValues({}, props.defaultConfig), {
101806
+ onCreated(editor) {
101807
+ editorRef.value = editor;
101808
+ context.emit("onCreated", editor);
101809
+
101810
+ if (props.defaultConfig.onCreated) {
101811
+ const info = genErrorInfo("onCreated");
101812
+ throw new Error(info);
101813
+ }
101814
+ },
101815
+
101816
+ onChange(editor) {
101817
+ const editorHtml = editor.getHtml();
101818
+ curValue.value = editorHtml;
101819
+ context.emit("update:modelValue", editorHtml);
101820
+ context.emit("onChange", editor);
101821
+
101822
+ if (props.defaultConfig.onChange) {
101823
+ const info = genErrorInfo("onChange");
101824
+ throw new Error(info);
101825
+ }
101826
+ },
101827
+
101828
+ onDestroyed(editor) {
101829
+ context.emit("onDestroyed", editor);
101830
+
101831
+ if (props.defaultConfig.onDestroyed) {
101832
+ const info = genErrorInfo("onDestroyed");
101833
+ throw new Error(info);
101834
+ }
101835
+ },
101836
+
101837
+ onMaxLength(editor) {
101838
+ context.emit("onMaxLength", editor);
101839
+
101840
+ if (props.defaultConfig.onMaxLength) {
101841
+ const info = genErrorInfo("onMaxLength");
101842
+ throw new Error(info);
101843
+ }
101844
+ },
101845
+
101846
+ onFocus(editor) {
101847
+ context.emit("onFocus", editor);
101848
+
101849
+ if (props.defaultConfig.onFocus) {
101850
+ const info = genErrorInfo("onFocus");
101851
+ throw new Error(info);
101852
+ }
101853
+ },
101854
+
101855
+ onBlur(editor) {
101856
+ context.emit("onBlur", editor);
101857
+
101858
+ if (props.defaultConfig.onBlur) {
101859
+ const info = genErrorInfo("onBlur");
101860
+ throw new Error(info);
101861
+ }
101862
+ },
101863
+
101864
+ customAlert(info, type) {
101865
+ context.emit("customAlert", info, type);
101866
+
101867
+ if (props.defaultConfig.customAlert) {
101868
+ const info2 = genErrorInfo("customAlert");
101869
+ throw new Error(info2);
101870
+ }
101871
+ },
101872
+
101873
+ customPaste: (editor, event) => {
101874
+ if (props.defaultConfig.customPaste) {
101875
+ const info = genErrorInfo("customPaste");
101876
+ throw new Error(info);
101877
+ }
101878
+
101879
+ let res;
101880
+ context.emit("customPaste", editor, event, val => {
101881
+ res = val;
101882
+ });
101883
+ return res;
101884
+ }
101885
+ })
101886
+ });
101887
+ };
101888
+
101889
+ function setHtml(newHtml) {
101890
+ const editor = editorRef.value;
101891
+ if (editor == null) return;
101892
+ editor.setHtml(newHtml);
101893
+ }
101894
+
101895
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
101896
+ initEditor();
101897
+ });
101898
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, newVal => {
101899
+ if (newVal === curValue.value) return;
101900
+ setHtml(newVal);
101901
+ });
101902
+ return {
101903
+ box
101904
+ };
101905
+ }
101906
+
101907
+ });
101908
+
101909
+ const _hoisted_1$1 = {
101910
+ ref: "box",
101911
+ style: {
101912
+ "height": "100%"
101913
+ }
101914
+ };
101915
+
101916
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
101917
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", _hoisted_1$1, null, 512);
101918
+ }
101919
+
101920
+ var Editor = /* @__PURE__ */index_esm_export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
101921
+
101922
+ const index_esm_sfc_main = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
101923
+ props: {
101924
+ editor: {
101925
+ type: Object
101926
+ },
101927
+ mode: {
101928
+ type: String,
101929
+ default: "default"
101930
+ },
101931
+ defaultConfig: {
101932
+ type: Object,
101933
+ default: {}
101934
+ }
101935
+ },
101936
+
101937
+ setup(props) {
101938
+ const selector = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(null);
101939
+
101940
+ const create = editor => {
101941
+ if (!selector.value) return;
101942
+
101943
+ if (editor == null) {
101944
+ throw new Error("Not found instance of Editor when create <Toolbar/> component");
101945
+ }
101946
+
101947
+ if (QO.getToolbar(editor)) return;
101948
+ aye({
101949
+ editor,
101950
+ selector: selector.value || "<div></div>",
101951
+ mode: props.mode,
101952
+ config: props.defaultConfig
101953
+ });
101954
+ };
101955
+
101956
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watchEffect)(() => {
101957
+ const {
101958
+ editor
101959
+ } = props;
101960
+ if (editor == null) return;
101961
+ create(editor);
101962
+ });
101963
+ return {
101964
+ selector
101965
+ };
101966
+ }
101967
+
101968
+ });
101969
+
101970
+ const index_esm_hoisted_1 = {
101971
+ ref: "selector"
101972
+ };
101973
+
101974
+ function index_esm_sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
101975
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", index_esm_hoisted_1, null, 512);
101976
+ }
101977
+
101978
+ var Toolbar = /* @__PURE__ */index_esm_export_sfc(index_esm_sfc_main, [["render", index_esm_sfc_render]]);
101979
+
101980
+
101508
101981
  ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/form/index.vue?vue&type=script&lang=js
101509
101982
  /* unplugin-vue-components disabled */
101510
101983
 
101511
101984
 
101512
101985
 
101986
+ // import { data5 } from '../../examples/mock/data'
101987
+
101988
+ // 引入 css
101989
+
101513
101990
 
101514
101991
  const formvue_type_script_lang_js_default_ = {
101515
101992
  name: "jt-form",
101516
101993
  emits: ["switchChange", "focus", "blur", "casChange", "cusBtn"],
101994
+ components: {
101995
+ Editor: Editor,
101996
+ Toolbar: Toolbar
101997
+ },
101517
101998
  props: {
101518
101999
  id: {
101519
102000
  type: [String, Number],
@@ -101591,7 +102072,9 @@ const formvue_type_script_lang_js_default_ = {
101591
102072
  const ctx = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.getCurrentInstance)();
101592
102073
  let rulesMap = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
101593
102074
  const lazyLoadParams = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toRef)(props, "lazyLoadParams");
102075
+ const modelRemote = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => props.model);
101594
102076
  const isAutoInput = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
102077
+ const autoInputTable = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
101595
102078
  const autoQuery = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
101596
102079
  select: '',
101597
102080
  keywords: ''
@@ -101601,6 +102084,35 @@ const formvue_type_script_lang_js_default_ = {
101601
102084
  DataArray: [],
101602
102085
  Result: ""
101603
102086
  }]);
102087
+ let allData = [];
102088
+ let loading = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
102089
+ const page = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
102090
+ PageIndex: 1,
102091
+ PageRowCount: 50,
102092
+ total: 100
102093
+ }); //富文本编辑器
102094
+
102095
+ const editorRef = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.shallowRef)();
102096
+ const toolbarConfig = {};
102097
+
102098
+ const editorConfig = data => ({
102099
+ placeholder: data.placeholder ? data.placeholder : '请输入内容...',
102100
+ readOnly: data.readOnly ? data.readOnly : false,
102101
+ autoFocus: data.autoFocus ? data.autoFocus : true,
102102
+ maxLength: data.maxlength ? data.maxlength : null
102103
+ }); // 组件销毁时,也及时销毁编辑器
102104
+
102105
+
102106
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
102107
+ const editor = editorRef.value;
102108
+ if (editor == null) return;
102109
+ editor.destroy();
102110
+ });
102111
+
102112
+ const handleCreated = (editor, item) => {
102113
+ modelRemote.value[item.modelKey] = atob(modelRemote.value[item.modelKey]);
102114
+ editorRef.value = editor; // 记录 editor 实例,重要!
102115
+ };
101604
102116
 
101605
102117
  if (props.rules) {
101606
102118
  isShow.value = false;
@@ -101734,6 +102246,13 @@ const formvue_type_script_lang_js_default_ = {
101734
102246
 
101735
102247
 
101736
102248
  function validateAll() {
102249
+ props.formConfig.forEach(item => {
102250
+ console.log(item);
102251
+
102252
+ if (item.type == 'htmlarea') {
102253
+ modelRemote.value[item.modelKey + '_base64'] = btoa(modelRemote.value[item.modelKey]);
102254
+ }
102255
+ });
101737
102256
  return ctx.refs[props.id].validate();
101738
102257
  } //重置
101739
102258
 
@@ -101775,6 +102294,8 @@ const formvue_type_script_lang_js_default_ = {
101775
102294
  return 'YYYY';
101776
102295
  } else if (type == 'month' || type == 'monthrange') {
101777
102296
  return 'YYYY-MM';
102297
+ } else if (type == 'week') {
102298
+ return 'YYYY年第ww周';
101778
102299
  } else {
101779
102300
  return 'YYYY-MM-DD';
101780
102301
  }
@@ -101784,11 +102305,12 @@ const formvue_type_script_lang_js_default_ = {
101784
102305
  console.log(props.autoInputConfig);
101785
102306
  autoQuery.select = props.autoInputConfig?.defaultValue?.select;
101786
102307
  autoQuery.keywords = props.autoInputConfig?.defaultValue?.keywords;
101787
- const {
101788
- data
101789
- } = await props.axios.post(props.autoInputConfig.path + props.autoInputConfig.childPath, Object.assign(autoQuery, props.autoInputConfig.subParams));
101790
- autoTableData.value = data;
102308
+ page.PageIndex = 1;
102309
+ allData = [];
101791
102310
  isAutoInput.value = true;
102311
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
102312
+ load();
102313
+ });
101792
102314
  }
101793
102315
 
101794
102316
  function customEvents(type, data) {
@@ -101808,10 +102330,24 @@ const formvue_type_script_lang_js_default_ = {
101808
102330
  }
101809
102331
 
101810
102332
  async function search() {
102333
+ page.PageIndex = 1;
102334
+ allData = [];
102335
+ load();
102336
+ }
102337
+
102338
+ async function load() {
101811
102339
  const {
101812
102340
  data
101813
- } = await props.axios.post(props.autoInputConfig.path + props.autoInputConfig.childPath, Object.assign(autoQuery, props.autoInputConfig.subParams));
101814
- autoTableData.value = data;
102341
+ } = await props.axios.post(props.autoInputConfig.path + props.autoInputConfig.childPath, Object.assign(autoQuery, props.autoInputConfig.subParams), ...page);
102342
+ page.total = data.total;
102343
+ const temp = data;
102344
+ loading.value = true;
102345
+ autoTableData.value[0].retjson = temp[0].retjson;
102346
+ allData = allData.concat(temp[0].DataArray);
102347
+ autoInputTable.value.loadData(allData, () => {
102348
+ loading.value = false;
102349
+ page.PageIndex++;
102350
+ });
101815
102351
  }
101816
102352
 
101817
102353
  return {
@@ -101833,13 +102369,21 @@ const formvue_type_script_lang_js_default_ = {
101833
102369
  shortcuts: shortcuts,
101834
102370
  timeFormat,
101835
102371
  locale: zh_cn/* default */.Z,
101836
- modelRemote: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => props.model),
102372
+ modelRemote,
101837
102373
  openAutoInput,
101838
102374
  isAutoInput,
101839
102375
  autoQuery,
101840
102376
  autoTableData,
101841
102377
  customEvents,
101842
- search
102378
+ search,
102379
+ loading,
102380
+ page,
102381
+ load,
102382
+ autoInputTable,
102383
+ editorRef,
102384
+ toolbarConfig,
102385
+ editorConfig,
102386
+ handleCreated
101843
102387
  };
101844
102388
  }
101845
102389
 
@@ -101848,8 +102392,8 @@ const formvue_type_script_lang_js_default_ = {
101848
102392
 
101849
102393
  const __injectCSSVars__ = () => {
101850
102394
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(_ctx => ({
101851
- "3009b48e": _ctx.labelWidth,
101852
- "628cb856": _ctx.labelPosition
102395
+ "dfb6c348": _ctx.labelWidth,
102396
+ "d6cb4e5a": _ctx.labelPosition
101853
102397
  }));
101854
102398
  };
101855
102399
 
@@ -101862,10 +102406,10 @@ formvue_type_script_lang_js_default_.setup = __setup__ ? (props, ctx) => {
101862
102406
  /* harmony default export */ var formvue_type_script_lang_js = (formvue_type_script_lang_js_default_);
101863
102407
  ;// CONCATENATED MODULE: ./packages/form/index.vue?vue&type=script&lang=js
101864
102408
  /* unplugin-vue-components disabled */
101865
- ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/form/index.vue?vue&type=style&index=0&id=3d037279&lang=scss&scoped=true
102409
+ ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/form/index.vue?vue&type=style&index=0&id=4d86c9d4&lang=scss&scoped=true
101866
102410
  /* unplugin-vue-components disabled */// extracted by mini-css-extract-plugin
101867
102411
 
101868
- ;// CONCATENATED MODULE: ./packages/form/index.vue?vue&type=style&index=0&id=3d037279&lang=scss&scoped=true
102412
+ ;// CONCATENATED MODULE: ./packages/form/index.vue?vue&type=style&index=0&id=4d86c9d4&lang=scss&scoped=true
101869
102413
  /* unplugin-vue-components disabled */
101870
102414
  // EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
101871
102415
  var exportHelper = __webpack_require__(1620);
@@ -101877,7 +102421,7 @@ var exportHelper = __webpack_require__(1620);
101877
102421
  ;
101878
102422
 
101879
102423
 
101880
- const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(formvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-3d037279"]])
102424
+ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(formvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-4d86c9d4"]])
101881
102425
 
101882
102426
  /* harmony default export */ var packages_form = (__exports__);
101883
102427
  ;// CONCATENATED MODULE: ./packages/form/index.js
@@ -109392,18 +109936,18 @@ table_groupvue_type_script_lang_js_default_.setup = table_groupvue_type_script_l
109392
109936
  const table_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(table_groupvue_type_script_lang_js, [['render',table_groupvue_type_template_id_7d725444_scoped_true_render],['__scopeId',"data-v-7d725444"]])
109393
109937
 
109394
109938
  /* harmony default export */ var table_group = (table_group_exports_);
109395
- ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/tables/table-big-data.vue?vue&type=template&id=f60cf5ba&scoped=true
109939
+ ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/tables/table-big-data.vue?vue&type=template&id=0083a970&scoped=true
109396
109940
  /* unplugin-vue-components disabled */
109397
109941
 
109398
- const table_big_datavue_type_template_id_f60cf5ba_scoped_true_withScopeId = n => (_pushScopeId("data-v-f60cf5ba"), n = n(), _popScopeId(), n);
109942
+ const table_big_datavue_type_template_id_0083a970_scoped_true_withScopeId = n => (_pushScopeId("data-v-0083a970"), n = n(), _popScopeId(), n);
109399
109943
 
109400
- const table_big_datavue_type_template_id_f60cf5ba_scoped_true_hoisted_1 = {
109944
+ const table_big_datavue_type_template_id_0083a970_scoped_true_hoisted_1 = {
109401
109945
  key: 0,
109402
109946
  style: {
109403
109947
  "position": "relative"
109404
109948
  }
109405
109949
  };
109406
- function table_big_datavue_type_template_id_f60cf5ba_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
109950
+ function table_big_datavue_type_template_id_0083a970_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
109407
109951
  const _component_vxe_toolbar = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-toolbar");
109408
109952
 
109409
109953
  const _component_vxe_column = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-column");
@@ -109420,7 +109964,7 @@ function table_big_datavue_type_template_id_f60cf5ba_scoped_true_render(_ctx, _c
109420
109964
 
109421
109965
  const _directive_vxe_table_infinite_scroll = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDirective)("vxe-table-infinite-scroll");
109422
109966
 
109423
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, [_ctx.isTool ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", table_big_datavue_type_template_id_f60cf5ba_scoped_true_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_vxe_toolbar, {
109967
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, [_ctx.isTool ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", table_big_datavue_type_template_id_0083a970_scoped_true_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_vxe_toolbar, {
109424
109968
  class: "jt-toolbar",
109425
109969
  ref: "jtToolbarRef",
109426
109970
  custom: {
@@ -109497,7 +110041,7 @@ function table_big_datavue_type_template_id_f60cf5ba_scoped_true_render(_ctx, _c
109497
110041
  _: 3
109498
110042
  }, 16, ["class", "sort-config", "show-footer", "footer-method", "footer-span-method", "stripe", "span-method", "onCheckboxChange", "onCheckboxAll", "onRadioChange", "onCellClick", "onKeydown"])), [[_directive_vxe_table_infinite_scroll, $setup.loadMethod]])], 64);
109499
110043
  }
109500
- ;// CONCATENATED MODULE: ./packages/tables/table-big-data.vue?vue&type=template&id=f60cf5ba&scoped=true
110044
+ ;// CONCATENATED MODULE: ./packages/tables/table-big-data.vue?vue&type=template&id=0083a970&scoped=true
109501
110045
  /* unplugin-vue-components disabled */
109502
110046
  ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/tables/table-big-data.vue?vue&type=script&lang=js
109503
110047
  /* unplugin-vue-components disabled */
@@ -109580,7 +110124,7 @@ const table_big_datavue_type_script_lang_js_default_ = {
109580
110124
  });
109581
110125
 
109582
110126
  function loadMethod() {
109583
- if (pages.value && pages.value.currentIndex * pages.value.pageSize > pages.value.pageTotal) {
110127
+ if (pages.value && pages.value.PageIndex * pages.value.PageRowCount > pages.value.total) {
109584
110128
  ElMessage.info('数据已全部加载');
109585
110129
  return;
109586
110130
  }
@@ -109605,9 +110149,9 @@ const table_big_datavue_type_script_lang_js_default_ = {
109605
110149
 
109606
110150
  const table_big_datavue_type_script_lang_js_injectCSSVars_ = () => {
109607
110151
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(_ctx => ({
109608
- "2cc6c0f9": _ctx.headerBg,
109609
- "4b82628e": _ctx.stripeBg,
109610
- "c00aa192": _ctx.currentBg
110152
+ "d2344818": _ctx.headerBg,
110153
+ "445de9b4": _ctx.stripeBg,
110154
+ "79bef39c": _ctx.currentBg
109611
110155
  }));
109612
110156
  };
109613
110157
 
@@ -109620,10 +110164,10 @@ table_big_datavue_type_script_lang_js_default_.setup = table_big_datavue_type_sc
109620
110164
  /* harmony default export */ var table_big_datavue_type_script_lang_js = (table_big_datavue_type_script_lang_js_default_);
109621
110165
  ;// CONCATENATED MODULE: ./packages/tables/table-big-data.vue?vue&type=script&lang=js
109622
110166
  /* unplugin-vue-components disabled */
109623
- ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/tables/table-big-data.vue?vue&type=style&index=0&id=f60cf5ba&lang=scss&scoped=true
110167
+ ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/tables/table-big-data.vue?vue&type=style&index=0&id=0083a970&lang=scss&scoped=true
109624
110168
  /* unplugin-vue-components disabled */// extracted by mini-css-extract-plugin
109625
110169
 
109626
- ;// CONCATENATED MODULE: ./packages/tables/table-big-data.vue?vue&type=style&index=0&id=f60cf5ba&lang=scss&scoped=true
110170
+ ;// CONCATENATED MODULE: ./packages/tables/table-big-data.vue?vue&type=style&index=0&id=0083a970&lang=scss&scoped=true
109627
110171
  /* unplugin-vue-components disabled */
109628
110172
  ;// CONCATENATED MODULE: ./packages/tables/table-big-data.vue
109629
110173
  /* unplugin-vue-components disabled */
@@ -109633,7 +110177,7 @@ table_big_datavue_type_script_lang_js_default_.setup = table_big_datavue_type_sc
109633
110177
  ;
109634
110178
 
109635
110179
 
109636
- const table_big_data_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(table_big_datavue_type_script_lang_js, [['render',table_big_datavue_type_template_id_f60cf5ba_scoped_true_render],['__scopeId',"data-v-f60cf5ba"]])
110180
+ const table_big_data_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(table_big_datavue_type_script_lang_js, [['render',table_big_datavue_type_template_id_0083a970_scoped_true_render],['__scopeId',"data-v-0083a970"]])
109637
110181
 
109638
110182
  /* harmony default export */ var table_big_data = (table_big_data_exports_);
109639
110183
  ;// CONCATENATED MODULE: ./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[33].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js??ruleSet[1].rules[34].use[0]!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/tables/tree-table.vue?vue&type=template&id=501a54bc&scoped=true
@@ -117917,8 +118461,8 @@ var Point = function () {
117917
118461
  var mathMin = Math.min;
117918
118462
  var mathMax = Math.max;
117919
118463
  var BoundingRect_lt = new core_Point();
117920
- var rb = new core_Point();
117921
- var lb = new core_Point();
118464
+ var BoundingRect_rb = new core_Point();
118465
+ var BoundingRect_lb = new core_Point();
117922
118466
  var BoundingRect_rt = new core_Point();
117923
118467
  var minTv = new core_Point();
117924
118468
  var maxTv = new core_Point();
@@ -118131,18 +118675,18 @@ var BoundingRect = function () {
118131
118675
  return;
118132
118676
  }
118133
118677
 
118134
- BoundingRect_lt.x = lb.x = source.x;
118678
+ BoundingRect_lt.x = BoundingRect_lb.x = source.x;
118135
118679
  BoundingRect_lt.y = BoundingRect_rt.y = source.y;
118136
- rb.x = BoundingRect_rt.x = source.x + source.width;
118137
- rb.y = lb.y = source.y + source.height;
118680
+ BoundingRect_rb.x = BoundingRect_rt.x = source.x + source.width;
118681
+ BoundingRect_rb.y = BoundingRect_lb.y = source.y + source.height;
118138
118682
  BoundingRect_lt.transform(m);
118139
118683
  BoundingRect_rt.transform(m);
118140
- rb.transform(m);
118141
- lb.transform(m);
118142
- target.x = mathMin(BoundingRect_lt.x, rb.x, lb.x, BoundingRect_rt.x);
118143
- target.y = mathMin(BoundingRect_lt.y, rb.y, lb.y, BoundingRect_rt.y);
118144
- var maxX = mathMax(BoundingRect_lt.x, rb.x, lb.x, BoundingRect_rt.x);
118145
- var maxY = mathMax(BoundingRect_lt.y, rb.y, lb.y, BoundingRect_rt.y);
118684
+ BoundingRect_rb.transform(m);
118685
+ BoundingRect_lb.transform(m);
118686
+ target.x = mathMin(BoundingRect_lt.x, BoundingRect_rb.x, BoundingRect_lb.x, BoundingRect_rt.x);
118687
+ target.y = mathMin(BoundingRect_lt.y, BoundingRect_rb.y, BoundingRect_lb.y, BoundingRect_rt.y);
118688
+ var maxX = mathMax(BoundingRect_lt.x, BoundingRect_rb.x, BoundingRect_lb.x, BoundingRect_rt.x);
118689
+ var maxY = mathMax(BoundingRect_lt.y, BoundingRect_rb.y, BoundingRect_lb.y, BoundingRect_rt.y);
118146
118690
  target.width = maxX - target.x;
118147
118691
  target.height = maxY - target.y;
118148
118692
  };
@@ -127568,14 +128112,14 @@ var PathProxy_mathMax = Math.max;
127568
128112
  var PathProxy_mathCos = Math.cos;
127569
128113
  var PathProxy_mathSin = Math.sin;
127570
128114
  var mathAbs = Math.abs;
127571
- var PI = Math.PI;
127572
- var PathProxy_PI2 = PI * 2;
128115
+ var PathProxy_PI = Math.PI;
128116
+ var PathProxy_PI2 = PathProxy_PI * 2;
127573
128117
  var hasTypedArray = typeof Float32Array !== 'undefined';
127574
128118
  var tmpAngles = [];
127575
128119
 
127576
128120
  function modPI2(radian) {
127577
- var n = Math.round(radian / PI * 1e8) / 1e8;
127578
- return n % 2 * PI;
128121
+ var n = Math.round(radian / PathProxy_PI * 1e8) / 1e8;
128122
+ return n % 2 * PathProxy_PI;
127579
128123
  }
127580
128124
 
127581
128125
  function normalizeArcAngles(angles, anticlockwise) {
@@ -137779,7 +138323,7 @@ function shouldRetrieveDataByName(source) {
137779
138323
  * specific language governing permissions and limitations
137780
138324
  * under the License.
137781
138325
  */
137782
- var dataProvider_a, _b, _c; // TODO
138326
+ var dataProvider_a, dataProvider_b, dataProvider_c; // TODO
137783
138327
  // ??? refactor? check the outer usage of data provider.
137784
138328
  // merge with defaultDimValueGetter?
137785
138329
 
@@ -138004,19 +138548,19 @@ var countSimply = function (rawData, startIndex, dimsDef) {
138004
138548
  return rawData.length;
138005
138549
  };
138006
138550
 
138007
- var rawSourceDataCounterMap = (_b = {}, _b[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_COLUMN] = function (rawData, startIndex, dimsDef) {
138551
+ var rawSourceDataCounterMap = (dataProvider_b = {}, dataProvider_b[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_COLUMN] = function (rawData, startIndex, dimsDef) {
138008
138552
  return Math.max(0, rawData.length - startIndex);
138009
- }, _b[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_ROW] = function (rawData, startIndex, dimsDef) {
138553
+ }, dataProvider_b[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_ROW] = function (rawData, startIndex, dimsDef) {
138010
138554
  var row = rawData[0];
138011
138555
  return row ? Math.max(0, row.length - startIndex) : 0;
138012
- }, _b[types_SOURCE_FORMAT_OBJECT_ROWS] = countSimply, _b[SOURCE_FORMAT_KEYED_COLUMNS] = function (rawData, startIndex, dimsDef) {
138556
+ }, dataProvider_b[types_SOURCE_FORMAT_OBJECT_ROWS] = countSimply, dataProvider_b[SOURCE_FORMAT_KEYED_COLUMNS] = function (rawData, startIndex, dimsDef) {
138013
138557
  var dimName = dimsDef[0].name;
138014
138558
 
138015
138559
  if (false) {}
138016
138560
 
138017
138561
  var col = rawData[dimName];
138018
138562
  return col ? col.length : 0;
138019
- }, _b[types_SOURCE_FORMAT_ORIGINAL] = countSimply, _b);
138563
+ }, dataProvider_b[types_SOURCE_FORMAT_ORIGINAL] = countSimply, dataProvider_b);
138020
138564
  function getRawSourceDataCounter(sourceFormat, seriesLayoutBy) {
138021
138565
  var method = rawSourceDataCounterMap[getMethodMapKey(sourceFormat, seriesLayoutBy)];
138022
138566
 
@@ -138029,14 +138573,14 @@ var getRawValueSimply = function (dataItem, dimIndex, property) {
138029
138573
  return dataItem[dimIndex];
138030
138574
  };
138031
138575
 
138032
- var rawSourceValueGetterMap = (_c = {}, _c[SOURCE_FORMAT_ARRAY_ROWS] = getRawValueSimply, _c[types_SOURCE_FORMAT_OBJECT_ROWS] = function (dataItem, dimIndex, property) {
138576
+ var rawSourceValueGetterMap = (dataProvider_c = {}, dataProvider_c[SOURCE_FORMAT_ARRAY_ROWS] = getRawValueSimply, dataProvider_c[types_SOURCE_FORMAT_OBJECT_ROWS] = function (dataItem, dimIndex, property) {
138033
138577
  return dataItem[property];
138034
- }, _c[SOURCE_FORMAT_KEYED_COLUMNS] = getRawValueSimply, _c[types_SOURCE_FORMAT_ORIGINAL] = function (dataItem, dimIndex, property) {
138578
+ }, dataProvider_c[SOURCE_FORMAT_KEYED_COLUMNS] = getRawValueSimply, dataProvider_c[types_SOURCE_FORMAT_ORIGINAL] = function (dataItem, dimIndex, property) {
138035
138579
  // FIXME: In some case (markpoint in geo (geo-map.html)),
138036
138580
  // dataItem is {coord: [...]}
138037
138581
  var value = getDataItemValue(dataItem);
138038
138582
  return !(value instanceof Array) ? value : value[dimIndex];
138039
- }, _c[SOURCE_FORMAT_TYPED_ARRAY] = getRawValueSimply, _c);
138583
+ }, dataProvider_c[SOURCE_FORMAT_TYPED_ARRAY] = getRawValueSimply, dataProvider_c);
138040
138584
  function getRawSourceValueGetter(sourceFormat) {
138041
138585
  var method = rawSourceValueGetterMap[sourceFormat];
138042
138586
 
@@ -143179,7 +143723,7 @@ var roundSector_mathAbs = Math.abs;
143179
143723
  var roundSector_mathSqrt = Math.sqrt;
143180
143724
  var roundSector_mathMax = Math.max;
143181
143725
  var roundSector_mathMin = Math.min;
143182
- var e = 1e-4;
143726
+ var roundSector_e = 1e-4;
143183
143727
 
143184
143728
  function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
143185
143729
  var dx10 = x1 - x0;
@@ -143188,7 +143732,7 @@ function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
143188
143732
  var dy32 = y3 - y2;
143189
143733
  var t = dy32 * dx10 - dx32 * dy10;
143190
143734
 
143191
- if (t * t < e) {
143735
+ if (t * t < roundSector_e) {
143192
143736
  return;
143193
143737
  }
143194
143738
 
@@ -143299,15 +143843,15 @@ function roundSector_buildPath(ctx, shape) {
143299
143843
  var clockwise = !!shape.clockwise;
143300
143844
  var arc = roundSector_mathAbs(endAngle - startAngle);
143301
143845
  var mod = arc > roundSector_PI2 && arc % roundSector_PI2;
143302
- mod > e && (arc = mod);
143846
+ mod > roundSector_e && (arc = mod);
143303
143847
 
143304
- if (!(radius > e)) {
143848
+ if (!(radius > roundSector_e)) {
143305
143849
  ctx.moveTo(cx, cy);
143306
- } else if (arc > roundSector_PI2 - e) {
143850
+ } else if (arc > roundSector_PI2 - roundSector_e) {
143307
143851
  ctx.moveTo(cx + radius * roundSector_mathCos(startAngle), cy + radius * roundSector_mathSin(startAngle));
143308
143852
  ctx.arc(cx, cy, radius, startAngle, endAngle, !clockwise);
143309
143853
 
143310
- if (innerRadius > e) {
143854
+ if (innerRadius > roundSector_e) {
143311
143855
  ctx.moveTo(cx + innerRadius * roundSector_mathCos(endAngle), cy + innerRadius * roundSector_mathSin(endAngle));
143312
143856
  ctx.arc(cx, cy, innerRadius, endAngle, startAngle, clockwise);
143313
143857
  }
@@ -143332,7 +143876,7 @@ function roundSector_buildPath(ctx, shape) {
143332
143876
  var yrs = radius * roundSector_mathSin(startAngle);
143333
143877
  var xire = innerRadius * roundSector_mathCos(endAngle);
143334
143878
  var yire = innerRadius * roundSector_mathSin(endAngle);
143335
- var hasArc = arc > e;
143879
+ var hasArc = arc > roundSector_e;
143336
143880
 
143337
143881
  if (hasArc) {
143338
143882
  var cornerRadius = shape.cornerRadius;
@@ -143349,7 +143893,7 @@ function roundSector_buildPath(ctx, shape) {
143349
143893
  limitedOcrMax = ocrMax = roundSector_mathMax(ocrs, ocre);
143350
143894
  limitedIcrMax = icrMax = roundSector_mathMax(icrs, icre);
143351
143895
 
143352
- if (ocrMax > e || icrMax > e) {
143896
+ if (ocrMax > roundSector_e || icrMax > roundSector_e) {
143353
143897
  xre = radius * roundSector_mathCos(endAngle);
143354
143898
  yre = radius * roundSector_mathSin(endAngle);
143355
143899
  xirs = innerRadius * roundSector_mathCos(startAngle);
@@ -143374,7 +143918,7 @@ function roundSector_buildPath(ctx, shape) {
143374
143918
 
143375
143919
  if (!hasArc) {
143376
143920
  ctx.moveTo(cx + xrs, cy + yrs);
143377
- } else if (limitedOcrMax > e) {
143921
+ } else if (limitedOcrMax > roundSector_e) {
143378
143922
  var crStart = roundSector_mathMin(ocrStart, limitedOcrMax);
143379
143923
  var crEnd = roundSector_mathMin(ocrEnd, limitedOcrMax);
143380
143924
  var ct0 = computeCornerTangents(xirs, yirs, xrs, yrs, radius, crStart, clockwise);
@@ -143393,9 +143937,9 @@ function roundSector_buildPath(ctx, shape) {
143393
143937
  ctx.arc(cx, cy, radius, startAngle, endAngle, !clockwise);
143394
143938
  }
143395
143939
 
143396
- if (!(innerRadius > e) || !hasArc) {
143940
+ if (!(innerRadius > roundSector_e) || !hasArc) {
143397
143941
  ctx.lineTo(cx + xire, cy + yire);
143398
- } else if (limitedIcrMax > e) {
143942
+ } else if (limitedIcrMax > roundSector_e) {
143399
143943
  var crStart = roundSector_mathMin(icrStart, limitedIcrMax);
143400
143944
  var crEnd = roundSector_mathMin(icrEnd, limitedIcrMax);
143401
143945
  var ct0 = computeCornerTangents(xire, yire, xre, yre, innerRadius, -crEnd, clockwise);
@@ -144224,7 +144768,7 @@ var OrientedBoundingRect = function () {
144224
144768
 
144225
144769
 
144226
144770
 
144227
- var m = [];
144771
+ var IncrementalDisplayable_m = [];
144228
144772
 
144229
144773
  var IncrementalDisplayable = function (_super) {
144230
144774
  tslib_es6_extends(IncrementalDisplayable, _super);
@@ -144331,7 +144875,7 @@ var IncrementalDisplayable = function (_super) {
144331
144875
  var childRect = displayable.getBoundingRect().clone();
144332
144876
 
144333
144877
  if (displayable.needLocalTransform()) {
144334
- childRect.applyTransform(displayable.getLocalTransform(m));
144878
+ childRect.applyTransform(displayable.getLocalTransform(IncrementalDisplayable_m));
144335
144879
  }
144336
144880
 
144337
144881
  rect.union(childRect);
@@ -151569,11 +152113,11 @@ var extensionRegisters = {
151569
152113
  registerPainter(painterType, PainterCtor);
151570
152114
  }
151571
152115
  };
151572
- function use(ext) {
152116
+ function extension_use(ext) {
151573
152117
  if (util_isArray(ext)) {
151574
152118
  // use([ChartLine, ChartBar]);
151575
152119
  util_each(ext, function (singleExt) {
151576
- use(singleExt);
152120
+ extension_use(singleExt);
151577
152121
  });
151578
152122
  return;
151579
152123
  }
@@ -153168,7 +153712,7 @@ function installLabelLayout(registers) {
153168
153712
  // TODO will be treeshaked.
153169
153713
 
153170
153714
 
153171
- use(installLabelLayout);
153715
+ extension_use(installLabelLayout);
153172
153716
  ;// CONCATENATED MODULE: ./node_modules/zrender/lib/canvas/Layer.js
153173
153717
 
153174
153718
 
@@ -173599,7 +174143,7 @@ function installSimple_install(registers) {
173599
174143
 
173600
174144
  function scatter_install_install(registers) {
173601
174145
  // In case developer forget to include grid component
173602
- use(installSimple_install);
174146
+ extension_use(installSimple_install);
173603
174147
  registers.registerSeriesModel(ScatterSeries);
173604
174148
  registers.registerChartView(scatter_ScatterView);
173605
174149
  registers.registerLayout(pointsLayout('scatter'));
@@ -174946,7 +175490,7 @@ function radar_install_install(registers) {
174946
175490
 
174947
175491
 
174948
175492
  function chart_radar_install_install(registers) {
174949
- use(radar_install_install);
175493
+ extension_use(radar_install_install);
174950
175494
  registers.registerChartView(radar_RadarView);
174951
175495
  registers.registerSeriesModel(RadarSeries);
174952
175496
  registers.registerLayout(radarLayout);
@@ -177148,12 +177692,12 @@ var geoCoord = [126, 25];
177148
177692
  var nanhaiName = '南海诸岛';
177149
177693
  var nanhai_points = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];
177150
177694
 
177151
- for (var i = 0; i < nanhai_points.length; i++) {
177152
- for (var k = 0; k < nanhai_points[i].length; k++) {
177153
- nanhai_points[i][k][0] /= 10.5;
177154
- nanhai_points[i][k][1] /= -10.5 / 0.75;
177155
- nanhai_points[i][k][0] += geoCoord[0];
177156
- nanhai_points[i][k][1] += geoCoord[1];
177695
+ for (var nanhai_i = 0; nanhai_i < nanhai_points.length; nanhai_i++) {
177696
+ for (var nanhai_k = 0; nanhai_k < nanhai_points[nanhai_i].length; nanhai_k++) {
177697
+ nanhai_points[nanhai_i][nanhai_k][0] /= 10.5;
177698
+ nanhai_points[nanhai_i][nanhai_k][1] /= -10.5 / 0.75;
177699
+ nanhai_points[nanhai_i][nanhai_k][0] += geoCoord[0];
177700
+ nanhai_points[nanhai_i][nanhai_k][1] += geoCoord[1];
177157
177701
  }
177158
177702
  }
177159
177703
 
@@ -180467,7 +181011,7 @@ function geo_install_install(registers) {
180467
181011
 
180468
181012
 
180469
181013
  function map_install_install(registers) {
180470
- use(geo_install_install);
181014
+ extension_use(geo_install_install);
180471
181015
  registers.registerChartView(map_MapView);
180472
181016
  registers.registerSeriesModel(map_MapSeries);
180473
181017
  registers.registerLayout(mapSymbolLayout);
@@ -188423,9 +188967,9 @@ function lineNeedsDraw(pts) {
188423
188967
 
188424
188968
 
188425
188969
 
188426
- var v1 = [];
188427
- var v2 = [];
188428
- var v3 = [];
188970
+ var adjustEdge_v1 = [];
188971
+ var adjustEdge_v2 = [];
188972
+ var adjustEdge_v3 = [];
188429
188973
  var quadraticAt = curve_quadraticAt;
188430
188974
  var v2DistSquare = distSquare;
188431
188975
  var adjustEdge_mathAbs = Math.abs;
@@ -188440,9 +188984,9 @@ function intersectCurveCircle(curvePoints, center, radius) {
188440
188984
  var interval = 0.1;
188441
188985
 
188442
188986
  for (var _t = 0.1; _t <= 0.9; _t += 0.1) {
188443
- v1[0] = quadraticAt(p0[0], p1[0], p2[0], _t);
188444
- v1[1] = quadraticAt(p0[1], p1[1], p2[1], _t);
188445
- var diff = adjustEdge_mathAbs(v2DistSquare(v1, center) - radiusSquare);
188987
+ adjustEdge_v1[0] = quadraticAt(p0[0], p1[0], p2[0], _t);
188988
+ adjustEdge_v1[1] = quadraticAt(p0[1], p1[1], p2[1], _t);
188989
+ var diff = adjustEdge_mathAbs(v2DistSquare(adjustEdge_v1, center) - radiusSquare);
188446
188990
 
188447
188991
  if (diff < d) {
188448
188992
  d = diff;
@@ -188457,18 +189001,18 @@ function intersectCurveCircle(curvePoints, center, radius) {
188457
189001
  var next = t + interval; // v1[0] = quadraticAt(p0[0], p1[0], p2[0], prev);
188458
189002
  // v1[1] = quadraticAt(p0[1], p1[1], p2[1], prev);
188459
189003
 
188460
- v2[0] = quadraticAt(p0[0], p1[0], p2[0], t);
188461
- v2[1] = quadraticAt(p0[1], p1[1], p2[1], t);
188462
- v3[0] = quadraticAt(p0[0], p1[0], p2[0], next);
188463
- v3[1] = quadraticAt(p0[1], p1[1], p2[1], next);
188464
- var diff = v2DistSquare(v2, center) - radiusSquare;
189004
+ adjustEdge_v2[0] = quadraticAt(p0[0], p1[0], p2[0], t);
189005
+ adjustEdge_v2[1] = quadraticAt(p0[1], p1[1], p2[1], t);
189006
+ adjustEdge_v3[0] = quadraticAt(p0[0], p1[0], p2[0], next);
189007
+ adjustEdge_v3[1] = quadraticAt(p0[1], p1[1], p2[1], next);
189008
+ var diff = v2DistSquare(adjustEdge_v2, center) - radiusSquare;
188465
189009
 
188466
189010
  if (adjustEdge_mathAbs(diff) < 1e-2) {
188467
189011
  break;
188468
189012
  } // let prevDiff = v2DistSquare(v1, center) - radiusSquare;
188469
189013
 
188470
189014
 
188471
- var nextDiff = v2DistSquare(v3, center) - radiusSquare;
189015
+ var nextDiff = v2DistSquare(adjustEdge_v3, center) - radiusSquare;
188472
189016
  interval /= 2;
188473
189017
 
188474
189018
  if (diff < 0) {
@@ -194626,7 +195170,7 @@ function parallel_install_install(registers) {
194626
195170
 
194627
195171
 
194628
195172
  function chart_parallel_install_install(registers) {
194629
- use(parallel_install_install);
195173
+ extension_use(parallel_install_install);
194630
195174
  registers.registerChartView(parallel_ParallelView);
194631
195175
  registers.registerSeriesModel(ParallelSeries);
194632
195176
  registers.registerVisual(registers.PRIORITY.VISUAL.BRUSH, parallel_parallelVisual);
@@ -207800,8 +208344,8 @@ function axisPointer_install_install(registers) {
207800
208344
 
207801
208345
 
207802
208346
  function grid_install_install(registers) {
207803
- use(installSimple_install);
207804
- use(axisPointer_install_install);
208347
+ extension_use(installSimple_install);
208348
+ extension_use(axisPointer_install_install);
207805
208349
  }
207806
208350
  ;// CONCATENATED MODULE: ./node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js
207807
208351
  /*
@@ -209674,7 +210218,7 @@ function (_super) {
209674
210218
  }(view_Component);
209675
210219
 
209676
210220
  function polar_install_install(registers) {
209677
- use(axisPointer_install_install);
210221
+ extension_use(axisPointer_install_install);
209678
210222
  axis_AxisView.registerAxisPointerClass('PolarAxisPointer', axisPointer_PolarAxisPointer);
209679
210223
  registers.registerCoordinateSystem('polar', polar_polarCreator);
209680
210224
  registers.registerComponentModel(polar_PolarModel);
@@ -210489,8 +211033,8 @@ var singleCreator = {
210489
211033
 
210490
211034
 
210491
211035
 
210492
- var XY = ['x', 'y'];
210493
- var WH = ['width', 'height'];
211036
+ var SingleAxisPointer_XY = ['x', 'y'];
211037
+ var SingleAxisPointer_WH = ['width', 'height'];
210494
211038
 
210495
211039
  var SingleAxisPointer =
210496
211040
  /** @class */
@@ -210599,7 +211143,7 @@ function getPointDimIndex(axis) {
210599
211143
 
210600
211144
  function getGlobalExtent(coordSys, dimIndex) {
210601
211145
  var rect = coordSys.getRect();
210602
- return [rect[XY[dimIndex]], rect[XY[dimIndex]] + rect[WH[dimIndex]]];
211146
+ return [rect[SingleAxisPointer_XY[dimIndex]], rect[SingleAxisPointer_XY[dimIndex]] + rect[SingleAxisPointer_WH[dimIndex]]];
210603
211147
  }
210604
211148
 
210605
211149
  /* harmony default export */ var axisPointer_SingleAxisPointer = (SingleAxisPointer);
@@ -210673,7 +211217,7 @@ function (_super) {
210673
211217
  }(view_Component);
210674
211218
 
210675
211219
  function singleAxis_install_install(registers) {
210676
- use(axisPointer_install_install);
211220
+ extension_use(axisPointer_install_install);
210677
211221
  axis_AxisView.registerAxisPointerClass('SingleAxisPointer', axisPointer_SingleAxisPointer);
210678
211222
  registers.registerComponentView(SingleView); // Axis
210679
211223
 
@@ -216562,7 +217106,7 @@ function toolbox_install_install(registers) {
216562
217106
  registerFeature('dataView', feature_DataView);
216563
217107
  registerFeature('dataZoom', DataZoom);
216564
217108
  registerFeature('restore', Restore);
216565
- use(installDataZoomSelect_install);
217109
+ extension_use(installDataZoomSelect_install);
216566
217110
  }
216567
217111
  ;// CONCATENATED MODULE: ./node_modules/echarts/lib/component/tooltip/TooltipModel.js
216568
217112
  /*
@@ -218467,7 +219011,7 @@ function findComponentReference(payload, ecModel, api) {
218467
219011
 
218468
219012
 
218469
219013
  function tooltip_install_install(registers) {
218470
- use(axisPointer_install_install);
219014
+ extension_use(axisPointer_install_install);
218471
219015
  registers.registerComponentModel(tooltip_TooltipModel);
218472
219016
  registers.registerComponentView(tooltip_TooltipView);
218473
219017
  /**
@@ -225284,7 +225828,7 @@ function installScrollableLegendAction(registers) {
225284
225828
 
225285
225829
 
225286
225830
  function installLegendScroll_install(registers) {
225287
- use(installLegendPlain_install);
225831
+ extension_use(installLegendPlain_install);
225288
225832
  registers.registerComponentModel(legend_ScrollableLegendModel);
225289
225833
  registers.registerComponentView(legend_ScrollableLegendView);
225290
225834
  installScrollableLegendAction(registers);
@@ -225335,8 +225879,8 @@ function installLegendScroll_install(registers) {
225335
225879
 
225336
225880
 
225337
225881
  function legend_install_install(registers) {
225338
- use(installLegendPlain_install);
225339
- use(installLegendScroll_install);
225882
+ extension_use(installLegendPlain_install);
225883
+ extension_use(installLegendScroll_install);
225340
225884
  }
225341
225885
  ;// CONCATENATED MODULE: ./node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js
225342
225886
  /*
@@ -227089,8 +227633,8 @@ function installDataZoomSlider_install(registers) {
227089
227633
 
227090
227634
 
227091
227635
  function dataZoom_install_install(registers) {
227092
- use(installDataZoomInside_install);
227093
- use(installDataZoomSlider_install); // Do not install './dataZoomSelect',
227636
+ extension_use(installDataZoomInside_install);
227637
+ extension_use(installDataZoomSlider_install); // Do not install './dataZoomSelect',
227094
227638
  // since it only work for toolbox dataZoom.
227095
227639
  }
227096
227640
  ;// CONCATENATED MODULE: ./node_modules/echarts/lib/visual/visualDefault.js
@@ -230246,8 +230790,8 @@ function installVisualMapPiecewise_install(registers) {
230246
230790
 
230247
230791
 
230248
230792
  function visualMap_install_install(registers) {
230249
- use(installVisualMapContinuous_install);
230250
- use(installVisualMapPiecewise_install); // Do not install './dataZoomSelect',
230793
+ extension_use(installVisualMapContinuous_install);
230794
+ extension_use(installVisualMapPiecewise_install); // Do not install './dataZoomSelect',
230251
230795
  // since it only work for toolbox dataZoom.
230252
230796
  }
230253
230797
  ;// CONCATENATED MODULE: ./node_modules/echarts/lib/visual/aria.js
@@ -233614,10 +234158,10 @@ function installUniversalTransition(registers) {
233614
234158
  // Render via Canvas.
233615
234159
  // echarts.init(dom, null, { renderer: 'canvas' })
233616
234160
 
233617
- use([installCanvasRenderer_install]); // Render via SVG.
234161
+ extension_use([installCanvasRenderer_install]); // Render via SVG.
233618
234162
  // echarts.init(dom, null, { renderer: 'svg' })
233619
234163
 
233620
- use([installSVGRenderer_install]); // ----------------
234164
+ extension_use([installSVGRenderer_install]); // ----------------
233621
234165
  // Charts (series)
233622
234166
  // ----------------
233623
234167
  // All of the series types, for example:
@@ -233627,7 +234171,7 @@ use([installSVGRenderer_install]); // ----------------
233627
234171
  // }]
233628
234172
  // });
233629
234173
 
233630
- use([install_install, bar_install_install, pie_install_install, scatter_install_install, chart_radar_install_install, map_install_install, tree_install_install, treemap_install_install, graph_install_install, gauge_install_install, funnel_install_install, chart_parallel_install_install, sankey_install_install, boxplot_install_install, candlestick_install_install, effectScatter_install_install, lines_install_install, heatmap_install_install, installPictorialBar_install, themeRiver_install_install, sunburst_install_install, custom_install_install]); // -------------------
234174
+ extension_use([install_install, bar_install_install, pie_install_install, scatter_install_install, chart_radar_install_install, map_install_install, tree_install_install, treemap_install_install, graph_install_install, gauge_install_install, funnel_install_install, chart_parallel_install_install, sankey_install_install, boxplot_install_install, candlestick_install_install, effectScatter_install_install, lines_install_install, heatmap_install_install, installPictorialBar_install, themeRiver_install_install, sunburst_install_install, custom_install_install]); // -------------------
233631
234175
  // Coordinate systems
233632
234176
  // -------------------
233633
234177
  // All of the axis modules have been included in the
@@ -233642,7 +234186,7 @@ use([install_install, bar_install_install, pie_install_install, scatter_install_
233642
234186
  // series: [{...}]
233643
234187
  // });
233644
234188
 
233645
- use(grid_install_install); // `polar` coordinate system, for example:
234189
+ extension_use(grid_install_install); // `polar` coordinate system, for example:
233646
234190
  // chart.setOption({
233647
234191
  // polar: {...},
233648
234192
  // radiusAxis: {...},
@@ -233652,7 +234196,7 @@ use(grid_install_install); // `polar` coordinate system, for example:
233652
234196
  // }]
233653
234197
  // });
233654
234198
 
233655
- use(polar_install_install); // `geo` coordinate system, for example:
234199
+ extension_use(polar_install_install); // `geo` coordinate system, for example:
233656
234200
  // chart.setOption({
233657
234201
  // geo: {...},
233658
234202
  // series: [{
@@ -233660,14 +234204,14 @@ use(polar_install_install); // `geo` coordinate system, for example:
233660
234204
  // }]
233661
234205
  // });
233662
234206
 
233663
- use(geo_install_install); // `singleAxis` coordinate system (notice, it is a coordinate system
234207
+ extension_use(geo_install_install); // `singleAxis` coordinate system (notice, it is a coordinate system
233664
234208
  // with only one axis, work for chart like theme river), for example:
233665
234209
  // chart.setOption({
233666
234210
  // singleAxis: {...}
233667
234211
  // series: [{type: 'themeRiver', ...}]
233668
234212
  // });
233669
234213
 
233670
- use(singleAxis_install_install); // `parallel` coordinate system, only work for parallel series, for example:
234214
+ extension_use(singleAxis_install_install); // `parallel` coordinate system, only work for parallel series, for example:
233671
234215
  // chart.setOption({
233672
234216
  // parallel: {...},
233673
234217
  // parallelAxis: [{...}, ...],
@@ -233676,7 +234220,7 @@ use(singleAxis_install_install); // `parallel` coordinate system, only work for
233676
234220
  // }]
233677
234221
  // });
233678
234222
 
233679
- use(parallel_install_install); // `calendar` coordinate system. for example,
234223
+ extension_use(parallel_install_install); // `calendar` coordinate system. for example,
233680
234224
  // chart.setOptionp({
233681
234225
  // calendar: {...},
233682
234226
  // series: [{
@@ -233684,7 +234228,7 @@ use(parallel_install_install); // `calendar` coordinate system. for example,
233684
234228
  // }]
233685
234229
  // );
233686
234230
 
233687
- use(calendar_install_install); // ------------------
234231
+ extension_use(calendar_install_install); // ------------------
233688
234232
  // Other components
233689
234233
  // ------------------
233690
234234
  // `graphic` component, for example:
@@ -233692,17 +234236,17 @@ use(calendar_install_install); // ------------------
233692
234236
  // graphic: {...}
233693
234237
  // });
233694
234238
 
233695
- use(graphic_install_install); // `toolbox` component, for example:
234239
+ extension_use(graphic_install_install); // `toolbox` component, for example:
233696
234240
  // chart.setOption({
233697
234241
  // toolbox: {...}
233698
234242
  // });
233699
234243
 
233700
- use(toolbox_install_install); // `tooltip` component, for example:
234244
+ extension_use(toolbox_install_install); // `tooltip` component, for example:
233701
234245
  // chart.setOption({
233702
234246
  // tooltip: {...}
233703
234247
  // });
233704
234248
 
233705
- use(tooltip_install_install); // `axisPointer` component, for example:
234249
+ extension_use(tooltip_install_install); // `axisPointer` component, for example:
233706
234250
  // chart.setOption({
233707
234251
  // tooltip: {axisPointer: {...}, ...}
233708
234252
  // });
@@ -233711,7 +234255,7 @@ use(tooltip_install_install); // `axisPointer` component, for example:
233711
234255
  // axisPointer: {...}
233712
234256
  // });
233713
234257
 
233714
- use(axisPointer_install_install); // `brush` component, for example:
234258
+ extension_use(axisPointer_install_install); // `brush` component, for example:
233715
234259
  // chart.setOption({
233716
234260
  // brush: {...}
233717
234261
  // });
@@ -233720,89 +234264,89 @@ use(axisPointer_install_install); // `brush` component, for example:
233720
234264
  // tooltip: {feature: {brush: {...}}
233721
234265
  // })
233722
234266
 
233723
- use(brush_install_install); // `title` component, for example:
234267
+ extension_use(brush_install_install); // `title` component, for example:
233724
234268
  // chart.setOption({
233725
234269
  // title: {...}
233726
234270
  // });
233727
234271
 
233728
- use(title_install_install); // `timeline` component, for example:
234272
+ extension_use(title_install_install); // `timeline` component, for example:
233729
234273
  // chart.setOption({
233730
234274
  // timeline: {...}
233731
234275
  // });
233732
234276
 
233733
- use(timeline_install_install); // `markPoint` component, for example:
234277
+ extension_use(timeline_install_install); // `markPoint` component, for example:
233734
234278
  // chart.setOption({
233735
234279
  // series: [{markPoint: {...}}]
233736
234280
  // });
233737
234281
 
233738
- use(installMarkPoint_install); // `markLine` component, for example:
234282
+ extension_use(installMarkPoint_install); // `markLine` component, for example:
233739
234283
  // chart.setOption({
233740
234284
  // series: [{markLine: {...}}]
233741
234285
  // });
233742
234286
 
233743
- use(installMarkLine_install); // `markArea` component, for example:
234287
+ extension_use(installMarkLine_install); // `markArea` component, for example:
233744
234288
  // chart.setOption({
233745
234289
  // series: [{markArea: {...}}]
233746
234290
  // });
233747
234291
 
233748
- use(installMarkArea_install); // `legend` component not scrollable. for example:
234292
+ extension_use(installMarkArea_install); // `legend` component not scrollable. for example:
233749
234293
  // chart.setOption({
233750
234294
  // legend: {...}
233751
234295
  // });
233752
234296
 
233753
- use(legend_install_install); // `dataZoom` component including both `dataZoomInside` and `dataZoomSlider`.
234297
+ extension_use(legend_install_install); // `dataZoom` component including both `dataZoomInside` and `dataZoomSlider`.
233754
234298
 
233755
- use(dataZoom_install_install); // `dataZoom` component providing drag, pinch, wheel behaviors
234299
+ extension_use(dataZoom_install_install); // `dataZoom` component providing drag, pinch, wheel behaviors
233756
234300
  // inside coodinate system, for example:
233757
234301
  // chart.setOption({
233758
234302
  // dataZoom: {type: 'inside'}
233759
234303
  // });
233760
234304
 
233761
- use(installDataZoomInside_install); // `dataZoom` component providing a slider bar, for example:
234305
+ extension_use(installDataZoomInside_install); // `dataZoom` component providing a slider bar, for example:
233762
234306
  // chart.setOption({
233763
234307
  // dataZoom: {type: 'slider'}
233764
234308
  // });
233765
234309
 
233766
- use(installDataZoomSlider_install); // `visualMap` component including both `visualMapContinuous` and `visualMapPiecewise`.
234310
+ extension_use(installDataZoomSlider_install); // `visualMap` component including both `visualMapContinuous` and `visualMapPiecewise`.
233767
234311
 
233768
- use(visualMap_install_install); // `visualMap` component providing continuous bar, for example:
234312
+ extension_use(visualMap_install_install); // `visualMap` component providing continuous bar, for example:
233769
234313
  // chart.setOption({
233770
234314
  // visualMap: {type: 'continuous'}
233771
234315
  // });
233772
234316
 
233773
- use(installVisualMapContinuous_install); // `visualMap` component providing pieces bar, for example:
234317
+ extension_use(installVisualMapContinuous_install); // `visualMap` component providing pieces bar, for example:
233774
234318
  // chart.setOption({
233775
234319
  // visualMap: {type: 'piecewise'}
233776
234320
  // });
233777
234321
 
233778
- use(installVisualMapPiecewise_install); // `aria` component providing aria, for example:
234322
+ extension_use(installVisualMapPiecewise_install); // `aria` component providing aria, for example:
233779
234323
  // chart.setOption({
233780
234324
  // aria: {...}
233781
234325
  // });
233782
234326
 
233783
- use(aria_install_install); // dataset transform
234327
+ extension_use(aria_install_install); // dataset transform
233784
234328
  // chart.setOption({
233785
234329
  // dataset: {
233786
234330
  // transform: []
233787
234331
  // }
233788
234332
  // });
233789
234333
 
233790
- use(transform_install_install);
233791
- use(dataset_install_install); // universal transition
234334
+ extension_use(transform_install_install);
234335
+ extension_use(dataset_install_install); // universal transition
233792
234336
  // chart.setOption({
233793
234337
  // series: {
233794
234338
  // universalTransition: { enabled: true }
233795
234339
  // }
233796
234340
  // })
233797
234341
 
233798
- use(installUniversalTransition); // label layout
234342
+ extension_use(installUniversalTransition); // label layout
233799
234343
  // chart.setOption({
233800
234344
  // series: {
233801
234345
  // labelLayout: { hideOverlap: true }
233802
234346
  // }
233803
234347
  // })
233804
234348
 
233805
- use(installLabelLayout);
234349
+ extension_use(installLabelLayout);
233806
234350
  ;// CONCATENATED MODULE: ./packages/utils/chartMethods.js
233807
234351
  /*
233808
234352
  * @Author: leevan
@@ -234825,7 +235369,7 @@ const getPropertyFromData = function (node, prop) {
234825
235369
 
234826
235370
  let nodeIdSeed = 0;
234827
235371
 
234828
- class node_Node {
235372
+ class model_node_Node {
234829
235373
  constructor(options) {
234830
235374
  this.id = nodeIdSeed++;
234831
235375
  this.text = null;
@@ -234987,7 +235531,7 @@ class node_Node {
234987
235531
  insertChild(child, index, batch) {
234988
235532
  if (!child) throw new Error("InsertChild error: child is required.");
234989
235533
 
234990
- if (!(child instanceof node_Node)) {
235534
+ if (!(child instanceof model_node_Node)) {
234991
235535
  if (!batch) {
234992
235536
  const children = this.getChildren(true);
234993
235537
 
@@ -235004,9 +235548,9 @@ class node_Node {
235004
235548
  parent: this,
235005
235549
  store: this.store
235006
235550
  });
235007
- child = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(new node_Node(child));
235551
+ child = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(new model_node_Node(child));
235008
235552
 
235009
- if (child instanceof node_Node) {
235553
+ if (child instanceof model_node_Node) {
235010
235554
  child.initialize();
235011
235555
  }
235012
235556
  }
@@ -235318,7 +235862,7 @@ class TreeStore {
235318
235862
  }
235319
235863
 
235320
235864
  initialize() {
235321
- this.root = new node_Node({
235865
+ this.root = new model_node_Node({
235322
235866
  data: this.data,
235323
235867
  store: this
235324
235868
  });
@@ -235380,7 +235924,7 @@ class TreeStore {
235380
235924
  }
235381
235925
 
235382
235926
  getNode(data) {
235383
- if (data instanceof node_Node) return data;
235927
+ if (data instanceof model_node_Node) return data;
235384
235928
  const key = shared_esm_bundler_isObject(data) ? getNodeKey(this.key, data) : data;
235385
235929
  return this.nodesMap[key] || null;
235386
235930
  }
@@ -236079,7 +236623,7 @@ const tree_node_sfc_main = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defi
236079
236623
  },
236080
236624
  props: {
236081
236625
  node: {
236082
- type: node_Node,
236626
+ type: model_node_Node,
236083
236627
  default: () => ({})
236084
236628
  },
236085
236629
  props: {