@pdfme/converter 6.2.6-dev.9 → 6.2.7-dev.2

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.
@@ -6,7 +6,7 @@
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
9
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
10
10
  var __copyProps = (to, from, except, desc) => {
11
11
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
12
  key = keys[i];
@@ -22,7 +22,7 @@
22
22
  enumerable: true
23
23
  }) : target, mod));
24
24
  //#endregion
25
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/typeof.js
25
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
26
26
  function _typeof(o) {
27
27
  "@babel/helpers - typeof";
28
28
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -32,7 +32,7 @@
32
32
  }, _typeof(o);
33
33
  }
34
34
  //#endregion
35
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPrimitive.js
35
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
36
36
  function toPrimitive(t, r) {
37
37
  if ("object" != _typeof(t) || !t) return t;
38
38
  var e = t[Symbol.toPrimitive];
@@ -44,13 +44,13 @@
44
44
  return ("string" === r ? String : Number)(t);
45
45
  }
46
46
  //#endregion
47
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPropertyKey.js
47
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
48
48
  function toPropertyKey(t) {
49
49
  var i = toPrimitive(t, "string");
50
50
  return "symbol" == _typeof(i) ? i : i + "";
51
51
  }
52
52
  //#endregion
53
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/defineProperty.js
53
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
54
54
  function _defineProperty(e, r, t) {
55
55
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
56
56
  value: t,
@@ -5525,28 +5525,28 @@
5525
5525
  [_Symbol$dispose$1]() {}
5526
5526
  };
5527
5527
  //#endregion
5528
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/checkPrivateRedeclaration.js
5528
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/checkPrivateRedeclaration.js
5529
5529
  function _checkPrivateRedeclaration(e, t) {
5530
5530
  if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
5531
5531
  }
5532
5532
  //#endregion
5533
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldInitSpec.js
5533
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/classPrivateFieldInitSpec.js
5534
5534
  function _classPrivateFieldInitSpec(e, t, a) {
5535
5535
  _checkPrivateRedeclaration(e, t), t.set(e, a);
5536
5536
  }
5537
5537
  //#endregion
5538
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/assertClassBrand.js
5538
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/assertClassBrand.js
5539
5539
  function _assertClassBrand(e, t, n) {
5540
5540
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
5541
5541
  throw new TypeError("Private element is not present on this object");
5542
5542
  }
5543
5543
  //#endregion
5544
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldGet2.js
5544
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/classPrivateFieldGet2.js
5545
5545
  function _classPrivateFieldGet2(s, a) {
5546
5546
  return s.get(_assertClassBrand(s, a));
5547
5547
  }
5548
5548
  //#endregion
5549
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldSet2.js
5549
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/classPrivateFieldSet2.js
5550
5550
  function _classPrivateFieldSet2(s, a, r) {
5551
5551
  return s.set(_assertClassBrand(s, a), r), r;
5552
5552
  }
@@ -6421,6 +6421,17 @@
6421
6421
  function unwrapMessage(message) {
6422
6422
  return typeof message === "string" ? message : message?.message;
6423
6423
  }
6424
+ /** The leading size checks of `defChecks` that set an upper bound, each paired with it. */
6425
+ function sizeCaps(defChecks) {
6426
+ const caps = [];
6427
+ for (const ch of defChecks ?? []) {
6428
+ const d = ch._zod.def;
6429
+ if (!/_(length|size)$|_equals$/.test(d.check)) break;
6430
+ const max = d.maximum ?? d.length ?? d.size;
6431
+ if (max >= 0) caps.push([max, ch]);
6432
+ }
6433
+ return caps;
6434
+ }
6424
6435
  function attachSchema(issues, start, inst) {
6425
6436
  var _a;
6426
6437
  for (let i = start; i < issues.length; i++) (_a = issues[i]).schema ?? (_a.schema = inst);
@@ -6513,6 +6524,7 @@
6513
6524
  return own(inst, key, value, false);
6514
6525
  }
6515
6526
  /** Adds members a table derives from the instance: each builds on first read and shadows as own data, and assignment shadows the same way, as when these were own properties. */
