fdb2 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,4 @@
1
1
  {
2
- "__plugin-vue_export-helper.js": {
3
- "file": "_plugin-vue_export-helper.js",
4
- "name": "_plugin-vue_export-helper",
5
- "imports": [
6
- "_rolldown-runtime.js"
7
- ]
8
- },
9
2
  "_bootstrap.css": {
10
3
  "file": "bootstrap.css",
11
4
  "src": "_bootstrap.css"
@@ -24,23 +17,6 @@
24
17
  "bootstrap-icons.woff"
25
18
  ]
26
19
  },
27
- "_modal.css": {
28
- "file": "modal.css",
29
- "src": "_modal.css"
30
- },
31
- "_modal.js": {
32
- "file": "modal.js",
33
- "name": "modal",
34
- "imports": [
35
- "__plugin-vue_export-helper.js",
36
- "_rolldown-runtime.js",
37
- "_bootstrap.js",
38
- "_vue.js"
39
- ],
40
- "css": [
41
- "modal.css"
42
- ]
43
- },
44
20
  "_rolldown-runtime.js": {
45
21
  "file": "rolldown-runtime.js",
46
22
  "name": "rolldown-runtime"
@@ -79,9 +55,8 @@
79
55
  "src": "src/platform/database/explorer.vue",
80
56
  "isDynamicEntry": true,
81
57
  "imports": [
82
- "__plugin-vue_export-helper.js",
58
+ "view/index.html",
83
59
  "_rolldown-runtime.js",
84
- "_modal.js",
85
60
  "_vue.js"
86
61
  ],
87
62
  "css": [
@@ -94,7 +69,7 @@
94
69
  "src": "src/platform/database/layout.vue",
95
70
  "isDynamicEntry": true,
96
71
  "imports": [
97
- "__plugin-vue_export-helper.js",
72
+ "view/index.html",
98
73
  "_rolldown-runtime.js",
99
74
  "_vue.js"
100
75
  ],
@@ -108,9 +83,7 @@
108
83
  "src": "view/index.html",
109
84
  "isEntry": true,
110
85
  "imports": [
111
- "__plugin-vue_export-helper.js",
112
86
  "_rolldown-runtime.js",
113
- "_modal.js",
114
87
  "_bootstrap.js",
115
88
  "_vue.js"
116
89
  ],
@@ -1,7 +1,6 @@
1
1
  import { i as __require, n as __esmMin, t as __commonJSMin } from "./rolldown-runtime.js";
2
2
  import { $ as toDisplayString, A as onBeforeUnmount, B as withDirectives, C as createTextVNode, J as ref, N as openBlock, P as renderList, Q as normalizeStyle, R as watch, S as createStaticVNode, T as defineComponent, Z as normalizeClass, _ as createBaseVNode, a as init_vue_router, b as createElementBlock, c as init_vue_runtime_esm_bundler, d as vModelSelect, f as vModelText, g as computed, h as Fragment, j as onMounted, k as nextTick, m as withModifiers, o as useRoute, p as vShow, s as useRouter, u as vModelCheckbox, v as createBlock, w as createVNode, x as createSlots, y as createCommentVNode, z as withCtx } from "./vue.js";
3
- import { n as init__plugin_vue_export_helper, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
4
- import { S as init_pinia, _ as request, a as showConfirm, c as init_modal$1, d as init_toast$1, g as init_base, h as toast_default, i as showAlert, l as modal_default, m as init_toast, n as init_modal$2, o as dataGrid_default, p as toast, s as init_dataGrid, t as getModalInstance, u as init_loading, x as defineStore } from "./modal.js";
3
+ import { _ as init_pinia, a as dataGrid_default, c as modal_default, d as toast, f as init_toast, g as defineStore, h as request, i as showConfirm, l as init_loading, m as init_base, n as init_modal$2, o as init_dataGrid, p as toast_default, r as showAlert, s as init_modal$1, t as getModalInstance, u as init_toast$1, v as _plugin_vue_export_helper_default, y as init__plugin_vue_export_helper } from "./index.js";
5
4
  //#region src/service/database.ts
6
5
  var ConnectionService, DatabaseService;
7
6
  var init_database = __esmMin((() => {
@@ -973,13 +972,15 @@ var init_connection = __esmMin((() => {
973
972
  return;
974
973
  }
975
974
  const result = await databaseService.getDatabases(connectionId);
976
- if (result && typeof result === "object" && "ret" in result && result.ret === 0) this.databases = (result.data || []).map((db) => ({
977
- name: db,
978
- size: 0,
979
- tableCount: 0,
980
- tables: []
981
- }));
982
- else if (Array.isArray(result)) this.databases = result.map((db) => ({
975
+ if (result && typeof result === "object" && "ret" in result && result.ret === 0) {
976
+ const dbList = result.data || [];
977
+ this.databases = dbList.map((db) => ({
978
+ name: db,
979
+ size: 0,
980
+ tableCount: 0,
981
+ tables: []
982
+ }));
983
+ } else if (Array.isArray(result)) this.databases = result.map((db) => ({
983
984
  name: db,
984
985
  size: 0,
985
986
  tableCount: 0,
@@ -3005,10 +3006,29 @@ var init_dist$11 = __esmMin((() => {
3005
3006
  highest: 0
3006
3007
  };
3007
3008
  Prec = {
3009
+ /**
3010
+ The highest precedence level, for extensions that should end up
3011
+ near the start of the precedence ordering.
3012
+ */
3008
3013
  highest: /* @__PURE__ */ prec(Prec_.highest),
3014
+ /**
3015
+ A higher-than-default precedence, for extensions that should
3016
+ come before those with default precedence.
3017
+ */
3009
3018
  high: /* @__PURE__ */ prec(Prec_.high),
3019
+ /**
3020
+ The default precedence, which is also used for extensions
3021
+ without an explicit precedence.
3022
+ */
3010
3023
  default: /* @__PURE__ */ prec(Prec_.default),
3024
+ /**
3025
+ A lower-than-default precedence.
3026
+ */
3011
3027
  low: /* @__PURE__ */ prec(Prec_.low),
3028
+ /**
3029
+ The lowest precedence level. Meant for things that should end up
3030
+ near the end of the extension order.
3031
+ */
3012
3032
  lowest: /* @__PURE__ */ prec(Prec_.lowest)
3013
3033
  };
3014
3034
  PrecExtension = class {
@@ -4195,7 +4215,8 @@ var init_dist$11 = __esmMin((() => {
4195
4215
  break;
4196
4216
  } else {
4197
4217
  let chunkPos = this.layer.chunkPos[this.chunkIndex], chunk = this.layer.chunk[this.chunkIndex];
4198
- this.from = chunkPos + chunk.from[this.rangeIndex];
4218
+ let from = chunkPos + chunk.from[this.rangeIndex];
4219
+ this.from = from;
4199
4220
  this.to = chunkPos + chunk.to[this.rangeIndex];
4200
4221
  this.value = chunk.value[this.rangeIndex];
4201
4222
  this.setRangeIndex(this.rangeIndex + 1);
@@ -4561,7 +4582,7 @@ var init_w3c_keyname = __esmMin((() => {
4561
4582
  for (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code];
4562
4583
  }));
4563
4584
  //#endregion
4564
- //#region node_modules/.pnpm/@codemirror+view@6.41.0/node_modules/@codemirror/view/dist/index.js
4585
+ //#region node_modules/.pnpm/@codemirror+view@6.41.1/node_modules/@codemirror/view/dist/index.js
4565
4586
  function combineAttrs(source, target) {
4566
4587
  for (let name in source) if (name == "class" && target.class) target.class += " " + source.class;
4567
4588
  else if (name == "style" && target.style) target.style += ";" + source.style;
@@ -8763,11 +8784,12 @@ var init_dist$10 = __esmMin((() => {
8763
8784
  return this.scan(positions, getRects);
8764
8785
  }
8765
8786
  if (closestDx) {
8766
- if (above && above.bottom > closestRect.top) {
8787
+ let { top, bottom } = closestRect;
8788
+ if (above && above.bottom > (top + top + bottom) / 3) {
8767
8789
  this.y = above.bottom - 1;
8768
8790
  return this.scan(positions, getRects);
8769
8791
  }
8770
- if (below && below.top < closestRect.bottom) {
8792
+ if (below && below.top < (top + bottom + bottom) / 3) {
8771
8793
  this.y = below.top + 1;
8772
8794
  return this.scan(positions, getRects);
8773
8795
  }
@@ -10059,7 +10081,8 @@ var init_dist$10 = __esmMin((() => {
10059
10081
  this.defaultTextDirection = Direction.LTR;
10060
10082
  this.visibleRanges = [];
10061
10083
  this.mustEnforceCursorAssoc = false;
10062
- this.heightOracle = new HeightOracle(state.facet(contentAttributes).some((v) => typeof v != "function" && v.class == "cm-lineWrapping"));
10084
+ let guessWrapping = state.facet(contentAttributes).some((v) => typeof v != "function" && v.class == "cm-lineWrapping");
10085
+ this.heightOracle = new HeightOracle(guessWrapping);
10063
10086
  this.stateDeco = staticDeco(state);
10064
10087
  this.heightMap = HeightMap.empty().applyChanges(this.stateDeco, Text.empty, this.heightOracle.setDoc(state.doc), [new ChangedRange(0, 0, 0, state.doc.length)]);
10065
10088
  for (let i = 0; i < 2; i++) {
@@ -12021,7 +12044,7 @@ var init_dist$10 = __esmMin((() => {
12021
12044
  }
12022
12045
  /**
12023
12046
  Create a theme extension. The first argument can be a
12024
- [`style-mod`](https://github.com/marijnh/style-mod#documentation)
12047
+ [`style-mod`](https://code.haverbeke.berlin/marijn/style-mod#documentation)
12025
12048
  style spec providing the styles for the theme. These will be
12026
12049
  prefixed with a generated class for the style.
12027
12050
 
@@ -12066,7 +12089,7 @@ var init_dist$10 = __esmMin((() => {
12066
12089
  };
12067
12090
  /**
12068
12091
  Facet to add a [style
12069
- module](https://github.com/marijnh/style-mod#documentation) to
12092
+ module](https://code.haverbeke.berlin/marijn/style-mod#documentation) to
12070
12093
  an editor view. The view will ensure that the module is
12071
12094
  mounted in its [document
12072
12095
  root](https://codemirror.net/6/docs/ref/#view.EditorView.constructor^config.root).
@@ -14672,89 +14695,369 @@ var init_dist$8 = __esmMin((() => {
14672
14695
  t = Tag.define;
14673
14696
  comment = t(), name = t(), typeName = t(name), propertyName = t(name), literal = t(), string = t(literal), number = t(literal), content = t(), heading = t(content), keyword = t(), operator = t(), punctuation = t(), bracket = t(punctuation), meta = t();
14674
14697
  tags = {
14698
+ /**
14699
+ A comment.
14700
+ */
14675
14701
  comment,
14702
+ /**
14703
+ A line [comment](#highlight.tags.comment).
14704
+ */
14676
14705
  lineComment: t(comment),
14706
+ /**
14707
+ A block [comment](#highlight.tags.comment).
14708
+ */
14677
14709
  blockComment: t(comment),
14710
+ /**
14711
+ A documentation [comment](#highlight.tags.comment).
14712
+ */
14678
14713
  docComment: t(comment),
14714
+ /**
14715
+ Any kind of identifier.
14716
+ */
14679
14717
  name,
14718
+ /**
14719
+ The [name](#highlight.tags.name) of a variable.
14720
+ */
14680
14721
  variableName: t(name),
14722
+ /**
14723
+ A type [name](#highlight.tags.name).
14724
+ */
14681
14725
  typeName,
14726
+ /**
14727
+ A tag name (subtag of [`typeName`](#highlight.tags.typeName)).
14728
+ */
14682
14729
  tagName: t(typeName),
14730
+ /**
14731
+ A property or field [name](#highlight.tags.name).
14732
+ */
14683
14733
  propertyName,
14734
+ /**
14735
+ An attribute name (subtag of [`propertyName`](#highlight.tags.propertyName)).
14736
+ */
14684
14737
  attributeName: t(propertyName),
14738
+ /**
14739
+ The [name](#highlight.tags.name) of a class.
14740
+ */
14685
14741
  className: t(name),
14742
+ /**
14743
+ A label [name](#highlight.tags.name).
14744
+ */
14686
14745
  labelName: t(name),
14746
+ /**
14747
+ A namespace [name](#highlight.tags.name).
14748
+ */
14687
14749
  namespace: t(name),
14750
+ /**
14751
+ The [name](#highlight.tags.name) of a macro.
14752
+ */
14688
14753
  macroName: t(name),
14754
+ /**
14755
+ A literal value.
14756
+ */
14689
14757
  literal,
14758
+ /**
14759
+ A string [literal](#highlight.tags.literal).
14760
+ */
14690
14761
  string,
14762
+ /**
14763
+ A documentation [string](#highlight.tags.string).
14764
+ */
14691
14765
  docString: t(string),
14766
+ /**
14767
+ A character literal (subtag of [string](#highlight.tags.string)).
14768
+ */
14692
14769
  character: t(string),
14770
+ /**
14771
+ An attribute value (subtag of [string](#highlight.tags.string)).
14772
+ */
14693
14773
  attributeValue: t(string),
14774
+ /**
14775
+ A number [literal](#highlight.tags.literal).
14776
+ */
14694
14777
  number,
14778
+ /**
14779
+ An integer [number](#highlight.tags.number) literal.
14780
+ */
14695
14781
  integer: t(number),
14782
+ /**
14783
+ A floating-point [number](#highlight.tags.number) literal.
14784
+ */
14696
14785
  float: t(number),
14786
+ /**
14787
+ A boolean [literal](#highlight.tags.literal).
14788
+ */
14697
14789
  bool: t(literal),
14790
+ /**
14791
+ Regular expression [literal](#highlight.tags.literal).
14792
+ */
14698
14793
  regexp: t(literal),
14794
+ /**
14795
+ An escape [literal](#highlight.tags.literal), for example a
14796
+ backslash escape in a string.
14797
+ */
14699
14798
  escape: t(literal),
14799
+ /**
14800
+ A color [literal](#highlight.tags.literal).
14801
+ */
14700
14802
  color: t(literal),
14803
+ /**
14804
+ A URL [literal](#highlight.tags.literal).
14805
+ */
14701
14806
  url: t(literal),
14807
+ /**
14808
+ A language keyword.
14809
+ */
14702
14810
  keyword,
14811
+ /**
14812
+ The [keyword](#highlight.tags.keyword) for the self or this
14813
+ object.
14814
+ */
14703
14815
  self: t(keyword),
14816
+ /**
14817
+ The [keyword](#highlight.tags.keyword) for null.
14818
+ */
14704
14819
  null: t(keyword),
14820
+ /**
14821
+ A [keyword](#highlight.tags.keyword) denoting some atomic value.
14822
+ */
14705
14823
  atom: t(keyword),
14824
+ /**
14825
+ A [keyword](#highlight.tags.keyword) that represents a unit.
14826
+ */
14706
14827
  unit: t(keyword),
14828
+ /**
14829
+ A modifier [keyword](#highlight.tags.keyword).
14830
+ */
14707
14831
  modifier: t(keyword),
14832
+ /**
14833
+ A [keyword](#highlight.tags.keyword) that acts as an operator.
14834
+ */
14708
14835
  operatorKeyword: t(keyword),
14836
+ /**
14837
+ A control-flow related [keyword](#highlight.tags.keyword).
14838
+ */
14709
14839
  controlKeyword: t(keyword),
14840
+ /**
14841
+ A [keyword](#highlight.tags.keyword) that defines something.
14842
+ */
14710
14843
  definitionKeyword: t(keyword),
14844
+ /**
14845
+ A [keyword](#highlight.tags.keyword) related to defining or
14846
+ interfacing with modules.
14847
+ */
14711
14848
  moduleKeyword: t(keyword),
14849
+ /**
14850
+ An operator.
14851
+ */
14712
14852
  operator,
14853
+ /**
14854
+ An [operator](#highlight.tags.operator) that dereferences something.
14855
+ */
14713
14856
  derefOperator: t(operator),
14857
+ /**
14858
+ Arithmetic-related [operator](#highlight.tags.operator).
14859
+ */
14714
14860
  arithmeticOperator: t(operator),
14861
+ /**
14862
+ Logical [operator](#highlight.tags.operator).
14863
+ */
14715
14864
  logicOperator: t(operator),
14865
+ /**
14866
+ Bit [operator](#highlight.tags.operator).
14867
+ */
14716
14868
  bitwiseOperator: t(operator),
14869
+ /**
14870
+ Comparison [operator](#highlight.tags.operator).
14871
+ */
14717
14872
  compareOperator: t(operator),
14873
+ /**
14874
+ [Operator](#highlight.tags.operator) that updates its operand.
14875
+ */
14718
14876
  updateOperator: t(operator),
14877
+ /**
14878
+ [Operator](#highlight.tags.operator) that defines something.
14879
+ */
14719
14880
  definitionOperator: t(operator),
14881
+ /**
14882
+ Type-related [operator](#highlight.tags.operator).
14883
+ */
14720
14884
  typeOperator: t(operator),
14885
+ /**
14886
+ Control-flow [operator](#highlight.tags.operator).
14887
+ */
14721
14888
  controlOperator: t(operator),
14889
+ /**
14890
+ Program or markup punctuation.
14891
+ */
14722
14892
  punctuation,
14893
+ /**
14894
+ [Punctuation](#highlight.tags.punctuation) that separates
14895
+ things.
14896
+ */
14723
14897
  separator: t(punctuation),
14898
+ /**
14899
+ Bracket-style [punctuation](#highlight.tags.punctuation).
14900
+ */
14724
14901
  bracket,
14902
+ /**
14903
+ Angle [brackets](#highlight.tags.bracket) (usually `<` and `>`
14904
+ tokens).
14905
+ */
14725
14906
  angleBracket: t(bracket),
14907
+ /**
14908
+ Square [brackets](#highlight.tags.bracket) (usually `[` and `]`
14909
+ tokens).
14910
+ */
14726
14911
  squareBracket: t(bracket),
14912
+ /**
14913
+ Parentheses (usually `(` and `)` tokens). Subtag of
14914
+ [bracket](#highlight.tags.bracket).
14915
+ */
14727
14916
  paren: t(bracket),
14917
+ /**
14918
+ Braces (usually `{` and `}` tokens). Subtag of
14919
+ [bracket](#highlight.tags.bracket).
14920
+ */
14728
14921
  brace: t(bracket),
14922
+ /**
14923
+ Content, for example plain text in XML or markup documents.
14924
+ */
14729
14925
  content,
14926
+ /**
14927
+ [Content](#highlight.tags.content) that represents a heading.
14928
+ */
14730
14929
  heading,
14930
+ /**
14931
+ A level 1 [heading](#highlight.tags.heading).
14932
+ */
14731
14933
  heading1: t(heading),
14934
+ /**
14935
+ A level 2 [heading](#highlight.tags.heading).
14936
+ */
14732
14937
  heading2: t(heading),
14938
+ /**
14939
+ A level 3 [heading](#highlight.tags.heading).
14940
+ */
14733
14941
  heading3: t(heading),
14942
+ /**
14943
+ A level 4 [heading](#highlight.tags.heading).
14944
+ */
14734
14945
  heading4: t(heading),
14946
+ /**
14947
+ A level 5 [heading](#highlight.tags.heading).
14948
+ */
14735
14949
  heading5: t(heading),
14950
+ /**
14951
+ A level 6 [heading](#highlight.tags.heading).
14952
+ */
14736
14953
  heading6: t(heading),
14954
+ /**
14955
+ A prose [content](#highlight.tags.content) separator (such as a horizontal rule).
14956
+ */
14737
14957
  contentSeparator: t(content),
14958
+ /**
14959
+ [Content](#highlight.tags.content) that represents a list.
14960
+ */
14738
14961
  list: t(content),
14962
+ /**
14963
+ [Content](#highlight.tags.content) that represents a quote.
14964
+ */
14739
14965
  quote: t(content),
14966
+ /**
14967
+ [Content](#highlight.tags.content) that is emphasized.
14968
+ */
14740
14969
  emphasis: t(content),
14970
+ /**
14971
+ [Content](#highlight.tags.content) that is styled strong.
14972
+ */
14741
14973
  strong: t(content),
14974
+ /**
14975
+ [Content](#highlight.tags.content) that is part of a link.
14976
+ */
14742
14977
  link: t(content),
14978
+ /**
14979
+ [Content](#highlight.tags.content) that is styled as code or
14980
+ monospace.
14981
+ */
14743
14982
  monospace: t(content),
14983
+ /**
14984
+ [Content](#highlight.tags.content) that has a strike-through
14985
+ style.
14986
+ */
14744
14987
  strikethrough: t(content),
14988
+ /**
14989
+ Inserted text in a change-tracking format.
14990
+ */
14745
14991
  inserted: t(),
14992
+ /**
14993
+ Deleted text.
14994
+ */
14746
14995
  deleted: t(),
14996
+ /**
14997
+ Changed text.
14998
+ */
14747
14999
  changed: t(),
15000
+ /**
15001
+ An invalid or unsyntactic element.
15002
+ */
14748
15003
  invalid: t(),
15004
+ /**
15005
+ Metadata or meta-instruction.
15006
+ */
14749
15007
  meta,
15008
+ /**
15009
+ [Metadata](#highlight.tags.meta) that applies to the entire
15010
+ document.
15011
+ */
14750
15012
  documentMeta: t(meta),
15013
+ /**
15014
+ [Metadata](#highlight.tags.meta) that annotates or adds
15015
+ attributes to a given syntactic element.
15016
+ */
14751
15017
  annotation: t(meta),
15018
+ /**
15019
+ Processing instruction or preprocessor directive. Subtag of
15020
+ [meta](#highlight.tags.meta).
15021
+ */
14752
15022
  processingInstruction: t(meta),
15023
+ /**
15024
+ [Modifier](#highlight.Tag^defineModifier) that indicates that a
15025
+ given element is being defined. Expected to be used with the
15026
+ various [name](#highlight.tags.name) tags.
15027
+ */
14753
15028
  definition: Tag.defineModifier("definition"),
15029
+ /**
15030
+ [Modifier](#highlight.Tag^defineModifier) that indicates that
15031
+ something is constant. Mostly expected to be used with
15032
+ [variable names](#highlight.tags.variableName).
15033
+ */
14754
15034
  constant: Tag.defineModifier("constant"),
15035
+ /**
15036
+ [Modifier](#highlight.Tag^defineModifier) used to indicate that
15037
+ a [variable](#highlight.tags.variableName) or [property
15038
+ name](#highlight.tags.propertyName) is being called or defined
15039
+ as a function.
15040
+ */
14755
15041
  function: Tag.defineModifier("function"),
15042
+ /**
15043
+ [Modifier](#highlight.Tag^defineModifier) that can be applied to
15044
+ [names](#highlight.tags.name) to indicate that they belong to
15045
+ the language's standard environment.
15046
+ */
14756
15047
  standard: Tag.defineModifier("standard"),
15048
+ /**
15049
+ [Modifier](#highlight.Tag^defineModifier) that indicates a given
15050
+ [names](#highlight.tags.name) is local to some scope.
15051
+ */
14757
15052
  local: Tag.defineModifier("local"),
15053
+ /**
15054
+ A generic variant [modifier](#highlight.Tag^defineModifier) that
15055
+ can be used to tag language-specific alternative variants of
15056
+ some common tag. It is recommended for themes to define special
15057
+ forms of at least the [string](#highlight.tags.string) and
15058
+ [variable name](#highlight.tags.variableName) tags, since those
15059
+ come up a lot.
15060
+ */
14758
15061
  special: Tag.defineModifier("special")
14759
15062
  };
14760
15063
  for (let name in tags) {
@@ -17292,7 +17595,7 @@ var init_dist$6 = __esmMin((() => {
17292
17595
  ].concat(standardKeymap);
17293
17596
  }));
17294
17597
  //#endregion
17295
- //#region node_modules/.pnpm/@lezer+lr@1.4.9/node_modules/@lezer/lr/dist/index.js
17598
+ //#region node_modules/.pnpm/@lezer+lr@1.4.10/node_modules/@lezer/lr/dist/index.js
17296
17599
  function decodeArray(input, Type = Uint16Array) {
17297
17600
  if (typeof input != "string") return input;
17298
17601
  let array = null;
@@ -17495,15 +17798,11 @@ var init_dist$5 = __esmMin((() => {
17495
17798
  */
17496
17799
  storeNode(term, start, end, size = 4, mustSink = false) {
17497
17800
  if (term == 0 && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
17498
- let cur = this, top = this.buffer.length;
17499
- if (top == 0 && cur.parent) {
17500
- top = cur.bufferBase - cur.parent.bufferBase;
17501
- cur = cur.parent;
17502
- }
17503
- if (top > 0 && cur.buffer[top - 4] == 0 && cur.buffer[top - 1] > -1) {
17801
+ let top = this.buffer.length;
17802
+ if (top > 0 && this.buffer[top - 4] == 0 && this.buffer[top - 1] > -1) {
17504
17803
  if (start == end) return;
17505
- if (cur.buffer[top - 2] >= start) {
17506
- cur.buffer[top - 2] = end;
17804
+ if (this.buffer[top - 2] >= start) {
17805
+ this.buffer[top - 2] = end;
17507
17806
  return;
17508
17807
  }
17509
17808
  }
@@ -17579,6 +17878,7 @@ var init_dist$5 = __esmMin((() => {
17579
17878
  split() {
17580
17879
  let parent = this;
17581
17880
  let off = parent.buffer.length;
17881
+ if (off && parent.buffer[off - 4] == 0) off -= 4;
17582
17882
  while (off > 0 && parent.buffer[off - 2] > parent.reducePos) off -= 4;
17583
17883
  let buffer = parent.buffer.slice(off), base = parent.bufferBase + off;
17584
17884
  while (parent && base == parent.bufferBase) parent = parent.parent;
@@ -17801,7 +18101,8 @@ var init_dist$5 = __esmMin((() => {
17801
18101
  this.stack.push(this.state, 0, 0);
17802
18102
  this.base += 3;
17803
18103
  } else this.base -= (depth - 1) * 3;
17804
- this.state = this.start.p.parser.getGoto(this.stack[this.base - 3], term, true);
18104
+ let goto = this.start.p.parser.getGoto(this.stack[this.base - 3], term, true);
18105
+ this.state = goto;
17805
18106
  }
17806
18107
  };
17807
18108
  StackBufferCursor = class StackBufferCursor {
@@ -17981,7 +18282,8 @@ var init_dist$5 = __esmMin((() => {
17981
18282
  this.chunk2 = this.chunk;
17982
18283
  this.chunk2Pos = this.chunkPos;
17983
18284
  let nextChunk = this.input.chunk(this.pos);
17984
- this.chunk = this.pos + nextChunk.length > this.range.to ? nextChunk.slice(0, this.range.to - this.pos) : nextChunk;
18285
+ let end = this.pos + nextChunk.length;
18286
+ this.chunk = end > this.range.to ? nextChunk.slice(0, this.range.to - this.pos) : nextChunk;
17985
18287
  this.chunkPos = this.pos;
17986
18288
  this.chunkOff = 0;
17987
18289
  }
@@ -28562,8 +28864,8 @@ var require_exceljs_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28562
28864
  const t = {
28563
28865
  locked: !("0" === e.attributes.locked),
28564
28866
  hidden: "1" === e.attributes.hidden
28565
- };
28566
- this.model = !t.locked || t.hidden ? t : null;
28867
+ }, r = !t.locked || t.hidden;
28868
+ this.model = r ? t : null;
28567
28869
  }
28568
28870
  parseText() {}
28569
28871
  parseClose() {
@@ -38898,8 +39200,8 @@ var require_exceljs_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
38898
39200
  D: [n, a("day")],
38899
39201
  DD: [r, a("day")],
38900
39202
  Do: [i, function(e) {
38901
- var t = s.ordinal;
38902
- if (this.day = e.match(/\d+/)[0], t) for (var n = 1; n <= 31; n += 1) t(n).replace(/\[|\]/g, "") === e && (this.day = n);
39203
+ var t = s.ordinal, r = e.match(/\d+/);
39204
+ if (this.day = r[0], t) for (var n = 1; n <= 31; n += 1) t(n).replace(/\[|\]/g, "") === e && (this.day = n);
38903
39205
  }],
38904
39206
  M: [n, a("month")],
38905
39207
  MM: [r, a("month")],
@@ -39106,7 +39408,8 @@ var require_exceljs_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
39106
39408
  return new t(e);
39107
39409
  }, t;
39108
39410
  }, s._cbcInit = function() {
39109
- this._cbcState = new o(this.options.iv);
39411
+ var e = new o(this.options.iv);
39412
+ this._cbcState = e;
39110
39413
  }, s._update = function(e, t, r, n) {
39111
39414
  var i = this._cbcState, s = this.constructor.super_.prototype, o = i.iv;
39112
39415
  if ("encrypt" === this.type) {
@@ -39274,7 +39577,8 @@ var require_exceljs_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
39274
39577
  }
39275
39578
  function l(e) {
39276
39579
  s.call(this, e);
39277
- this._edeState = new a(this.type, this.options.key);
39580
+ var t = new a(this.type, this.options.key);
39581
+ this._edeState = t;
39278
39582
  }
39279
39583
  i(l, s), t.exports = l, l.create = function(e) {
39280
39584
  return new l(e);
@@ -46546,7 +46850,8 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
46546
46850
  for (this.__data__ = new ie(); ++t < r;) this.add(e[t]);
46547
46851
  }
46548
46852
  function oe(e) {
46549
- this.size = (this.__data__ = new ne(e)).size;
46853
+ var t = this.__data__ = new ne(e);
46854
+ this.size = t.size;
46550
46855
  }
46551
46856
  function ae(e, t) {
46552
46857
  var r = Se(e), n = !r && ke(e), i = !r && !n && Me(e), s = !r && !n && !i && Re(e), o = r || n || i || s, a = o ? function(e, t) {
@@ -48378,7 +48683,8 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
48378
48683
  function k() {}
48379
48684
  function S(t, n, o) {
48380
48685
  s = s || e("./_stream_duplex"), t = t || {}, "boolean" != typeof o && (o = n instanceof s), this.objectMode = !!t.objectMode, o && (this.objectMode = this.objectMode || !!t.writableObjectMode), this.highWaterMark = f(this, t, "writableHighWaterMark", o), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
48381
- this.decodeStrings = !(!1 === t.decodeStrings), this.defaultEncoding = t.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) {
48686
+ var a = !1 === t.decodeStrings;
48687
+ this.decodeStrings = !a, this.defaultEncoding = t.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) {
48382
48688
  (function(e, t) {
48383
48689
  var n = e._writableState, i = n.sync, s = n.writecb;
48384
48690
  if ("function" != typeof s) throw new b();
@@ -51497,7 +51803,8 @@ while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[+
51497
51803
  this.objectMode = !!t.objectMode, n && (this.objectMode = this.objectMode || !!t.writableObjectMode);
51498
51804
  var i = t.highWaterMark, c = t.writableHighWaterMark, u = this.objectMode ? 16 : 16384;
51499
51805
  this.highWaterMark = i || 0 === i ? i : n && (c || 0 === c) ? c : u, this.highWaterMark = Math.floor(this.highWaterMark), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
51500
- this.decodeStrings = !(!1 === t.decodeStrings), this.defaultEncoding = t.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) {
51806
+ var h = !1 === t.decodeStrings;
51807
+ this.decodeStrings = !h, this.defaultEncoding = t.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) {
51501
51808
  (function(e, t) {
51502
51809
  var r = e._writableState, n = r.sync, i = r.writecb;
51503
51810
  if (function(e) {