@telefonica/mistica 15.9.0 → 15.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/boxed.css-mistica.js +35 -2
  3. package/dist/boxed.css.d.ts +29 -0
  4. package/dist/boxed.d.ts +6 -4
  5. package/dist/boxed.js +30 -24
  6. package/dist/button-group.css-mistica.js +14 -5
  7. package/dist/button-group.css.d.ts +3 -0
  8. package/dist/button-group.d.ts +2 -1
  9. package/dist/button-group.js +29 -16
  10. package/dist/button-layout.css-mistica.js +7 -7
  11. package/dist/button-layout.css.d.ts +1 -1
  12. package/dist/button-layout.js +9 -9
  13. package/dist/button.d.ts +4 -24
  14. package/dist/button.js +6 -4
  15. package/dist/card.d.ts +8 -1
  16. package/dist/card.js +567 -501
  17. package/dist/carousel.css-mistica.js +19 -16
  18. package/dist/carousel.css.d.ts +1 -0
  19. package/dist/carousel.js +41 -39
  20. package/dist/chip.js +37 -44
  21. package/dist/circle.d.ts +11 -4
  22. package/dist/circle.js +10 -11
  23. package/dist/community/advanced-data-card.css-mistica.js +24 -21
  24. package/dist/community/advanced-data-card.css.d.ts +1 -0
  25. package/dist/community/advanced-data-card.d.ts +1 -0
  26. package/dist/community/advanced-data-card.js +20 -17
  27. package/dist/counter.js +26 -22
  28. package/dist/cover-hero-media.d.ts +12 -0
  29. package/dist/cover-hero-media.js +44 -0
  30. package/dist/cover-hero.css-mistica.js +56 -0
  31. package/dist/cover-hero.css.d.ts +14 -0
  32. package/dist/cover-hero.css.ts.vanilla.css-mistica.js +11 -0
  33. package/dist/cover-hero.d.ts +38 -0
  34. package/dist/cover-hero.js +296 -0
  35. package/dist/empty-state.js +6 -6
  36. package/dist/grid-layout.css-mistica.js +11 -8
  37. package/dist/grid-layout.css.d.ts +1 -0
  38. package/dist/grid-layout.d.ts +12 -22
  39. package/dist/grid-layout.js +63 -49
  40. package/dist/header.js +18 -18
  41. package/dist/highlighted-card.d.ts +1 -0
  42. package/dist/highlighted-card.js +22 -18
  43. package/dist/icon-button.d.ts +7 -6
  44. package/dist/image.js +69 -48
  45. package/dist/index.d.ts +4 -1
  46. package/dist/index.js +15 -0
  47. package/dist/list.d.ts +1 -0
  48. package/dist/navigation-bar.d.ts +1 -1
  49. package/dist/navigation-bar.js +1 -1
  50. package/dist/package-version.js +1 -1
  51. package/dist/select.js +16 -12
  52. package/dist/skins/movistar.d.ts +13 -0
  53. package/dist/skins/movistar.js +112 -99
  54. package/dist/spinner.js +19 -18
  55. package/dist/table.css-mistica.js +58 -0
  56. package/dist/table.css.d.ts +13 -0
  57. package/dist/table.css.ts.vanilla.css-mistica.js +11 -0
  58. package/dist/table.d.ts +39 -0
  59. package/dist/table.js +269 -0
  60. package/dist/text.d.ts +1 -1
  61. package/dist/theme.d.ts +20 -0
  62. package/dist/theme.js +80 -20
  63. package/dist/timer.css-mistica.js +39 -0
  64. package/dist/timer.css.d.ts +8 -0
  65. package/dist/timer.css.ts.vanilla.css-mistica.js +11 -0
  66. package/dist/timer.d.ts +27 -0
  67. package/dist/timer.js +370 -0
  68. package/dist/tooltip.js +13 -13
  69. package/dist/touchable.d.ts +2 -0
  70. package/dist/touchable.js +35 -31
  71. package/dist/utils/helpers.js +32 -32
  72. package/dist-es/boxed.css-mistica.js +29 -2
  73. package/dist-es/boxed.js +37 -31
  74. package/dist-es/button-group.css-mistica.js +2 -2
  75. package/dist-es/button-group.js +37 -24
  76. package/dist-es/button-layout.css-mistica.js +2 -2
  77. package/dist-es/button-layout.js +16 -16
  78. package/dist-es/button.js +24 -22
  79. package/dist-es/card.js +681 -618
  80. package/dist-es/carousel.css-mistica.js +7 -7
  81. package/dist-es/carousel.js +75 -73
  82. package/dist-es/chip.js +57 -64
  83. package/dist-es/circle.js +15 -16
  84. package/dist-es/community/advanced-data-card.css-mistica.js +4 -4
  85. package/dist-es/community/advanced-data-card.js +59 -56
  86. package/dist-es/counter.js +62 -58
  87. package/dist-es/cover-hero-media.js +30 -0
  88. package/dist-es/cover-hero.css-mistica.js +9 -0
  89. package/dist-es/cover-hero.css.ts.vanilla.css-mistica.js +2 -0
  90. package/dist-es/cover-hero.js +241 -0
  91. package/dist-es/empty-state.js +13 -13
  92. package/dist-es/grid-layout.css-mistica.js +3 -3
  93. package/dist-es/grid-layout.js +80 -66
  94. package/dist-es/header.js +37 -37
  95. package/dist-es/highlighted-card.js +35 -31
  96. package/dist-es/image.js +88 -67
  97. package/dist-es/index.js +1817 -1814
  98. package/dist-es/navigation-bar.js +1 -1
  99. package/dist-es/package-version.js +1 -1
  100. package/dist-es/select.js +23 -18
  101. package/dist-es/skins/movistar.js +112 -99
  102. package/dist-es/spinner.js +38 -37
  103. package/dist-es/style.css +1 -1
  104. package/dist-es/table.css-mistica.js +14 -0
  105. package/dist-es/table.css.ts.vanilla.css-mistica.js +2 -0
  106. package/dist-es/table.js +214 -0
  107. package/dist-es/theme.js +77 -17
  108. package/dist-es/timer.css-mistica.js +4 -0
  109. package/dist-es/timer.css.ts.vanilla.css-mistica.js +2 -0
  110. package/dist-es/timer.js +307 -0
  111. package/dist-es/tooltip.js +16 -16
  112. package/dist-es/touchable.js +47 -43
  113. package/dist-es/utils/helpers.js +31 -31
  114. package/package.json +1 -1
@@ -0,0 +1,241 @@
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _object_spread(target) {
15
+ for(var i = 1; i < arguments.length; i++){
16
+ var source = arguments[i] != null ? arguments[i] : {};
17
+ var ownKeys = Object.keys(source);
18
+ if (typeof Object.getOwnPropertySymbols === "function") {
19
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
+ }));
22
+ }
23
+ ownKeys.forEach(function(key) {
24
+ _define_property(target, key, source[key]);
25
+ });
26
+ }
27
+ return target;
28
+ }
29
+ function ownKeys(object, enumerableOnly) {
30
+ var keys = Object.keys(object);
31
+ if (Object.getOwnPropertySymbols) {
32
+ var symbols = Object.getOwnPropertySymbols(object);
33
+ if (enumerableOnly) {
34
+ symbols = symbols.filter(function(sym) {
35
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
+ });
37
+ }
38
+ keys.push.apply(keys, symbols);
39
+ }
40
+ return keys;
41
+ }
42
+ function _object_spread_props(target, source) {
43
+ source = source != null ? source : {};
44
+ if (Object.getOwnPropertyDescriptors) {
45
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
+ } else {
47
+ ownKeys(Object(source)).forEach(function(key) {
48
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
+ });
50
+ }
51
+ return target;
52
+ }
53
+ function _object_without_properties(source, excluded) {
54
+ if (source == null) return {};
55
+ var target = _object_without_properties_loose(source, excluded);
56
+ var key, i;
57
+ if (Object.getOwnPropertySymbols) {
58
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
59
+ for(i = 0; i < sourceSymbolKeys.length; i++){
60
+ key = sourceSymbolKeys[i];
61
+ if (excluded.indexOf(key) >= 0) continue;
62
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
63
+ target[key] = source[key];
64
+ }
65
+ }
66
+ return target;
67
+ }
68
+ function _object_without_properties_loose(source, excluded) {
69
+ if (source == null) return {};
70
+ var target = {};
71
+ var sourceKeys = Object.keys(source);
72
+ var key, i;
73
+ for(i = 0; i < sourceKeys.length; i++){
74
+ key = sourceKeys[i];
75
+ if (excluded.indexOf(key) >= 0) continue;
76
+ target[key] = source[key];
77
+ }
78
+ return target;
79
+ }
80
+ import { jsxs as n, jsx as r } from "react/jsx-runtime";
81
+ import * as z from "react";
82
+ import D from "./responsive-layout.js";
83
+ import v from "./box.js";
84
+ import I from "./button-group.js";
85
+ import m from "./stack.js";
86
+ import { Text3 as g, Text8 as q } from "./text.js";
87
+ import { vars as i } from "./skins/skin-contract.css-mistica.js";
88
+ import { mainContent as F, sixColumns as k, coverHeroContainer as J, minHeight as K, withAspectRatio as O, coverHero as Q, centered as U, hasSideExtra as W, sideExtra as X, vars as Y } from "./cover-hero.css-mistica.js";
89
+ import x from "classnames";
90
+ import { applyCssVars as Z } from "./utils/css.js";
91
+ import { vars as _ } from "./image.css-mistica.js";
92
+ import C from "./grid-layout.js";
93
+ import { CoverHeroMedia as E } from "./cover-hero-media.js";
94
+ import { getPrefixedDataAttributes as P } from "./utils/dom.js";
95
+ const $ = (e)=>!e || e === "auto" ? 0 : typeof e == "number" ? e : ({
96
+ "1:1": 1,
97
+ "16:9": 16 / 9,
98
+ "7:10": 7 / 10,
99
+ "4:3": 9 / 10
100
+ })[e], rr = /*#__PURE__*/ z.forwardRef((_param, R)=>{
101
+ var { headline: e, pretitle: d, pretitleLinesMax: H, title: y, titleLinesMax: B, titleAs: N = "h1", description: u, descriptionLinesMax: S, extra: w, sideExtra: o, button: A, secondaryButton: T, buttonLink: j, minHeight: G, aspectRatio: c = "auto", variant: p, centered: t, noPaddingY: f, dataAttributes: L, "aria-label": M } = _param, l = _object_without_properties(_param, [
102
+ "headline",
103
+ "pretitle",
104
+ "pretitleLinesMax",
105
+ "title",
106
+ "titleLinesMax",
107
+ "titleAs",
108
+ "description",
109
+ "descriptionLinesMax",
110
+ "extra",
111
+ "sideExtra",
112
+ "button",
113
+ "secondaryButton",
114
+ "buttonLink",
115
+ "minHeight",
116
+ "aspectRatio",
117
+ "variant",
118
+ "centered",
119
+ "noPaddingY",
120
+ "dataAttributes",
121
+ "aria-label"
122
+ ]);
123
+ const a = l.backgroundVideo || l.backgroundImage, V = a ? "none" : l.background || ({
124
+ default: i.colors.background,
125
+ inverse: i.colors.backgroundBrand,
126
+ alternative: i.colors.backgroundAlternative
127
+ })[p !== null && p !== void 0 ? p : "default"], s = a ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, h = /* @__PURE__ */ n("div", {
128
+ className: F,
129
+ children: [
130
+ e && /* @__PURE__ */ r(v, {
131
+ paddingBottom: {
132
+ desktop: 8,
133
+ tablet: 8,
134
+ mobile: 16
135
+ },
136
+ children: e
137
+ }),
138
+ /* @__PURE__ */ n(m, {
139
+ space: 16,
140
+ children: [
141
+ /* @__PURE__ */ n(m, {
142
+ space: 8,
143
+ children: [
144
+ d && /* @__PURE__ */ r("div", {
145
+ className: k,
146
+ children: /* @__PURE__ */ r(g, {
147
+ regular: !0,
148
+ truncate: H,
149
+ textShadow: s,
150
+ children: d
151
+ })
152
+ }),
153
+ /* @__PURE__ */ r(q, {
154
+ as: N,
155
+ truncate: B,
156
+ textShadow: s,
157
+ children: y
158
+ })
159
+ ]
160
+ }),
161
+ u && /* @__PURE__ */ r("div", {
162
+ className: k,
163
+ children: /* @__PURE__ */ r(g, {
164
+ as: "p",
165
+ regular: !0,
166
+ truncate: S,
167
+ color: a ? i.colors.textPrimary : i.colors.textSecondary,
168
+ textShadow: s,
169
+ children: u
170
+ })
171
+ })
172
+ ]
173
+ }),
174
+ w
175
+ ]
176
+ }), b = c && c !== "auto";
177
+ return /* @__PURE__ */ r("section", _object_spread_props(_object_spread({}, P(L, "CoverHero")), {
178
+ "aria-label": M,
179
+ ref: R,
180
+ className: x(J, {
181
+ [K]: !f,
182
+ [O]: b
183
+ }),
184
+ style: _object_spread({
185
+ minHeight: b ? "auto" : G,
186
+ boxSizing: "border-box",
187
+ background: V
188
+ }, Z({
189
+ [Y.aspectRatio]: String($(c)),
190
+ [_.mediaBorderRadius]: "0px"
191
+ })),
192
+ children: /* @__PURE__ */ n("div", {
193
+ className: x(Q, {
194
+ [U]: t,
195
+ [W]: o
196
+ }),
197
+ children: [
198
+ a ? /* @__PURE__ */ r(E, _object_spread({}, l)) : null,
199
+ /* @__PURE__ */ r(D, {
200
+ variant: a ? "inverse" : p,
201
+ backgroundColor: "none",
202
+ children: /* @__PURE__ */ r(v, {
203
+ paddingY: f ? 0 : {
204
+ desktop: 56,
205
+ tablet: 56,
206
+ mobile: 24
207
+ },
208
+ children: /* @__PURE__ */ n(m, {
209
+ space: 24,
210
+ children: [
211
+ t && !o ? /* @__PURE__ */ r(C, {
212
+ template: "8",
213
+ children: h
214
+ }) : /* @__PURE__ */ r(C, {
215
+ template: "8+4",
216
+ collapseBreakpoint: "mobile",
217
+ left: h,
218
+ right: /* @__PURE__ */ r("div", {
219
+ className: X,
220
+ children: o
221
+ })
222
+ }),
223
+ /* @__PURE__ */ r(I, {
224
+ align: {
225
+ mobile: t ? "center" : "left",
226
+ tablet: t && !o ? "center" : "left",
227
+ desktop: t && !o ? "center" : "left"
228
+ },
229
+ primaryButton: A,
230
+ secondaryButton: T,
231
+ link: j
232
+ })
233
+ ]
234
+ })
235
+ })
236
+ })
237
+ ]
238
+ })
239
+ }));
240
+ }), hr = rr;
241
+ export { hr as default };
@@ -51,7 +51,7 @@ function _object_spread_props(target, source) {
51
51
  }
