@danidoble/webserial 4.4.0-beta.2 → 4.4.0-beta.3

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 (58) hide show
  1. package/dist/boardroid.cjs +1 -1
  2. package/dist/boardroid.js +99 -95
  3. package/dist/hopper.cjs +2 -2
  4. package/dist/hopper.js +66 -51
  5. package/dist/jofemar.cjs +1 -1
  6. package/dist/jofemar.js +57 -141
  7. package/dist/kernel-C1HLYiV1.cjs +1 -0
  8. package/dist/kernel-C8ISUhzV.cjs +1 -0
  9. package/dist/kernel-CQcZ_OiG.js +831 -0
  10. package/dist/{kernel-CXM5xoJD.js → kernel-DkC7Kj3m.js} +147 -124
  11. package/dist/kernel-DtXV8d8B.js +831 -0
  12. package/dist/kernel-DyNuXvtW.cjs +1 -0
  13. package/dist/kernel-aqBCxtkj.js +831 -0
  14. package/dist/kernel-pO_elWba.cjs +1 -0
  15. package/dist/kernel.cjs +2 -2
  16. package/dist/kernel.d.ts +14 -0
  17. package/dist/kernel.d.ts.map +1 -0
  18. package/dist/kernel.js +3 -4
  19. package/dist/locker.cjs +1 -1
  20. package/dist/locker.js +32 -26
  21. package/dist/main.d.ts +28 -0
  22. package/dist/main.d.ts.map +1 -0
  23. package/dist/pinpad.cjs +14 -14
  24. package/dist/pinpad.js +816 -791
  25. package/dist/pinpax.cjs +4 -4
  26. package/dist/pinpax.js +54 -54
  27. package/dist/relay.cjs +1 -1
  28. package/dist/relay.js +11 -18
  29. package/dist/serial/boardroid.d.ts +206 -0
  30. package/dist/serial/boardroid.d.ts.map +1 -0
  31. package/dist/serial/hopper.d.ts +85 -0
  32. package/dist/serial/hopper.d.ts.map +1 -0
  33. package/dist/serial/jofemar.d.ts +218 -0
  34. package/dist/serial/jofemar.d.ts.map +1 -0
  35. package/dist/serial/kernel.d.ts +137 -0
  36. package/dist/serial/kernel.d.ts.map +1 -0
  37. package/dist/serial/locker.d.ts +33 -0
  38. package/dist/serial/locker.d.ts.map +1 -0
  39. package/dist/serial/pinpad.d.ts +263 -0
  40. package/dist/serial/pinpad.d.ts.map +1 -0
  41. package/dist/serial/pinpax.d.ts +60 -0
  42. package/dist/serial/pinpax.d.ts.map +1 -0
  43. package/dist/serial/relay.d.ts +13 -0
  44. package/dist/serial/relay.d.ts.map +1 -0
  45. package/dist/utils/devices.d.ts +26 -0
  46. package/dist/utils/devices.d.ts.map +1 -0
  47. package/dist/utils/dispatcher.d.ts +17 -0
  48. package/dist/utils/dispatcher.d.ts.map +1 -0
  49. package/dist/utils/emulator.d.ts +80 -0
  50. package/dist/utils/emulator.d.ts.map +1 -0
  51. package/dist/utils/utils.d.ts +7 -0
  52. package/dist/utils/utils.d.ts.map +1 -0
  53. package/dist/webserial-core-CH2Xov2y.js +3325 -0
  54. package/dist/webserial-core-Cj_EZjAU.cjs +4 -0
  55. package/dist/webserial.cjs +2 -2
  56. package/dist/webserial.js +16 -16
  57. package/package.json +10 -7
  58. package/dist/kernel-Dizfdw3M.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { a as r, u as h } from "./webserial-core-D3luFguv.js";
