@campphillip/widgets 3.1.6 → 3.1.8

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.
@@ -48,16 +48,16 @@ var D = On() ? Object.assign : function(t, e) {
48
48
  }
49
49
  }
50
50
  return n;
51
- }, Oe = {}, vt = {}, z = {}, Ue = {};
51
+ }, Ee = {}, vt = {}, z = {}, Ue = {};
52
52
  Object.defineProperty(Ue, "__esModule", { value: !0 });
53
53
  function En(t) {
54
54
  return typeof t == "function";
55
55
  }
56
56
  Ue.isFunction = En;
57
- var ke = {}, Ee = {};
58
- Object.defineProperty(Ee, "__esModule", { value: !0 });
57
+ var ke = {}, Se = {};
58
+ Object.defineProperty(Se, "__esModule", { value: !0 });
59
59
  var Ve = !1;
60
- Ee.config = {
60
+ Se.config = {
61
61
  Promise: void 0,
62
62
  set useDeprecatedSynchronousErrorHandling(t) {
63
63
  if (t) {
@@ -81,7 +81,7 @@ function Sn(t) {
81
81
  }
82
82
  Ne.hostReportError = Sn;
83
83
  Object.defineProperty(ke, "__esModule", { value: !0 });
84
- var xn = Ee, Cn = Ne;
84
+ var xn = Se, Cn = Ne;
85
85
  ke.empty = {
86
86
  closed: !0,
87
87
  next: function(t) {
@@ -230,7 +230,7 @@ var Tr = j && j.__extends || function() {
230
230
  };
231
231
  }();
232
232
  Object.defineProperty(z, "__esModule", { value: !0 });
233
- var Wt = Ue, ot = ke, An = mt, Rn = wt, ue = Ee, Te = Ne, jr = function(t) {
233
+ var Wt = Ue, ot = ke, An = mt, Rn = wt, ue = Se, je = Ne, jr = function(t) {
234
234
  Tr(e, t);
235
235
  function e(r, n, a) {
236
236
  var i = t.call(this) || this;
@@ -297,11 +297,11 @@ var st = function(t) {
297
297
  if (this._error)
298
298
  !a || !n.syncErrorThrowable ? (this.__tryOrUnsub(this._error, r), this.unsubscribe()) : (this.__tryOrSetError(n, this._error, r), this.unsubscribe());
299
299
  else if (n.syncErrorThrowable)
300
- a ? (n.syncErrorValue = r, n.syncErrorThrown = !0) : Te.hostReportError(r), this.unsubscribe();
300
+ a ? (n.syncErrorValue = r, n.syncErrorThrown = !0) : je.hostReportError(r), this.unsubscribe();
301
301
  else {
302
302
  if (this.unsubscribe(), a)
303
303
  throw r;
304
- Te.hostReportError(r);
304
+ je.hostReportError(r);
305
305
  }
306
306
  }
307
307
  }, e.prototype.complete = function() {
@@ -322,7 +322,7 @@ var st = function(t) {
322
322
  } catch (a) {
323
323
  if (this.unsubscribe(), ue.config.useDeprecatedSynchronousErrorHandling)
324
324
  throw a;
325
- Te.hostReportError(a);
325
+ je.hostReportError(a);
326
326
  }
327
327
  }, e.prototype.__tryOrSetError = function(r, n, a) {
328
328
  if (!ue.config.useDeprecatedSynchronousErrorHandling)
@@ -330,7 +330,7 @@ var st = function(t) {
330
330
  try {
331
331
  n.call(this._context, a);
332
332
  } catch (i) {
333
- return ue.config.useDeprecatedSynchronousErrorHandling ? (r.syncErrorValue = i, r.syncErrorThrown = !0, !0) : (Te.hostReportError(i), !0);
333
+ return ue.config.useDeprecatedSynchronousErrorHandling ? (r.syncErrorValue = i, r.syncErrorThrown = !0, !0) : (je.hostReportError(i), !0);
334
334
  }
335
335
  return !1;
336
336
  }, e.prototype._unsubscribe = function() {
@@ -388,8 +388,8 @@ var kn = function() {
388
388
  n && this.destination.next(r);
389
389
  }, e;
390
390
  }($n.Subscriber);
391
- Oe.filter = vt.filter;
392
- var Se = {}, He = {}, Hn = j && j.__extends || function() {
391
+ Ee.filter = vt.filter;
392
+ var xe = {}, He = {}, Hn = j && j.__extends || function() {
393
393
  var t = function(e, r) {
394
394
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, a) {
395
395
  n.__proto__ = a;
@@ -442,7 +442,7 @@ var Fn = function(t) {
442
442
  this.destination.next(n);
443
443
  }, e;
444
444
  }(Wn.Subscriber);
445
- Se.map = He.map;
445
+ xe.map = He.map;
446
446
  var Bn = function(t) {
447
447
  var e = typeof t;
448
448
  return t !== null && (e === "object" || e === "function");
@@ -548,7 +548,7 @@ var Vn = function(e) {
548
548
  function Ge(t, e, r) {
549
549
  return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
550
550
  }
551
- var Gn = Vn, Z = D, Qn = Mr, Ar = te, je = Ar.validateObject, Jn = Ar.validateInsert;
551
+ var Gn = Vn, Z = D, Qn = Mr, Ar = te, De = Ar.validateObject, Jn = Ar.validateInsert;
552
552
  function ct(t) {
553
553
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
554
554
  this.selection = t, this.operations = Z({}, e), this.client = r;
@@ -558,7 +558,7 @@ Z(ct.prototype, {
558
558
  return new ct(this.selection, Z({}, this.operations), this.client);
559
559
  },
560
560
  merge: function(e) {
561
- je("merge", e);
561
+ De("merge", e);
562
562
  var r = new Error().stack.toString().split(`
563
563
  `).filter(function(n) {
564
564
  return n.trim();
@@ -571,7 +571,7 @@ Z(ct.prototype, {
571
571
  return this._assign("set", e);
572
572
  },
573
573
  diffMatchPatch: function(e) {
574
- return je("diffMatchPatch", e), this._assign("diffMatchPatch", e);
574
+ return De("diffMatchPatch", e), this._assign("diffMatchPatch", e);
575
575
  },
576
576
  unset: function(e) {
577
577
  if (!Array.isArray(e))
@@ -584,7 +584,7 @@ Z(ct.prototype, {
584
584
  return this._assign("setIfMissing", e);
585
585
  },
586
586
  replace: function(e) {
587
- return je("replace", e), this._set("set", {
587
+ return De("replace", e), this._set("set", {
588
588
  $: e
589
589
  });
590
590
  },
@@ -637,7 +637,7 @@ Z(ct.prototype, {
637
637
  },
638
638
  _assign: function(e, r) {
639
639
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
640
- return je(e, r), this.operations = Z({}, this.operations, Ge({}, e, Z({}, n && this.operations[e] || {}, r))), this;
640
+ return De(e, r), this.operations = Z({}, this.operations, Ge({}, e, Z({}, n && this.operations[e] || {}, r))), this;
641
641
  }
642
642
  });
643
643
  var _t = ct;
@@ -776,20 +776,20 @@ Object.defineProperty(St, "__esModule", { value: !0 });
776
776
  St.observable = function() {
777
777
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
778
778
  }();
779
- var xe = {}, xt = {};
779
+ var Ce = {}, xt = {};
780
780
  Object.defineProperty(xt, "__esModule", { value: !0 });
781
781
  function oa(t) {
782
782
  return t;
783
783
  }
784
784
  xt.identity = oa;
785
- Object.defineProperty(xe, "__esModule", { value: !0 });
785
+ Object.defineProperty(Ce, "__esModule", { value: !0 });
786
786
  var sa = xt;
787
787
  function ua() {
788
788
  for (var t = [], e = 0; e < arguments.length; e++)
789
789
  t[e] = arguments[e];
790
790
  return $r(t);
791
791
  }
792
- xe.pipe = ua;
792
+ Ce.pipe = ua;
793
793
  function $r(t) {
794
794
  return t.length === 0 ? sa.identity : t.length === 1 ? t[0] : function(r) {
795
795
  return t.reduce(function(n, a) {
@@ -797,9 +797,9 @@ function $r(t) {
797
797
  }, r);
798
798
  };
799
799
  }
800
- xe.pipeFromArray = $r;
800
+ Ce.pipeFromArray = $r;
801
801
  Object.defineProperty(We, "__esModule", { value: !0 });
802
- var ca = Ot, fa = Et, la = St, da = xe, Re = Ee, ha = function() {
802
+ var ca = Ot, fa = Et, la = St, da = Ce, Re = Se, ha = function() {
803
803
  function t(e) {
804
804
  this._isScalar = !1, e && (this._subscribe = e);
805
805
  }
@@ -1051,7 +1051,7 @@ var Da = function() {
1051
1051
  }, e;
1052
1052
  }(Ta.Subscriber);
1053
1053
  Object.defineProperty(Ct, "__esModule", { value: !0 });
1054
- var Xt = Pt, zt = Tt, Ma = Dt, Vt = xe;
1054
+ var Xt = Pt, zt = Tt, Ma = Dt, Vt = Ce;
1055
1055
  function Aa(t, e) {
1056
1056
  return arguments.length >= 2 ? function(n) {
1057
1057
  return Vt.pipe(Xt.scan(t, e), zt.takeLast(1), Ma.defaultIfEmpty(e))(n);
@@ -1063,7 +1063,7 @@ function Aa(t, e) {
1063
1063
  }
1064
1064
  Ct.reduce = Aa;
1065
1065
  Ur.reduce = Ct.reduce;
1066
- var Ra = We, Nr = Ra.Observable, Ia = D, $a = Se, Ua = $a.map, ka = Oe, Na = ka.filter, Ha = Ur, Wa = Ha.reduce;
1066
+ var Ra = We, Nr = Ra.Observable, Ia = D, $a = xe, Ua = $a.map, ka = Ee, Na = ka.filter, Ha = Ur, Wa = Ha.reduce;
1067
1067
  function J() {
1068
1068
  Nr.apply(this, arguments);
1069
1069
  }
@@ -1508,7 +1508,7 @@ function fi(t) {
1508
1508
  function Zt(t, e, r) {
1509
1509
  return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
1510
1510
  }
1511
- var li = D, di = Oe, Ze = di.filter, hi = Se, ge = hi.map, et = te, pi = Mr, vi = Ir, er = Rr, tr = _t, mi = ui, gi = function(e, r) {
1511
+ var li = D, di = Ee, Ze = di.filter, hi = xe, ge = hi.map, et = te, pi = Mr, vi = Ir, er = Rr, tr = _t, mi = ui, gi = function(e, r) {
1512
1512
  var n = typeof e > "u" ? r : e;
1513
1513
  return e === !1 ? void 0 : n;
1514
1514
  }, yi = function() {
@@ -1526,7 +1526,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, ge = hi.map, et = te, pi = Mr, vi
1526
1526
  return e.reduce(function(n, a) {
1527
1527
  return n[r(a)] = a, n;
1528
1528
  }, /* @__PURE__ */ Object.create(null));
1529
- }, De = function(e) {
1529
+ }, qe = function(e) {
1530
1530
  return e.toPromise();
1531
1531
  }, _i = 11264, Oi = {
1532
1532
  listen: mi,
@@ -1543,7 +1543,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, ge = hi.map, et = te, pi = Mr, vi
1543
1543
  query: e,
1544
1544
  params: r
1545
1545
  }, n).pipe(ge(a));
1546
- return this.isPromiseAPI() ? De(i) : i;
1546
+ return this.isPromiseAPI() ? qe(i) : i;
1547
1547
  },
1548
1548
  getDocument: function(e) {
1549
1549
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = {
@@ -1553,7 +1553,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, ge = hi.map, et = te, pi = Mr, vi
1553
1553
  }, a = this._requestObservable(n).pipe(Ze(tt), ge(function(i) {
1554
1554
  return i.body.documents && i.body.documents[0];
1555
1555
  }));
1556
- return this.isPromiseAPI() ? De(a) : a;
1556
+ return this.isPromiseAPI() ? qe(a) : a;
1557
1557
  },
1558
1558
  getDocuments: function(e) {
1559
1559
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = {
@@ -1568,7 +1568,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, ge = hi.map, et = te, pi = Mr, vi
1568
1568
  return o[s] || null;
1569
1569
  });
1570
1570
  }));
1571
- return this.isPromiseAPI() ? De(a) : a;
1571
+ return this.isPromiseAPI() ? qe(a) : a;
1572
1572
  },
1573
1573
  create: function(e, r) {
1574
1574
  return this._create(e, "create", r);
@@ -1601,7 +1601,7 @@ var li = D, di = Oe, Ze = di.filter, hi = Se, ge = hi.map, et = te, pi = Mr, vi
1601
1601
  },
1602
1602
  dataRequest: function(e, r) {
1603
1603
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = this._dataRequest(e, r, n);
1604
- return this.isPromiseAPI() ? De(a) : a;
1604
+ return this.isPromiseAPI() ? qe(a) : a;
1605
1605
  },
1606
1606
  _dataRequest: function(e, r) {
1607
1607
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = e === "mutate", i = e === "query", o = !a && vi(r), s = !a && o.length < _i, u = s ? o : "", c = n.returnFirst, g = n.timeout, d = n.token, p = n.tag, x = this.getDataUrl(e, u), C = {
@@ -1738,7 +1738,7 @@ function Ai(t) {
1738
1738
  if (Array.isArray(t))
1739
1739
  return t;
1740
1740
  }
1741
- var zr = D, Ri = Se, Ii = Ri.map, $i = Oe, Ui = $i.filter, ki = Ti, qe = te;
1741
+ var zr = D, Ri = xe, Ii = Ri.map, $i = Ee, Ui = $i.filter, ki = Ti, Me = te;
1742
1742
  function Vr(t) {
1743
1743
  this.client = t;
1744
1744
  }
@@ -1785,10 +1785,10 @@ zr(Vr.prototype, {
1785
1785
  */
1786
1786
  upload: function(e, r) {
1787
1787
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1788
- qe.validateAssetType(e);
1788
+ Me.validateAssetType(e);
1789
1789
  var a = n.extract || void 0;
1790
1790
  a && !a.length && (a = ["none"]);
1791
- var i = qe.hasDataset(this.client.clientConfig), o = e === "image" ? "images" : "files", s = Hi(n, r), u = s.tag, c = s.label, g = s.title, d = s.description, p = s.creditLine, x = s.filename, C = s.source, E = {
1791
+ var i = Me.hasDataset(this.client.clientConfig), o = e === "image" ? "images" : "files", s = Hi(n, r), u = s.tag, c = s.label, g = s.title, d = s.description, p = s.creditLine, x = s.filename, C = s.source, E = {
1792
1792
  label: c,
1793
1793
  title: g,
1794
1794
  description: d,
@@ -1817,7 +1817,7 @@ zr(Vr.prototype, {
1817
1817
  delete: function(e, r) {
1818
1818
  console.warn("client.assets.delete() is deprecated, please use client.delete(<document-id>)");
1819
1819
  var n = r || "";
1820
- return /^(image|file)-/.test(n) ? e._id && (n = e._id) : n = "".concat(e, "-").concat(n), qe.hasDataset(this.client.clientConfig), this.client.delete(n);
1820
+ return /^(image|file)-/.test(n) ? e._id && (n = e._id) : n = "".concat(e, "-").concat(n), Me.hasDataset(this.client.clientConfig), this.client.delete(n);
1821
1821
  },
1822
1822
  getImageUrl: function(e, r) {
1823
1823
  var n = e._ref || e;
@@ -1826,7 +1826,7 @@ zr(Vr.prototype, {
1826
1826
  if (!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(n))
1827
1827
  throw new Error('Unsupported asset ID "'.concat(n, '". URL generation only works for auto-generated IDs.'));
1828
1828
  var a = n.split("-"), i = ji(a, 4), o = i[1], s = i[2], u = i[3];
1829
- qe.hasDataset(this.client.clientConfig);
1829
+ Me.hasDataset(this.client.clientConfig);
1830
1830
  var c = this.client.clientConfig, g = c.projectId, d = c.dataset, p = r ? ki(r) : "";
1831
1831
  return "https://cdn.sanity.io/images/".concat(g, "/").concat(d, "/").concat(o, "-").concat(s, ".").concat(u).concat(p);
1832
1832
  }
@@ -2317,9 +2317,9 @@ var Po = function(t, e) {
2317
2317
  }, i.clone = function() {
2318
2318
  return t(n);
2319
2319
  }, e.forEach(i.use), i;
2320
- }, $o = Io, _e = { exports: {} };
2321
- typeof window < "u" ? _e.exports = window : typeof j < "u" ? _e.exports = j : typeof self < "u" ? _e.exports = self : _e.exports = {};
2322
- var Uo = _e.exports, ko = Uo, lr = D, No = function() {
2320
+ }, $o = Io, Oe = { exports: {} };
2321
+ typeof window < "u" ? Oe.exports = window : typeof j < "u" ? Oe.exports = j : typeof self < "u" ? Oe.exports = self : Oe.exports = {};
2322
+ var Uo = Oe.exports, ko = Uo, lr = D, No = function() {
2323
2323
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = t.implementation || ko.Observable;
2324
2324
  if (!e)
2325
2325
  throw new Error("`Observable` is not available in global scope, and no implementation was passed");
@@ -2580,7 +2580,7 @@ var hs = Be, pr = D, ps = "X-Sanity-Project-ID", vs = function(t) {
2580
2580
  json: !0,
2581
2581
  withCredentials: a
2582
2582
  });
2583
- }, fn = {}, Ce = {}, Ye = Mt, ms = Lr, Xe = function(e) {
2583
+ }, fn = {}, Pe = {}, Ye = Mt, ms = Lr, Xe = function(e) {
2584
2584
  return (
2585
2585
  // eslint-disable-next-line no-console
2586
2586
  ms(function() {
@@ -2590,12 +2590,12 @@ var hs = Be, pr = D, ps = "X-Sanity-Project-ID", vs = function(t) {
2590
2590
  })
2591
2591
  );
2592
2592
  };
2593
- Ce.printCdnWarning = Xe(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and", "cheaper. Think about it! For more info, see ".concat(Ye("js-client-cdn-configuration"), "."), "To hide this warning, please set the `useCdn` option to either `true` or `false` when creating", "the client."]);
2594
- Ce.printBrowserTokenWarning = Xe(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.", "See ".concat(Ye("js-client-browser-token"), " for more information and how to hide this warning.")]);
2595
- Ce.printCdnTokenWarning = Xe(["You have set `useCdn` to `true` while also specifying a token. This is usually not what you", "want. The CDN cannot be used with an authorization token, since private data cannot be cached.", "See ".concat(Ye("js-client-usecdn-token"), " for more information.")]);
2596
- Ce.printNoApiVersionSpecifiedWarning = Xe(["Using the Sanity client without specifying an API version is deprecated.", "See ".concat(Ye("js-client-api-version"))]);
2593
+ Pe.printCdnWarning = Xe(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and", "cheaper. Think about it! For more info, see ".concat(Ye("js-client-cdn-configuration"), "."), "To hide this warning, please set the `useCdn` option to either `true` or `false` when creating", "the client."]);
2594
+ Pe.printBrowserTokenWarning = Xe(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.", "See ".concat(Ye("js-client-browser-token"), " for more information and how to hide this warning.")]);
2595
+ Pe.printCdnTokenWarning = Xe(["You have set `useCdn` to `true` while also specifying a token. This is usually not what you", "want. The CDN cannot be used with an authorization token, since private data cannot be cached.", "See ".concat(Ye("js-client-usecdn-token"), " for more information.")]);
2596
+ Pe.printNoApiVersionSpecifiedWarning = Xe(["Using the Sanity client without specifying an API version is deprecated.", "See ".concat(Ye("js-client-api-version"))]);
2597
2597
  (function(t) {
2598
- var e = Mt, r = D, n = te, a = Ce, i = "apicdn.sanity.io", o = {
2598
+ var e = Mt, r = D, n = te, a = Pe, i = "apicdn.sanity.io", o = {
2599
2599
  apiHost: "https://api.sanity.io",
2600
2600
  apiVersion: "1",
2601
2601
  useProjectHostname: !0,
@@ -2656,7 +2656,7 @@ function gs(t) {
2656
2656
  function ys(t, e, r) {
2657
2657
  return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
2658
2658
  }
2659
- var he = D, bs = Oe, ws = bs.filter, _s = Se, Os = _s.map, Es = _t, Ss = Rr, xs = Oi, Cs = xi, Ps = Pi, Ts = Wi, js = Fi, Ds = Yi, ze = hs, qs = vs, ln = fn, Ms = ln.defaultConfig, As = ln.initConfig, Rs = te, Is = function(e) {
2659
+ var he = D, bs = Ee, ws = bs.filter, _s = xe, Os = _s.map, Es = _t, Ss = Rr, xs = Oi, Cs = xi, Ps = Pi, Ts = Wi, js = Fi, Ds = Yi, ze = hs, qs = vs, ln = fn, Ms = ln.defaultConfig, As = ln.initConfig, Rs = te, Is = function(e) {
2660
2660
  return e.toPromise();
2661
2661
  };
2662
2662
  function W() {
@@ -2916,12 +2916,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2916
2916
  height: U
2917
2917
  };
2918
2918
  } else {
2919
- var ne = y.width, Pe = Math.round(ne / A), mn = Math.max(0, Math.round(y.left)), gn = Math.round((P.bottom - P.top) / 2 + P.top), me = Math.max(0, Math.round(gn - Pe / 2));
2920
- me < y.top ? me = y.top : me + Pe > y.top + y.height && (me = y.top + y.height - Pe), v = {
2919
+ var ne = y.width, Te = Math.round(ne / A), mn = Math.max(0, Math.round(y.left)), gn = Math.round((P.bottom - P.top) / 2 + P.top), me = Math.max(0, Math.round(gn - Te / 2));
2920
+ me < y.top ? me = y.top : me + Te > y.top + y.height && (me = y.top + y.height - Te), v = {
2921
2921
  left: mn,
2922
2922
  top: me,
2923
2923
  width: ne,
2924
- height: Pe
2924
+ height: Te
2925
2925
  };
2926
2926
  }
2927
2927
  return {
@@ -4554,33 +4554,44 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4554
4554
  /* @__PURE__ */ m.jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
4555
4555
  ]
4556
4556
  }
4557
- ), xc = "_campEventsApp_6gd1t_1", Cc = "_eventsHeader_6gd1t_14", Pc = "_calendarButton_6gd1t_30", Tc = "_eventsContainer_6gd1t_50", Me = {
4557
+ ), xc = "_campEventsApp_17stc_1", Cc = "_eventsHeader_17stc_14", Pc = "_calendarButton_17stc_30", Tc = "_eventsContainer_17stc_50", jc = "_empty_17stc_57", _e = {
4558
4558
  campEventsApp: xc,
4559
4559
  eventsHeader: Cc,
4560
4560
  calendarButton: Pc,
4561
- eventsContainer: Tc
4562
- }, jc = ({
4561
+ eventsContainer: Tc,
4562
+ empty: jc
4563
+ }, Dc = ({
4563
4564
  events: t,
4564
4565
  loading: e,
4565
4566
  title: r = "What's going on at Camp?",
4566
4567
  showCalendar: n = !0
4567
- }) => /* @__PURE__ */ m.jsxs("div", { className: Me.campEventsApp, children: [
4568
- /* @__PURE__ */ m.jsxs("div", { className: Me.eventsHeader, children: [
4568
+ }) => /* @__PURE__ */ m.jsxs("div", { className: _e.campEventsApp, children: [
4569
+ /* @__PURE__ */ m.jsxs("div", { className: _e.eventsHeader, children: [
4569
4570
  /* @__PURE__ */ m.jsx("h1", { children: r }),
4570
- n && /* @__PURE__ */ m.jsxs("a", { className: Me.calendarButton, href: "/calendar", children: [
4571
+ n && /* @__PURE__ */ m.jsxs("a", { className: _e.calendarButton, href: "/calendar", children: [
4571
4572
  "Check out our calendar",
4572
4573
  /* @__PURE__ */ m.jsx(Sc, {})
4573
4574
  ] })
4574
4575
  ] }),
4575
- /* @__PURE__ */ m.jsx("div", { className: Me.eventsContainer, children: t.map((a, i) => /* @__PURE__ */ I.createElement(Oc, { ...a, key: i, loading: e })) })
4576
- ] }), Dc = "_contentButton_2dk7a_1", qc = "_overlay_2dk7a_40", Mc = "_buttonTitle_2dk7a_56", Ac = "_buttonSubtitle_2dk7a_57", Rc = "_contentButtonsHeader_2dk7a_73", de = {
4577
- contentButton: Dc,
4576
+ /* @__PURE__ */ m.jsx("div", { className: _e.eventsContainer, children: t.length > 0 ? t.map((a, i) => /* @__PURE__ */ I.createElement(
4577
+ Oc,
4578
+ {
4579
+ ...a,
4580
+ key: i,
4581
+ loading: e
4582
+ }
4583
+ )) : /* @__PURE__ */ m.jsxs("div", { className: _e.empty, children: [
4584
+ /* @__PURE__ */ m.jsx("img", { src: "https://d2114hmso7dut1.cloudfront.net/customers/096355b6-1a03-11eb-a9c3-0614187498c1/sites/096f9d4e-1a03-11eb-b2dd-0614187498c1/files/67900ba0-5f83-11eb-9222-e3d4d8baf1a9/original/file.png?t=1611630366" }),
4585
+ "No upcoming events. Check back later!"
4586
+ ] }) })
4587
+ ] }), qc = "_contentButton_2dk7a_1", Mc = "_overlay_2dk7a_40", Ac = "_buttonTitle_2dk7a_56", Rc = "_buttonSubtitle_2dk7a_57", Ic = "_contentButtonsHeader_2dk7a_73", de = {
4588
+ contentButton: qc,
4578
4589
  "category-image": "_category-image_2dk7a_25",
4579
- overlay: qc,
4580
- buttonTitle: Mc,
4581
- buttonSubtitle: Ac,
4582
- contentButtonsHeader: Rc
4583
- }, Ic = ({
4590
+ overlay: Mc,
4591
+ buttonTitle: Ac,
4592
+ buttonSubtitle: Rc,
4593
+ contentButtonsHeader: Ic
4594
+ }, $c = ({
4584
4595
  title: t,
4585
4596
  subtitle: e,
4586
4597
  url: r,
@@ -4613,14 +4624,14 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4613
4624
  /* @__PURE__ */ m.jsx("div", { className: de.buttonTitle, children: t }),
4614
4625
  /* @__PURE__ */ m.jsx("div", { className: de.buttonSubtitle, children: e })
4615
4626
  ] })
4616
- ] }), $c = "_categoryContainer_1yxkk_1", Uc = "_categoryContainerHeader_1yxkk_25", kc = {
4617
- categoryContainer: $c,
4618
- categoryContainerHeader: Uc
4619
- }, Nc = ({
4627
+ ] }), Uc = "_categoryContainer_1yxkk_1", kc = "_categoryContainerHeader_1yxkk_25", Nc = {
4628
+ categoryContainer: Uc,
4629
+ categoryContainerHeader: kc
4630
+ }, Hc = ({
4620
4631
  categories: t,
4621
4632
  loading: e
4622
- }) => /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsx("div", { className: kc.categoryContainer, children: t.length > 0 && t.map((r) => /* @__PURE__ */ m.jsx(
4623
- Ic,
4633
+ }) => /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsx("div", { className: Nc.categoryContainer, children: t.length > 0 && t.map((r) => /* @__PURE__ */ m.jsx(
4634
+ $c,
4624
4635
  {
4625
4636
  title: r.title,
4626
4637
  subtitle: r.subtitle,
@@ -4629,14 +4640,14 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4629
4640
  loading: e
4630
4641
  },
4631
4642
  r.title
4632
- )) }) }), Hc = (t) => t.map((e) => ({
4643
+ )) }) }), Wc = (t) => t.map((e) => ({
4633
4644
  ...e,
4634
4645
  imageUrl: kt(e.image).width(800).url()
4635
- })), Wc = "_description_z94kn_1", Lc = {
4636
- description: Wc
4637
- }, Fc = ({ rateDescription: t }) => {
4646
+ })), Lc = "_description_z94kn_1", Fc = {
4647
+ description: Lc
4648
+ }, Bc = ({ rateDescription: t }) => {
4638
4649
  const { title: e, text: r } = t || {};
4639
- return /* @__PURE__ */ m.jsxs("div", { className: Lc.description, children: [
4650
+ return /* @__PURE__ */ m.jsxs("div", { className: Fc.description, children: [
4640
4651
  e && /* @__PURE__ */ m.jsx("h4", { children: e }),
4641
4652
  r && /* @__PURE__ */ m.jsx("span", { children: r })
4642
4653
  ] });
@@ -4652,7 +4663,7 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4652
4663
  ] }), Er = {
4653
4664
  "group-title": "_group-title_12ylh_1",
4654
4665
  "rate-group-child": "_rate-group-child_12ylh_5"
4655
- }, Bc = ({ rateGroup: t }) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
4666
+ }, Yc = ({ rateGroup: t }) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
4656
4667
  /* @__PURE__ */ m.jsx(pt, { name: t.name, className: Er["group-title"] }),
4657
4668
  t.childRates.map((e) => /* @__PURE__ */ m.jsx(
4658
4669
  pt,
@@ -4667,7 +4678,7 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4667
4678
  "rate-table": "_rate-table_6wuu7_1",
4668
4679
  "background-darker": "_background-darker_6wuu7_15",
4669
4680
  "group-title": "_group-title_6wuu7_33"
4670
- }, Yc = (t) => {
4681
+ }, Xc = (t) => {
4671
4682
  const { rateTable: e } = t, r = e.some((i) => i._type === "rateGroup"), n = e.some((i) => i._type === "rate" && i.detail), a = e.map((i) => {
4672
4683
  if (i._type === "rate")
4673
4684
  return n && (i = {
@@ -4684,13 +4695,13 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4684
4695
  i.name
4685
4696
  );
4686
4697
  if (i._type === "rateGroup")
4687
- return /* @__PURE__ */ m.jsx(Bc, { rateGroup: i }, i.name);
4698
+ return /* @__PURE__ */ m.jsx(Yc, { rateGroup: i }, i.name);
4688
4699
  });
4689
4700
  return /* @__PURE__ */ m.jsx("table", { className: Sr["rate-table"], children: /* @__PURE__ */ m.jsx("tbody", { children: a }) });
4690
4701
  }, xr = {
4691
4702
  "rate-card": "_rate-card_i5ys9_1",
4692
4703
  "rate-card-heading": "_rate-card-heading_i5ys9_13"
4693
- }, Xc = (t) => {
4704
+ }, zc = (t) => {
4694
4705
  const { heading: e, rates: r } = t, n = r.reduce((a, i) => {
4695
4706
  if (i._type === "rateDescription")
4696
4707
  return [...a, i];
@@ -4701,9 +4712,9 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4701
4712
  }, []);
4702
4713
  return /* @__PURE__ */ m.jsxs("div", { className: xr["rate-card"], children: [
4703
4714
  /* @__PURE__ */ m.jsx("div", { className: xr["rate-card-heading"], children: /* @__PURE__ */ m.jsx("h3", { children: e }) }),
4704
- n.map((a, i) => Array.isArray(a) ? /* @__PURE__ */ m.jsx(Yc, { rateTable: a }, i) : /* @__PURE__ */ m.jsx(Fc, { rateDescription: a }, i))
4715
+ n.map((a, i) => Array.isArray(a) ? /* @__PURE__ */ m.jsx(Xc, { rateTable: a }, i) : /* @__PURE__ */ m.jsx(Bc, { rateDescription: a }, i))
4705
4716
  ] });
4706
- }, Gc = ({ type: t }) => {
4717
+ }, Qc = ({ type: t }) => {
4707
4718
  const [e, r] = I.useState([
4708
4719
  null,
4709
4720
  null,
@@ -4715,7 +4726,7 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4715
4726
  }
4716
4727
  i();
4717
4728
  }, [t]), /* @__PURE__ */ m.jsx(
4718
- jc,
4729
+ Dc,
4719
4730
  {
4720
4731
  events: e,
4721
4732
  loading: n,
@@ -4723,26 +4734,26 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4723
4734
  title: t === "events" ? "What's going on at Camp?" : "Upcoming Board Events"
4724
4735
  }
4725
4736
  );
4726
- }, Qc = () => {
4737
+ }, Jc = () => {
4727
4738
  const [t, e] = I.useState([]), [r, n] = I.useState(!0);
4728
4739
  return I.useEffect(() => {
4729
4740
  Ws().then((a) => e(a)).catch((a) => console.log(a)).finally(() => n(!1));
4730
4741
  }, []), /* @__PURE__ */ m.jsx(Js, { children: t.map((a) => /* @__PURE__ */ I.createElement(Vs, { ...a, loading: r, key: a._id })) });
4731
- }, Jc = () => {
4742
+ }, Kc = () => {
4732
4743
  const [t, e] = I.useState([]), [r, n] = I.useState(!0);
4733
4744
  return I.useEffect(() => {
4734
4745
  Bs().then(
4735
- (a) => e(Hc(a))
4746
+ (a) => e(Wc(a))
4736
4747
  ).catch((a) => console.log(a)).finally(() => n(!1));
4737
- }, []), /* @__PURE__ */ m.jsx(Nc, { categories: t, loading: r });
4738
- }, zc = {
4748
+ }, []), /* @__PURE__ */ m.jsx(Hc, { categories: t, loading: r });
4749
+ }, Vc = {
4739
4750
  "rates-container": "_rates-container_123ct_1"
4740
- }, Kc = () => {
4751
+ }, Zc = () => {
4741
4752
  const [t, e] = I.useState([]), [r, n] = I.useState(!0);
4742
4753
  return I.useEffect(() => {
4743
4754
  Ys().then((a) => e(a)).catch((a) => console.log(a)).finally(() => n(!1));
4744
- }, []), /* @__PURE__ */ m.jsx("div", { className: zc["rates-container"], children: t.map((a) => /* @__PURE__ */ m.jsx(
4745
- Xc,
4755
+ }, []), /* @__PURE__ */ m.jsx("div", { className: Vc["rates-container"], children: t.map((a) => /* @__PURE__ */ m.jsx(
4756
+ zc,
4746
4757
  {
4747
4758
  heading: a.name,
4748
4759
  rates: a.rates
@@ -4751,9 +4762,9 @@ const Sc = () => /* @__PURE__ */ m.jsxs(
4751
4762
  )) });
4752
4763
  };
4753
4764
  export {
4754
- Qc as B,
4755
- Jc as C,
4756
- Gc as E,
4757
- Kc as R,
4765
+ Jc as B,
4766
+ Kc as C,
4767
+ Qc as E,
4768
+ Zc as R,
4758
4769
  Pr as g
4759
4770
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._banner_1d1ur_1{height:300px;padding:15px;width:100%;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:9px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;font-family:Montserrat,sans-serif;font-size:28px;font-weight:700;color:#fff;text-align:start;box-shadow:0 4px 4px #00000040;transition:all .3s cubic-bezier(.25,.8,.25,1);text-decoration:none}._banner_1d1ur_1:hover{box-shadow:0 14px 28px #00000040,0 10px 10px #00000038;text-decoration:none;color:#fff}._banner_1d1ur_1 p{margin:0;line-height:normal}._banner_1d1ur_1 a{color:#b50;text-decoration:none}._banner_1d1ur_1 a:hover{color:#ff8622;text-decoration:underline}@media only screen and (min-width: 550px){._banner_1d1ur_1{font-size:48px;padding:20px}}@media only screen and (min-width: 1000px){._banner_1d1ur_1{font-size:54px;height:375px;min-width:49%;padding:40px;flex:1}}@media only screen and (min-width: 1440px){._banner_1d1ur_1{padding:1em}}._bannerContainer_79bac_1{display:flex;flex-direction:column;align-items:center;padding:0 10px}._bannerApp_79bac_8{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;justify-content:center;gap:15px;width:100%;max-width:1440px}@media only screen and (min-width: 550px){._bannerContainer_79bac_1{padding:0 20px}}@media only screen and (min-width: 1000px){._bannerContainer_79bac_1{padding:0}._bannerApp_79bac_8{flex-direction:row}}._eventCard_1qrgl_1{display:flex;flex-direction:column;width:100%;background:rgba(255,254,240,1);color:#333;box-shadow:0 4px 4px #00000040;border-radius:4px}._eventCardBody_1qrgl_12{flex:1 1 66%;display:flex;flex-direction:column;gap:1em;padding:1em!important;font-size:14px;line-height:unset!important}._eventCardBody_1qrgl_12 p{line-height:unset!important;margin:0}._image_1qrgl_27{object-fit:cover;width:100%;border-radius:4px 4px 0 0}._eventCardTitle_1qrgl_33{font-family:Montserrat,sans-serif;font-size:24px;text-transform:unset!important;margin:0}._eventCardDate_1qrgl_40{font-family:Montserrat,sans-serif;font-size:18px}._eventCardDescription_1qrgl_45{font-size:16px}._eventCardDescription_1qrgl_45 p:not(:last-of-type){margin-bottom:.5em}._eventButtons_1qrgl_53{font-family:Montserrat,sans-serif;font-weight:700;text-transform:uppercase;display:flex;flex-direction:row;gap:1em;margin-top:.5em}._eventButtons_1qrgl_53>span{width:100%}._eventButtons_1qrgl_53 a{text-decoration:none}._eventButton_1qrgl_53{flex:1;background:#5388d7;color:#fff;padding:1em;text-align:center;border-radius:4px}._eventButton_1qrgl_53:hover{color:#fff;background-color:#3e7bd7}@media (min-width: 550px){._eventCardBody_1qrgl_12{padding:1.5em!important}._eventCardTitle_1qrgl_33{font-size:28px}._eventCardDate_1qrgl_40,._eventCardDescription_1qrgl_45{font-size:20px}}@media (min-width: 800px){._eventCard_1qrgl_1{flex-direction:row;min-height:325px}._image_1qrgl_27{width:400px;max-height:none;border-radius:4px 0 0 4px}._eventCardTitle_1qrgl_33{font-size:32px}._eventCardDescription_1qrgl_45{font-size:22px}._eventButtons_1qrgl_53{justify-content:flex-end;margin-top:auto}._eventButton_1qrgl_53{flex:0 1 50%}._eventButton_1qrgl_53:only-child{flex:0 1 calc(50% - .5em)}}._campEventsApp_6gd1t_1{background:rgba(254,209,54,.75);display:flex;flex-direction:column;width:100%;padding-bottom:20px;position:relative}._campEventsApp_6gd1t_1>div{padding:0 10px}._eventsHeader_6gd1t_14{display:flex;flex-direction:column;align-items:flex-start;margin:25px 0;gap:1em;z-index:5}._eventsHeader_6gd1t_14 h1{font-family:Montserrat,sans-serif;margin:0;font-size:28px;text-transform:unset!important}._calendarButton_6gd1t_30{text-decoration:none;background:#5388d7;padding:.5em .75em;color:#fff;border-radius:4px;flex-grow:0;font-size:16px;display:flex;flex-direction:row;gap:5px}._calendarButton_6gd1t_30:hover{background:#3e7bd7;color:#fff;text-decoration:none}._eventsContainer_6gd1t_50{display:flex;flex-direction:column;padding-bottom:15px;gap:20px}@media only screen and (min-width: 550px){._campEventsApp_6gd1t_1>div{padding:0 20px}._eventsHeader_6gd1t_14{margin:35px 0}._eventsHeader_6gd1t_14 h1{font-size:48px}._calendarButton_6gd1t_30{padding:.75em 1em;font-size:20px}._eventsContainer_6gd1t_50{flex-direction:column;padding-top:5px!important;padding-bottom:20px!important}}@media only screen and (min-width: 1000px){._campEventsApp_6gd1t_1{max-width:1440px;padding:1px 1px 1em;border-radius:9px;box-shadow:0 4px 4px #00000040}._eventsHeader_6gd1t_14{flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between;margin:30px 0}._eventsHeader_6gd1t_14 h1{font-size:54px}._campEventsApp_6gd1t_1>div{padding:0 40px}._eventsContainer_6gd1t_50{gap:20px}._eventsContainer_6gd1t_50:before{border-radius:9px}}@media only screen and (min-width: 1440px){._campEventsApp_6gd1t_1>div{padding:0 4em}._eventsHeader_6gd1t_14 h1{font-size:54px}}._contentButton_2dk7a_1{position:relative;flex:1 1 auto;width:100%;height:250px;border-radius:9px;text-decoration:none;font-family:Montserrat,sans-serif;font-weight:700;color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;transition:all .3s cubic-bezier(.25,.8,.25,1)}._contentButton_2dk7a_1:hover{color:#fff!important;text-decoration:none!important;box-shadow:0 14px 28px #00000040,0 10px 10px #00000038}._category-image_2dk7a_25{object-fit:cover;overflow:hidden;border-radius:9px;position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent}._overlay_2dk7a_40{position:absolute;width:100%;height:100%;border-radius:9px;padding:1em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em;background:rgba(0,0,0,.3)}._buttonTitle_2dk7a_56,._buttonSubtitle_2dk7a_57{text-align:center}._buttonTitle_2dk7a_56{font-weight:700;font-size:38px;line-height:1em;color:#fed136}._buttonSubtitle_2dk7a_57{font-size:16px}@media only screen and (min-width: 550px){._contentButtonsHeader_2dk7a_73 h1{font-size:48px}._contentButton_2dk7a_1{flex:1 0 300px;height:250px}._buttonTitle_2dk7a_56{font-size:42px}._buttonSubtitle_2dk7a_57{font-size:20px}}@media only screen and (min-width: 1000px){._contentButton_2dk7a_1{flex:1 0 400px;height:350px}._buttonTitle_2dk7a_56{font-size:50px}._buttonSubtitle_2dk7a_57{font-size:22px}}@media only screen and (min-width: 1250px){._contentButton_2dk7a_1{flex:1 0 550px}}@media only screen and (min-width: 1440px){._contentButton_2dk7a_1{flex:1 0 600px}._buttonTitle_2dk7a_56{font-size:54px}._buttonSubtitle_2dk7a_57{font-size:24px}}._categoryContainer_1yxkk_1{width:100%;padding:0 10px;display:flex;flex-direction:column;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center;text-align:center}@media only screen and (min-width: 550px){._categoryContainer_1yxkk_1{padding:0 20px;flex-direction:row}}@media only screen and (min-width: 1000px){._categoryContainer_1yxkk_1{padding:0}._categoryContainerHeader_1yxkk_25 h1{font-size:58px}}._description_z94kn_1{margin:.75em 0}._description_z94kn_1 h4{text-transform:uppercase;font-family:Montserrat,sans-serif}._group-title_12ylh_1>td:first-child{font-weight:700}._rate-group-child_12ylh_5>td:first-child{padding-left:20px}._rate-table_6wuu7_1{width:100%;border-spacing:0;white-space:pre-line}._rate-table_6wuu7_1 tr:nth-child(odd){background-color:#fed13666}._rate-table_6wuu7_1 tr:nth-child(2n){background-color:#ff852299}._rate-table_6wuu7_1 tr._background-darker_6wuu7_15{background-color:#ff852299}._rate-table_6wuu7_1 td{vertical-align:top;padding:2.5px 5px}._rate-table_6wuu7_1 td:first-of-type{width:50%;text-align:left}._rate-table_6wuu7_1 td:last-of-type{text-align:right}._group-title_6wuu7_33>td:first-child{font-weight:700}._rate-card_i5ys9_1{width:100%;max-width:700px;margin:auto;padding:1em;background-color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;flex-shrink:0;align-self:flex-start;font-size:1em}._rate-card-heading_i5ys9_13{margin:0 0 1em}._rate-card-heading_i5ys9_13 h3{font-family:Montserrat,sans-serif;text-align:center;text-transform:uppercase;font-weight:700;font-size:22px}._rate-card_i5ys9_1 h3,._rate-card_i5ys9_1 h4{margin:0}@media (min-width: 400px){._rate-card-heading_i5ys9_13 h3{font-size:24px}}@media (min-width: 550px){._rate-card_i5ys9_1{font-size:1.15em;border-radius:9px}._rate-card-heading_i5ys9_13 h3{font-size:26px}}@media (min-width: 900px){._rate-card_i5ys9_1{padding:25px;font-size:1.25em}._rate-card-heading_i5ys9_13 h3{font-size:30px}}._rates-container_123ct_1{display:flex;flex-direction:column;width:100%;padding:5px 0;gap:20px;background-color:#fffef0}@media (min-width: 550px){._rates-container_123ct_1{padding:15px}}@keyframes react-loading-skeleton{to{transform:translate(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;-webkit-user-select:none;user-select:none;overflow:hidden;z-index:1}.react-loading-skeleton:after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));transform:translate(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media (prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}
1
+ ._banner_1d1ur_1{height:300px;padding:15px;width:100%;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:9px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;font-family:Montserrat,sans-serif;font-size:28px;font-weight:700;color:#fff;text-align:start;box-shadow:0 4px 4px #00000040;transition:all .3s cubic-bezier(.25,.8,.25,1);text-decoration:none}._banner_1d1ur_1:hover{box-shadow:0 14px 28px #00000040,0 10px 10px #00000038;text-decoration:none;color:#fff}._banner_1d1ur_1 p{margin:0;line-height:normal}._banner_1d1ur_1 a{color:#b50;text-decoration:none}._banner_1d1ur_1 a:hover{color:#ff8622;text-decoration:underline}@media only screen and (min-width: 550px){._banner_1d1ur_1{font-size:48px;padding:20px}}@media only screen and (min-width: 1000px){._banner_1d1ur_1{font-size:54px;height:375px;min-width:49%;padding:40px;flex:1}}@media only screen and (min-width: 1440px){._banner_1d1ur_1{padding:1em}}._bannerContainer_79bac_1{display:flex;flex-direction:column;align-items:center;padding:0 10px}._bannerApp_79bac_8{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;justify-content:center;gap:15px;width:100%;max-width:1440px}@media only screen and (min-width: 550px){._bannerContainer_79bac_1{padding:0 20px}}@media only screen and (min-width: 1000px){._bannerContainer_79bac_1{padding:0}._bannerApp_79bac_8{flex-direction:row}}._eventCard_1qrgl_1{display:flex;flex-direction:column;width:100%;background:rgba(255,254,240,1);color:#333;box-shadow:0 4px 4px #00000040;border-radius:4px}._eventCardBody_1qrgl_12{flex:1 1 66%;display:flex;flex-direction:column;gap:1em;padding:1em!important;font-size:14px;line-height:unset!important}._eventCardBody_1qrgl_12 p{line-height:unset!important;margin:0}._image_1qrgl_27{object-fit:cover;width:100%;border-radius:4px 4px 0 0}._eventCardTitle_1qrgl_33{font-family:Montserrat,sans-serif;font-size:24px;text-transform:unset!important;margin:0}._eventCardDate_1qrgl_40{font-family:Montserrat,sans-serif;font-size:18px}._eventCardDescription_1qrgl_45{font-size:16px}._eventCardDescription_1qrgl_45 p:not(:last-of-type){margin-bottom:.5em}._eventButtons_1qrgl_53{font-family:Montserrat,sans-serif;font-weight:700;text-transform:uppercase;display:flex;flex-direction:row;gap:1em;margin-top:.5em}._eventButtons_1qrgl_53>span{width:100%}._eventButtons_1qrgl_53 a{text-decoration:none}._eventButton_1qrgl_53{flex:1;background:#5388d7;color:#fff;padding:1em;text-align:center;border-radius:4px}._eventButton_1qrgl_53:hover{color:#fff;background-color:#3e7bd7}@media (min-width: 550px){._eventCardBody_1qrgl_12{padding:1.5em!important}._eventCardTitle_1qrgl_33{font-size:28px}._eventCardDate_1qrgl_40,._eventCardDescription_1qrgl_45{font-size:20px}}@media (min-width: 800px){._eventCard_1qrgl_1{flex-direction:row;min-height:325px}._image_1qrgl_27{width:400px;max-height:none;border-radius:4px 0 0 4px}._eventCardTitle_1qrgl_33{font-size:32px}._eventCardDescription_1qrgl_45{font-size:22px}._eventButtons_1qrgl_53{justify-content:flex-end;margin-top:auto}._eventButton_1qrgl_53{flex:0 1 50%}._eventButton_1qrgl_53:only-child{flex:0 1 calc(50% - .5em)}}._campEventsApp_17stc_1{background:rgba(254,209,54,.75);display:flex;flex-direction:column;width:100%;padding-bottom:20px;position:relative}._campEventsApp_17stc_1>div{padding:0 10px}._eventsHeader_17stc_14{display:flex;flex-direction:column;align-items:flex-start;margin:25px 0;gap:1em;z-index:5}._eventsHeader_17stc_14 h1{font-family:Montserrat,sans-serif;margin:0;font-size:28px;text-transform:unset!important}._calendarButton_17stc_30{text-decoration:none;background:#5388d7;padding:.5em .75em;color:#fff;border-radius:4px;flex-grow:0;font-size:16px;display:flex;flex-direction:row;gap:5px}._calendarButton_17stc_30:hover{background:#3e7bd7;color:#fff;text-decoration:none}._eventsContainer_17stc_50{display:flex;flex-direction:column;padding-bottom:15px;gap:20px}._empty_17stc_57{display:flex;flex-direction:column;align-items:center;gap:.5em;padding:2em;text-align:center;font-size:16px;background:#fffef0;border-radius:4px;box-shadow:0 4px 4px #00000040}._empty_17stc_57 img{width:100px}@media only screen and (min-width: 550px){._campEventsApp_17stc_1>div{padding:0 20px}._eventsHeader_17stc_14{margin:35px 0}._eventsHeader_17stc_14 h1{font-size:48px}._calendarButton_17stc_30{padding:.75em 1em;font-size:20px}._eventsContainer_17stc_50{flex-direction:column;padding-top:5px!important;padding-bottom:20px!important}._empty_17stc_57{font-size:20px}}@media only screen and (min-width: 1000px){._campEventsApp_17stc_1{max-width:1440px;padding:1px 1px 1em;border-radius:9px;box-shadow:0 4px 4px #00000040}._eventsHeader_17stc_14{flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between;margin:30px 0}._eventsHeader_17stc_14 h1{font-size:54px}._campEventsApp_17stc_1>div{padding:0 40px}._eventsContainer_17stc_50{gap:20px}._eventsContainer_17stc_50:before{border-radius:9px}}@media only screen and (min-width: 1440px){._campEventsApp_17stc_1>div{padding:0 4em}._eventsHeader_17stc_14 h1{font-size:54px}}._contentButton_2dk7a_1{position:relative;flex:1 1 auto;width:100%;height:250px;border-radius:9px;text-decoration:none;font-family:Montserrat,sans-serif;font-weight:700;color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;transition:all .3s cubic-bezier(.25,.8,.25,1)}._contentButton_2dk7a_1:hover{color:#fff!important;text-decoration:none!important;box-shadow:0 14px 28px #00000040,0 10px 10px #00000038}._category-image_2dk7a_25{object-fit:cover;overflow:hidden;border-radius:9px;position:absolute;height:100%;width:100%;left:0;top:0;right:0;bottom:0;color:transparent}._overlay_2dk7a_40{position:absolute;width:100%;height:100%;border-radius:9px;padding:1em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em;background:rgba(0,0,0,.3)}._buttonTitle_2dk7a_56,._buttonSubtitle_2dk7a_57{text-align:center}._buttonTitle_2dk7a_56{font-weight:700;font-size:38px;line-height:1em;color:#fed136}._buttonSubtitle_2dk7a_57{font-size:16px}@media only screen and (min-width: 550px){._contentButtonsHeader_2dk7a_73 h1{font-size:48px}._contentButton_2dk7a_1{flex:1 0 300px;height:250px}._buttonTitle_2dk7a_56{font-size:42px}._buttonSubtitle_2dk7a_57{font-size:20px}}@media only screen and (min-width: 1000px){._contentButton_2dk7a_1{flex:1 0 400px;height:350px}._buttonTitle_2dk7a_56{font-size:50px}._buttonSubtitle_2dk7a_57{font-size:22px}}@media only screen and (min-width: 1250px){._contentButton_2dk7a_1{flex:1 0 550px}}@media only screen and (min-width: 1440px){._contentButton_2dk7a_1{flex:1 0 600px}._buttonTitle_2dk7a_56{font-size:54px}._buttonSubtitle_2dk7a_57{font-size:24px}}._categoryContainer_1yxkk_1{width:100%;padding:0 10px;display:flex;flex-direction:column;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center;text-align:center}@media only screen and (min-width: 550px){._categoryContainer_1yxkk_1{padding:0 20px;flex-direction:row}}@media only screen and (min-width: 1000px){._categoryContainer_1yxkk_1{padding:0}._categoryContainerHeader_1yxkk_25 h1{font-size:58px}}._description_z94kn_1{margin:.75em 0}._description_z94kn_1 h4{text-transform:uppercase;font-family:Montserrat,sans-serif}._group-title_12ylh_1>td:first-child{font-weight:700}._rate-group-child_12ylh_5>td:first-child{padding-left:20px}._rate-table_6wuu7_1{width:100%;border-spacing:0;white-space:pre-line}._rate-table_6wuu7_1 tr:nth-child(odd){background-color:#fed13666}._rate-table_6wuu7_1 tr:nth-child(2n){background-color:#ff852299}._rate-table_6wuu7_1 tr._background-darker_6wuu7_15{background-color:#ff852299}._rate-table_6wuu7_1 td{vertical-align:top;padding:2.5px 5px}._rate-table_6wuu7_1 td:first-of-type{width:50%;text-align:left}._rate-table_6wuu7_1 td:last-of-type{text-align:right}._group-title_6wuu7_33>td:first-child{font-weight:700}._rate-card_i5ys9_1{width:100%;max-width:700px;margin:auto;padding:1em;background-color:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;flex-shrink:0;align-self:flex-start;font-size:1em}._rate-card-heading_i5ys9_13{margin:0 0 1em}._rate-card-heading_i5ys9_13 h3{font-family:Montserrat,sans-serif;text-align:center;text-transform:uppercase;font-weight:700;font-size:22px}._rate-card_i5ys9_1 h3,._rate-card_i5ys9_1 h4{margin:0}@media (min-width: 400px){._rate-card-heading_i5ys9_13 h3{font-size:24px}}@media (min-width: 550px){._rate-card_i5ys9_1{font-size:1.15em;border-radius:9px}._rate-card-heading_i5ys9_13 h3{font-size:26px}}@media (min-width: 900px){._rate-card_i5ys9_1{padding:25px;font-size:1.25em}._rate-card-heading_i5ys9_13 h3{font-size:30px}}._rates-container_123ct_1{display:flex;flex-direction:column;width:100%;padding:5px 0;gap:20px;background-color:#fffef0}@media (min-width: 550px){._rates-container_123ct_1{padding:15px}}@keyframes react-loading-skeleton{to{transform:translate(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;-webkit-user-select:none;user-select:none;overflow:hidden;z-index:1}.react-loading-skeleton:after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));transform:translate(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media (prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campphillip/widgets",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {