@feedmepos/mf-payment 1.2.27 → 1.2.30

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 (78) hide show
  1. package/dist/OnboardForm-DOZ9futX.js +671 -0
  2. package/dist/OnboardForm-SZXqGGPm.js +707 -0
  3. package/dist/OnboardSubmission-BlVBKz-H.js +146 -0
  4. package/dist/OnboardSubmission-CjsvLPVX.js +152 -0
  5. package/dist/{PDFViewer-xrBtzrlR.js → PDFViewer-DlSCBBxr.js} +14 -12
  6. package/dist/{PayoutAccount-DI5YpzGm.js → PayoutAccount-BHbqJwXB.js} +5 -5
  7. package/dist/{PayoutAccount-mlaDc7_i.js → PayoutAccount-Ctd7j0SZ.js} +8 -7
  8. package/dist/{PayoutAccountSetting-IgBRFN0A.js → PayoutAccountSetting-CUlmHkw3.js} +4 -4
  9. package/dist/{Restaurant-CIGhOFvk.js → Restaurant-DDebeSrf.js} +4 -4
  10. package/dist/{RestaurantSetting-0CbusLcz.js → RestaurantSetting-Cf63FkWQ.js} +291 -222
  11. package/dist/{Settlement-DmG5-VSP.js → Settlement-C_V-iTDy.js} +3 -3
  12. package/dist/{Settlement-CUmpNHMN.js → Settlement-CctMzPsZ.js} +3 -3
  13. package/dist/{SettlementTransactions-DhjGSAg4.js → SettlementTransactions-9p3tYV0n.js} +3 -3
  14. package/dist/{SettlementTransactions-CcMUINyi.js → SettlementTransactions-DYvhz0Yh.js} +3 -3
  15. package/dist/Status.vue_vue_type_script_setup_true_lang-wrcEbNj3.js +29 -0
  16. package/dist/{Terminal-KE_9M2jr.js → Terminal-D3QDgPY6.js} +5 -5
  17. package/dist/{TerminalSetting-DdJl_9JJ.js → TerminalSetting-ehm_sRqf.js} +3 -3
  18. package/dist/{Transaction-E9_hSpx4.js → Transaction-DIz_ArbY.js} +6 -6
  19. package/dist/{Transaction-CA9RQ8qT.js → Transaction-DzIzAIbO.js} +5 -5
  20. package/dist/{TransactionOld-lPUiTl8n.js → TransactionOld-CagUKhjR.js} +4 -4
  21. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-B03g8Jum.js → TransactionTable.vue_vue_type_script_setup_true_lang-ChuhuUKc.js} +3 -3
  22. package/dist/api/index.d.ts +1 -0
  23. package/dist/api/onboard-submission/index.d.ts +17 -0
  24. package/dist/api/payment-gateway/index.d.ts +3 -1
  25. package/dist/api/payout/index.d.ts +1 -0
  26. package/dist/{app-BohCgZld.js → app-Djt4efuB.js} +212 -131
  27. package/dist/app.d.ts +46 -0
  28. package/dist/app.js +1 -1
  29. package/dist/{assets-Dttfej_E.js → assets-ha4XB2PU.js} +1 -1
  30. package/dist/{grafana-DCGA3gMb.js → grafana-DRZOKr8c.js} +1 -1
  31. package/dist/{index-BQtW6X1l.js → index-8Xu0hCTB.js} +1 -1
  32. package/dist/{index-CZKvrBM7.js → index-B6GVzj7l.js} +1 -1
  33. package/dist/{index-tCobqIDD.js → index-BasdAonL.js} +4930 -4857
  34. package/dist/{index-BOwfUR6x.js → index-DGF3hKwg.js} +1 -1
  35. package/dist/{index-BYLzp2JB.js → index-Dg_mEOso.js} +1 -1
  36. package/dist/{index-JCMXdVSJ.js → index-DoD23lHB.js} +8 -1
  37. package/dist/index-mIFz6n66.js +68 -0
  38. package/dist/{index.vue_vue_type_script_setup_true_lang-DpAWcXVU.js → index.vue_vue_type_script_setup_true_lang-D4bLM6th.js} +1 -1
  39. package/dist/modules.d.ts +1 -0
  40. package/dist/package.json +9 -8
  41. package/dist/payout-account-CE1OxSdW.js +458 -0
  42. package/dist/plugins-ClNUIkc0.js +1366 -0
  43. package/dist/stores/payoutAccount.d.ts +16 -16
  44. package/dist/style.css +1 -1
  45. package/dist/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/views/admin/onboard-submission/OnboardForm.vue.d.ts +12 -0
  47. package/dist/views/admin/onboard-submission/OnboardSubmission.vue.d.ts +2 -0
  48. package/dist/views/admin/onboard-submission/cell/SignatureBoard.vue.d.ts +10 -0
  49. package/dist/views/admin/onboard-submission/cell/Status.vue.d.ts +5 -0
  50. package/dist/views/admin/onboard-submission/cell/UploadButton.vue.d.ts +11 -0
  51. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +81 -0
  52. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +16 -16
  53. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +20 -20
  54. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +20 -20
  55. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +16 -16
  56. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +16 -16
  57. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +20 -20
  58. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  59. package/dist/views/admin/restaurant/tabs/LocalIntegration.vue.d.ts +803 -0
  60. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +4 -4
  61. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
  62. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
  63. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
  64. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +8 -8
  65. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +8 -8
  66. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
  67. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +8 -8
  68. package/dist/views/onboard-submission/OnboardForm.vue.d.ts +14 -0
  69. package/dist/views/onboard-submission/OnboardSubmission.vue.d.ts +2 -0
  70. package/dist/views/onboard-submission/cell/SignatureBoard.vue.d.ts +10 -0
  71. package/dist/views/onboard-submission/cell/UploadButton.vue.d.ts +11 -0
  72. package/dist/views/onboard-submission/form/SoftSpaceSubmission.vue.d.ts +5 -0
  73. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +32 -32
  74. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +48 -48
  75. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +24 -24
  76. package/dist/views/settlement/SettlementTable.vue.d.ts +4 -4
  77. package/package.json +9 -8
  78. package/dist/payout-account-rJmG1Gi5.js +0 -1819
@@ -11,6 +11,7 @@ const Gn = {
11
11
  payout_account: "Payout Account"
12
12
  },
13
13
  routes: {
14
+ onboard_submission: "Payment Onboarding",
14
15
  payout_account: "Payout Account",
15
16
  transaction: "Transactions",
16
17
  "transaction-new": "Transactions",
@@ -149,6 +150,28 @@ const Gn = {
149
150
  document: "Legal Documents"
150
151
  }
151
152
  }
153
+ },
154
+ "onboard-submission": {
155
+ title: "Payment Onboarding",
156
+ description: "Submit and track the documents needed for payment onboarding.",
157
+ approval: {
158
+ line1: "Please wait for a few days for processing.",
159
+ line2: "If any issues, our team will reach out to you.",
160
+ status: "Approved"
161
+ },
162
+ review: {
163
+ line1: "Please wait for a few days for reviewing.",
164
+ line2: "If any issues, our team will reach out to you.",
165
+ status: "Reviewing"
166
+ },
167
+ edit: "Edit Submission",
168
+ apply: "Apply",
169
+ note: "Review Notes",
170
+ softspace: {
171
+ description: "Enable SoftPOS and QR payments for in-store transactions.",
172
+ service1: "DuitNow QR Payment",
173
+ service2: "SoftPOS Card Payment"
174
+ }
152
175
  }
153
176
  }, qn = {
154
177
  payment: Gn
@@ -160,6 +183,7 @@ const Gn = {
160
183
  payout_account: "结算账户"
161
184
  },
162
185
  routes: {
186
+ onboard_submission: "支付开通",
163
187
  payout_account: "结算账户",
164
188
  transaction: "交易订单",
165
189
  "transaction-new": "交易订单",
@@ -298,6 +322,28 @@ const Gn = {
298
322
  document: "法律文件"
299
323
  }
300
324
  }
325
+ },
326
+ "onboard-submission": {
327
+ title: "支付开通",
328
+ description: "提交和跟踪支付开通所需的文档。",
329
+ approval: {
330
+ line1: "请耐心等待几天以便处理。",
331
+ line2: "如果有任何问题,我们的团队会联系您。",
332
+ approved: "已批准"
333
+ },
334
+ review: {
335
+ line1: "请耐心等待几天以便审核。",
336
+ line2: "如果有任何问题,我们的团队会联系您。",
337
+ status: "审核中"
338
+ },
339
+ edit: "编辑提交",
340
+ apply: "申请",
341
+ note: "审核备注",
342
+ softspace: {
343
+ description: "启用 SoftPOS 和二维码支付用于店内交易。",
344
+ service1: "DuitNow扫码支付",
345
+ service2: "SoftPOS银行卡支付"
346
+ }
301
347
  }
302
348
  }, Jn = {
303
349
  payment: Kn
@@ -309,7 +355,7 @@ const Gn = {
309
355
  sidebarDisplay: "Restaurants",
310
356
  section: "payment-gateway"
311
357
  },
312
- component: () => import("./Restaurant-CIGhOFvk.js")
358
+ component: () => import("./Restaurant-DDebeSrf.js")
313
359
  },