52
52
  return target;
53
53
  }
54
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
54
+ import { jsxs as s, jsx as r } from "react/jsx-runtime";
55
55
  import x from "classnames";
56
56
  import { useIsInverseVariant as k } from "./theme-variant-context.js";
57
57
  import { ButtonPrimary as B } from "./button.js";
@@ -59,7 +59,7 @@ import { useTheme as C } from "./hooks.js";
59
59
  import n from "./stack.js";
60
60
  import { Text6 as I, Text3 as N } from "./text.js";
61
61
  import S from "./button-group.js";
62
- import { container as E, inverseBorder as T, vars as V, contentVariants as l, iconContainer as $, largeImageContainer as b, largeImage as j, smallImage as A } from "./empty-state.css-mistica.js";
62
+ import { container as b, inverseBorder as E, vars as T, contentVariants as l, iconContainer as V, largeImageContainer as $, largeImage as j, smallImage as A } from "./empty-state.css-mistica.js";
63
63
  import { vars as a } from "./skins/skin-contract.css-mistica.js";
64
64
  import { AspectRatioContainer as D } from "./utils/aspect-ratio-support.js";
65
65
  import { getPrefixedDataAttributes as P } from "./utils/dom.js";
@@ -67,7 +67,7 @@ import { sprinkles as R } from "./sprinkles.css-mistica.js";
67
67
  import { applyCssVars as w } from "./utils/css.js";
