@everymatrix/cashier-method-details 1.76.3 → 1.76.4

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 (43) hide show
  1. package/components/CashierError-BrL5CAOl.js +4630 -0
  2. package/components/CashierError-Ct47Rqvt.js +4593 -0
  3. package/components/CashierError-DqG41odi.cjs +8 -0
  4. package/components/{CashierMethodDetails-DIc5nHRa.js → CashierMethodDetails-CbrOmOCe.js} +2580 -2387
  5. package/components/{CashierMethodDetails-BWHdOaxR.js → CashierMethodDetails-D01hFlpN.js} +2883 -2690
  6. package/components/CashierMethodDetails-F_t0ClIg.cjs +99 -0
  7. package/components/CashierModal-DVQJ9P-j.cjs +1 -0
  8. package/components/{CashierModal-C2Nyv-oI.js → CashierModal-IWswoSQa.js} +44 -44
  9. package/components/{CashierModal-C513JGq3.js → CashierModal-TGUCkbyQ.js} +44 -44
  10. package/components/{CashierNotifications-Byw9YQwf.js → CashierNotifications-Bg9zyIhP.js} +11 -11
  11. package/components/{CashierNotifications-BoCKEoNK.js → CashierNotifications-CcvLHszW.js} +11 -11
  12. package/components/{CashierNotifications-l6v72sgJ.cjs → CashierNotifications-DOJFHpXL.cjs} +1 -1
  13. package/components/CashierReceiptPage-BTrjEt7P.cjs +1 -0
  14. package/components/CashierReceiptPage-CEHlpRZd.js +1653 -0
  15. package/components/CashierReceiptPage-CstRy1Kd.js +1655 -0
  16. package/components/{CashierSpinner-DHhR3rfC.cjs → CashierSpinner-DCqiXAYk.cjs} +1 -1
  17. package/components/{CashierSpinner-C6V8vmbe.js → CashierSpinner-DO7iikrx.js} +16 -16
  18. package/components/{CashierSpinner-DacPlkWp.js → CashierSpinner-DT2gT_0p.js} +16 -16
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/esnext/cashier-method-details.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
  24. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  25. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
  26. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  27. package/stencil/{ui-image-D3_FGUyo.js → ui-image-C7s6Uvn5.js} +1 -1
  28. package/stencil/{ui-image-CYuYAlOX.js → ui-image-CHeV8e9p.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  32. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Bm97-wkj.js} +2 -2
  33. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  34. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-qO3reSlr.js} +2 -2
  35. package/components/CashierError-Dj7N5HFs.js +0 -4660
  36. package/components/CashierError-DjXZbKLf.js +0 -4623
  37. package/components/CashierError-P9Tj6USM.cjs +0 -21
  38. package/components/CashierMethodDetails-Dtj10PEv.cjs +0 -86
  39. package/components/CashierModal-01IRo-VX.cjs +0 -1
  40. package/components/CashierReceiptPage-BdxwO-LT.cjs +0 -1
  41. package/components/CashierReceiptPage-Cpss5ybm.js +0 -1622
  42. package/components/CashierReceiptPage-RnRw60xK.js +0 -1620
  43. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-DqG41odi.cjs");function b(i,{delay:e=0,duration:n=400,easing:s=t.identity}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:n,easing:s,css:a=>`opacity: ${a*l}`}}function L(i){t.append_styles(i,"svelte-2w7akv","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){#Modal{display:grid;place-items:center start;grid-template-rows:minmax(10vh, 1fr) auto minmax(5vh, 1fr)}.ModalContainer{grid-row:2;max-width:90%;max-height:80vh;overflow-y:auto;margin:auto}}")}const M=i=>({}),C=i=>({});function v(i){let e,n,s,l,a,g,h,w,c,d,f,_;const m=i[12].content,o=t.create_slot(m,i,i[11],C);return{c(){e=t.element("div"),n=t.element("div"),s=t.element("div"),l=t.svg_element("svg"),a=t.svg_element("path"),g=t.space(),o&&o.c(),t.attr(a,"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"),t.attr(a,"fill","#111111"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","13"),t.attr(l,"height","13"),t.attr(l,"viewBox","0 0 13 13"),t.attr(l,"fill","none"),t.attr(l,"class","CloseButton"),t.attr(s,"class","ModalContainer"),t.attr(s,"style",h=i[3]==="true"?"height: 70%":"height: auto"),t.attr(n,"id","Modal"),t.add_render_callback(()=>i[14].call(n))},m(u,y){t.insert(u,e,y),t.append(e,n),t.append(n,s),t.append(s,l),t.append(l,a),t.append(s,g),o&&o.m(s,null),i[13](n),w=t.add_iframe_resize_listener(n,i[14].bind(n)),i[15](e),d=!0,f||(_=t.listen(l,"click",i[7]),f=!0)},p(u,y){i=u,o&&o.p&&(!d||y&2048)&&t.update_slot_base(o,m,i,i[11],d?t.get_slot_changes(m,i[11],y,M):t.get_all_dirty_from_scope(i[11]),C),(!d||y&8&&h!==(h=i[3]==="true"?"height: 70%":"height: auto"))&&t.attr(s,"style",h)},i(u){d||(t.transition_in(o,u),u&&t.add_render_callback(()=>{d&&(c||(c=t.create_bidirectional_transition(n,b,i[4],!0)),c.run(1))}),d=!0)},o(u){t.transition_out(o,u),u&&(c||(c=t.create_bidirectional_transition(n,b,i[4],!1)),c.run(0)),d=!1},d(u){u&&t.detach(e),o&&o.d(u),i[13](null),w(),u&&c&&c.end(),i[15](null),f=!1,_()}}}function S(i){let e,n,s=i[2]==="true"&&v(i);return{c(){s&&s.c(),e=t.empty()},m(l,a){s&&s.m(l,a),t.insert(l,e,a),n=!0},p(l,[a]){l[2]==="true"?s?(s.p(l,a),a&4&&t.transition_in(s,1)):(s=v(l),s.c(),t.transition_in(s,1),s.m(e.parentNode,e)):s&&(t.group_outros(),t.transition_out(s,1,1,()=>{s=null}),t.check_outros())},i(l){n||(t.transition_in(s),n=!0)},o(l){t.transition_out(s),n=!1},d(l){l&&t.detach(e),s&&s.d(l)}}}function z(i,e,n){let{$$slots:s={},$$scope:l}=e,{mbsource:a}=e,{clientstyling:g}=e,{clientstylingurl:h}=e,{show:w}=e,{isvideo:c=""}=e,{duration:d=200}=e,{width:f}=e,{height:_}=e,m,o;const u=()=>{window.postMessage({type:"CloseModal"},window.location.href)};t.onMount(()=>()=>{});function y(r){t.binding_callbacks[r?"unshift":"push"](()=>{m=r,n(6,m)})}function x(){f=this.clientWidth,_=this.clientHeight,n(0,f),n(1,_)}function k(r){t.binding_callbacks[r?"unshift":"push"](()=>{o=r,n(5,o)})}return i.$$set=r=>{"mbsource"in r&&n(8,a=r.mbsource),"clientstyling"in r&&n(9,g=r.clientstyling),"clientstylingurl"in r&&n(10,h=r.clientstylingurl),"show"in r&&n(2,w=r.show),"isvideo"in r&&n(3,c=r.isvideo),"duration"in r&&n(4,d=r.duration),"width"in r&&n(0,f=r.width),"height"in r&&n(1,_=r.height),"$$scope"in r&&n(11,l=r.$$scope)},i.$$.update=()=>{i.$$.dirty&544&&g&&o&&t.setClientStyling(o,g),i.$$.dirty&1056&&h&&o&&t.setClientStylingURL(o,h),i.$$.dirty&288&&a&&o&&t.setStreamStyling(o,`${a}.Style`)},[f,_,w,c,d,o,m,u,a,g,h,l,s,y,x,k]}class p extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,z,S,t.safe_not_equal,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,isvideo:3,duration:4,width:0,height:1},L)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get isvideo(){return this.$$.ctx[3]}set isvideo(e){this.$$set({isvideo:e}),t.flush()}get duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(p,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},isvideo:{},duration:{},width:{},height:{}},["content"],[],!0);exports.default=p;
@@ -1,5 +1,5 @@
1
- import { T as Z, S as A, f as E, h as g, j as G, s as I, k as J, A as N, q, U as v, V as L, W as Q, v as H, y as R, X as T, m as x, Q as M, n as V, o as u, l as k, r as C, Y as X, t as Y, Z as D, a0 as F, a1 as K, a2 as S, a3 as O, G as p, H as P, I as $, J as tt } from "./CashierError-Dj7N5HFs.js";
2
- function z(e, { delay: t = 0, duration: i = 400, easing: n = Z } = {}) {
1
+ import { P as W, S as Z, b as E, s as H, f as g, e as J, j as q, Q as L, R as v, T as O, U as P, l as N, x as Q, v as T, V, W as M, h as k, X, Y, Z as A, t as u, m as C, _ as D, o as F, q as x, J as p, r as G, C as S, M as I, N as K, O as $, d as tt } from "./CashierError-BrL5CAOl.js";
2
+ function z(e, { delay: t = 0, duration: i = 400, easing: n = W } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,16 +9,16 @@ function z(e, { delay: t = 0, duration: i = 400, easing: n = Z } = {}) {
9
9
  };
10
10
  }
11
11
  function et(e) {
12
- J(e, "svelte-f275jp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@media(max-width: 475px){#Modal{align-items:start}.ModalContainer{margin-top:50%;max-width:90%}}");
12
+ J(e, "svelte-2w7akv", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){#Modal{display:grid;place-items:center start;grid-template-rows:minmax(10vh, 1fr) auto minmax(5vh, 1fr)}.ModalContainer{grid-row:2;max-width:90%;max-height:80vh;overflow-y:auto;margin:auto}}");
13
13
  }
14
14
  const it = (e) => ({}), j = (e) => ({});
15
15
  function B(e) {
16
16
  let t, i, n, s, r, m, h, b, c, d, f, _;
17
- const y = (
17
+ const w = (
18
18
  /*#slots*/
19
19
  e[12].content
20
- ), o = T(
21
- y,
20
+ ), o = V(
21
+ w,
22
22
  e,
23
23
  /*$$scope*/
24
24
  e[11],
@@ -26,50 +26,50 @@ function B(e) {
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = x("div"), i = x("div"), n = x("div"), s = M("svg"), r = M("path"), m = V(), o && o.c(), u(r, "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(r, "fill", "#111111"), u(s, "xmlns", "http://www.w3.org/2000/svg"), u(s, "width", "13"), u(s, "height", "13"), u(s, "viewBox", "0 0 13 13"), u(s, "fill", "none"), u(s, "class", "CloseButton"), u(n, "class", "ModalContainer"), u(n, "style", h = /*isvideo*/
29
+ t = x("div"), i = x("div"), n = x("div"), s = p("svg"), r = p("path"), m = G(), o && o.c(), u(r, "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(r, "fill", "#111111"), u(s, "xmlns", "http://www.w3.org/2000/svg"), u(s, "width", "13"), u(s, "height", "13"), u(s, "viewBox", "0 0 13 13"), u(s, "fill", "none"), u(s, "class", "CloseButton"), u(n, "class", "ModalContainer"), u(n, "style", h = /*isvideo*/
30
30
  e[3] === "true" ? "height: 70%" : "height: auto"), u(i, "id", "Modal"), k(() => (
31
31
  /*div1_elementresize_handler*/
32
32
  e[14].call(i)
33
33
  ));
34
34
  },
35
- m(a, w) {
36
- q(a, t, w), C(t, i), C(i, n), C(n, s), C(s, r), C(n, m), o && o.m(n, null), e[13](i), b = X(
35
+ m(a, y) {
36
+ N(a, t, y), C(t, i), C(i, n), C(n, s), C(s, r), C(n, m), o && o.m(n, null), e[13](i), b = D(
37
37
  i,
38
38
  /*div1_elementresize_handler*/
39
39
  e[14].bind(i)
40
- ), e[15](t), d = !0, f || (_ = Y(
40
+ ), e[15](t), d = !0, f || (_ = F(
41
41
  s,
42
42
  "click",
43
43
  /*closeModal*/
44
44
  e[7]
45
45
  ), f = !0);
46
46
  },
47
- p(a, w) {
48
- e = a, o && o.p && (!d || w & /*$$scope*/
49
- 2048) && D(
47
+ p(a, y) {
48
+ e = a, o && o.p && (!d || y & /*$$scope*/
49
+ 2048) && X(
50
50
  o,
51
- y,
51
+ w,
52
52
  e,
53
53
  /*$$scope*/
54
54
  e[11],
55
- d ? K(
56
- y,
55
+ d ? A(
56
+ w,
57
57
  /*$$scope*/
58
58
  e[11],
59
- w,
59
+ y,
60
60
  it
61
- ) : F(
61
+ ) : Y(
62
62
  /*$$scope*/
63
63
  e[11]
64
64
  ),
65
65
  j
66
- ), (!d || w & /*isvideo*/
66
+ ), (!d || y & /*isvideo*/
67
67
  8 && h !== (h = /*isvideo*/
68
68
  e[3] === "true" ? "height: 70%" : "height: auto")) && u(n, "style", h);
69
69
  },
70
70
  i(a) {
71
71
  d || (v(o, a), a && k(() => {
72
- d && (c || (c = S(
72
+ d && (c || (c = M(
73
73
  i,
74
74
  z,
75
75
  /*duration*/
@@ -79,7 +79,7 @@ function B(e) {
79
79
  }), d = !0);
80
80
  },
81
81
  o(a) {
82
- L(o, a), a && (c || (c = S(
82
+ L(o, a), a && (c || (c = M(
83
83
  i,
84
84
  z,
85
85
  /*duration*/
@@ -88,7 +88,7 @@ function B(e) {
88
88
  )), c.run(0)), d = !1;
89
89
  },
90
90
  d(a) {
91
- a && H(t), o && o.d(a), e[13](null), b(), a && c && c.end(), e[15](null), f = !1, _();
91
+ a && q(t), o && o.d(a), e[13](null), b(), a && c && c.end(), e[15](null), f = !1, _();
92
92
  }
93
93
  };
94
94
  }
@@ -99,17 +99,17 @@ function nt(e) {
99
99
  );
100
100
  return {
101
101
  c() {
102
- n && n.c(), t = N();
102
+ n && n.c(), t = Q();
103
103
  },
104
104
  m(s, r) {
105
- n && n.m(s, r), q(s, t, r), i = !0;
105
+ n && n.m(s, r), N(s, t, r), i = !0;
106
106
  },
107
107
  p(s, [r]) {
108
108
  /*show*/
109
109
  s[2] === "true" ? n ? (n.p(s, r), r & /*show*/
110
110
  4 && v(n, 1)) : (n = B(s), n.c(), v(n, 1), n.m(t.parentNode, t)) : n && (O(), L(n, 1, 1, () => {
111
111
  n = null;
112
- }), Q());
112
+ }), P());
113
113
  },
114
114
  i(s) {
115
115
  i || (v(n), i = !0);
@@ -118,27 +118,27 @@ function nt(e) {
118
118
  L(n), i = !1;
119
119
  },
120
120
  d(s) {
121
- s && H(t), n && n.d(s);
121
+ s && q(t), n && n.d(s);
122
122
  }
123
123
  };
124
124
  }
125
125
  function st(e, t, i) {
126
- let { $$slots: n = {}, $$scope: s } = t, { mbsource: r } = t, { clientstyling: m } = t, { clientstylingurl: h } = t, { show: b } = t, { isvideo: c = "" } = t, { duration: d = 200 } = t, { width: f } = t, { height: _ } = t, y, o;
126
+ let { $$slots: n = {}, $$scope: s } = t, { mbsource: r } = t, { clientstyling: m } = t, { clientstylingurl: h } = t, { show: b } = t, { isvideo: c = "" } = t, { duration: d = 200 } = t, { width: f } = t, { height: _ } = t, w, o;
127
127
  const a = () => {
128
128
  window.postMessage({ type: "CloseModal" }, window.location.href);
129
129
  };
130
- R(() => () => {
130
+ T(() => () => {
131
131
  });
132
- function w(l) {
133
- p[l ? "unshift" : "push"](() => {
134
- y = l, i(6, y);
132
+ function y(l) {
133
+ S[l ? "unshift" : "push"](() => {
134
+ w = l, i(6, w);
135
135
  });
136
136
  }
137
- function U() {
137
+ function R() {
138
138
  f = this.clientWidth, _ = this.clientHeight, i(0, f), i(1, _);
139
139
  }
140
- function W(l) {
141
- p[l ? "unshift" : "push"](() => {
140
+ function U(l) {
141
+ S[l ? "unshift" : "push"](() => {
142
142
  o = l, i(5, o);
143
143
  });
144
144
  }
@@ -146,9 +146,9 @@ function st(e, t, i) {
146
146
  "mbsource" in l && i(8, r = l.mbsource), "clientstyling" in l && i(9, m = l.clientstyling), "clientstylingurl" in l && i(10, h = l.clientstylingurl), "show" in l && i(2, b = l.show), "isvideo" in l && i(3, c = l.isvideo), "duration" in l && i(4, d = l.duration), "width" in l && i(0, f = l.width), "height" in l && i(1, _ = l.height), "$$scope" in l && i(11, s = l.$$scope);
147
147
  }, e.$$.update = () => {
148
148
  e.$$.dirty & /*clientstyling, customStylingContainer*/
149
- 544 && m && o && P(o, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
150
- 1056 && h && o && $(o, h), e.$$.dirty & /*mbsource, customStylingContainer*/
151
- 288 && r && o && tt(o, `${r}.Style`);
149
+ 544 && m && o && I(o, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
150
+ 1056 && h && o && K(o, h), e.$$.dirty & /*mbsource, customStylingContainer*/
151
+ 288 && r && o && $(o, `${r}.Style`);
152
152
  }, [
153
153
  f,
154
154
  _,
@@ -156,26 +156,26 @@ function st(e, t, i) {
156
156
  c,
157
157
  d,
158
158
  o,
159
- y,
159
+ w,
160
160
  a,
161
161
  r,
162
162
  m,
163
163
  h,
164
164
  s,
165
165
  n,
166
- w,
167
- U,
168
- W
166
+ y,
167
+ R,
168
+ U
169
169
  ];
170
170
  }
171
- class lt extends A {
171
+ class lt extends Z {
172
172
  constructor(t) {
173
173
  super(), E(
174
174
  this,
175
175
  t,
176
176
  st,
177
177
  nt,
178
- I,
178
+ H,
179
179
  {
180
180
  mbsource: 8,
181
181
  clientstyling: 9,
@@ -238,7 +238,7 @@ class lt extends A {
238
238
  this.$$set({ height: t }), g();
239
239
  }
240
240
  }
241
- G(lt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, isvideo: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
241
+ tt(lt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, isvideo: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
242
242
  export {
243
243
  lt as default
244
244
  };
@@ -1,5 +1,5 @@
1
- import { T as Z, S as A, h as E, j as g, f as G, s as I, k as J, A as N, q, U as v, V as L, W as Q, v as H, y as R, X as T, m as x, Q as M, n as V, o as u, l as k, r as C, Y as X, t as Y, Z as D, a0 as F, a1 as K, a2 as S, a3 as O, G as p, H as P, I as $, J as tt } from "./CashierError-DjXZbKLf.js";
2
- function z(e, { delay: t = 0, duration: i = 400, easing: n = Z } = {}) {
1
+ import { P as W, S as Z, d as E, s as H, f as g, e as J, j as q, Q as L, R as v, T as O, U as P, l as N, x as Q, v as T, V, W as M, h as k, X, Y, Z as A, t as u, m as C, _ as D, o as F, q as x, J as p, r as G, C as S, M as I, N as K, O as $, b as tt } from "./CashierError-Ct47Rqvt.js";
2
+ function z(e, { delay: t = 0, duration: i = 400, easing: n = W } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,16 +9,16 @@ function z(e, { delay: t = 0, duration: i = 400, easing: n = Z } = {}) {
9
9
  };
10
10
  }
11
11
  function et(e) {
12
- J(e, "svelte-f275jp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@media(max-width: 475px){#Modal{align-items:start}.ModalContainer{margin-top:50%;max-width:90%}}");
12
+ J(e, "svelte-2w7akv", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){#Modal{display:grid;place-items:center start;grid-template-rows:minmax(10vh, 1fr) auto minmax(5vh, 1fr)}.ModalContainer{grid-row:2;max-width:90%;max-height:80vh;overflow-y:auto;margin:auto}}");
13
13
  }
14
14
  const it = (e) => ({}), j = (e) => ({});
15
15
  function B(e) {
16
16
  let t, i, n, s, r, m, h, b, c, d, f, _;
17
- const y = (
17
+ const w = (
18
18
  /*#slots*/
19
19
  e[12].content
20
- ), o = T(
21
- y,
20
+ ), o = V(
21
+ w,
22
22
  e,
23
23
  /*$$scope*/
24
24
  e[11],
@@ -26,50 +26,50 @@ function B(e) {
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = x("div"), i = x("div"), n = x("div"), s = M("svg"), r = M("path"), m = V(), o && o.c(), u(r, "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(r, "fill", "#111111"), u(s, "xmlns", "http://www.w3.org/2000/svg"), u(s, "width", "13"), u(s, "height", "13"), u(s, "viewBox", "0 0 13 13"), u(s, "fill", "none"), u(s, "class", "CloseButton"), u(n, "class", "ModalContainer"), u(n, "style", h = /*isvideo*/
29
+ t = x("div"), i = x("div"), n = x("div"), s = p("svg"), r = p("path"), m = G(), o && o.c(), u(r, "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(r, "fill", "#111111"), u(s, "xmlns", "http://www.w3.org/2000/svg"), u(s, "width", "13"), u(s, "height", "13"), u(s, "viewBox", "0 0 13 13"), u(s, "fill", "none"), u(s, "class", "CloseButton"), u(n, "class", "ModalContainer"), u(n, "style", h = /*isvideo*/
30
30
  e[3] === "true" ? "height: 70%" : "height: auto"), u(i, "id", "Modal"), k(() => (
31
31
  /*div1_elementresize_handler*/
32
32
  e[14].call(i)
33
33
  ));
34
34
  },
35
- m(a, w) {
36
- q(a, t, w), C(t, i), C(i, n), C(n, s), C(s, r), C(n, m), o && o.m(n, null), e[13](i), b = X(
35
+ m(a, y) {
36
+ N(a, t, y), C(t, i), C(i, n), C(n, s), C(s, r), C(n, m), o && o.m(n, null), e[13](i), b = D(
37
37
  i,
38
38
  /*div1_elementresize_handler*/
39
39
  e[14].bind(i)
40
- ), e[15](t), d = !0, f || (_ = Y(
40
+ ), e[15](t), d = !0, f || (_ = F(
41
41
  s,
42
42
  "click",
43
43
  /*closeModal*/
44
44
  e[7]
45
45
  ), f = !0);
46
46
  },
47
- p(a, w) {
48
- e = a, o && o.p && (!d || w & /*$$scope*/
49
- 2048) && D(
47
+ p(a, y) {
48
+ e = a, o && o.p && (!d || y & /*$$scope*/
49
+ 2048) && X(
50
50
  o,
51
- y,
51
+ w,
52
52
  e,
53
53
  /*$$scope*/
54
54
  e[11],
55
- d ? K(
56
- y,
55
+ d ? A(
56
+ w,
57
57
  /*$$scope*/
58
58
  e[11],
59
- w,
59
+ y,
60
60
  it
61
- ) : F(
61
+ ) : Y(
62
62
  /*$$scope*/
63
63
  e[11]
64
64
  ),
65
65
  j
66
- ), (!d || w & /*isvideo*/
66
+ ), (!d || y & /*isvideo*/
67
67
  8 && h !== (h = /*isvideo*/
68
68
  e[3] === "true" ? "height: 70%" : "height: auto")) && u(n, "style", h);
69
69
  },
70
70
  i(a) {
71
71
  d || (v(o, a), a && k(() => {
72
- d && (c || (c = S(
72
+ d && (c || (c = M(
73
73
  i,
74
74
  z,
75
75
  /*duration*/
@@ -79,7 +79,7 @@ function B(e) {
79
79
  }), d = !0);
80
80
  },
81
81
  o(a) {
82
- L(o, a), a && (c || (c = S(
82
+ L(o, a), a && (c || (c = M(
83
83
  i,
84
84
  z,
85
85
  /*duration*/
@@ -88,7 +88,7 @@ function B(e) {
88
88
  )), c.run(0)), d = !1;
89
89
  },
90
90
  d(a) {
91
- a && H(t), o && o.d(a), e[13](null), b(), a && c && c.end(), e[15](null), f = !1, _();
91
+ a && q(t), o && o.d(a), e[13](null), b(), a && c && c.end(), e[15](null), f = !1, _();
92
92
  }
93
93
  };
94
94
  }
@@ -99,17 +99,17 @@ function nt(e) {
99
99
  );
100
100
  return {
101
101
  c() {
102
- n && n.c(), t = N();
102
+ n && n.c(), t = Q();
103
103
  },
104
104
  m(s, r) {
105
- n && n.m(s, r), q(s, t, r), i = !0;
105
+ n && n.m(s, r), N(s, t, r), i = !0;
106
106
  },
107
107
  p(s, [r]) {
108
108
  /*show*/
109
109
  s[2] === "true" ? n ? (n.p(s, r), r & /*show*/
110
110
  4 && v(n, 1)) : (n = B(s), n.c(), v(n, 1), n.m(t.parentNode, t)) : n && (O(), L(n, 1, 1, () => {
111
111
  n = null;
112
- }), Q());
112
+ }), P());
113
113
  },
114
114
  i(s) {
115
115
  i || (v(n), i = !0);
@@ -118,27 +118,27 @@ function nt(e) {
118
118
  L(n), i = !1;
119
119
  },
120
120
  d(s) {
121
- s && H(t), n && n.d(s);
121
+ s && q(t), n && n.d(s);
122
122
  }
123
123
  };
124
124
  }
125
125
  function st(e, t, i) {
126
- let { $$slots: n = {}, $$scope: s } = t, { mbsource: r } = t, { clientstyling: m } = t, { clientstylingurl: h } = t, { show: b } = t, { isvideo: c = "" } = t, { duration: d = 200 } = t, { width: f } = t, { height: _ } = t, y, o;
126
+ let { $$slots: n = {}, $$scope: s } = t, { mbsource: r } = t, { clientstyling: m } = t, { clientstylingurl: h } = t, { show: b } = t, { isvideo: c = "" } = t, { duration: d = 200 } = t, { width: f } = t, { height: _ } = t, w, o;
127
127
  const a = () => {
128
128
  window.postMessage({ type: "CloseModal" }, window.location.href);
129
129
  };
130
- R(() => () => {
130
+ T(() => () => {
131
131
  });
132
- function w(l) {
133
- p[l ? "unshift" : "push"](() => {
134
- y = l, i(6, y);
132
+ function y(l) {
133
+ S[l ? "unshift" : "push"](() => {
134
+ w = l, i(6, w);
135
135
  });
136
136
  }
137
- function U() {
137
+ function R() {
138
138
  f = this.clientWidth, _ = this.clientHeight, i(0, f), i(1, _);
139
139
  }
140
- function W(l) {
141
- p[l ? "unshift" : "push"](() => {
140
+ function U(l) {
141
+ S[l ? "unshift" : "push"](() => {
142
142
  o = l, i(5, o);
143
143
  });
144
144
  }
@@ -146,9 +146,9 @@ function st(e, t, i) {
146
146
  "mbsource" in l && i(8, r = l.mbsource), "clientstyling" in l && i(9, m = l.clientstyling), "clientstylingurl" in l && i(10, h = l.clientstylingurl), "show" in l && i(2, b = l.show), "isvideo" in l && i(3, c = l.isvideo), "duration" in l && i(4, d = l.duration), "width" in l && i(0, f = l.width), "height" in l && i(1, _ = l.height), "$$scope" in l && i(11, s = l.$$scope);
147
147
  }, e.$$.update = () => {
148
148
  e.$$.dirty & /*clientstyling, customStylingContainer*/
149
- 544 && m && o && P(o, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
150
- 1056 && h && o && $(o, h), e.$$.dirty & /*mbsource, customStylingContainer*/
151
- 288 && r && o && tt(o, `${r}.Style`);
149
+ 544 && m && o && I(o, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
150
+ 1056 && h && o && K(o, h), e.$$.dirty & /*mbsource, customStylingContainer*/
151
+ 288 && r && o && $(o, `${r}.Style`);
152
152
  }, [
153
153
  f,
154
154
  _,
@@ -156,26 +156,26 @@ function st(e, t, i) {
156
156
  c,
157
157
  d,
158
158
  o,
159
- y,
159
+ w,
160
160
  a,
161
161
  r,
162
162
  m,
163
163
  h,
164
164
  s,
165
165
  n,
166
- w,
167
- U,
168
- W
166
+ y,
167
+ R,
168
+ U
169
169
  ];
170
170
  }
171
- class lt extends A {
171
+ class lt extends Z {
172
172
  constructor(t) {
173
173
  super(), E(
174
174
  this,
175
175
  t,
176
176
  st,
177
177
  nt,
178
- I,
178
+ H,
179
179
  {
180
180
  mbsource: 8,
181
181
  clientstyling: 9,
@@ -238,7 +238,7 @@ class lt extends A {
238
238
  this.$$set({ height: t }), g();
239
239
  }
240
240
  }
241
- G(lt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, isvideo: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
241
+ tt(lt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, isvideo: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
242
242
  export {
243
243
  lt as default
244
244
  };
@@ -1,4 +1,4 @@
1
- import { S as C, h as v, j as d, f as _, s as k, k as N, m as h, C as b, n as z, o as E, q as S, r as f, t as L, E as p, u as x, v as M, G as T } from "./CashierError-DjXZbKLf.js";
1
+ import { S as C, b as v, s as _, f as d, e as N, n as b, j as k, y as p, l as z, m as f, o as S, q as h, z as x, r as E, t as L, C as M, d as T } from "./CashierError-BrL5CAOl.js";
2
2
  function q(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
@@ -6,16 +6,16 @@ function H(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = b(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = b(
12
+ ), u = E(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), E(t, "class", "CashierNotifications");
15
+ ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,10 +35,10 @@ function H(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), n[6](null), i = !1, m();
41
+ o && k(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
@@ -61,7 +61,7 @@ function R(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- T[e ? "unshift" : "push"](() => {
64
+ M[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -88,7 +88,7 @@ class U extends C {
88
88
  t,
89
89
  R,
90
90
  H,
91
- k,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
@@ -123,7 +123,7 @@ class U extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ T(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  U as default
129
129
  };
@@ -1,21 +1,21 @@
1
- import { S as C, f as v, h as d, j as _, s as k, k as N, m as h, C as b, n as z, o as E, q as S, r as f, t as L, E as p, u as x, v as M, G as T } from "./CashierError-Dj7N5HFs.js";
1
+ import { S as C, d as v, f as d, s as _, b as N, e as k, n as b, j as z, y as p, l as S, m as f, o as E, q as h, z as x, r as L, t as M, C as T } from "./CashierError-Ct47Rqvt.js";
2
2
  function q(n) {
3
- N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
3
+ k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
5
  function H(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = b(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = b(
12
+ ), u = L(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), E(t, "class", "CashierNotifications");
15
+ ), M(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
18
+ S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,10 +35,10 @@ function H(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), n[6](null), i = !1, m();
41
+ o && z(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
@@ -88,7 +88,7 @@ class U extends C {
88
88
  t,
89
89
  R,
90
90
  H,
91
- k,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
@@ -123,7 +123,7 @@ class U extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ N(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  U as default
129
129
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-P9Tj6USM.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-DqG41odi.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;