314
360
  {
315
361
  path: "/admin/restaurants/:restaurantId",
@@ -318,7 +364,7 @@ const Gn = {
318
364
  meta: {
319
365
  parent: "mf-payment-admin.restaurant"
320
366
  },
321
- component: () => import("./RestaurantSetting-0CbusLcz.js")
367
+ component: () => import("./RestaurantSetting-Cf63FkWQ.js")
322
368
  },
323
369
  {
324
370
  path: "/admin/payout-accounts",
@@ -327,7 +373,7 @@ const Gn = {
327
373
  sidebarDisplay: "Payout Accounts",
328
374
  section: "payment-gateway"
329
375
  },
330
- component: () => import("./PayoutAccount-DI5YpzGm.js")
376
+ component: () => import("./PayoutAccount-BHbqJwXB.js")
331
377
  },
332
378
  {
333
379
  path: "/admin/payout-accounts/:accountId",
@@ -336,7 +382,25 @@ const Gn = {
336
382
  meta: {
337
383
  parent: "mf-payment-admin.payout-account"
338
384
  },
339
- component: () => import("./PayoutAccountSetting-IgBRFN0A.js")
385
+ component: () => import("./PayoutAccountSetting-CUlmHkw3.js")
386
+ },
387
+ {
388
+ path: "/admin/onboarding",
389
+ name: "mf-payment-admin.onboard-submission",
390
+ meta: {
391
+ sidebarDisplay: "Payment Onboarding",
392
+ section: "payment-gateway"
393
+ },
394
+ component: () => import("./OnboardSubmission-BlVBKz-H.js")
395
+ },
396
+ {
397
+ path: "/admin/onboarding/:submissionId",
398
+ name: "mf-payment-admin.onboard-submission-form",
399
+ props: !0,
400
+ meta: {
401
+ parent: "mf-payment-admin.onboard-submission"
402
+ },
403
+ component: () => import("./OnboardForm-SZXqGGPm.js")
340
404
  },
341
405
  {
342
406
  path: "/admin/terminal/pos",
@@ -345,7 +409,7 @@ const Gn = {
345
409
  sidebarDisplay: "POS",
346
410
  section: "device"
347
411
  },
348
- component: () => import("./Terminal-KE_9M2jr.js"),
412
+ component: () => import("./Terminal-D3QDgPY6.js"),
349
413
  props: {
350
414
  type: "POS"
351
415
  }
@@ -357,7 +421,7 @@ const Gn = {
357
421
  sidebarDisplay: "Kiosks",
358
422
  section: "device"
359
423
  },
360
- component: () => import("./Terminal-KE_9M2jr.js"),
424
+ component: () => import("./Terminal-D3QDgPY6.js"),
361
425
  props: {
362
426
  type: "KIOSK"
363
427
  }
@@ -369,7 +433,7 @@ const Gn = {
369
433
  sidebarDisplay: "Terminals",
370
434
  section: "device"
371
435
  },
372
- component: () => import("./Terminal-KE_9M2jr.js"),
436
+ component: () => import("./Terminal-D3QDgPY6.js"),
373
437
  props: {
374
438
  type: "TERMINAL"
375
439
  }
@@ -381,7 +445,7 @@ const Gn = {
381
445
  meta: {
382
446
  parent: "mf-payment-admin.pos"
383
447
  },
384
- component: () => import("./TerminalSetting-DdJl_9JJ.js")
448
+ component: () => import("./TerminalSetting-ehm_sRqf.js")
385
449
  },
386
450
  {
387
451
  path: "/admin/terminal/kiosk/:terminalId",
@@ -390,7 +454,7 @@ const Gn = {
390
454
  meta: {
391
455
  parent: "mf-payment-admin.kiosk"
392
456
  },
393
- component: () => import("./TerminalSetting-DdJl_9JJ.js")
457
+ component: () => import("./TerminalSetting-ehm_sRqf.js")
394
458
  },
395
459
  {
396
460
  path: "/admin/terminal/terminal/:terminalId",
@@ -399,7 +463,7 @@ const Gn = {
399
463
  meta: {
400
464
  parent: "mf-payment-admin.terminal"
401
465
  },
402
- component: () => import("./TerminalSetting-DdJl_9JJ.js")
466
+ component: () => import("./TerminalSetting-ehm_sRqf.js")
403
467
  },
404
468
  {
405
469
  path: "/admin/transaction",
@@ -407,7 +471,7 @@ const Gn = {
407
471
  meta: {
408
472
  sidebarDisplay: "Transactions"
409
473
  },
410
- component: () => import("./Transaction-CA9RQ8qT.js")
474
+ component: () => import("./Transaction-DzIzAIbO.js")
411
475
  },
412
476
  {
413
477
  path: "/admin/settlement",
@@ -415,7 +479,7 @@ const Gn = {
415
479
  meta: {
416
480
  sidebarDisplay: "Settlements"
417
481
  },
418
- component: () => import("./Settlement-CUmpNHMN.js")
482
+ component: () => import("./Settlement-CctMzPsZ.js")
419
483
  },
420
484
  {
421
485
  path: "/admin/settlement/:settlementId",
@@ -424,7 +488,7 @@ const Gn = {
424
488
  meta: {
425
489
  parent: "mf-payment-admin.settlement"
426
490
  },
427
- component: () => import("./SettlementTransactions-DhjGSAg4.js")
491
+ component: () => import("./SettlementTransactions-9p3tYV0n.js")
428
492
  }
429
493
  ], We = [
430
494
  {
@@ -434,15 +498,32 @@ const Gn = {
434
498
  {
435
499
  path: "/payout-account",
436
500
  name: "mf-payment-payout-account",
437
- component: () => import("./PayoutAccount-mlaDc7_i.js"),
501
+ component: () => import("./PayoutAccount-Ctd7j0SZ.js"),
438
502
  meta: {
439
503
  sidebarDisplay: "i18n:payment.routes.payout_account"
440
504
  }
441
505
  },
506
+ {
507
+ path: "/onboard-submission",
508
+ name: "mf-payment-onboard-submission",
509
+ component: () => import("./OnboardSubmission-CjsvLPVX.js"),
510
+ meta: {
511
+ sidebarDisplay: "i18n:payment.routes.onboard_submission"
512
+ }
513
+ },
514
+ {
515
+ path: "/onboard-submission/:type/:submission?",
516
+ name: "mf-payment-onboard-submission-form",
517
+ props: !0,
518
+ component: () => import("./OnboardForm-DOZ9futX.js"),
519
+ meta: {
520
+ parent: "mf-payment-onboard-submission"
521
+ }
522
+ },
442
523
  {
443
524
  path: "/transaction-old",
444
525
  name: "mf-payment-old-transaction",
445
- component: () => import("./TransactionOld-lPUiTl8n.js"),
526
+ component: () => import("./TransactionOld-CagUKhjR.js"),
446
527
  meta: {
447
528
  sidebarDisplay: "i18n:payment.routes.transaction"
448
529
  }
@@ -450,7 +531,7 @@ const Gn = {
450
531
  {
451
532
  path: "/transaction",
452
533
  name: "mf-payment-transaction",
453
- component: () => import("./Transaction-E9_hSpx4.js"),
534
+ component: () => import("./Transaction-DIz_ArbY.js"),
454
535
  meta: {
455
536
  sidebarDisplay: "i18n:payment.routes.transaction-new",
456
537
  sidebarNew: !0
@@ -459,7 +540,7 @@ const Gn = {
459
540
  {
460
541
  path: "/settlement",
461
542
  name: "mf-payment-settlement",
462
- component: () => import("./Settlement-DmG5-VSP.js"),
543
+ component: () => import("./Settlement-C_V-iTDy.js"),
463
544
  meta: {
464
545
  sidebarDisplay: "i18n:payment.routes.settlement"
465
546
  }
@@ -468,7 +549,7 @@ const Gn = {
468
549
  path: "/settlement/:settlementId",
469
550
  name: "mf-payment-settlement-transaction",
470
551
  props: !0,
471
- component: () => import("./SettlementTransactions-CcMUINyi.js"),
552
+ component: () => import("./SettlementTransactions-DYvhz0Yh.js"),
472
553
  meta: {
473
554
  parent: "mf-payment-settlement"
474
555
  }
@@ -1241,7 +1322,7 @@ class yr {
1241
1322
  if (this.component)
1242
1323
  throw Error(`Component for ${this.name} has already been provided`);
1243
1324
  if (this.component = e, !!this.shouldAutoInitialize()) {
1244
- if (br(e))
1325
+ if (Ir(e))
1245
1326
  try {
1246
1327
  this.getOrInitializeService({ instanceIdentifier: M });
1247
1328
  } catch {
@@ -1328,7 +1409,7 @@ class yr {
1328
1409
  getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
1329
1410
  let r = this.instances.get(e);
1330
1411
  if (!r && this.component && (r = this.component.instanceFactory(this.container, {
1331
- instanceIdentifier: Ir(e),
1412
+ instanceIdentifier: br(e),
1332
1413
  options: t
1333
1414
  }), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
1334
1415
  try {
@@ -1344,10 +1425,10 @@ class yr {
1344
1425
  return !!this.component && this.component.instantiationMode !== "EXPLICIT";
1345
1426
  }
1346
1427
  }
1347
- function Ir(n) {
1428
+ function br(n) {
1348
1429
  return n === M ? void 0 : n;
1349
1430
  }
1350
- function br(n) {
1431
+ function Ir(n) {
1351
1432
  return n.instantiationMode === "EAGER";
1352
1433
  }
1353
1434
  /**
@@ -1504,7 +1585,7 @@ class zt {
1504
1585
  }
1505
1586
  const Ar = (n, e) => e.some((t) => n instanceof t);
1506
1587
  let ct, lt;
1507
- function Cr() {
1588
+ function Rr() {
1508
1589
  return ct || (ct = [
1509
1590
  IDBDatabase,
1510
1591
  IDBObjectStore,
@@ -1513,7 +1594,7 @@ function Cr() {
1513
1594
  IDBTransaction
1514
1595
  ]);
1515
1596
  }
1516
- function Rr() {
1597
+ function Cr() {
1517
1598
  return lt || (lt = [
1518
1599
  IDBCursor.prototype.advance,
1519
1600
  IDBCursor.prototype.continue,
@@ -1576,16 +1657,16 @@ function Dr(n) {
1576
1657
  }
1577
1658
  function Nr(n) {
1578
1659
  return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
1579
- const r = n.call(Ce(this), e, ...t);
1660
+ const r = n.call(Re(this), e, ...t);
1580
1661
  return qt.set(r, e.sort ? e.sort() : [e]), O(r);
1581
- } : Rr().includes(n) ? function(...e) {
1582
- return n.apply(Ce(this), e), O(Gt.get(this));
1662
+ } : Cr().includes(n) ? function(...e) {
1663
+ return n.apply(Re(this), e), O(Gt.get(this));
1583
1664
  } : function(...e) {
1584
- return O(n.apply(Ce(this), e));
1665
+ return O(n.apply(Re(this), e));
1585
1666
  };
1586
1667
  }
1587
1668
  function Lr(n) {
1588
- return typeof n == "function" ? Nr(n) : (n instanceof IDBTransaction && Or(n), Ar(n, Cr()) ? new Proxy(n, Ue) : n);
1669
+ return typeof n == "function" ? Nr(n) : (n instanceof IDBTransaction && Or(n), Ar(n, Rr()) ? new Proxy(n, Ue) : n);
1589
1670
  }
1590
1671
  function O(n) {
1591
1672
  if (n instanceof IDBRequest)
@@ -1595,7 +1676,7 @@ function O(n) {
1595
1676
  const e = Lr(n);
1596
1677
  return e !== n && (Ae.set(n, e), Ge.set(e, n)), e;
1597
1678
  }
1598
- const Ce = (n) => Ge.get(n);
1679
+ const Re = (n) => Ge.get(n);
1599
1680
  function Mr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1600
1681
  const a = indexedDB.open(n, e), c = O(a);
1601
1682
  return r && a.addEventListener("upgradeneeded", (o) => {
@@ -1610,12 +1691,12 @@ function Mr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1610
1691
  }).catch(() => {
1611
1692
  }), c;
1612
1693
  }
1613
- const Ur = ["get", "getKey", "getAll", "getAllKeys", "count"], xr = ["put", "add", "delete", "clear"], Re = /* @__PURE__ */ new Map();
1694
+ const Ur = ["get", "getKey", "getAll", "getAllKeys", "count"], xr = ["put", "add", "delete", "clear"], Ce = /* @__PURE__ */ new Map();
1614
1695
  function ut(n, e) {
1615
1696
  if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
1616
1697
  return;
1617
- if (Re.get(e))
1618
- return Re.get(e);
1698
+ if (Ce.get(e))
1699
+ return Ce.get(e);
1619
1700
  const t = e.replace(/FromIndex$/, ""), r = e !== t, i = xr.includes(t);
1620
1701
  if (
1621
1702
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
@@ -1630,7 +1711,7 @@ function ut(n, e) {
1630
1711
  i && o.done
1631
1712
  ]))[0];
1632
1713
  };
1633
- return Re.set(e, s), s;
1714
+ return Ce.set(e, s), s;
1634
1715
  }
1635
1716
  Dr((n) => ({
1636
1717
  ...n,
@@ -1974,7 +2055,7 @@ function Yt() {
1974
2055
  });
1975
2056
  })), Pe;
1976
2057
  }
1977
- async function Ii(n) {
2058
+ async function bi(n) {
1978
2059
  try {
1979
2060
  const t = (await Yt()).transaction(Y), r = await t.objectStore(Y).get(Xt(n));
1980
2061
  return await t.done, r;
@@ -2023,7 +2104,7 @@ function Xt(n) {
2023
2104
  * See the License for the specific language governing permissions and
2024
2105
  * limitations under the License.
2025
2106
  */
2026
- const bi = 1024, wi = 30 * 24 * 60 * 60 * 1e3;
2107
+ const Ii = 1024, wi = 30 * 24 * 60 * 60 * 1e3;
2027
2108
  class Ei {
2028
2109
  constructor(e) {
2029
2110
  this.container = e, this._heartbeatsCache = null;
@@ -2071,7 +2152,7 @@ class Ei {
2071
2152
  function pt() {
2072
2153
  return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
2073
2154
  }
2074
- function Ti(n, e = bi) {
2155
+ function Ti(n, e = Ii) {
2075
2156
  const t = [];
2076
2157
  let r = n.slice();
2077
2158
  for (const i of n) {
@@ -2107,7 +2188,7 @@ class Si {
2107
2188
  */
2108
2189
  async read() {
2109
2190
  if (await this._canUseIndexedDBPromise) {
2110
- const t = await Ii(this.app);
2191
+ const t = await bi(this.app);
2111
2192
  return t != null && t.heartbeats ? t : { heartbeats: [] };
2112
2193
  } else
2113
2194
  return { heartbeats: [] };
@@ -2176,7 +2257,7 @@ function ki(n) {
2176
2257
  )), $(xe, dt, n), $(xe, dt, "esm2017"), $("fire-js", "");
2177
2258
  }
2178
2259
  ki("");
2179
- var Ai = "firebase", Ci = "10.14.1";
2260
+ var Ai = "firebase", Ri = "10.14.1";
2180
2261
  /**
2181
2262
  * @license
2182
2263
  * Copyright 2020 Google LLC
@@ -2193,7 +2274,7 @@ var Ai = "firebase", Ci = "10.14.1";
2193
2274
  * See the License for the specific language governing permissions and
2194
2275
  * limitations under the License.
2195
2276
  */
2196
- $(Ai, Ci, "app");
2277
+ $(Ai, Ri, "app");
2197
2278
  var gt = function() {
2198
2279
  return gt = Object.assign || function(e) {
2199
2280
  for (var t, r = 1, i = arguments.length; r < i; r++) {
@@ -2216,7 +2297,7 @@ function Qt() {
2216
2297
  "dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
2217
2298
  };
2218
2299
  }
2219
- const Ri = Qt, Zt = new Q("auth", "Firebase", Qt());
2300
+ const Ci = Qt, Zt = new Q("auth", "Firebase", Qt());
2220
2301
  /**
2221
2302
  * @license
2222
2303
  * Copyright 2020 Google LLC
@@ -2263,7 +2344,7 @@ function g(n, ...e) {
2263
2344
  return Ke(n, ...e);
2264
2345
  }
2265
2346
  function en(n, e, t) {
2266
- const r = Object.assign(Object.assign({}, Ri()), { [e]: t });
2347
+ const r = Object.assign(Object.assign({}, Ci()), { [e]: t });
2267
2348
  return new Q("auth", "Firebase", r).create(e, {
2268
2349
  appName: n.name
2269
2350
  });
@@ -2282,12 +2363,12 @@ function d(n, e, ...t) {
2282
2363
  if (!n)
2283
2364
  throw Ke(e, ...t);
2284
2365
  }
2285
- function I(n) {
2366
+ function b(n) {
2286
2367
  const e = "INTERNAL ASSERTION FAILED: " + n;
2287
2368
  throw se(e), new Error(e);
2288
2369
  }
2289
2370
  function S(n, e) {
2290
- n || I(e);
2371
+ n || b(e);
2291
2372
  }
2292
2373
  /**
2293
2374
  * @license
@@ -2426,7 +2507,7 @@ class tn {
2426
2507
  return globalThis.fetch;
2427
2508
  if (typeof fetch < "u")
2428
2509
  return fetch;
2429
- I("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
2510
+ b("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
2430
2511
  }
2431
2512
  static headers() {
2432
2513
  if (this.headersImpl)
@@ -2437,7 +2518,7 @@ class tn {
2437
2518
  return globalThis.Headers;
2438
2519
  if (typeof Headers < "u")
2439
2520
  return Headers;
2440
- I("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
2521
+ b("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
2441
2522
  }
2442
2523
  static response() {
2443
2524
  if (this.responseImpl)
@@ -2448,7 +2529,7 @@ class tn {
2448
2529
  return globalThis.Response;
2449
2530
  if (typeof Response < "u")
2450
2531
  return Response;
2451
- I("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
2532
+ b("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
2452
2533
  }
2453
2534
  }
2454
2535
  /**
@@ -3059,7 +3140,7 @@ class H {
3059
3140
  return Object.assign(new H(), this.toJSON());
3060
3141
  }
3061
3142
  _performRefresh() {
3062
- return I("not implemented");
3143
+ return b("not implemented");
3063
3144
  }
3064
3145
  }
3065
3146
  /**
@@ -3081,7 +3162,7 @@ class H {
3081
3162
  function k(n, e) {
3082
3163
  d(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
3083
3164
  }
3084
- class b {
3165
+ class I {
3085
3166
  constructor(e) {
3086
3167
  var { uid: t, auth: r, stsTokenManager: i } = e, s = qe(e, ["uid", "auth", "stsTokenManager"]);
3087
3168
  this.providerId = "firebase", this.proactiveRefresh = new $i(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new He(s.createdAt || void 0, s.lastLoginAt || void 0);
@@ -3110,7 +3191,7 @@ class b {
3110
3191
  ), this.displayName = e.displayName, this.photoURL = e.photoURL, this.email = e.email, this.emailVerified = e.emailVerified, this.phoneNumber = e.phoneNumber, this.isAnonymous = e.isAnonymous, this.tenantId = e.tenantId, this.providerData = e.providerData.map((t) => Object.assign({}, t)), this.metadata._copy(e.metadata), this.stsTokenManager._assign(e.stsTokenManager));
3111
3192
  }
3112
3193
  _clone(e) {
3113
- const t = new b(Object.assign(Object.assign({}, this), { auth: e, stsTokenManager: this.stsTokenManager._clone() }));
3194
+ const t = new I(Object.assign(Object.assign({}, this), { auth: e, stsTokenManager: this.stsTokenManager._clone() }));
3114
3195
  return t.metadata._copy(this.metadata), t;
3115
3196
  }
3116
3197
  _onReload(e) {
@@ -3190,7 +3271,7 @@ class b {
3190
3271
  "internal-error"
3191
3272
  /* AuthErrorCode.INTERNAL_ERROR */
3192
3273
  ), k(v, e.name), k(F, e.name), k(tt, e.name), k(we, e.name), k(nt, e.name), k(rt, e.name);
3193
- const Se = new b({
3274
+ const Se = new I({
3194
3275
  uid: Ee,
3195
3276
  auth: e,
3196
3277
  email: p,
@@ -3214,7 +3295,7 @@ class b {
3214
3295
  static async _fromIdTokenResponse(e, t, r = !1) {
3215
3296
  const i = new H();
3216
3297
  i.updateFromServerResponse(t);
3217
- const s = new b({
3298
+ const s = new I({
3218
3299
  uid: t.localId,
3219
3300
  auth: e,
3220
3301
  stsTokenManager: i,
@@ -3236,7 +3317,7 @@ class b {
3236
3317
  );
3237
3318
  const s = i.providerUserInfo !== void 0 ? on(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new H();
3238
3319
  c.updateFromIdToken(r);
3239
- const o = new b({
3320
+ const o = new I({
3240
3321
  uid: i.localId,
3241
3322
  auth: e,
3242
3323
  stsTokenManager: c,
@@ -3317,7 +3398,7 @@ class cn {
3317
3398
  }
3318
3399
  }
3319
3400
  cn.type = "NONE";
3320
- const It = cn;
3401
+ const bt = cn;
3321
3402
  /**
3322
3403
  * @license
3323
3404
  * Copyright 2019 Google LLC
@@ -3348,7 +3429,7 @@ class V {
3348
3429
  }
3349
3430
  async getCurrentUser() {
3350
3431
  const e = await this.persistence._get(this.fullUserKey);
3351
- return e ? b._fromJSON(this.auth, e) : null;
3432
+ return e ? I._fromJSON(this.auth, e) : null;
3352
3433
  }
3353
3434
  removeCurrentUser() {
3354
3435
  return this.persistence._remove(this.fullUserKey);
@@ -3368,19 +3449,19 @@ class V {
3368
3449
  }
3369
3450
  static async create(e, t, r = "authUser") {
3370
3451
  if (!t.length)
3371
- return new V(w(It), e, r);
3452
+ return new V(w(bt), e, r);
3372
3453
  const i = (await Promise.all(t.map(async (l) => {
3373
3454
  if (await l._isAvailable())
3374
3455
  return l;
3375
3456
  }))).filter((l) => l);
3376
- let s = i[0] || w(It);
3457
+ let s = i[0] || w(bt);
3377
3458
  const a = ae(r, e.config.apiKey, e.name);
3378
3459
  let c = null;
3379
3460
  for (const l of t)
3380
3461
  try {
3381
3462
  const u = await l._get(a);
3382
3463
  if (u) {
3383
- const h = b._fromJSON(e, u);
3464
+ const h = I._fromJSON(e, u);
3384
3465
  l !== s && (c = h), s = l;
3385
3466
  break;
3386
3467
  }
@@ -3412,7 +3493,7 @@ class V {
3412
3493
  * See the License for the specific language governing permissions and
3413
3494
  * limitations under the License.
3414
3495
  */
3415
- function bt(n) {
3496
+ function It(n) {
3416
3497
  const e = n.toLowerCase();
3417
3498
  if (e.includes("opera/") || e.includes("opr/") || e.includes("opios/"))
3418
3499
  return "Opera";
@@ -3498,10 +3579,10 @@ function _n(n, e = []) {
3498
3579
  let t;
3499
3580
  switch (n) {
3500
3581
  case "Browser":
3501
- t = bt(m());
3582
+ t = It(m());
3502
3583
  break;
3503
3584
  case "Worker":
3504
- t = `${bt(m())}-${n}`;
3585
+ t = `${It(m())}-${n}`;
3505
3586
  break;
3506
3587
  default:
3507
3588
  t = n;
@@ -3725,7 +3806,7 @@ class Xi {
3725
3806
  }
3726
3807
  async initializeCurrentUserFromIdToken(e) {
3727
3808
  try {
3728
- const t = await an(this, { idToken: e }), r = await b._fromGetAccountInfoResponse(this, t, e);
3809
+ const t = await an(this, { idToken: e }), r = await I._fromGetAccountInfoResponse(this, t, e);
3729
3810
  await this.directlySetCurrentUser(r);
3730
3811
  } catch (t) {
3731
3812
  console.warn("FirebaseServerApp could not login user with provided authIdToken: ", t), await this.directlySetCurrentUser(null);
@@ -4184,19 +4265,19 @@ class yn {
4184
4265
  * @returns a JSON-serializable representation of this object.
4185
4266
  */
4186
4267
  toJSON() {
4187
- return I("not implemented");
4268
+ return b("not implemented");
4188
4269
  }
4189
4270
  /** @internal */
4190
4271
  _getIdTokenResponse(e) {
4191
- return I("not implemented");
4272
+ return b("not implemented");
4192
4273
  }
4193
4274
  /** @internal */
4194
4275
  _linkToIdToken(e, t) {
4195
- return I("not implemented");
4276
+ return b("not implemented");
4196
4277
  }
4197
4278
  /** @internal */
4198
4279
  _getReauthenticationResolver(e) {
4199
- return I("not implemented");
4280
+ return b("not implemented");
4200
4281
  }
4201
4282
  }
4202
4283
  /**
@@ -4320,7 +4401,7 @@ class U extends yn {
4320
4401
  * See the License for the specific language governing permissions and
4321
4402
  * limitations under the License.
4322
4403
  */
4323
- class In {
4404
+ class bn {
4324
4405
  /**
4325
4406
  * Constructor for generic OAuth providers.
4326
4407
  *
@@ -4373,7 +4454,7 @@ class In {
4373
4454
  * See the License for the specific language governing permissions and
4374
4455
  * limitations under the License.
4375
4456
  */
4376
- class ne extends In {
4457
+ class ne extends bn {
4377
4458
  constructor() {
4378
4459
  super(...arguments), this.scopes = [];
4379
4460
  }
@@ -4479,7 +4560,7 @@ A.PROVIDER_ID = "facebook.com";
4479
4560
  * See the License for the specific language governing permissions and
4480
4561
  * limitations under the License.
4481
4562
  */
4482
- class C extends ne {
4563
+ class R extends ne {
4483
4564
  constructor() {
4484
4565
  super(
4485
4566
  "google.com"
@@ -4501,8 +4582,8 @@ class C extends ne {
4501
4582
  */
4502
4583
  static credential(e, t) {
4503
4584
  return U._fromParams({
4504
- providerId: C.PROVIDER_ID,
4505
- signInMethod: C.GOOGLE_SIGN_IN_METHOD,
4585
+ providerId: R.PROVIDER_ID,
4586
+ signInMethod: R.GOOGLE_SIGN_IN_METHOD,
4506
4587
  idToken: e,
4507
4588
  accessToken: t
4508
4589
  });
@@ -4513,7 +4594,7 @@ class C extends ne {
4513
4594
  * @param userCredential - The user credential.
4514
4595
  */
4515
4596
  static credentialFromResult(e) {
4516
- return C.credentialFromTaggedObject(e);
4597
+ return R.credentialFromTaggedObject(e);
4517
4598
  }
4518
4599
  /**
4519
4600
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4522,7 +4603,7 @@ class C extends ne {
4522
4603
  * @param userCredential - The user credential.
4523
4604
  */
4524
4605
  static credentialFromError(e) {
4525
- return C.credentialFromTaggedObject(e.customData || {});
4606
+ return R.credentialFromTaggedObject(e.customData || {});
4526
4607
  }
4527
4608
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4528
4609
  if (!e)
@@ -4531,14 +4612,14 @@ class C extends ne {
4531
4612
  if (!t && !r)
4532
4613
  return null;
4533
4614
  try {
4534
- return C.credential(t, r);
4615
+ return R.credential(t, r);
4535
4616
  } catch {
4536
4617
  return null;
4537
4618
  }
4538
4619
  }
4539
4620
  }
4540
- C.GOOGLE_SIGN_IN_METHOD = "google.com";
4541
- C.PROVIDER_ID = "google.com";
4621
+ R.GOOGLE_SIGN_IN_METHOD = "google.com";
4622
+ R.PROVIDER_ID = "google.com";
4542
4623
  /**
4543
4624
  * @license
4544
4625
  * Copyright 2020 Google LLC
@@ -4555,7 +4636,7 @@ C.PROVIDER_ID = "google.com";
4555
4636
  * See the License for the specific language governing permissions and
4556
4637
  * limitations under the License.
4557
4638
  */
4558
- class R extends ne {
4639
+ class C extends ne {
4559
4640
  constructor() {
4560
4641
  super(
4561
4642
  "github.com"
@@ -4569,8 +4650,8 @@ class R extends ne {
4569
4650
  */
4570
4651
  static credential(e) {
4571
4652
  return U._fromParams({
4572
- providerId: R.PROVIDER_ID,
4573
- signInMethod: R.GITHUB_SIGN_IN_METHOD,
4653
+ providerId: C.PROVIDER_ID,
4654
+ signInMethod: C.GITHUB_SIGN_IN_METHOD,
4574
4655
  accessToken: e
4575
4656
  });
4576
4657
  }
@@ -4580,7 +4661,7 @@ class R extends ne {
4580
4661
  * @param userCredential - The user credential.
4581
4662
  */
4582
4663
  static credentialFromResult(e) {
4583
- return R.credentialFromTaggedObject(e);
4664
+ return C.credentialFromTaggedObject(e);
4584
4665
  }
4585
4666
  /**
4586
4667
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4589,20 +4670,20 @@ class R extends ne {
4589
4670
  * @param userCredential - The user credential.
4590
4671
  */
4591
4672
  static credentialFromError(e) {
4592
- return R.credentialFromTaggedObject(e.customData || {});
4673
+ return C.credentialFromTaggedObject(e.customData || {});
4593
4674
  }
4594
4675
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4595
4676
  if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
4596
4677
  return null;
4597
4678
  try {
4598
- return R.credential(e.oauthAccessToken);
4679
+ return C.credential(e.oauthAccessToken);
4599
4680
  } catch {
4600
4681
  return null;
4601
4682
  }
4602
4683
  }
4603
4684
  }
4604
- R.GITHUB_SIGN_IN_METHOD = "github.com";
4605
- R.PROVIDER_ID = "github.com";
4685
+ C.GITHUB_SIGN_IN_METHOD = "github.com";
4686
+ C.PROVIDER_ID = "github.com";
4606
4687
  /**
4607
4688
  * @license
4608
4689
  * Copyright 2020 Google LLC
@@ -4693,7 +4774,7 @@ class x {
4693
4774
  this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
4694
4775
  }
4695
4776
  static async _fromIdTokenResponse(e, t, r, i = !1) {
4696
- const s = await b._fromIdTokenResponse(e, r, i), a = Tt(r);
4777
+ const s = await I._fromIdTokenResponse(e, r, i), a = Tt(r);
4697
4778
  return new x({
4698
4779
  user: s,
4699
4780
  providerId: a,
@@ -4749,7 +4830,7 @@ class me extends L {
4749
4830
  return new me(e, t, r, i);
4750
4831
  }
4751
4832
  }
4752
- function bn(n, e, t, r) {
4833
+ function In(n, e, t, r) {
4753
4834
  return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
4754
4835
  throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
4755
4836
  });
@@ -4780,7 +4861,7 @@ async function ls(n, e, t = !1) {
4780
4861
  return Promise.reject(N(r));
4781
4862
  const i = "reauthenticate";
4782
4863
  try {
4783
- const s = await X(n, bn(r, i, e, n), t);
4864
+ const s = await X(n, In(r, i, e, n), t);
4784
4865
  d(
4785
4866
  s.idToken,
4786
4867
  r,
@@ -4828,7 +4909,7 @@ async function ls(n, e, t = !1) {
4828
4909
  async function us(n, e, t = !1) {
4829
4910
  if (y(n.app))
4830
4911
  return Promise.reject(N(n));
4831
- const r = "signIn", i = await bn(n, r, e), s = await x._fromIdTokenResponse(n, r, i);
4912
+ const r = "signIn", i = await In(n, r, e), s = await x._fromIdTokenResponse(n, r, i);
4832
4913
  return t || await n._updateCurrentUser(s.user), s;
4833
4914
  }
4834
4915
  /**
@@ -5098,7 +5179,7 @@ function vs(n) {
5098
5179
  * See the License for the specific language governing permissions and
5099
5180
  * limitations under the License.
5100
5181
  */
5101
- class Ie {
5182
+ class be {
5102
5183
  constructor(e) {
5103
5184
  this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
5104
5185
  }
@@ -5112,7 +5193,7 @@ class Ie {
5112
5193
  const t = this.receivers.find((i) => i.isListeningto(e));
5113
5194
  if (t)
5114
5195
  return t;
5115
- const r = new Ie(e);
5196
+ const r = new be(e);
5116
5197
  return this.receivers.push(r), r;
5117
5198
  }
5118
5199
  isListeningto(e) {
@@ -5166,7 +5247,7 @@ class Ie {
5166
5247
  this.handlersMap[e] && t && this.handlersMap[e].delete(t), (!t || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
5167
5248
  }
5168
5249
  }
5169
- Ie.receivers = [];
5250
+ be.receivers = [];
5170
5251
  /**
5171
5252
  * @license
5172
5253
  * Copyright 2020 Google LLC
@@ -5305,7 +5386,7 @@ class ys {
5305
5386
  function _() {
5306
5387
  return window;
5307
5388
  }
5308
- function Is(n) {
5389
+ function bs(n) {
5309
5390
  _().location.href = n;
5310
5391
  }
5311
5392
  /**
@@ -5327,7 +5408,7 @@ function Is(n) {
5327
5408
  function kn() {
5328
5409
  return typeof _().WorkerGlobalScope < "u" && typeof _().importScripts == "function";
5329
5410
  }
5330
- async function bs() {
5411
+ async function Is() {
5331
5412
  if (!(navigator != null && navigator.serviceWorker))
5332
5413
  return null;
5333
5414
  try {
@@ -5359,7 +5440,7 @@ function Es() {
5359
5440
  * See the License for the specific language governing permissions and
5360
5441
  * limitations under the License.
5361
5442
  */
5362
- const An = "firebaseLocalStorageDb", Ts = 1, _e = "firebaseLocalStorage", Cn = "fbase_key";
5443
+ const An = "firebaseLocalStorageDb", Ts = 1, _e = "firebaseLocalStorage", Rn = "fbase_key";
5363
5444
  class re {
5364
5445
  constructor(e) {
5365
5446
  this.request = e;
@@ -5374,7 +5455,7 @@ class re {
5374
5455
  });
5375
5456
  }
5376
5457
  }
5377
- function be(n, e) {
5458
+ function Ie(n, e) {
5378
5459
  return n.transaction([_e], e ? "readwrite" : "readonly").objectStore(_e);
5379
5460
  }
5380
5461
  function Ss() {
@@ -5389,7 +5470,7 @@ function Ve() {
5389
5470
  }), n.addEventListener("upgradeneeded", () => {
5390
5471
  const r = n.result;
5391
5472
  try {
5392
- r.createObjectStore(_e, { keyPath: Cn });
5473
+ r.createObjectStore(_e, { keyPath: Rn });
5393
5474
  } catch (i) {
5394
5475
  t(i);
5395
5476
  }
@@ -5400,22 +5481,22 @@ function Ve() {
5400
5481
  });
5401
5482
  }
5402
5483
  async function St(n, e, t) {
5403
- const r = be(n, !0).put({
5404
- [Cn]: e,
5484
+ const r = Ie(n, !0).put({
5485
+ [Rn]: e,
5405
5486
  value: t
5406
5487
  });
5407
5488
  return new re(r).toPromise();
5408
5489
  }
5409
5490
  async function ks(n, e) {
5410
- const t = be(n, !1).get(e), r = await new re(t).toPromise();
5491
+ const t = Ie(n, !1).get(e), r = await new re(t).toPromise();
5411
5492
  return r === void 0 ? null : r.value;
5412
5493
  }
5413
5494
  function kt(n, e) {
5414
- const t = be(n, !0).delete(e);
5495
+ const t = Ie(n, !0).delete(e);
5415
5496
  return new re(t).toPromise();
5416
5497
  }
5417
- const As = 800, Cs = 3;
5418
- class Rn {
5498
+ const As = 800, Rs = 3;
5499
+ class Cn {
5419
5500
  constructor() {
5420
5501
  this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
5421
5502
  }, () => {
@@ -5431,7 +5512,7 @@ class Rn {
5431
5512
  const r = await this._openDb();
5432
5513
  return await e(r);
5433
5514
  } catch (r) {
5434
- if (t++ > Cs)
5515
+ if (t++ > Rs)
5435
5516
  throw r;
5436
5517
  this.db && (this.db.close(), this.db = void 0);
5437
5518
  }
@@ -5447,7 +5528,7 @@ class Rn {
5447
5528
  * As the worker we should listen to events from the main window.
5448
5529
  */
5449
5530
  async initializeReceiver() {
5450
- this.receiver = Ie._getInstance(Es()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5531
+ this.receiver = be._getInstance(Es()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5451
5532
  keyProcessed: (await this._poll()).includes(t.key)
5452
5533
  })), this.receiver._subscribe("ping", async (e, t) => [
5453
5534
  "keyChanged"
@@ -5463,7 +5544,7 @@ class Rn {
5463
5544
  */
5464
5545
  async initializeSender() {
5465
5546
  var e, t;
5466
- if (this.activeServiceWorker = await bs(), !this.activeServiceWorker)
5547
+ if (this.activeServiceWorker = await Is(), !this.activeServiceWorker)
5467
5548
  return;
5468
5549
  this.sender = new ys(this.activeServiceWorker);
5469
5550
  const r = await this.sender._send(
@@ -5529,7 +5610,7 @@ class Rn {
5529
5610
  }
5530
5611
  async _poll() {
5531
5612
  const e = await this._withRetries((i) => {
5532
- const s = be(i, !1).getAll();
5613
+ const s = Ie(i, !1).getAll();
5533
5614
  return new re(s).toPromise();
5534
5615
  });
5535
5616
  if (!e)
@@ -5564,8 +5645,8 @@ class Rn {
5564
5645
  this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
5565
5646
  }
5566
5647
  }
5567
- Rn.type = "LOCAL";
5568
- const Rs = Rn;
5648
+ Cn.type = "LOCAL";
5649
+ const Cs = Cn;
5569
5650
  new te(3e4, 6e4);
5570
5651
  /**
5571
5652
  * @license
@@ -6066,7 +6147,7 @@ function Js(n) {
6066
6147
  * limitations under the License.
6067
6148
  */
6068
6149
  const Ys = new te(3e4, 6e4);
6069
- function Ct() {
6150
+ function Rt() {
6070
6151
  const n = _().___jsl;
6071
6152
  if (n != null && n.H) {
6072
6153
  for (const e of Object.keys(n.H))
@@ -6079,12 +6160,12 @@ function Xs(n) {
6079
6160
  return new Promise((e, t) => {
6080
6161
  var r, i, s;
6081
6162
  function a() {
6082
- Ct(), gapi.load("gapi.iframes", {
6163
+ Rt(), gapi.load("gapi.iframes", {
6083
6164
  callback: () => {
6084
6165
  e(gapi.iframes.getContext());
6085
6166
  },
6086
6167
  ontimeout: () => {
6087
- Ct(), t(g(
6168
+ Rt(), t(g(
6088
6169
  n,
6089
6170
  "network-request-failed"
6090
6171
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
@@ -6218,7 +6299,7 @@ const aa = {
6218
6299
  statusbar: "yes",
6219
6300
  toolbar: "no"
6220
6301
  }, oa = 500, ca = 600, la = "_blank", ua = "http://localhost";
6221
- class Rt {
6302
+ class Ct {
6222
6303
  constructor(e) {
6223
6304
  this.window = e, this.associatedEvent = null;
6224
6305
  }
@@ -6242,7 +6323,7 @@ function da(n, e, t, r = oa, i = ca) {
6242
6323
  t && (c = dn(l) ? la : t), ln(l) && (e = e || ua, o.scrollbars = "yes");
6243
6324
  const u = Object.entries(o).reduce((p, [v, F]) => `${p}${v}=${F},`, "");
6244
6325
  if (zi(l) && c !== "_self")
6245
- return ha(e || "", c), new Rt(null);
6326
+ return ha(e || "", c), new Ct(null);
6246
6327
  const h = window.open(e || "", c, u);
6247
6328
  d(
6248
6329
  h,
@@ -6254,7 +6335,7 @@ function da(n, e, t, r = oa, i = ca) {
6254
6335
  h.focus();
6255
6336
  } catch {
6256
6337
  }
6257
- return new Rt(h);
6338
+ return new Ct(h);
6258
6339
  }
6259
6340
  function ha(n, e) {
6260
6341
  const t = document.createElement("a");
@@ -6299,7 +6380,7 @@ async function Pt(n, e, t, r, i, s) {
6299
6380
  v: ee,
6300
6381
  eventId: i
6301
6382
  };
6302
- if (e instanceof In) {
6383
+ if (e instanceof bn) {
6303
6384
  e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", mr(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
6304
6385
  for (const [u, h] of Object.entries({}))
6305
6386
  a[u] = h;
@@ -6350,7 +6431,7 @@ class _a {
6350
6431
  async _openRedirect(e, t, r, i) {
6351
6432
  await this._originValidation(e);
6352
6433
  const s = await Pt(e, t, r, $e(), i);
6353
- return Is(s), new Promise(() => {
6434
+ return bs(s), new Promise(() => {
6354
6435
  });
6355
6436
  }
6356
6437
  _initialize(e) {
@@ -6464,7 +6545,7 @@ class ya {
6464
6545
  * See the License for the specific language governing permissions and
6465
6546
  * limitations under the License.
6466
6547
  */
6467
- function Ia(n) {
6548
+ function ba(n) {
6468
6549
  switch (n) {
6469
6550
  case "Node":
6470
6551
  return "node";
@@ -6480,7 +6561,7 @@ function Ia(n) {
6480
6561
  return;
6481
6562
  }
6482
6563
  }
6483
- function ba(n) {
6564
+ function Ia(n) {
6484
6565
  J(new W(
6485
6566
  "auth",
6486
6567
  (e, { options: t }) => {
@@ -6521,7 +6602,7 @@ function ba(n) {
6521
6602
  ).setInstantiationMode(
6522
6603
  "EXPLICIT"
6523
6604
  /* InstantiationMode.EXPLICIT */
6524
- )), $(Ot, Dt, Ia(n)), $(Ot, Dt, "esm2017");
6605
+ )), $(Ot, Dt, ba(n)), $(Ot, Dt, "esm2017");
6525
6606
  }
6526
6607
  /**
6527
6608
  * @license
@@ -6560,7 +6641,7 @@ function Sa(n = _i()) {
6560
6641
  const t = ns(n, {
6561
6642
  popupRedirectResolver: va,
6562
6643
  persistence: [
6563
- Rs,
6644
+ Cs,
6564
6645
  _s,
6565
6646
  Sn
6566
6647
  ]
@@ -6596,7 +6677,7 @@ Qi({
6596
6677
  recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
6597
6678
  recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
6598
6679
  });
6599
- ba(
6680
+ Ia(
6600
6681
  "Browser"
6601
6682
  /* ClientPlatform.BROWSER */
6602
6683
  );
@@ -6650,7 +6731,7 @@ Aa.beforeEach(async (n) => {
6650
6731
  })
6651
6732
  ]).then((a) => !0)), Le) : !0;
6652
6733
  });
6653
- const Ca = /* @__PURE__ */ Mt({
6734
+ const Ra = /* @__PURE__ */ Mt({
6654
6735
  __name: "AppSidebar",
6655
6736
  setup(n) {
6656
6737
  const e = je(), t = Un(), { t: r } = jn(), i = Fn(t.currentRoute.value.name);
@@ -6736,11 +6817,11 @@ const Ca = /* @__PURE__ */ Mt({
6736
6817
  };
6737
6818
  }
6738
6819
  });
6739
- var Ra = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
6820
+ var Ca = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
6740
6821
  const xa = /* @__PURE__ */ Mt({
6741
6822
  __name: "App",
6742
6823
  setup(n) {
6743
- const { state: e } = Yn(), t = je(), r = xn(), i = Jt(Ra.firebase);
6824
+ const { state: e } = Yn(), t = je(), r = xn(), i = Jt(Ca.firebase);
6744
6825
  async function s() {
6745
6826
  const a = t.sessionUser.value;
6746
6827
  if (!a || !a.token) return;
@@ -6750,7 +6831,7 @@ const xa = /* @__PURE__ */ Mt({
6750
6831
  return s(), q(t.sessionUser, s), $n(() => {
6751
6832
  e.isIframe && parent.postMessage({ event: "ready" }, "*");
6752
6833
  }), Hn(() => {
6753
- t.registerSidebarComponent(Ca);
6834
+ t.registerSidebarComponent(Ra);
6754
6835
  }), (a, c) => {
6755
6836
  const o = Ut("RouterView");
6756
6837
  return xt(), Ft(o, {
@@ -6766,12 +6847,12 @@ export {
6766
6847
  W as C,
6767
6848
  L as F,
6768
6849
  ee as S,
6769
- J as _,
6770
- Kt as a,
6771
- Ma as b,
6772
- _i as c,
6773
- Ua as d,
6774
- gt as e,
6850
+ gt as _,
6851
+ J as a,
6852
+ Kt as b,
6853
+ Ma as c,
6854
+ _i as d,
6855
+ Ua as e,
6775
6856
  Ba as f,
6776
6857
  z as g,
6777
6858
  xa as h,