@campphillip/widgets 3.1.6 → 3.1.7

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 = {}, X = {}, 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) {
@@ -229,8 +229,8 @@ var Tr = j && j.__extends || function() {
229
229
  e.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
230
230
  };
231
231
  }();
232
- Object.defineProperty(z, "__esModule", { value: !0 });
233
- var Wt = Ue, ot = ke, An = mt, Rn = wt, ue = Ee, Te = Ne, jr = function(t) {
232
+ Object.defineProperty(X, "__esModule", { value: !0 });
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;
@@ -277,7 +277,7 @@ var Wt = Ue, ot = ke, An = mt, Rn = wt, ue = Ee, Te = Ne, jr = function(t) {
277
277
  return this._parentOrParents = null, this.unsubscribe(), this.closed = !1, this.isStopped = !1, this._parentOrParents = r, this;
278
278
  }, e;
279
279
  }(An.Subscription);
280
- z.Subscriber = jr;
280
+ X.Subscriber = jr;
281
281
  var st = function(t) {
282
282
  Tr(e, t);
283
283
  function e(r, n, a, i) {
@@ -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() {
@@ -338,7 +338,7 @@ var st = function(t) {
338
338
  this._context = null, this._parentSubscriber = null, r.unsubscribe();
339
339
  }, e;
340
340
  }(jr);
341
- z.SafeSubscriber = st;
341
+ X.SafeSubscriber = st;
342
342
  var In = j && j.__extends || function() {
343
343
  var t = function(e, r) {
344
344
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, a) {
@@ -357,7 +357,7 @@ var In = j && j.__extends || function() {
357
357
  };
358
358
  }();
359
359
  Object.defineProperty(vt, "__esModule", { value: !0 });
360
- var $n = z;
360
+ var $n = X;
361
361
  function Un(t, e) {
362
362
  return function(n) {
363
363
  return n.lift(new kn(t, e));
@@ -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;
@@ -407,7 +407,7 @@ var Se = {}, He = {}, Hn = j && j.__extends || function() {
407
407
  };
408
408
  }();
409
409
  Object.defineProperty(He, "__esModule", { value: !0 });
410
- var Wn = z;
410
+ var Wn = X;
411
411
  function Ln(t, e) {
412
412
  return function(n) {
413
413
  if (typeof t != "function")
@@ -442,12 +442,12 @@ 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");
449
- }, Yn = Bn, ut = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable;
450
- function zn(t) {
449
+ }, Yn = Bn, ut = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable;
450
+ function Xn(t) {
451
451
  if (t == null)
452
452
  throw new TypeError("Sources cannot be null or undefined");
453
453
  return Object(t);
@@ -468,11 +468,11 @@ function qr(t, e) {
468
468
  ut.call(e, r) && Lt(t, e, r);
469
469
  if (Object.getOwnPropertySymbols)
470
470
  for (var n = Object.getOwnPropertySymbols(e), a = 0; a < n.length; a++)
471
- Xn.call(e, n[a]) && Lt(t, e, n[a]);
471
+ zn.call(e, n[a]) && Lt(t, e, n[a]);
472
472
  return t;
473
473
  }
474
474
  var Vn = function(e) {
475
- e = zn(e);
475
+ e = Xn(e);
476
476
  for (var r = 1; r < arguments.length; r++)
477
477
  qr(e, arguments[r]);
478
478
  return e;
@@ -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;
@@ -747,7 +747,7 @@ var fe = encodeURIComponent, Ir = function(t) {
747
747
  }, g);
748
748
  }, We = {}, Ot = {};
749
749
  Object.defineProperty(Ot, "__esModule", { value: !0 });
750
- var ra = z;
750
+ var ra = X;
751
751
  function na(t) {
752
752
  for (; t; ) {
753
753
  var e = t, r = e.closed, n = e.destination, a = e.isStopped;
@@ -760,7 +760,7 @@ function na(t) {
760
760
  Ot.canReportError = na;
761
761
  var Et = {};
762
762
  Object.defineProperty(Et, "__esModule", { value: !0 });
763
- var Ke = z, Bt = wt, aa = ke;
763
+ var Ke = X, Bt = wt, aa = ke;
764
764
  function ia(t, e, r) {
765
765
  if (t) {
766
766
  if (t instanceof Ke.Subscriber)
@@ -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
  }
@@ -878,7 +878,7 @@ var Ur = {}, Ct = {}, Pt = {}, pa = j && j.__extends || function() {
878
878
  };
879
879
  }();
880
880
  Object.defineProperty(Pt, "__esModule", { value: !0 });
881
- var va = z;
881
+ var va = X;
882
882
  function ma(t, e) {
883
883
  var r = !1;
884
884
  return arguments.length >= 2 && (r = !0), function(a) {
@@ -968,7 +968,7 @@ var wa = j && j.__extends || function() {
968
968
  };
969
969
  }();
970
970
  Object.defineProperty(Tt, "__esModule", { value: !0 });
971
- var _a = z, Oa = jt, Ea = kr;
971
+ var _a = X, Oa = jt, Ea = kr;
972
972
  function Sa(t) {
973
973
  return function(r) {
974
974
  return t === 0 ? Ea.empty() : r.lift(new xa(t));
@@ -1024,7 +1024,7 @@ var xa = function() {
1024
1024
  };
1025
1025
  }();
1026
1026
  Object.defineProperty(Dt, "__esModule", { value: !0 });
1027
- var Ta = z;
1027
+ var Ta = X;
1028
1028
  function ja(t) {
1029
1029
  return t === void 0 && (t = null), function(e) {
1030
1030
  return e.lift(new Da(t));
@@ -1051,19 +1051,19 @@ 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 zt = Pt, Xt = Tt, Ma = Dt, Vt = Ce;
1055
1055
  function Aa(t, e) {
1056
1056
  return arguments.length >= 2 ? function(n) {
1057
- return Vt.pipe(Xt.scan(t, e), zt.takeLast(1), Ma.defaultIfEmpty(e))(n);
1057
+ return Vt.pipe(zt.scan(t, e), Xt.takeLast(1), Ma.defaultIfEmpty(e))(n);
1058
1058
  } : function(n) {
1059
- return Vt.pipe(Xt.scan(function(a, i, o) {
1059
+ return Vt.pipe(zt.scan(function(a, i, o) {
1060
1060
  return t(a, i, o + 1);
1061
- }), zt.takeLast(1))(n);
1061
+ }), Xt.takeLast(1))(n);
1062
1062
  };
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
  }
@@ -1384,9 +1384,9 @@ var Fa = Wr.exports, Ba = Fa, Ya = typeof window > "u" || !window.EventSource ?
1384
1384
  ) : (
1385
1385
  // Use native EventSource when we can
1386
1386
  window.EventSource
1387
- ), Xa = "https://docs.sanity.io/help/", Mt = function(e) {
1388
- return Xa + e;
1389
- }, za = function(t, e) {
1387
+ ), za = "https://docs.sanity.io/help/", Mt = function(e) {
1388
+ return za + e;
1389
+ }, Xa = function(t, e) {
1390
1390
  return e.reduce(function(r, n) {
1391
1391
  return typeof t[n] > "u" || (r[n] = t[n]), r;
1392
1392
  }, {});
@@ -1424,7 +1424,7 @@ function Qt(t) {
1424
1424
  function Ga(t, e, r) {
1425
1425
  return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
1426
1426
  }
1427
- var Qa = D, Jt = Hr, Ja = Ya, Ka = Mt, Za = za, ei = Lr, ti = Va, ri = Ir, ni = 16e3 - 1200, ai = ["Using token with listeners is not supported in browsers. ", "For more info, see ".concat(Ka("js-client-listener-tokens-browser"), ".")], ii = ei(function() {
1427
+ var Qa = D, Jt = Hr, Ja = Ya, Ka = Mt, Za = Xa, ei = Lr, ti = Va, ri = Ir, ni = 16e3 - 1200, ai = ["Using token with listeners is not supported in browsers. ", "For more info, see ".concat(Ka("js-client-listener-tokens-browser"), ".")], ii = ei(function() {
1428
1428
  return console.warn(ai.join(" "));
1429
1429
  }), Fr = !!(typeof window < "u" && window.EventSource), Kt = Fr ? window.EventSource : Ja, oi = ["includePreviousRevision", "includeResult", "visibility", "effectFormat", "tag"], si = {
1430
1430
  includeResult: !0
@@ -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 = {
@@ -1669,10 +1669,10 @@ Ei(Yr.prototype, {
1669
1669
  }
1670
1670
  });
1671
1671
  var xi = Yr, Ci = D;
1672
- function Xr(t) {
1672
+ function zr(t) {
1673
1673
  this.client = t;
1674
1674
  }
1675
- Ci(Xr.prototype, {
1675
+ Ci(zr.prototype, {
1676
1676
  list: function() {
1677
1677
  return this.client.request({
1678
1678
  uri: "/projects"
@@ -1684,7 +1684,7 @@ Ci(Xr.prototype, {
1684
1684
  });
1685
1685
  }
1686
1686
  });
1687
- var Pi = Xr, Ti = function(t) {
1687
+ var Pi = zr, Ti = function(t) {
1688
1688
  var e = [];
1689
1689
  for (var r in t)
1690
1690
  t.hasOwnProperty(r) && e.push("".concat(encodeURIComponent(r), "=").concat(encodeURIComponent(t[r])));
@@ -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 Xr = 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
  }
@@ -1752,12 +1752,12 @@ function Ni(t) {
1752
1752
  }), e;
1753
1753
  }
1754
1754
  function Hi(t, e) {
1755
- return typeof window > "u" || !(e instanceof window.File) ? t : zr({
1755
+ return typeof window > "u" || !(e instanceof window.File) ? t : Xr({
1756
1756
  filename: t.preserveFilename === !1 ? void 0 : e.name,
1757
1757
  contentType: e.type
1758
1758
  }, t);
1759
1759
  }
1760
- zr(Vr.prototype, {
1760
+ Xr(Vr.prototype, {
1761
1761
  /**
1762
1762
  * Upload an asset
1763
1763
  *
@@ -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
  }
@@ -1859,7 +1859,7 @@ Bi(Qr.prototype, {
1859
1859
  });
1860
1860
  }
1861
1861
  });
1862
- var Yi = Qr, Xi = function() {
1862
+ var Yi = Qr, zi = function() {
1863
1863
  var e = [];
1864
1864
  return {
1865
1865
  subscribe: r,
@@ -1875,7 +1875,7 @@ var Yi = Qr, Xi = function() {
1875
1875
  for (var a = 0; a < e.length; a++)
1876
1876
  e[a].apply(null, arguments);
1877
1877
  }
1878
- }, zi = function(t) {
1878
+ }, Xi = function(t) {
1879
1879
  var e = function(n, a) {
1880
1880
  for (var i = arguments.length, o = Array(i > 2 ? i - 2 : 0), s = 2; s < i; s++)
1881
1881
  o[s - 2] = arguments[s];
@@ -1971,9 +1971,9 @@ function Kr(t) {
1971
1971
  t = t || r;
1972
1972
  var n = {}, a = typeof t, i;
1973
1973
  if (t.protocol === "blob:")
1974
- n = new X(unescape(t.pathname), {});
1974
+ n = new z(unescape(t.pathname), {});
1975
1975
  else if (a === "string") {
1976
- n = new X(t, {});
1976
+ n = new z(t, {});
1977
1977
  for (i in ir)
1978
1978
  delete n[i];
1979
1979
  } else if (a === "object") {
@@ -2003,9 +2003,9 @@ function ao(t, e) {
2003
2003
  r[n] === "." ? r.splice(n, 1) : r[n] === ".." ? (r.splice(n, 1), o++) : o && (n === 0 && (i = !0), r.splice(n, 1), o--);
2004
2004
  return i && r.unshift(""), (a === "." || a === "..") && r.push(""), r.join("/");
2005
2005
  }
2006
- function X(t, e, r) {
2007
- if (t = Rt(t), !(this instanceof X))
2008
- return new X(t, e, r);
2006
+ function z(t, e, r) {
2007
+ if (t = Rt(t), !(this instanceof z))
2008
+ return new z(t, e, r);
2009
2009
  var n, a, i, o, s, u, c = lt.slice(), g = typeof e, d = this, p = 0;
2010
2010
  for (g !== "object" && g !== "string" && (r = e, e = null), r && typeof r != "function" && (r = Le.parse), e = Kr(e), a = Zr(t || "", e), n = !a.protocol && !a.slashes, d.slashes = a.slashes || n && e.slashes, d.protocol = a.protocol || e.protocol || "", t = a.rest, (a.protocol === "file:" && (a.slashesCount !== 2 || to.test(t)) || !a.slashes && (a.protocol || a.slashesCount < 2 || !Q(d.protocol))) && (c[3] = [/(.*)/, "pathname"]); p < c.length; p++) {
2011
2011
  if (o = c[p], typeof o == "function") {
@@ -2063,12 +2063,12 @@ function oo(t) {
2063
2063
  var a = n + (r.protocol && r.slashes || Q(r.protocol) ? "//" : "");
2064
2064
  return r.username ? (a += r.username, r.password && (a += ":" + r.password), a += "@") : r.password && (a += ":" + r.password, a += "@"), a += r.host + r.pathname, e = typeof r.query == "object" ? t(r.query) : r.query, e && (a += e.charAt(0) !== "?" ? "?" + e : e), r.hash && (a += r.hash), a;
2065
2065
  }
2066
- X.prototype = { set: io, toString: oo };
2067
- X.extractProtocol = Zr;
2068
- X.location = Kr;
2069
- X.trimLeft = Rt;
2070
- X.qs = Le;
2071
- var so = X, rt = D, uo = so, co = typeof navigator > "u" ? !1 : navigator.product === "ReactNative", fo = Object.prototype.hasOwnProperty, dt = { timeout: co ? 6e4 : 12e4 }, lo = function(t) {
2066
+ z.prototype = { set: io, toString: oo };
2067
+ z.extractProtocol = Zr;
2068
+ z.location = Kr;
2069
+ z.trimLeft = Rt;
2070
+ z.qs = Le;
2071
+ var so = z, rt = D, uo = so, co = typeof navigator > "u" ? !1 : navigator.product === "ReactNative", fo = Object.prototype.hasOwnProperty, dt = { timeout: co ? 6e4 : 12e4 }, lo = function(t) {
2072
2072
  var e = typeof t == "string" ? rt({ url: t }, dt) : rt({}, dt, t), r = uo(
2073
2073
  e.url,
2074
2074
  {},
@@ -2264,7 +2264,7 @@ var Po = function(t, e) {
2264
2264
  F(), C = !0, e(null, oe());
2265
2265
  }
2266
2266
  }
2267
- }, To = Po, jo = Xi, Do = zi, qo = lo, Mo = mo, Ao = To, Ro = ["request", "response", "progress", "error", "abort"], fr = ["processOptions", "validateOptions", "interceptRequest", "finalizeOptions", "onRequest", "onResponse", "onError", "onReturn", "onHeaders"], Io = function t() {
2267
+ }, To = Po, jo = zi, Do = Xi, qo = lo, Mo = mo, Ao = To, Ro = ["request", "response", "progress", "error", "abort"], fr = ["processOptions", "validateOptions", "interceptRequest", "finalizeOptions", "onRequest", "onResponse", "onError", "onReturn", "onHeaders"], Io = function t() {
2268
2268
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ao, n = [], a = fr.reduce(function(o, s) {
2269
2269
  return o[s] = o[s] || [], o;
2270
2270
  }, {
@@ -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");
@@ -2365,15 +2365,15 @@ var Lo = function(e) {
2365
2365
  return typeof t;
2366
2366
  } : function(t) {
2367
2367
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2368
- }, hr = D, Bo = Lo, Yo = ["boolean", "string", "number"], Xo = function(e) {
2368
+ }, hr = D, Bo = Lo, Yo = ["boolean", "string", "number"], zo = function(e) {
2369
2369
  return !!e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
2370
- }, zo = function() {
2370
+ }, Xo = function() {
2371
2371
  return {
2372
2372
  processOptions: function(e) {
2373
2373
  var r = e.body;
2374
2374
  if (!r)
2375
2375
  return e;
2376
- var n = typeof r.pipe == "function", a = !n && !Xo(r) && (Yo.indexOf(typeof r > "u" ? "undefined" : Fo(r)) !== -1 || Array.isArray(r) || Bo(r));
2376
+ var n = typeof r.pipe == "function", a = !n && !zo(r) && (Yo.indexOf(typeof r > "u" ? "undefined" : Fo(r)) !== -1 || Array.isArray(r) || Bo(r));
2377
2377
  return a ? hr({}, e, {
2378
2378
  body: JSON.stringify(e.body),
2379
2379
  headers: hr({}, e.headers, {
@@ -2542,7 +2542,7 @@ rn($t);
2542
2542
  rn(Ut);
2543
2543
  It.ClientError = $t;
2544
2544
  It.ServerError = Ut;
2545
- var ts = [], rs = $o, ns = D, as = No, is = zo, os = Vo, ss = Jo, us = Hr, on = It, sn = on.ClientError, un = on.ServerError, cs = {
2545
+ var ts = [], rs = $o, ns = D, as = No, is = Xo, os = Vo, ss = Jo, us = Hr, on = It, sn = on.ClientError, un = on.ServerError, cs = {
2546
2546
  onResponse: function(e) {
2547
2547
  if (e.statusCode >= 500)
2548
2548
  throw new un(e);
@@ -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, ze = 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 = ze(["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 = ze(["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 = ze(["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 = ze(["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, Xe = 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() {
@@ -2704,7 +2704,7 @@ he(W.prototype, {
2704
2704
  var o = qs(this.clientConfig, he({}, e, {
2705
2705
  url: this.getUrl(r, a)
2706
2706
  }));
2707
- return ze(o, this.clientConfig.requester);
2707
+ return Xe(o, this.clientConfig.requester);
2708
2708
  },
2709
2709
  request: function(e) {
2710
2710
  var r = this._requestObservable(e).pipe(ws(function(n) {
@@ -2717,9 +2717,9 @@ he(W.prototype, {
2717
2717
  });
2718
2718
  W.Patch = Es;
2719
2719
  W.Transaction = Ss;
2720
- W.ClientError = ze.ClientError;
2721
- W.ServerError = ze.ServerError;
2722
- W.requester = ze.defaultRequester;
2720
+ W.ClientError = Xe.ClientError;
2721
+ W.ServerError = Xe.ServerError;
2722
+ W.requester = Xe.defaultRequester;
2723
2723
  var $s = W;
2724
2724
  const Us = /* @__PURE__ */ Pr($s);
2725
2725
  var dn = { exports: {} };
@@ -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 {
@@ -3163,9 +3163,9 @@ const Ns = /* @__PURE__ */ Pr(ks), ve = Us({
3163
3163
  }, Ys = async () => {
3164
3164
  const t = "*[_type == 'rateCategory']|order(orderRank)";
3165
3165
  return ve.fetch(t);
3166
- }, Xs = "_banner_1d1ur_1", mr = {
3167
- banner: Xs
3168
- }, zs = {
3166
+ }, zs = "_banner_1d1ur_1", mr = {
3167
+ banner: zs
3168
+ }, Xs = {
3169
3169
  marks: {
3170
3170
  color: ({ value: t, children: e }) => /* @__PURE__ */ m.jsx(
3171
3171
  "span",
@@ -3193,7 +3193,7 @@ const Ns = /* @__PURE__ */ Pr(ks), ve = Us({
3193
3193
  ), url("${kt(t).width(1440).url()}")`
3194
3194
  },
3195
3195
  className: mr.banner,
3196
- children: /* @__PURE__ */ m.jsx(Cr, { value: e, components: zs })
3196
+ children: /* @__PURE__ */ m.jsx(Cr, { value: e, components: Xs })
3197
3197
  }
3198
3198
  );
3199
3199
  }, Gs = "_bannerContainer_79bac_1", Qs = "_bannerApp_79bac_8", gr = {
@@ -3667,11 +3667,11 @@ function Yu(t) {
3667
3667
  var n = Ie(r);
3668
3668
  return n;
3669
3669
  }
3670
- var Xu = 6048e5;
3671
- function zu(t) {
3670
+ var zu = 6048e5;
3671
+ function Xu(t) {
3672
3672
  M(1, arguments);
3673
3673
  var e = N(t), r = Ie(e).getTime() - Yu(e).getTime();
3674
- return Math.round(r / Xu) + 1;
3674
+ return Math.round(r / zu) + 1;
3675
3675
  }
3676
3676
  function $e(t, e) {
3677
3677
  M(1, arguments);
@@ -3963,7 +3963,7 @@ var le = {
3963
3963
  },
3964
3964
  // ISO week of year
3965
3965
  I: function(t, e, r) {
3966
- var n = zu(t);
3966
+ var n = Xu(t);
3967
3967
  return e === "Io" ? r.ordinalNumber(n, {
3968
3968
  unit: "week"
3969
3969
  }) : S(n, e.length);
@@ -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_zgf94_1", Cc = "_eventsHeader_zgf94_14", Pc = "_calendarButton_zgf94_30", Tc = "_eventsContainer_zgf94_50", jc = "_empty_zgf94_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
+ }, zc = (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,7 +4695,7 @@ 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 = {
@@ -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(zc, { 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,25 +4734,25 @@ 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(
4755
+ }, []), /* @__PURE__ */ m.jsx("div", { className: Vc["rates-container"], children: t.map((a) => /* @__PURE__ */ m.jsx(
4745
4756
  Xc,
4746
4757
  {
4747
4758
  heading: a.name,
@@ -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_zgf94_1{background:rgba(254,209,54,.75);display:flex;flex-direction:column;width:100%;padding-bottom:20px;position:relative}._campEventsApp_zgf94_1>div{padding:0 10px}._eventsHeader_zgf94_14{display:flex;flex-direction:column;align-items:flex-start;margin:25px 0;gap:1em;z-index:5}._eventsHeader_zgf94_14 h1{font-family:Montserrat,sans-serif;margin:0;font-size:28px;text-transform:unset!important}._calendarButton_zgf94_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_zgf94_30:hover{background:#3e7bd7;color:#fff;text-decoration:none}._eventsContainer_zgf94_50{display:flex;flex-direction:column;padding-bottom:15px;gap:20px}._empty_zgf94_57{display:flex;flex-direction:column;align-items:center;gap:.5em;padding:2em;text-align:center;font-size:16px;background:#fffef0;border-radius:4px}._empty_zgf94_57 img{width:100px}@media only screen and (min-width: 550px){._campEventsApp_zgf94_1>div{padding:0 20px}._eventsHeader_zgf94_14{margin:35px 0}._eventsHeader_zgf94_14 h1{font-size:48px}._calendarButton_zgf94_30{padding:.75em 1em;font-size:20px}._eventsContainer_zgf94_50{flex-direction:column;padding-top:5px!important;padding-bottom:20px!important}._empty_zgf94_57{font-size:20px}}@media only screen and (min-width: 1000px){._campEventsApp_zgf94_1{max-width:1440px;padding:1px 1px 1em;border-radius:9px;box-shadow:0 4px 4px #00000040}._eventsHeader_zgf94_14{flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between;margin:30px 0}._eventsHeader_zgf94_14 h1{font-size:54px}._campEventsApp_zgf94_1>div{padding:0 40px}._eventsContainer_zgf94_50{gap:20px}._eventsContainer_zgf94_50:before{border-radius:9px}}@media only screen and (min-width: 1440px){._campEventsApp_zgf94_1>div{padding:0 4em}._eventsHeader_zgf94_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.7",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {