@digipair/skill-web-pdf 0.41.4 → 0.43.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.
Files changed (3) hide show
  1. package/index.cjs.js +124 -124
  2. package/index.esm.js +124 -124
  3. package/package.json +1 -1
package/index.cjs.js CHANGED
@@ -61,11 +61,11 @@ function _instanceof(left, right) {
61
61
  return left instanceof right;
62
62
  }
63
63
  }
64
- var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$2 = Symbol(), o$3 = new WeakMap;
64
+ var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$1 = Symbol(), o$3 = new WeakMap;
65
65
  var n$3 = /*#__PURE__*/ function() {
66
66
  function n(t, e, o) {
67
67
  _class_call_check$3(this, n);
68
- if (this._$cssResult$ = !0, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
68
+ if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
69
69
  this.cssText = t, this.t = e;
70
70
  }
71
71
  _create_class$3(n, [
@@ -91,8 +91,8 @@ var n$3 = /*#__PURE__*/ function() {
91
91
  return n;
92
92
  }();
93
93
  var r$5 = function(t) {
94
- return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
95
- }, i$2 = function(t) {
94
+ return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
95
+ }, i$3 = function(t) {
96
96
  for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
97
97
  e[_key - 1] = arguments[_key];
98
98
  }
@@ -103,7 +103,7 @@ var r$5 = function(t) {
103
103
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
104
104
  }(s) + t[o + 1];
105
105
  }, t[0]);
106
- return new n$3(o, t, s$2);
106
+ return new n$3(o, t, s$1);
107
107
  }, S$1 = function(s, o) {
108
108
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
109
109
  if (e$2) s.adoptedStyleSheets = o.map(function(t) {
@@ -476,7 +476,7 @@ var _Symbol, _a, _a1;
476
476
  * @license
477
477
  * Copyright 2017 Google LLC
478
478
  * SPDX-License-Identifier: BSD-3-Clause
479
- */ var i$1 = Object.is, e$1 = Object.defineProperty, r$4 = Object.getOwnPropertyDescriptor, h$1 = Object.getOwnPropertyNames, o$2 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
479
+ */ var i$2 = Object.is, e$1 = Object.defineProperty, r$4 = Object.getOwnPropertyDescriptor, h$1 = Object.getOwnPropertyNames, o$2 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
480
480
  return t;
481
481
  }, u$1 = {
482
482
  toAttribute: function toAttribute(t, s) {
@@ -510,7 +510,7 @@ var _Symbol, _a, _a1;
510
510
  return i;
511
511
  }
512
512
  }, f$1 = function(t, s) {
513
- return !i$1(t, s);
513
+ return !i$2(t, s);
514
514
  }, y$1 = {
515
515
  attribute: !0,
516
516
  type: String,
@@ -1185,7 +1185,7 @@ function _create_super$1(Derived) {
1185
1185
  };
1186
1186
  }
1187
1187
  var _t;
1188
- var t$1 = globalThis, i = t$1.trustedTypes, s$1 = i ? i.createPolicy("lit-html", {
1188
+ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
1189
1189
  createHTML: function(t) {
1190
1190
  return t;
1191
1191
  }
@@ -1206,14 +1206,14 @@ var t$1 = globalThis, i = t$1.trustedTypes, s$1 = i ? i.createPolicy("lit-html",
1206
1206
  values: s
1207
1207
  };
1208
1208
  };
1209
- }, x = y(1), w = Symbol.for("lit-noChange"), T = Symbol.for("lit-nothing"), A = new WeakMap, E = r$3.createTreeWalker(r$3, 129);
1210
- function C(t, i) {
1211
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1212
- return void 0 !== s$1 ? s$1.createHTML(i) : i;
1209
+ }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$3.createTreeWalker(r$3, 129);
1210
+ function P(t, i) {
1211
+ if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1212
+ return void 0 !== s ? s.createHTML(i) : i;
1213
1213
  }
1214
- var P = function(t, i) {
1214
+ var V = function(t, i) {
1215
1215
  var s = t.length - 1, o = [];
1216
- var r, l = 2 === i ? "<svg>" : "", c = f;
1216
+ var r, l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "", c = f;
1217
1217
  for(var _$i = 0; _$i < s; _$i++){
1218
1218
  var s1 = t[_$i];
1219
1219
  var a = void 0, u = void 0, d = -1, y = 0;
@@ -1222,24 +1222,24 @@ var P = function(t, i) {
1222
1222
  l += c === f ? s1 + n$1 : d >= 0 ? (o.push(a), s1.slice(0, d) + e + s1.slice(d) + h + x) : s1 + h + (-2 === d ? _$i : x);
1223
1223
  }
1224
1224
  return [
1225
- C(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : "")),
1225
+ P(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")),
1226
1226
  o
1227
1227
  ];
1228
1228
  };
1229
- var V = /*#__PURE__*/ function() {
1230
- function V(param, n) {
1229
+ var N = /*#__PURE__*/ function() {
1230
+ function N(param, n) {
1231
1231
  var t = param.strings, s = param._$litType$;
1232
- _class_call_check$1(this, V);
1232
+ _class_call_check$1(this, N);
1233
1233
  var r;
1234
1234
  this.parts = [];
1235
1235
  var c = 0, a = 0;
1236
- var u = t.length - 1, d = this.parts, _P = _sliced_to_array(P(t, s), 2), f = _P[0], v = _P[1];
1237
- if (this.el = V.createElement(f, n), E.currentNode = this.el.content, 2 === s) {
1236
+ var u = t.length - 1, d = this.parts, _V = _sliced_to_array(V(t, s), 2), f = _V[0], v = _V[1];
1237
+ if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
1238
1238
  var _t;
1239
1239
  var t1 = this.el.content.firstChild;
1240
1240
  (_t = t1).replaceWith.apply(_t, _to_consumable_array(t1.childNodes));
1241
1241
  }
1242
- for(; null !== (r = E.nextNode()) && d.length < u;){
1242
+ for(; null !== (r = C.nextNode()) && d.length < u;){
1243
1243
  if (1 === r.nodeType) {
1244
1244
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1245
1245
  if (r.hasAttributes()) try {
@@ -1252,7 +1252,7 @@ var V = /*#__PURE__*/ function() {
1252
1252
  index: c,
1253
1253
  name: e1[2],
1254
1254
  strings: s1,
1255
- ctor: "." === e1[1] ? k : "?" === e1[1] ? H : "@" === e1[1] ? I : R
1255
+ ctor: "." === e1[1] ? H : "?" === e1[1] ? I : "@" === e1[1] ? L : k
1256
1256
  }), r.removeAttribute(t2);
1257
1257
  } else t2.startsWith(h) && (d.push({
1258
1258
  type: 6,
@@ -1276,8 +1276,8 @@ var V = /*#__PURE__*/ function() {
1276
1276
  if ($.test(r.tagName)) {
1277
1277
  var t3 = r.textContent.split(h), s2 = t3.length - 1;
1278
1278
  if (s2 > 0) {
1279
- r.textContent = i ? i.emptyScript : "";
1280
- for(var i2 = 0; i2 < s2; i2++)r.append(t3[i2], l()), E.nextNode(), d.push({
1279
+ r.textContent = i$1 ? i$1.emptyScript : "";
1280
+ for(var i2 = 0; i2 < s2; i2++)r.append(t3[i2], l()), C.nextNode(), d.push({
1281
1281
  type: 2,
1282
1282
  index: ++c
1283
1283
  });
@@ -1298,7 +1298,7 @@ var V = /*#__PURE__*/ function() {
1298
1298
  c++;
1299
1299
  }
1300
1300
  }
1301
- _create_class$1(V, null, [
1301
+ _create_class$1(N, null, [
1302
1302
  {
1303
1303
  key: "createElement",
1304
1304
  value: function createElement(t, i) {
@@ -1307,24 +1307,24 @@ var V = /*#__PURE__*/ function() {
1307
1307
  }
1308
1308
  }
1309
1309
  ]);
1310
- return V;
1310
+ return N;
1311
1311
  }();
1312
- function N(t, i) {
1312
+ function S(t, i) {
1313
1313
  var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : t, e = arguments.length > 3 ? arguments[3] : void 0;
1314
1314
  var _s__$Co, _h__$AO;
1315
1315
  var _s;
1316
- if (i === w) return i;
1316
+ if (i === T) return i;
1317
1317
  var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
1318
1318
  var o = c(i) ? void 0 : i._$litDirective$;
1319
1319
  var __$Co;
1320
- return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, !1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = N(t, h._$AS(t, i.values), h, e)), i;
1320
+ return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, !1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
1321
1321
  }
1322
- var S = /*#__PURE__*/ function() {
1323
- function S(t, i) {
1324
- _class_call_check$1(this, S);
1322
+ var M = /*#__PURE__*/ function() {
1323
+ function M(t, i) {
1324
+ _class_call_check$1(this, M);
1325
1325
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1326
1326
  }
1327
- _create_class$1(S, [
1327
+ _create_class$1(M, [
1328
1328
  {
1329
1329
  key: "parentNode",
1330
1330
  get: function get() {
@@ -1342,16 +1342,16 @@ var S = /*#__PURE__*/ function() {
1342
1342
  value: function u(t) {
1343
1343
  var _t_creationScope;
1344
1344
  var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$3).importNode(i, !0);
1345
- E.currentNode = e;
1346
- var h = E.nextNode(), o = 0, n = 0, l = s[0];
1345
+ C.currentNode = e;
1346
+ var h = C.nextNode(), o = 0, n = 0, l = s[0];
1347
1347
  for(; void 0 !== l;){
1348
1348
  if (o === l.index) {
1349
1349
  var i1 = void 0;
1350
- 2 === l.type ? i1 = new M(h, h.nextSibling, this, t) : 1 === l.type ? i1 = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i1 = new L(h, this, t)), this._$AV.push(i1), l = s[++n];
1350
+ 2 === l.type ? i1 = new R(h, h.nextSibling, this, t) : 1 === l.type ? i1 = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i1 = new z(h, this, t)), this._$AV.push(i1), l = s[++n];
1351
1351
  }
1352
- o !== (l === null || l === void 0 ? void 0 : l.index) && (h = E.nextNode(), o++);
1352
+ o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
1353
1353
  }
1354
- return E.currentNode = r$3, e;
1354
+ return C.currentNode = r$3, e;
1355
1355
  }
1356
1356
  },
1357
1357
  {
@@ -1381,15 +1381,15 @@ var S = /*#__PURE__*/ function() {
1381
1381
  }
1382
1382
  }
1383
1383
  ]);
1384
- return S;
1384
+ return M;
1385
1385
  }();
1386
- var M = /*#__PURE__*/ function() {
1387
- function M(t, i, s, e) {
1388
- _class_call_check$1(this, M);
1386
+ var R = /*#__PURE__*/ function() {
1387
+ function R(t, i, s, e) {
1388
+ _class_call_check$1(this, R);
1389
1389
  var _e_isConnected;
1390
- this.type = 2, this._$AH = T, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : !0;
1390
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : !0;
1391
1391
  }
1392
- _create_class$1(M, [
1392
+ _create_class$1(R, [
1393
1393
  {
1394
1394
  key: "_$AU",
1395
1395
  get: function get() {
@@ -1422,35 +1422,35 @@ var M = /*#__PURE__*/ function() {
1422
1422
  key: "_$AI",
1423
1423
  value: function _$AI(t) {
1424
1424
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1425
- t = N(this, t, i), c(t) ? t === T || null == t || "" === t ? (this._$AH !== T && this._$AR(), this._$AH = T) : t !== this._$AH && t !== w && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
1425
+ t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
1426
1426
  }
1427
1427
  },
1428
1428
  {
1429
- key: "S",
1430
- value: function S(t) {
1429
+ key: "O",
1430
+ value: function O(t) {
1431
1431
  return this._$AA.parentNode.insertBefore(t, this._$AB);
1432
1432
  }
1433
1433
  },
1434
1434
  {
1435
1435
  key: "T",
1436
1436
  value: function T(t) {
1437
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1437
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
1438
1438
  }
1439
1439
  },
1440
1440
  {
1441
1441
  key: "_",
1442
1442
  value: function _(t) {
1443
- this._$AH !== T && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
1443
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
1444
1444
  }
1445
1445
  },
1446
1446
  {
1447
1447
  key: "$",
1448
1448
  value: function $(t) {
1449
1449
  var _this__$AH;
1450
- var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = V.createElement(C(s.h, s.h[0]), this.options)), s);
1450
+ var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
1451
1451
  if (((_this__$AH = this._$AH) === null || _this__$AH === void 0 ? void 0 : _this__$AH._$AD) === e) this._$AH.p(i);
1452
1452
  else {
1453
- var _$t = new S(e, this), s1 = _$t.u(this.options);
1453
+ var _$t = new M(e, this), s1 = _$t.u(this.options);
1454
1454
  _$t.p(i), this.T(s1), this._$AH = _$t;
1455
1455
  }
1456
1456
  }
@@ -1459,7 +1459,7 @@ var M = /*#__PURE__*/ function() {
1459
1459
  key: "_$AC",
1460
1460
  value: function _$AC(t) {
1461
1461
  var i = A.get(t.strings);
1462
- return void 0 === i && A.set(t.strings, i = new V(t)), i;
1462
+ return void 0 === i && A.set(t.strings, i = new N(t)), i;
1463
1463
  }
1464
1464
  },
1465
1465
  {
@@ -1472,7 +1472,7 @@ var M = /*#__PURE__*/ function() {
1472
1472
  try {
1473
1473
  for(var _iterator = t[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
1474
1474
  var h = _step.value;
1475
- e === i.length ? i.push(s = new M(this.S(l()), this.S(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
1475
+ e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
1476
1476
  }
1477
1477
  } catch (err) {
1478
1478
  _didIteratorError = true;
@@ -1510,14 +1510,14 @@ var M = /*#__PURE__*/ function() {
1510
1510
  }
1511
1511
  }
1512
1512
  ]);
1513
- return M;
1513
+ return R;
1514
1514
  }();
1515
- var R = /*#__PURE__*/ function() {
1516
- function R(t, i, s, e, h) {
1517
- _class_call_check$1(this, R);
1518
- this.type = 1, this._$AH = T, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = T;
1515
+ var k = /*#__PURE__*/ function() {
1516
+ function k(t, i, s, e, h) {
1517
+ _class_call_check$1(this, k);
1518
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = E;
1519
1519
  }
1520
- _create_class$1(R, [
1520
+ _create_class$1(k, [
1521
1521
  {
1522
1522
  key: "tagName",
1523
1523
  get: function get() {
@@ -1536,11 +1536,11 @@ var R = /*#__PURE__*/ function() {
1536
1536
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this, s = arguments.length > 2 ? arguments[2] : void 0, e = arguments.length > 3 ? arguments[3] : void 0;
1537
1537
  var h = this.strings;
1538
1538
  var o = !1;
1539
- if (void 0 === h) t = N(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== w, o && (this._$AH = t);
1539
+ if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
1540
1540
  else {
1541
1541
  var e1 = t;
1542
1542
  var n, r;
1543
- for(t = h[0], n = 0; n < h.length - 1; n++)r = N(this, e1[s + n], i, n), r === w && (r = this._$AH[n]), o || (o = !c(r) || r !== this._$AH[n]), r === T ? t = T : t !== T && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1543
+ for(t = h[0], n = 0; n < h.length - 1; n++)r = S(this, e1[s + n], i, n), r === T && (r = this._$AH[n]), o || (o = !c(r) || r !== this._$AH[n]), r === E ? t = E : t !== E && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1544
1544
  }
1545
1545
  o && !e && this.j(t);
1546
1546
  }
@@ -1548,71 +1548,71 @@ var R = /*#__PURE__*/ function() {
1548
1548
  {
1549
1549
  key: "j",
1550
1550
  value: function j(t) {
1551
- t === T ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1551
+ t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1552
1552
  }
1553
1553
  }
1554
1554
  ]);
1555
- return R;
1555
+ return k;
1556
1556
  }();
1557
- var k = /*#__PURE__*/ function(R) {
1558
- _inherits$1(k, R);
1559
- var _super = _create_super$1(k);
1560
- function k() {
1561
- _class_call_check$1(this, k);
1557
+ var H = /*#__PURE__*/ function(k) {
1558
+ _inherits$1(H, k);
1559
+ var _super = _create_super$1(H);
1560
+ function H() {
1561
+ _class_call_check$1(this, H);
1562
1562
  var _this;
1563
1563
  _this = _super.call.apply(_super, [
1564
1564
  this
1565
1565
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
1566
1566
  return _possible_constructor_return$1(_this);
1567
1567
  }
1568
- _create_class$1(k, [
1568
+ _create_class$1(H, [
1569
1569
  {
1570
1570
  key: "j",
1571
1571
  value: function j(t) {
1572
- this.element[this.name] = t === T ? void 0 : t;
1572
+ this.element[this.name] = t === E ? void 0 : t;
1573
1573
  }
1574
1574
  }
1575
1575
  ]);
1576
- return k;
1577
- }(R);
1578
- var H = /*#__PURE__*/ function(R) {
1579
- _inherits$1(H, R);
1580
- var _super = _create_super$1(H);
1581
- function H() {
1582
- _class_call_check$1(this, H);
1576
+ return H;
1577
+ }(k);
1578
+ var I = /*#__PURE__*/ function(k) {
1579
+ _inherits$1(I, k);
1580
+ var _super = _create_super$1(I);
1581
+ function I() {
1582
+ _class_call_check$1(this, I);
1583
1583
  var _this;
1584
1584
  _this = _super.call.apply(_super, [
1585
1585
  this
1586
1586
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
1587
1587
  return _possible_constructor_return$1(_this);
1588
1588
  }
1589
- _create_class$1(H, [
1589
+ _create_class$1(I, [
1590
1590
  {
1591
1591
  key: "j",
1592
1592
  value: function j(t) {
1593
- this.element.toggleAttribute(this.name, !!t && t !== T);
1593
+ this.element.toggleAttribute(this.name, !!t && t !== E);
1594
1594
  }
1595
1595
  }
1596
1596
  ]);
1597
- return H;
1598
- }(R);
1599
- var I = /*#__PURE__*/ function(R) {
1600
- _inherits$1(I, R);
1601
- var _super = _create_super$1(I);
1602
- function I(t, i, s, e, h) {
1603
- _class_call_check$1(this, I);
1597
+ return I;
1598
+ }(k);
1599
+ var L = /*#__PURE__*/ function(k) {
1600
+ _inherits$1(L, k);
1601
+ var _super = _create_super$1(L);
1602
+ function L(t, i, s, e, h) {
1603
+ _class_call_check$1(this, L);
1604
1604
  var _this;
1605
1605
  _this = _super.call(this, t, i, s, e, h), _this.type = 5;
1606
1606
  return _possible_constructor_return$1(_this);
1607
1607
  }
1608
- _create_class$1(I, [
1608
+ _create_class$1(L, [
1609
1609
  {
1610
1610
  key: "_$AI",
1611
1611
  value: function _$AI(t) {
1612
1612
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1613
- var _N;
1614
- if ((t = (_N = N(this, t, i, 0)) !== null && _N !== void 0 ? _N : T) === w) return;
1615
- var s = this._$AH, e = t === T && s !== T || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== T && (s === T || e);
1613
+ var _S;
1614
+ if ((t = (_S = S(this, t, i, 0)) !== null && _S !== void 0 ? _S : E) === T) return;
1615
+ var s = this._$AH, e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== E && (s === E || e);
1616
1616
  e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
1617
1617
  }
1618
1618
  },
@@ -1625,14 +1625,14 @@ var I = /*#__PURE__*/ function(R) {
1625
1625
  }
1626
1626
  }
1627
1627
  ]);
1628
- return I;
1629
- }(R);
1630
- var L = /*#__PURE__*/ function() {
1631
- function L(t, i, s) {
1632
- _class_call_check$1(this, L);
1628
+ return L;
1629
+ }(k);
1630
+ var z = /*#__PURE__*/ function() {
1631
+ function z(t, i, s) {
1632
+ _class_call_check$1(this, z);
1633
1633
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1634
1634
  }
1635
- _create_class$1(L, [
1635
+ _create_class$1(z, [
1636
1636
  {
1637
1637
  key: "_$AU",
1638
1638
  get: function get() {
@@ -1642,23 +1642,23 @@ var L = /*#__PURE__*/ function() {
1642
1642
  {
1643
1643
  key: "_$AI",
1644
1644
  value: function _$AI(t) {
1645
- N(this, t);
1645
+ S(this, t);
1646
1646
  }
1647
1647
  }
1648
1648
  ]);
1649
- return L;
1649
+ return z;
1650
1650
  }();
1651
- var Z = t$1.litHtmlPolyfillSupport;
1651
+ var j = t$1.litHtmlPolyfillSupport;
1652
1652
  var _litHtmlVersions;
1653
- Z === null || Z === void 0 ? void 0 : Z(V, M), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.1.4");
1654
- var j = function(t, i, s) {
1653
+ j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.2.1");
1654
+ var B = function(t, i, s) {
1655
1655
  var _s_renderBefore;
1656
1656
  var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
1657
1657
  var h = e._$litPart$;
1658
1658
  if (void 0 === h) {
1659
1659
  var _s_renderBefore1;
1660
1660
  var _$t = (_s_renderBefore1 = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore1 !== void 0 ? _s_renderBefore1 : null;
1661
- e._$litPart$ = h = new M(i.insertBefore(l(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1661
+ e._$litPart$ = h = new R(i.insertBefore(l(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1662
1662
  }
1663
1663
  return h._$AI(t), h;
1664
1664
  };
@@ -1777,11 +1777,11 @@ var _globalThis1;
1777
1777
  * @license
1778
1778
  * Copyright 2017 Google LLC
1779
1779
  * SPDX-License-Identifier: BSD-3-Clause
1780
- */ var s = /*#__PURE__*/ function(t) {
1781
- _inherits(s, t);
1782
- var _super = _create_super(s);
1783
- function s() {
1784
- _class_call_check(this, s);
1780
+ */ var r$2 = /*#__PURE__*/ function(t) {
1781
+ _inherits(r, t);
1782
+ var _super = _create_super(r);
1783
+ function r() {
1784
+ _class_call_check(this, r);
1785
1785
  var _this;
1786
1786
  _this = _super.call.apply(_super, [
1787
1787
  this
@@ -1790,12 +1790,12 @@ var _globalThis1;
1790
1790
  }, _this._$Do = void 0;
1791
1791
  return _possible_constructor_return(_this);
1792
1792
  }
1793
- _create_class(s, [
1793
+ _create_class(r, [
1794
1794
  {
1795
1795
  key: "createRenderRoot",
1796
1796
  value: function createRenderRoot() {
1797
1797
  var _this_renderOptions;
1798
- var _$t = _get(_get_prototype_of(s.prototype), "createRenderRoot", this).call(this);
1798
+ var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
1799
1799
  var _renderBefore;
1800
1800
  return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
1801
1801
  }
@@ -1803,42 +1803,42 @@ var _globalThis1;
1803
1803
  {
1804
1804
  key: "update",
1805
1805
  value: function update(t) {
1806
- var i = this.render();
1807
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(s.prototype), "update", this).call(this, t), this._$Do = j(i, this.renderRoot, this.renderOptions);
1806
+ var s = this.render();
1807
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(r.prototype), "update", this).call(this, t), this._$Do = B(s, this.renderRoot, this.renderOptions);
1808
1808
  }
1809
1809
  },
1810
1810
  {
1811
1811
  key: "connectedCallback",
1812
1812
  value: function connectedCallback() {
1813
1813
  var _this__$Do;
1814
- _get(_get_prototype_of(s.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
1814
+ _get(_get_prototype_of(r.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
1815
1815
  }
1816
1816
  },
1817
1817
  {
1818
1818
  key: "disconnectedCallback",
1819
1819
  value: function disconnectedCallback() {
1820
1820
  var _this__$Do;
1821
- _get(_get_prototype_of(s.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
1821
+ _get(_get_prototype_of(r.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
1822
1822
  }
1823
1823
  },
1824
1824
  {
1825
1825
  key: "render",
1826
1826
  value: function render() {
1827
- return w;
1827
+ return T;
1828
1828
  }
1829
1829
  }
1830
1830
  ]);
1831
- return s;
1831
+ return r;
1832
1832
  }(b);
1833
- s._$litElement$ = !0, s["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
1834
- LitElement: s
1833
+ r$2._$litElement$ = !0, r$2["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
1834
+ LitElement: r$2
1835
1835
  });
1836
- var r$2 = globalThis.litElementPolyfillSupport;
1837
- r$2 === null || r$2 === void 0 ? void 0 : r$2({
1838
- LitElement: s
1836
+ var i = globalThis.litElementPolyfillSupport;
1837
+ i === null || i === void 0 ? void 0 : i({
1838
+ LitElement: r$2
1839
1839
  });
1840
1840
  var _litElementVersions;
1841
- ((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.0.6");
1841
+ ((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
1842
1842
 
1843
1843
  /**
1844
1844
  * @license
@@ -2014,7 +2014,7 @@ function _object_spread_props(target, source) {
2014
2014
  }
2015
2015
 
2016
2016
  const PDFJS_URL = 'https://cdn.jsdelivr.net/npm/pdfjs-dist@4.0.269/build/pdf.min.mjs';
2017
- class InputPdfElement extends s {
2017
+ class InputPdfElement extends r$2 {
2018
2018
  get content() {
2019
2019
  return this._content;
2020
2020
  }
@@ -2048,7 +2048,7 @@ class InputPdfElement extends s {
2048
2048
  }
2049
2049
  async extractText(file) {
2050
2050
  const pdfjs = await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(PDFJS_URL);
2051
- pdfjs.GlobalWorkerOptions.workerSrc = './pdf.worker.min.mjs';
2051
+ pdfjs.GlobalWorkerOptions.workerSrc = '/public/pdf.worker.min.mjs';
2052
2052
  const pdf = await pdfjs.getDocument(file).promise;
2053
2053
  let text = '';
2054
2054
  for(let i = 1; i <= pdf.numPages; i++){
@@ -2085,7 +2085,7 @@ class InputPdfElement extends s {
2085
2085
  this._value = '';
2086
2086
  }
2087
2087
  }
2088
- InputPdfElement.styles = i$2`
2088
+ InputPdfElement.styles = i$3`
2089
2089
  .download {
2090
2090
  padding: 10px 15px;
2091
2091
  margin-bottom: 10px;
package/index.esm.js CHANGED
@@ -39,11 +39,11 @@ function _instanceof(left, right) {
39
39
  return left instanceof right;
40
40
  }
41
41
  }
42
- var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$2 = Symbol(), o$3 = new WeakMap;
42
+ var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$1 = Symbol(), o$3 = new WeakMap;
43
43
  var n$3 = /*#__PURE__*/ function() {
44
44
  function n(t, e, o) {
45
45
  _class_call_check$3(this, n);
46
- if (this._$cssResult$ = !0, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
46
+ if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
47
47
  this.cssText = t, this.t = e;
48
48
  }
49
49
  _create_class$3(n, [
@@ -69,8 +69,8 @@ var n$3 = /*#__PURE__*/ function() {
69
69
  return n;
70
70
  }();
71
71
  var r$5 = function(t) {
72
- return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
73
- }, i$2 = function(t) {
72
+ return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
73
+ }, i$3 = function(t) {
74
74
  for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
75
75
  e[_key - 1] = arguments[_key];
76
76
  }
@@ -81,7 +81,7 @@ var r$5 = function(t) {
81
81
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
82
82
  }(s) + t[o + 1];
83
83
  }, t[0]);
84
- return new n$3(o, t, s$2);
84
+ return new n$3(o, t, s$1);
85
85
  }, S$1 = function(s, o) {
86
86
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
87
87
  if (e$2) s.adoptedStyleSheets = o.map(function(t) {
@@ -454,7 +454,7 @@ var _Symbol, _a, _a1;
454
454
  * @license
455
455
  * Copyright 2017 Google LLC
456
456
  * SPDX-License-Identifier: BSD-3-Clause
457
- */ var i$1 = Object.is, e$1 = Object.defineProperty, r$4 = Object.getOwnPropertyDescriptor, h$1 = Object.getOwnPropertyNames, o$2 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
457
+ */ var i$2 = Object.is, e$1 = Object.defineProperty, r$4 = Object.getOwnPropertyDescriptor, h$1 = Object.getOwnPropertyNames, o$2 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
458
458
  return t;
459
459
  }, u$1 = {
460
460
  toAttribute: function toAttribute(t, s) {
@@ -488,7 +488,7 @@ var _Symbol, _a, _a1;
488
488
  return i;
489
489
  }
490
490
  }, f$1 = function(t, s) {
491
- return !i$1(t, s);
491
+ return !i$2(t, s);
492
492
  }, y$1 = {
493
493
  attribute: !0,
494
494
  type: String,
@@ -1163,7 +1163,7 @@ function _create_super$1(Derived) {
1163
1163
  };
1164
1164
  }
1165
1165
  var _t;
1166
- var t$1 = globalThis, i = t$1.trustedTypes, s$1 = i ? i.createPolicy("lit-html", {
1166
+ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
1167
1167
  createHTML: function(t) {
1168
1168
  return t;
1169
1169
  }
@@ -1184,14 +1184,14 @@ var t$1 = globalThis, i = t$1.trustedTypes, s$1 = i ? i.createPolicy("lit-html",
1184
1184
  values: s
1185
1185
  };
1186
1186
  };
1187
- }, x = y(1), w = Symbol.for("lit-noChange"), T = Symbol.for("lit-nothing"), A = new WeakMap, E = r$3.createTreeWalker(r$3, 129);
1188
- function C(t, i) {
1189
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1190
- return void 0 !== s$1 ? s$1.createHTML(i) : i;
1187
+ }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$3.createTreeWalker(r$3, 129);
1188
+ function P(t, i) {
1189
+ if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1190
+ return void 0 !== s ? s.createHTML(i) : i;
1191
1191
  }
1192
- var P = function(t, i) {
1192
+ var V = function(t, i) {
1193
1193
  var s = t.length - 1, o = [];
1194
- var r, l = 2 === i ? "<svg>" : "", c = f;
1194
+ var r, l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "", c = f;
1195
1195
  for(var _$i = 0; _$i < s; _$i++){
1196
1196
  var s1 = t[_$i];
1197
1197
  var a = void 0, u = void 0, d = -1, y = 0;
@@ -1200,24 +1200,24 @@ var P = function(t, i) {
1200
1200
  l += c === f ? s1 + n$1 : d >= 0 ? (o.push(a), s1.slice(0, d) + e + s1.slice(d) + h + x) : s1 + h + (-2 === d ? _$i : x);
1201
1201
  }
1202
1202
  return [
1203
- C(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : "")),
1203
+ P(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")),
1204
1204
  o
1205
1205
  ];
1206
1206
  };
1207
- var V = /*#__PURE__*/ function() {
1208
- function V(param, n) {
1207
+ var N = /*#__PURE__*/ function() {
1208
+ function N(param, n) {
1209
1209
  var t = param.strings, s = param._$litType$;
1210
- _class_call_check$1(this, V);
1210
+ _class_call_check$1(this, N);
1211
1211
  var r;
1212
1212
  this.parts = [];
1213
1213
  var c = 0, a = 0;
1214
- var u = t.length - 1, d = this.parts, _P = _sliced_to_array(P(t, s), 2), f = _P[0], v = _P[1];
1215
- if (this.el = V.createElement(f, n), E.currentNode = this.el.content, 2 === s) {
1214
+ var u = t.length - 1, d = this.parts, _V = _sliced_to_array(V(t, s), 2), f = _V[0], v = _V[1];
1215
+ if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
1216
1216
  var _t;
1217
1217
  var t1 = this.el.content.firstChild;
1218
1218
  (_t = t1).replaceWith.apply(_t, _to_consumable_array(t1.childNodes));
1219
1219
  }
1220
- for(; null !== (r = E.nextNode()) && d.length < u;){
1220
+ for(; null !== (r = C.nextNode()) && d.length < u;){
1221
1221
  if (1 === r.nodeType) {
1222
1222
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1223
1223
  if (r.hasAttributes()) try {
@@ -1230,7 +1230,7 @@ var V = /*#__PURE__*/ function() {
1230
1230
  index: c,
1231
1231
  name: e1[2],
1232
1232
  strings: s1,
1233
- ctor: "." === e1[1] ? k : "?" === e1[1] ? H : "@" === e1[1] ? I : R
1233
+ ctor: "." === e1[1] ? H : "?" === e1[1] ? I : "@" === e1[1] ? L : k
1234
1234
  }), r.removeAttribute(t2);
1235
1235
  } else t2.startsWith(h) && (d.push({
1236
1236
  type: 6,
@@ -1254,8 +1254,8 @@ var V = /*#__PURE__*/ function() {
1254
1254
  if ($.test(r.tagName)) {
1255
1255
  var t3 = r.textContent.split(h), s2 = t3.length - 1;
1256
1256
  if (s2 > 0) {
1257
- r.textContent = i ? i.emptyScript : "";
1258
- for(var i2 = 0; i2 < s2; i2++)r.append(t3[i2], l()), E.nextNode(), d.push({
1257
+ r.textContent = i$1 ? i$1.emptyScript : "";
1258
+ for(var i2 = 0; i2 < s2; i2++)r.append(t3[i2], l()), C.nextNode(), d.push({
1259
1259
  type: 2,
1260
1260
  index: ++c
1261
1261
  });
@@ -1276,7 +1276,7 @@ var V = /*#__PURE__*/ function() {
1276
1276
  c++;
1277
1277
  }
1278
1278
  }
1279
- _create_class$1(V, null, [
1279
+ _create_class$1(N, null, [
1280
1280
  {
1281
1281
  key: "createElement",
1282
1282
  value: function createElement(t, i) {
@@ -1285,24 +1285,24 @@ var V = /*#__PURE__*/ function() {
1285
1285
  }
1286
1286
  }
1287
1287
  ]);
1288
- return V;
1288
+ return N;
1289
1289
  }();
1290
- function N(t, i) {
1290
+ function S(t, i) {
1291
1291
  var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : t, e = arguments.length > 3 ? arguments[3] : void 0;
1292
1292
  var _s__$Co, _h__$AO;
1293
1293
  var _s;
1294
- if (i === w) return i;
1294
+ if (i === T) return i;
1295
1295
  var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
1296
1296
  var o = c(i) ? void 0 : i._$litDirective$;
1297
1297
  var __$Co;
1298
- return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, !1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = N(t, h._$AS(t, i.values), h, e)), i;
1298
+ return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, !1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
1299
1299
  }
1300
- var S = /*#__PURE__*/ function() {
1301
- function S(t, i) {
1302
- _class_call_check$1(this, S);
1300
+ var M = /*#__PURE__*/ function() {
1301
+ function M(t, i) {
1302
+ _class_call_check$1(this, M);
1303
1303
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1304
1304
  }
1305
- _create_class$1(S, [
1305
+ _create_class$1(M, [
1306
1306
  {
1307
1307
  key: "parentNode",
1308
1308
  get: function get() {
@@ -1320,16 +1320,16 @@ var S = /*#__PURE__*/ function() {
1320
1320
  value: function u(t) {
1321
1321
  var _t_creationScope;
1322
1322
  var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$3).importNode(i, !0);
1323
- E.currentNode = e;
1324
- var h = E.nextNode(), o = 0, n = 0, l = s[0];
1323
+ C.currentNode = e;
1324
+ var h = C.nextNode(), o = 0, n = 0, l = s[0];
1325
1325
  for(; void 0 !== l;){
1326
1326
  if (o === l.index) {
1327
1327
  var i1 = void 0;
1328
- 2 === l.type ? i1 = new M(h, h.nextSibling, this, t) : 1 === l.type ? i1 = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i1 = new L(h, this, t)), this._$AV.push(i1), l = s[++n];
1328
+ 2 === l.type ? i1 = new R(h, h.nextSibling, this, t) : 1 === l.type ? i1 = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i1 = new z(h, this, t)), this._$AV.push(i1), l = s[++n];
1329
1329
  }
1330
- o !== (l === null || l === void 0 ? void 0 : l.index) && (h = E.nextNode(), o++);
1330
+ o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
1331
1331
  }
1332
- return E.currentNode = r$3, e;
1332
+ return C.currentNode = r$3, e;
1333
1333
  }
1334
1334
  },
1335
1335
  {
@@ -1359,15 +1359,15 @@ var S = /*#__PURE__*/ function() {
1359
1359
  }
1360
1360
  }
1361
1361
  ]);
1362
- return S;
1362
+ return M;
1363
1363
  }();
1364
- var M = /*#__PURE__*/ function() {
1365
- function M(t, i, s, e) {
1366
- _class_call_check$1(this, M);
1364
+ var R = /*#__PURE__*/ function() {
1365
+ function R(t, i, s, e) {
1366
+ _class_call_check$1(this, R);
1367
1367
  var _e_isConnected;
1368
- this.type = 2, this._$AH = T, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : !0;
1368
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : !0;
1369
1369
  }
1370
- _create_class$1(M, [
1370
+ _create_class$1(R, [
1371
1371
  {
1372
1372
  key: "_$AU",
1373
1373
  get: function get() {
@@ -1400,35 +1400,35 @@ var M = /*#__PURE__*/ function() {
1400
1400
  key: "_$AI",
1401
1401
  value: function _$AI(t) {
1402
1402
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1403
- t = N(this, t, i), c(t) ? t === T || null == t || "" === t ? (this._$AH !== T && this._$AR(), this._$AH = T) : t !== this._$AH && t !== w && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
1403
+ t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
1404
1404
  }
1405
1405
  },
1406
1406
  {
1407
- key: "S",
1408
- value: function S(t) {
1407
+ key: "O",
1408
+ value: function O(t) {
1409
1409
  return this._$AA.parentNode.insertBefore(t, this._$AB);
1410
1410
  }
1411
1411
  },
1412
1412
  {
1413
1413
  key: "T",
1414
1414
  value: function T(t) {
1415
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1415
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
1416
1416
  }
1417
1417
  },
1418
1418
  {
1419
1419
  key: "_",
1420
1420
  value: function _(t) {
1421
- this._$AH !== T && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
1421
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
1422
1422
  }
1423
1423
  },
1424
1424
  {
1425
1425
  key: "$",
1426
1426
  value: function $(t) {
1427
1427
  var _this__$AH;
1428
- var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = V.createElement(C(s.h, s.h[0]), this.options)), s);
1428
+ var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
1429
1429
  if (((_this__$AH = this._$AH) === null || _this__$AH === void 0 ? void 0 : _this__$AH._$AD) === e) this._$AH.p(i);
1430
1430
  else {
1431
- var _$t = new S(e, this), s1 = _$t.u(this.options);
1431
+ var _$t = new M(e, this), s1 = _$t.u(this.options);
1432
1432
  _$t.p(i), this.T(s1), this._$AH = _$t;
1433
1433
  }
1434
1434
  }
@@ -1437,7 +1437,7 @@ var M = /*#__PURE__*/ function() {
1437
1437
  key: "_$AC",
1438
1438
  value: function _$AC(t) {
1439
1439
  var i = A.get(t.strings);
1440
- return void 0 === i && A.set(t.strings, i = new V(t)), i;
1440
+ return void 0 === i && A.set(t.strings, i = new N(t)), i;
1441
1441
  }
1442
1442
  },
1443
1443
  {
@@ -1450,7 +1450,7 @@ var M = /*#__PURE__*/ function() {
1450
1450
  try {
1451
1451
  for(var _iterator = t[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
1452
1452
  var h = _step.value;
1453
- e === i.length ? i.push(s = new M(this.S(l()), this.S(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
1453
+ e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
1454
1454
  }
1455
1455
  } catch (err) {
1456
1456
  _didIteratorError = true;
@@ -1488,14 +1488,14 @@ var M = /*#__PURE__*/ function() {
1488
1488
  }
1489
1489
  }
1490
1490
  ]);
1491
- return M;
1491
+ return R;
1492
1492
  }();
1493
- var R = /*#__PURE__*/ function() {
1494
- function R(t, i, s, e, h) {
1495
- _class_call_check$1(this, R);
1496
- this.type = 1, this._$AH = T, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = T;
1493
+ var k = /*#__PURE__*/ function() {
1494
+ function k(t, i, s, e, h) {
1495
+ _class_call_check$1(this, k);
1496
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = E;
1497
1497
  }
1498
- _create_class$1(R, [
1498
+ _create_class$1(k, [
1499
1499
  {
1500
1500
  key: "tagName",
1501
1501
  get: function get() {
@@ -1514,11 +1514,11 @@ var R = /*#__PURE__*/ function() {
1514
1514
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this, s = arguments.length > 2 ? arguments[2] : void 0, e = arguments.length > 3 ? arguments[3] : void 0;
1515
1515
  var h = this.strings;
1516
1516
  var o = !1;
1517
- if (void 0 === h) t = N(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== w, o && (this._$AH = t);
1517
+ if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
1518
1518
  else {
1519
1519
  var e1 = t;
1520
1520
  var n, r;
1521
- for(t = h[0], n = 0; n < h.length - 1; n++)r = N(this, e1[s + n], i, n), r === w && (r = this._$AH[n]), o || (o = !c(r) || r !== this._$AH[n]), r === T ? t = T : t !== T && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1521
+ for(t = h[0], n = 0; n < h.length - 1; n++)r = S(this, e1[s + n], i, n), r === T && (r = this._$AH[n]), o || (o = !c(r) || r !== this._$AH[n]), r === E ? t = E : t !== E && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1522
1522
  }
1523
1523
  o && !e && this.j(t);
1524
1524
  }
@@ -1526,71 +1526,71 @@ var R = /*#__PURE__*/ function() {
1526
1526
  {
1527
1527
  key: "j",
1528
1528
  value: function j(t) {
1529
- t === T ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1529
+ t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1530
1530
  }
1531
1531
  }
1532
1532
  ]);
1533
- return R;
1533
+ return k;
1534
1534
  }();
1535
- var k = /*#__PURE__*/ function(R) {
1536
- _inherits$1(k, R);
1537
- var _super = _create_super$1(k);
1538
- function k() {
1539
- _class_call_check$1(this, k);
1535
+ var H = /*#__PURE__*/ function(k) {
1536
+ _inherits$1(H, k);
1537
+ var _super = _create_super$1(H);
1538
+ function H() {
1539
+ _class_call_check$1(this, H);
1540
1540
  var _this;
1541
1541
  _this = _super.call.apply(_super, [
1542
1542
  this
1543
1543
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
1544
1544
  return _possible_constructor_return$1(_this);
1545
1545
  }
1546
- _create_class$1(k, [
1546
+ _create_class$1(H, [
1547
1547
  {
1548
1548
  key: "j",
1549
1549
  value: function j(t) {
1550
- this.element[this.name] = t === T ? void 0 : t;
1550
+ this.element[this.name] = t === E ? void 0 : t;
1551
1551
  }
1552
1552
  }
1553
1553
  ]);
1554
- return k;
1555
- }(R);
1556
- var H = /*#__PURE__*/ function(R) {
1557
- _inherits$1(H, R);
1558
- var _super = _create_super$1(H);
1559
- function H() {
1560
- _class_call_check$1(this, H);
1554
+ return H;
1555
+ }(k);
1556
+ var I = /*#__PURE__*/ function(k) {
1557
+ _inherits$1(I, k);
1558
+ var _super = _create_super$1(I);
1559
+ function I() {
1560
+ _class_call_check$1(this, I);
1561
1561
  var _this;
1562
1562
  _this = _super.call.apply(_super, [
1563
1563
  this
1564
1564
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
1565
1565
  return _possible_constructor_return$1(_this);
1566
1566
  }
1567
- _create_class$1(H, [
1567
+ _create_class$1(I, [
1568
1568
  {
1569
1569
  key: "j",
1570
1570
  value: function j(t) {
1571
- this.element.toggleAttribute(this.name, !!t && t !== T);
1571
+ this.element.toggleAttribute(this.name, !!t && t !== E);
1572
1572
  }
1573
1573
  }
1574
1574
  ]);
1575
- return H;
1576
- }(R);
1577
- var I = /*#__PURE__*/ function(R) {
1578
- _inherits$1(I, R);
1579
- var _super = _create_super$1(I);
1580
- function I(t, i, s, e, h) {
1581
- _class_call_check$1(this, I);
1575
+ return I;
1576
+ }(k);
1577
+ var L = /*#__PURE__*/ function(k) {
1578
+ _inherits$1(L, k);
1579
+ var _super = _create_super$1(L);
1580
+ function L(t, i, s, e, h) {
1581
+ _class_call_check$1(this, L);
1582
1582
  var _this;
1583
1583
  _this = _super.call(this, t, i, s, e, h), _this.type = 5;
1584
1584
  return _possible_constructor_return$1(_this);
1585
1585
  }
1586
- _create_class$1(I, [
1586
+ _create_class$1(L, [
1587
1587
  {
1588
1588
  key: "_$AI",
1589
1589
  value: function _$AI(t) {
1590
1590
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1591
- var _N;
1592
- if ((t = (_N = N(this, t, i, 0)) !== null && _N !== void 0 ? _N : T) === w) return;
1593
- var s = this._$AH, e = t === T && s !== T || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== T && (s === T || e);
1591
+ var _S;
1592
+ if ((t = (_S = S(this, t, i, 0)) !== null && _S !== void 0 ? _S : E) === T) return;
1593
+ var s = this._$AH, e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== E && (s === E || e);
1594
1594
  e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
1595
1595
  }
1596
1596
  },
@@ -1603,14 +1603,14 @@ var I = /*#__PURE__*/ function(R) {
1603
1603
  }
1604
1604
  }
1605
1605
  ]);
1606
- return I;
1607
- }(R);
1608
- var L = /*#__PURE__*/ function() {
1609
- function L(t, i, s) {
1610
- _class_call_check$1(this, L);
1606
+ return L;
1607
+ }(k);
1608
+ var z = /*#__PURE__*/ function() {
1609
+ function z(t, i, s) {
1610
+ _class_call_check$1(this, z);
1611
1611
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1612
1612
  }
1613
- _create_class$1(L, [
1613
+ _create_class$1(z, [
1614
1614
  {
1615
1615
  key: "_$AU",
1616
1616
  get: function get() {
@@ -1620,23 +1620,23 @@ var L = /*#__PURE__*/ function() {
1620
1620
  {
1621
1621
  key: "_$AI",
1622
1622
  value: function _$AI(t) {
1623
- N(this, t);
1623
+ S(this, t);
1624
1624
  }
1625
1625
  }
1626
1626
  ]);
1627
- return L;
1627
+ return z;
1628
1628
  }();
1629
- var Z = t$1.litHtmlPolyfillSupport;
1629
+ var j = t$1.litHtmlPolyfillSupport;
1630
1630
  var _litHtmlVersions;
1631
- Z === null || Z === void 0 ? void 0 : Z(V, M), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.1.4");
1632
- var j = function(t, i, s) {
1631
+ j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.2.1");
1632
+ var B = function(t, i, s) {
1633
1633
  var _s_renderBefore;
1634
1634
  var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
1635
1635
  var h = e._$litPart$;
1636
1636
  if (void 0 === h) {
1637
1637
  var _s_renderBefore1;
1638
1638
  var _$t = (_s_renderBefore1 = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore1 !== void 0 ? _s_renderBefore1 : null;
1639
- e._$litPart$ = h = new M(i.insertBefore(l(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1639
+ e._$litPart$ = h = new R(i.insertBefore(l(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1640
1640
  }
1641
1641
  return h._$AI(t), h;
1642
1642
  };
@@ -1755,11 +1755,11 @@ var _globalThis1;
1755
1755
  * @license
1756
1756
  * Copyright 2017 Google LLC
1757
1757
  * SPDX-License-Identifier: BSD-3-Clause
1758
- */ var s = /*#__PURE__*/ function(t) {
1759
- _inherits(s, t);
1760
- var _super = _create_super(s);
1761
- function s() {
1762
- _class_call_check(this, s);
1758
+ */ var r$2 = /*#__PURE__*/ function(t) {
1759
+ _inherits(r, t);
1760
+ var _super = _create_super(r);
1761
+ function r() {
1762
+ _class_call_check(this, r);
1763
1763
  var _this;
1764
1764
  _this = _super.call.apply(_super, [
1765
1765
  this
@@ -1768,12 +1768,12 @@ var _globalThis1;
1768
1768
  }, _this._$Do = void 0;
1769
1769
  return _possible_constructor_return(_this);
1770
1770
  }
1771
- _create_class(s, [
1771
+ _create_class(r, [
1772
1772
  {
1773
1773
  key: "createRenderRoot",
1774
1774
  value: function createRenderRoot() {
1775
1775
  var _this_renderOptions;
1776
- var _$t = _get(_get_prototype_of(s.prototype), "createRenderRoot", this).call(this);
1776
+ var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
1777
1777
  var _renderBefore;
1778
1778
  return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
1779
1779
  }
@@ -1781,42 +1781,42 @@ var _globalThis1;
1781
1781
  {
1782
1782
  key: "update",
1783
1783
  value: function update(t) {
1784
- var i = this.render();
1785
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(s.prototype), "update", this).call(this, t), this._$Do = j(i, this.renderRoot, this.renderOptions);
1784
+ var s = this.render();
1785
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(r.prototype), "update", this).call(this, t), this._$Do = B(s, this.renderRoot, this.renderOptions);
1786
1786
  }
1787
1787
  },
1788
1788
  {
1789
1789
  key: "connectedCallback",
1790
1790
  value: function connectedCallback() {
1791
1791
  var _this__$Do;
1792
- _get(_get_prototype_of(s.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
1792
+ _get(_get_prototype_of(r.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
1793
1793
  }
1794
1794
  },
1795
1795
  {
1796
1796
  key: "disconnectedCallback",
1797
1797
  value: function disconnectedCallback() {
1798
1798
  var _this__$Do;
1799
- _get(_get_prototype_of(s.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
1799
+ _get(_get_prototype_of(r.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
1800
1800
  }
1801
1801
  },
1802
1802
  {
1803
1803
  key: "render",
1804
1804
  value: function render() {
1805
- return w;
1805
+ return T;
1806
1806
  }
1807
1807
  }
1808
1808
  ]);
1809
- return s;
1809
+ return r;
1810
1810
  }(b);
1811
- s._$litElement$ = !0, s["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
1812
- LitElement: s
1811
+ r$2._$litElement$ = !0, r$2["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
1812
+ LitElement: r$2
1813
1813
  });
1814
- var r$2 = globalThis.litElementPolyfillSupport;
1815
- r$2 === null || r$2 === void 0 ? void 0 : r$2({
1816
- LitElement: s
1814
+ var i = globalThis.litElementPolyfillSupport;
1815
+ i === null || i === void 0 ? void 0 : i({
1816
+ LitElement: r$2
1817
1817
  });
1818
1818
  var _litElementVersions;
1819
- ((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.0.6");
1819
+ ((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
1820
1820
 
1821
1821
  /**
1822
1822
  * @license
@@ -1992,7 +1992,7 @@ function _object_spread_props(target, source) {
1992
1992
  }
1993
1993
 
1994
1994
  const PDFJS_URL = 'https://cdn.jsdelivr.net/npm/pdfjs-dist@4.0.269/build/pdf.min.mjs';
1995
- class InputPdfElement extends s {
1995
+ class InputPdfElement extends r$2 {
1996
1996
  get content() {
1997
1997
  return this._content;
1998
1998
  }
@@ -2026,7 +2026,7 @@ class InputPdfElement extends s {
2026
2026
  }
2027
2027
  async extractText(file) {
2028
2028
  const pdfjs = await import(PDFJS_URL);
2029
- pdfjs.GlobalWorkerOptions.workerSrc = './pdf.worker.min.mjs';
2029
+ pdfjs.GlobalWorkerOptions.workerSrc = '/public/pdf.worker.min.mjs';
2030
2030
  const pdf = await pdfjs.getDocument(file).promise;
2031
2031
  let text = '';
2032
2032
  for(let i = 1; i <= pdf.numPages; i++){
@@ -2063,7 +2063,7 @@ class InputPdfElement extends s {
2063
2063
  this._value = '';
2064
2064
  }
2065
2065
  }
2066
- InputPdfElement.styles = i$2`
2066
+ InputPdfElement.styles = i$3`
2067
2067
  .download {
2068
2068
  padding: 10px 15px;
2069
2069
  margin-bottom: 10px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-pdf",
3
- "version": "0.41.4",
3
+ "version": "0.43.2",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"