@gardenfi/garden-book 0.1.55 → 0.1.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -4296,8 +4296,8 @@ var lottie$1 = { exports: {} };
4296
4296
  var Y = this.props;
4297
4297
  if (S === 1 && M === 0 && R === 0 && I === 0 && G === 0 && U === 1 && K === 0 && J === 0 && re === 0 && le === 0 && ce === 1 && pe === 0)
4298
4298
  return Y[12] = Y[12] * S + Y[15] * ue, Y[13] = Y[13] * U + Y[15] * se, Y[14] = Y[14] * ce + Y[15] * oe, Y[15] *= te, this._identityCalculated = !1, this;
4299
- var Te = Y[0], Ee = Y[1], we = Y[2], ye = Y[3], be = Y[4], Pe = Y[5], me = Y[6], Ce = Y[7], Le = Y[8], xe = Y[9], Me = Y[10], Se = Y[11], Ae = Y[12], _e = Y[13], Ve = Y[14], ke = Y[15];
4300
- return Y[0] = Te * S + Ee * G + we * re + ye * ue, Y[1] = Te * M + Ee * U + we * le + ye * se, Y[2] = Te * R + Ee * K + we * ce + ye * oe, Y[3] = Te * I + Ee * J + we * pe + ye * te, Y[4] = be * S + Pe * G + me * re + Ce * ue, Y[5] = be * M + Pe * U + me * le + Ce * se, Y[6] = be * R + Pe * K + me * ce + Ce * oe, Y[7] = be * I + Pe * J + me * pe + Ce * te, Y[8] = Le * S + xe * G + Me * re + Se * ue, Y[9] = Le * M + xe * U + Me * le + Se * se, Y[10] = Le * R + xe * K + Me * ce + Se * oe, Y[11] = Le * I + xe * J + Me * pe + Se * te, Y[12] = Ae * S + _e * G + Ve * re + ke * ue, Y[13] = Ae * M + _e * U + Ve * le + ke * se, Y[14] = Ae * R + _e * K + Ve * ce + ke * oe, Y[15] = Ae * I + _e * J + Ve * pe + ke * te, this._identityCalculated = !1, this;
4299
+ var Te = Y[0], Ee = Y[1], Se = Y[2], ye = Y[3], be = Y[4], Pe = Y[5], me = Y[6], Ce = Y[7], Le = Y[8], xe = Y[9], Me = Y[10], we = Y[11], Ae = Y[12], _e = Y[13], Ve = Y[14], ke = Y[15];
4300
+ return Y[0] = Te * S + Ee * G + Se * re + ye * ue, Y[1] = Te * M + Ee * U + Se * le + ye * se, Y[2] = Te * R + Ee * K + Se * ce + ye * oe, Y[3] = Te * I + Ee * J + Se * pe + ye * te, Y[4] = be * S + Pe * G + me * re + Ce * ue, Y[5] = be * M + Pe * U + me * le + Ce * se, Y[6] = be * R + Pe * K + me * ce + Ce * oe, Y[7] = be * I + Pe * J + me * pe + Ce * te, Y[8] = Le * S + xe * G + Me * re + we * ue, Y[9] = Le * M + xe * U + Me * le + we * se, Y[10] = Le * R + xe * K + Me * ce + we * oe, Y[11] = Le * I + xe * J + Me * pe + we * te, Y[12] = Ae * S + _e * G + Ve * re + ke * ue, Y[13] = Ae * M + _e * U + Ve * le + ke * se, Y[14] = Ae * R + _e * K + Ve * ce + ke * oe, Y[15] = Ae * I + _e * J + Ve * pe + ke * te, this._identityCalculated = !1, this;
4301
4301
  }