68
68
  const G = (param)=>{
69
69
  let { title: c, titleAs: p = "h1", description: d, button: e, buttonLink: f, largeImageUrl: o, imageUrl: i, icon: m, "aria-label": g, dataAttributes: h } = param;
70
- const { isDarkMode: v } = C(), s = k(), u = i ? /* @__PURE__ */ r("img", {
70
+ const { isDarkMode: u } = C(), t = k(), v = i ? /* @__PURE__ */ r("img", {
71
71
  className: A,
72
72
  alt: "",
73
73
  src: i
@@ -78,12 +78,12 @@ const G = (param)=>{
78
78
  }), {
79
79
  link: f
80
80
  });
81
- return /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
82
- className: x(E, s ? T : R({
81
+ return /* @__PURE__ */ s("div", _object_spread_props(_object_spread({
82
+ className: x(b, t ? E : R({
83
83
  border: "regular"
84
84
  })),
85
85
  style: w({
86
- [V.backgroundColor]: s && !v ? a.colors.backgroundBrand : a.colors.backgroundContainer
86
+ [T.backgroundColor]: t && !u ? a.colors.backgroundBrand : a.colors.backgroundContainer
87
87
  }),
88
88
  "aria-label": g,
89
89
  role: "region"
@@ -93,15 +93,15 @@ const G = (param)=>{
93
93
  style: {
94
94
  flex: 1
95
95
  },
96
- children: /* @__PURE__ */ t(n, {
96
+ children: /* @__PURE__ */ s(n, {
97
97
  space: 24,
98
98
  className: o ? l.largeImage : l.default,
99
99
  children: [
100
- u !== null && u !== void 0 ? u : m && /* @__PURE__ */ r("div", {
101
- className: $,
100
+ v !== null && v !== void 0 ? v : m && /* @__PURE__ */ r("div", {
101
+ className: V,
102
102
  children: m
103
103
  }),
104
- /* @__PURE__ */ t(n, {
104
+ /* @__PURE__ */ s(n, {
105
105
  space: 16,
106
106
  children: [
107
107
  /* @__PURE__ */ r(I, {
@@ -111,12 +111,12 @@ const G = (param)=>{
111
111
  /* @__PURE__ */ r(N, {
112
112
  regular: !0,
113
113
  as: "p",
114
- color: s ? a.colors.inverse : a.colors.textSecondary,
114
+ color: t ? a.colors.inverse : a.colors.textSecondary,
115
115
  children: d
116
116
  })
117
117
  ]
118
118
  }),
119
- e && /* @__PURE__ */ r(S, _object_spread({}, y))
119
+ /* @__PURE__ */ r(S, _object_spread({}, y))
120
120
  ]
121
121
  })
122
122
  }),
@@ -127,7 +127,7 @@ const G = (param)=>{
127
127
  },
128
128
  children: o && /* @__PURE__ */ r(D, {
129
129
  aspectRatio: 16 / 9,
130
- className: b,
130
+ className: $,
131
131
  height: "100%",
132
132
  width: "100%",
133
133
  children: /* @__PURE__ */ r("div", {
@@ -1,6 +1,6 @@
1
1
  import "./grid-layout.css.ts.vanilla.css-mistica.js";
2
- var r = "_379jdb2", d = "_379jdb1", v = "_379jdb0", o = "_379jdb4", e = "_379jdb6", p = {
3
- colSpan: "var(--_379jdb5)",
2
+ var r = "_379jdb5", d = "_379jdb2", v = "_379jdb1", e = "_379jdb0", l = "_379jdb4", o = "_379jdb7", b = {
3
+ colSpan: "var(--_379jdb6)",
4
4
  verticalSpace: "var(--_379jdb3)"
5
5
  };
6
- export { r as desktopLargeColumn, d as desktopMediumColumn, v as desktopSmallColumn, o as grid, e as span, p as vars };
6
+ export { r as collapsedInTablet, d as desktopLargeColumn, v as desktopMediumColumn, e as desktopSmallColumn, l as grid, o as span, b as vars };
@@ -50,115 +50,129 @@ function _object_spread_props(target, source) {
50
50
  }
51
51
  return target;
52
52
  }
53
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
54
- import { getPrefixedDataAttributes as m } from "./utils/dom.js";
55
- import { grid as h, vars as c, span as u, desktopLargeColumn as f, desktopMediumColumn as s, desktopSmallColumn as o } from "./grid-layout.css-mistica.js";
56
- import g from "classnames";
57
- import d from "./desktop-container-type-context.js";
58
- import { applyCssVars as v } from "./utils/css.js";
59
- const y = (i)=>{
60
- const t = m(i.dataAttributes), l = (n)=>({
61
- className: g(u, {
62
- [f]: n >= 10,
63
- [s]: n > 5 && n < 10,
64
- [o]: n <= 5
53
+ import { jsx as i, jsxs as v } from "react/jsx-runtime";
54
+ import { getPrefixedDataAttributes as y } from "./utils/dom.js";
55
+ import { grid as x, collapsedInTablet as C, span as b, desktopLargeColumn as S, desktopMediumColumn as k, desktopSmallColumn as L, vars as t } from "./grid-layout.css-mistica.js";
56
+ import m from "classnames";
57
+ import r from "./desktop-container-type-context.js";
58
+ import { applyCssVars as h } from "./utils/css.js";
59
+ const D = (param)=>{
60
+ let { dataAttributes: p, template: n, left: a, right: s, verticalSpace: u, collapseBreakpoint: f = "tablet", children: o } = param;
61
+ const e = y(p, "GridLayout"), d = (c)=>({
62
+ className: m(b, {
63
+ [S]: c >= 10,
64
+ [k]: c > 5 && c < 10,
65
+ [L]: c <= 5
65
66
  }),
66
- style: v({
67
- [c.colSpan]: String(n)
67
+ style: h({
68
+ [t.colSpan]: String(c)
68
69
  })
69
- }), r = {
70
- className: h,
71
- style: i.verticalSpace ? v({
72
- [c.verticalSpace]: `${i.verticalSpace}px`
70
+ }), l = {
71
+ className: m(x, {
72
+ [C]: f === "tablet"
73
+ }),
74
+ style: u ? h({
75
+ [t.verticalSpace]: `${u}px`
73
76
  }) : void 0
74
77
  };
75
- return i.template === "6+6" ? /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, r, t), {
76
- children: /* @__PURE__ */ a(d, {
78
+ return n === "6+6" ? /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, l, e), {
79
+ children: /* @__PURE__ */ v(r, {
77
80
  value: "medium",
78
81
  children: [
79
- /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(6)), {
80
- children: i.left
82
+ /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(6)), {
83
+ children: a
81
84
  })),
82
- /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(6)), {
83
- children: i.right
85
+ /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(6)), {
86
+ children: s
84
87
  }))
85
88
  ]
86
89
  })
87
- })) : i.template === "8+4" ? /* @__PURE__ */ a("div", _object_spread_props(_object_spread({}, r, t), {
90
+ })) : n === "8+4" ? /* @__PURE__ */ v("div", _object_spread_props(_object_spread({}, l, e), {
88
91
  children: [
89
- /* @__PURE__ */ e(d, {
92
+ /* @__PURE__ */ i(r, {
90
93
  value: "medium",
91
- children: /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(8)), {
92
- children: i.left
94
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(8)), {
95
+ children: a
93
96
  }))
94
97
  }),
95
- /* @__PURE__ */ e(d, {
98
+ /* @__PURE__ */ i(r, {
96
99
  value: "small",
97
- children: /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(4)), {
98
- children: i.right
100
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(4)), {
101
+ children: s
99
102
  }))
100
103
  })
101
104
  ]
102
- })) : i.template === "4+6" ? /* @__PURE__ */ a("div", _object_spread_props(_object_spread({}, r, t), {
105
+ })) : n === "4+6" ? /* @__PURE__ */ v("div", _object_spread_props(_object_spread({}, l, e), {
103
106
  children: [
104
- /* @__PURE__ */ e(d, {
107
+ /* @__PURE__ */ i(r, {
105
108
  value: "small",
106
- children: /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(4)), {
107
- children: i.left
109
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(4)), {
110
+ children: a
108
111
  }))
109
112
  }),
110
- /* @__PURE__ */ e("div", _object_spread({}, l(1))),
111
- /* @__PURE__ */ e(d, {
113
+ /* @__PURE__ */ i("div", _object_spread({}, d(1))),
114
+ /* @__PURE__ */ i(r, {
112
115
  value: "medium",
113
- children: /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(6)), {
114
- children: i.right
116
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(6)), {
117
+ children: s
115
118
  }))
116
119
  }),
117
- /* @__PURE__ */ e("div", _object_spread({}, l(1)))
120
+ /* @__PURE__ */ i("div", _object_spread({}, d(1)))
118
121
  ]
119
- })) : i.template === "5+4" ? /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, r, t), {
120
- children: /* @__PURE__ */ a(d, {
122
+ })) : n === "5+4" ? /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, l, e), {
123
+ children: /* @__PURE__ */ v(r, {
121
124
  value: "small",
122
125
  children: [
123
- /* @__PURE__ */ e("div", _object_spread({}, l(1))),
124
- /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(5)), {
125
- children: i.left
126
+ /* @__PURE__ */ i("div", _object_spread({}, d(1))),
127
+ /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(5)), {
128
+ children: a
126
129
  })),
127
- /* @__PURE__ */ e("div", _object_spread({}, l(1))),
128
- /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(4)), {
129
- children: i.right
130
+ /* @__PURE__ */ i("div", _object_spread({}, d(1))),
131
+ /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(4)), {
132
+ children: s
130
133
  })),
131
- /* @__PURE__ */ e("div", _object_spread({}, l(1)))
134
+ /* @__PURE__ */ i("div", _object_spread({}, d(1)))
132
135
  ]
133
136
  })
134
- })) : i.template === "3+9" ? /* @__PURE__ */ a("div", _object_spread_props(_object_spread({}, r, t), {
137
+ })) : n === "3+9" ? /* @__PURE__ */ v("div", _object_spread_props(_object_spread({}, l, e), {
135
138
  children: [
136
- /* @__PURE__ */ e(d, {
139
+ /* @__PURE__ */ i(r, {
137
140
  value: "small",
138
- children: /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(3)), {
139
- children: i.left
141
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(3)), {
142
+ children: a
140
143
  }))
141
144
  }),
142
- /* @__PURE__ */ e(d, {
145
+ /* @__PURE__ */ i(r, {
143
146
  value: "medium",
144
- children: /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(9)), {
145
- children: i.right
147
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(9)), {
148
+ children: s
146
149
  }))
147
150
  })
148
151
  ]
149
- })) : i.template === "10" ? /* @__PURE__ */ a("div", _object_spread_props(_object_spread({}, r, t), {
152
+ })) : n === "10" ? /* @__PURE__ */ v("div", _object_spread_props(_object_spread({}, l, e), {
150
153
  children: [
151
- /* @__PURE__ */ e("div", _object_spread({}, l(1))),
152
- /* @__PURE__ */ e(d, {
154
+ /* @__PURE__ */ i("div", _object_spread({}, d(1))),
155
+ /* @__PURE__ */ i(r, {
153
156
  value: "large",
154
- children: /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, l(10)), {
155
- children: i.children
157
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(10)), {
158
+ children: o
156
159
  }))
157
160
  }),
158
- /* @__PURE__ */ e("div", _object_spread({}, l(1)))
161
+ /* @__PURE__ */ i("div", _object_spread({}, d(1)))
159
162
  ]
160
- })) : /* @__PURE__ */ e("div", _object_spread_props(_object_spread({}, r, t), {
161
- children: i.children
163
+ })) : n === "8" ? /* @__PURE__ */ v("div", _object_spread_props(_object_spread({}, l, e), {
164
+ children: [
165
+ /* @__PURE__ */ i("div", _object_spread({}, d(2))),
166
+ /* @__PURE__ */ i(r, {
167
+ value: "medium",
168
+ children: /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, d(8)), {
169
+ children: o
170
+ }))
171
+ }),
172
+ /* @__PURE__ */ i("div", _object_spread({}, d(2)))
173
+ ]
174
+ })) : /* @__PURE__ */ i("div", _object_spread_props(_object_spread({}, l, e), {
175
+ children: o
162
176
  }));
163
- }, L = y;
164
- export { L as default };
177
+ }, T = D;
178
+ export { T as default };