@everymatrix/cashier-page 1.98.2 → 1.98.28

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 (209) hide show
  1. package/components/{CashierCarousel-f_qsXekV.cjs → CashierCarousel-BSgX_-9d.cjs} +1 -1
  2. package/components/{CashierCarousel-Czejzxty.js → CashierCarousel-BSxRIpNj.js} +2 -2
  3. package/components/CashierCarousel-BnsrLQLz.cjs +1 -0
  4. package/components/{CashierCarousel-Bf6gJqkU.js → CashierCarousel-BsryNC67.js} +2 -2
  5. package/components/CashierCarousel-CIrhQ1F1.js +711 -0
  6. package/components/CashierCarousel-CLl1dEO0.js +711 -0
  7. package/components/CashierCarousel-CibDHVzx.js +708 -0
  8. package/components/CashierCarousel-D0dDvgaj.js +708 -0
  9. package/components/CashierCarousel-DVLQpSbh.js +711 -0
  10. package/components/CashierCarousel-Dh5Q3q4o.cjs +1 -0
  11. package/components/CashierCarousel-DucLdPiP.cjs +1 -0
  12. package/components/CashierCarousel-jiScaw1m.js +708 -0
  13. package/components/CashierError-B19WWS6q.js +849 -0
  14. package/components/{CashierError-hcK0afiS.js → CashierError-BgzGU74G.js} +2 -2
  15. package/components/CashierError-C9QJqSOU.cjs +1 -0
  16. package/components/CashierError-CJMwmI7N.js +849 -0
  17. package/components/CashierError-CL9tcScj.js +849 -0
  18. package/components/CashierError-CpI-ZvDt.js +849 -0
  19. package/components/CashierError-DY-spTTl.js +849 -0
  20. package/components/CashierError-DhQtatzN.cjs +1 -0
  21. package/components/CashierError-f4ZqXuJH.js +849 -0
  22. package/components/CashierError-mFSpkELc.cjs +1 -0
  23. package/components/{CashierError-C8kkOFyU.cjs → CashierError-nb2MHtLH.cjs} +1 -1
  24. package/components/{CashierError-DfwqJ2fH.js → CashierError-ulLnVgQF.js} +2 -2
  25. package/components/{CashierHeader-DTq0Ii_z.cjs → CashierHeader-9Jv4Zu9U.cjs} +1 -1
  26. package/components/CashierHeader-CmmEk0QP.cjs +1 -0
  27. package/components/{CashierHeader-Bzr7QbWI.js → CashierHeader-CnMNnCMA.js} +1 -1
  28. package/components/{CashierHeader-urhajSOg.js → CashierHeader-CyXIVUoS.js} +1 -1
  29. package/components/CashierHeader-DA_ReO25.cjs +1 -0
  30. package/components/CashierHeader-DEksQqYQ.js +477 -0
  31. package/components/CashierHeader-DwvRD5WU.js +477 -0
  32. package/components/CashierHeader-J44Qka8M.js +477 -0
  33. package/components/CashierHeader-SrIA_1me.cjs +1 -0
  34. package/components/CashierHeader-TK2-BiHl.js +477 -0
  35. package/components/CashierHeader-jQ2-E617.js +477 -0
  36. package/components/CashierHeader-vy8HyWPz.js +477 -0
  37. package/components/{CashierIframeRedirect-DQTLp1ii.cjs → CashierIframeRedirect-5s9ZtG-5.cjs} +1 -1
  38. package/components/{CashierIframeRedirect-BjvcMIUe.js → CashierIframeRedirect-BUy5m6fN.js} +3 -3
  39. package/components/{CashierIframeRedirect-CakDu2kh.js → CashierIframeRedirect-BseB9TAg.js} +3 -3
  40. package/components/CashierIframeRedirect-C2UcYLWG.cjs +1 -0
  41. package/components/CashierIframeRedirect-CB1_eaMN.cjs +1 -0
  42. package/components/CashierIframeRedirect-CTHqad7Z.js +387 -0
  43. package/components/CashierIframeRedirect-CyY79191.js +387 -0
  44. package/components/CashierIframeRedirect-DOCts-eZ.js +387 -0
  45. package/components/CashierIframeRedirect-DdKFPBSa.js +387 -0
  46. package/components/CashierIframeRedirect-Dhu2OC9A.js +387 -0
  47. package/components/CashierIframeRedirect-N8QJeLeb.cjs +1 -0
  48. package/components/CashierIframeRedirect-lM7pHpa9.js +387 -0
  49. package/components/CashierMethodDetails-B-klrcoA.js +11831 -0
  50. package/components/{CashierMethodDetails-CpXwGPIN.js → CashierMethodDetails-BHGrCcE3.js} +3513 -3309
  51. package/components/CashierMethodDetails-BWknB3e7.js +11385 -0
  52. package/components/CashierMethodDetails-C38oxecJ.js +11821 -0
  53. package/components/CashierMethodDetails-CEt1JRHd.js +11758 -0
  54. package/components/{CashierMethodDetails-G-V4Ng68.js → CashierMethodDetails-CR-B6W_o.js} +3438 -3195
  55. package/components/CashierMethodDetails-CoVztEid.cjs +238 -0
  56. package/components/CashierMethodDetails-D0FWPJ2H.js +11336 -0
  57. package/components/CashierMethodDetails-DT4GvTpz.cjs +238 -0
  58. package/components/CashierMethodDetails-DVnlD9Uk.cjs +85 -0
  59. package/components/CashierMethodDetails-DmHKHr2M.cjs +238 -0
  60. package/components/CashierMethodDetails-jCkj4SrI.js +11821 -0
  61. package/components/{CashierMethodsList-__ubl0wC.js → CashierMethodsList-7ACO_YE6.js} +2 -2
  62. package/components/{CashierMethodsList-CrjZk6Lu.cjs → CashierMethodsList-BvOniQPF.cjs} +1 -1
  63. package/components/{CashierMethodsList-BSBs8VQe.js → CashierMethodsList-BxvD9zAR.js} +2 -2
  64. package/components/CashierMethodsList-BzQxrxu_.cjs +1 -0
  65. package/components/CashierMethodsList-CMaD5FXj.js +955 -0
  66. package/components/CashierMethodsList-C_ldRYq_.js +969 -0
  67. package/components/CashierMethodsList-Cr1BX878.js +969 -0
  68. package/components/CashierMethodsList-Cy2Vsr78.js +955 -0
  69. package/components/CashierMethodsList-DR3WLcjt.cjs +1 -0
  70. package/components/CashierMethodsList-DYRS6KJx.cjs +1 -0
  71. package/components/CashierMethodsList-KXr3hScy.js +955 -0
  72. package/components/CashierMethodsList-u11i0SYf.js +969 -0
  73. package/components/{CashierModal-CUfcwGFc.js → CashierModal-4iF9ylQT.js} +2 -2
  74. package/components/{CashierModal-S0I_OTAX.js → CashierModal-B-UWvltM.js} +2 -2
  75. package/components/{CashierModal-DOLOU87I.cjs → CashierModal-BdpiH2_j.cjs} +1 -1
  76. package/components/CashierModal-BitlQX-o.cjs +1 -0
  77. package/components/CashierModal-C0Xof_AE.js +402 -0
  78. package/components/CashierModal-CcawnfUI.cjs +1 -0
  79. package/components/CashierModal-CevNAvJE.js +386 -0
  80. package/components/CashierModal-DJ3Q9obn.js +402 -0
  81. package/components/CashierModal-Dsi_oVHh.js +402 -0
  82. package/components/CashierModal-DwEKUjMK.cjs +1 -0
  83. package/components/CashierModal-Ke9TZX5s.js +386 -0
  84. package/components/CashierModal-aBGB4ejQ.js +386 -0
  85. package/components/{CashierNotifications-IFGcr_LG.js → CashierNotifications-BVJkJQAP.js} +1 -1
  86. package/components/{CashierNotifications-C1H4Vh5J.cjs → CashierNotifications-B_kxAZOz.cjs} +1 -1
  87. package/components/{CashierNotifications-CtV0hRJX.js → CashierNotifications-BanZGIkE.js} +1 -1
  88. package/components/CashierNotifications-C2ND2S-i.cjs +1 -0
  89. package/components/CashierNotifications-CY2B13Wf.js +129 -0
  90. package/components/CashierNotifications-CyCI6ksG.js +129 -0
  91. package/components/CashierNotifications-DOZcnn7M.js +129 -0
  92. package/components/CashierNotifications-DnmlBB_Q.cjs +1 -0
  93. package/components/CashierNotifications-DquKOU8w.js +129 -0
  94. package/components/CashierNotifications-Du8trHf6.js +129 -0
  95. package/components/CashierNotifications-WS_5AwbR.js +129 -0
  96. package/components/CashierNotifications-wQG099OX.cjs +1 -0
  97. package/components/CashierPage-895aolw0.js +10288 -0
  98. package/components/{CashierPage-CsWPGoer.js → CashierPage-BKglURO0.js} +1839 -1819
  99. package/components/CashierPage-BU42FSzD.js +10307 -0
  100. package/components/CashierPage-BkADSeGN.cjs +23 -0
  101. package/components/CashierPage-Bmy89dKm.cjs +23 -0
  102. package/components/CashierPage-Bz6JgmrH.js +10235 -0
  103. package/components/CashierPage-Cdtyq0lf.js +10307 -0
  104. package/components/{CashierPage-BdSO4Kkp.cjs → CashierPage-DEYpTaJv.cjs} +6 -6
  105. package/components/CashierPage-DYXRnLVw.js +10254 -0
  106. package/components/{CashierPage-Cz4FxfTh.js → CashierPage-DmYelgiN.js} +1321 -1301
  107. package/components/CashierPage-TRzKwGkj.cjs +23 -0
  108. package/components/CashierPage-mGP6lkFv.js +10254 -0
  109. package/components/{CashierReceiptPage-BmtjEhfQ.cjs → CashierReceiptPage-2-P4gA2W.cjs} +1 -1
  110. package/components/{CashierReceiptPage-CsZ2X8h0.js → CashierReceiptPage-B3cqHXqT.js} +2 -2
  111. package/components/CashierReceiptPage-BCh5OfiT.cjs +29 -0
  112. package/components/{CashierReceiptPage-CUDd62pl.js → CashierReceiptPage-BjTVzjuc.js} +2 -2
  113. package/components/CashierReceiptPage-BoZ2EpUX.cjs +29 -0
  114. package/components/CashierReceiptPage-CEQajL7m.js +2043 -0
  115. package/components/CashierReceiptPage-CGcmTBRp.js +2063 -0
  116. package/components/CashierReceiptPage-D5PB-1VI.js +2063 -0
  117. package/components/CashierReceiptPage-DNsdCwQQ.js +2043 -0
  118. package/components/CashierReceiptPage-DWyirru6.js +2063 -0
  119. package/components/CashierReceiptPage-DkwFQrzl.cjs +29 -0
  120. package/components/CashierReceiptPage-mvS7a_9t.js +2043 -0
  121. package/components/{CashierSessionExpirationModal-CHSYKSo3.cjs → CashierSessionExpirationModal-15tJe60J.cjs} +1 -1
  122. package/components/CashierSessionExpirationModal-B0TYP3cY.cjs +2 -0
  123. package/components/{CashierSessionExpirationModal-ATq1dRDU.js → CashierSessionExpirationModal-BZyLc1_S.js} +2 -2
  124. package/components/{CashierSessionExpirationModal-BRxPI0Ti.js → CashierSessionExpirationModal-BrfbbbF-.js} +2 -2
  125. package/components/CashierSessionExpirationModal-BrhADqF1.js +1212 -0
  126. package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +2 -0
  127. package/components/CashierSessionExpirationModal-CY385n9R.js +1212 -0
  128. package/components/CashierSessionExpirationModal-Cb456WpL.cjs +2 -0
  129. package/components/CashierSessionExpirationModal-CePJRUlu.js +1212 -0
  130. package/components/CashierSessionExpirationModal-DXVLX-Ja.js +1212 -0
  131. package/components/CashierSessionExpirationModal-IfrOHdOp.js +1212 -0
  132. package/components/CashierSessionExpirationModal-i5NfYzNE.js +1212 -0
  133. package/components/{CashierSpinner-C19gXhq9.cjs → CashierSpinner-BF0PvrCl.cjs} +1 -1
  134. package/components/{CashierSpinner-jFUh6F7b.js → CashierSpinner-BQv2AMHG.js} +2 -2
  135. package/components/{CashierSpinner-BqCb-59t.js → CashierSpinner-Bpe0d0oQ.js} +2 -2
  136. package/components/CashierSpinner-BvhJgDvg.js +79 -0
  137. package/components/CashierSpinner-C9Ra-0IT.js +79 -0
  138. package/components/CashierSpinner-CB2IDF99.js +79 -0
  139. package/components/CashierSpinner-CFUNSysS.js +79 -0
  140. package/components/CashierSpinner-CKdmXXKt.cjs +1 -0
  141. package/components/CashierSpinner-D6D1AmR0.cjs +1 -0
  142. package/components/CashierSpinner-DrZub22H.js +79 -0
  143. package/components/CashierSpinner-bOYmQpsr.js +79 -0
  144. package/components/CashierSpinner-mcvtpHVb.cjs +1 -0
  145. package/components/{CashierStepUp-C5DouUMp.cjs → CashierStepUp-4fnHnyQH.cjs} +1 -1
  146. package/components/{CashierStepUp-zIiSmEbQ.js → CashierStepUp-B3Ph1OSf.js} +2 -2
  147. package/components/{CashierStepUp-CxSz41Vf.js → CashierStepUp-CKae09kD.js} +2 -2
  148. package/components/CashierStepUp-CNHvoNU1.js +1161 -0
  149. package/components/CashierStepUp-CVfdA9uX.js +1201 -0
  150. package/components/CashierStepUp-ChUBdlnk.cjs +1 -0
  151. package/components/CashierStepUp-Cj8xEgHC.js +1264 -0
  152. package/components/CashierStepUp-Ck0xq8Xm.js +1201 -0
  153. package/components/CashierStepUp-DH4pCg7V.cjs +1 -0
  154. package/components/CashierStepUp-DIQ9DrxX.cjs +1 -0
  155. package/components/CashierStepUp-DfYWcQde.js +1161 -0
  156. package/components/CashierStepUp-iS4DfmUJ.js +1304 -0
  157. package/components/{CashierTransactionHistory-Bf4_gQXC.js → CashierTransactionHistory-B6FzMX9a.js} +4 -4
  158. package/components/{CashierTransactionHistory-2foxp-kj.js → CashierTransactionHistory-B9a9qQjo.js} +4 -4
  159. package/components/{CashierTransactionHistory-DtzHolEj.cjs → CashierTransactionHistory-BSRmZpn2.cjs} +1 -1
  160. package/components/CashierTransactionHistory-Bkqw8dMT.cjs +1 -0
  161. package/components/CashierTransactionHistory-C8SSHcED.js +1415 -0
  162. package/components/CashierTransactionHistory-C9q1W_66.js +1415 -0
  163. package/components/CashierTransactionHistory-CoTFYN7l.js +1415 -0
  164. package/components/CashierTransactionHistory-D5wsFJEM.js +1415 -0
  165. package/components/CashierTransactionHistory-DkPMVofl.js +1415 -0
  166. package/components/CashierTransactionHistory-DrZj3C3r.cjs +1 -0
  167. package/components/CashierTransactionHistory-_uQpfmaM.js +1415 -0
  168. package/components/CashierTransactionHistory-veYBG-Kr.cjs +1 -0
  169. package/components/{CashierVerifications-C-BDFVdf.js → CashierVerifications-BEFmSXtj.js} +3 -3
  170. package/components/{CashierVerifications-BW_Fdmjo.js → CashierVerifications-BI_yu8fO.js} +3 -3
  171. package/components/{CashierVerifications-Cvtcf_QP.cjs → CashierVerifications-BUuzc2KV.cjs} +1 -1
  172. package/components/CashierVerifications-BZPBsrmc.cjs +1 -0
  173. package/components/CashierVerifications-Bu-KbeZF.cjs +1 -0
  174. package/components/CashierVerifications-Bu0ALHD1.js +722 -0
  175. package/components/CashierVerifications-C3vBxGTw.js +726 -0
  176. package/components/CashierVerifications-CA42knBf.js +722 -0
  177. package/components/CashierVerifications-CBtYGTLV.js +726 -0
  178. package/components/CashierVerifications-CJjMkvTK.js +722 -0
  179. package/components/CashierVerifications-D692oxDO.js +726 -0
  180. package/components/CashierVerifications-nyuz_0L4.cjs +1 -0
  181. package/components/{TxnStatusIcon-CsOuFLUK.js → TxnStatusIcon-8ewM4ccO.js} +1 -1
  182. package/components/TxnStatusIcon-B6x0tb9z.js +142 -0
  183. package/components/{TxnStatusIcon-CQ0B6L44.js → TxnStatusIcon-B99-DjyY.js} +1 -1
  184. package/components/TxnStatusIcon-BO-jJSDC.js +142 -0
  185. package/components/TxnStatusIcon-Bw8L-eXX.js +142 -0
  186. package/components/{TxnStatusIcon-D1f0ODI-.cjs → TxnStatusIcon-CgTqMiw9.cjs} +1 -1
  187. package/components/TxnStatusIcon-CspMEKjU.cjs +1 -0
  188. package/components/TxnStatusIcon-DKI_hVK8.cjs +1 -0
  189. package/components/TxnStatusIcon-ObLzHWKw.cjs +1 -0
  190. package/components/TxnStatusIcon-T3_oGTiJ.js +142 -0
  191. package/components/TxnStatusIcon-_ohfqibs.js +142 -0
  192. package/components/TxnStatusIcon-xhjNtEZS.js +142 -0
  193. package/components/{TxnTypeIcons-DnGbYWhl.cjs → TxnTypeIcons-2TqkD6dM.cjs} +1 -1
  194. package/components/{TxnTypeIcons-Cs_PtzhK.js → TxnTypeIcons-5Ao_1BRX.js} +1 -1
  195. package/components/{TxnTypeIcons-FO4JNHVy.js → TxnTypeIcons-BL543vM-.js} +1 -1
  196. package/components/TxnTypeIcons-BxLbK2qP.cjs +1 -0
  197. package/components/TxnTypeIcons-CM9KOumw.js +101 -0
  198. package/components/TxnTypeIcons-Cv_QN0g3.js +101 -0
  199. package/components/TxnTypeIcons-DFX30GCY.js +101 -0
  200. package/components/TxnTypeIcons-DhQNGQt2.js +101 -0
  201. package/components/TxnTypeIcons-Dv_tv357.js +101 -0
  202. package/components/TxnTypeIcons-SOn0rg4y.cjs +1 -0
  203. package/components/TxnTypeIcons-gD4j8VCB.js +101 -0
  204. package/components/TxnTypeIcons-mX1zqVBL.cjs +1 -0
  205. package/es2015/cashier-page.cjs +1 -1
  206. package/es2015/cashier-page.js +1 -1
  207. package/esnext/cashier-page.js +1 -1
  208. package/package.json +1 -1
  209. package/components/CashierMethodDetails-Dsu9mU8Z.cjs +0 -238
