@everymatrix/transaction-history-page 1.85.20 → 1.85.22

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 (31) hide show
  1. package/components/{CashierHeader-CAPUqAPw.js → CashierHeader-BFyz2NLb.js} +47 -54
  2. package/components/{CashierHeader-U03suyHq.cjs → CashierHeader-CAoFBxgF.cjs} +1 -1
  3. package/components/{CashierHeader-DloB7e8O.js → CashierHeader-v6psWccn.js} +40 -47
  4. package/components/{CashierPagination-CKgkTiXN.js → CashierPagination-B4-b2Sun.js} +1 -1
  5. package/components/{CashierPagination-Cde6QvdF.cjs → CashierPagination-Bo8w5_y7.cjs} +1 -1
  6. package/components/{CashierPagination-CA-TvIFE.js → CashierPagination-C10lvbcu.js} +1 -1
  7. package/components/{CashierTransactionHistory-FeMZ2dyn.js → CashierTransactionHistory-D4TzpIIS.js} +3 -3
  8. package/components/{CashierTransactionHistory-DKOrzfQT.js → CashierTransactionHistory-DFDnXTIN.js} +3 -3
  9. package/components/{CashierTransactionHistory-C6aGR7nK.cjs → CashierTransactionHistory-DRSHGj9M.cjs} +1 -1
  10. package/components/{EmptyStateIcon-AvoO3Zue.js → EmptyStateIcon-BlAIbV8W.js} +1 -1
  11. package/components/{EmptyStateIcon-C4GyAFFi.cjs → EmptyStateIcon-DFf90wao.cjs} +1 -1
  12. package/components/{EmptyStateIcon-B6cFNdOh.js → EmptyStateIcon-DX-Hkj4E.js} +1 -1
  13. package/components/{Tooltip-BhDRFrzs.cjs → Tooltip-D4t6rGXm.cjs} +1 -1
  14. package/components/{Tooltip-BM1p4Nf_.js → Tooltip-DHZE7MTD.js} +1 -1
  15. package/components/{Tooltip-aFIpY6f-.js → Tooltip-uS44xoL4.js} +1 -1
  16. package/components/{TransactionHistoryCalendar-MRAVtXv0.js → TransactionHistoryCalendar-CrCrGszb.js} +2 -2
  17. package/components/{TransactionHistoryCalendar-CAekO6Sg.cjs → TransactionHistoryCalendar-DktCAtq3.cjs} +1 -1
  18. package/components/{TransactionHistoryCalendar-CwWhuANz.js → TransactionHistoryCalendar-nl38DTOT.js} +2 -2
  19. package/components/{TransactionHistoryPage-7GWG32kf.js → TransactionHistoryPage-Cg0BeRfM.js} +8 -8
  20. package/components/{TransactionHistoryPage-DdEtg5U6.js → TransactionHistoryPage-Sn0NPhQ-.js} +8 -8
  21. package/components/{TransactionHistoryPage-BNPi0Ltz.cjs → TransactionHistoryPage-Wli6Z-hQ.cjs} +1 -1
  22. package/components/{TxnStatusIcon-E51AqHnb.cjs → TxnStatusIcon-CQHDRu0v.cjs} +1 -1
  23. package/components/{TxnStatusIcon-BdffC5Ap.js → TxnStatusIcon-DIauQOQd.js} +1 -1
  24. package/components/{TxnStatusIcon-BoM9kht-.js → TxnStatusIcon-ydSy6slW.js} +1 -1
  25. package/components/{TxnTypeIcons-DCbUcbJO.js → TxnTypeIcons-0CnPOJuX.js} +1 -1
  26. package/components/{TxnTypeIcons-Sf3tsNPS.js → TxnTypeIcons-CJ_Vynj7.js} +1 -1
  27. package/components/{TxnTypeIcons-DUPRfFBQ.cjs → TxnTypeIcons-D_uOq9hJ.cjs} +1 -1
  28. package/es2015/transaction-history-page.cjs +1 -1
  29. package/es2015/transaction-history-page.js +1 -1
  30. package/esnext/transaction-history-page.js +1 -1
  31. package/package.json +1 -1