4302
4302
  function T(S) {
4303
4303
  var M = S.props;
@@ -6791,7 +6791,7 @@ var lottie$1 = { exports: {} };
6791
6791
  m = p.length, l = 0, c = 0;
6792
6792
  var q = e.finalSize * 1.2 * 0.714, N = !0, L, k, S, M, R;
6793
6793
  M = s.length;
6794
- var I, G = -1, U, K, J, re = x, le = d, ce = C, pe = -1, ue, se, oe, te, Y, Te, Ee, we, ye = "", be = this.defaultPropsArray, Pe;
6794
+ var I, G = -1, U, K, J, re = x, le = d, ce = C, pe = -1, ue, se, oe, te, Y, Te, Ee, Se, ye = "", be = this.defaultPropsArray, Pe;
6795
6795
  if (e.j === 2 || e.j === 1) {
6796
6796
  var me = 0, Ce = 0, Le = e.j === 2 ? -0.5 : -1, xe = 0, Me = !0;
6797
6797
  for (u = 0; u < m; u += 1)
@@ -6809,7 +6809,7 @@ var lottie$1 = { exports: {} };
6809
6809
  }
6810
6810
  for (u = 0; u < m; u += 1) {
6811
6811
  if (a.reset(), ue = 1, p[u].n)
6812
- l = 0, c += e.yOffset, c += N ? 1 : 0, x = re, N = !1, this._hasMaskedPath && (d = le, C = ce, A = E[d].points, P = A[C - 1], y = A[C], _ = y.partialLength, T = 0), ye = "", we = "", Te = "", Pe = "", be = this.defaultPropsArray;
6812
+ l = 0, c += e.yOffset, c += N ? 1 : 0, x = re, N = !1, this._hasMaskedPath && (d = le, C = ce, A = E[d].points, P = A[C - 1], y = A[C], _ = y.partialLength, T = 0), ye = "", Se = "", Te = "", Pe = "", be = this.defaultPropsArray;
6813
6813
  else {
6814
6814
  if (this._hasMaskedPath) {
6815
6815
  if (pe !== p[u].line) {
@@ -6824,11 +6824,11 @@ var lottie$1 = { exports: {} };
6824
6824
  pe = p[u].line;
6825
6825
  }
6826
6826
  G !== p[u].ind && (p[G] && (x += p[G].extra), x += p[u].an / 2, G = p[u].ind), x += i[0] * p[u].an * 5e-3;
6827
- var Se = 0;
6827
+ var we = 0;
6828
6828
  for (S = 0; S < M; S += 1)
6829
- L = s[S].a, L.p.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), I.length ? Se += L.p.v[0] * I[0] : Se += L.p.v[0] * I), L.a.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), I.length ? Se += L.a.v[0] * I[0] : Se += L.a.v[0] * I);
6829
+ L = s[S].a, L.p.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), I.length ? we += L.p.v[0] * I[0] : we += L.p.v[0] * I), L.a.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), I.length ? we += L.a.v[0] * I[0] : we += L.a.v[0] * I);
6830
6830
  for (g = !0, this._pathData.a.v && (x = p[0].an * 0.5 + (V - this._pathData.f.v - p[0].an * 0.5 - p[p.length - 1].an * 0.5) * G / (m - 1), x += this._pathData.f.v); g; )
6831
- T + _ >= x + Se || !A ? (B = (x + Se - T) / y.partialLength, K = P.point[0] + (y.point[0] - P.point[0]) * B, J = P.point[1] + (y.point[1] - P.point[1]) * B, a.translate(-i[0] * p[u].an * 5e-3, -(i[1] * q) * 0.01), g = !1) : A && (T += y.partialLength, C += 1, C >= A.length && (C = 0, d += 1, E[d] ? A = E[d].points : Z.v.c ? (C = 0, d = 0, A = E[d].points) : (T -= y.partialLength, A = null)), A && (P = y, y = A[C], _ = y.partialLength));
6831
+ T + _ >= x + we || !A ? (B = (x + we - T) / y.partialLength, K = P.point[0] + (y.point[0] - P.point[0]) * B, J = P.point[1] + (y.point[1] - P.point[1]) * B, a.translate(-i[0] * p[u].an * 5e-3, -(i[1] * q) * 0.01), g = !1) : A && (T += y.partialLength, C += 1, C >= A.length && (C = 0, d += 1, E[d] ? A = E[d].points : Z.v.c ? (C = 0, d = 0, A = E[d].points) : (T -= y.partialLength, A = null)), A && (P = y, y = A[C], _ = y.partialLength));
6832
6832
  U = p[u].an / 2 - p[u].add, a.translate(-U, 0, 0);
6833
6833
  } else
6834
6834
  U = p[u].an / 2 - p[u].add, a.translate(-U, 0, 0), a.translate(-i[0] * p[u].an * 5e-3, -i[1] * q * 0.01, 0);
@@ -6851,7 +6851,7 @@ var lottie$1 = { exports: {} };
6851
6851
  }
6852
6852
  for (S = 0; S < M; S += 1)
6853
6853
  L = s[S].a, L.p.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), this._hasMaskedPath ? I.length ? a.translate(0, L.p.v[1] * I[0], -L.p.v[2] * I[1]) : a.translate(0, L.p.v[1] * I, -L.p.v[2] * I) : I.length ? a.translate(L.p.v[0] * I[0], L.p.v[1] * I[1], -L.p.v[2] * I[2]) : a.translate(L.p.v[0] * I, L.p.v[1] * I, -L.p.v[2] * I));
