glitchgrab 1.55.0 → 1.56.0

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.
package/dist/index.mjs CHANGED
@@ -7596,6 +7596,7 @@ var DARK = {
7596
7596
  input: "#1c1c1c",
7597
7597
  danger: "#f87171"
7598
7598
  };
7599
+ var GLITCHGRAB_LOGO = "data:image/webp;base64,UklGRp4EAABXRUJQVlA4WAoAAAAQAAAALwAALwAAQUxQSEUBAAABkKNt27FHd2y7tm0nG7Dt9FblLODfQVLZdjpVKm1nbDyjD+8zaiNiAqCiqU9eFxFRf0moLcTbVQ0efybJr9dzre5i3DRXpPjlSLR6TprnpOrnkUCVUg5J9ZeNWipo9XwmkaO2imzGSPBOsALbdRJ+ESxLZ4IYHjvI6SGWS/pSyR95UI+E4wkx/Rj/Kw2x3db/yfklH8r8SUOMtw0A21tOlABUEes+YJDXsbHpMa/PwT6feFF1JjF/7OL2H9jPLpdd+BdmHTa3vL7GYZ7XjTVaeM0ALq9Z5QAY5XRqCSDqE6MaANCa4HNm9RMCXrEpw68buIxqS+iO8ThyhLTtPofXYZAbdCHuYxHkBx+KelkEpU6LYg7CoVy/+4OAEUeomrSh1lG5FlTWz95U47DGGgL1E3uPvsq6msmxgmjTkOpHibYEWygHAFZQOCAyAwAA8A8AnQEqMAAwAD5RIo5FI6IhFVqtVDgFBLYAWI97RVZAlk7wMR3bb89h6MN4A3i/9zvSAphf3vH3/0HC3r5457/O2wKZ749Pc73B/1W60i0ECBPawzM4trUtZQ8JtnKZx+cwouZ82/u4HWY5VC5OeeUWNuV9ET+TBNS1eRgMFyatx05O0aeAAAD+/7CUHtrj64E06fYjHM7Q6zHWgTd3U0C4VJrAF/R5hdPSi82mSQBF5QsO33GBZY8X0rVCdP/z4T1K4kahIp5q2b7v5a27kvLvT6COf70O+y7YmvruHd6RDcU1mBjIlm8lam4muqzNQUzxqeGx/jHt+J9b9i8HosTQeKYzbaueiRUr4JsXe8LUT5L/a/f/yKVjFFWpgGv10mBFfcEOWZIh8E05Ycfl3+usHVjX3TPD8CV0qYDRUWvkEliByCh0+LlmWIx+hfITiHKBEMnfETAvxOR9mmb+uq6rxA8jM4co//NoOTG0t5aeCEFeay8OZB54GerisvQV9nQEPqaHCz11f/LqoYK741K+CrbQxFXH6J5eaWL/GeJTngtDoj+gA9j9xAtjY1KpSt3MVV49bD2yr7RQ11A8S1rx5/AKmEPnvuMe8rjGBOnNy/3NLI0Et/IIL90XbGd1iwnOBKQo4L+bILSQoJBkGlRVBzLnBbHhGD61nqtu6E+abGIujbnpSkr0CGTkADsl+GhZiKsDk+/rrkzlRXKETXRvEkEijwm9kSEEyvZih4Q3G83MyTTncMY/rK3kygpJrXRvct4f2jYwk9v7+XSypDagws/032dx8xxVJXSXJ39MjKKEIFn7OWNuQHgTMtjrOa/oqen5l2w4X9ExYGneasi4Qx+vFjUCcm2WmUocqcP2PYmXWCYvCb/9GTfej/GE0Ow9xM4Ig9NrrL8g/wNMKu3W3GWpCEXljm6jSM9G1/EAwjoAAwE3M4pBphXhZ3lptxATFI3PHvirASzzBxTQOZKTE8kD8+cUUTnpLznfoM4L9zihNIlJl4NfTbxtKZpeaNMuzqZGwOxPBGzt/oi2nkR2B9/7ciZxk3EhbqrxGpEZ0VB0DldyrzwuF/G80twAAAA=";
7599
7600
  var WEEKDAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
7600
7601
  var DAY_MS = 864e5;
7601
7602
  var ZONE_PAD_MS = 14 * 36e5;
@@ -7870,6 +7871,55 @@ function BookingDialog({
7870
7871
  const selectedEnd = selected ? (_e = selected.endsAt) != null ? _e : new Date(new Date(selected.startsAt).getTime() + page.slotMinutes * 6e4).toISOString() : null;
7871
7872
  const monthDate = new Date(keyToUtc(`${month}-01`));
7872
7873
  const muted = { color: t.muted };
7874
+ const credit = /* @__PURE__ */ jsx6(
7875
+ "div",
7876
+ {
7877
+ style: {
7878
+ marginTop: wide ? whatsappUrl && step === "slots" ? 14 : "auto" : 0,
7879
+ padding: wide ? 0 : "4px 20px 18px",
7880
+ display: "flex",
7881
+ justifyContent: wide ? "flex-start" : "center"
7882
+ },
7883
+ children: /* @__PURE__ */ jsxs6(
7884
+ "a",
7885
+ {
7886
+ href: "https://glitchgrab.dev/?utm_source=booking-dialog",
7887
+ target: "_blank",
7888
+ rel: "noreferrer",
7889
+ className: "gg-bk-ghost",
7890
+ style: {
7891
+ display: "inline-flex",
7892
+ alignItems: "center",
7893
+ gap: 7,
7894
+ padding: "4px 11px 4px 4px",
7895
+ borderRadius: 999,
7896
+ border: `1px solid ${t.border}`,
7897
+ fontSize: 11.5,
7898
+ letterSpacing: "0.01em",
7899
+ color: t.muted,
7900
+ textDecoration: "none",
7901
+ whiteSpace: "nowrap"
7902
+ },
7903
+ children: [
7904
+ /* @__PURE__ */ jsx6(
7905
+ "img",
7906
+ {
7907
+ src: GLITCHGRAB_LOGO,
7908
+ alt: "",
7909
+ width: 18,
7910
+ height: 18,
7911
+ style: { width: 18, height: 18, borderRadius: 999, display: "block" }
7912
+ }
7913
+ ),
7914
+ /* @__PURE__ */ jsxs6("span", { children: [
7915
+ "Powered by ",
7916
+ /* @__PURE__ */ jsx6("span", { style: { color: t.text, fontWeight: 600 }, children: "Glitchgrab" })
7917
+ ] })
7918
+ ]
7919
+ }
7920
+ )
7921
+ }
7922
+ );
7873
7923
  const summary = /* @__PURE__ */ jsxs6(
7874
7924
  "div",
7875
7925
  {
@@ -8017,7 +8067,8 @@ function BookingDialog({
8017
8067
  ] })
8018
8068
  ]
8019
8069
  }
8020
- )
8070
+ ),
8071
+ wide && credit
8021
8072
  ]
8022
8073
  }
8023
8074
  );
@@ -8407,7 +8458,8 @@ function BookingDialog({
8407
8458
  step === "slots" ? /* @__PURE__ */ jsxs6(Fragment5, { children: [
8408
8459
  calendar,
8409
8460
  times
8410
- ] }) : form
8461
+ ] }) : form,
8462
+ !wide && credit
8411
8463
  ]
8412
8464
  }
8413
8465
  )