@@ -21,7 +21,7 @@ function M(e) {
21
21
  function oe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Ct(e, t) {
24
+ function Pt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let le;
@@ -31,7 +31,7 @@ function Zi(e, t) {
31
31
  function xr(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Pt(e, ...t) {
34
+ function Ct(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
@@ -41,7 +41,7 @@ function Pt(e, ...t) {
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
43
  function vr(e, t, r) {
44
- e.$$.on_destroy.push(Pt(t, r));
44
+ e.$$.on_destroy.push(Ct(t, r));
45
45
  }
46
46
  function Oe(e, t, r, n) {
47
47
  if (e) {
@@ -52,7 +52,7 @@ function Oe(e, t, r, n) {
52
52
  function Lt(e, t, r, n) {
53
53
  return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function Ce(e, t, r, n) {
55
+ function Pe(e, t, r, n) {
56
56
  if (e[2] && n) {
57
57
  const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
@@ -67,7 +67,7 @@ function Ce(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Pe(e, t, r, n, i, s) {
70
+ function Ce(e, t, r, n, i, s) {
71
71
  if (i) {
72
72
  const a = Lt(t, r, n, s);
73
73
  e.p(a, i);
@@ -138,7 +138,7 @@ function Rt(e, t) {
138
138
  function $(e, t, r) {
139
139
  e.insertBefore(t, r || null);
140
140
  }
141
- function P(e) {
141
+ function C(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
144
  function qi(e, t) {
@@ -203,7 +203,7 @@ function Or(e) {
203
203
  t = (t << 5) - t ^ e.charCodeAt(r);
204
204
  return t >>> 0;
205
205
  }
206
- function Cr(e, t) {
206
+ function Pr(e, t) {
207
207
  const r = { stylesheet: wr(t), rules: {} };
208
208
  return _e.set(e, r), r;
209
209
  }
@@ -217,7 +217,7 @@ function Gt(e, t, r, n, i, s, a, o = 0) {
217
217
  `;
218
218
  }
219
219
  const h = u + `100% {${a(r, 1 - r)}}
220
- }`, f = `__svelte_${Or(h)}_${o}`, m = Ke(e), { stylesheet: p, rules: c } = _e.get(m) || Cr(m, e);
220
+ }`, f = `__svelte_${Or(h)}_${o}`, m = Ke(e), { stylesheet: p, rules: c } = _e.get(m) || Pr(m, e);
221
221
  c[f] || (c[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
222
222
  const d = e.style.animation || "";
223
223
  return e.style.animation = `${d ? `${d}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, ye += 1, f;
@@ -227,13 +227,13 @@ function Fe(e, t) {
227
227
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
228
228
  // remove all Svelte animations
229
229
  ), i = r.length - n.length;
230
- i && (e.style.animation = n.join(", "), ye -= i, ye || Pr());
230
+ i && (e.style.animation = n.join(", "), ye -= i, ye || Cr());
231
231
  }
232
- function Pr() {
232
+ function Cr() {
233
233
  Ye(() => {
234
234
  ye || (_e.forEach((e) => {
235
235
  const { ownerNode: t } = e.stylesheet;
236
- t && P(t);
236
+ t && C(t);
237
237
  }), _e.clear());
238
238
  });
239
239
  }
@@ -466,7 +466,7 @@ function Dr(e, t, r, n, i, s, a = null, o = [-1]) {
466
466
  }) : [], u.update(), h = !0, M(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
467
467
  if (t.hydrate) {
468
468
  const f = Tr(t.target);
469
- u.fragment && u.fragment.l(f), f.forEach(P);
469
+ u.fragment && u.fragment.l(f), f.forEach(C);
470
470
  } else
471
471
  u.fragment && u.fragment.c();
472
472
  t.intro && me(e.$$.fragment), $r(e, t.target, t.anchor), A();
@@ -526,7 +526,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
526
526
  $(l, s, u);
527
527
  },
528
528
  d: function(l) {
529
- l && P(s);
529
+ l && C(s);
530
530
  }
531
531
  };
532
532
  };
@@ -730,7 +730,7 @@ function Te(e, t = T) {
730
730
  let r;
731
731
  const n = /* @__PURE__ */ new Set();
732
732
  function i(o) {
733
- if (Ct(e, o) && (e = o, r)) {
733
+ if (Pt(e, o) && (e = o, r)) {
734
734
  const l = !F.length;
735
735
  for (const u of n)
736
736
  u[1](), F.push(u, e);
@@ -768,7 +768,7 @@ function q(e, t, r) {
768
768
  const c = t(n ? u[0] : u, a, o);
769
769
  s ? a(c) : f = oe(c) ? c : T;
770
770
  }, p = i.map(
771
- (c, d) => Pt(
771
+ (c, d) => Ct(
772
772
  c,
773
773
  (E) => {
774
774
  u[d] = E, h &= ~(1 << d), l && m();
@@ -2769,7 +2769,7 @@ function On(e) {
2769
2769
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2770
2770
  return i[0];
2771
2771
  }
2772
- var Ue, Cn = new RegExp("^".concat(rr.source, "*")), Pn = new RegExp("".concat(rr.source, "*$"));
2772
+ var Ue, Pn = new RegExp("^".concat(rr.source, "*")), Cn = new RegExp("".concat(rr.source, "*$"));
2773
2773
  function b(e, t) {
2774
2774
  return { start: e, end: t };
2775
2775
  }
@@ -2838,7 +2838,7 @@ var ct = Ln ? (
2838
2838
  ) : (
2839
2839
  // Ponyfill
2840
2840
  function(t) {
2841
- return t.replace(Cn, "");
2841
+ return t.replace(Pn, "");
2842
2842
  }
2843
2843
  ), jn = Rn ? (
2844
2844
  // Native
@@ -2848,7 +2848,7 @@ var ct = Ln ? (
2848
2848
  ) : (
2849
2849
  // Ponyfill
2850
2850
  function(t) {
2851
- return t.replace(Pn, "");
2851
+ return t.replace(Cn, "");
2852
2852
  }
2853
2853
  );
2854
2854
  function ar(e, t) {
@@ -3123,7 +3123,7 @@ var kn = (
3123
3123
  if (this.bumpSpace(), !this.bumpIf(","))
3124
3124
  return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, xe({}, H)));
3125
3125
  this.bumpSpace();
3126
- var S = this.parseIdentifierIfPossible(), C = 0;
3126
+ var S = this.parseIdentifierIfPossible(), P = 0;
3127
3127
  if (o !== "select" && S.value === "offset") {
3128
3128
  if (!this.bumpIf(":"))
3129
3129
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3131,7 +3131,7 @@ var kn = (
3131
3131
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3132
3132
  if (f.err)
3133
3133
  return f;
3134
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), C = f.val;
3134
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), P = f.val;
3135
3135
  }
3136
3136
  var D = this.tryParsePluralOrSelectOptions(t, o, r, S);
3137
3137
  if (D.err)
@@ -3153,7 +3153,7 @@ var kn = (
3153
3153
  type: y.plural,
3154
3154
  value: n,
3155
3155
  options: mt(D.val),
3156
- offset: C,
3156
+ offset: P,
3157
3157
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3158
3158
  location: he
3159
3159
  },
@@ -3478,13 +3478,13 @@ function de(e, t, r, n, i, s, a) {
3478
3478
  var c = h.children, d = h.value, E = i[d];
3479
3479
  if (!Jn(E))
3480
3480
  throw new Zn(d, "function", a);
3481
- var v = de(c, t, r, n, i, s), B = E(v.map(function(C) {
3482
- return C.value;
3481
+ var v = de(c, t, r, n, i, s), B = E(v.map(function(P) {
3482
+ return P.value;
3483
3483
  }));
3484
- Array.isArray(B) || (B = [B]), o.push.apply(o, B.map(function(C) {
3484
+ Array.isArray(B) || (B = [B]), o.push.apply(o, B.map(function(P) {
3485
3485
  return {
3486
- type: typeof C == "string" ? w.literal : w.object,
3487
- value: C
3486
+ type: typeof P == "string" ? w.literal : w.object,
3487
+ value: P
3488
3488
  };
3489
3489
  }));
3490
3490
  }
@@ -3966,14 +3966,14 @@ const se = (e, t) => {
3966
3966
  "locale"
3967
3967
  ]);
3968
3968
  return Bi(rt({ locale: r }, n));
3969
- }, Ci = (e = {}) => {
3969
+ }, Pi = (e = {}) => {
3970
3970
  var t = e, {
3971
3971
  locale: r = I()
3972
3972
  } = t, n = J(t, [
3973
3973
  "locale"
3974
3974
  ]);
3975
3975
  return Si(rt({ locale: r }, n));
3976
- }, Pi = Ae(
3976
+ }, Ci = Ae(
3977
3977
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3978
3978
  (e, t = I()) => new hr(e, t, Z().formats, {
3979
3979
  ignoreTag: Z().ignoreTag
@@ -4002,7 +4002,7 @@ const se = (e, t) => {
4002
4002
  return h;
4003
4003
  let f = h;
4004
4004
  try {
4005
- f = Pi(h, l).format(o);
4005
+ f = Ci(h, l).format(o);
4006
4006
  } catch (m) {
4007
4007
  m instanceof Error && console.warn(
4008
4008
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4010,7 +4010,7 @@ const se = (e, t) => {
4010
4010
  );
4011
4011
  }
4012
4012
  return f;
4013
- }, Ni = (e, t) => Ci(t).format(e), Ii = (e, t) => Oi(t).format(e), Mi = (e, t) => Ai(t).format(e), $i = (e, t = I()) => lr(e, t), Ri = q([U, ae], () => Li);
4013
+ }, Ni = (e, t) => Pi(t).format(e), Ii = (e, t) => Oi(t).format(e), Mi = (e, t) => Ai(t).format(e), $i = (e, t = I()) => lr(e, t), Ri = q([U, ae], () => Li);
4014
4014
  q([U], () => Ni);
4015
4015
  q([U], () => Ii);
4016
4016
  q([U], () => Mi);
@@ -4037,13 +4037,6 @@ const vt = {
4037
4037
  deposit: "Para Yatır",
4038
4038
  withdraw: "Çekim"
4039
4039
  }
4040
- },
4041
- "en-us": {
4042
- header: {
4043
- general: "Cashier",
4044
- deposit: "Deposit",
4045
- withdraw: "Withdraw"
4046
- }
4047
4040
  }
4048
4041
  };
4049
4042
  function Di(e) {
@@ -4066,7 +4059,7 @@ function Bt(e) {
4066
4059
  },
4067
4060
  p: T,
4068
4061
  d(i) {
4069
- i && P(t), r = !1, n();
4062
+ i && C(t), r = !1, n();
4070
4063
  }
4071
4064
  };
4072
4065
  }
@@ -4087,7 +4080,7 @@ function ki(e) {
4087
4080
  n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4088
4081
  },
4089
4082
  d(n) {
4090
- n && P(t), r && r.d(n);
4083
+ n && C(t), r && r.d(n);
4091
4084
  }
4092
4085
  };
4093
4086
  }
@@ -4115,7 +4108,7 @@ function Vi(e) {
4115
4108
  ) + "") && Br(n, r);
4116
4109
  },
4117
4110
  d(i) {
4118
- i && P(t);
4111
+ i && C(t);
4119
4112
  }
4120
4113
  };
4121
4114
  }
@@ -4135,7 +4128,7 @@ function St(e) {
4135
4128
  },
4136
4129
  p: T,
4137
4130
  d(i) {
4138
- i && P(t), r = !1, n();
4131
+ i && C(t), r = !1, n();
4139
4132
  }
4140
4133
  };
4141
4134
  }
@@ -4156,7 +4149,7 @@ function Xi(e) {
4156
4149
  n[3] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4157
4150
  },
4158
4151
  d(n) {
4159
- n && P(t), r && r.d(n);
4152
+ n && C(t), r && r.d(n);
4160
4153
  }
4161
4154
  };
4162
4155
  }
@@ -4199,13 +4192,13 @@ function zi(e) {
4199
4192
  },
4200
4193
  p(c, [d]) {
4201
4194
  a ? a.p && (!i || d & /*$$scope*/
4202
- 32768) && Pe(
4195
+ 32768) && Ce(
4203
4196
  a,
4204
4197
  s,
4205
4198
  c,
4206
4199
  /*$$scope*/
4207
4200
  c[15],
4208
- i ? Ce(
4201
+ i ? Pe(
4209
4202
  s,
4210
4203
  /*$$scope*/
4211
4204
  c[15],
@@ -4218,13 +4211,13 @@ function zi(e) {
4218
4211
  Tt
4219
4212
  ) : o && o.p && (!i || d & /*backButton*/
4220
4213
  2) && o.p(c, i ? d : -1), u ? u.p && (!i || d & /*$$scope*/
4221
- 32768) && Pe(
4214
+ 32768) && Ce(
4222
4215
  u,
4223
4216
  l,
4224
4217
  c,
4225
4218
  /*$$scope*/
4226
4219
  c[15],
4227
- i ? Ce(
4220
+ i ? Pe(
4228
4221
  l,
4229
4222
  /*$$scope*/
4230
4223
  c[15],
@@ -4237,13 +4230,13 @@ function zi(e) {
4237
4230
  wt
4238
4231
  ) : h && h.p && (!i || d & /*$_, titleText*/
4239
4232
  20) && h.p(c, i ? d : -1), m ? m.p && (!i || d & /*$$scope*/
4240
- 32768) && Pe(
4233
+ 32768) && Ce(
4241
4234
  m,
4242
4235
  f,
4243
4236
  c,
4244
4237
  /*$$scope*/
4245
4238
  c[15],
4246
- i ? Ce(
4239
+ i ? Pe(
4247
4240
  f,
4248
4241
  /*$$scope*/
4249
4242
  c[15],
@@ -4264,7 +4257,7 @@ function zi(e) {
4264
4257
  Ie(o, c), Ie(h, c), Ie(p, c), i = !1;
4265
4258
  },
4266
4259
  d(c) {
4267
- c && P(t), o && o.d(c), h && h.d(c), p && p.d(c), e[17](null);
4260
+ c && C(t), o && o.d(c), h && h.d(c), p && p.d(c), e[17](null);
4268
4261
  }
4269
4262
  };
4270
4263
  }
@@ -4288,7 +4281,7 @@ function Wi(e, t, r) {
4288
4281
  Ui(f);
4289
4282
  }, S = () => {
4290
4283
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4291
- }, C = () => {
4284
+ }, P = () => {
4292
4285
  window.postMessage({ type: "BackCashier" }, window.location.href);
4293
4286
  }, D = () => {
4294
4287
  r(1, d = !!u && u !== "false");
@@ -4323,7 +4316,7 @@ function Wi(e, t, r) {
4323
4316
  v,
4324
4317
  n,
4325
4318
  S,
4326
- C,
4319
+ P,
4327
4320
  a,
4328
4321
  o,
4329
4322
  l,
@@ -4344,7 +4337,7 @@ class br extends Fr {
4344
4337
  t,
4345
4338
  Wi,
4346
4339
  zi,
4347
- Ct,
4340
+ Pt,
4348
4341
  {
4349
4342
  clientstyling: 7,
4350
4343
  clientstylingurl: 8,
@@ -4441,7 +4434,7 @@ export {
4441
4434
  Hr as a,
4442
4435
  qi as b,
4443
4436
  $ as c,
4444
- P as d,
4437
+ C as d,
4445
4438
  os as e,
4446
4439
  A as f,
4447
4440
  be as g,
@@ -4456,7 +4449,7 @@ export {
4456
4449
  Br as p,
4457
4450
  et as q,
4458
4451
  M as r,
4459
- Ct as s,
4452
+ Pt as s,
4460
4453
  es as t,
4461
4454
  je as u,
4462
4455
  kr as v,
@@ -5,4 +5,4 @@
5
5
  Try polyfilling it using "@formatjs/intl-pluralrules"
6
6
  `,Q.MISSING_INTL_API,a);var C=n.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));H=h.options[C]||h.options.other}if(!H)throw new Bt(h.value,m,Object.keys(h.options),a);o.push.apply(o,_e(H.value,t,n,r,i,m-(h.offset||0)));continue}}return wi(o)}function Bi(e,t){return t?O(O(O({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=O(O({},e[r]),t[r]||{}),n},{})):e}function Si(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Bi(e[r],t[r]),n},O({},e)):e}function ke(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Ai(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ge(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,De([void 0],n,!1)))},{cache:ke(e.number),strategy:Fe.variadic}),getDateTimeFormat:Ge(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,De([void 0],n,!1)))},{cache:ke(e.dateTime),strategy:Fe.variadic}),getPluralRules:Ge(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,De([void 0],n,!1)))},{cache:ke(e.pluralRules),strategy:Fe.variadic})}}var On=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(f,m){return!f.length||m.type!==w.literal||typeof f[f.length-1]!="string"?f.push(m.value):f[f.length-1]+=m.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return _e(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=Ur(a,["formatters"]);this.ast=e.__parse(t,O(O({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Si(e.formats,r),this.formatters=i&&i.formatters||Ai(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=xi,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ci(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const s=n.slice(i,n.length).join(".");if(s in r){r=r[s];break}}r=r[n[i]]}else r=void 0;return r}const I={},Oi=(e,t,n)=>n&&(t in I||(I[t]={}),e in I[t]||(I[t][e]=n),n),Pn=(e,t)=>{if(t==null)return;if(t in I&&e in I[t])return I[t][e];const n=fe(t);for(let r=0;r<n.length;r++){const i=n[r],s=Li(i,e);if(s)return Oi(e,t,s)}};let ut;const le=Ce({});function Pi(e){return ut[e]||null}function Ln(e){return e in ut}function Li(e,t){if(!Ln(e))return null;const n=Pi(e);return Ci(n,t)}function Ni(e){if(e==null)return;const t=fe(e);for(let n=0;n<t.length;n++){const r=t[n];if(Ln(r))return r}}function ht(e,...t){delete I[e],le.update(n=>(n[e]=Rr.all([n[e]||{},...t]),n))}Y([le],([e])=>Object.keys(e));le.subscribe(e=>ut=e);const ye={};function Ii(e,t){ye[e].delete(t),ye[e].size===0&&delete ye[e]}function Nn(e){return ye[e]}function Mi(e){return fe(e).map(t=>{const n=Nn(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Te(e){return e==null?!1:fe(e).some(t=>{var n;return(n=Nn(t))==null?void 0:n.size})}function $i(e,t){return Promise.all(t.map(r=>(Ii(e,r),r().then(i=>i.default||i)))).then(r=>ht(e,...r))}const te={};function In(e){if(!Te(e))return e in te?te[e]:Promise.resolve();const t=Mi(e);return te[e]=Promise.all(t.map(([n,r])=>$i(n,r))).then(()=>{if(Te(e))return In(e);delete te[e]}),te[e]}var St=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,Ui=Object.prototype.propertyIsEnumerable,Di=(e,t)=>{var n={};for(var r in e)Ri.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&St)for(var r of St(e))t.indexOf(r)<0&&Ui.call(e,r)&&(n[r]=e[r]);return n};const Gi={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function Fi({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${fe(e).join('", "')}".${Te(U())?`
7
7
 
8
- Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ji={fallbackLocale:null,loadingDelay:200,formats:Gi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ne=ji;function J(){return ne}function Mn(e){const t=e,{formats:n}=t,r=Di(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{On.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,r.handleMissingMessage==null?r.handleMissingMessage=Fi:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ne,r,{initialLocale:i}),n&&("number"in n&&Object.assign(ne.formats.number,n.number),"date"in n&&Object.assign(ne.formats.date,n.date),"time"in n&&Object.assign(ne.formats.time,n.time)),D.set(i)}const Ve=Ce(!1);var ki=Object.defineProperty,Vi=Object.defineProperties,Xi=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,Ct=(e,t,n)=>t in e?ki(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zi=(e,t)=>{for(var n in t||(t={}))zi.call(t,n)&&Ct(e,n,t[n]);if(At)for(var n of At(t))Wi.call(t,n)&&Ct(e,n,t[n]);return e},qi=(e,t)=>Vi(e,Xi(t));let tt;const Be=Ce(null);function Ot(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function fe(e,t=J().fallbackLocale){const n=Ot(e);return t?[...new Set([...n,...Ot(t)])]:n}function U(){return tt!=null?tt:void 0}Be.subscribe(e=>{tt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Qi=e=>{if(e&&Ni(e)&&Te(e)){const{loadingDelay:t}=J();let n;return typeof window!="undefined"&&U()!=null&&t?n=window.setTimeout(()=>Ve.set(!0),t):Ve.set(!0),In(e).then(()=>{Be.set(e)}).finally(()=>{clearTimeout(n),Ve.set(!1)})}return Be.set(e)},D=qi(Zi({},Be),{set:Qi}),Le=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Ji=Object.defineProperty,Se=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Pt=(e,t,n)=>t in e?Ji(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lt=(e,t)=>{for(var n in t||(t={}))$n.call(t,n)&&Pt(e,n,t[n]);if(Se)for(var n of Se(t))Rn.call(t,n)&&Pt(e,n,t[n]);return e},K=(e,t)=>{var n={};for(var r in e)$n.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Se)for(var r of Se(e))t.indexOf(r)<0&&Rn.call(e,r)&&(n[r]=e[r]);return n};const ue=(e,t)=>{const{formats:n}=J();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yi=Le(e=>{var t=e,{locale:n,format:r}=t,i=K(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=ue("number",r)),new Intl.NumberFormat(n,i)}),Ki=Le(e=>{var t=e,{locale:n,format:r}=t,i=K(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=ue("date",r):Object.keys(i).length===0&&(i=ue("date","short")),new Intl.DateTimeFormat(n,i)}),es=Le(e=>{var t=e,{locale:n,format:r}=t,i=K(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=ue("time",r):Object.keys(i).length===0&&(i=ue("time","short")),new Intl.DateTimeFormat(n,i)}),ts=(e={})=>{var t=e,{locale:n=U()}=t,r=K(t,["locale"]);return Yi(lt({locale:n},r))},ns=(e={})=>{var t=e,{locale:n=U()}=t,r=K(t,["locale"]);return Ki(lt({locale:n},r))},rs=(e={})=>{var t=e,{locale:n=U()}=t,r=K(t,["locale"]);return es(lt({locale:n},r))},is=Le((e,t=U())=>new On(e,t,J().formats,{ignoreTag:J().ignoreTag})),ss=(e,t={})=>{var n,r,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=U(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Pn(e,l);if(!h)h=(s=(i=(r=(n=J()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let f=h;try{f=is(h,l).format(o)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},os=(e,t)=>rs(t).format(e),as=(e,t)=>ns(t).format(e),us=(e,t)=>ts(t).format(e),hs=(e,t=U())=>Pn(e,t),Un=Y([D,le],()=>ss);Y([D],()=>os);Y([D],()=>as);Y([D],()=>us);Y([D,le],()=>hs);function Lt(e,t){ht(e,t)}function ls(e){Mn({fallbackLocale:"en"}),D.set(e)}const Nt={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function fs(e){Wt(e,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}const cs=e=>({}),It=e=>({}),ms=e=>({}),Mt=e=>({}),ps=e=>({}),$t=e=>({});function Rt(e){let t,n,r;return{c(){t=R("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',G(t,"class","CashierHeaderLeftButton")},m(i,s){$(i,t,s),n||(r=at(t,"click",e[6]),n=!0)},p:T,d(i){i&&P(t),n=!1,r()}}}function ds(e){let t,n=e[1]&&Rt(e);return{c(){n&&n.c(),t=ot()},m(r,i){n&&n.m(r,i),$(r,t,i)},p(r,i){r[1]?n?n.p(r,i):(n=Rt(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&P(t),n&&n.d(r)}}}function gs(e){let t,n=e[4](e[2])+"",r;return{c(){t=R("span"),r=Ae(n),G(t,"class","CashierHeaderTitle")},m(i,s){$(i,t,s),se(t,r)},p(i,s){s&20&&n!==(n=i[4](i[2])+"")&&qt(r,n)},d(i){i&&P(t)}}}function Ut(e){let t,n,r;return{c(){t=R("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>',G(t,"class","CashierHeaderRightButton")},m(i,s){$(i,t,s),n||(r=at(t,"click",e[5]),n=!0)},p:T,d(i){i&&P(t),n=!1,r()}}}function bs(e){let t,n=e[3]&&Ut(e);return{c(){n&&n.c(),t=ot()},m(r,i){n&&n.m(r,i),$(r,t,i)},p(r,i){r[3]?n?n.p(r,i):(n=Ut(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&P(t),n&&n.d(r)}}}function _s(e){let t,n,r,i;const s=e[16].leftButton,a=Ie(s,e,e[15],$t),o=a||ds(e),l=e[16].title,u=Ie(l,e,e[15],Mt),h=u||gs(e),f=e[16].rightButton,m=Ie(f,e,e[15],It),p=m||bs(e);return{c(){t=R("div"),o&&o.c(),n=Xe(),h&&h.c(),r=Xe(),p&&p.c(),G(t,"class","CashierHeader")},m(c,d){$(c,t,d),o&&o.m(t,null),se(t,n),h&&h.m(t,null),se(t,r),p&&p.m(t,null),e[17](t),i=!0},p(c,[d]){a?a.p&&(!i||d&32768)&&$e(a,s,c,c[15],i?Me(s,c[15],d,ps):Re(c[15]),$t):o&&o.p&&(!i||d&2)&&o.p(c,i?d:-1),u?u.p&&(!i||d&32768)&&$e(u,l,c,c[15],i?Me(l,c[15],d,ms):Re(c[15]),Mt):h&&h.p&&(!i||d&20)&&h.p(c,i?d:-1),m?m.p&&(!i||d&32768)&&$e(m,f,c,c[15],i?Me(f,c[15],d,cs):Re(c[15]),It):p&&p.p&&(!i||d&8)&&p.p(c,i?d:-1)},i(c){i||(ie(o,c),ie(h,c),ie(p,c),i=!0)},o(c){ge(o,c),ge(h,c),ge(p,c),i=!1},d(c){c&&P(t),o&&o.d(c),h&&h.d(c),p&&p.d(c),e[17](null)}}}function ys(e,t,n){let r;Ft(e,Un,_=>n(4,r=_));let{$$slots:i={},$$scope:s}=t,{clientstyling:a=""}=t,{clientstylingurl:o=""}=t,{translationurl:l=""}=t,{showbackbutton:u=""}=t,{title:h="header.general"}=t,{lang:f="en"}=t,{showclosebutton:m=""}=t,{mbsource:p=""}=t,c,d=!1,E,v=!1;const B=()=>{fetch(l).then(_=>_.json()).then(_=>{Object.keys(_).forEach(ft=>{Lt(ft,_[ft])})}).catch(_=>{console.log(_)})};Object.keys(Nt).forEach(_=>{Lt(_,Nt[_])});const H=()=>{ls(f)},C=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},L=()=>{window.postMessage({type:"BackCashier"},window.location.href)},F=()=>{n(1,d=!!u&&u!=="false")},ce=()=>{n(3,v=!!m&&m!=="false")},Gn=()=>{n(2,E=h||"header.general")};Jt(()=>()=>{});function Fn(_){ve[_?"unshift":"push"](()=>{c=_,n(0,c)})}return e.$$set=_=>{"clientstyling"in _&&n(7,a=_.clientstyling),"clientstylingurl"in _&&n(8,o=_.clientstylingurl),"translationurl"in _&&n(9,l=_.translationurl),"showbackbutton"in _&&n(10,u=_.showbackbutton),"title"in _&&n(11,h=_.title),"lang"in _&&n(12,f=_.lang),"showclosebutton"in _&&n(13,m=_.showclosebutton),"mbsource"in _&&n(14,p=_.mbsource),"$$scope"in _&&n(15,s=_.$$scope)},e.$$.update=()=>{e.$$.dirty&4096&&f&&H(),e.$$.dirty&6144&&f&&h&&Gn(),e.$$.dirty&129&&a&&c&&hn(c,a),e.$$.dirty&257&&o&&c&&ln(c,o),e.$$.dirty&16385&&p&&c&&fn(c,`${p}.Style`),e.$$.dirty&4608&&f&&l&&B(),e.$$.dirty&1024&&u&&F(),e.$$.dirty&8192&&m&&ce()},[c,d,E,v,r,C,L,a,o,l,u,h,f,m,p,s,i,Fn]}class Dn extends un{constructor(t){super(),sn(this,t,ys,_s,rt,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},fs)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),A()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),A()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),A()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),A()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),A()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),A()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),A()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),A()}}an(Dn,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const Es=Object.freeze(Object.defineProperty({__proto__:null,default:Dn},Symbol.toStringTag,{value:"Module"}));exports.$format=Un;exports.$locale=D;exports.CashierHeader_ce=Es;exports.SvelteComponent=un;exports.addMessages=ht;exports.add_render_callback=W;exports.append=se;exports.append_styles=Wt;exports.attr=G;exports.binding_callbacks=ve;exports.check_outros=pr;exports.commonjsGlobal=vr;exports.component_subscribe=Ft;exports.create_component=_r;exports.create_custom_element=an;exports.create_in_transition=dr;exports.create_out_transition=gr;exports.destroy_component=rn;exports.destroy_each=Yn;exports.detach=P;exports.element=R;exports.empty=ot;exports.ensure_array_like=br;exports.flush=A;exports.getDefaultExportFromCjs=cn;exports.group_outros=mr;exports.identity=nt;exports.init=sn;exports.init$1=Mn;exports.insert=$;exports.listen=at;exports.mount_component=nn;exports.noop=T;exports.null_to_empty=Qn;exports.onMount=Jt;exports.run_all=M;exports.safe_not_equal=rt;exports.setClientStyling=hn;exports.setClientStylingURL=ln;exports.setStreamStyling=fn;exports.set_custom_element_data=er;exports.set_data=qt;exports.set_style=nr;exports.space=Xe;exports.src_url_equal=Zn;exports.svg_element=Kn;exports.text=Ae;exports.tick=lr;exports.toggle_class=rr;exports.transition_in=ie;exports.transition_out=ge;
8
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ji={fallbackLocale:null,loadingDelay:200,formats:Gi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ne=ji;function J(){return ne}function Mn(e){const t=e,{formats:n}=t,r=Di(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{On.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,r.handleMissingMessage==null?r.handleMissingMessage=Fi:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ne,r,{initialLocale:i}),n&&("number"in n&&Object.assign(ne.formats.number,n.number),"date"in n&&Object.assign(ne.formats.date,n.date),"time"in n&&Object.assign(ne.formats.time,n.time)),D.set(i)}const Ve=Ce(!1);var ki=Object.defineProperty,Vi=Object.defineProperties,Xi=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,Ct=(e,t,n)=>t in e?ki(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zi=(e,t)=>{for(var n in t||(t={}))zi.call(t,n)&&Ct(e,n,t[n]);if(At)for(var n of At(t))Wi.call(t,n)&&Ct(e,n,t[n]);return e},qi=(e,t)=>Vi(e,Xi(t));let tt;const Be=Ce(null);function Ot(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function fe(e,t=J().fallbackLocale){const n=Ot(e);return t?[...new Set([...n,...Ot(t)])]:n}function U(){return tt!=null?tt:void 0}Be.subscribe(e=>{tt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Qi=e=>{if(e&&Ni(e)&&Te(e)){const{loadingDelay:t}=J();let n;return typeof window!="undefined"&&U()!=null&&t?n=window.setTimeout(()=>Ve.set(!0),t):Ve.set(!0),In(e).then(()=>{Be.set(e)}).finally(()=>{clearTimeout(n),Ve.set(!1)})}return Be.set(e)},D=qi(Zi({},Be),{set:Qi}),Le=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Ji=Object.defineProperty,Se=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Pt=(e,t,n)=>t in e?Ji(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lt=(e,t)=>{for(var n in t||(t={}))$n.call(t,n)&&Pt(e,n,t[n]);if(Se)for(var n of Se(t))Rn.call(t,n)&&Pt(e,n,t[n]);return e},K=(e,t)=>{var n={};for(var r in e)$n.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Se)for(var r of Se(e))t.indexOf(r)<0&&Rn.call(e,r)&&(n[r]=e[r]);return n};const ue=(e,t)=>{const{formats:n}=J();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yi=Le(e=>{var t=e,{locale:n,format:r}=t,i=K(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=ue("number",r)),new Intl.NumberFormat(n,i)}),Ki=Le(e=>{var t=e,{locale:n,format:r}=t,i=K(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=ue("date",r):Object.keys(i).length===0&&(i=ue("date","short")),new Intl.DateTimeFormat(n,i)}),es=Le(e=>{var t=e,{locale:n,format:r}=t,i=K(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=ue("time",r):Object.keys(i).length===0&&(i=ue("time","short")),new Intl.DateTimeFormat(n,i)}),ts=(e={})=>{var t=e,{locale:n=U()}=t,r=K(t,["locale"]);return Yi(lt({locale:n},r))},ns=(e={})=>{var t=e,{locale:n=U()}=t,r=K(t,["locale"]);return Ki(lt({locale:n},r))},rs=(e={})=>{var t=e,{locale:n=U()}=t,r=K(t,["locale"]);return es(lt({locale:n},r))},is=Le((e,t=U())=>new On(e,t,J().formats,{ignoreTag:J().ignoreTag})),ss=(e,t={})=>{var n,r,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=U(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Pn(e,l);if(!h)h=(s=(i=(r=(n=J()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let f=h;try{f=is(h,l).format(o)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},os=(e,t)=>rs(t).format(e),as=(e,t)=>ns(t).format(e),us=(e,t)=>ts(t).format(e),hs=(e,t=U())=>Pn(e,t),Un=Y([D,le],()=>ss);Y([D],()=>os);Y([D],()=>as);Y([D],()=>us);Y([D,le],()=>hs);function Lt(e,t){ht(e,t)}function ls(e){Mn({fallbackLocale:"en"}),D.set(e)}const Nt={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}}};function fs(e){Wt(e,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}const cs=e=>({}),It=e=>({}),ms=e=>({}),Mt=e=>({}),ps=e=>({}),$t=e=>({});function Rt(e){let t,n,r;return{c(){t=R("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',G(t,"class","CashierHeaderLeftButton")},m(i,s){$(i,t,s),n||(r=at(t,"click",e[6]),n=!0)},p:T,d(i){i&&P(t),n=!1,r()}}}function ds(e){let t,n=e[1]&&Rt(e);return{c(){n&&n.c(),t=ot()},m(r,i){n&&n.m(r,i),$(r,t,i)},p(r,i){r[1]?n?n.p(r,i):(n=Rt(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&P(t),n&&n.d(r)}}}function gs(e){let t,n=e[4](e[2])+"",r;return{c(){t=R("span"),r=Ae(n),G(t,"class","CashierHeaderTitle")},m(i,s){$(i,t,s),se(t,r)},p(i,s){s&20&&n!==(n=i[4](i[2])+"")&&qt(r,n)},d(i){i&&P(t)}}}function Ut(e){let t,n,r;return{c(){t=R("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>',G(t,"class","CashierHeaderRightButton")},m(i,s){$(i,t,s),n||(r=at(t,"click",e[5]),n=!0)},p:T,d(i){i&&P(t),n=!1,r()}}}function bs(e){let t,n=e[3]&&Ut(e);return{c(){n&&n.c(),t=ot()},m(r,i){n&&n.m(r,i),$(r,t,i)},p(r,i){r[3]?n?n.p(r,i):(n=Ut(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&P(t),n&&n.d(r)}}}function _s(e){let t,n,r,i;const s=e[16].leftButton,a=Ie(s,e,e[15],$t),o=a||ds(e),l=e[16].title,u=Ie(l,e,e[15],Mt),h=u||gs(e),f=e[16].rightButton,m=Ie(f,e,e[15],It),p=m||bs(e);return{c(){t=R("div"),o&&o.c(),n=Xe(),h&&h.c(),r=Xe(),p&&p.c(),G(t,"class","CashierHeader")},m(c,d){$(c,t,d),o&&o.m(t,null),se(t,n),h&&h.m(t,null),se(t,r),p&&p.m(t,null),e[17](t),i=!0},p(c,[d]){a?a.p&&(!i||d&32768)&&$e(a,s,c,c[15],i?Me(s,c[15],d,ps):Re(c[15]),$t):o&&o.p&&(!i||d&2)&&o.p(c,i?d:-1),u?u.p&&(!i||d&32768)&&$e(u,l,c,c[15],i?Me(l,c[15],d,ms):Re(c[15]),Mt):h&&h.p&&(!i||d&20)&&h.p(c,i?d:-1),m?m.p&&(!i||d&32768)&&$e(m,f,c,c[15],i?Me(f,c[15],d,cs):Re(c[15]),It):p&&p.p&&(!i||d&8)&&p.p(c,i?d:-1)},i(c){i||(ie(o,c),ie(h,c),ie(p,c),i=!0)},o(c){ge(o,c),ge(h,c),ge(p,c),i=!1},d(c){c&&P(t),o&&o.d(c),h&&h.d(c),p&&p.d(c),e[17](null)}}}function ys(e,t,n){let r;Ft(e,Un,_=>n(4,r=_));let{$$slots:i={},$$scope:s}=t,{clientstyling:a=""}=t,{clientstylingurl:o=""}=t,{translationurl:l=""}=t,{showbackbutton:u=""}=t,{title:h="header.general"}=t,{lang:f="en"}=t,{showclosebutton:m=""}=t,{mbsource:p=""}=t,c,d=!1,E,v=!1;const B=()=>{fetch(l).then(_=>_.json()).then(_=>{Object.keys(_).forEach(ft=>{Lt(ft,_[ft])})}).catch(_=>{console.log(_)})};Object.keys(Nt).forEach(_=>{Lt(_,Nt[_])});const H=()=>{ls(f)},C=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},L=()=>{window.postMessage({type:"BackCashier"},window.location.href)},F=()=>{n(1,d=!!u&&u!=="false")},ce=()=>{n(3,v=!!m&&m!=="false")},Gn=()=>{n(2,E=h||"header.general")};Jt(()=>()=>{});function Fn(_){ve[_?"unshift":"push"](()=>{c=_,n(0,c)})}return e.$$set=_=>{"clientstyling"in _&&n(7,a=_.clientstyling),"clientstylingurl"in _&&n(8,o=_.clientstylingurl),"translationurl"in _&&n(9,l=_.translationurl),"showbackbutton"in _&&n(10,u=_.showbackbutton),"title"in _&&n(11,h=_.title),"lang"in _&&n(12,f=_.lang),"showclosebutton"in _&&n(13,m=_.showclosebutton),"mbsource"in _&&n(14,p=_.mbsource),"$$scope"in _&&n(15,s=_.$$scope)},e.$$.update=()=>{e.$$.dirty&4096&&f&&H(),e.$$.dirty&6144&&f&&h&&Gn(),e.$$.dirty&129&&a&&c&&hn(c,a),e.$$.dirty&257&&o&&c&&ln(c,o),e.$$.dirty&16385&&p&&c&&fn(c,`${p}.Style`),e.$$.dirty&4608&&f&&l&&B(),e.$$.dirty&1024&&u&&F(),e.$$.dirty&8192&&m&&ce()},[c,d,E,v,r,C,L,a,o,l,u,h,f,m,p,s,i,Fn]}class Dn extends un{constructor(t){super(),sn(this,t,ys,_s,rt,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},fs)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),A()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),A()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),A()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),A()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),A()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),A()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),A()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),A()}}an(Dn,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const Es=Object.freeze(Object.defineProperty({__proto__:null,default:Dn},Symbol.toStringTag,{value:"Module"}));exports.$format=Un;exports.$locale=D;exports.CashierHeader_ce=Es;exports.SvelteComponent=un;exports.addMessages=ht;exports.add_render_callback=W;exports.append=se;exports.append_styles=Wt;exports.attr=G;exports.binding_callbacks=ve;exports.check_outros=pr;exports.commonjsGlobal=vr;exports.component_subscribe=Ft;exports.create_component=_r;exports.create_custom_element=an;exports.create_in_transition=dr;exports.create_out_transition=gr;exports.destroy_component=rn;exports.destroy_each=Yn;exports.detach=P;exports.element=R;exports.empty=ot;exports.ensure_array_like=br;exports.flush=A;exports.getDefaultExportFromCjs=cn;exports.group_outros=mr;exports.identity=nt;exports.init=sn;exports.init$1=Mn;exports.insert=$;exports.listen=at;exports.mount_component=nn;exports.noop=T;exports.null_to_empty=Qn;exports.onMount=Jt;exports.run_all=M;exports.safe_not_equal=rt;exports.setClientStyling=hn;exports.setClientStylingURL=ln;exports.setStreamStyling=fn;exports.set_custom_element_data=er;exports.set_data=qt;exports.set_style=nr;exports.space=Xe;exports.src_url_equal=Zn;exports.svg_element=Kn;exports.text=Ae;exports.tick=lr;exports.toggle_class=rr;exports.transition_in=ie;exports.transition_out=ge;