2
- function p(i = 100) {
3
- return new Promise((n) => setTimeout(() => n(), i));
1
+ import { a as p, u } from "./webserial-core-CH2Xov2y.js";
2
+ function b(o = 100) {
3
+ return new Promise((n) => setTimeout(() => n(), o));
4
4
  }
5
5
  function k() {
6
6
  return "serial" in navigator;
@@ -8,14 +8,14 @@ function k() {
8
8
  function y() {
9
9
  return "geolocation" in navigator;
10
10
  }
11
- function D() {
11
+ function w() {
12
12
  return "crypto" in window;
13
13
  }
14
- function w(i = 1) {
15
- return i * 1e3;
14
+ function D(o = 1) {
15
+ return o * 1e3;
16
16
  }
17
- function _(i) {
18
- return i == null || i === "";
17
+ function M(o) {
18
+ return o == null || o === "";
19
19
  }
20
20
  class e {
21
21
  static enable = !1;
@@ -27,12 +27,10 @@ class e {
27
27
  return e.enable;
28
28
  }
29
29
  static #o(n) {
30
- if (typeof n != "object" || !(n instanceof b))
31
- throw new Error(`Type ${n.typeDevice} is not supported`);
32
30
  return e.instance = n, e.#i = n.typeDevice, e.#r = n.deviceNumber, !0;
33
31
  }
34
32
  static #n(n = null) {
35
- return !e.#d() || n === null && e.instance === null ? !1 : (e.instance === null && e.#o(n), !0);
33
+ return !e.#d() || n === null && e.instance === null ? !1 : (e.instance === null && n !== null && e.#o(n), !0);
36
34
  }
37
35
  static #l() {
38
36
  if (e.#i !== "locker") throw new Error("This function is only available for Locker devices");
@@ -62,7 +60,7 @@ class e {
62
60
  // return true;
63
61
  // }
64
62
  static #e(n) {
65
- e.instance.__emulate({ code: n });
63
+ e.instance !== null && e.instance.__emulate({ code: n });
66
64
  }
67
65
  static status(n = null) {
68
66
  if (!e.#n(n)) return !1;
@@ -128,8 +126,8 @@ class e {
128
126
  }
129
127
  static keyPressed(n = null) {
130
128
  if (!e.#n(n) || !e.#s()) return !1;
131
- const s = ["30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "2A", "23", "41", "42", "43", "44"], t = (128 + e.#r).toString(16), a = Math.floor(Math.random() * 15);
132
- e.#e(["2", t, "54", s[a]]);
129
+ const s = ["30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "2A", "23", "41", "42", "43", "44"], t = (128 + e.#r).toString(16), i = Math.floor(Math.random() * 15);
130
+ e.#e(["2", t, "54", s[i]]);
133
131
  }
134
132
  static doorOpened(n = null) {
135
133
  if (!e.#n(n) || !this.#c()) return !1;
@@ -333,13 +331,13 @@ class e {
333
331
  }
334
332
  static coinInsertedBox(n = null, s = null) {
335
333
  if (!e.#n(n) || !e.#t()) return !1;
336
- const t = ["40", "41", "42", "43", "44", "45"], a = e.#f(t, s);
337
- e.#e(["2", "A0", a]);
334
+ const t = ["40", "41", "42", "43", "44", "45"], i = e.#f(t, s);
335
+ e.#e(["2", "A0", i]);
338
336
  }
339
337
  static coinInsertedTube(n = null, s = null) {
340
338
  if (!e.#n(n) || !e.#t()) return !1;
341
- const t = ["50", "51", "52", "53", "54", "55"], a = e.#f(t, s);
342
- e.#e(["2", "A0", a]);
339
+ const t = ["50", "51", "52", "53", "54", "55"], i = e.#f(t, s);
340
+ e.#e(["2", "A0", i]);
343
341
  }
344
342
  static #a(n, s = null) {
345
343
  let t = n[Math.floor(Math.random() * 4)];
@@ -365,23 +363,23 @@ class e {
365
363
  }
366
364
  static banknoteInsertedStacker(n = null, s = null) {
367
365
  if (!e.#n(n) || !e.#t()) return !1;
368
- const t = ["80", "81", "82", "83", "84"], a = e.#a(t, s);
369
- e.#e(["2", "B0", a]);
366
+ const t = ["80", "81", "82", "83", "84"], i = e.#a(t, s);
367
+ e.#e(["2", "B0", i]);
370
368
  }
371
369
  static banknoteInsertedEscrow(n = null, s = null) {
372
370
  if (!e.#n(n) || !e.#t()) return !1;
373
- const t = ["90", "91", "92", "93", "94"], a = e.#a(t, s);
374
- e.#e(["2", "B0", a]);
371
+ const t = ["90", "91", "92", "93", "94"], i = e.#a(t, s);
372
+ e.#e(["2", "B0", i]);
375
373
  }
376
374
  static banknoteEjected(n = null, s = null) {
377
375
  if (!e.#n(n) || !e.#t()) return !1;
378
- const t = ["A0", "A1", "A2", "A3", "A4"], a = e.#a(t, s);
379
- e.#e(["2", "B0", a]);
376
+ const t = ["A0", "A1", "A2", "A3", "A4"], i = e.#a(t, s);
377
+ e.#e(["2", "B0", i]);
380
378
  }
381
379
  static banknoteInsertedRecycler(n = null, s = null) {
382
380
  if (!e.#n(n) || !e.#t()) return !1;
383
- const t = ["B0", "B1", "B2", "B3", "B4"], a = e.#a(t, s);
384
- e.#e(["2", "B0", a]);
381
+ const t = ["B0", "B1", "B2", "B3", "B4"], i = e.#a(t, s);
382
+ e.#e(["2", "B0", i]);
385
383
  }
386
384
  static banknoteTaken(n = null) {
387
385
  if (!e.#n(n) || !e.#t()) return !1;
@@ -438,7 +436,7 @@ class e {
438
436
  "1d",
439
437
  "1e",
440
438
  "1f"
441
- ], [t, a, c, l, f, d] = [
439
+ ], [t, i, a, c, l, f] = [
442
440
  s[Math.floor(Math.random() * 30)],
443
441
  s[Math.floor(Math.random() * 30)],
444
442
  s[Math.floor(Math.random() * 30)],
@@ -446,11 +444,11 @@ class e {
446
444
  s[Math.floor(Math.random() * 30)],
447
445
  s[Math.floor(Math.random() * 30)]
448
446
  ];
449
- e.#e(["2", "D2", t, a, c, l, f, d]);
447
+ e.#e(["2", "D2", t, i, a, c, l, f]);
450
448
  }
451
449
  static readBillPurse(n = null, s = null) {
452
- if (!e.#n(n) || !e.#t()) return !1;
453
- let t = [
450
+ if (!e.#n(n) || !e.#t() || e.instance === null) return !1;
451
+ const t = e.instance, i = [
454
452
  "0",
455
453
  "1",
456
454
  "2",
@@ -481,9 +479,9 @@ class e {
481
479
  "1b",
482
480
  "1c"
483
481
  ];
484
- if (n._recycler.ict) {
485
- const a = t[Math.floor(Math.random() * 31)];
486
- let c = "0", l = "0", f = "0", d = "0", o = "0";
482
+ if (t.__banknote_purse.recycler.ict) {
483
+ const a = i[Math.floor(Math.random() * 31)];
484
+ let c = "0", l = "0", f = "0", d = "0", h = "0";
487
485
  if (s !== null && !isNaN(parseInt(s)))
488
486
  switch (s.toString()) {
489
487
  case "20":
@@ -499,11 +497,11 @@ class e {
499
497
  d = a;
500
498
  break;
501
499
  case "500":
502
- o = a;
500
+ h = a;
503
501
  break;
504
502
  }
505
503
  else
506
- switch (n._recycler.bill) {
504
+ switch (t.__banknote_purse.recycler.banknote) {
507
505
  case 0:
508
506
  c = a;
509
507
  break;
@@ -517,20 +515,20 @@ class e {
517
515
  d = a;
518
516
  break;
519
517
  case 4:
520
- o = a;
518
+ h = a;
521
519
  break;
522
520
  }
523
- e.#e(["2", "D3", c, l, f, d, o, "0"]);
521
+ e.#e(["2", "D3", c, l, f, d, h, "0"]);
524
522
  } else {
525
- const [a, c, l, f, d, o] = [
526
- t[Math.floor(Math.random() * 30)],
527
- t[Math.floor(Math.random() * 30)],
528
- t[Math.floor(Math.random() * 30)],
529
- t[Math.floor(Math.random() * 2)],
530
- t[Math.floor(Math.random())],
531
- t[Math.floor(Math.random())]
523
+ const [a, c, l, f, d, h] = [
524
+ i[Math.floor(Math.random() * 30)],
525
+ i[Math.floor(Math.random() * 30)],
526
+ i[Math.floor(Math.random() * 30)],
527
+ i[Math.floor(Math.random() * 2)],
528
+ i[Math.floor(Math.random())],
529
+ i[Math.floor(Math.random())]
532
530
  ];
533
- e.#e(["2", "D3", a, c, l, f, d, o]);
531
+ e.#e(["2", "D3", a, c, l, f, d, h]);
534
532
  }
535
533
  }
536
534
  static banknoteAccepted(n = null) {
@@ -542,8 +540,8 @@ class e {
542
540
  e.#e(["2", "D4", "0"]);
543
541
  }
544
542
  static banknotesDispensed(n = null) {
545
- if (!e.#n(n) || !e.#t()) return !1;
546
- let s = [
543
+ if (!e.#n(n) || !e.#t() || e.instance === null) return !1;
544
+ const s = e.instance, t = [
547
545
  "1",
548
546
  "2",
549
547
  "3",
@@ -573,37 +571,37 @@ class e {
573
571
  "1b",
574
572
  "1c"
575
573
  ];
576
- if (n._recycler.ict) {
577
- const t = s[Math.floor(Math.random() * 30)];
574
+ if (s.__banknote_purse.recycler.ict) {
575
+ const i = t[Math.floor(Math.random() * 30)];
578
576
  let a = "0", c = "0", l = "0", f = "0", d = "0";
579
- switch (n._recycler.bill) {
577
+ switch (s.__banknote_purse.recycler.banknote) {
580
578
  case 0:
581
- a = t;
579
+ a = i;
582
580
  break;
583
581
  case 1:
584
- c = t;
582
+ c = i;
585
583
  break;
586
584
  case 2:
587
- l = t;
585
+ l = i;
588
586
  break;
589
587
  case 3:
590
- f = t;
588
+ f = i;
591
589
  break;
592
590
  case 4:
593
- d = t;
591
+ d = i;
594
592
  break;
595
593
  }
596
594
  e.#e(["2", "D5", a, c, l, f, d, "0"]);
597
595
  } else {
598
- const [t, a, c, l, f, d] = [
599
- s[Math.floor(Math.random() * 30)],
600
- s[Math.floor(Math.random() * 30)],
601
- s[Math.floor(Math.random() * 30)],
602
- s[Math.floor(Math.random() * 2)],
603
- s[Math.floor(Math.random())],
604
- s[Math.floor(Math.random())]
596
+ const [i, a, c, l, f, d] = [
597
+ t[Math.floor(Math.random() * 30)],
598
+ t[Math.floor(Math.random() * 30)],
599
+ t[Math.floor(Math.random() * 30)],
600
+ t[Math.floor(Math.random() * 2)],
601
+ t[Math.floor(Math.random())],
602
+ t[Math.floor(Math.random())]
605
603
  ];
606
- e.#e(["2", "D5", t, a, c, l, f, d]);
604
+ e.#e(["2", "D5", i, a, c, l, f, d]);
607
605
  }
608
606
  }
609
607
  static coinsDispensed(n = null) {
@@ -663,41 +661,79 @@ class e {
663
661
  e.#e(["6", "4F"]);
664
662
  }
665
663
  static setConnection(n = null) {
666
- if (!e.#n(n)) return !1;
667
- n.__internal__.serial.connected = !0;
664
+ if (!e.#n(n) || e.instance === null) return !1;
665
+ e.instance.__internal__.serial.connected = !0;
666
+ }
667
+ }
668
+ class r extends p {
669
+ constructor() {
670
+ super();
671
+ const n = {
672
+ relay: [],
673
+ locker: [],
674
+ jofemar: [],
675
+ boardroid: [],
676
+ pinpad: [],
677
+ pinpax: [],
678
+ hopper: []
679
+ };
680
+ r.devices = { ...structuredClone(p.devices), ...n };
681
+ }
682
+ addCustom(n, s) {
683
+ r.registerType(n), r.add(s);
684
+ }
685
+ /**
686
+ * @deprecated use get instead
687
+ * */
688
+ getCustomByUuid(n, s) {
689
+ return r.get(n, s);
690
+ }
691
+ getJofemarByUuid(n) {
692
+ return r.get("jofemar", n);
693
+ }
694
+ getLockerByUuid(n) {
695
+ return r.get("locker", n);
696
+ }
697
+ getRelayByUuid(n) {
698
+ return r.get("relay", n);
699
+ }
700
+ getBoardroidByUuid(n) {
701
+ return r.get("boardroid", n);
702
+ }
703
+ getPinPadByUuid(n) {
704
+ return r.get("pinpad", n);
705
+ }
706
+ getPinPaxByUuid(n) {
707
+ return r.get("pinpax", n);
708
+ }
709
+ getHopperByUuid(n) {
710
+ return r.get("hopper", n);
711
+ }
712
+ getJofemar(n = 1) {
713
+ return r.getByNumber("jofemar", n);
714
+ }
715
+ getBoardroid(n = 1) {
716
+ return r.getByNumber("boardroid", n);
717
+ }
718
+ getLocker(n = 1) {
719
+ return r.getByNumber("locker", n);
720
+ }
721
+ getRelay(n = 1) {
722
+ return r.getByNumber("relay", n);
723
+ }
724
+ getPinPad(n = 1) {
725
+ return r.getByNumber("pinpad", n);
726
+ }
727
+ getPinPax(n = 1) {
728
+ return r.getByNumber("pinpax", n);
729
+ }
730
+ getHopper(n = 1) {
731
+ return r.getByNumber("hopper", n);
668
732
  }
669
733
  }
670
734
  r.instance || (r.instance = new r());
671
- const u = {
672
- relay: [],
673
- locker: [],
674
- jofemar: [],
675
- boardroid: [],
676
- pinpad: [],
677
- pinpax: [],
678
- hopper: []
679
- };
680
- r.devices = { ...r.devices, ...u };
681
- r.addCustom = (i, n) => {
682
- r.registerType(i), r.add(n);
683
- };
684
- r.getCustomByUuid = (i, n) => r.get(i, n);
685
- r.getJofemarByUuid = (i) => r.get("jofemar", i);
686
- r.getLockerByUuid = (i) => r.get("locker", i);
687
- r.getRelayByUuid = (i) => r.get("relay", i);
688
- r.getBoardroidByUuid = (i) => r.get("boardroid", i);
689
- r.getPinPadByUuid = (i) => r.get("pinpad", i);
690
- r.getPinPaxByUuid = (i) => r.get("pinpax", i);
691
- r.getHopperByUuid = (i) => r.get("hopper", i);
692
- r.getJofemar = (i = 1) => r.getByNumber("jofemar", i);
693
- r.getBoardroid = (i = 1) => r.getByNumber("boardroid", i);
694
- r.getLocker = (i = 1) => r.getByNumber("locker", i);
695
- r.getRelay = (i = 1) => r.getByNumber("relay", i);
696
- r.getPinPad = (i = 1) => r.getByNumber("pinpad", i);
697
- r.getPinPax = (i = 1) => r.getByNumber("pinpax", i);
698
- r.getHopper = (i = 1) => r.getByNumber("hopper", i);
699
- class b extends h {
700
- constructor(n) {
735
+ class S extends u {
736
+ constructor(n = {}) {
701
737
  super(n), this.__internal__ = structuredClone(this.__internal__), this.getResponseAsArrayHex(), this.__internal__.device.door_open = !1, this.__internal__.time.response_engines = 2e3, this.__internal__.time.sense = 100, this.__internal__.interval.waiting_sense = 0, this.__internal__.dispense = {
702
738
  must_response: !1,
703
739
  dispensing: !1,
@@ -717,16 +753,6 @@ class b extends h {
717
753
  async timeout(n, s) {
718
754
  await super.timeout(n, s), s === "dispense" && (this.__internal__.dispense.status = "no-response");
719
755
  }
720
- async serialPortsSaved(n) {
721
- const s = this.serialFilters;
722
- if (this.__internal__.aux_port_connector < n.length) {
723
- const t = this.__internal__.aux_port_connector;
724
- this.__internal__.serial.port = n[t];
725
- } else
726
- this.__internal__.aux_port_connector = 0, this.__internal__.serial.port = await navigator.serial.requestPort({ filters: s });
727
- if (!this.__internal__.serial.port)
728
- throw new Error("Select another port please");
729
- }
730
756
  internalClearSensing() {
731
757
  this.__internal__.interval.waiting_sense && clearInterval(this.__internal__.interval.waiting_sense), this.__internal__.interval.waiting_sense = 0, this.__internal__.dispense.status = null, this.__internal__.dispense.counter = 0, this.__internal__.dispense.dispensing = !1;
732
758
  }
@@ -739,31 +765,27 @@ class b extends h {
739
765
  }), null);
740
766
  }
741
767
  async internalDispenseStatus() {
742
- if (this.__internal__.dispense.must_response && (await p(this.__internal__.time.response_engines + 10), this.__internal__.dispense.status === "no-response"))
743
- return this.internalClearSensing(), this.__internal__.dispense.status = !1, this.dispatch("not-dispensed", { reason: "no-response" }), { status: !1, error: "no-response" };
744
- this.__internal__.dispense.status = null, this.__internal__.dispense.dispensing = !0, this.dispatch("internal:dispense:running", {});
745
- const n = this;
746
- return new Promise((s) => {
768
+ return this.__internal__.dispense.must_response && (await b(this.__internal__.time.response_engines + 10), this.__internal__.dispense.status === "no-response") ? (this.internalClearSensing(), this.__internal__.dispense.status = !1, this.dispatch("not-dispensed", { reason: "no-response" }), { status: !1, error: "no-response" }) : (this.__internal__.dispense.status = null, this.__internal__.dispense.dispensing = !0, this.dispatch("internal:dispense:running", {}), new Promise((n) => {
747
769
  this.__internal__.interval.waiting_sense = setInterval(() => {
748
- switch (n.__internal__.dispense.status) {
770
+ switch (this.__internal__.dispense.status) {
749
771
  case null:
750
- n.internalDispensingProcess() === !1 && (n.internalClearSensing(), n.dispatch("not-dispensed", { reason: "timeout" }), s({ status: !1, error: "timeout" }));
772
+ this.internalDispensingProcess() === !1 && (this.internalClearSensing(), this.dispatch("not-dispensed", { reason: "timeout" }), n({ status: !1, error: "timeout" }));
751
773
  break;
752
774
  case !0:
753
- n.internalClearSensing(), n.__internal__.dispense.status = !0, n.dispatch("dispensed", {}), s({ status: !0, error: null });
775
+ this.internalClearSensing(), this.__internal__.dispense.status = !0, this.dispatch("dispensed", {}), n({ status: !0, error: null });
754
776
  break;
755
777
  case !1:
756
- n.internalClearSensing(), n.__internal__.dispense.status = !1, n.dispatch("not-dispensed", { reason: "no-stock" }), s({ status: !1, error: null });
778
+ this.internalClearSensing(), this.__internal__.dispense.status = !1, this.dispatch("not-dispensed", { reason: "no-stock" }), n({ status: !1, error: null });
757
779
  break;
758
780
  case "elevator-locked":
759
- n.internalClearSensing(), n.__internal__.dispense.status = !1, n.dispatch("not-dispensed", { reason: "elevator-locked" }), s({ status: !1, error: "elevator-locked" });
781
+ this.internalClearSensing(), this.__internal__.dispense.status = !1, this.dispatch("not-dispensed", { reason: "elevator-locked" }), n({ status: !1, error: "elevator-locked" });
760
782
  break;
761
783
  case "no-response":
762
- n.internalClearSensing(), n.__internal__.dispense.status = !1, n.dispatch("not-dispensed", { reason: "no-response" }), s({ status: !1, error: "no-response" });
784
+ this.internalClearSensing(), this.__internal__.dispense.status = !1, this.dispatch("not-dispensed", { reason: "no-response" }), n({ status: !1, error: "no-response" });
763
785
  break;
764
786
  }
765
787
  }, this.__internal__.time.sense);
766
- });
788
+ }));
767
789
  }
768
790
  async internalDispense(n) {
769
791
  if (this.isDispensing) throw new Error("Another dispensing process is running");
@@ -773,8 +795,8 @@ class b extends h {
773
795
  const t = setInterval(async () => {
774
796
  if (this.__internal__.serial.queue.length > 0) return;
775
797
  clearInterval(t), await this.appendToQueue(n, "dispense");
776
- const a = await this.internalDispenseStatus();
777
- s(a);
798
+ const i = await this.internalDispenseStatus();
799
+ s(i);
778
800
  }, 100);
779
801
  });
780
802
  }
@@ -807,12 +829,13 @@ class b extends h {
807
829
  }
808
830
  }
809
831
  export {
832
+ r as D,
810
833
  e as E,
811
- b as K,
812
- D as a,
834
+ S as K,
835
+ w as a,
813
836
  y as b,
814
- w as g,
815
- _ as i,
837
+ D as g,
838
+ M as i,
816
839
  k as s,
817
- p as w
840
+ b as w
818
841
  };