@@ -0,0 +1,1212 @@
1
+ import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, c as kn, e as Me, t as Ae, g as we, a7 as un, a8 as fn, k as Re, m as R, p as Ut, M as Bt, N as On, q as Dn, a9 as Nn, d as $e, F as In, aa as zt, ab as Ht, H as Ft, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Pn, z as Ze, Q as se, n as be, w as Ye, R as Gt, x as Wt, r as Un, y as Yt, J as jt, A as Bn, B as zn } from "./CashierPage-895aolw0.js";
2
+ import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-DEksQqYQ.js";
3
+ function Vt(n, t) {
4
+ An(n, t);
5
+ }
6
+ function Wn(n) {
7
+ Cn({
8
+ fallbackLocale: "en"
9
+ }), vn.set(n);
10
+ }
11
+ const Xt = {
12
+ en: {
13
+ sessionExpirationHeader: "Session Warning",
14
+ sessionExpirationTitle: "Your session is about to expire!",
15
+ sessionExpirationGeneralText: "Your session will automatically terminate in <b>{second} seconds</b>.",
16
+ sessionExpirationGeneralButton: "Continue session",
17
+ sessionExpirationLoadingButton: "Processing...",
18
+ sessionExpirationEnd: "End session"
19
+ },
20
+ tr: {
21
+ sessionExpirationHeader: "Oturum Uyarısı",
22
+ sessionExpirationTitle: "Oturumunuzun süresi dolmak üzere!",
23
+ sessionExpirationGeneralText: "Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",
24
+ sessionExpirationGeneralButton: "DEVAM ET",
25
+ sessionExpirationLoadingButton: "İŞLEME...",
26
+ sessionExpirationEnd: "Oturumu sonlandır"
27
+ },
28
+ fr: {
29
+ sessionExpirationHeader: "Avertissement de session",
30
+ sessionExpirationTitle: "Votre session est sur le point d'expirer !",
31
+ sessionExpirationGeneralText: "Votre session se terminera automatiquement dans <b>{second} secondes</b>.",
32
+ sessionExpirationGeneralButton: "Continuer la session",
33
+ sessionExpirationLoadingButton: "Traitement en cours...",
34
+ sessionExpirationEnd: "Terminer la session"
35
+ },
36
+ da: {
37
+ sessionExpirationHeader: "Sessionsadvarsel",
38
+ sessionExpirationTitle: "Din session er ved at udløbe!",
39
+ sessionExpirationGeneralText: "Din session afsluttes automatisk om <b>{second} sekunder</b>.",
40
+ sessionExpirationGeneralButton: "Fortsæt session",
41
+ sessionExpirationLoadingButton: "Behandler...",
42
+ sessionExpirationEnd: "Afslut session"
43
+ },
44
+ de: {
45
+ sessionExpirationHeader: "Sitzungswarnung",
46
+ sessionExpirationTitle: "Ihre Sitzung läuft bald ab!",
47
+ sessionExpirationGeneralText: "Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",
48
+ sessionExpirationGeneralButton: "Sitzung fortsetzen",
49
+ sessionExpirationLoadingButton: "Verarbeitung...",
50
+ sessionExpirationEnd: "Sitzung beenden"
51
+ },
52
+ nl: {
53
+ sessionExpirationHeader: "Sessiewaarschuwing",
54
+ sessionExpirationTitle: "Uw sessie staat op het punt te verlopen!",
55
+ sessionExpirationGeneralText: "Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",
56
+ sessionExpirationGeneralButton: "Sessie voortzetten",
57
+ sessionExpirationLoadingButton: "Verwerken...",
58
+ sessionExpirationEnd: "Sessie beëindigen"
59
+ }
60
+ };
61
+ /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
62
+ const {
63
+ entries: mn,
64
+ setPrototypeOf: qt,
65
+ isFrozen: Yn,
66
+ getPrototypeOf: jn,
67
+ getOwnPropertyDescriptor: Vn
68
+ } = Object;
69
+ let {
70
+ freeze: z,
71
+ seal: te,
72
+ create: pn
73
+ } = Object, {
74
+ apply: dt,
75
+ construct: ht
76
+ } = typeof Reflect != "undefined" && Reflect;
77
+ z || (z = function(t) {
78
+ return t;
79
+ });
80
+ te || (te = function(t) {
81
+ return t;
82
+ });
83
+ dt || (dt = function(t, i, o) {
84
+ return t.apply(i, o);
85
+ });
86
+ ht || (ht = function(t, i) {
87
+ return new t(...i);
88
+ });
89
+ const Ke = Z(Array.prototype.forEach), Jt = Z(Array.prototype.pop), Be = Z(Array.prototype.push), it = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Zt = Z(String.prototype.match), ze = Z(String.prototype.replace), Xn = Z(String.prototype.indexOf), qn = Z(String.prototype.trim), re = Z(Object.prototype.hasOwnProperty), B = Z(RegExp.prototype.test), He = Jn(TypeError);
90
+ function Z(n) {
91
+ return function(t) {
92
+ for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
93
+ o[r - 1] = arguments[r];
94
+ return dt(n, t, o);
95
+ };
96
+ }
97
+ function Jn(n) {
98
+ return function() {
99
+ for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
100
+ i[o] = arguments[o];
101
+ return ht(n, i);
102
+ };
103
+ }
104
+ function d(n, t) {
105
+ let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : it;
106
+ qt && qt(n, null);
107
+ let o = t.length;
108
+ for (; o--; ) {
109
+ let r = t[o];
110
+ if (typeof r == "string") {
111
+ const f = i(r);
112
+ f !== r && (Yn(t) || (t[o] = f), r = f);
113
+ }
114
+ n[r] = !0;
115
+ }
116
+ return n;
117
+ }
118
+ function Zn(n) {
119
+ for (let t = 0; t < n.length; t++)
120
+ re(n, t) || (n[t] = null);
121
+ return n;
122
+ }
123
+ function Le(n) {
124
+ const t = pn(null);
125
+ for (const [i, o] of mn(n))
126
+ re(n, i) && (Array.isArray(o) ? t[i] = Zn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
127
+ return t;
128
+ }
129
+ function Fe(n, t) {
130
+ for (; n !== null; ) {
131
+ const o = Vn(n, t);
132
+ if (o) {
133
+ if (o.get)
134
+ return Z(o.get);
135
+ if (typeof o.value == "function")
136
+ return Z(o.value);
137
+ }
138
+ n = jn(n);
139
+ }
140
+ function i() {
141
+ return null;
142
+ }
143
+ return i;
144
+ }
145
+ const Kt = z(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ut = z(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ft = z(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Kn = z(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), mt = z(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Qn = z(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = z(["#text"]), $t = z(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), pt = z(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), en = z(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Qe = z(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), $n = te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ei = te(/<%[\w\W]*|[\w\W]*%>/gm), ti = te(/\${[\w\W]*}/gm), ni = te(/^data-[\-\w.\u00B7-\uFFFF]/), ii = te(/^aria-[\-\w]+$/), dn = te(
146
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
147
+ // eslint-disable-line no-useless-escape
148
+ ), oi = te(/^(?:\w+script|data):/i), si = te(
149
+ /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
150
+ // eslint-disable-line no-control-regex
151
+ ), hn = te(/^html$/i), ri = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
152
+ var tn = /* @__PURE__ */ Object.freeze({
153
+ __proto__: null,
154
+ MUSTACHE_EXPR: $n,
155
+ ERB_EXPR: ei,
156
+ TMPLIT_EXPR: ti,
157
+ DATA_ATTR: ni,
158
+ ARIA_ATTR: ii,
159
+ IS_ALLOWED_URI: dn,
160
+ IS_SCRIPT_OR_DATA: oi,
161
+ ATTR_WHITESPACE: si,
162
+ DOCTYPE_NAME: hn,
163
+ CUSTOM_ELEMENT: ri
164
+ });
165
+ const Ge = {
166
+ element: 1,
167
+ text: 3,
168
+ // Deprecated
169
+ progressingInstruction: 7,
170
+ comment: 8,
171
+ document: 9
172
+ }, ai = function() {
173
+ return typeof window == "undefined" ? null : window;
174
+ }, li = function(t, i) {
175
+ if (typeof t != "object" || typeof t.createPolicy != "function")
176
+ return null;
177
+ let o = null;
178
+ const r = "data-tt-policy-suffix";
179
+ i && i.hasAttribute(r) && (o = i.getAttribute(r));
180
+ const f = "dompurify" + (o ? "#" + o : "");
181
+ try {
182
+ return t.createPolicy(f, {
183
+ createHTML(_) {
184
+ return _;
185
+ },
186
+ createScriptURL(_) {
187
+ return _;
188
+ }
189
+ });
190
+ } catch (_) {
191
+ return console.warn("TrustedTypes policy " + f + " could not be created."), null;
192
+ }
193
+ };
194
+ function gn() {
195
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ai();
196
+ const t = (c) => gn(c);
197
+ if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
198
+ return t.isSupported = !1, t;
199
+ let {
200
+ document: i
201
+ } = n;
202
+ const o = i, r = o.currentScript, {
203
+ DocumentFragment: f,
204
+ HTMLTemplateElement: _,
205
+ Node: S,
206
+ Element: b,
207
+ NodeFilter: E,
208
+ NamedNodeMap: V = n.NamedNodeMap || n.MozNamedAttrMap,
209
+ HTMLFormElement: ne,
210
+ DOMParser: Ce,
211
+ trustedTypes: H
212
+ } = n, F = b.prototype, ye = Fe(F, "cloneNode"), ae = Fe(F, "remove"), G = Fe(F, "nextSibling"), de = Fe(F, "childNodes"), K = Fe(F, "parentNode");
213
+ if (typeof _ == "function") {
214
+ const c = i.createElement("template");
215
+ c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
216
+ }
217
+ let g, x = "";
218
+ const {
219
+ implementation: ie,
220
+ createNodeIterator: le,
221
+ createDocumentFragment: he,
222
+ getElementsByTagName: W
223
+ } = i, {
224
+ importNode: oe
225
+ } = o;
226
+ let v = {};
227
+ t.isSupported = typeof mn == "function" && typeof K == "function" && ie && ie.createHTMLDocument !== void 0;
228
+ const {
229
+ MUSTACHE_EXPR: ce,
230
+ ERB_EXPR: X,
231
+ TMPLIT_EXPR: ge,
232
+ DATA_ATTR: Q,
233
+ ARIA_ATTR: D,
234
+ IS_SCRIPT_OR_DATA: I,
235
+ ATTR_WHITESPACE: $,
236
+ CUSTOM_ELEMENT: ve
237
+ } = tn;
238
+ let {
239
+ IS_ALLOWED_URI: q
240
+ } = tn, m = null;
241
+ const Se = d({}, [...Kt, ...ut, ...ft, ...mt, ...Qt]);
242
+ let A = null;
243
+ const xe = d({}, [...$t, ...pt, ...en, ...Qe]);
244
+ let T = Object.seal(pn(null, {
245
+ tagNameCheck: {
246
+ writable: !0,
247
+ configurable: !1,
248
+ enumerable: !0,
249
+ value: null
250
+ },
251
+ attributeNameCheck: {
252
+ writable: !0,
253
+ configurable: !1,
254
+ enumerable: !0,
255
+ value: null
256
+ },
257
+ allowCustomizedBuiltInElements: {
258
+ writable: !0,
259
+ configurable: !1,
260
+ enumerable: !0,
261
+ value: !1
262
+ }
263
+ })), L = null, a = null, h = !0, P = !0, M = !1, Y = !0, _e = !1, ee = !0, ue = !1, y = !1, C = !1, fe = !1, je = !1, Ve = !1, gt = !0, _t = !1;
264
+ const _n = "user-content-";
265
+ let ot = !0, Ie = !1, ke = {}, Oe = null;
266
+ const Et = d({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
267
+ let Tt = null;
268
+ const bt = d({}, ["audio", "video", "img", "source", "image", "track"]);
269
+ let st = null;
270
+ const wt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Xe = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
271
+ let De = Ee, rt = !1, at = null;
272
+ const En = d({}, [Xe, qe, Ee], ct);
273
+ let Pe = null;
274
+ const Tn = ["application/xhtml+xml", "text/html"], bn = "text/html";
275
+ let k = null, Ne = null;
276
+ const wn = i.createElement("form"), yt = function(e) {
277
+ return e instanceof RegExp || e instanceof Function;
278
+ }, lt = function() {
279
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
280
+ if (!(Ne && Ne === e)) {
281
+ if ((!e || typeof e != "object") && (e = {}), e = Le(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
282
+ Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, k = Pe === "application/xhtml+xml" ? ct : it, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : Se, A = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : xe, at = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : En, st = re(e, "ADD_URI_SAFE_ATTR") ? d(
283
+ Le(wt),
284
+ // eslint-disable-line indent
285
+ e.ADD_URI_SAFE_ATTR,
286
+ // eslint-disable-line indent
287
+ k
288
+ // eslint-disable-line indent
289
+ ) : wt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
290
+ Le(bt),
291
+ // eslint-disable-line indent
292
+ e.ADD_DATA_URI_TAGS,
293
+ // eslint-disable-line indent
294
+ k
295
+ // eslint-disable-line indent
296
+ ) : bt, Oe = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Et, L = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, P = e.ALLOW_DATA_ATTR !== !1, M = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Ve = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, ot = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || dn, De = e.NAMESPACE || Ee, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (P = !1), je && (fe = !0), ke && (m = d({}, Qt), A = [], ke.html === !0 && (d(m, Kt), d(A, $t)), ke.svg === !0 && (d(m, ut), d(A, pt), d(A, Qe)), ke.svgFilters === !0 && (d(m, ft), d(A, pt), d(A, Qe)), ke.mathMl === !0 && (d(m, mt), d(A, en), d(A, Qe))), e.ADD_TAGS && (m === Se && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (A === xe && (A = Le(A)), d(A, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Et && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, k)), ot && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
297
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
298
+ throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
299
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
300
+ throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
301
+ g = e.TRUSTED_TYPES_POLICY, x = g.createHTML("");
302
+ } else
303
+ g === void 0 && (g = li(H, r)), g !== null && typeof x == "string" && (x = g.createHTML(""));
304
+ z && z(e), Ne = e;
305
+ }
306
+ }, St = d({}, ["mi", "mo", "mn", "ms", "mtext"]), xt = d({}, ["foreignobject", "annotation-xml"]), yn = d({}, ["title", "style", "font", "a", "script"]), At = d({}, [...ut, ...ft, ...Kn]), Ct = d({}, [...mt, ...Qn]), Sn = function(e) {
307
+ let s = K(e);
308
+ (!s || !s.tagName) && (s = {
309
+ namespaceURI: De,
310
+ tagName: "template"
311
+ });
312
+ const l = it(e.tagName), w = it(s.tagName);
313
+ return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === Ee ? l === "svg" : s.namespaceURI === Xe ? l === "svg" && (w === "annotation-xml" || St[w]) : !!At[l] : e.namespaceURI === Xe ? s.namespaceURI === Ee ? l === "math" : s.namespaceURI === qe ? l === "math" && xt[w] : !!Ct[l] : e.namespaceURI === Ee ? s.namespaceURI === qe && !xt[w] || s.namespaceURI === Xe && !St[w] ? !1 : !Ct[l] && (yn[l] || !At[l]) : !!(Pe === "application/xhtml+xml" && at[e.namespaceURI]) : !1;
314
+ }, me = function(e) {
315
+ Be(t.removed, {
316
+ element: e
317
+ });
318
+ try {
319
+ K(e).removeChild(e);
320
+ } catch (s) {
321
+ ae(e);
322
+ }
323
+ }, Je = function(e, s) {
324
+ try {
325
+ Be(t.removed, {
326
+ attribute: s.getAttributeNode(e),
327
+ from: s
328
+ });
329
+ } catch (l) {
330
+ Be(t.removed, {
331
+ attribute: null,
332
+ from: s
333
+ });
334
+ }
335
+ if (s.removeAttribute(e), e === "is" && !A[e])
336
+ if (fe || je)
337
+ try {
338
+ me(s);
339
+ } catch (l) {
340
+ }
341
+ else
342
+ try {
343
+ s.setAttribute(e, "");
344
+ } catch (l) {
345
+ }
346
+ }, vt = function(e) {
347
+ let s = null, l = null;
348
+ if (C)
349
+ e = "<remove></remove>" + e;
350
+ else {
351
+ const O = Zt(e, /^[\r\n\t ]+/);
352
+ l = O && O[0];
353
+ }
354
+ Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
355
+ const w = g ? g.createHTML(e) : e;
356
+ if (De === Ee)
357
+ try {
358
+ s = new Ce().parseFromString(w, Pe);
359
+ } catch (O) {
360
+ }
361
+ if (!s || !s.documentElement) {
362
+ s = ie.createDocument(De, "template", null);
363
+ try {
364
+ s.documentElement.innerHTML = rt ? x : w;
365
+ } catch (O) {
366
+ }
367
+ }
368
+ const N = s.body || s.documentElement;
369
+ return e && l && N.insertBefore(i.createTextNode(l), N.childNodes[0] || null), De === Ee ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : N;
370
+ }, Lt = function(e) {
371
+ return le.call(
372
+ e.ownerDocument || e,
373
+ e,
374
+ // eslint-disable-next-line no-bitwise
375
+ E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT | E.SHOW_PROCESSING_INSTRUCTION | E.SHOW_CDATA_SECTION,
376
+ null
377
+ );
378
+ }, Mt = function(e) {
379
+ return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof V) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
380
+ }, Rt = function(e) {
381
+ return typeof S == "function" && e instanceof S;
382
+ }, Te = function(e, s, l) {
383
+ v[e] && Ke(v[e], (w) => {
384
+ w.call(t, s, l, Ne);
385
+ });
386
+ }, kt = function(e) {
387
+ let s = null;
388
+ if (Te("beforeSanitizeElements", e, null), Mt(e))
389
+ return me(e), !0;
390
+ const l = k(e.nodeName);
391
+ if (Te("uponSanitizeElement", e, {
392
+ tagName: l,
393
+ allowedTags: m
394
+ }), e.hasChildNodes() && !Rt(e.firstElementChild) && B(/<[/\w]/g, e.innerHTML) && B(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ee && e.nodeType === Ge.comment && B(/<[/\w]/g, e.data))
395
+ return me(e), !0;
396
+ if (!m[l] || L[l]) {
397
+ if (!L[l] && Dt(l) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
398
+ return !1;
399
+ if (ot && !Oe[l]) {
400
+ const w = K(e) || e.parentNode, N = de(e) || e.childNodes;
401
+ if (N && w) {
402
+ const O = N.length;
403
+ for (let j = O - 1; j >= 0; --j) {
404
+ const pe = ye(N[j], !0);
405
+ pe.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(pe, G(e));
406
+ }
407
+ }
408
+ }
409
+ return me(e), !0;
410
+ }
411
+ return e instanceof b && !Sn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && B(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Ke([ce, X, ge], (w) => {
412
+ s = ze(s, w, " ");
413
+ }), e.textContent !== s && (Be(t.removed, {
414
+ element: e.cloneNode()
415
+ }), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
416
+ }, Ot = function(e, s, l) {
417
+ if (gt && (s === "id" || s === "name") && (l in i || l in wn))
418
+ return !1;
419
+ if (!(P && !a[s] && B(Q, s))) {
420
+ if (!(h && B(D, s))) {
421
+ if (!A[s] || a[s]) {
422
+ if (
423
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
424
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
425
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
426
+ !(Dt(e) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && B(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
427
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
428
+ s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
429
+ )
430
+ return !1;
431
+ } else if (!st[s]) {
432
+ if (!B(q, ze(l, $, ""))) {
433
+ if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Xn(l, "data:") === 0 && Tt[e])) {
434
+ if (!(M && !B(I, ze(l, $, "")))) {
435
+ if (l)
436
+ return !1;
437
+ }
438
+ }
439
+ }
440
+ }
441
+ }
442
+ }
443
+ return !0;
444
+ }, Dt = function(e) {
445
+ return e !== "annotation-xml" && Zt(e, ve);
446
+ }, Nt = function(e) {
447
+ Te("beforeSanitizeAttributes", e, null);
448
+ const {
449
+ attributes: s
450
+ } = e;
451
+ if (!s)
452
+ return;
453
+ const l = {
454
+ attrName: "",
455
+ attrValue: "",
456
+ keepAttr: !0,
457
+ allowedAttributes: A
458
+ };
459
+ let w = s.length;
460
+ for (; w--; ) {
461
+ const N = s[w], {
462
+ name: O,
463
+ namespaceURI: j,
464
+ value: pe
465
+ } = N, Ue = k(O);
466
+ let U = O === "value" ? pe : qn(pe);
467
+ if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), U = l.attrValue, ee && B(/((--!?|])>)|<\/(style|title)/i, U)) {
468
+ Je(O, e);
469
+ continue;
470
+ }
471
+ if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
472
+ continue;
473
+ if (!Y && B(/\/>/i, U)) {
474
+ Je(O, e);
475
+ continue;
476
+ }
477
+ _e && Ke([ce, X, ge], (Pt) => {
478
+ U = ze(U, Pt, " ");
479
+ });
480
+ const It = k(e.nodeName);
481
+ if (Ot(It, Ue, U)) {
482
+ if (_t && (Ue === "id" || Ue === "name") && (Je(O, e), U = _n + U), g && typeof H == "object" && typeof H.getAttributeType == "function" && !j)
483
+ switch (H.getAttributeType(It, Ue)) {
484
+ case "TrustedHTML": {
485
+ U = g.createHTML(U);
486
+ break;
487
+ }
488
+ case "TrustedScriptURL": {
489
+ U = g.createScriptURL(U);
490
+ break;
491
+ }
492
+ }
493
+ try {
494
+ j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) : Jt(t.removed);
495
+ } catch (Pt) {
496
+ }
497
+ }
498
+ }
499
+ Te("afterSanitizeAttributes", e, null);
500
+ }, xn = function c(e) {
501
+ let s = null;
502
+ const l = Lt(e);
503
+ for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
504
+ Te("uponSanitizeShadowNode", s, null), !kt(s) && (s.content instanceof f && c(s.content), Nt(s));
505
+ Te("afterSanitizeShadowDOM", e, null);
506
+ };
507
+ return t.sanitize = function(c) {
508
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, w = null, N = null;
509
+ if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
510
+ if (typeof c.toString == "function") {
511
+ if (c = c.toString(), typeof c != "string")
512
+ throw He("dirty is not a string, aborting");
513
+ } else
514
+ throw He("toString is not a function");
515
+ if (!t.isSupported)
516
+ return c;
517
+ if (y || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
518
+ if (c.nodeName) {
519
+ const pe = k(c.nodeName);
520
+ if (!m[pe] || L[pe])
521
+ throw He("root node is forbidden and cannot be sanitized in-place");
522
+ }
523
+ } else if (c instanceof S)
524
+ s = vt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
525
+ else {
526
+ if (!fe && !_e && !ue && // eslint-disable-next-line unicorn/prefer-includes
527
+ c.indexOf("<") === -1)
528
+ return g && Ve ? g.createHTML(c) : c;
529
+ if (s = vt(c), !s)
530
+ return fe ? null : Ve ? x : "";
531
+ }
532
+ s && C && me(s.firstChild);
533
+ const O = Lt(Ie ? c : s);
534
+ for (; w = O.nextNode(); )
535
+ kt(w) || (w.content instanceof f && xn(w.content), Nt(w));
536
+ if (Ie)
537
+ return c;
538
+ if (fe) {
539
+ if (je)
540
+ for (N = he.call(s.ownerDocument); s.firstChild; )
541
+ N.appendChild(s.firstChild);
542
+ else
543
+ N = s;
544
+ return (A.shadowroot || A.shadowrootmode) && (N = oe.call(o, N, !0)), N;
545
+ }
546
+ let j = ue ? s.outerHTML : s.innerHTML;
547
+ return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && B(hn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
548
+ ` + j), _e && Ke([ce, X, ge], (pe) => {
549
+ j = ze(j, pe, " ");
550
+ }), g && Ve ? g.createHTML(j) : j;
551
+ }, t.setConfig = function() {
552
+ let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
553
+ lt(c), y = !0;
554
+ }, t.clearConfig = function() {
555
+ Ne = null, y = !1;
556
+ }, t.isValidAttribute = function(c, e, s) {
557
+ Ne || lt({});
558
+ const l = k(c), w = k(e);
559
+ return Ot(l, w, s);
560
+ }, t.addHook = function(c, e) {
561
+ typeof e == "function" && (v[c] = v[c] || [], Be(v[c], e));
562
+ }, t.removeHook = function(c) {
563
+ if (v[c])
564
+ return Jt(v[c]);
565
+ }, t.removeHooks = function(c) {
566
+ v[c] && (v[c] = []);
567
+ }, t.removeAllHooks = function() {
568
+ v = {};
569
+ }, t;
570
+ }
571
+ var nn = gn();
572
+ function ci(n) {
573
+ kn(n, "svelte-1kjup2o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
574
+ }
575
+ const ui = (n) => ({}), on = (n) => ({}), fi = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
576
+ function ln(n) {
577
+ let t, i, o, r, f, _, S, b, E, V, ne, Ce, H = (
578
+ /*$_*/
579
+ n[8]("sessionExpirationHeader") + ""
580
+ ), F, ye, ae, G, de, K, g, x, ie, le, he, W, oe, v, ce = (
581
+ /*$_*/
582
+ n[8]("sessionExpirationEnd") + ""
583
+ ), X, ge, Q, D, I, $, ve, q, m, Se, A;
584
+ const xe = (
585
+ /*#slots*/
586
+ n[23].icon
587
+ ), T = $e(
588
+ xe,
589
+ n,
590
+ /*$$scope*/
591
+ n[22],
592
+ an
593
+ ), L = T || di(n), a = (
594
+ /*#slots*/
595
+ n[23].title
596
+ ), h = $e(
597
+ a,
598
+ n,
599
+ /*$$scope*/
600
+ n[22],
601
+ rn
602
+ ), P = (
603
+ /*#slots*/
604
+ n[23].text
605
+ ), M = $e(
606
+ P,
607
+ n,
608
+ /*$$scope*/
609
+ n[22],
610
+ sn
611
+ ), Y = M || hi(n), _e = [_i, gi], ee = [];
612
+ function ue(y, C) {
613
+ return (
614
+ /*showLoaderButton*/
615
+ y[6] ? 0 : 1
616
+ );
617
+ }
618
+ return D = ue(n), I = ee[D] = _e[D](n), {
619
+ c() {
620
+ t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), b = se("circle"), E = se("rect"), V = se("circle"), ne = se("circle"), Ce = be(), F = Ye(H), ye = be(), ae = R("div"), G = se("svg"), de = se("path"), K = be(), g = R("div"), x = R("div"), L && L.c(), ie = be(), h && h.c(), le = be(), Y && Y.c(), he = be(), W = R("div"), oe = R("button"), v = R("span"), X = Ye(ce), ge = be(), Q = R("button"), I.c(), u(b, "cx", "100"), u(b, "cy", "100"), u(b, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(V, "cx", "100"), u(V, "cy", "150"), u(V, "r", "14"), u(V, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(oe, "type", "button"), u(oe, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
621
+ (n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Ft(() => (
622
+ /*div7_elementresize_handler*/
623
+ n[25].call(t)
624
+ ));
625
+ },
626
+ m(y, C) {
627
+ Re(y, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, S), p(S, b), p(S, E), p(S, V), p(f, ne), p(r, Ce), p(r, F), p(o, ye), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, x), L && L.m(x, null), p(x, ie), h && h.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, X), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve = Pn(
628
+ t,
629
+ /*div7_elementresize_handler*/
630
+ n[25].bind(t)
631
+ ), m = !0, Se || (A = [
632
+ Ze(
633
+ G,
634
+ "click",
635
+ /*goToHome*/
636
+ n[11]
637
+ ),
638
+ Ze(
639
+ oe,
640
+ "click",
641
+ /*goToHome*/
642
+ n[11]
643
+ ),
644
+ Ze(
645
+ Q,
646
+ "click",
647
+ /*renewSession*/
648
+ n[9]
649
+ ),
650
+ Ze(
651
+ t,
652
+ "click",
653
+ /*outOfModalClick*/
654
+ n[10]
655
+ )
656
+ ], Se = !0);
657
+ },
658
+ p(y, C) {
659
+ n = y, (!m || C[0] & /*$_*/
660
+ 256) && H !== (H = /*$_*/
661
+ n[8]("sessionExpirationHeader") + "") && We(F, H), T ? T.p && (!m || C[0] & /*$$scope*/
662
+ 4194304) && et(
663
+ T,
664
+ xe,
665
+ n,
666
+ /*$$scope*/
667
+ n[22],
668
+ m ? nt(
669
+ xe,
670
+ /*$$scope*/
671
+ n[22],
672
+ C,
673
+ pi
674
+ ) : tt(
675
+ /*$$scope*/
676
+ n[22]
677
+ ),
678
+ an
679
+ ) : L && L.p && (!m || C[0] & /*assetsurl*/
680
+ 8) && L.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
681
+ 4194304) && et(
682
+ h,
683
+ a,
684
+ n,
685
+ /*$$scope*/
686
+ n[22],
687
+ m ? nt(
688
+ a,
689
+ /*$$scope*/
690
+ n[22],
691
+ C,
692
+ mi
693
+ ) : tt(
694
+ /*$$scope*/
695
+ n[22]
696
+ ),
697
+ rn
698
+ ), M ? M.p && (!m || C[0] & /*$$scope*/
699
+ 4194304) && et(
700
+ M,
701
+ P,
702
+ n,
703
+ /*$$scope*/
704
+ n[22],
705
+ m ? nt(
706
+ P,
707
+ /*$$scope*/
708
+ n[22],
709
+ C,
710
+ fi
711
+ ) : tt(
712
+ /*$$scope*/
713
+ n[22]
714
+ ),
715
+ sn
716
+ ) : Y && Y.p && (!m || C[0] & /*$_, timeLeft*/
717
+ 384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
718
+ 256) && ce !== (ce = /*$_*/
719
+ n[8]("sessionExpirationEnd") + "") && We(X, ce);
720
+ let fe = D;
721
+ D = ue(n), D === fe ? ee[D].p(n, C) : (un(), Ae(ee[fe], 1, 1, () => {
722
+ ee[fe] = null;
723
+ }), fn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = _e[D](n), I.c()), we(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
724
+ 64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
725
+ (n[6] ? "Disabled" : ""))) && u(Q, "class", $);
726
+ },
727
+ i(y) {
728
+ m || (we(L, y), we(h, y), we(Y, y), we(I), y && Ft(() => {
729
+ m && (q || (q = zt(t, Ht, { duration: (
730
+ /*duration*/
731
+ n[2]
732
+ ) }, !0)), q.run(1));
733
+ }), m = !0);
734
+ },
735
+ o(y) {
736
+ Ae(L, y), Ae(h, y), Ae(Y, y), Ae(I), y && (q || (q = zt(t, Ht, { duration: (
737
+ /*duration*/
738
+ n[2]
739
+ ) }, !1)), q.run(0)), m = !1;
740
+ },
741
+ d(y) {
742
+ y && Me(t), L && L.d(y), h && h.d(y), Y && Y.d(y), ee[D].d(), n[24](null), ve(), y && q && q.end(), Se = !1, In(A);
743
+ }
744
+ };
745
+ }
746
+ function cn(n) {
747
+ let t, i;
748
+ return {
749
+ c() {
750
+ t = R("img"), jt(t.src, i = `${/*assetsurl*/
751
+ n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
752
+ },
753
+ m(o, r) {
754
+ Re(o, t, r);
755
+ },
756
+ p(o, r) {
757
+ r[0] & /*assetsurl*/
758
+ 8 && !jt(t.src, i = `${/*assetsurl*/
759
+ o[3]}/set-timeout-icon.png`) && u(t, "src", i);
760
+ },
761
+ d(o) {
762
+ o && Me(t);
763
+ }
764
+ };
765
+ }
766
+ function di(n) {
767
+ let t, i = (
768
+ /*assetsurl*/
769
+ n[3] && cn(n)
770
+ );
771
+ return {
772
+ c() {
773
+ i && i.c(), t = Un();
774
+ },
775
+ m(o, r) {
776
+ i && i.m(o, r), Re(o, t, r);
777
+ },
778
+ p(o, r) {
779
+ /*assetsurl*/
780
+ o[3] ? i ? i.p(o, r) : (i = cn(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
781
+ },
782
+ d(o) {
783
+ o && Me(t), i && i.d(o);
784
+ }
785
+ };
786
+ }
787
+ function hi(n) {
788
+ let t, i, o = (
789
+ /*$_*/
790
+ n[8]("sessionExpirationTitle") + ""
791
+ ), r, f, _, S = nn.sanitize(
792
+ /*$_*/
793
+ n[8]("sessionExpirationGeneralText", { values: { second: (
794
+ /*timeLeft*/
795
+ n[7]
796
+ ) } })
797
+ ) + "";
798
+ return {
799
+ c() {
800
+ t = R("span"), i = R("p"), r = Ye(o), f = be(), _ = R("p"), u(t, "class", "CashierSessionExpirationText");
801
+ },
802
+ m(b, E) {
803
+ Re(b, t, E), p(t, i), p(i, r), p(t, f), p(t, _), _.innerHTML = S;
804
+ },
805
+ p(b, E) {
806
+ E[0] & /*$_*/
807
+ 256 && o !== (o = /*$_*/
808
+ b[8]("sessionExpirationTitle") + "") && We(r, o), E[0] & /*$_, timeLeft*/
809
+ 384 && S !== (S = nn.sanitize(
810
+ /*$_*/
811
+ b[8]("sessionExpirationGeneralText", { values: { second: (
812
+ /*timeLeft*/
813
+ b[7]
814
+ ) } })
815
+ ) + "") && (_.innerHTML = S);
816
+ },
817
+ d(b) {
818
+ b && Me(t);
819
+ }
820
+ };
821
+ }
822
+ function gi(n) {
823
+ let t;
824
+ const i = (
825
+ /*#slots*/
826
+ n[23].button
827
+ ), o = $e(
828
+ i,
829
+ n,
830
+ /*$$scope*/
831
+ n[22],
832
+ on
833
+ ), r = o || Ei(n);
834
+ return {
835
+ c() {
836
+ r && r.c();
837
+ },
838
+ m(f, _) {
839
+ r && r.m(f, _), t = !0;
840
+ },
841
+ p(f, _) {
842
+ o ? o.p && (!t || _[0] & /*$$scope*/
843
+ 4194304) && et(
844
+ o,
845
+ i,
846
+ f,
847
+ /*$$scope*/
848
+ f[22],
849
+ t ? nt(
850
+ i,
851
+ /*$$scope*/
852
+ f[22],
853
+ _,
854
+ ui
855
+ ) : tt(
856
+ /*$$scope*/
857
+ f[22]
858
+ ),
859
+ on
860
+ ) : r && r.p && (!t || _[0] & /*$_*/
861
+ 256) && r.p(f, t ? _ : [-1, -1]);
862
+ },
863
+ i(f) {
864
+ t || (we(r, f), t = !0);
865
+ },
866
+ o(f) {
867
+ Ae(r, f), t = !1;
868
+ },
869
+ d(f) {
870
+ r && r.d(f);
871
+ }
872
+ };
873
+ }
874
+ function _i(n) {
875
+ let t, i, o, r, f, _ = (
876
+ /*$_*/
877
+ n[8]("sessionExpirationLoadingButton") + ""
878
+ ), S;
879
+ return {
880
+ c() {
881
+ t = R("div"), i = se("svg"), o = se("path"), r = be(), f = R("span"), S = Ye(_), u(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), u(o, "fill", "white"), u(i, "class", "CashierSessionExpirationButtonSpinner"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "14"), u(i, "viewBox", "0 0 15 14"), u(i, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
882
+ },
883
+ m(b, E) {
884
+ Re(b, t, E), p(t, i), p(i, o), p(t, r), p(t, f), p(f, S);
885
+ },
886
+ p(b, E) {
887
+ E[0] & /*$_*/
888
+ 256 && _ !== (_ = /*$_*/
889
+ b[8]("sessionExpirationLoadingButton") + "") && We(S, _);
890
+ },
891
+ i: Yt,
892
+ o: Yt,
893
+ d(b) {
894
+ b && Me(t);
895
+ }
896
+ };
897
+ }
898
+ function Ei(n) {
899
+ let t, i = (
900
+ /*$_*/
901
+ n[8]("sessionExpirationGeneralButton") + ""
902
+ ), o;
903
+ return {
904
+ c() {
905
+ t = R("span"), o = Ye(i), u(t, "class", "CashierSessionExpirationButtonText");
906
+ },
907
+ m(r, f) {
908
+ Re(r, t, f), p(t, o);
909
+ },
910
+ p(r, f) {
911
+ f[0] & /*$_*/
912
+ 256 && i !== (i = /*$_*/
913
+ r[8]("sessionExpirationGeneralButton") + "") && We(o, i);
914
+ },
915
+ d(r) {
916
+ r && Me(t);
917
+ }
918
+ };
919
+ }
920
+ function Ti(n) {
921
+ let t, i, o = (
922
+ /*show*/
923
+ n[5] && ln(n)
924
+ );
925
+ return {
926
+ c() {
927
+ t = R("div"), o && o.c();
928
+ },
929
+ m(r, f) {
930
+ Re(r, t, f), o && o.m(t, null), n[26](t), i = !0;
931
+ },
932
+ p(r, f) {
933
+ /*show*/
934
+ r[5] ? o ? (o.p(r, f), f[0] & /*show*/
935
+ 32 && we(o, 1)) : (o = ln(r), o.c(), we(o, 1), o.m(t, null)) : o && (un(), Ae(o, 1, 1, () => {
936
+ o = null;
937
+ }), fn());
938
+ },
939
+ i(r) {
940
+ i || (we(o), i = !0);
941
+ },
942
+ o(r) {
943
+ Ae(o), i = !1;
944
+ },
945
+ d(r) {
946
+ r && Me(t), o && o.d(), n[26](null);
947
+ }
948
+ };
949
+ }
950
+ const bi = 90;
951
+ function wi(n, t, i) {
952
+ let o, r;
953
+ Ut(n, Gt, (a) => i(21, o = a)), Ut(n, zn, (a) => i(8, r = a));
954
+ let { $$slots: f = {}, $$scope: _ } = t;
955
+ Bt.extend(On);
956
+ let { clientstyling: S = "" } = t, { clientstylingurl: b = "" } = t, { width: E } = t, { height: V } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: H = "en" } = t, { translationurl: F = "" } = t, { endpoint: ye } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, x = !1, ie = !1, le, he, W, oe, v, ce;
957
+ var X;
958
+ (function(a) {
959
+ a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
960
+ })(X || (X = {}));
961
+ const ge = (a) => {
962
+ a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
963
+ }, Q = (a) => {
964
+ try {
965
+ return JSON.parse(atob(a.split(".")[1]));
966
+ } catch (h) {
967
+ return null;
968
+ }
969
+ }, D = () => {
970
+ window.postMessage(
971
+ {
972
+ type: "ErrorResponseCode",
973
+ errorResponseCode: v
974
+ },
975
+ window.location.href
976
+ );
977
+ }, I = (a) => {
978
+ i(5, x = !1);
979
+ const h = Q(a);
980
+ h && (he = h == null ? void 0 : h.exp, i(7, le = he), W && clearInterval(W), W = setInterval(
981
+ () => {
982
+ const P = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
983
+ i(7, le = he - P), le <= bi && i(5, x = !0), P >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
984
+ },
985
+ 1e3
986
+ ));
987
+ }, $ = () => {
988
+ i(7, le = 0), i(5, x = !1), clearInterval(W);
989
+ }, ve = () => {
990
+ if (ie)
991
+ return;
992
+ const a = new URL(`${ye}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
993
+ i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Bt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
994
+ const P = {
995
+ method: "POST",
996
+ mode: "cors",
997
+ headers: h,
998
+ body: JSON.stringify({
999
+ PaymentMethodName: oe || de,
1000
+ Currency: ae,
1001
+ XPaymentSessionToken: o
1002
+ })
1003
+ };
1004
+ fetch(a, P).then((M) => M.json()).then((M) => {
1005
+ if (M.error) {
1006
+ window.postMessage(
1007
+ {
1008
+ type: "ShowSessionError",
1009
+ error: M.error
1010
+ },
1011
+ window.location.href
1012
+ ), $();
1013
+ return;
1014
+ }
1015
+ if (M.ResponseCode === X.PlayerSessionIsNotValid || M.ResponseCode === X.JwtTokenError) {
1016
+ v = M.ResponseCode, $(), D();
1017
+ return;
1018
+ }
1019
+ if (M.ResponseCode !== X.Success) {
1020
+ v = M.ResponseCode, $();
1021
+ return;
1022
+ }
1023
+ M.XPaymentSessionToken && Gt.set(M.XPaymentSessionToken);
1024
+ }).finally(() => i(6, ie = !1));
1025
+ }, q = (a) => {
1026
+ const h = a.currentTarget;
1027
+ a.target === h && ve();
1028
+ }, m = () => {
1029
+ fetch(F).then((h) => h.json()).then((h) => {
1030
+ Object.keys(h).forEach((P) => {
1031
+ Vt(P, h[P]);
1032
+ });
1033
+ }).catch((h) => {
1034
+ console.log(h);
1035
+ });
1036
+ }, Se = () => {
1037
+ window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, x = !1);
1038
+ };
1039
+ Object.keys(Xt).forEach((a) => {
1040
+ Vt(a, Xt[a]);
1041
+ });
1042
+ const A = () => {
1043
+ Wn(H);
1044
+ };
1045
+ Dn(() => (window.addEventListener("message", ge, !1), () => {
1046
+ window.removeEventListener("message", ge);
1047
+ })), Nn(() => {
1048
+ clearInterval(W);
1049
+ });
1050
+ function xe(a) {
1051
+ Wt[a ? "unshift" : "push"](() => {
1052
+ g = a, i(4, g);
1053
+ });
1054
+ }
1055
+ function T() {
1056
+ E = this.clientWidth, V = this.clientHeight, i(0, E), i(1, V);
1057
+ }
1058
+ function L(a) {
1059
+ Wt[a ? "unshift" : "push"](() => {
1060
+ g = a, i(4, g);
1061
+ });
1062
+ }
1063
+ return n.$$set = (a) => {
1064
+ "clientstyling" in a && i(12, S = a.clientstyling), "clientstylingurl" in a && i(13, b = a.clientstylingurl), "width" in a && i(0, E = a.width), "height" in a && i(1, V = a.height), "duration" in a && i(2, ne = a.duration), "assetsurl" in a && i(3, Ce = a.assetsurl), "lang" in a && i(14, H = a.lang), "translationurl" in a && i(15, F = a.translationurl), "endpoint" in a && i(16, ye = a.endpoint), "currency" in a && i(17, ae = a.currency), "customerid" in a && i(18, G = a.customerid), "selectedpaymentmethodname" in a && i(19, de = a.selectedpaymentmethodname), "mbsource" in a && i(20, K = a.mbsource), "$$scope" in a && i(22, _ = a.$$scope);
1065
+ }, n.$$.update = () => {
1066
+ n.$$.dirty[0] & /*$xPaymentSessionToken*/
1067
+ 2097152 && I(o), n.$$.dirty[0] & /*lang*/
1068
+ 16384 && H && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1069
+ 4112 && S && g && Hn(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1070
+ 8208 && b && g && Fn(g, b), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1071
+ 1048592 && K && g && Gn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
1072
+ 32768 && F && m();
1073
+ }, [
1074
+ E,
1075
+ V,
1076
+ ne,
1077
+ Ce,
1078
+ g,
1079
+ x,
1080
+ ie,
1081
+ le,
1082
+ r,
1083
+ ve,
1084
+ q,
1085
+ Se,
1086
+ S,
1087
+ b,
1088
+ H,
1089
+ F,
1090
+ ye,
1091
+ ae,
1092
+ G,
1093
+ de,
1094
+ K,
1095
+ o,
1096
+ _,
1097
+ f,
1098
+ xe,
1099
+ T,
1100
+ L
1101
+ ];
1102
+ }
1103
+ class yi extends Ln {
1104
+ constructor(t) {
1105
+ super(), Mn(
1106
+ this,
1107
+ t,
1108
+ wi,
1109
+ Ti,
1110
+ Rn,
1111
+ {
1112
+ clientstyling: 12,
1113
+ clientstylingurl: 13,
1114
+ width: 0,
1115
+ height: 1,
1116
+ duration: 2,
1117
+ assetsurl: 3,
1118
+ lang: 14,
1119
+ translationurl: 15,
1120
+ endpoint: 16,
1121
+ currency: 17,
1122
+ customerid: 18,
1123
+ selectedpaymentmethodname: 19,
1124
+ mbsource: 20
1125
+ },
1126
+ ci,
1127
+ [-1, -1]
1128
+ );
1129
+ }
1130
+ get clientstyling() {
1131
+ return this.$$.ctx[12];
1132
+ }
1133
+ set clientstyling(t) {
1134
+ this.$$set({ clientstyling: t }), J();
1135
+ }
1136
+ get clientstylingurl() {
1137
+ return this.$$.ctx[13];
1138
+ }
1139
+ set clientstylingurl(t) {
1140
+ this.$$set({ clientstylingurl: t }), J();
1141
+ }
1142
+ get width() {
1143
+ return this.$$.ctx[0];
1144
+ }
1145
+ set width(t) {
1146
+ this.$$set({ width: t }), J();
1147
+ }
1148
+ get height() {
1149
+ return this.$$.ctx[1];
1150
+ }
1151
+ set height(t) {
1152
+ this.$$set({ height: t }), J();
1153
+ }
1154
+ get duration() {
1155
+ return this.$$.ctx[2];
1156
+ }
1157
+ set duration(t) {
1158
+ this.$$set({ duration: t }), J();
1159
+ }
1160
+ get assetsurl() {
1161
+ return this.$$.ctx[3];
1162
+ }
1163
+ set assetsurl(t) {
1164
+ this.$$set({ assetsurl: t }), J();
1165
+ }
1166
+ get lang() {
1167
+ return this.$$.ctx[14];
1168
+ }
1169
+ set lang(t) {
1170
+ this.$$set({ lang: t }), J();
1171
+ }
1172
+ get translationurl() {
1173
+ return this.$$.ctx[15];
1174
+ }
1175
+ set translationurl(t) {
1176
+ this.$$set({ translationurl: t }), J();
1177
+ }
1178
+ get endpoint() {
1179
+ return this.$$.ctx[16];
1180
+ }
1181
+ set endpoint(t) {
1182
+ this.$$set({ endpoint: t }), J();
1183
+ }
1184
+ get currency() {
1185
+ return this.$$.ctx[17];
1186
+ }
1187
+ set currency(t) {
1188
+ this.$$set({ currency: t }), J();
1189
+ }
1190
+ get customerid() {
1191
+ return this.$$.ctx[18];
1192
+ }
1193
+ set customerid(t) {
1194
+ this.$$set({ customerid: t }), J();
1195
+ }
1196
+ get selectedpaymentmethodname() {
1197
+ return this.$$.ctx[19];
1198
+ }
1199
+ set selectedpaymentmethodname(t) {
1200
+ this.$$set({ selectedpaymentmethodname: t }), J();
1201
+ }
1202
+ get mbsource() {
1203
+ return this.$$.ctx[20];
1204
+ }
1205
+ set mbsource(t) {
1206
+ this.$$set({ mbsource: t }), J();
1207
+ }
1208
+ }
1209
+ Bn(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1210
+ export {
1211
+ yi as default
1212
+ };