boottent-design 0.1.7 → 0.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.
@@ -9,19 +9,19 @@ function se(e) {
9
9
  } else for (t in e) e[t] && (o && (o += " "), o += t);
10
10
  return o;
11
11
  }
12
- function pe() {
12
+ function ue() {
13
13
  for (var e, r, t = 0, o = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (r = se(e)) && (o && (o += " "), o += r);
14
14
  return o;
15
15
  }
16
- const X = "-", ue = (e) => {
17
- const r = ge(e), {
16
+ const X = "-", be = (e) => {
17
+ const r = fe(e), {
18
18
  conflictingClassGroups: t,
19
19
  conflictingClassGroupModifiers: o
20
20
  } = e;
21
21
  return {
22
22
  getClassGroupId: (a) => {
23
23
  const s = a.split(X);
24
- return s[0] === "" && s.length !== 1 && s.shift(), ie(s, r) || be(a);
24
+ return s[0] === "" && s.length !== 1 && s.shift(), ie(s, r) || ge(a);
25
25
  },
26
26
  getConflictingClassGroupIds: (a, s) => {
27
27
  const u = t[a] || [];
@@ -41,13 +41,13 @@ const X = "-", ue = (e) => {
41
41
  return (a = r.validators.find(({
42
42
  validator: s
43
43
  }) => s(n))) == null ? void 0 : a.classGroupId;
44
- }, te = /^\[(.+)\]$/, be = (e) => {
44
+ }, te = /^\[(.+)\]$/, ge = (e) => {
45
45
  if (te.test(e)) {
46
46
  const r = te.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
47
47
  if (t)
48
48
  return "arbitrary.." + t;
49
49
  }
50
- }, ge = (e) => {
50
+ }, fe = (e) => {
51
51
  const {
52
52
  theme: r,
53
53
  prefix: t
@@ -55,7 +55,7 @@ const X = "-", ue = (e) => {
55
55
  nextPart: /* @__PURE__ */ new Map(),
56
56
  validators: []
57
57
  };
58
- return me(Object.entries(e.classGroups), t).forEach(([n, a]) => {
58
+ return he(Object.entries(e.classGroups), t).forEach(([n, a]) => {
59
59
  D(a, o, n, r);
60
60
  }), o;
61
61
  }, D = (e, r, t, o) => {
@@ -66,7 +66,7 @@ const X = "-", ue = (e) => {
66
66
  return;
67
67
  }
68
68
  if (typeof i == "function") {
69
- if (fe(i)) {
69
+ if (me(i)) {
70
70
  D(i(o), r, t, o);
71
71
  return;
72
72
  }
@@ -88,10 +88,10 @@ const X = "-", ue = (e) => {
88
88
  validators: []
89
89
  }), t = t.nextPart.get(o);
90
90
  }), t;
91
- }, fe = (e) => e.isThemeGetter, me = (e, r) => r ? e.map(([t, o]) => {
91
+ }, me = (e) => e.isThemeGetter, he = (e, r) => r ? e.map(([t, o]) => {
92
92
  const i = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([a, s]) => [r + a, s])) : n);
93
93
  return [t, i];
94
- }) : e, he = (e) => {
94
+ }) : e, ye = (e) => {
95
95
  if (e < 1)
96
96
  return {
97
97
  get: () => {
@@ -115,7 +115,7 @@ const X = "-", ue = (e) => {
115
115
  t.has(n) ? t.set(n, a) : i(n, a);
116
116
  }
117
117
  };
118
- }, le = "!", ye = (e) => {
118
+ }, le = "!", xe = (e) => {
119
119
  const {
120
120
  separator: r,
121
121
  experimentalParseClassName: t
@@ -148,7 +148,7 @@ const X = "-", ue = (e) => {
148
148
  className: s,
149
149
  parseClassName: a
150
150
  }) : a;
151
- }, xe = (e) => {
151
+ }, we = (e) => {
152
152
  if (e.length <= 1)
153
153
  return e;
154
154
  const r = [];
@@ -156,16 +156,16 @@ const X = "-", ue = (e) => {
156
156
  return e.forEach((o) => {
157
157
  o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
158
158
  }), r.push(...t.sort()), r;
159
- }, we = (e) => ({
160
- cache: he(e.cacheSize),
161
- parseClassName: ye(e),
162
- ...ue(e)
163
- }), ve = /\s+/, Se = (e, r) => {
159
+ }, ve = (e) => ({
160
+ cache: ye(e.cacheSize),
161
+ parseClassName: xe(e),
162
+ ...be(e)
163
+ }), Se = /\s+/, Ce = (e, r) => {
164
164
  const {
165
165
  parseClassName: t,
166
166
  getClassGroupId: o,
167
167
  getConflictingClassGroupIds: i
168
- } = r, n = [], a = e.trim().split(ve);
168
+ } = r, n = [], a = e.trim().split(Se);
169
169
  let s = "";
170
170
  for (let u = a.length - 1; u >= 0; u -= 1) {
171
171
  const g = a[u], {
@@ -186,7 +186,7 @@ const X = "-", ue = (e) => {
186
186
  }
187
187
  w = !1;
188
188
  }
189
- const p = xe(m).join(":"), f = y ? p + le : p, h = f + b;
189
+ const p = we(m).join(":"), f = y ? p + le : p, h = f + b;
190
190
  if (n.includes(h))
191
191
  continue;
192
192
  n.push(h);
@@ -199,7 +199,7 @@ const X = "-", ue = (e) => {
199
199
  }
200
200
  return s;
201
201
  };
202
- function Ce() {
202
+ function ke() {
203
203
  let e = 0, r, t, o = "";
204
204
  for (; e < arguments.length; )
205
205
  (r = arguments[e++]) && (t = ae(r)) && (o && (o += " "), o += t);
@@ -213,35 +213,35 @@ const ae = (e) => {
213
213
  e[o] && (r = ae(e[o])) && (t && (t += " "), t += r);
214
214
  return t;
215
215
  };
216
- function ke(e, ...r) {
216
+ function Ae(e, ...r) {
217
217
  let t, o, i, n = a;
218
218
  function a(u) {
219
219
  const g = r.reduce((m, y) => y(m), e());
220
- return t = we(g), o = t.cache.get, i = t.cache.set, n = s, s(u);
220
+ return t = ve(g), o = t.cache.get, i = t.cache.set, n = s, s(u);
221
221
  }
222
222
  function s(u) {
223
223
  const g = o(u);
224
224
  if (g)
225
225
  return g;
226
- const m = Se(u, t);
226
+ const m = Ce(u, t);
227
227
  return i(u, m), m;
228
228
  }
229
229
  return function() {
230
- return n(Ce.apply(null, arguments));
230
+ return n(ke.apply(null, arguments));
231
231
  };
232
232
  }
233
233
  const c = (e) => {
234
234
  const r = (t) => t[e] || [];
235
235
  return r.isThemeGetter = !0, r;
236
- }, ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ae = /^\d+\/\d+$/, ze = /* @__PURE__ */ new Set(["px", "full", "screen"]), Te = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Me = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ie = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ee = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Re = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, C = (e) => T(e) || ze.has(e) || Ae.test(e), k = (e) => M(e, "length", Ve), T = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => M(e, "number", T), R = (e) => !!e && Number.isInteger(Number(e)), Ge = (e) => e.endsWith("%") && T(e.slice(0, -1)), l = (e) => ce.test(e), A = (e) => Te.test(e), Oe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Pe = (e) => M(e, Oe, de), _e = (e) => M(e, "position", de), je = /* @__PURE__ */ new Set(["image", "url"]), Ne = (e) => M(e, je, Ue), Le = (e) => M(e, "", We), G = () => !0, M = (e, r, t) => {
236
+ }, ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, ze = /^\d+\/\d+$/, Te = /* @__PURE__ */ new Set(["px", "full", "screen"]), Me = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ie = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ee = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Re = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ge = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, C = (e) => T(e) || Te.has(e) || ze.test(e), k = (e) => M(e, "length", We), T = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => M(e, "number", T), R = (e) => !!e && Number.isInteger(Number(e)), Oe = (e) => e.endsWith("%") && T(e.slice(0, -1)), l = (e) => ce.test(e), A = (e) => Me.test(e), Pe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), _e = (e) => M(e, Pe, de), je = (e) => M(e, "position", de), Ne = /* @__PURE__ */ new Set(["image", "url"]), Le = (e) => M(e, Ne, $e), Ve = (e) => M(e, "", Ue), G = () => !0, M = (e, r, t) => {
237
237
  const o = ce.exec(e);
238
238
  return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
239
- }, Ve = (e) => (
239
+ }, We = (e) => (
240
240
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
241
241
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
242
242
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
243
- Me.test(e) && !Ie.test(e)
244
- ), de = () => !1, We = (e) => Ee.test(e), Ue = (e) => Re.test(e), $e = () => {
243
+ Ie.test(e) && !Ee.test(e)
244
+ ), de = () => !1, Ue = (e) => Re.test(e), $e = (e) => Ge.test(e), Be = () => {
245
245
  const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"), i = c("borderColor"), n = c("borderRadius"), a = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), m = c("hueRotate"), y = c("invert"), x = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), b = c("inset"), p = c("margin"), f = c("opacity"), h = c("padding"), I = c("saturate"), z = c("scale"), P = c("sepia"), J = c("skew"), Q = c("space"), Y = c("translate"), V = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", l, r], d = () => [l, r], Z = () => ["", C, k], _ = () => ["auto", T, l], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], j = () => ["solid", "dashed", "dotted", "double", "none"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], E = () => ["", "0", l], ee = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [T, l];
246
246
  return {
247
247
  cacheSize: 500,
@@ -261,7 +261,7 @@ const c = (e) => {
261
261
  invert: E(),
262
262
  gap: d(),
263
263
  gradientColorStops: [e],
264
- gradientColorStopPositions: [Ge, k],
264
+ gradientColorStopPositions: [Oe, k],
265
265
  inset: U(),
266
266
  margin: U(),
267
267
  opacity: S(),
@@ -1174,7 +1174,7 @@ const c = (e) => {
1174
1174
  * @see https://tailwindcss.com/docs/background-position
1175
1175
  */
1176
1176
  "bg-position": [{
1177
- bg: [...H(), _e]
1177
+ bg: [...H(), je]
1178
1178
  }],
1179
1179
  /**
1180
1180
  * Background Repeat
@@ -1190,7 +1190,7 @@ const c = (e) => {
1190
1190
  * @see https://tailwindcss.com/docs/background-size
1191
1191
  */
1192
1192
  "bg-size": [{
1193
- bg: ["auto", "cover", "contain", Pe]
1193
+ bg: ["auto", "cover", "contain", _e]
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Background Image
@@ -1199,7 +1199,7 @@ const c = (e) => {
1199
1199
  "bg-image": [{
1200
1200
  bg: ["none", {
1201
1201
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1202
- }, Ne]
1202
+ }, Le]
1203
1203
  }],
1204
1204
  /**
1205
1205
  * Background Color
@@ -1615,7 +1615,7 @@ const c = (e) => {
1615
1615
  * @see https://tailwindcss.com/docs/box-shadow
1616
1616
  */
1617
1617
  shadow: [{
1618
- shadow: ["", "inner", "none", A, Le]
1618
+ shadow: ["", "inner", "none", A, Ve]
1619
1619
  }],
1620
1620
  /**
1621
1621
  * Box Shadow Color
@@ -2270,9 +2270,9 @@ const c = (e) => {
2270
2270
  "font-size": ["leading"]
2271
2271
  }
2272
2272
  };
2273
- }, Be = /* @__PURE__ */ ke($e), Fe = 5, qe = 2e3;
2273
+ }, Fe = /* @__PURE__ */ Ae(Be), qe = 5, De = 2e3;
2274
2274
  let F = 0;
2275
- function De() {
2275
+ function pe() {
2276
2276
  return F = (F + 1) % Number.MAX_SAFE_INTEGER, F.toString();
2277
2277
  }
2278
2278
  const q = /* @__PURE__ */ new Map(), ne = (e) => {
@@ -2283,14 +2283,14 @@ const q = /* @__PURE__ */ new Map(), ne = (e) => {
2283
2283
  type: "REMOVE_TOAST",
2284
2284
  toastId: e
2285
2285
  });
2286
- }, qe);
2286
+ }, De);
2287
2287
  q.set(e, r);
2288
2288
  }, Xe = (e, r) => {
2289
2289
  switch (r.type) {
2290
2290
  case "ADD_TOAST":
2291
2291
  return {
2292
2292
  ...e,
2293
- toasts: [r.toast, ...e.toasts].slice(0, Fe)
2293
+ toasts: [r.toast, ...e.toasts].slice(0, qe)
2294
2294
  };
2295
2295
  case "UPDATE_TOAST":
2296
2296
  return {
@@ -2302,7 +2302,7 @@ const q = /* @__PURE__ */ new Map(), ne = (e) => {
2302
2302
  case "DISMISS_TOAST": {
2303
2303
  const { toastId: t } = r;
2304
2304
  return t ? ne(t) : e.toasts.forEach((o) => {
2305
- ne(o.id);
2305
+ ne(o.id || pe());
2306
2306
  }), {
2307
2307
  ...e,
2308
2308
  toasts: e.toasts.map(
@@ -2330,7 +2330,7 @@ function O(e) {
2330
2330
  });
2331
2331
  }
2332
2332
  function Je({ ...e }) {
2333
- const r = De(), t = (i) => O({
2333
+ const r = pe(), t = (i) => O({
2334
2334
  type: "UPDATE_TOAST",
2335
2335
  toast: { ...i, id: r }
2336
2336
  }), o = () => O({ type: "DISMISS_TOAST", toastId: r });
@@ -2361,7 +2361,7 @@ function Qe() {
2361
2361
  dismiss: (t) => O({ type: "DISMISS_TOAST", toastId: t })
2362
2362
  };
2363
2363
  }
2364
- const Ye = (...e) => Be(pe(e));
2364
+ const Ye = (...e) => Fe(ue(e));
2365
2365
  export {
2366
2366
  Ye as cn,
2367
2367
  Ke as portalManager,
@@ -1,6 +1,6 @@
1
1
  import { jsx as C, jsxs as d } from "react/jsx-runtime";
2
2
  import { colors as w } from "./boottent-design.styles.es.js";
3
- import { h as v, i as H, j as V } from "./tooltip-x7XcU5XA.js";
3
+ import { h as v, i as H, j as V } from "./tooltip-CQQ6mZXI.js";
4
4
  const c = ({
5
5
  size: e = "24",
6
6
  fill: t = "#000000",
@@ -1 +1 @@
1
- "use strict";const C=require("react/jsx-runtime"),r=require("./boottent-design.styles.cjs.js"),i=require("./tooltip-Dbl2Hiq4.cjs"),w=({size:e="24",fill:t="#000000",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.95557 21.9477C10.2363 21.9477 10.798 21.0602 12.3933 21.0602C13.9887 21.0602 14.3706 21.914 15.7862 21.914C17.2017 21.914 18.1117 20.5883 18.9993 19.2851C19.9879 17.7909 20.3924 16.3304 20.4261 16.263C20.3362 16.2406 17.6624 15.1059 17.6624 11.949C17.6624 9.20773 19.7745 7.97193 19.8868 7.88205C18.4937 5.81489 16.3704 5.76995 15.7974 5.76995C14.2358 5.76995 12.9551 6.74736 12.1462 6.74736C11.2811 6.74736 10.1352 5.82612 8.77582 5.82612C6.19187 5.82612 3.57422 8.0281 3.57422 12.1737C3.57422 14.7464 4.55163 17.4764 5.74249 19.2402C6.76483 20.7344 7.6636 21.959 8.95557 21.959V21.9477ZM12.2473 5.52279C13.1798 5.52279 14.3594 4.87119 15.0559 4.00613C15.6851 3.21971 16.1457 2.11872 16.1457 1.01773C16.1457 0.87168 16.1345 0.714396 16.1007 0.602051C15.0559 0.646989 13.8089 1.32106 13.0562 2.23106C12.4608 2.92761 11.9215 4.00612 11.9215 5.11835C11.9215 5.27563 11.944 5.44415 11.9664 5.50032C12.0338 5.51156 12.135 5.52279 12.2473 5.52279Z",fill:t})}),x=({className:e,fill:t=r.colors.main[600],size:l="140"})=>C.jsx("svg",{width:l,height:`${Number(l)*124/977}`,viewBox:"0 0 977 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M93 62C93 99.7533 117.112 124 151 124C185.051 124 209 99.7533 209 62C209 24.084 185.051 0 151 0C117.112 0 93 24.084 93 62ZM194.989 62C194.989 89.9895 178.86 110.656 151 110.656C123.303 110.656 107.174 89.9895 107.174 62C107.174 34.0105 123.303 13.3438 151 13.3438C178.86 13.3438 194.989 33.8478 194.989 62ZM278 124C244.112 124 220 99.7533 220 62C220 24.084 244.112 0 278 0C312.051 0 336 24.084 336 62C336 99.7533 312.051 124 278 124ZM278 110.656C305.86 110.656 321.989 89.9895 321.989 62C321.989 33.8478 305.86 13.3438 278 13.3438C250.303 13.3438 234.174 34.0105 234.174 62C234.174 89.9895 250.303 110.656 278 110.656ZM390.078 122H379.922C378.775 122 378.119 121.346 378.119 120.201V14.9155H338.638C337.491 14.9155 337 14.2616 337 13.1171V3.63487C337 2.65395 337.491 2 338.638 2H431.362C432.345 2 433 2.65395 433 3.63487V13.1171C433 14.2616 432.345 14.9155 431.362 14.9155H391.881V120.201C391.881 121.346 391.225 122 390.078 122ZM42.9184 122H1.79507C0.652752 122 0 121.346 0 120.201V3.63487C0 2.65395 0.652752 2 1.79507 2H40.797C68.0493 2 80.2884 15.2425 80.2884 32.4086C80.2884 45.3242 74.0873 54.8064 62.3378 59.2206C78.167 63.1443 86 73.444 86 88.4848C86 108.267 73.2713 122 42.9184 122ZM13.7078 14.752V53.662H40.9602C58.5844 53.662 66.4175 46.3051 66.4175 34.207C66.4175 22.2724 57.7685 14.752 39.981 14.752H13.7078ZM13.7078 66.2505V109.084H42.9184C62.6641 109.084 71.9659 101.237 71.9659 87.5039C71.9659 73.9345 62.6641 66.2505 42.9184 66.2505H13.7078ZM923.922 122H934.078C935.225 122 935.881 121.346 935.881 120.201V14.9155H975.362C976.345 14.9155 977 14.2616 977 13.1171V3.63487C977 2.65395 976.345 2 975.362 2H882.638C881.491 2 881 2.65395 881 3.63487V13.1171C881 14.2616 881.491 14.9155 882.638 14.9155H922.119V120.201C922.119 121.346 922.775 122 923.922 122ZM787.625 122H777.801C776.655 122 776 121.346 776 120.201V3.63487C776 2.65395 776.655 2 777.801 2H788.771C789.754 2 790.245 2.32697 790.9 3.14441L855.738 99.7655V3.63487C855.738 2.65395 856.393 2 857.539 2H867.363C868.345 2 869 2.65395 869 3.63487V120.201C869 121.346 868.345 122 867.363 122H856.393C855.41 122 854.919 121.673 854.264 120.855L789.262 24.0708V120.201C789.262 121.346 788.607 122 787.625 122ZM687.806 122H762.358C763.343 122 764 121.346 764 120.201V110.719C764 109.738 763.343 109.084 762.358 109.084H699.794V66.2505H755.133C756.118 66.2505 756.775 65.5966 756.775 64.6157V55.2969C756.775 54.1525 756.118 53.4985 755.133 53.4985H699.794V14.9155H760.387C761.537 14.9155 762.194 14.2616 762.194 13.1171V3.63487C762.194 2.65395 761.537 2 760.387 2H687.806C686.657 2 686 2.65395 686 3.63487V120.201C686 121.346 686.657 122 687.806 122ZM631.078 122H620.922C619.775 122 619.119 121.346 619.119 120.201V14.9155H579.638C578.491 14.9155 578 14.2616 578 13.1171V3.63487C578 2.65395 578.491 2 579.638 2H672.362C673.345 2 674 2.65395 674 3.63487V13.1171C674 14.2616 673.345 14.9155 672.362 14.9155H632.881V120.201C632.881 121.346 632.225 122 631.078 122ZM460.936 106.978L506.5 28.8673L552.064 106.978H460.936ZM440 119L506.5 5L573 119H440Z",fill:t})}),v=({size:e="24",fill:t="#FFFFFF",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:l,children:[C.jsx("circle",{cx:"12",cy:"12.0002",r:"12",fill:"#0866FF"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8821 23.8536V15.4806H16.6781L17.2061 12.0126H13.8821V9.75663C13.8821 8.80863 14.3501 7.88463 15.8381 7.88463H17.3501V4.93263C17.3501 4.93263 15.9701 4.69263 14.6621 4.69263C11.9141 4.69263 10.1261 6.34863 10.1261 9.36063V12.0006H7.07812V15.4686H10.1261V23.8555C10.7361 23.951 11.3613 24.0006 11.9981 24.0006C12.6391 24.0006 13.2683 23.9504 13.8821 23.8536Z",fill:t})]}),c=({size:e="24",fill:t="none",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:t,className:l,children:[C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.52 12.2733C23.52 11.4226 23.444 10.6039 23.3013 9.8186H12V14.4599H18.4587C18.18 15.9599 17.3347 17.2319 16.064 18.0826V21.0933H19.9413C22.2107 19.0039 23.52 15.9279 23.52 12.2733Z",fill:"#3D82F0"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 24.0005C15.2394 24.0005 17.956 22.9253 19.9413 21.0933L16.064 18.0826C14.9893 18.8026 13.6141 19.2272 11.9994 19.2272C8.87406 19.2272 6.22872 17.1165 5.28472 14.2805H1.27539V17.3899C3.25006 21.3112 7.30872 24.0005 11.9994 24.0005Z",fill:"#31A752"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.28472 14.2805C5.04472 13.5605 4.90933 12.7912 4.90933 12.0005C4.90933 11.2099 5.04533 10.4405 5.28533 9.72054V6.61121H1.276C0.464 8.23121 0 10.0645 0 12.0005C0 13.9365 0.463391 15.7699 1.27539 17.3899L5.28472 14.2805Z",fill:"#F9BA00"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 4.77358C13.7607 4.77358 15.3434 5.37891 16.5861 6.56824L20.0287 3.12691C17.9501 1.18958 15.2341 0.000244141 11.9994 0.000244141C7.30872 0.000244141 3.25006 2.68958 1.27539 6.61225L5.28533 9.72054C6.22933 6.88454 8.87406 4.77358 11.9994 4.77358Z",fill:"#E64234"})]}),H=({size:e="24",fill:t="none",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:`${Number(e)*24/21}`,viewBox:"0 0 21 24",fill:t,className:l,children:[C.jsx("path",{d:"M9.84416 11.5002L0.591043 21.3177C0.877759 22.3864 1.85086 23.1683 3.00641 23.1683C3.4669 23.1683 3.90131 23.0467 4.27491 22.8208L4.30098 22.8034L14.7097 16.7999L9.83547 11.4915L9.84416 11.5002Z",fill:"#EA4335"}),C.jsx("path",{d:"M19.2006 9.83196H19.192L14.7001 7.21684L9.63475 11.726L14.7174 16.8085L19.192 14.2281C19.9739 13.8024 20.5039 12.9771 20.5039 12.0301C20.5039 11.083 19.9826 10.2577 19.2006 9.84065V9.83196Z",fill:"#FBBC04"}),C.jsx("path",{d:"M0.59079 2.69054C0.53866 2.89905 0.503906 3.10757 0.503906 3.33346V20.6836C0.503906 20.9095 0.529971 21.118 0.59079 21.3265L10.1567 11.7609L0.59079 2.69054Z",fill:"#4285F4"}),C.jsx("path",{d:"M9.91367 12.0041L14.7001 7.21684L4.30098 1.18739C3.92738 0.961499 3.48427 0.831177 3.00641 0.831177C1.85086 0.831177 0.877759 1.6218 0.591043 2.68175L9.91367 11.9954V12.0041Z",fill:"#34A853"})]}),u=({size:e="20",fill:t="none",className:l})=>C.jsxs("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:t,xmlns:"http://www.w3.org/2000/svg",className:l,children:[C.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",fill:"white"}),C.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",stroke:"#DDE2E6"}),C.jsxs("g",{clipPath:"url(#clip0_4596_247326)",children:[C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8 10.1139C14.8 9.75944 14.7683 9.41833 14.7089 9.0911H10V11.025H12.6911C12.575 11.65 12.2228 12.18 11.6933 12.5344V13.7889H13.3089C14.2544 12.9183 14.8 11.6367 14.8 10.1139Z",fill:"#3D82F0"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 15.0002C11.3497 15.0002 12.4817 14.5522 13.3089 13.7889L11.6933 12.5344C11.2456 12.8344 10.6725 13.0113 9.99975 13.0113C8.69752 13.0113 7.5953 12.1319 7.20197 10.9502H5.53141V12.2458C6.35419 13.8797 8.0453 15.0002 9.99975 15.0002Z",fill:"#31A752"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.20197 10.9502C7.10197 10.6502 7.04556 10.3297 7.04556 10.0002C7.04556 9.6708 7.10222 9.35025 7.20222 9.05025V7.75469H5.53167C5.19333 8.42969 5 9.19358 5 10.0002C5 10.8069 5.19308 11.5708 5.53141 12.2458L7.20197 10.9502Z",fill:"#F9BA00"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 6.98901C10.7336 6.98901 11.3931 7.24123 11.9109 7.73679L13.3453 6.3029C12.4792 5.49568 11.3475 5.00012 9.99975 5.00012C8.0453 5.00012 6.35419 6.12068 5.53141 7.75512L7.20222 9.05025C7.59556 7.86858 8.69752 6.98901 9.99975 6.98901Z",fill:"#E64234"})]}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_4596_247326",children:C.jsx("rect",{width:"10",height:"10",fill:"white",transform:"translate(5 5)"})})})]}),V=({size:e="24",fill:t="black",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.61816C6.48 2.61816 2 6.09816 2 10.3782C2 13.0482 3.73 15.3782 6.37 16.7982L5.26 20.8682C5.23906 20.9491 5.24337 21.0345 5.27235 21.113C5.30134 21.1914 5.35362 21.2591 5.42217 21.307C5.49073 21.3549 5.57228 21.3806 5.6559 21.3808C5.73952 21.3811 5.8212 21.3557 5.89 21.3082L10.75 18.0782C11.16 18.0782 11.58 18.1482 12 18.1482C17.52 18.1482 22 14.6682 22 10.3782C22 6.08816 17.52 2.61816 12 2.61816Z",fill:t})}),p=({size:e="20",fill:t="none",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:t,className:l,children:[C.jsx("rect",{width:"20",height:"20",rx:"10",fill:"#FEE500"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5.3125C7.24 5.3125 5 7.0525 5 9.1925C5 10.5275 5.865 11.6925 7.185 12.4025L6.63 14.4375C6.61953 14.478 6.62168 14.5207 6.63618 14.5599C6.65067 14.5991 6.67681 14.633 6.71109 14.6569C6.74536 14.6809 6.78614 14.6937 6.82795 14.6938C6.86976 14.6939 6.9106 14.6813 6.945 14.6575L9.375 13.0425C9.58 13.0425 9.79 13.0775 10 13.0775C12.76 13.0775 15 11.3375 15 9.1925C15 7.0475 12.76 5.3125 10 5.3125Z",fill:"black"})]}),g=({size:e="20",fill:t="none",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:t,className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#0A66C2"})}),j=({size:e="20",fill:t="none",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:`${Number(e)*18/20}`,viewBox:"0 0 20 18",fill:t,className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#00C73C"})}),f=({size:e="22",fill:t="none",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 22 16",fill:t,className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.3192 0.992222C20.2351 1.23717 20.9593 1.96137 21.2043 2.87727C21.6516 4.53867 21.6516 7.99992 21.6516 7.99992C21.6516 7.99992 21.6516 11.4612 21.2043 13.1226C20.9593 14.0385 20.2351 14.7627 19.3192 15.0076C17.6578 15.4549 11.0016 15.4549 11.0016 15.4549C11.0016 15.4549 4.34531 15.4549 2.68391 15.0076C1.76801 14.7627 1.04381 14.0385 0.798863 13.1226C0.351562 11.4612 0.351562 7.99992 0.351562 7.99992C0.351562 7.99992 0.351562 4.53867 0.798863 2.87727C1.04381 1.96137 1.76801 1.23717 2.68391 0.992222C4.34531 0.544922 11.0016 0.544922 11.0016 0.544922C11.0016 0.544922 17.6578 0.544922 19.3192 0.992222ZM8.87207 10.329C8.87207 10.7138 9.2886 10.9544 9.62193 10.7621L13.6594 8.43278C13.9929 8.24037 13.9929 7.75901 13.6594 7.5666L9.62193 5.2373C9.2886 5.04499 8.87207 5.28556 8.87207 5.67039V10.329Z",fill:"#FF0000"})}),M={Apple:w,FacebookRound:v,Google:c,GooglePlaystore:H,GoogleRound:u,KakaoMessage:V,KakaoRound:p,LinkedIn:g,NaverBlog:j,YouTube:f,Boottent:x},Z=({tooltipLabel:e,variant:t,size:l,children:n,icLeft:d,icRight:o,position:s,arrow:h=!0})=>C.jsxs(i.Tooltip,{delayDuration:500,children:[C.jsx(i.TooltipTrigger,{asChild:!0,children:n}),C.jsx(i.TooltipContent,{variant:t,size:l,icLeft:d,icRight:o,arrow:h,position:s,children:e})]});exports.Symbols=M;exports.TooltipButton=Z;
1
+ "use strict";const C=require("react/jsx-runtime"),r=require("./boottent-design.styles.cjs.js"),i=require("./tooltip-Da-8zZlA.cjs"),w=({size:e="24",fill:t="#000000",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.95557 21.9477C10.2363 21.9477 10.798 21.0602 12.3933 21.0602C13.9887 21.0602 14.3706 21.914 15.7862 21.914C17.2017 21.914 18.1117 20.5883 18.9993 19.2851C19.9879 17.7909 20.3924 16.3304 20.4261 16.263C20.3362 16.2406 17.6624 15.1059 17.6624 11.949C17.6624 9.20773 19.7745 7.97193 19.8868 7.88205C18.4937 5.81489 16.3704 5.76995 15.7974 5.76995C14.2358 5.76995 12.9551 6.74736 12.1462 6.74736C11.2811 6.74736 10.1352 5.82612 8.77582 5.82612C6.19187 5.82612 3.57422 8.0281 3.57422 12.1737C3.57422 14.7464 4.55163 17.4764 5.74249 19.2402C6.76483 20.7344 7.6636 21.959 8.95557 21.959V21.9477ZM12.2473 5.52279C13.1798 5.52279 14.3594 4.87119 15.0559 4.00613C15.6851 3.21971 16.1457 2.11872 16.1457 1.01773C16.1457 0.87168 16.1345 0.714396 16.1007 0.602051C15.0559 0.646989 13.8089 1.32106 13.0562 2.23106C12.4608 2.92761 11.9215 4.00612 11.9215 5.11835C11.9215 5.27563 11.944 5.44415 11.9664 5.50032C12.0338 5.51156 12.135 5.52279 12.2473 5.52279Z",fill:t})}),x=({className:e,fill:t=r.colors.main[600],size:l="140"})=>C.jsx("svg",{width:l,height:`${Number(l)*124/977}`,viewBox:"0 0 977 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M93 62C93 99.7533 117.112 124 151 124C185.051 124 209 99.7533 209 62C209 24.084 185.051 0 151 0C117.112 0 93 24.084 93 62ZM194.989 62C194.989 89.9895 178.86 110.656 151 110.656C123.303 110.656 107.174 89.9895 107.174 62C107.174 34.0105 123.303 13.3438 151 13.3438C178.86 13.3438 194.989 33.8478 194.989 62ZM278 124C244.112 124 220 99.7533 220 62C220 24.084 244.112 0 278 0C312.051 0 336 24.084 336 62C336 99.7533 312.051 124 278 124ZM278 110.656C305.86 110.656 321.989 89.9895 321.989 62C321.989 33.8478 305.86 13.3438 278 13.3438C250.303 13.3438 234.174 34.0105 234.174 62C234.174 89.9895 250.303 110.656 278 110.656ZM390.078 122H379.922C378.775 122 378.119 121.346 378.119 120.201V14.9155H338.638C337.491 14.9155 337 14.2616 337 13.1171V3.63487C337 2.65395 337.491 2 338.638 2H431.362C432.345 2 433 2.65395 433 3.63487V13.1171C433 14.2616 432.345 14.9155 431.362 14.9155H391.881V120.201C391.881 121.346 391.225 122 390.078 122ZM42.9184 122H1.79507C0.652752 122 0 121.346 0 120.201V3.63487C0 2.65395 0.652752 2 1.79507 2H40.797C68.0493 2 80.2884 15.2425 80.2884 32.4086C80.2884 45.3242 74.0873 54.8064 62.3378 59.2206C78.167 63.1443 86 73.444 86 88.4848C86 108.267 73.2713 122 42.9184 122ZM13.7078 14.752V53.662H40.9602C58.5844 53.662 66.4175 46.3051 66.4175 34.207C66.4175 22.2724 57.7685 14.752 39.981 14.752H13.7078ZM13.7078 66.2505V109.084H42.9184C62.6641 109.084 71.9659 101.237 71.9659 87.5039C71.9659 73.9345 62.6641 66.2505 42.9184 66.2505H13.7078ZM923.922 122H934.078C935.225 122 935.881 121.346 935.881 120.201V14.9155H975.362C976.345 14.9155 977 14.2616 977 13.1171V3.63487C977 2.65395 976.345 2 975.362 2H882.638C881.491 2 881 2.65395 881 3.63487V13.1171C881 14.2616 881.491 14.9155 882.638 14.9155H922.119V120.201C922.119 121.346 922.775 122 923.922 122ZM787.625 122H777.801C776.655 122 776 121.346 776 120.201V3.63487C776 2.65395 776.655 2 777.801 2H788.771C789.754 2 790.245 2.32697 790.9 3.14441L855.738 99.7655V3.63487C855.738 2.65395 856.393 2 857.539 2H867.363C868.345 2 869 2.65395 869 3.63487V120.201C869 121.346 868.345 122 867.363 122H856.393C855.41 122 854.919 121.673 854.264 120.855L789.262 24.0708V120.201C789.262 121.346 788.607 122 787.625 122ZM687.806 122H762.358C763.343 122 764 121.346 764 120.201V110.719C764 109.738 763.343 109.084 762.358 109.084H699.794V66.2505H755.133C756.118 66.2505 756.775 65.5966 756.775 64.6157V55.2969C756.775 54.1525 756.118 53.4985 755.133 53.4985H699.794V14.9155H760.387C761.537 14.9155 762.194 14.2616 762.194 13.1171V3.63487C762.194 2.65395 761.537 2 760.387 2H687.806C686.657 2 686 2.65395 686 3.63487V120.201C686 121.346 686.657 122 687.806 122ZM631.078 122H620.922C619.775 122 619.119 121.346 619.119 120.201V14.9155H579.638C578.491 14.9155 578 14.2616 578 13.1171V3.63487C578 2.65395 578.491 2 579.638 2H672.362C673.345 2 674 2.65395 674 3.63487V13.1171C674 14.2616 673.345 14.9155 672.362 14.9155H632.881V120.201C632.881 121.346 632.225 122 631.078 122ZM460.936 106.978L506.5 28.8673L552.064 106.978H460.936ZM440 119L506.5 5L573 119H440Z",fill:t})}),v=({size:e="24",fill:t="#FFFFFF",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:l,children:[C.jsx("circle",{cx:"12",cy:"12.0002",r:"12",fill:"#0866FF"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8821 23.8536V15.4806H16.6781L17.2061 12.0126H13.8821V9.75663C13.8821 8.80863 14.3501 7.88463 15.8381 7.88463H17.3501V4.93263C17.3501 4.93263 15.9701 4.69263 14.6621 4.69263C11.9141 4.69263 10.1261 6.34863 10.1261 9.36063V12.0006H7.07812V15.4686H10.1261V23.8555C10.7361 23.951 11.3613 24.0006 11.9981 24.0006C12.6391 24.0006 13.2683 23.9504 13.8821 23.8536Z",fill:t})]}),c=({size:e="24",fill:t="none",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:t,className:l,children:[C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.52 12.2733C23.52 11.4226 23.444 10.6039 23.3013 9.8186H12V14.4599H18.4587C18.18 15.9599 17.3347 17.2319 16.064 18.0826V21.0933H19.9413C22.2107 19.0039 23.52 15.9279 23.52 12.2733Z",fill:"#3D82F0"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 24.0005C15.2394 24.0005 17.956 22.9253 19.9413 21.0933L16.064 18.0826C14.9893 18.8026 13.6141 19.2272 11.9994 19.2272C8.87406 19.2272 6.22872 17.1165 5.28472 14.2805H1.27539V17.3899C3.25006 21.3112 7.30872 24.0005 11.9994 24.0005Z",fill:"#31A752"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.28472 14.2805C5.04472 13.5605 4.90933 12.7912 4.90933 12.0005C4.90933 11.2099 5.04533 10.4405 5.28533 9.72054V6.61121H1.276C0.464 8.23121 0 10.0645 0 12.0005C0 13.9365 0.463391 15.7699 1.27539 17.3899L5.28472 14.2805Z",fill:"#F9BA00"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 4.77358C13.7607 4.77358 15.3434 5.37891 16.5861 6.56824L20.0287 3.12691C17.9501 1.18958 15.2341 0.000244141 11.9994 0.000244141C7.30872 0.000244141 3.25006 2.68958 1.27539 6.61225L5.28533 9.72054C6.22933 6.88454 8.87406 4.77358 11.9994 4.77358Z",fill:"#E64234"})]}),H=({size:e="24",fill:t="none",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:`${Number(e)*24/21}`,viewBox:"0 0 21 24",fill:t,className:l,children:[C.jsx("path",{d:"M9.84416 11.5002L0.591043 21.3177C0.877759 22.3864 1.85086 23.1683 3.00641 23.1683C3.4669 23.1683 3.90131 23.0467 4.27491 22.8208L4.30098 22.8034L14.7097 16.7999L9.83547 11.4915L9.84416 11.5002Z",fill:"#EA4335"}),C.jsx("path",{d:"M19.2006 9.83196H19.192L14.7001 7.21684L9.63475 11.726L14.7174 16.8085L19.192 14.2281C19.9739 13.8024 20.5039 12.9771 20.5039 12.0301C20.5039 11.083 19.9826 10.2577 19.2006 9.84065V9.83196Z",fill:"#FBBC04"}),C.jsx("path",{d:"M0.59079 2.69054C0.53866 2.89905 0.503906 3.10757 0.503906 3.33346V20.6836C0.503906 20.9095 0.529971 21.118 0.59079 21.3265L10.1567 11.7609L0.59079 2.69054Z",fill:"#4285F4"}),C.jsx("path",{d:"M9.91367 12.0041L14.7001 7.21684L4.30098 1.18739C3.92738 0.961499 3.48427 0.831177 3.00641 0.831177C1.85086 0.831177 0.877759 1.6218 0.591043 2.68175L9.91367 11.9954V12.0041Z",fill:"#34A853"})]}),u=({size:e="20",fill:t="none",className:l})=>C.jsxs("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:t,xmlns:"http://www.w3.org/2000/svg",className:l,children:[C.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",fill:"white"}),C.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",stroke:"#DDE2E6"}),C.jsxs("g",{clipPath:"url(#clip0_4596_247326)",children:[C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8 10.1139C14.8 9.75944 14.7683 9.41833 14.7089 9.0911H10V11.025H12.6911C12.575 11.65 12.2228 12.18 11.6933 12.5344V13.7889H13.3089C14.2544 12.9183 14.8 11.6367 14.8 10.1139Z",fill:"#3D82F0"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 15.0002C11.3497 15.0002 12.4817 14.5522 13.3089 13.7889L11.6933 12.5344C11.2456 12.8344 10.6725 13.0113 9.99975 13.0113C8.69752 13.0113 7.5953 12.1319 7.20197 10.9502H5.53141V12.2458C6.35419 13.8797 8.0453 15.0002 9.99975 15.0002Z",fill:"#31A752"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.20197 10.9502C7.10197 10.6502 7.04556 10.3297 7.04556 10.0002C7.04556 9.6708 7.10222 9.35025 7.20222 9.05025V7.75469H5.53167C5.19333 8.42969 5 9.19358 5 10.0002C5 10.8069 5.19308 11.5708 5.53141 12.2458L7.20197 10.9502Z",fill:"#F9BA00"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 6.98901C10.7336 6.98901 11.3931 7.24123 11.9109 7.73679L13.3453 6.3029C12.4792 5.49568 11.3475 5.00012 9.99975 5.00012C8.0453 5.00012 6.35419 6.12068 5.53141 7.75512L7.20222 9.05025C7.59556 7.86858 8.69752 6.98901 9.99975 6.98901Z",fill:"#E64234"})]}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_4596_247326",children:C.jsx("rect",{width:"10",height:"10",fill:"white",transform:"translate(5 5)"})})})]}),V=({size:e="24",fill:t="black",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.61816C6.48 2.61816 2 6.09816 2 10.3782C2 13.0482 3.73 15.3782 6.37 16.7982L5.26 20.8682C5.23906 20.9491 5.24337 21.0345 5.27235 21.113C5.30134 21.1914 5.35362 21.2591 5.42217 21.307C5.49073 21.3549 5.57228 21.3806 5.6559 21.3808C5.73952 21.3811 5.8212 21.3557 5.89 21.3082L10.75 18.0782C11.16 18.0782 11.58 18.1482 12 18.1482C17.52 18.1482 22 14.6682 22 10.3782C22 6.08816 17.52 2.61816 12 2.61816Z",fill:t})}),p=({size:e="20",fill:t="none",className:l})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:t,className:l,children:[C.jsx("rect",{width:"20",height:"20",rx:"10",fill:"#FEE500"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5.3125C7.24 5.3125 5 7.0525 5 9.1925C5 10.5275 5.865 11.6925 7.185 12.4025L6.63 14.4375C6.61953 14.478 6.62168 14.5207 6.63618 14.5599C6.65067 14.5991 6.67681 14.633 6.71109 14.6569C6.74536 14.6809 6.78614 14.6937 6.82795 14.6938C6.86976 14.6939 6.9106 14.6813 6.945 14.6575L9.375 13.0425C9.58 13.0425 9.79 13.0775 10 13.0775C12.76 13.0775 15 11.3375 15 9.1925C15 7.0475 12.76 5.3125 10 5.3125Z",fill:"black"})]}),g=({size:e="20",fill:t="none",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:t,className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#0A66C2"})}),j=({size:e="20",fill:t="none",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:`${Number(e)*18/20}`,viewBox:"0 0 20 18",fill:t,className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#00C73C"})}),f=({size:e="22",fill:t="none",className:l})=>C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 22 16",fill:t,className:l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.3192 0.992222C20.2351 1.23717 20.9593 1.96137 21.2043 2.87727C21.6516 4.53867 21.6516 7.99992 21.6516 7.99992C21.6516 7.99992 21.6516 11.4612 21.2043 13.1226C20.9593 14.0385 20.2351 14.7627 19.3192 15.0076C17.6578 15.4549 11.0016 15.4549 11.0016 15.4549C11.0016 15.4549 4.34531 15.4549 2.68391 15.0076C1.76801 14.7627 1.04381 14.0385 0.798863 13.1226C0.351562 11.4612 0.351562 7.99992 0.351562 7.99992C0.351562 7.99992 0.351562 4.53867 0.798863 2.87727C1.04381 1.96137 1.76801 1.23717 2.68391 0.992222C4.34531 0.544922 11.0016 0.544922 11.0016 0.544922C11.0016 0.544922 17.6578 0.544922 19.3192 0.992222ZM8.87207 10.329C8.87207 10.7138 9.2886 10.9544 9.62193 10.7621L13.6594 8.43278C13.9929 8.24037 13.9929 7.75901 13.6594 7.5666L9.62193 5.2373C9.2886 5.04499 8.87207 5.28556 8.87207 5.67039V10.329Z",fill:"#FF0000"})}),M={Apple:w,FacebookRound:v,Google:c,GooglePlaystore:H,GoogleRound:u,KakaoMessage:V,KakaoRound:p,LinkedIn:g,NaverBlog:j,YouTube:f,Boottent:x},Z=({tooltipLabel:e,variant:t,size:l,children:n,icLeft:d,icRight:o,position:s,arrow:h=!0})=>C.jsxs(i.Tooltip,{delayDuration:500,children:[C.jsx(i.TooltipTrigger,{asChild:!0,children:n}),C.jsx(i.TooltipContent,{variant:t,size:l,icLeft:d,icRight:o,arrow:h,position:s,children:e})]});exports.Symbols=M;exports.TooltipButton=Z;
@@ -0,0 +1 @@
1
+ "use strict";const c=require("react/jsx-runtime"),u=require("./tooltip-Da-8zZlA.cjs"),a=require("react"),l=require("./portal-manager-6YGufJVr.cjs"),f=require("./boottent-design.utils.cjs.js"),p=()=>{const[o,d]=a.useState([]);a.useEffect(()=>{const e=l.portalManager.subscribe((s,t)=>{d(i=>{if(t){if(!i.find(r=>r.id===s.id))return[...i,{...s,isOpen:t}]}else return i.map(r=>r.id===s.id?{...r,isOpen:t}:r);return i})});return()=>{e()}},[]);const n=e=>{l.portalManager.setPortalOpen(e,!1)};return a.useEffect(()=>{o.forEach(e=>{if(!e.isOpen){const s=setTimeout(()=>{d(t=>t.filter(i=>i.id!==e.id))},300);return()=>clearTimeout(s)}})},[o]),a.useEffect(()=>{const e=s=>{const t=s.props;f.toast({title:t.title,description:t.description,action:t.action,closeButton:t.closeButton,variant:t.variant,position:t.position,size:t.size,className:t.className}),n(s.id)};o.forEach(s=>{s.type==="toast"&&s.isOpen&&e(s)})},[o,n]),c.jsxs(u.PortalContainer,{children:[c.jsx(u.Toaster,{}),o.map(e=>{var s;if(!e.isOpen)return null;switch(e.type){case"modal":return c.jsx(u.Modal,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),n(e.id)},description:(s=e.props.description)==null?void 0:s.toString()},e.id);case"alert":return c.jsx(u.Alert,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),n(e.id)}},e.id);case"dialog":return c.jsx(u.Dialog,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),n(e.id)}},e.id);case"toast":return null;default:return null}})]})};exports.PortalProvider=p;
@@ -0,0 +1,106 @@
1
+ import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
+ import { P as f, T as m, D as p, f as C, M as P } from "./tooltip-CQQ6mZXI.js";
3
+ import { useState as h, useEffect as c } from "react";
4
+ import { p as u } from "./portal-manager-CttMAZAu.js";
5
+ import { toast as T } from "./boottent-design.utils.es.js";
6
+ const j = () => {
7
+ const [t, d] = h([]);
8
+ c(() => {
9
+ const s = u.subscribe(
10
+ (e, o) => {
11
+ d((i) => {
12
+ if (o) {
13
+ if (!i.find((r) => r.id === e.id))
14
+ return [...i, { ...e, isOpen: o }];
15
+ } else
16
+ return i.map(
17
+ (r) => r.id === e.id ? { ...r, isOpen: o } : r
18
+ );
19
+ return i;
20
+ });
21
+ }
22
+ );
23
+ return () => {
24
+ s();
25
+ };
26
+ }, []);
27
+ const n = (s) => {
28
+ u.setPortalOpen(s, !1);
29
+ };
30
+ return c(() => {
31
+ t.forEach((s) => {
32
+ if (!s.isOpen) {
33
+ const e = setTimeout(() => {
34
+ d((o) => o.filter((i) => i.id !== s.id));
35
+ }, 300);
36
+ return () => clearTimeout(e);
37
+ }
38
+ });
39
+ }, [t]), c(() => {
40
+ const s = (e) => {
41
+ const o = e.props;
42
+ T({
43
+ title: o.title,
44
+ description: o.description,
45
+ action: o.action,
46
+ closeButton: o.closeButton,
47
+ variant: o.variant,
48
+ position: o.position,
49
+ size: o.size,
50
+ className: o.className
51
+ }), n(e.id);
52
+ };
53
+ t.forEach((e) => {
54
+ e.type === "toast" && e.isOpen && s(e);
55
+ });
56
+ }, [t, n]), /* @__PURE__ */ l(f, { children: [
57
+ /* @__PURE__ */ a(m, {}),
58
+ t.map((s) => {
59
+ var e;
60
+ if (!s.isOpen) return null;
61
+ switch (s.type) {
62
+ case "modal":
63
+ return /* @__PURE__ */ a(
64
+ P,
65
+ {
66
+ ...s.props,
67
+ onClose: () => {
68
+ s.props.onClose && s.props.onClose(), n(s.id);
69
+ },
70
+ description: (e = s.props.description) == null ? void 0 : e.toString()
71
+ },
72
+ s.id
73
+ );
74
+ case "alert":
75
+ return /* @__PURE__ */ a(
76
+ C,
77
+ {
78
+ ...s.props,
79
+ onClose: () => {
80
+ s.props.onClose && s.props.onClose(), n(s.id);
81
+ }
82
+ },
83
+ s.id
84
+ );
85
+ case "dialog":
86
+ return /* @__PURE__ */ a(
87
+ p,
88
+ {
89
+ ...s.props,
90
+ onClose: () => {
91
+ s.props.onClose && s.props.onClose(), n(s.id);
92
+ }
93
+ },
94
+ s.id
95
+ );
96
+ case "toast":
97
+ return null;
98
+ default:
99
+ return null;
100
+ }
101
+ })
102
+ ] });
103
+ };
104
+ export {
105
+ j as P
106
+ };
@@ -3859,7 +3859,7 @@ const _o = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ s(
3859
3859
  {
3860
3860
  ref: n,
3861
3861
  className: S(
3862
- ue({ variant: "outline", size: "sm" }),
3862
+ ue({ variant: "outline", size: "sm", theme: "secondary" }),
3863
3863
  "mt-2 w-1/2 sm:mt-0",
3864
3864
  e
3865
3865
  ),
@@ -4081,7 +4081,7 @@ const pl = l.forwardRef(
4081
4081
  children: [
4082
4082
  /* @__PURE__ */ R(dn, { children: [
4083
4083
  /* @__PURE__ */ s(pn, { children: e }),
4084
- t && /* @__PURE__ */ s(Le, { children: t }),
4084
+ t && /* @__PURE__ */ s(Le, { className: "text-sm text-grey-800", children: t }),
4085
4085
  n && /* @__PURE__ */ s(Le, { className: "text-xs text-grey-600", children: n })
4086
4086
  ] }),
4087
4087
  r && /* @__PURE__ */ s(Le, { className: "text-sm font-normal text-grey-600", children: r }),
@@ -4655,7 +4655,7 @@ const di = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ s(
4655
4655
  di.displayName = ri.displayName;
4656
4656
  function bu() {
4657
4657
  const { toasts: e } = Ui(), t = e.reduce((n, r) => {
4658
- const o = r.position || "center";
4658
+ const o = r.position || "top-center";
4659
4659
  return n[o] || (n[o] = []), n[o].push(r), n;
4660
4660
  }, {});
4661
4661
  return /* @__PURE__ */ s(Ki, { children: Object.entries(t).map(([n, r]) => /* @__PURE__ */ R(_l, { children: [
@@ -4663,12 +4663,12 @@ function bu() {
4663
4663
  ai,
4664
4664
  {
4665
4665
  className: S(
4666
- n === "top-left" && "top-0 left-0",
4667
- n === "top-center" && "top-0 left-1/2 transform -translate-x-1/2",
4668
- n === "top-right" && "top-0 right-0 items-end",
4669
- n === "bottom-left" && "bottom-0 left-0",
4670
- n === "bottom-center" && "bottom-0 left-1/2 transform -translate-x-1/2",
4671
- n === "bottom-right" && "bottom-0 right-0 items-end"
4666
+ n === "top-left" && "top-16 left-0",
4667
+ n === "top-center" && "top-16 left-1/2 transform -translate-x-1/2",
4668
+ n === "top-right" && "top-16 right-0 items-end",
4669
+ n === "bottom-left" && "bottom-4 left-0",
4670
+ n === "bottom-center" && "bottom-4 left-1/2 transform -translate-x-1/2",
4671
+ n === "bottom-right" && "bottom-4 right-0 items-end"
4672
4672
  )
4673
4673
  }
4674
4674
  ),
@@ -4693,7 +4693,7 @@ function bu() {
4693
4693
  i && /* @__PURE__ */ s(ui, { children: i }),
4694
4694
  a && /* @__PURE__ */ s(di, { children: a })
4695
4695
  ] }),
4696
- c && /* @__PURE__ */ s(ci, { altText: o, onClick: c, className: S(ue({ variant: f === "black" ? "solid" : "outline", size: "sm", theme: "secondary" })), children: d }),
4696
+ c && /* @__PURE__ */ s(ci, { altText: o || "toast action", onClick: c, className: S(ue({ variant: f === "black" ? "solid" : "outline", size: "sm", theme: "secondary" })), children: d }),
4697
4697
  u && /* @__PURE__ */ s(li, {})
4698
4698
  ]
4699
4699
  },