6854
- if (e.strokeWidthAnim && (Te = oe < 0 ? 0 : oe), e.strokeColorAnim && (Ee = "rgb(" + Math.round(se[0] * 255) + "," + Math.round(se[1] * 255) + "," + Math.round(se[2] * 255) + ")"), e.fillColorAnim && e.fc && (we = "rgb(" + Math.round(te[0] * 255) + "," + Math.round(te[1] * 255) + "," + Math.round(te[2] * 255) + ")"), this._hasMaskedPath) {
6854
+ if (e.strokeWidthAnim && (Te = oe < 0 ? 0 : oe), e.strokeColorAnim && (Ee = "rgb(" + Math.round(se[0] * 255) + "," + Math.round(se[1] * 255) + "," + Math.round(se[2] * 255) + ")"), e.fillColorAnim && e.fc && (Se = "rgb(" + Math.round(te[0] * 255) + "," + Math.round(te[1] * 255) + "," + Math.round(te[2] * 255) + ")"), this._hasMaskedPath) {
6855
6855
  if (a.translate(0, -e.ls), a.translate(0, i[1] * q * 0.01 + c, 0), this._pathData.p.v) {
6856
6856
  $ = (y.point[1] - P.point[1]) / (y.point[0] - P.point[0]);
6857
6857
  var Ae = Math.atan($) * 180 / Math.PI;
@@ -6871,7 +6871,7 @@ var lottie$1 = { exports: {} };
6871
6871
  }
6872
6872
  o === "html" ? ye = a.toCSS() : o === "svg" ? ye = a.to2dCSS() : be = [a.props[0], a.props[1], a.props[2], a.props[3], a.props[4], a.props[5], a.props[6], a.props[7], a.props[8], a.props[9], a.props[10], a.props[11], a.props[12], a.props[13], a.props[14], a.props[15]], Pe = ue;
6873
6873
  }
6874
- f <= u ? (R = new LetterProps(Pe, Te, Ee, we, ye, be), this.renderedLetters.push(R), f += 1, this.lettersChangedFlag = !0) : (R = this.renderedLetters[u], this.lettersChangedFlag = R.update(Pe, Te, Ee, we, ye, be) || this.lettersChangedFlag);
6874
+ f <= u ? (R = new LetterProps(Pe, Te, Ee, Se, ye, be), this.renderedLetters.push(R), f += 1, this.lettersChangedFlag = !0) : (R = this.renderedLetters[u], this.lettersChangedFlag = R.update(Pe, Te, Ee, Se, ye, be) || this.lettersChangedFlag);
6875
6875
  }
6876
6876
  }
6877
6877
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -11694,7 +11694,35 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
11694
11694
  }
11695
11695
  )
11696
11696
  }