6527
+ /* @__NO_SIDE_EFFECTS__ */
6516
6528
  function derived(computes, table) {
6517
6529
  for (const key in computes) {
6518
6530
  const compute = computes[key];
@@ -6664,6 +6676,7 @@
6664
6676
  }
6665
6677
  return new Definition();
6666
6678
  }
6679
+ /* @__NO_SIDE_EFFECTS__ */
6667
6680
  function $constructor(name, initializer, proto, params) {
6668
6681
  const zodProto = {};
6669
6682
  function Internals(def) {
@@ -6794,8 +6807,7 @@
6794
6807
  });
6795
6808
  }
6796
6809
  };
6797
- const $ZodError = $constructor("$ZodError", initializer$1);
6798
- $constructor("$ZodError", initializer$1, void 0, { Parent: Error });
6810
+ const $ZodError = /* @__PURE__ */ $constructor("$ZodError", initializer$1);
6799
6811
  /** Get-or-create `obj[key]` as an own data property. A path segment naming an inherited member
6800
6812
  * ("toString", "constructor") would otherwise read through to the prototype, and assigning
6801
6813
  * "__proto__" would hit the setter instead of creating a key. */
@@ -7468,7 +7480,7 @@
7468
7480
  const version$1 = {
7469
7481
  major: 4,
7470
7482
  minor: 6,
7471
- patch: 5
7483
+ patch: 7
7472
7484
  };
7473
7485
  //#endregion
7474
7486
  //#region ../../node_modules/zod/v4/core/schemas.js
@@ -7991,6 +8003,26 @@
7991
8003
  return payload;
7992
8004
  };
7993
8005
  });
8006
+ function capSize(inst, size) {
8007
+ const caps = sizeCaps(inst._zod.def.checks);
8008
+ if (!caps.length) return;
8009
+ const cap = Math.min(...caps.map((c) => c[0]));
8010
+ const parse = inst._zod.parse;
8011
+ inst._zod.parse = (payload, ctx) => {
8012
+ const n = size(payload.value);
8013
+ if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
8014
+ for (const [max, ch] of sizeCaps(inst._zod.def.checks)) if (n > max && ch._zod.def.when(payload)) {
8015
+ const start = payload.issues.length;
8016
+ ch._zod.check(payload);
8017
+ payload.issues[start].continue = false;
8018
+ attachSchema(payload.issues, start, inst);
8019
+ return payload;
8020
+ }
8021
+ }
8022
+ return parse(payload, ctx);
8023
+ };
8024
+ }
8025
+ const arraySize = (input) => Array.isArray(input) ? input.length : -1;
7994
8026
  function handleArrayResult(result, final, index) {
7995
8027
  if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
7996
8028
  final.value[index] = result.value;
@@ -8028,6 +8060,7 @@
8028
8060
  if (proms.length) return Promise.all(proms).then(() => payload);
8029
8061
  return payload;
8030
8062
  };
8063
+ capSize(inst, arraySize);
8031
8064
  });
8032
8065
  function handlePropertyResult(result, final, key, input, optin, optout) {
8033
8066
  const isPresent = key in input;
@@ -8136,7 +8169,7 @@
8136
8169
  }
8137
8170
  return propValues;
8138
8171
  });
8139
- const isObject$2 = isObject;
8172
+ const isObject$1 = isObject;
8140
8173
  const catchall = def.catchall;
8141
8174
  let value;
8142
8175
  const memo = globalConfig.memoizer;
@@ -8144,7 +8177,7 @@
8144
8177
  inst._zod.parse = (payload, ctx) => {
8145
8178
  value ?? (value = _normalized.value);
8146
8179
  const input = payload.value;
8147
- if (!isObject$2(input)) {
8180
+ if (!isObject$1(input)) {
8148
8181
  payload.issues.push({
8149
8182
  expected: "object",
8150
8183
  code: "invalid_type",
@@ -8274,7 +8307,7 @@
8274
8307
  return doc.compile();
8275
8308
  };
8276
8309
  let fastpass;
8277
- const isObject$1 = isObject;
8310
+ const isObject$2 = isObject;
8278
8311
  const jit = !globalConfig.jitless;
8279
8312
  const fastEnabled = jit && allowsEval.value;
8280
8313
  const catchall = def.catchall;
@@ -8282,7 +8315,7 @@
8282
8315
  inst._zod.parse = (payload, ctx) => {
8283
8316
  value ?? (value = _normalized.value);
8284
8317
  const input = payload.value;
8285
- if (!isObject$1(input)) {
8318
+ if (!isObject$2(input)) {
8286
8319
  payload.issues.push({
8287
8320
  expected: "object",
8288
8321
  code: "invalid_type",
@@ -13261,8 +13294,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13261
13294
  4,
13262
13295
  318,
13263
13296
  1,
13264
- 78,
13265
- 5,
13297
+ 31,
13298
+ 4,
13299
+ 33,
13300
+ 15,
13266
13301
  71,
13267
13302
  10,
13268
13303
  50,
@@ -13443,7 +13478,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13443
13478
  9,
13444
13479
  55,
13445
13480
  9,
13446
- 266,
13481
+ 7,
13482
+ 0,
13483
+ 259,
13447
13484
  3,
13448
13485
  10,
13449
13486
  1,
@@ -13491,7 +13528,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13491
13528
  45,
13492
13529
  3,
13493
13530
  22,
13494
- 543,
13531
+ 481,
13532
+ 1,
13533
+ 61,
13495
13534
  4,
13496
13535
  4,
13497
13536
  5,
@@ -13503,7 +13542,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13503
13542
  3,
13504
13543
  149,
13505
13544
  2,
13506
- 1418,
13545
+ 12,
13546
+ 2,
13547
+ 9,
13548
+ 1,
13549
+ 3,
13550
+ 0,
13551
+ 33,
13552
+ 1,
13553
+ 1357,
13507
13554
  49,
13508
13555
  513,
13509
13556
  54,
@@ -13636,8 +13683,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13636
13683
  2,
13637
13684
  41,
13638
13685
  2,
13639
- 8,
13640
- 70,
13686
+ 13,
13687
+ 65,
13641
13688
  5,
13642
13689
  3,
13643
13690
  0,
@@ -13709,7 +13756,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13709
13756
  1,
13710
13757
  17,
13711
13758
  5,
13712
- 57,
13759
+ 18,
13760
+ 21,
13761
+ 18,
13713
13762
  28,
13714
13763
  11,
13715
13764
  0,
@@ -13867,7 +13916,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13867
13916
  0,
13868
13917
  19,
13869
13918
  72,
13870
- 200,
13919
+ 18,
13920
+ 0,
13921
+ 182,
13871
13922
  32,
13872
13923
  32,
13873
13924
  8,
@@ -13895,7 +13946,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13895
13946
  0,
13896
13947
  24,
13897
13948
  43,
13898
- 261,
13949
+ 22,
13950
+ 0,
13951
+ 239,
13899
13952
  18,
13900
13953
  16,
13901
13954
  0,
@@ -13908,10 +13961,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13908
13961
  80,
13909
13962
  921,
13910
13963
  103,
13911
- 110,
13912
- 18,
13913
- 195,
13914
- 2637,
13964
+ 111,
13965
+ 6,
13966
+ 206,
13967
+ 13,
13968
+ 310,
13969
+ 2314,
13915
13970
  96,
13916
13971
  16,
13917
13972
  1071,
@@ -13960,28 +14015,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13960
14015
  15,
13961
14016
  4,
13962
14017
  10,
13963
- 7381,
13964
- 42,
13965
- 31,
13966
- 98,
14018
+ 7386,
14019
+ 37,
14020
+ 33,
14021
+ 96,
13967
14022
  114,
13968
- 8702,
14023
+ 14,
14024
+ 913,
14025
+ 15,
14026
+ 50,
14027
+ 7710,
13969
14028
  3,
13970
14029
  2,
13971
14030
  6,
13972
14031
  2,
13973
14032
  1,
13974
14033
  2,
13975
- 290,
13976
- 16,
14034
+ 296,
14035
+ 10,
13977
14036
  0,
13978
14037
  30,
13979
14038
  2,
13980
14039
  3,
13981
14040
  0,
13982
14041
  15,
13983
- 3,
13984
- 9,
14042
+ 4,
14043
+ 8,
13985
14044
  395,
13986
14045
  2309,
13987
14046
  106,
@@ -14028,8 +14087,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14028
14087
  4,
14029
14088
  6,
14030
14089
  2,
14031
- 339,
14032
- 3,
14090
+ 340,
14091
+ 2,
14033
14092
  24,
14034
14093
  2,
14035
14094
  24,
@@ -14052,10 +14111,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14052
14111
  2,
14053
14112
  7,
14054
14113
  1845,
14055
- 30,
14056
- 7,
14057
- 5,
14058
- 262,
14114
+ 129,
14115
+ 15,
14116
+ 6,
14117
+ 55,
14118
+ 50,
14119
+ 49,
14059
14120
  61,
14060
14121
  147,
14061
14122
  44,
@@ -14168,8 +14229,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14168
14229
  4421,
14169
14230
  42719,
14170
14231
  33,
14171
- 4381,
14172
- 3,
14232
+ 4382,
14233
+ 2,
14173
14234
  5773,
14174
14235
  3,
14175
14236
  7472,
@@ -14180,10 +14241,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14180
14241
  1507,
14181
14242
  4938,
14182
14243
  6,
14183
- 8489
14244
+ 8489,
14245
+ 39815,
14246
+ 11327
14184
14247
  ];
14185
- var nonASCIIidentifierChars = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
14186
- var nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
14248
+ var nonASCIIidentifierChars = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄ-׉ؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୓-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫰ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
14249
+ var nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆ՘ՙՠ-ֈ֋֌א-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿ₏-₟ℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-꟝꟢꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩ꭬꭭ꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
14187
14250
  var reservedWords = {
14188
14251
  3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
14189
14252
  5: "class enum extends super const export import",
@@ -14671,7 +14734,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14671
14734
  skipWhiteSpace.lastIndex = start + match[0].length;
14672
14735
  var spaceAfter = skipWhiteSpace.exec(this.input), end = spaceAfter.index + spaceAfter[0].length;
14673
14736
  var next = this.input.charAt(end);
14674
- return next === ";" || next === "}" || lineBreak.test(spaceAfter[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(next) || next === "!" && this.input.charAt(end + 1) === "=");
14737
+ return next === ";" || next === "}" || lineBreak.test(spaceAfter[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(next) || next === "!" && this.input.charAt(end + 1) === "=" || next === "i" && keywordOpAt(this, end));
14675
14738
  }
14676
14739
  start += match[0].length;
14677
14740
  skipWhiteSpace.lastIndex = start;
@@ -14679,6 +14742,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14679
14742
  if (this.input[start] === ";") start++;
14680
14743
  }
14681
14744
  };
14745
+ function keywordOpAt(parser, pos) {
14746
+ var end = pos + 1, stop = Math.min(parser.input.length, pos + 11);
14747
+ while (end < stop) {
14748
+ var ch = parser.fullCharCodeAt(end);
14749
+ if (!isIdentifierChar(ch, true)) break;
14750
+ end += ch <= 65535 ? 1 : 2;
14751
+ }
14752
+ return end === pos + 2 && parser.input.slice(pos, end) === "in" || end === pos + 10 && parser.input.slice(pos, end) === "instanceof";
14753
+ }
14682
14754
  pp$9.eat = function(type) {
14683
14755
  if (this.type === type) {
14684
14756
  this.next();
@@ -15992,8 +16064,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15992
16064
  var node = this.startNodeAt(startPos, startLoc);
15993
16065
  node.operator = this.value;
15994
16066
  if (this.type === types$1.eq) left = this.toAssignable(left, false, refDestructuringErrors);
15995
- if (!ownDestructuringErrors) refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma = refDestructuringErrors.doubleProto = -1;
15996
- if (refDestructuringErrors.shorthandAssign >= left.start) refDestructuringErrors.shorthandAssign = -1;
16067
+ if (!ownDestructuringErrors) {
16068
+ refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma = -1;
16069
+ if (refDestructuringErrors.shorthandAssign >= left.start) refDestructuringErrors.shorthandAssign = -1;
16070
+ if (refDestructuringErrors.doubleProto >= left.start) refDestructuringErrors.doubleProto = -1;
16071
+ }
15997
16072
  if (this.type === types$1.eq) this.checkLValPattern(left);
15998
16073
  else this.checkLValSimple(left);
15999
16074
  node.left = left;
@@ -16099,13 +16174,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16099
16174
  }
16100
16175
  pp$5.parseExprSubscripts = function(refDestructuringErrors, forInit) {
16101
16176
  var startPos = this.start, startLoc = this.startLoc;
16177
+ var oldDoubleProto = -1, oldShorthandAssign = -1;
16178
+ if (refDestructuringErrors) {
16179
+ oldDoubleProto = refDestructuringErrors.doubleProto;
16180
+ oldShorthandAssign = refDestructuringErrors.shorthandAssign;
16181
+ refDestructuringErrors.doubleProto = refDestructuringErrors.shorthandAssign = -1;
16182
+ }
16102
16183
  var expr = this.parseExprAtom(refDestructuringErrors, forInit);
16103
16184
  if (expr.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return expr;
16104
16185
  var result = this.parseSubscripts(expr, startPos, startLoc, false, forInit);
16105
- if (refDestructuringErrors && result.type === "MemberExpression") {
16106
- if (refDestructuringErrors.parenthesizedAssign >= result.start) refDestructuringErrors.parenthesizedAssign = -1;
16107
- if (refDestructuringErrors.parenthesizedBind >= result.start) refDestructuringErrors.parenthesizedBind = -1;
16108
- if (refDestructuringErrors.trailingComma >= result.start) refDestructuringErrors.trailingComma = -1;
16186
+ if (refDestructuringErrors) {
16187
+ if (result.end > expr.end) {
16188
+ this.checkExpressionErrors(refDestructuringErrors, true);
16189
+ if (refDestructuringErrors.parenthesizedAssign >= result.start) refDestructuringErrors.parenthesizedAssign = -1;
16190
+ if (refDestructuringErrors.parenthesizedBind >= result.start) refDestructuringErrors.parenthesizedBind = -1;
16191
+ if (refDestructuringErrors.trailingComma >= result.start) refDestructuringErrors.trailingComma = -1;
16192
+ }
16193
+ if (oldDoubleProto > -1) refDestructuringErrors.doubleProto = oldDoubleProto;
16194
+ if (oldShorthandAssign > -1) refDestructuringErrors.shorthandAssign = oldShorthandAssign;
16109
16195
  }
16110
16196
  return result;
16111
16197
  };
@@ -16115,7 +16201,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16115
16201
  while (true) {
16116
16202
  var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained, forInit);
16117
16203
  if (element.optional) optionalChained = true;
16118
- if (element === base || element.type === "ArrowFunctionExpression") {
16204
+ if (element.end === base.end || element.type === "ArrowFunctionExpression") {
16119
16205
  if (optionalChained) {
16120
16206
  var chainNode = this.startNodeAt(startPos, startLoc);
16121
16207
  chainNode.expression = element;
@@ -16124,6 +16210,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16124
16210
  return element;
16125
16211
  }
16126
16212
  base = element;
16213
+ maybeAsyncArrow = false;
16127
16214
  }
16128
16215
  };
16129
16216
  pp$5.shouldParseAsyncArrow = function() {
@@ -18353,7 +18440,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18353
18440
  };
18354
18441
  Parser.acorn = {
18355
18442
  Parser,
18356
- version: "8.18.0",
18443
+ version: "8.19.0",
18357
18444
  defaultOptions,
18358
18445
  Position,
18359
18446
  SourceLocation,
@@ -18831,4 +18918,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18831
18918
  //#endregion
18832
18919
  })();
18833
18920
 
18834
- //# sourceMappingURL=clawpdf-worker-D71IyYxj.js.map
18921
+ //# sourceMappingURL=clawpdf-worker-D8--gwJc.js.map