@everymatrix/cashier-page 1.93.60 → 1.93.65

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 (80) hide show
  1. package/components/{CashierCarousel-DMrMmClP.cjs → CashierCarousel-BM-KceW7.cjs} +6 -6
  2. package/components/{CashierCarousel-DwrGzk7c.js → CashierCarousel-CwYg_hFh.js} +1004 -967
  3. package/components/{CashierCarousel-DJXsZKF9.js → CashierCarousel-DcUyAcwc.js} +950 -913
  4. package/components/CashierError-BeL8YqKx.cjs +1 -0
  5. package/components/CashierError-CfKKb6JV.js +831 -0
  6. package/components/CashierError-dD8Ujs5i.js +847 -0
  7. package/components/CashierHeader-BcMI_JFJ.cjs +1 -0
  8. package/components/CashierHeader-C7A_llUb.js +409 -0
  9. package/components/CashierHeader-DHBbF3Fw.js +409 -0
  10. package/components/{CashierIframeRedirect-CF8dL6ee.js → CashierIframeRedirect-BUfajkxx.js} +107 -95
  11. package/components/CashierIframeRedirect-cI2gXg_a.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CbC9sVb1.js → CashierIframeRedirect-pWxVJsqa.js} +107 -95
  13. package/components/{CashierMethodDetails-DU55y4Rq.js → CashierMethodDetails-CyiT2xsa.js} +4410 -3877
  14. package/components/CashierMethodDetails-p9l4Iluu.cjs +85 -0
  15. package/components/{CashierMethodDetails-BrlBDyIX.js → CashierMethodDetails-vTXZEUgh.js} +4327 -3794
  16. package/components/{CashierMethodsList-CsZkLAGV.js → CashierMethodsList-By3SBa7K.js} +307 -264
  17. package/components/CashierMethodsList-CUErZLfD.cjs +1 -0
  18. package/components/{CashierMethodsList-DuiE7pDZ.js → CashierMethodsList-CZdQjuPQ.js} +308 -265
  19. package/components/{CashierModal-ZV_9oeml.js → CashierModal-CkZf2u_p.js} +20 -20
  20. package/components/{CashierModal-BLrymidc.cjs → CashierModal-DCXxFKAW.cjs} +1 -1
  21. package/components/{CashierModal-CV1Fn4BP.js → CashierModal-Sl2X44Qr.js} +19 -19
  22. package/components/{CashierNotifications-C_xReVni.js → CashierNotifications-6zJqvaK5.js} +18 -18
  23. package/components/{CashierNotifications-B8bRZMac.cjs → CashierNotifications-BJ9m5MR5.cjs} +1 -1
  24. package/components/{CashierNotifications-DHKh64xU.js → CashierNotifications-CI9LFS0z.js} +18 -18
  25. package/components/CashierPage-9HFOkmPt.cjs +1 -0
  26. package/components/CashierPage-CBLhCGtM.js +4851 -0
  27. package/components/CashierPage-ChksZ7x2.js +4811 -0
  28. package/components/CashierReceiptPage-C9vc8Tdq.js +1892 -0
  29. package/components/CashierReceiptPage-D7uA7grn.cjs +26 -0
  30. package/components/CashierReceiptPage-DiyMd0oq.js +1912 -0
  31. package/components/{CashierSessionExpirationModal-DlbWG4xD.js → CashierSessionExpirationModal-DsVCou9W.js} +514 -487
  32. package/components/CashierSessionExpirationModal-TeGdT9SY.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-C0KV3SHR.js → CashierSessionExpirationModal-u83AoXvo.js} +490 -463
  34. package/components/{CashierSpinner-D3HhhmOb.js → CashierSpinner-CxccWP9P.js} +9 -9
  35. package/components/{CashierSpinner-DKYO0FtD.cjs → CashierSpinner-D6QJrkuJ.cjs} +1 -1
  36. package/components/{CashierSpinner-DyemUXs_.js → CashierSpinner-h23y-7eM.js} +9 -9
  37. package/components/CashierStepUp-BaKfagWu.js +1204 -0
  38. package/components/CashierStepUp-Bwo5aVPT.cjs +1 -0
  39. package/components/CashierStepUp-cTf7L6t4.js +1165 -0
  40. package/components/CashierTransactionHistory-Dd5ydbYM.js +1394 -0
  41. package/components/CashierTransactionHistory-Dx7mVKOh.cjs +1 -0
  42. package/components/CashierTransactionHistory-JR1DrsVh.js +1394 -0
  43. package/components/CashierVerifications-0enYZZLD.js +683 -0
  44. package/components/CashierVerifications-C_73oFvm.cjs +1 -0
  45. package/components/CashierVerifications-clMzLemr.js +687 -0
  46. package/components/{TxnStatusIcon-ssLhQR5N.js → TxnStatusIcon-BdmgpoFK.js} +5 -5
  47. package/components/{TxnStatusIcon-CWkyVMIU.cjs → TxnStatusIcon-BuY_lIOK.cjs} +1 -1
  48. package/components/{TxnStatusIcon-BwvCa-Ig.js → TxnStatusIcon-DdHua6_u.js} +5 -5
  49. package/components/{TxnTypeIcons-CTQXT_j5.cjs → TxnTypeIcons-BOR9sqs3.cjs} +1 -1
  50. package/components/{TxnTypeIcons-B84nFRMh.js → TxnTypeIcons-Dj4BEiZD.js} +1 -1
  51. package/components/{TxnTypeIcons-DhwUYw-o.js → TxnTypeIcons-GA3AS07V.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierError-BL_rmfvV.cjs +0 -1
  57. package/components/CashierError-Bqtyy8-q.js +0 -638
  58. package/components/CashierError-D054pa3k.js +0 -654
  59. package/components/CashierHeader-BNDmkX5f.js +0 -397
  60. package/components/CashierHeader-DJYOdmdi.js +0 -397
  61. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  62. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  63. package/components/CashierMethodDetails-DLCEFTpO.cjs +0 -85
  64. package/components/CashierMethodsList-D6dEg4zv.cjs +0 -1
  65. package/components/CashierPage-BtrYOlrz.js +0 -4584
  66. package/components/CashierPage-XewFlLFL.js +0 -4550
  67. package/components/CashierPage-ZwlEVQK1.cjs +0 -1
  68. package/components/CashierReceiptPage-BHUK-JH2.js +0 -1784
  69. package/components/CashierReceiptPage-Ur_cm9GB.cjs +0 -26
  70. package/components/CashierReceiptPage-ooyhUTMT.js +0 -1764
  71. package/components/CashierSessionExpirationModal-WrH-ardc.cjs +0 -2
  72. package/components/CashierStepUp-CSZd5C7z.js +0 -1130
  73. package/components/CashierStepUp-CmTcFbG9.js +0 -1091
  74. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  75. package/components/CashierTransactionHistory-DSJAL5H2.js +0 -1341
  76. package/components/CashierTransactionHistory-Dk0b66AC.cjs +0 -1
  77. package/components/CashierTransactionHistory-Dt-gnylu.js +0 -1341
  78. package/components/CashierVerifications-BUcxHXrG.js +0 -627
  79. package/components/CashierVerifications-Byj-MslV.js +0 -623
  80. package/components/CashierVerifications-f5t-nR--.cjs +0 -1
@@ -1,1341 +0,0 @@
1
- import { a as it, $ as at, i as lt, S as nt, b as rt, s as ot, f as I, c as ct, e as R, t as B, g as F, a6 as ye, a7 as _e, k as A, m as h, o as m, p as ut, q as mt, Z as $, a4 as He, v as H, W as ee, l as r, n as S, w, G as M, A as Q, y as dt, ae as ft, L as Ke, af as Qe, x as Ae, r as $e, ah as ke, z as Fe, X as De, ai as et, aj as tt, ak as st, B as pt, C as ht, D as vt, E as gt, F as xt } from "./CashierCarousel-DJXsZKF9.js";
2
- import { f as Pe } from "./CashierPage-XewFlLFL.js";
3
- import { d as te } from "./CashierMethodDetails-BrlBDyIX.js";
4
- import "../stencil/ui-image-BsYHwNhO.js";
5
- import { T as yt } from "./TxnTypeIcons-DhwUYw-o.js";
6
- import { T as _t } from "./TxnStatusIcon-ssLhQR5N.js";
7
- lt({
8
- fallbackLocale: "en"
9
- });
10
- function Me(i, e) {
11
- it(i, e);
12
- }
13
- function qt(i) {
14
- at.set(i);
15
- }
16
- const Ne = {
17
- en: {
18
- transactionHistoryTitle: "Transaction History",
19
- transactionCodeTitle: "ID",
20
- transactionDateTitle: "Date",
21
- transactionDateTimeTitle: "Date",
22
- transactionTypeTitle: "Type",
23
- transactionStatusTitle: "Status",
24
- transactionStatusIconTitle: "Status",
25
- transactionTypeIconTitle: "Type",
26
- copyTransactionId: "Transaction Id copied to clipboard",
27
- transactionAmountTitle: "Amount",
28
- transactionPaymentMethodTitle: "Payment Method",
29
- transactionRejectionNoteTitle: "Rejection Note",
30
- transactionStatus: {
31
- Authorized: "Authorized",
32
- Success: "Success",
33
- Failed: "Failed",
34
- Rejected: "Rejected",
35
- Pending: "Pending"
36
- },
37
- transactionType: {
38
- Deposit: "Deposit",
39
- Withdraw: "Withdraw"
40
- }
41
- },
42
- tr: {
43
- transactionHistoryTitle: "İşlem Geçmişi",
44
- transactionIdTitle: "İşlem ID'si",
45
- transactionDateTitle: "Tarih",
46
- transactionDateTimeTitle: "Tarih",
47
- transactionTypeTitle: "Tip",
48
- transactionStatusTitle: "Durum",
49
- transactionStatusIconTitle: "Durum",
50
- transactionTypeIconTitle: "Tip",
51
- transactionAmountTitle: "Tutar",
52
- transactionRejectionNoteTitle: "Reddetme Notu",
53
- transactionPaymentMethodTitle: "Ödeme Yöntemi",
54
- copyTransactionId: "İşlem ID’si kopyalandı",
55
- transactionStatus: {
56
- Authorized: "Onaylandı",
57
- Success: "Başarılı",
58
- Failed: "Başarısız",
59
- Rejected: "Reddedildi",
60
- Pending: "Beklemede"
61
- },
62
- transactionType: {
63
- Deposit: "Para Yatır",
64
- Withdraw: "Çekim"
65
- }
66
- },
67
- fr: {
68
- transactionHistoryTitle: "Historique des transactions",
69
- transactionCodeTitle: "ID",
70
- transactionDateTitle: "Date",
71
- transactionDateTimeTitle: "Date",
72
- transactionTypeTitle: "Type",
73
- transactionStatusTitle: "Statut",
74
- transactionStatusIconTitle: "Statut",
75
- transactionTypeIconTitle: "Type",
76
- copyTransactionId: "ID de transaction copié dans le presse-papiers",
77
- transactionAmountTitle: "Montant",
78
- transactionPaymentMethodTitle: "Moyen de paiement",
79
- transactionRejectionNoteTitle: "Motif du rejet",
80
- transactionStatus: {
81
- Authorized: "Autorisé",
82
- Success: "Succès",
83
- Failed: "Échec",
84
- Rejected: "Rejeté",
85
- Pending: "En attente"
86
- },
87
- transactionType: {
88
- Deposit: "Dépôt",
89
- Withdraw: "Retrait"
90
- }
91
- }
92
- };
93
- function Tt(i) {
94
- ct(i, "svelte-1xsmrqu", '.svelte-1xsmrqu.svelte-1xsmrqu,.svelte-1xsmrqu.svelte-1xsmrqu::before,.svelte-1xsmrqu.svelte-1xsmrqu::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1xsmrqu.svelte-1xsmrqu{width:50%;max-width:400px;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, rgba(249, 196, 5, 0.6078431373));transform:translateX(-50%);color:var(--emw--color-typography-button, #000000);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:2;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2)}.CashierTransactionHistoryContainer.svelte-1xsmrqu.svelte-1xsmrqu{position:relative;width:calc(100% - 20px);margin:auto}.CashierTransactionHistory.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1xsmrqu thead tr.svelte-1xsmrqu{color:var(--emw--color-primary, #F9C405);font-size:12px;height:50px;background-color:rgba(255, 255, 255, 0.05)}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:12px;font-weight:200}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu:not(:last-child):not(.Expanded){border-bottom:1px solid rgba(232, 233, 235, 0.2117647059)}.CashierTransactionHistory.svelte-1xsmrqu .TypeIcon.svelte-1xsmrqu{display:flex}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon svg.svelte-1xsmrqu{flex:0 0 auto;width:18px;height:18px}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon span.svelte-1xsmrqu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:80px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{max-width:250px;vertical-align:middle;height:40px;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu td:last-child .CashierTransactionHistoryStatusText.svelte-1xsmrqu{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:first-child{text-align:left;border-radius:10px 0 0 10px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:last-child{border-radius:0 10px 10px 0}.CashierTransactionHistory.svelte-1xsmrqu td .ExpandedContent.svelte-1xsmrqu{line-height:100%}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu{position:relative}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu:not(.ExpandedRow):not(.CashierTransactionHistoryHeader):not(.AllowExpand):hover{background:var(--emw--color-gray-50, #F7F8FA)}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1xsmrqu .CopyTooltip.svelte-1xsmrqu{width:100%}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:has(.Code){max-width:135px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1xsmrqu .CashierTransactionHistoryWrapper.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.column-TypeIcon.svelte-1xsmrqu:first-child{width:40px;text-align:left}.CashierTransactionHistory.svelte-1xsmrqu td.column-Code.svelte-1xsmrqu:first-child{max-width:60px;text-align:left}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{table-layout:fixed}.CashierTransactionHistory.svelte-1xsmrqu table td.svelte-1xsmrqu{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:100%;box-sizing:border-box;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:10px;z-index:1}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-black, #000000) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 60%, var(--emw--color-white, #f5f5f5) 95%);opacity:0.2}.CashierTransactionHistoryTitle.svelte-1xsmrqu.svelte-1xsmrqu{display:none;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.Code.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;line-height:inherit;display:inline}.StatusIcon.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-x-small, 6px)}.StatusIcon.svelte-1xsmrqu .StatusIconText.svelte-1xsmrqu{width:100px}.CashierTransactionHistoryStatus.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;gap:5px}.Amount.Withdraw.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"-"}.Amount.Deposit.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"+"}.Amount.Deposit.Success.svelte-1xsmrqu.svelte-1xsmrqu{color:var(--emw--color-primary-dark, #4b975d)}.CashierTransactionHistoryStatusText.svelte-1xsmrqu.svelte-1xsmrqu{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1xsmrqu.svelte-1xsmrqu{width:100%;overflow:auto}.CashierTransactionHistoryIcon.svelte-1xsmrqu.svelte-1xsmrqu{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}.TransactionHistoryRow.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer}.ShortHistory.svelte-1xsmrqu .CashierTransactionHistoryTitle.svelte-1xsmrqu{display:inline-block;margin:10px;font-weight:500}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu{cursor:auto}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu:hover{background:unset}.ExpandedContent.svelte-1xsmrqu.svelte-1xsmrqu{padding:var(--emw--spacing-large, 30px) var(--emw--spacing-small, 12px);position:relative;display:flex;flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.ExpandedContent.svelte-1xsmrqu .DetailsLogo.svelte-1xsmrqu{width:65px;position:absolute;top:var(--emw--spacing-large, 30px);right:var(--emw--spacing-small, 12px)}.StaticDetails.svelte-1xsmrqu.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;gap:var(--emw--spacing-small, 12px);width:100%}.StaticDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);padding-right:6px}.StaticDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 12px);font-weight:200;white-space:normal;overflow-wrap:break-word;max-width:100%;word-break:normal}.DetailsRow.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;flex-wrap:wrap;word-break:normal;overflow-wrap:break-word;white-space:normal}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code){max-width:250px}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code):hover{background:rgba(255, 255, 255, 0.2);border-radius:10px}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu{display:inline-flex;gap:6px;align-items:center;cursor:pointer;border-radius:var(--mmw--border-radius-medium-plus, 6px);padding:4px 6px;max-width:60%}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu:hover{background:var(--emw--color-primary, rgba(249, 196, 5, 0.4117647059))}.CopyCode.svelte-1xsmrqu span.svelte-1xsmrqu{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.CopyCode.svelte-1xsmrqu svg.svelte-1xsmrqu{flex-shrink:0}');
95
- }
96
- function Ee(i, e, s) {
97
- const t = i.slice();
98
- return t[45] = e[s], t[47] = s, t;
99
- }
100
- function Le(i, e, s) {
101
- const t = i.slice();
102
- return t[48] = e[s][0], t[49] = e[s][1], t;
103
- }
104
- function Oe(i, e, s) {
105
- const t = i.slice();
106
- return t[52] = e[s], t[47] = s, t;
107
- }
108
- function Ue(i, e, s) {
109
- const t = i.slice();
110
- return t[52] = e[s], t[47] = s, t;
111
- }
112
- function wt(i) {
113
- let e;
114
- return {
115
- c() {
116
- e = h("cashier-spinner"), Q(
117
- e,
118
- "clientstylingurl",
119
- /*clientstylingurl*/
120
- i[1]
121
- ), Q(
122
- e,
123
- "clientstyling",
124
- /*clientstyling*/
125
- i[0]
126
- ), Q(e, "class", "svelte-1xsmrqu");
127
- },
128
- m(s, t) {
129
- A(s, e, t);
130
- },
131
- p(s, t) {
132
- t[0] & /*clientstylingurl*/
133
- 2 && Q(
134
- e,
135
- "clientstylingurl",
136
- /*clientstylingurl*/
137
- s[1]
138
- ), t[0] & /*clientstyling*/
139
- 1 && Q(
140
- e,
141
- "clientstyling",
142
- /*clientstyling*/
143
- s[0]
144
- );
145
- },
146
- i: M,
147
- o: M,
148
- d(s) {
149
- s && R(e);
150
- }
151
- };
152
- }
153
- function bt(i) {
154
- let e, s, t, a, u = (
155
- /*$_*/
156
- i[12]("transactionHistoryTitle") + ""
157
- ), c, o, l, g, q, f, d, x, _, T = (
158
- /*copied*/
159
- i[8] && Ve(i)
160
- ), z = $(
161
- /*tableColumns*/
162
- i[10]
163
- ), k = [];
164
- for (let p = 0; p < z.length; p += 1)
165
- k[p] = We(Ue(i, z, p));
166
- let N = $(
167
- /*txnHistory*/
168
- i[7]
169
- ), b = [];
170
- for (let p = 0; p < N.length; p += 1)
171
- b[p] = Je(Ee(i, N, p));
172
- const se = (p) => B(b[p], 1, 1, () => {
173
- b[p] = null;
174
- });
175
- return {
176
- c() {
177
- e = h("div"), T && T.c(), s = S(), t = h("div"), a = h("h3"), c = w(u), o = S(), l = h("div"), g = h("table"), q = h("thead"), f = h("tr");
178
- for (let p = 0; p < k.length; p += 1)
179
- k[p].c();
180
- d = S(), x = h("tbody");
181
- for (let p = 0; p < b.length; p += 1)
182
- b[p].c();
183
- m(a, "class", "CashierTransactionHistoryTitle svelte-1xsmrqu"), m(f, "class", "CashierTransactionHistoryHeader svelte-1xsmrqu"), m(q, "class", "svelte-1xsmrqu"), m(x, "class", "svelte-1xsmrqu"), m(g, "class", "svelte-1xsmrqu"), m(l, "class", "CashierTransactionHistoryContent svelte-1xsmrqu"), m(t, "class", "CashierTransactionHistoryWrapper svelte-1xsmrqu"), m(e, "class", "CashierTransactionHistory svelte-1xsmrqu"), ee(
184
- e,
185
- "ShortHistory",
186
- /*isshorttransactionhistory*/
187
- i[3] === "true"
188
- );
189
- },
190
- m(p, C) {
191
- A(p, e, C), T && T.m(e, null), r(e, s), r(e, t), r(t, a), r(a, c), r(t, o), r(t, l), r(l, g), r(g, q), r(q, f);
192
- for (let v = 0; v < k.length; v += 1)
193
- k[v] && k[v].m(f, null);
194
- r(g, d), r(g, x);
195
- for (let v = 0; v < b.length; v += 1)
196
- b[v] && b[v].m(x, null);
197
- i[32](e), _ = !0;
198
- },
199
- p(p, C) {
200
- if (/*copied*/
201
- p[8] ? T ? (T.p(p, C), C[0] & /*copied*/
202
- 256 && F(T, 1)) : (T = Ve(p), T.c(), F(T, 1), T.m(e, s)) : T && (ye(), B(T, 1, 1, () => {
203
- T = null;
204
- }), _e()), (!_ || C[0] & /*$_*/
205
- 4096) && u !== (u = /*$_*/
206
- p[12]("transactionHistoryTitle") + "") && H(c, u), C[0] & /*$_, tableColumns*/
207
- 5120) {
208
- z = $(
209
- /*tableColumns*/
210
- p[10]
211
- );
212
- let v;
213
- for (v = 0; v < z.length; v += 1) {
214
- const V = Ue(p, z, v);
215
- k[v] ? k[v].p(V, C) : (k[v] = We(V), k[v].c(), k[v].m(f, null));
216
- }
217
- for (; v < k.length; v += 1)
218
- k[v].d(1);
219
- k.length = z.length;
220
- }
221
- if (C[0] & /*tableColumns, txnHistory, $_, copyToClipboard, datetimeformat, expandedRow, isshorttransactionhistory, expandRow, copied, dateformat*/
222
- 32184) {
223
- N = $(
224
- /*txnHistory*/
225
- p[7]
226
- );
227
- let v;
228
- for (v = 0; v < N.length; v += 1) {
229
- const V = Ee(p, N, v);
230
- b[v] ? (b[v].p(V, C), F(b[v], 1)) : (b[v] = Je(V), b[v].c(), F(b[v], 1), b[v].m(x, null));
231
- }
232
- for (ye(), v = N.length; v < b.length; v += 1)
233
- se(v);
234
- _e();
235
- }
236
- (!_ || C[0] & /*isshorttransactionhistory*/
237
- 8) && ee(
238
- e,
239
- "ShortHistory",
240
- /*isshorttransactionhistory*/
241
- p[3] === "true"
242
- );
243
- },
244
- i(p) {
245
- if (!_) {
246
- F(T);
247
- for (let C = 0; C < N.length; C += 1)
248
- F(b[C]);
249
- _ = !0;
250
- }
251
- },
252
- o(p) {
253
- B(T), b = b.filter(Boolean);
254
- for (let C = 0; C < b.length; C += 1)
255
- B(b[C]);
256
- _ = !1;
257
- },
258
- d(p) {
259
- p && R(e), T && T.d(), He(k, p), He(b, p), i[32](null);
260
- }
261
- };
262
- }
263
- function Ve(i) {
264
- let e, s = (
265
- /*$_*/
266
- i[12]("copyTransactionId") + ""
267
- ), t, a, u, c;
268
- return {
269
- c() {
270
- e = h("div"), t = w(s), m(e, "class", "CopyTooltip svelte-1xsmrqu");
271
- },
272
- m(o, l) {
273
- A(o, e, l), r(e, t), c = !0;
274
- },
275
- p(o, l) {
276
- i = o, (!c || l[0] & /*$_*/
277
- 4096) && s !== (s = /*$_*/
278
- i[12]("copyTransactionId") + "") && H(t, s);
279
- },
280
- i(o) {
281
- c || (o && Ke(() => {
282
- c && (u && u.end(1), a = Qe(e, Pe, { duration: 100 }), a.start());
283
- }), c = !0);
284
- },
285
- o(o) {
286
- a && a.invalidate(), o && (u = ft(e, Pe, { duration: (
287
- /*tooltipduration*/
288
- i[2]
289
- ) })), c = !1;
290
- },
291
- d(o) {
292
- o && R(e), o && u && u.end();
293
- }
294
- };
295
- }
296
- function We(i) {
297
- let e, s = (
298
- /*$_*/
299
- i[12](`transaction${/*columnName*/
300
- i[52]}Title`) + ""
301
- ), t;
302
- return {
303
- c() {
304
- e = h("td"), t = w(s), m(e, "class", "svelte-1xsmrqu");
305
- },
306
- m(a, u) {
307
- A(a, e, u), r(e, t);
308
- },
309
- p(a, u) {
310
- u[0] & /*$_, tableColumns*/
311
- 5120 && s !== (s = /*$_*/
312
- a[12](`transaction${/*columnName*/
313
- a[52]}Title`) + "") && H(t, s);
314
- },
315
- d(a) {
316
- a && R(e);
317
- }
318
- };
319
- }
320
- function Ct(i) {
321
- let e, s = (
322
- /*transaction*/
323
- i[45][
324
- /*columnName*/
325
- i[52]
326
- ] + ""
327
- ), t;
328
- return {
329
- c() {
330
- e = h("span"), t = w(s), m(e, "class", "svelte-1xsmrqu");
331
- },
332
- m(a, u) {
333
- A(a, e, u), r(e, t);
334
- },
335
- p(a, u) {
336
- u[0] & /*txnHistory, tableColumns*/
337
- 1152 && s !== (s = /*transaction*/
338
- a[45][
339
- /*columnName*/
340
- a[52]
341
- ] + "") && H(t, s);
342
- },
343
- i: M,
344
- o: M,
345
- d(a) {
346
- a && R(e);
347
- }
348
- };
349
- }
350
- function kt(i) {
351
- let e = te(
352
- /*transaction*/
353
- i[45].DateTime
354
- ).format(
355
- /*datetimeformat*/
356
- i[5]
357
- ) + "", s;
358
- return {
359
- c() {
360
- s = w(e);
361
- },
362
- m(t, a) {
363
- A(t, s, a);
364
- },
365
- p(t, a) {
366
- a[0] & /*txnHistory, datetimeformat*/
367
- 160 && e !== (e = te(
368
- /*transaction*/
369
- t[45].DateTime
370
- ).format(
371
- /*datetimeformat*/
372
- t[5]
373
- ) + "") && H(s, e);
374
- },
375
- i: M,
376
- o: M,
377
- d(t) {
378
- t && R(s);
379
- }
380
- };
381
- }
382
- function Dt(i) {
383
- let e = te(
384
- /*transaction*/
385
- i[45].Date
386
- ).format(
387
- /*dateformat*/
388
- i[4]
389
- ) + "", s;
390
- return {
391
- c() {
392
- s = w(e);
393
- },
394
- m(t, a) {
395
- A(t, s, a);
396
- },
397
- p(t, a) {
398
- a[0] & /*txnHistory, dateformat*/
399
- 144 && e !== (e = te(
400
- /*transaction*/
401
- t[45].Date
402
- ).format(
403
- /*dateformat*/
404
- t[4]
405
- ) + "") && H(s, e);
406
- },
407
- i: M,
408
- o: M,
409
- d(t) {
410
- t && R(s);
411
- }
412
- };
413
- }
414
- function Ht(i) {
415
- let e = (
416
- /*$_*/
417
- i[12](`transactionStatus.${/*transaction*/
418
- i[45].Status}`) + ""
419
- ), s;
420
- return {
421
- c() {
422
- s = w(e);
423
- },
424
- m(t, a) {
425
- A(t, s, a);
426
- },
427
- p(t, a) {
428
- a[0] & /*$_, txnHistory*/
429
- 4224 && e !== (e = /*$_*/
430
- t[12](`transactionStatus.${/*transaction*/
431
- t[45].Status}`) + "") && H(s, e);
432
- },
433
- i: M,
434
- o: M,
435
- d(t) {
436
- t && R(s);
437
- }
438
- };
439
- }
440
- function St(i) {
441
- let e, s, t, a = (
442
- /*$_*/
443
- i[12](`transactionStatus.${/*transaction*/
444
- i[45].Status}`) + ""
445
- ), u, c;
446
- return e = new _t({
447
- props: { status: (
448
- /*transaction*/
449
- i[45].Status
450
- ) }
451
- }), {
452
- c() {
453
- st(e.$$.fragment), s = S(), t = h("span"), u = w(a), m(t, "class", "StatusIconText svelte-1xsmrqu");
454
- },
455
- m(o, l) {
456
- tt(e, o, l), A(o, s, l), A(o, t, l), r(t, u), c = !0;
457
- },
458
- p(o, l) {
459
- const g = {};
460
- l[0] & /*txnHistory*/
461
- 128 && (g.status = /*transaction*/
462
- o[45].Status), e.$set(g), (!c || l[0] & /*$_, txnHistory*/
463
- 4224) && a !== (a = /*$_*/
464
- o[12](`transactionStatus.${/*transaction*/
465
- o[45].Status}`) + "") && H(u, a);
466
- },
467
- i(o) {
468
- c || (F(e.$$.fragment, o), c = !0);
469
- },
470
- o(o) {
471
- B(e.$$.fragment, o), c = !1;
472
- },
473
- d(o) {
474
- o && (R(s), R(t)), et(e, o);
475
- }
476
- };
477
- }
478
- function Rt(i) {
479
- let e, s = (
480
- /*transaction*/
481
- i[45].Amount + ""
482
- ), t, a, u = (
483
- /*transaction*/
484
- i[45].Currency + ""
485
- ), c, o;
486
- return {
487
- c() {
488
- e = h("span"), t = w(s), a = S(), c = w(u), m(e, "class", o = "Amount " + /*transaction*/
489
- i[45].Type + " " + /*transaction*/
490
- i[45].Status + " svelte-1xsmrqu");
491
- },
492
- m(l, g) {
493
- A(l, e, g), r(e, t), r(e, a), r(e, c);
494
- },
495
- p(l, g) {
496
- g[0] & /*txnHistory*/
497
- 128 && s !== (s = /*transaction*/
498
- l[45].Amount + "") && H(t, s), g[0] & /*txnHistory*/
499
- 128 && u !== (u = /*transaction*/
500
- l[45].Currency + "") && H(c, u), g[0] & /*txnHistory*/
501
- 128 && o !== (o = "Amount " + /*transaction*/
502
- l[45].Type + " " + /*transaction*/
503
- l[45].Status + " svelte-1xsmrqu") && m(e, "class", o);
504
- },
505
- i: M,
506
- o: M,
507
- d(l) {
508
- l && R(e);
509
- }
510
- };
511
- }
512
- function At(i) {
513
- let e, s = (
514
- /*transaction*/
515
- i[45].Code + ""
516
- ), t, a, u, c;
517
- return {
518
- c() {
519
- e = h("span"), t = w(s), m(e, "data-copy", a = /*transaction*/
520
- i[45].Code), m(e, "class", "svelte-1xsmrqu"), ee(
521
- e,
522
- "copied",
523
- /*copied*/
524
- i[8]
525
- );
526
- },
527
- m(o, l) {
528
- A(o, e, l), r(e, t), u || (c = Ae(
529
- e,
530
- "click",
531
- /*click_handler*/
532
- i[29]
533
- ), u = !0);
534
- },
535
- p(o, l) {
536
- l[0] & /*txnHistory*/
537
- 128 && s !== (s = /*transaction*/
538
- o[45].Code + "") && H(t, s), l[0] & /*txnHistory*/
539
- 128 && a !== (a = /*transaction*/
540
- o[45].Code) && m(e, "data-copy", a), l[0] & /*copied*/
541
- 256 && ee(
542
- e,
543
- "copied",
544
- /*copied*/
545
- o[8]
546
- );
547
- },
548
- i: M,
549
- o: M,
550
- d(o) {
551
- o && R(e), u = !1, c();
552
- }
553
- };
554
- }
555
- function jt(i) {
556
- let e, s;
557
- return e = new yt({
558
- props: { type: (
559
- /*transaction*/
560
- i[45].Type
561
- ) }
562
- }), {
563
- c() {
564
- st(e.$$.fragment);
565
- },
566
- m(t, a) {
567
- tt(e, t, a), s = !0;
568
- },
569
- p(t, a) {
570
- const u = {};
571
- a[0] & /*txnHistory*/
572
- 128 && (u.type = /*transaction*/
573
- t[45].Type), e.$set(u);
574
- },
575
- i(t) {
576
- s || (F(e.$$.fragment, t), s = !0);
577
- },
578
- o(t) {
579
- B(e.$$.fragment, t), s = !1;
580
- },
581
- d(t) {
582
- et(e, t);
583
- }
584
- };
585
- }
586
- function It(i) {
587
- let e, s = (
588
- /*$_*/
589
- i[12](`transactionType.${/*transaction*/
590
- i[45].Type}`) + ""
591
- ), t;
592
- return {
593
- c() {
594
- e = h("span"), t = w(s), m(e, "class", "svelte-1xsmrqu");
595
- },
596
- m(a, u) {
597
- A(a, e, u), r(e, t);
598
- },
599
- p(a, u) {
600
- u[0] & /*$_, txnHistory*/
601
- 4224 && s !== (s = /*$_*/
602
- a[12](`transactionType.${/*transaction*/
603
- a[45].Type}`) + "") && H(t, s);
604
- },
605
- i: M,
606
- o: M,
607
- d(a) {
608
- a && R(e);
609
- }
610
- };
611
- }
612
- function Ye(i) {
613
- let e, s, t, a, u, c, o, l;
614
- const g = [
615
- It,
616
- jt,
617
- At,
618
- Rt,
619
- St,
620
- Ht,
621
- Dt,
622
- kt,
623
- Ct
624
- ], q = [];
625
- function f(d, x) {
626
- return (
627
- /*columnName*/
628
- d[52] === "Type" ? 0 : (
629
- /*columnName*/
630
- d[52] === "TypeIcon" ? 1 : (
631
- /*columnName*/
632
- d[52] === "Code" ? 2 : (
633
- /*columnName*/
634
- d[52] === "Amount" ? 3 : (
635
- /*columnName*/
636
- d[52] === "StatusIcon" ? 4 : (
637
- /*columnName*/
638
- d[52] === "Status" ? 5 : (
639
- /*columnName*/
640
- d[52] === "Date" ? 6 : (
641
- /*columnName*/
642
- d[52] === "DateTime" ? 7 : 8
643
- )
644
- )
645
- )
646
- )
647
- )
648
- )
649
- )
650
- );
651
- }
652
- return t = f(i), a = q[t] = g[t](i), {
653
- c() {
654
- e = h("td"), s = h("span"), a.c(), c = S(), m(s, "class", u = ke(
655
- /*columnName*/
656
- i[52]
657
- ) + " svelte-1xsmrqu"), m(e, "class", o = ke(`column-${/*columnName*/
658
- i[52]}`) + " svelte-1xsmrqu");
659
- },
660
- m(d, x) {
661
- A(d, e, x), r(e, s), q[t].m(s, null), r(e, c), l = !0;
662
- },
663
- p(d, x) {
664
- let _ = t;
665
- t = f(d), t === _ ? q[t].p(d, x) : (ye(), B(q[_], 1, 1, () => {
666
- q[_] = null;
667
- }), _e(), a = q[t], a ? a.p(d, x) : (a = q[t] = g[t](d), a.c()), F(a, 1), a.m(s, null)), (!l || x[0] & /*tableColumns*/
668
- 1024 && u !== (u = ke(
669
- /*columnName*/
670
- d[52]
671
- ) + " svelte-1xsmrqu")) && m(s, "class", u), (!l || x[0] & /*tableColumns*/
672
- 1024 && o !== (o = ke(`column-${/*columnName*/
673
- d[52]}`) + " svelte-1xsmrqu")) && m(e, "class", o);
674
- },
675
- i(d) {
676
- l || (F(a), l = !0);
677
- },
678
- o(d) {
679
- B(a), l = !1;
680
- },
681
- d(d) {
682
- d && R(e), q[t].d();
683
- }
684
- };
685
- }
686
- function Be(i) {
687
- let e, s, t, a, u, c, o = (
688
- /*$_*/
689
- i[12]("transactionTypeTitle") + ""
690
- ), l, g, q, f, d = (
691
- /*$_*/
692
- i[12](`transactionType.${/*transaction*/
693
- i[45].Type}`) + ""
694
- ), x, _, T, z, k = (
695
- /*$_*/
696
- i[12]("transactionDateTitle") + ""
697
- ), N, b, se, p, C = te(
698
- /*transaction*/
699
- i[45].DateTime
700
- ).format(
701
- /*datetimeformat*/
702
- i[5]
703
- ) + "", v, V, E, Z, re = (
704
- /*$_*/
705
- i[12]("transactionPaymentMethodTitle") + ""
706
- ), ie, pe, he, G, W = (
707
- /*transaction*/
708
- i[45].PaymentMethod + ""
709
- ), oe, ce, J, ae, ue = (
710
- /*$_*/
711
- i[12]("transactionCodeTitle") + ""
712
- ), ve, qe, me, Y, de, fe = (
713
- /*transaction*/
714
- i[45].Code + ""
715
- ), ge, Te, X, K, n, y, j, P, le, xe, je, we, ne, be, Se, Ce, Ie, Re, ze, O = (
716
- /*transaction*/
717
- i[45].RejectionNote && Xe(i)
718
- ), U = (
719
- /*transaction*/
720
- i[45].PaymentFields && Ge(i)
721
- );
722
- return {
723
- c() {
724
- e = h("tr"), s = h("td"), t = h("div"), a = h("div"), u = h("div"), c = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), z = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(), E = h("div"), Z = h("span"), ie = w(re), pe = w(" :"), he = S(), G = h("span"), oe = w(W), ce = S(), J = h("div"), ae = h("span"), ve = w(ue), qe = w(" :"), me = S(), Y = h("span"), de = h("span"), ge = w(fe), Te = S(), X = De("svg"), K = De("g"), n = De("path"), y = De("path"), P = S(), O && O.c(), le = S(), xe = h("div"), U && U.c(), je = S(), we = h("div"), ne = h("ui-image"), Ie = S(), m(c, "class", "DetailsTitle svelte-1xsmrqu"), m(f, "class", "DetailsValue svelte-1xsmrqu"), m(u, "class", "DetailsRow svelte-1xsmrqu"), m(z, "class", "DetailsTitle svelte-1xsmrqu"), m(p, "class", "DetailsValue svelte-1xsmrqu"), m(T, "class", "DetailsRow svelte-1xsmrqu"), m(Z, "class", "DetailsTitle svelte-1xsmrqu"), m(G, "class", "DetailsValue svelte-1xsmrqu"), m(E, "class", "DetailsRow svelte-1xsmrqu"), m(ae, "class", "DetailsTitle svelte-1xsmrqu"), m(de, "class", "svelte-1xsmrqu"), m(n, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), m(n, "stroke", "#666666"), m(n, "stroke-linecap", "round"), m(n, "stroke-linejoin", "round"), m(n, "class", "svelte-1xsmrqu"), m(y, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), m(y, "stroke", "#666666"), m(y, "stroke-linecap", "round"), m(y, "stroke-linejoin", "round"), m(y, "class", "svelte-1xsmrqu"), m(K, "opacity", "0.5"), m(K, "class", "svelte-1xsmrqu"), m(X, "xmlns", "http://www.w3.org/2000/svg"), m(X, "width", "19"), m(X, "height", "19"), m(X, "viewBox", "0 0 19 19"), m(X, "fill", "none"), m(X, "class", "svelte-1xsmrqu"), m(Y, "data-copy", j = /*transaction*/
725
- i[45].Code), m(Y, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(J, "class", "DetailsRow svelte-1xsmrqu"), m(a, "class", "StaticDetails svelte-1xsmrqu"), m(xe, "class", "DynamicDetails svelte-1xsmrqu"), Fe(ne.src, be = /*transaction*/
726
- i[45].Logo) || Q(ne, "src", be), Q(ne, "class", "svelte-1xsmrqu"), m(we, "class", "DetailsLogo svelte-1xsmrqu"), m(t, "class", "ExpandedContent svelte-1xsmrqu"), m(s, "colspan", Ce = /*tableColumns*/
727
- i[10].length), m(s, "class", "no-padding svelte-1xsmrqu"), m(e, "class", "ExpandedRow svelte-1xsmrqu");
728
- },
729
- m(D, L) {
730
- A(D, e, L), r(e, s), r(s, t), r(t, a), r(a, u), r(u, c), r(c, l), r(c, g), r(u, q), r(u, f), r(f, x), r(a, _), r(a, T), r(T, z), r(z, N), r(z, b), r(T, se), r(T, p), r(p, v), r(a, V), r(a, E), r(E, Z), r(Z, ie), r(Z, pe), r(E, he), r(E, G), r(G, oe), r(a, ce), r(a, J), r(J, ae), r(ae, ve), r(ae, qe), r(J, me), r(J, Y), r(Y, de), r(de, ge), r(Y, Te), r(Y, X), r(X, K), r(K, n), r(K, y), r(a, P), O && O.m(a, null), r(t, le), r(t, xe), U && U.m(xe, null), r(t, je), r(t, we), r(we, ne), r(e, Ie), Re || (ze = Ae(
731
- Y,
732
- "mousedown",
733
- /*mousedown_handler*/
734
- i[31]
735
- ), Re = !0);
736
- },
737
- p(D, L) {
738
- L[0] & /*$_*/
739
- 4096 && o !== (o = /*$_*/
740
- D[12]("transactionTypeTitle") + "") && H(l, o), L[0] & /*$_, txnHistory*/
741
- 4224 && d !== (d = /*$_*/
742
- D[12](`transactionType.${/*transaction*/
743
- D[45].Type}`) + "") && H(x, d), L[0] & /*$_*/
744
- 4096 && k !== (k = /*$_*/
745
- D[12]("transactionDateTitle") + "") && H(N, k), L[0] & /*txnHistory, datetimeformat*/
746
- 160 && C !== (C = te(
747
- /*transaction*/
748
- D[45].DateTime
749
- ).format(
750
- /*datetimeformat*/
751
- D[5]
752
- ) + "") && H(v, C), L[0] & /*$_*/
753
- 4096 && re !== (re = /*$_*/
754
- D[12]("transactionPaymentMethodTitle") + "") && H(ie, re), L[0] & /*txnHistory*/
755
- 128 && W !== (W = /*transaction*/
756
- D[45].PaymentMethod + "") && H(oe, W), L[0] & /*$_*/
757
- 4096 && ue !== (ue = /*$_*/
758
- D[12]("transactionCodeTitle") + "") && H(ve, ue), L[0] & /*txnHistory*/
759
- 128 && fe !== (fe = /*transaction*/
760
- D[45].Code + "") && H(ge, fe), L[0] & /*txnHistory*/
761
- 128 && j !== (j = /*transaction*/
762
- D[45].Code) && m(Y, "data-copy", j), /*transaction*/
763
- D[45].RejectionNote ? O ? O.p(D, L) : (O = Xe(D), O.c(), O.m(a, null)) : O && (O.d(1), O = null), /*transaction*/
764
- D[45].PaymentFields ? U ? U.p(D, L) : (U = Ge(D), U.c(), U.m(xe, null)) : U && (U.d(1), U = null), L[0] & /*txnHistory*/
765
- 128 && !Fe(ne.src, be = /*transaction*/
766
- D[45].Logo) && Q(ne, "src", be), L[0] & /*tableColumns*/
767
- 1024 && Ce !== (Ce = /*tableColumns*/
768
- D[10].length) && m(s, "colspan", Ce);
769
- },
770
- i(D) {
771
- D && (Se || Ke(() => {
772
- Se = Qe(
773
- t,
774
- /*slideInOnly*/
775
- i[15],
776
- {}
777
- ), Se.start();
778
- }));
779
- },
780
- o: M,
781
- d(D) {
782
- D && R(e), O && O.d(), U && U.d(), Re = !1, ze();
783
- }
784
- };
785
- }
786
- function Xe(i) {
787
- let e, s, t = (
788
- /*$_*/
789
- i[12]("transactionRejectionNoteTitle") + ""
790
- ), a, u, c, o, l = (
791
- /*transaction*/
792
- i[45].RejectionNote + ""
793
- ), g;
794
- return {
795
- c() {
796
- e = h("div"), s = h("span"), a = w(t), u = w(" :"), c = S(), o = h("span"), g = w(l), m(s, "class", "DetailsTitle svelte-1xsmrqu"), m(o, "class", "DetailsValue svelte-1xsmrqu"), m(e, "class", "DetailsRow svelte-1xsmrqu");
797
- },
798
- m(q, f) {
799
- A(q, e, f), r(e, s), r(s, a), r(s, u), r(e, c), r(e, o), r(o, g);
800
- },
801
- p(q, f) {
802
- f[0] & /*$_*/
803
- 4096 && t !== (t = /*$_*/
804
- q[12]("transactionRejectionNoteTitle") + "") && H(a, t), f[0] & /*txnHistory*/
805
- 128 && l !== (l = /*transaction*/
806
- q[45].RejectionNote + "") && H(g, l);
807
- },
808
- d(q) {
809
- q && R(e);
810
- }
811
- };
812
- }
813
- function Ge(i) {
814
- let e, s = $(Object.entries(
815
- /*transaction*/
816
- i[45].PaymentFields
817
- )), t = [];
818
- for (let a = 0; a < s.length; a += 1)
819
- t[a] = Ze(Le(i, s, a));
820
- return {
821
- c() {
822
- for (let a = 0; a < t.length; a += 1)
823
- t[a].c();
824
- e = $e();
825
- },
826
- m(a, u) {
827
- for (let c = 0; c < t.length; c += 1)
828
- t[c] && t[c].m(a, u);
829
- A(a, e, u);
830
- },
831
- p(a, u) {
832
- if (u[0] & /*txnHistory, $_*/
833
- 4224) {
834
- s = $(Object.entries(
835
- /*transaction*/
836
- a[45].PaymentFields
837
- ));
838
- let c;
839
- for (c = 0; c < s.length; c += 1) {
840
- const o = Le(a, s, c);
841
- t[c] ? t[c].p(o, u) : (t[c] = Ze(o), t[c].c(), t[c].m(e.parentNode, e));
842
- }
843
- for (; c < t.length; c += 1)
844
- t[c].d(1);
845
- t.length = s.length;
846
- }
847
- },
848
- d(a) {
849
- a && R(e), He(t, a);
850
- }
851
- };
852
- }
853
- function Ze(i) {
854
- let e, s, t = (
855
- /*$_*/
856
- i[12](`transaction${/*key*/
857
- i[48]}Detail`, { default: (
858
- /*key*/
859
- i[48]
860
- ) }) + ""
861
- ), a, u, c, o, l = (
862
- /*value*/
863
- i[49] + ""
864
- ), g, q;
865
- return {
866
- c() {
867
- e = h("div"), s = h("span"), a = w(t), u = w(" :"), c = S(), o = h("span"), g = w(l), q = S(), m(s, "class", "DetailsTitle svelte-1xsmrqu"), m(o, "class", "DetailsValue svelte-1xsmrqu"), m(e, "class", "DetailsRow svelte-1xsmrqu");
868
- },
869
- m(f, d) {
870
- A(f, e, d), r(e, s), r(s, a), r(s, u), r(e, c), r(e, o), r(o, g), r(e, q);
871
- },
872
- p(f, d) {
873
- d[0] & /*$_, txnHistory*/
874
- 4224 && t !== (t = /*$_*/
875
- f[12](`transaction${/*key*/
876
- f[48]}Detail`, { default: (
877
- /*key*/
878
- f[48]
879
- ) }) + "") && H(a, t), d[0] & /*txnHistory*/
880
- 128 && l !== (l = /*value*/
881
- f[49] + "") && H(g, l);
882
- },
883
- d(f) {
884
- f && R(e);
885
- }
886
- };
887
- }
888
- function Je(i) {
889
- let e, s, t, a, u, c, o = $(
890
- /*tableColumns*/
891
- i[10]
892
- ), l = [];
893
- for (let d = 0; d < o.length; d += 1)
894
- l[d] = Ye(Oe(i, o, d));
895
- const g = (d) => B(l[d], 1, 1, () => {
896
- l[d] = null;
897
- });
898
- function q() {
899
- return (
900
- /*click_handler_1*/
901
- i[30](
902
- /*index*/
903
- i[47]
904
- )
905
- );
906
- }
907
- let f = (
908
- /*expandedRow*/
909
- i[11] === /*index*/
910
- i[47] && Be(i)
911
- );
912
- return {
913
- c() {
914
- e = h("tr");
915
- for (let d = 0; d < l.length; d += 1)
916
- l[d].c();
917
- s = S(), f && f.c(), t = $e(), m(e, "class", "TransactionHistoryRow svelte-1xsmrqu"), ee(
918
- e,
919
- "AllowExpand",
920
- /*isshorttransactionhistory*/
921
- i[3] === "true"
922
- ), ee(
923
- e,
924
- "Expanded",
925
- /*expandedRow*/
926
- i[11] === /*index*/
927
- i[47]
928
- );
929
- },
930
- m(d, x) {
931
- A(d, e, x);
932
- for (let _ = 0; _ < l.length; _ += 1)
933
- l[_] && l[_].m(e, null);
934
- A(d, s, x), f && f.m(d, x), A(d, t, x), a = !0, u || (c = Ae(e, "click", q), u = !0);
935
- },
936
- p(d, x) {
937
- if (i = d, x[0] & /*tableColumns, $_, txnHistory, copied, copyToClipboard, dateformat, datetimeformat*/
938
- 13744) {
939
- o = $(
940
- /*tableColumns*/
941
- i[10]
942
- );
943
- let _;
944
- for (_ = 0; _ < o.length; _ += 1) {
945
- const T = Oe(i, o, _);
946
- l[_] ? (l[_].p(T, x), F(l[_], 1)) : (l[_] = Ye(T), l[_].c(), F(l[_], 1), l[_].m(e, null));
947
- }
948
- for (ye(), _ = o.length; _ < l.length; _ += 1)
949
- g(_);
950
- _e();
951
- }
952
- (!a || x[0] & /*isshorttransactionhistory*/
953
- 8) && ee(
954
- e,
955
- "AllowExpand",
956
- /*isshorttransactionhistory*/
957
- i[3] === "true"
958
- ), (!a || x[0] & /*expandedRow*/
959
- 2048) && ee(
960
- e,
961
- "Expanded",
962
- /*expandedRow*/
963
- i[11] === /*index*/
964
- i[47]
965
- ), /*expandedRow*/
966
- i[11] === /*index*/
967
- i[47] ? f ? (f.p(i, x), x[0] & /*expandedRow*/
968
- 2048 && F(f, 1)) : (f = Be(i), f.c(), F(f, 1), f.m(t.parentNode, t)) : f && (f.d(1), f = null);
969
- },
970
- i(d) {
971
- if (!a) {
972
- for (let x = 0; x < o.length; x += 1)
973
- F(l[x]);
974
- F(f), a = !0;
975
- }
976
- },
977
- o(d) {
978
- l = l.filter(Boolean);
979
- for (let x = 0; x < l.length; x += 1)
980
- B(l[x]);
981
- a = !1;
982
- },
983
- d(d) {
984
- d && (R(e), R(s), R(t)), He(l, d), f && f.d(d), u = !1, c();
985
- }
986
- };
987
- }
988
- function zt(i) {
989
- let e, s, t, a;
990
- const u = [bt, wt], c = [];
991
- function o(l, g) {
992
- return (
993
- /*txnHistory*/
994
- l[7].length ? 0 : (
995
- /*isLoading*/
996
- l[9] ? 1 : -1
997
- )
998
- );
999
- }
1000
- return ~(s = o(i)) && (t = c[s] = u[s](i)), {
1001
- c() {
1002
- e = h("div"), t && t.c(), m(e, "class", "CashierTransactionHistoryContainer svelte-1xsmrqu");
1003
- },
1004
- m(l, g) {
1005
- A(l, e, g), ~s && c[s].m(e, null), a = !0;
1006
- },
1007
- p(l, g) {
1008
- let q = s;
1009
- s = o(l), s === q ? ~s && c[s].p(l, g) : (t && (ye(), B(c[q], 1, 1, () => {
1010
- c[q] = null;
1011
- }), _e()), ~s ? (t = c[s], t ? t.p(l, g) : (t = c[s] = u[s](l), t.c()), F(t, 1), t.m(e, null)) : t = null);
1012
- },
1013
- i(l) {
1014
- a || (F(t), a = !0);
1015
- },
1016
- o(l) {
1017
- B(t), a = !1;
1018
- },
1019
- d(l) {
1020
- l && R(e), ~s && c[s].d();
1021
- }
1022
- };
1023
- }
1024
- function Ft(i, e, s) {
1025
- let t;
1026
- ut(i, xt, (n) => s(12, t = n));
1027
- let { endpoint: a } = e, { session: u } = e, { lang: c = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: z = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1, E, Z, re, ie = !1, pe = [], he = [], G;
1028
- var W;
1029
- (function(n) {
1030
- n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
1031
- })(W || (W = {}));
1032
- const oe = [
1033
- "Authorized",
1034
- "Success",
1035
- "Failed",
1036
- "Rejected",
1037
- "PendingApprovalStage1",
1038
- "PendingApprovalStage2",
1039
- "PendingApprovalStage3",
1040
- "PendingNotification",
1041
- "PendingOfflineNotification",
1042
- "PendingConfirmation"
1043
- ];
1044
- var ce;
1045
- (function(n) {
1046
- n.Authorized = "Authorized", n.Success = "Success", n.Failed = "Failed", n.Rejected = "Rejected", n.Pending = "Pending";
1047
- })(ce || (ce = {})), mt(() => () => {
1048
- });
1049
- const J = () => {
1050
- let n = q;
1051
- if (n)
1052
- return fetch(n).then((y) => y.json()).then((y) => {
1053
- Object.keys(y).forEach((j) => {
1054
- Me(j, y[j]);
1055
- });
1056
- }).catch((y) => {
1057
- console.log(y);
1058
- });
1059
- };
1060
- Object.keys(Ne).forEach((n) => {
1061
- Me(n, Ne[n]);
1062
- });
1063
- const ae = () => {
1064
- qt(c);
1065
- }, ue = () => {
1066
- const n = new URL(`${a}/api/v1/mm/payment/gettransactionshistory`), y = new Headers();
1067
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("X-SessionId", `${u}`), pe.indexOf("MM_CHANNEL_BETA") != -1 && y.append("MM_CHANNEL", "BETA");
1068
- const j = {
1069
- method: "POST",
1070
- mode: "cors",
1071
- headers: y,
1072
- body: JSON.stringify({
1073
- language: c,
1074
- customerId: o,
1075
- count: +d,
1076
- page: +T,
1077
- fromDate: k,
1078
- toDate: N,
1079
- statuses: {
1080
- [W.Deposit]: oe,
1081
- [W.Withdraw]: oe,
1082
- [W.Refund]: ["Unknown"],
1083
- [W.TaxDeduction]: ["Unknown"],
1084
- [W.Unknown]: ["Unknown"]
1085
- },
1086
- calculateProfit: z === "true"
1087
- })
1088
- };
1089
- s(9, ie = !0), fetch(n, j).then((P) => P.json()).then((P) => {
1090
- s(7, v = ve(P?.items || []));
1091
- const le = {
1092
- type: "TransactionsLoaded",
1093
- total: P.total
1094
- };
1095
- z === "true" && (le.statistic = P.statistic), window.postMessage(le, window.location.href);
1096
- }).catch((P) => console.log(P)).finally(() => s(9, ie = !1));
1097
- }, ve = (n) => (s(10, he = _.split(",")), s(11, G = null), n.map((y) => {
1098
- let j = y.generalFields.status;
1099
- return y.generalFields.status.toLowerCase().includes("pending") && (j = ce.Pending), {
1100
- Code: y.generalFields.code,
1101
- Date: y.generalFields.created,
1102
- DateTime: y.generalFields.created,
1103
- Status: j,
1104
- Type: y.generalFields.type,
1105
- Amount: y.generalFields.amount,
1106
- Currency: y.generalFields.currency,
1107
- PaymentMethod: y.generalFields.paymentMethod,
1108
- RejectionNote: y.generalFields.rejectionNote,
1109
- PaymentFields: y.paymentFields && Object.keys(y.paymentFields).length > 0 ? y.paymentFields : null,
1110
- Logo: qe(y.logos)
1111
- };
1112
- }) || []), qe = (n) => {
1113
- if (n && n.length) {
1114
- const y = n.find((P) => P.logoType === "Mobile"), j = n.find((P) => P.logoType === "Desktop");
1115
- return y && y.logoUrl || j && j.logoUrl;
1116
- }
1117
- }, me = (n, y = !0) => {
1118
- const P = n.currentTarget.dataset.copy;
1119
- P && navigator.clipboard.writeText(P).then(() => {
1120
- y && (s(8, V = !0), clearTimeout(Z), Z = setTimeout(
1121
- () => {
1122
- s(8, V = !1);
1123
- },
1124
- 2e3
1125
- ));
1126
- }).catch((le) => {
1127
- console.error("Could not copy text: ", le);
1128
- });
1129
- }, Y = (n) => {
1130
- b !== "true" && s(11, G = G === n ? null : n);
1131
- }, de = (n, y) => ({
1132
- delay: 0,
1133
- duration: 250,
1134
- css: (j) => `overflow: hidden; transform: translateY(${(1 - j) * 20}px); opacity: ${j}`
1135
- }), fe = () => {
1136
- C.length > 0 && (pe = C.split(","));
1137
- }, ge = (n) => me(n), Te = (n) => Y(n), X = (n) => me(n, !1);
1138
- function K(n) {
1139
- dt[n ? "unshift" : "push"](() => {
1140
- E = n, s(6, E);
1141
- });
1142
- }
1143
- return i.$$set = (n) => {
1144
- "endpoint" in n && s(16, a = n.endpoint), "session" in n && s(17, u = n.session), "lang" in n && s(18, c = n.lang), "customerid" in n && s(19, o = n.customerid), "clientstyling" in n && s(0, l = n.clientstyling), "clientstylingurl" in n && s(1, g = n.clientstylingurl), "translationurl" in n && s(20, q = n.translationurl), "tooltipduration" in n && s(2, f = n.tooltipduration), "txncount" in n && s(21, d = n.txncount), "mbsource" in n && s(22, x = n.mbsource), "columns" in n && s(23, _ = n.columns), "page" in n && s(24, T = n.page), "calculateprofit" in n && s(25, z = n.calculateprofit), "fromdate" in n && s(26, k = n.fromdate), "todate" in n && s(27, N = n.todate), "isshorttransactionhistory" in n && s(3, b = n.isshorttransactionhistory), "dateformat" in n && s(4, se = n.dateformat), "datetimeformat" in n && s(5, p = n.datetimeformat), "userroles" in n && s(28, C = n.userroles);
1145
- }, i.$$.update = () => {
1146
- i.$$.dirty[0] & /*lang*/
1147
- 262144 && c && ae(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1148
- 65 && l && E && pt(E, l), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1149
- 66 && g && E && ht(E, g), i.$$.dirty[0] & /*endpoint, session, customerid, lang, fromdate, todate, page, calculateprofit*/
1150
- 252641280 && a && u && o && c && k && N && T && z && ue(), i.$$.dirty[0] & /*translationurl*/
1151
- 1048576 && q && J(), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
1152
- 4194368 && x && E && vt(E, `${x}.Style`, re), i.$$.dirty[0] & /*userroles*/
1153
- 268435456 && C && fe();
1154
- }, [
1155
- l,
1156
- g,
1157
- f,
1158
- b,
1159
- se,
1160
- p,
1161
- E,
1162
- v,
1163
- V,
1164
- ie,
1165
- he,
1166
- G,
1167
- t,
1168
- me,
1169
- Y,
1170
- de,
1171
- a,
1172
- u,
1173
- c,
1174
- o,
1175
- q,
1176
- d,
1177
- x,
1178
- _,
1179
- T,
1180
- z,
1181
- k,
1182
- N,
1183
- C,
1184
- ge,
1185
- Te,
1186
- X,
1187
- K
1188
- ];
1189
- }
1190
- class Pt extends nt {
1191
- constructor(e) {
1192
- super(), rt(
1193
- this,
1194
- e,
1195
- Ft,
1196
- zt,
1197
- ot,
1198
- {
1199
- endpoint: 16,
1200
- session: 17,
1201
- lang: 18,
1202
- customerid: 19,
1203
- clientstyling: 0,
1204
- clientstylingurl: 1,
1205
- translationurl: 20,
1206
- tooltipduration: 2,
1207
- txncount: 21,
1208
- mbsource: 22,
1209
- columns: 23,
1210
- page: 24,
1211
- calculateprofit: 25,
1212
- fromdate: 26,
1213
- todate: 27,
1214
- isshorttransactionhistory: 3,
1215
- dateformat: 4,
1216
- datetimeformat: 5,
1217
- userroles: 28
1218
- },
1219
- Tt,
1220
- [-1, -1]
1221
- );
1222
- }
1223
- get endpoint() {
1224
- return this.$$.ctx[16];
1225
- }
1226
- set endpoint(e) {
1227
- this.$$set({ endpoint: e }), I();
1228
- }
1229
- get session() {
1230
- return this.$$.ctx[17];
1231
- }
1232
- set session(e) {
1233
- this.$$set({ session: e }), I();
1234
- }
1235
- get lang() {
1236
- return this.$$.ctx[18];
1237
- }
1238
- set lang(e) {
1239
- this.$$set({ lang: e }), I();
1240
- }
1241
- get customerid() {
1242
- return this.$$.ctx[19];
1243
- }
1244
- set customerid(e) {
1245
- this.$$set({ customerid: e }), I();
1246
- }
1247
- get clientstyling() {
1248
- return this.$$.ctx[0];
1249
- }
1250
- set clientstyling(e) {
1251
- this.$$set({ clientstyling: e }), I();
1252
- }
1253
- get clientstylingurl() {
1254
- return this.$$.ctx[1];
1255
- }
1256
- set clientstylingurl(e) {
1257
- this.$$set({ clientstylingurl: e }), I();
1258
- }
1259
- get translationurl() {
1260
- return this.$$.ctx[20];
1261
- }
1262
- set translationurl(e) {
1263
- this.$$set({ translationurl: e }), I();
1264
- }
1265
- get tooltipduration() {
1266
- return this.$$.ctx[2];
1267
- }
1268
- set tooltipduration(e) {
1269
- this.$$set({ tooltipduration: e }), I();
1270
- }
1271
- get txncount() {
1272
- return this.$$.ctx[21];
1273
- }
1274
- set txncount(e) {
1275
- this.$$set({ txncount: e }), I();
1276
- }
1277
- get mbsource() {
1278
- return this.$$.ctx[22];
1279
- }
1280
- set mbsource(e) {
1281
- this.$$set({ mbsource: e }), I();
1282
- }
1283
- get columns() {
1284
- return this.$$.ctx[23];
1285
- }
1286
- set columns(e) {
1287
- this.$$set({ columns: e }), I();
1288
- }
1289
- get page() {
1290
- return this.$$.ctx[24];
1291
- }
1292
- set page(e) {
1293
- this.$$set({ page: e }), I();
1294
- }
1295
- get calculateprofit() {
1296
- return this.$$.ctx[25];
1297
- }
1298
- set calculateprofit(e) {
1299
- this.$$set({ calculateprofit: e }), I();
1300
- }
1301
- get fromdate() {
1302
- return this.$$.ctx[26];
1303
- }
1304
- set fromdate(e) {
1305
- this.$$set({ fromdate: e }), I();
1306
- }
1307
- get todate() {
1308
- return this.$$.ctx[27];
1309
- }
1310
- set todate(e) {
1311
- this.$$set({ todate: e }), I();
1312
- }
1313
- get isshorttransactionhistory() {
1314
- return this.$$.ctx[3];
1315
- }
1316
- set isshorttransactionhistory(e) {
1317
- this.$$set({ isshorttransactionhistory: e }), I();
1318
- }
1319
- get dateformat() {
1320
- return this.$$.ctx[4];
1321
- }
1322
- set dateformat(e) {
1323
- this.$$set({ dateformat: e }), I();
1324
- }
1325
- get datetimeformat() {
1326
- return this.$$.ctx[5];
1327
- }
1328
- set datetimeformat(e) {
1329
- this.$$set({ datetimeformat: e }), I();
1330
- }
1331
- get userroles() {
1332
- return this.$$.ctx[28];
1333
- }
1334
- set userroles(e) {
1335
- this.$$set({ userroles: e }), I();
1336
- }
1337
- }
1338
- gt(Pt, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {}, mbsource: {}, columns: {}, page: {}, calculateprofit: {}, fromdate: {}, todate: {}, isshorttransactionhistory: {}, dateformat: {}, datetimeformat: {}, userroles: {} }, [], [], !0);
1339
- export {
1340
- Pt as default
1341
- };