11697
- ), Checked = (e) => /* @__PURE__ */ jsxs(
11697
+ ), MinusIcon = ({
11698
+ rectFill: e = "#F7CFDB",
11699
+ pathFill: t = "#E36492",
11700
+ ...i
11701
+ }) => /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...i, children: [
11702
+ /* @__PURE__ */ jsx("rect", { width: "20", height: "20", rx: "10", fill: e }),
11703
+ /* @__PURE__ */ jsx("mask", { id: "mask0_16264_15926", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "2", y: "2", width: "16", height: "16", children: /* @__PURE__ */ jsx("rect", { x: "2", y: "2", width: "16", height: "16", fill: "#D9D9D9" }) }),
11704
+ /* @__PURE__ */ jsx("g", { mask: "url(#mask0_16264_15926)", children: /* @__PURE__ */ jsx(
11705
+ "path",
11706
+ {
11707
+ d: "M5.9987 10.6668C5.80981 10.6668 5.65148 10.6029 5.5237 10.4752C5.39592 10.3474 5.33203 10.1891 5.33203 10.0002C5.33203 9.81127 5.39592 9.65294 5.5237 9.52516C5.65148 9.39738 5.80981 9.3335 5.9987 9.3335H13.9987C14.1876 9.3335 14.3459 9.39738 14.4737 9.52516C14.6015 9.65294 14.6654 9.81127 14.6654 10.0002C14.6654 10.1891 14.6015 10.3474 14.4737 10.4752C14.3459 10.6029 14.1876 10.6668 13.9987 10.6668H5.9987Z",
11708
+ fill: t
11709
+ }
11710
+ ) })
11711
+ ] }), PlusIcon = ({
11712
+ rectFill: e = "#99DFC7",
11713
+ pathFill: t = "#2CAC7F",
11714
+ ...i
11715
+ }) => /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...i, children: [
11716
+ /* @__PURE__ */ jsx("rect", { width: "20", height: "20", rx: "10", fill: e }),
11717
+ /* @__PURE__ */ jsx("mask", { id: "mask0_16264_15930", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "2", y: "2", width: "16", height: "16", children: /* @__PURE__ */ jsx("rect", { x: "2", y: "2", width: "16", height: "16", fill: "#D9D9D9" }) }),
11718
+ /* @__PURE__ */ jsx("g", { mask: "url(#mask0_16264_15930)", children: /* @__PURE__ */ jsx(
11719
+ "path",
11720
+ {
11721
+ d: "M9.33203 10.6685H5.9987C5.80981 10.6685 5.65148 10.6046 5.5237 10.4769C5.39592 10.3491 5.33203 10.1908 5.33203 10.0019C5.33203 9.81298 5.39592 9.65465 5.5237 9.52687C5.65148 9.39909 5.80981 9.3352 5.9987 9.3352H9.33203V6.00187C9.33203 5.81298 9.39592 5.65465 9.5237 5.52687C9.65148 5.39909 9.80981 5.33521 9.9987 5.33521C10.1876 5.33521 10.3459 5.39909 10.4737 5.52687C10.6015 5.65465 10.6654 5.81298 10.6654 6.00187V9.3352H13.9987C14.1876 9.3352 14.3459 9.39909 14.4737 9.52687C14.6015 9.65465 14.6654 9.81298 14.6654 10.0019C14.6654 10.1908 14.6015 10.3491 14.4737 10.4769C14.3459 10.6046 14.1876 10.6685 13.9987 10.6685H10.6654V14.0019C10.6654 14.1908 10.6015 14.3491 10.4737 14.4769C10.3459 14.6046 10.1876 14.6685 9.9987 14.6685C9.80981 14.6685 9.65148 14.6046 9.5237 14.4769C9.39592 14.3491 9.33203 14.1908 9.33203 14.0019V10.6685Z",
11722
+ fill: t
11723
+ }
11724
+ ) })
11725
+ ] }), Checked = (e) => /* @__PURE__ */ jsxs(
11698
11726
  "svg",
11699
11727
  {
11700
11728
  xmlns: "http://www.w3.org/2000/svg",
@@ -14067,15 +14095,15 @@ var build = { exports: {} };
14067
14095
  if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14068
14096
  return z;
14069
14097
  }(W);
14070
- }(H, we() ? Reflect.construct(F, O || [], ye(H).constructor) : F.apply(H, O));
14098
+ }(H, Se() ? Reflect.construct(F, O || [], ye(H).constructor) : F.apply(H, O));
14071
14099
  }
14072
- function we() {
14100
+ function Se() {
14073
14101
  try {
14074
14102
  var H = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
14075
14103
  }));
14076
14104
  } catch {
14077
14105
  }
14078
- return (we = function() {
14106
+ return (Se = function() {
14079
14107
  return !!H;
14080
14108
  })();
14081
14109
  }
@@ -14140,14 +14168,14 @@ var build = { exports: {} };
14140
14168
  for (var F = 1; F < arguments.length; F++) {
14141
14169
  var O = arguments[F] != null ? arguments[F] : {};
14142
14170
  F % 2 ? xe(Object(O), !0).forEach(function(W) {
14143
- Se(H, W, O[W]);
14171
+ we(H, W, O[W]);
14144
14172
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(H, Object.getOwnPropertyDescriptors(O)) : xe(Object(O)).forEach(function(W) {
14145
14173
  Object.defineProperty(H, W, Object.getOwnPropertyDescriptor(O, W));
14146
14174
  });
14147
14175
  }
14148
14176
  return H;
14149
14177
  }
14150
- function Se(H, F, O) {
14178
+ function we(H, F, O) {
14151
14179
  return (F = Ve(F)) in H ? Object.defineProperty(H, F, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : H[F] = O, H;
14152
14180
  }
14153
14181
  function Ae() {
@@ -19089,6 +19117,7 @@ export {
19089
19117
  LockIcon,
19090
19118
  LogoutIcon,
19091
19119
  MenuIcon,
19120
+ MinusIcon,
19092
19121
  Modal,
19093
19122
  Opacity,
19094
19123
  OpenInFullIcon,
@@ -19096,6 +19125,7 @@ export {
19096
19125
  PageInfoIcon,
19097
19126
  PancakeSwap,
19098
19127
  PhantomIcon,
19128
+ PlusIcon,
19099
19129
  PolygonLogo,
19100
19130
  QuestCard,
19101
19131
  Radiant,