@rinzai/zen 0.0.1 → 0.0.2

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.
@@ -1,5 +1,5 @@
1
+ import { BaseProps } from 'components/HTML/HTML.types';
1
2
  import { FC } from 'react';
2
- import IContainerProps from './Container.types';
3
- declare const Container: FC<IContainerProps>;
3
+ declare const Container: FC<BaseProps<'div'>>;
4
4
  export default Container;
5
5
  //# sourceMappingURL=Container.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["Container.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAE/C,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,eAAe,CAOlC,CAAA;AAED,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjC,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAOnC,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { BaseType } from './HTML.types';
2
+ declare const HTML: BaseType;
3
+ export default HTML;
4
+ //# sourceMappingURL=HTML.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTML.d.ts","sourceRoot":"","sources":["HTML.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAIpB,OAAO,EAAsB,QAAQ,EAAE,MAAM,cAAc,CAAA;AAC3D,QAAA,MAAM,IAAI,EAAE,QAeX,CAAA;AACD,eAAe,IAAI,CAAA"}
@@ -0,0 +1,15 @@
1
+ declare type TagProp<Tag extends React.ElementType> = {
2
+ tag?: Tag;
3
+ };
4
+ declare type PropsToOmit<Tag extends React.ElementType, P> = keyof (TagProp<Tag> & P);
5
+ declare type PolyMorphicProps<Tag extends React.ElementType, Props = object> = React.PropsWithChildren<Props & TagProp<Tag>> & Omit<React.ComponentPropsWithoutRef<Tag>, PropsToOmit<Tag, Props>>;
6
+ declare type BasePropWithRef<Tag extends React.ElementType, Props = object> = PolyMorphicProps<Tag, Props> & {
7
+ ref?: BaseRef<Tag>;
8
+ };
9
+ export declare type BaseRef<Tag extends React.ElementType> = React.ComponentPropsWithRef<Tag>['ref'];
10
+ export declare type BaseProps<Tag extends React.ElementType> = BasePropWithRef<Tag, {
11
+ visible?: boolean;
12
+ }>;
13
+ export declare type BaseType = <Tag extends React.ElementType = 'div'>(props: BaseProps<Tag>) => React.ReactElement | null;
14
+ export {};
15
+ //# sourceMappingURL=HTML.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTML.types.d.ts","sourceRoot":"","sources":["HTML.types.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI;IAC1C,GAAG,CAAC,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,aAAK,WAAW,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;AAE7E,aAAK,gBAAgB,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,GAChH,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAA;AAEtE,aAAK,eAAe,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG,MAAM,IAAI,gBAAgB,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG;IACjG,GAAG,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAA;CACrB,CAAA;AAED,oBAAY,OAAO,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA;AAE5F,oBAAY,SAAS,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI,eAAe,CAAC,GAAG,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAA;AAElG,oBAAY,QAAQ,GAAG,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './HTML';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { default as Container } from './Container';
2
+ export { default as HTML } from './HTML';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA"}
@@ -1,12 +1,12 @@
1
- import Oe from "react";
2
- var H = {}, or = {
1
+ import Oe, { forwardRef as ir } from "react";
2
+ var k = {}, ur = {
3
3
  get exports() {
4
- return H;
4
+ return k;
5
5
  },
6
- set exports(g) {
7
- H = g;
6
+ set exports(p) {
7
+ k = p;
8
8
  }
9
- }, D = {};
9
+ }, I = {};
10
10
  /**
11
11
  * @license React
12
12
  * react-jsx-runtime.production.min.js
@@ -16,25 +16,25 @@ var H = {}, or = {
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
18
  */
19
- var me;
20
- function ur() {
21
- if (me)
22
- return D;
23
- me = 1;
24
- var g = Oe, y = Symbol.for("react.element"), w = Symbol.for("react.fragment"), _ = Object.prototype.hasOwnProperty, A = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
25
- function x(R, l, O) {
26
- var d, E = {}, m = null, $ = null;
27
- O !== void 0 && (m = "" + O), l.key !== void 0 && (m = "" + l.key), l.ref !== void 0 && ($ = l.ref);
19
+ var ye;
20
+ function sr() {
21
+ if (ye)
22
+ return I;
23
+ ye = 1;
24
+ var p = Oe, E = Symbol.for("react.element"), m = Symbol.for("react.fragment"), _ = Object.prototype.hasOwnProperty, C = p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
25
+ function D(y, l, P) {
26
+ var d, b = {}, T = null, W = null;
27
+ P !== void 0 && (T = "" + P), l.key !== void 0 && (T = "" + l.key), l.ref !== void 0 && (W = l.ref);
28
28
  for (d in l)
29
- _.call(l, d) && !I.hasOwnProperty(d) && (E[d] = l[d]);
30
- if (R && R.defaultProps)
31
- for (d in l = R.defaultProps, l)
32
- E[d] === void 0 && (E[d] = l[d]);
33
- return { $$typeof: y, type: R, key: m, ref: $, props: E, _owner: A.current };
29
+ _.call(l, d) && !w.hasOwnProperty(d) && (b[d] = l[d]);
30
+ if (y && y.defaultProps)
31
+ for (d in l = y.defaultProps, l)
32
+ b[d] === void 0 && (b[d] = l[d]);
33
+ return { $$typeof: E, type: y, key: T, ref: W, props: b, _owner: C.current };
34
34
  }
35
- return D.Fragment = w, D.jsx = x, D.jsxs = x, D;
35
+ return I.Fragment = m, I.jsx = D, I.jsxs = D, I;
36
36
  }
37
- var F = {};
37
+ var $ = {};
38
38
  /**
39
39
  * @license React
40
40
  * react-jsx-runtime.development.js
@@ -45,49 +45,49 @@ var F = {};
45
45
  * LICENSE file in the root directory of this source tree.
46
46
  */
47
47
  var Te;
48
- function sr() {
48
+ function fr() {
49
49
  return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
50
- var g = Oe, y = Symbol.for("react.element"), w = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), R = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), X = Symbol.iterator, Ce = "@@iterator";
51
- function Pe(e) {
50
+ var p = Oe, E = Symbol.for("react.element"), m = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), y = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), X = Symbol.iterator, Ce = "@@iterator";
51
+ function we(e) {
52
52
  if (e === null || typeof e != "object")
53
53
  return null;
54
54
  var r = X && e[X] || e[Ce];
55
55
  return typeof r == "function" ? r : null;
56
56
  }
57
- var C = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
+ var S = p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
58
  function c(e) {
59
59
  {
60
60
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
61
61
  t[n - 1] = arguments[n];
62
- Se("error", e, t);
62
+ Pe("error", e, t);
63
63
  }
64
64
  }
65
- function Se(e, r, t) {
65
+ function Pe(e, r, t) {
66
66
  {
67
- var n = C.ReactDebugCurrentFrame, o = n.getStackAddendum();
68
- o !== "" && (r += "%s", t = t.concat([o]));
69
- var u = t.map(function(i) {
70
- return String(i);
67
+ var n = S.ReactDebugCurrentFrame, i = n.getStackAddendum();
68
+ i !== "" && (r += "%s", t = t.concat([i]));
69
+ var u = t.map(function(o) {
70
+ return String(o);
71
71
  });
72
72
  u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
73
73
  }
74
74
  }
75
- var we = !1, xe = !1, je = !1, ke = !1, De = !1, Z;
75
+ var Se = !1, xe = !1, je = !1, ke = !1, De = !1, Z;
76
76
  Z = Symbol.for("react.module.reference");
77
77
  function Fe(e) {
78
- return !!(typeof e == "string" || typeof e == "function" || e === _ || e === I || De || e === A || e === O || e === d || ke || e === $ || we || xe || je || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === E || e.$$typeof === x || e.$$typeof === R || e.$$typeof === l || e.$$typeof === Z || e.getModuleId !== void 0));
78
+ return !!(typeof e == "string" || typeof e == "function" || e === _ || e === w || De || e === C || e === P || e === d || ke || e === W || Se || xe || je || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === b || e.$$typeof === D || e.$$typeof === y || e.$$typeof === l || e.$$typeof === Z || e.getModuleId !== void 0));
79
79
  }
80
80
  function Ae(e, r, t) {
81
81
  var n = e.displayName;
82
82
  if (n)
83
83
  return n;
84
- var o = r.displayName || r.name || "";
85
- return o !== "" ? t + "(" + o + ")" : t;
84
+ var i = r.displayName || r.name || "";
85
+ return i !== "" ? t + "(" + i + ")" : t;
86
86
  }
87
87
  function Q(e) {
88
88
  return e.displayName || "Context";
89
89
  }
90
- function b(e) {
90
+ function h(e) {
91
91
  if (e == null)
92
92
  return null;
93
93
  if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -97,34 +97,34 @@ function sr() {
97
97
  switch (e) {
98
98
  case _:
99
99
  return "Fragment";
100
- case w:
100
+ case m:
101
101
  return "Portal";
102
- case I:
102
+ case w:
103
103
  return "Profiler";
104
- case A:
104
+ case C:
105
105
  return "StrictMode";
106
- case O:
106
+ case P:
107
107
  return "Suspense";
108
108
  case d:
109
109
  return "SuspenseList";
110
110
  }
111
111
  if (typeof e == "object")
112
112
  switch (e.$$typeof) {
113
- case R:
113
+ case y:
114
114
  var r = e;
115
115
  return Q(r) + ".Consumer";
116
- case x:
116
+ case D:
117
117
  var t = e;
118
118
  return Q(t._context) + ".Provider";
119
119
  case l:
120
120
  return Ae(e, e.render, "ForwardRef");
121
- case E:
121
+ case b:
122
122
  var n = e.displayName || null;
123
- return n !== null ? n : b(e.type) || "Memo";
124
- case m: {
125
- var o = e, u = o._payload, i = o._init;
123
+ return n !== null ? n : h(e.type) || "Memo";
124
+ case T: {
125
+ var i = e, u = i._payload, o = i._init;
126
126
  try {
127
- return b(i(u));
127
+ return h(o(u));
128
128
  } catch {
129
129
  return null;
130
130
  }
@@ -132,14 +132,14 @@ function sr() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var T = Object.assign, j = 0, ee, re, te, ne, ae, ie, oe;
135
+ var O = Object.assign, F = 0, ee, re, te, ne, ae, oe, ie;
136
136
  function ue() {
137
137
  }
138
138
  ue.__reactDisabledLog = !0;
139
139
  function Ie() {
140
140
  {
141
- if (j === 0) {
142
- ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, ie = console.groupCollapsed, oe = console.groupEnd;
141
+ if (F === 0) {
142
+ ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, oe = console.groupCollapsed, ie = console.groupEnd;
143
143
  var e = {
144
144
  configurable: !0,
145
145
  enumerable: !0,
@@ -156,112 +156,112 @@ function sr() {
156
156
  groupEnd: e
157
157
  });
158
158
  }
159
- j++;
159
+ F++;
160
160
  }
161
161
  }
162
162
  function $e() {
163
163
  {
164
- if (j--, j === 0) {
164
+ if (F--, F === 0) {
165
165
  var e = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
168
168
  writable: !0
169
169
  };
170
170
  Object.defineProperties(console, {
171
- log: T({}, e, {
171
+ log: O({}, e, {
172
172
  value: ee
173
173
  }),
174
- info: T({}, e, {
174
+ info: O({}, e, {
175
175
  value: re
176
176
  }),
177
- warn: T({}, e, {
177
+ warn: O({}, e, {
178
178
  value: te
179
179
  }),
180
- error: T({}, e, {
180
+ error: O({}, e, {
181
181
  value: ne
182
182
  }),
183
- group: T({}, e, {
183
+ group: O({}, e, {
184
184
  value: ae
185
185
  }),
186
- groupCollapsed: T({}, e, {
187
- value: ie
188
- }),
189
- groupEnd: T({}, e, {
186
+ groupCollapsed: O({}, e, {
190
187
  value: oe
188
+ }),
189
+ groupEnd: O({}, e, {
190
+ value: ie
191
191
  })
192
192
  });
193
193
  }
194
- j < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ F < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
195
  }
196
196
  }
197
- var M = C.ReactCurrentDispatcher, U;
198
- function W(e, r, t) {
197
+ var U = S.ReactCurrentDispatcher, B;
198
+ function Y(e, r, t) {
199
199
  {
200
- if (U === void 0)
200
+ if (B === void 0)
201
201
  try {
202
202
  throw Error();
203
- } catch (o) {
204
- var n = o.stack.trim().match(/\n( *(at )?)/);
205
- U = n && n[1] || "";
203
+ } catch (i) {
204
+ var n = i.stack.trim().match(/\n( *(at )?)/);
205
+ B = n && n[1] || "";
206
206
  }
207
207
  return `
208
- ` + U + e;
208
+ ` + B + e;
209
209
  }
210
210
  }
211
- var B = !1, Y;
211
+ var q = !1, L;
212
212
  {
213
213
  var We = typeof WeakMap == "function" ? WeakMap : Map;
214
- Y = new We();
214
+ L = new We();
215
215
  }
216
216
  function se(e, r) {
217
- if (!e || B)
217
+ if (!e || q)
218
218
  return "";
219
219
  {
220
- var t = Y.get(e);
220
+ var t = L.get(e);
221
221
  if (t !== void 0)
222
222
  return t;
223
223
  }
224
224
  var n;
225
- B = !0;
226
- var o = Error.prepareStackTrace;
225
+ q = !0;
226
+ var i = Error.prepareStackTrace;
227
227
  Error.prepareStackTrace = void 0;
228
228
  var u;
229
- u = M.current, M.current = null, Ie();
229
+ u = U.current, U.current = null, Ie();
230
230
  try {
231
231
  if (r) {
232
- var i = function() {
232
+ var o = function() {
233
233
  throw Error();
234
234
  };
235
- if (Object.defineProperty(i.prototype, "props", {
235
+ if (Object.defineProperty(o.prototype, "props", {
236
236
  set: function() {
237
237
  throw Error();
238
238
  }
239
239
  }), typeof Reflect == "object" && Reflect.construct) {
240
240
  try {
241
- Reflect.construct(i, []);
242
- } catch (h) {
243
- n = h;
241
+ Reflect.construct(o, []);
242
+ } catch (R) {
243
+ n = R;
244
244
  }
245
- Reflect.construct(e, [], i);
245
+ Reflect.construct(e, [], o);
246
246
  } else {
247
247
  try {
248
- i.call();
249
- } catch (h) {
250
- n = h;
248
+ o.call();
249
+ } catch (R) {
250
+ n = R;
251
251
  }
252
- e.call(i.prototype);
252
+ e.call(o.prototype);
253
253
  }
254
254
  } else {
255
255
  try {
256
256
  throw Error();
257
- } catch (h) {
258
- n = h;
257
+ } catch (R) {
258
+ n = R;
259
259
  }
260
260
  e();
261
261
  }
262
- } catch (h) {
263
- if (h && n && typeof h.stack == "string") {
264
- for (var a = h.stack.split(`
262
+ } catch (R) {
263
+ if (R && n && typeof R.stack == "string") {
264
+ for (var a = R.stack.split(`
265
265
  `), v = n.stack.split(`
266
266
  `), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
267
267
  f--;
@@ -270,19 +270,19 @@ function sr() {
270
270
  if (s !== 1 || f !== 1)
271
271
  do
272
272
  if (s--, f--, f < 0 || a[s] !== v[f]) {
273
- var p = `
273
+ var g = `
274
274
  ` + a[s].replace(" at new ", " at ");
275
- return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, p), p;
275
+ return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, g), g;
276
276
  }
277
277
  while (s >= 1 && f >= 0);
278
278
  break;
279
279
  }
280
280
  }
281
281
  } finally {
282
- B = !1, M.current = u, $e(), Error.prepareStackTrace = o;
282
+ q = !1, U.current = u, $e(), Error.prepareStackTrace = i;
283
283
  }
284
- var S = e ? e.displayName || e.name : "", Re = S ? W(S) : "";
285
- return typeof e == "function" && Y.set(e, Re), Re;
284
+ var j = e ? e.displayName || e.name : "", me = j ? Y(j) : "";
285
+ return typeof e == "function" && L.set(e, me), me;
286
286
  }
287
287
  function Ye(e, r, t) {
288
288
  return se(e, !1);
@@ -291,67 +291,67 @@ function sr() {
291
291
  var r = e.prototype;
292
292
  return !!(r && r.isReactComponent);
293
293
  }
294
- function L(e, r, t) {
294
+ function M(e, r, t) {
295
295
  if (e == null)
296
296
  return "";
297
297
  if (typeof e == "function")
298
298
  return se(e, Le(e));
299
299
  if (typeof e == "string")
300
- return W(e);
300
+ return Y(e);
301
301
  switch (e) {
302
- case O:
303
- return W("Suspense");
302
+ case P:
303
+ return Y("Suspense");
304
304
  case d:
305
- return W("SuspenseList");
305
+ return Y("SuspenseList");
306
306
  }
307
307
  if (typeof e == "object")
308
308
  switch (e.$$typeof) {
309
309
  case l:
310
310
  return Ye(e.render);
311
- case E:
312
- return L(e.type, r, t);
313
- case m: {
314
- var n = e, o = n._payload, u = n._init;
311
+ case b:
312
+ return M(e.type, r, t);
313
+ case T: {
314
+ var n = e, i = n._payload, u = n._init;
315
315
  try {
316
- return L(u(o), r, t);
316
+ return M(u(i), r, t);
317
317
  } catch {
318
318
  }
319
319
  }
320
320
  }
321
321
  return "";
322
322
  }
323
- var N = Object.prototype.hasOwnProperty, fe = {}, le = C.ReactDebugCurrentFrame;
323
+ var N = Object.prototype.hasOwnProperty, fe = {}, le = S.ReactDebugCurrentFrame;
324
324
  function V(e) {
325
325
  if (e) {
326
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
326
+ var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
327
327
  le.setExtraStackFrame(t);
328
328
  } else
329
329
  le.setExtraStackFrame(null);
330
330
  }
331
- function Ne(e, r, t, n, o) {
331
+ function Me(e, r, t, n, i) {
332
332
  {
333
333
  var u = Function.call.bind(N);
334
- for (var i in e)
335
- if (u(e, i)) {
334
+ for (var o in e)
335
+ if (u(e, o)) {
336
336
  var a = void 0;
337
337
  try {
338
- if (typeof e[i] != "function") {
339
- var v = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ if (typeof e[o] != "function") {
339
+ var v = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
340
  throw v.name = "Invariant Violation", v;
341
341
  }
342
- a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
+ a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
343
  } catch (s) {
344
344
  a = s;
345
345
  }
346
- a && !(a instanceof Error) && (V(o), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, V(o), c("Failed %s type: %s", t, a.message), V(null));
346
+ a && !(a instanceof Error) && (V(i), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), V(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, V(i), c("Failed %s type: %s", t, a.message), V(null));
347
347
  }
348
348
  }
349
349
  }
350
- var Ve = Array.isArray;
351
- function q(e) {
352
- return Ve(e);
350
+ var Ne = Array.isArray;
351
+ function J(e) {
352
+ return Ne(e);
353
353
  }
354
- function Me(e) {
354
+ function Ve(e) {
355
355
  {
356
356
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
357
  return t;
@@ -369,15 +369,15 @@ function sr() {
369
369
  }
370
370
  function ve(e) {
371
371
  if (Ue(e))
372
- return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Me(e)), ce(e);
372
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), ce(e);
373
373
  }
374
- var k = C.ReactCurrentOwner, Be = {
374
+ var A = S.ReactCurrentOwner, Be = {
375
375
  key: !0,
376
376
  ref: !0,
377
377
  __self: !0,
378
378
  __source: !0
379
- }, de, pe, J;
380
- J = {};
379
+ }, de, pe, G;
380
+ G = {};
381
381
  function qe(e) {
382
382
  if (N.call(e, "ref")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
@@ -395,9 +395,9 @@ function sr() {
395
395
  return e.key !== void 0;
396
396
  }
397
397
  function Ge(e, r) {
398
- if (typeof e.ref == "string" && k.current && r && k.current.stateNode !== r) {
399
- var t = b(k.current.type);
400
- J[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', b(k.current.type), e.ref), J[t] = !0);
398
+ if (typeof e.ref == "string" && A.current && r && A.current.stateNode !== r) {
399
+ var t = h(A.current.type);
400
+ G[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', h(A.current.type), e.ref), G[t] = !0);
401
401
  }
402
402
  }
403
403
  function ze(e, r) {
@@ -411,7 +411,7 @@ function sr() {
411
411
  });
412
412
  }
413
413
  }
414
- function Ke(e, r) {
414
+ function He(e, r) {
415
415
  {
416
416
  var t = function() {
417
417
  pe || (pe = !0, c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
@@ -422,13 +422,13 @@ function sr() {
422
422
  });
423
423
  }
424
424
  }
425
- var He = function(e, r, t, n, o, u, i) {
425
+ var Ke = function(e, r, t, n, i, u, o) {
426
426
  var a = {
427
- $$typeof: y,
427
+ $$typeof: E,
428
428
  type: e,
429
429
  key: r,
430
430
  ref: t,
431
- props: i,
431
+ props: o,
432
432
  _owner: u
433
433
  };
434
434
  return a._store = {}, Object.defineProperty(a._store, "validated", {
@@ -445,44 +445,44 @@ function sr() {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: o
448
+ value: i
449
449
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
450
450
  };
451
- function Xe(e, r, t, n, o) {
451
+ function Xe(e, r, t, n, i) {
452
452
  {
453
- var u, i = {}, a = null, v = null;
454
- t !== void 0 && (ve(t), a = "" + t), Je(r) && (ve(r.key), a = "" + r.key), qe(r) && (v = r.ref, Ge(r, o));
453
+ var u, o = {}, a = null, v = null;
454
+ t !== void 0 && (ve(t), a = "" + t), Je(r) && (ve(r.key), a = "" + r.key), qe(r) && (v = r.ref, Ge(r, i));
455
455
  for (u in r)
456
- N.call(r, u) && !Be.hasOwnProperty(u) && (i[u] = r[u]);
456
+ N.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
457
457
  if (e && e.defaultProps) {
458
458
  var s = e.defaultProps;
459
459
  for (u in s)
460
- i[u] === void 0 && (i[u] = s[u]);
460
+ o[u] === void 0 && (o[u] = s[u]);
461
461
  }
462
462
  if (a || v) {
463
463
  var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- a && ze(i, f), v && Ke(i, f);
464
+ a && ze(o, f), v && He(o, f);
465
465
  }
466
- return He(e, a, v, o, n, k.current, i);
466
+ return Ke(e, a, v, i, n, A.current, o);
467
467
  }
468
468
  }
469
- var G = C.ReactCurrentOwner, ge = C.ReactDebugCurrentFrame;
470
- function P(e) {
469
+ var z = S.ReactCurrentOwner, ge = S.ReactDebugCurrentFrame;
470
+ function x(e) {
471
471
  if (e) {
472
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
472
+ var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
473
473
  ge.setExtraStackFrame(t);
474
474
  } else
475
475
  ge.setExtraStackFrame(null);
476
476
  }
477
- var z;
478
- z = !1;
477
+ var H;
478
+ H = !1;
479
479
  function K(e) {
480
- return typeof e == "object" && e !== null && e.$$typeof === y;
480
+ return typeof e == "object" && e !== null && e.$$typeof === E;
481
481
  }
482
482
  function Ee() {
483
483
  {
484
- if (G.current) {
485
- var e = b(G.current.type);
484
+ if (z.current) {
485
+ var e = h(z.current.type);
486
486
  if (e)
487
487
  return `
488
488
 
@@ -525,14 +525,14 @@ Check the top-level render call using <` + t + ">.");
525
525
  return;
526
526
  be[t] = !0;
527
527
  var n = "";
528
- e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + b(e._owner.type) + "."), P(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), P(null);
528
+ e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + h(e._owner.type) + "."), x(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), x(null);
529
529
  }
530
530
  }
531
- function _e(e, r) {
531
+ function Re(e, r) {
532
532
  {
533
533
  if (typeof e != "object")
534
534
  return;
535
- if (q(e))
535
+ if (J(e))
536
536
  for (var t = 0; t < e.length; t++) {
537
537
  var n = e[t];
538
538
  K(n) && he(n, r);
@@ -540,10 +540,10 @@ Check the top-level render call using <` + t + ">.");
540
540
  else if (K(e))
541
541
  e._store && (e._store.validated = !0);
542
542
  else if (e) {
543
- var o = Pe(e);
544
- if (typeof o == "function" && o !== e.entries)
545
- for (var u = o.call(e), i; !(i = u.next()).done; )
546
- K(i.value) && he(i.value, r);
543
+ var i = we(e);
544
+ if (typeof i == "function" && i !== e.entries)
545
+ for (var u = i.call(e), o; !(o = u.next()).done; )
546
+ K(o.value) && he(o.value, r);
547
547
  }
548
548
  }
549
549
  }
@@ -555,17 +555,17 @@ Check the top-level render call using <` + t + ">.");
555
555
  var t;
556
556
  if (typeof r == "function")
557
557
  t = r.propTypes;
558
- else if (typeof r == "object" && (r.$$typeof === l || r.$$typeof === E))
558
+ else if (typeof r == "object" && (r.$$typeof === l || r.$$typeof === b))
559
559
  t = r.propTypes;
560
560
  else
561
561
  return;
562
562
  if (t) {
563
- var n = b(r);
564
- Ne(t, e.props, "prop", n, e);
565
- } else if (r.PropTypes !== void 0 && !z) {
566
- z = !0;
567
- var o = b(r);
568
- c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
563
+ var n = h(r);
564
+ Me(t, e.props, "prop", n, e);
565
+ } else if (r.PropTypes !== void 0 && !H) {
566
+ H = !0;
567
+ var i = h(r);
568
+ c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
569
569
  }
570
570
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
@@ -575,60 +575,66 @@ Check the top-level render call using <` + t + ">.");
575
575
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
576
576
  var n = r[t];
577
577
  if (n !== "children" && n !== "key") {
578
- P(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), P(null);
578
+ x(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), x(null);
579
579
  break;
580
580
  }
581
581
  }
582
- e.ref !== null && (P(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
582
+ e.ref !== null && (x(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), x(null));
583
583
  }
584
584
  }
585
- function ye(e, r, t, n, o, u) {
585
+ function _e(e, r, t, n, i, u) {
586
586
  {
587
- var i = Fe(e);
588
- if (!i) {
587
+ var o = Fe(e);
588
+ if (!o) {
589
589
  var a = "";
590
590
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
591
- var v = Ze(o);
591
+ var v = Ze(i);
592
592
  v ? a += v : a += Ee();
593
593
  var s;
594
- e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === y ? (s = "<" + (b(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
594
+ e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === E ? (s = "<" + (h(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
595
595
  }
596
- var f = Xe(e, r, t, o, u);
596
+ var f = Xe(e, r, t, i, u);
597
597
  if (f == null)
598
598
  return f;
599
- if (i) {
600
- var p = r.children;
601
- if (p !== void 0)
599
+ if (o) {
600
+ var g = r.children;
601
+ if (g !== void 0)
602
602
  if (n)
603
- if (q(p)) {
604
- for (var S = 0; S < p.length; S++)
605
- _e(p[S], e);
606
- Object.freeze && Object.freeze(p);
603
+ if (J(g)) {
604
+ for (var j = 0; j < g.length; j++)
605
+ Re(g[j], e);
606
+ Object.freeze && Object.freeze(g);
607
607
  } else
608
608
  c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
609
609
  else
610
- _e(p, e);
610
+ Re(g, e);
611
611
  }
612
612
  return e === _ ? rr(f) : er(f), f;
613
613
  }
614
614
  }
615
615
  function tr(e, r, t) {
616
- return ye(e, r, t, !0);
616
+ return _e(e, r, t, !0);
617
617
  }
618
618
  function nr(e, r, t) {
619
- return ye(e, r, t, !1);
619
+ return _e(e, r, t, !1);
620
620
  }
621
- var ar = nr, ir = tr;
622
- F.Fragment = _, F.jsx = ar, F.jsxs = ir;
623
- }()), F;
621
+ var ar = nr, or = tr;
622
+ $.Fragment = _, $.jsx = ar, $.jsxs = or;
623
+ }()), $;
624
624
  }
625
- (function(g) {
626
- process.env.NODE_ENV === "production" ? g.exports = ur() : g.exports = sr();
627
- })(or);
628
- const lr = ({ ...g }) => {
629
- let { children: y, testProp: w, ..._ } = g;
630
- return /* @__PURE__ */ H.jsx("div", { "data-test": w, ..._, children: y });
625
+ (function(p) {
626
+ process.env.NODE_ENV === "production" ? p.exports = sr() : p.exports = fr();
627
+ })(ur);
628
+ const lr = ir(
629
+ ({ tag: p, children: E, visible: m = !0, ..._ }, C) => {
630
+ const w = p || "div";
631
+ return m ? /* @__PURE__ */ k.jsx(w, { ref: C, ..._, children: E }) : /* @__PURE__ */ k.jsx(k.Fragment, {});
632
+ }
633
+ ), vr = ({ ...p }) => {
634
+ const { children: E, ...m } = p;
635
+ return /* @__PURE__ */ k.jsx(lr, { tag: "div", ...m, children: E });
631
636
  };
632
637
  export {
633
- lr as Container
638
+ vr as Container,
639
+ lr as HTML
634
640
  };
@@ -0,0 +1,27 @@
1
+ (function(R,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],_):(R=typeof globalThis<"u"?globalThis:R||self,_(R.Zen={},R.React))})(this,function(R,_){"use strict";var P={},Pe={get exports(){return P},set exports(p){P=p}},A={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Q;function we(){if(Q)return A;Q=1;var p=_,h=Symbol.for("react.element"),T=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,w=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,j={key:!0,ref:!0,__self:!0,__source:!0};function W(O,l,x){var v,b={},C=null,M=null;x!==void 0&&(C=""+x),l.key!==void 0&&(C=""+l.key),l.ref!==void 0&&(M=l.ref);for(v in l)m.call(l,v)&&!j.hasOwnProperty(v)&&(b[v]=l[v]);if(O&&O.defaultProps)for(v in l=O.defaultProps,l)b[v]===void 0&&(b[v]=l[v]);return{$$typeof:h,type:O,key:C,ref:M,props:b,_owner:w.current}}return A.Fragment=T,A.jsx=W,A.jsxs=W,A}var I={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var ee;function je(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&function(){var p=_,h=Symbol.for("react.element"),T=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),W=Symbol.for("react.provider"),O=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),te=Symbol.iterator,ke="@@iterator";function De(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[ke];return typeof r=="function"?r:null}var k=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Fe("error",e,t)}}function Fe(e,r,t){{var n=k.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ae=!1,Ie=!1,We=!1,Ye=!1,Le=!1,ne;ne=Symbol.for("react.module.reference");function Me(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===j||Le||e===w||e===x||e===v||Ye||e===M||Ae||Ie||We||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===b||e.$$typeof===W||e.$$typeof===O||e.$$typeof===l||e.$$typeof===ne||e.getModuleId!==void 0))}function $e(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ae(e){return e.displayName||"Context"}function y(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case T:return"Portal";case j:return"Profiler";case w:return"StrictMode";case x:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O:var r=e;return ae(r)+".Consumer";case W:var t=e;return ae(t._context)+".Provider";case l:return $e(e,e.render,"ForwardRef");case b:var n=e.displayName||null;return n!==null?n:y(e.type)||"Memo";case C:{var o=e,u=o._payload,i=o._init;try{return y(i(u))}catch{return null}}}return null}var S=Object.assign,Y=0,ie,oe,ue,se,fe,le,ce;function de(){}de.__reactDisabledLog=!0;function Ne(){{if(Y===0){ie=console.log,oe=console.info,ue=console.warn,se=console.error,fe=console.group,le=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ve(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:S({},e,{value:ie}),info:S({},e,{value:oe}),warn:S({},e,{value:ue}),error:S({},e,{value:se}),group:S({},e,{value:fe}),groupCollapsed:S({},e,{value:le}),groupEnd:S({},e,{value:ce})})}Y<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=k.ReactCurrentDispatcher,q;function $(e,r,t){{if(q===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
18
+ `+q+e}}var G=!1,N;{var Ue=typeof WeakMap=="function"?WeakMap:Map;N=new Ue}function ve(e,r){if(!e||G)return"";{var t=N.get(e);if(t!==void 0)return t}var n;G=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=J.current,J.current=null,Ne();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(E){n=E}Reflect.construct(e,[],i)}else{try{i.call()}catch(E){n=E}e.call(i.prototype)}}else{try{throw Error()}catch(E){n=E}e()}}catch(E){if(E&&n&&typeof E.stack=="string"){for(var a=E.stack.split(`
19
+ `),d=n.stack.split(`
20
+ `),s=a.length-1,f=d.length-1;s>=1&&f>=0&&a[s]!==d[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==d[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==d[f]){var g=`
21
+ `+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&N.set(e,g),g}while(s>=1&&f>=0);break}}}finally{G=!1,J.current=u,Ve(),Error.prepareStackTrace=o}var F=e?e.displayName||e.name:"",Se=F?$(F):"";return typeof e=="function"&&N.set(e,Se),Se}function Be(e,r,t){return ve(e,!1)}function Je(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function V(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Je(e));if(typeof e=="string")return $(e);switch(e){case x:return $("Suspense");case v:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Be(e.render);case b:return V(e.type,r,t);case C:{var n=e,o=n._payload,u=n._init;try{return V(u(o),r,t)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,pe={},ge=k.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}function qe(e,r,t,n,o){{var u=Function.call.bind(U);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var d=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(B(o),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),B(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,B(o),c("Failed %s type: %s",t,a.message),B(null))}}}var Ge=Array.isArray;function H(e){return Ge(e)}function He(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ze(e){try{return he(e),!1}catch{return!0}}function he(e){return""+e}function be(e){if(ze(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",He(e)),he(e)}var L=k.ReactCurrentOwner,Ke={key:!0,ref:!0,__self:!0,__source:!0},ye,Ee,z;z={};function Xe(e){if(U.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(U.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=y(L.current.type);z[t]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',y(L.current.type),e.ref),z[t]=!0)}}function er(e,r){{var t=function(){ye||(ye=!0,c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Ee||(Ee=!0,c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,o,u,i){var a={$$typeof:h,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function nr(e,r,t,n,o){{var u,i={},a=null,d=null;t!==void 0&&(be(t),a=""+t),Ze(r)&&(be(r.key),a=""+r.key),Xe(r)&&(d=r.ref,Qe(r,o));for(u in r)U.call(r,u)&&!Ke.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||d){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&er(i,f),d&&rr(i,f)}return tr(e,a,d,o,n,L.current,i)}}var K=k.ReactCurrentOwner,Re=k.ReactDebugCurrentFrame;function D(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}var X;X=!1;function Z(e){return typeof e=="object"&&e!==null&&e.$$typeof===h}function me(){{if(K.current){var e=y(K.current.type);if(e)return`
22
+
23
+ Check the render method of \``+e+"`."}return""}}function ar(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
+
25
+ Check your code at `+r+":"+t+"."}return""}}var _e={};function ir(e){{var r=me();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
+
27
+ Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ir(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+y(e._owner.type)+"."),D(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),D(null)}}function Oe(e,r){{if(typeof e!="object")return;if(H(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&Te(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var o=De(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)Z(i.value)&&Te(i.value,r)}}}function or(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===b))t=r.propTypes;else return;if(t){var n=y(r);qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var o=y(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ur(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){D(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),D(null);break}}e.ref!==null&&(D(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),D(null))}}function Ce(e,r,t,n,o,u){{var i=Me(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=ar(o);d?a+=d:a+=me();var s;e===null?s="null":H(e)?s="array":e!==void 0&&e.$$typeof===h?(s="<"+(y(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var f=nr(e,r,t,o,u);if(f==null)return f;if(i){var g=r.children;if(g!==void 0)if(n)if(H(g)){for(var F=0;F<g.length;F++)Oe(g[F],e);Object.freeze&&Object.freeze(g)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Oe(g,e)}return e===m?ur(f):or(f),f}}function sr(e,r,t){return Ce(e,r,t,!0)}function fr(e,r,t){return Ce(e,r,t,!1)}var lr=fr,cr=sr;I.Fragment=m,I.jsx=lr,I.jsxs=cr}()),I}(function(p){process.env.NODE_ENV==="production"?p.exports=we():p.exports=je()})(Pe);const dr="",re=_.forwardRef(({tag:p,children:h,visible:T=!0,...m},w)=>{const j=p||"div";return T?P.jsx(j,{ref:w,...m,children:h}):P.jsx(P.Fragment,{})}),xe=({...p})=>{const{children:h,...T}=p;return P.jsx(re,{tag:"div",...T,children:h})};R.Container=xe,R.HTML=re,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,65 +1,77 @@
1
- {
2
- "name": "@rinzai/zen",
3
- "version": "0.0.1",
4
- "type": "module",
5
- "files": [
6
- "dist"
7
- ],
8
- "types": "./dist/index.d.ts",
9
- "main": "./dist/zen-ui.umd.js",
10
- "module": "./dist/zen-ui.es.js",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/zen-ui.es.js",
14
- "require": "./dist/zen-ui.umd.js"
15
- }
16
- },
17
- "scripts": {
18
- "dev": "vite",
19
- "build": "tsc && vite build",
20
- "preview": "vite preview",
21
- "lint": "eslint components/**/*.{ts,tsx}",
22
- "lint:fix": "eslint --fix components/**/*.{ts,tsx}",
23
- "format": "prettier --write components/**/*.{ts,tsx,css} --config ./.prettierrc",
24
- "prepare": "husky install"
25
- },
26
- "dependencies": {
27
- "react": "^18.2.0",
28
- "react-dom": "^18.2.0"
29
- },
30
- "devDependencies": {
31
- "@types/react": "^18.0.26",
32
- "@types/react-dom": "^18.0.9",
33
- "@typescript-eslint/eslint-plugin": "^5.47.1",
34
- "@typescript-eslint/parser": "^5.47.1",
35
- "@vitejs/plugin-react-swc": "^3.0.0",
36
- "eslint": "^8.30.0",
37
- "eslint-config-prettier": "^8.5.0",
38
- "eslint-plugin-prettier": "^4.2.1",
39
- "eslint-plugin-react": "^7.31.11",
40
- "eslint-plugin-simple-import-sort": "^8.0.0",
41
- "husky": "^8.0.2",
42
- "prettier": "^2.8.1",
43
- "react-hooks": "^1.0.1",
44
- "rollup-plugin-typescript2": "^0.34.1",
45
- "typescript": "^4.9.3",
46
- "vite": "^4.0.0",
47
- "vite-plugin-dts": "^1.7.1",
48
- "vite-plugin-linter": "^2.0.2"
49
- },
50
- "husky": {
51
- "hooks": {
52
- "pre-commit": "lint-staged"
53
- }
54
- },
55
- "peerDependencies": {
56
- "react": "^18.2.0",
57
- "react-dom": "^18.2.0"
58
- },
59
- "lint-staged": {
60
- "components/**/*.{js,jsx,ts,tsx}": [
61
- "npx eslint",
62
- "npm run format"
63
- ]
64
- }
65
- }
1
+ {
2
+ "name": "@rinzai/zen",
3
+ "version": "0.0.2",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "types": "./dist/index.d.ts",
9
+ "main": "./dist/zen-ui.umd.js",
10
+ "module": "./dist/zen-ui.es.js",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/zen-ui.es.js",
14
+ "require": "./dist/zen-ui.umd.js"
15
+ }
16
+ },
17
+ "scripts": {
18
+ "dev": "vite",
19
+ "build": "tsc && vite build",
20
+ "preview": "vite preview",
21
+ "lint": "eslint components/**/*.{ts,tsx}",
22
+ "lint:fix": "eslint --fix components/**/*.{ts,tsx}",
23
+ "format": "prettier --write components/**/*.{ts,tsx,css} --config ./.prettierrc",
24
+ "prepare": "husky install",
25
+ "storybook": "storybook dev -p 6006",
26
+ "build-storybook": "storybook build"
27
+ },
28
+ "dependencies": {
29
+ "react": "^18.2.0",
30
+ "react-dom": "^18.2.0"
31
+ },
32
+ "devDependencies": {
33
+ "@storybook/addon-essentials": "^7.0.0-beta.15",
34
+ "@storybook/addon-interactions": "^7.0.0-beta.15",
35
+ "@storybook/addon-links": "^7.0.0-beta.15",
36
+ "@storybook/blocks": "^7.0.0-beta.15",
37
+ "@storybook/react": "^7.0.0-beta.15",
38
+ "@storybook/react-vite": "^7.0.0-beta.15",
39
+ "@storybook/testing-library": "^0.0.13",
40
+ "@types/react": "^18.0.26",
41
+ "@types/react-dom": "^18.0.9",
42
+ "@typescript-eslint/eslint-plugin": "^5.47.1",
43
+ "@typescript-eslint/parser": "^5.47.1",
44
+ "@vitejs/plugin-react-swc": "^3.0.0",
45
+ "eslint": "^8.30.0",
46
+ "eslint-config-prettier": "^8.5.0",
47
+ "eslint-plugin-prettier": "^4.2.1",
48
+ "eslint-plugin-react": "^7.31.11",
49
+ "eslint-plugin-simple-import-sort": "^8.0.0",
50
+ "eslint-plugin-storybook": "^0.6.8",
51
+ "husky": "^8.0.2",
52
+ "prettier": "^2.8.1",
53
+ "react-hooks": "^1.0.1",
54
+ "rollup-plugin-typescript2": "^0.34.1",
55
+ "sass": "^1.57.1",
56
+ "storybook": "^7.0.0-beta.15",
57
+ "typescript": "^4.9.3",
58
+ "vite": "^4.0.0",
59
+ "vite-plugin-dts": "^1.7.1",
60
+ "vite-plugin-linter": "^2.0.2"
61
+ },
62
+ "husky": {
63
+ "hooks": {
64
+ "pre-commit": "lint-staged"
65
+ }
66
+ },
67
+ "peerDependencies": {
68
+ "react": "^18.2.0",
69
+ "react-dom": "^18.2.0"
70
+ },
71
+ "lint-staged": {
72
+ "components/**/*.{js,jsx,ts,tsx}": [
73
+ "npx eslint",
74
+ "npm run format"
75
+ ]
76
+ }
77
+ }
@@ -1,5 +0,0 @@
1
- export default interface IContainerProps {
2
- children: React.ReactNode | React.ReactNode[];
3
- testProp: 'a' | 'b';
4
- }
5
- //# sourceMappingURL=Container.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Container.types.d.ts","sourceRoot":"","sources":["Container.types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,eAAe;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC7C,QAAQ,EAAE,GAAG,GAAG,GAAG,CAAA;CACtB"}
package/dist/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -1,27 +0,0 @@
1
- (function(R,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],C):(R=typeof globalThis<"u"?globalThis:R||self,C(R.ZenUI={},R.React))})(this,function(R,C){"use strict";var B={},Pe={get exports(){return B},set exports(g){B=g}},j={};/**
2
- * @license React
3
- * react-jsx-runtime.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Q;function Se(){if(Q)return j;Q=1;var g=C,_=Symbol.for("react.element"),D=Symbol.for("react.fragment"),E=Object.prototype.hasOwnProperty,W=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function F(m,l,P){var v,h={},T=null,$=null;P!==void 0&&(T=""+P),l.key!==void 0&&(T=""+l.key),l.ref!==void 0&&($=l.ref);for(v in l)E.call(l,v)&&!Y.hasOwnProperty(v)&&(h[v]=l[v]);if(m&&m.defaultProps)for(v in l=m.defaultProps,l)h[v]===void 0&&(h[v]=l[v]);return{$$typeof:_,type:m,key:T,ref:$,props:h,_owner:W.current}}return j.Fragment=D,j.jsx=F,j.jsxs=F,j}var k={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var ee;function we(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&function(){var g=C,_=Symbol.for("react.element"),D=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),m=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),re=Symbol.iterator,je="@@iterator";function ke(e){if(e===null||typeof e!="object")return null;var r=re&&e[re]||e[je];return typeof r=="function"?r:null}var S=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];De("error",e,t)}}function De(e,r,t){{var n=S.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Fe=!1,Ae=!1,Ie=!1,We=!1,Ye=!1,te;te=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===E||e===Y||Ye||e===W||e===P||e===v||We||e===$||Fe||Ae||Ie||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===h||e.$$typeof===F||e.$$typeof===m||e.$$typeof===l||e.$$typeof===te||e.getModuleId!==void 0))}function Le(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ne(e){return e.displayName||"Context"}function b(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case D:return"Portal";case Y:return"Profiler";case W:return"StrictMode";case P:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case m:var r=e;return ne(r)+".Consumer";case F:var t=e;return ne(t._context)+".Provider";case l:return Le(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:b(e.type)||"Memo";case T:{var o=e,u=o._payload,i=o._init;try{return b(i(u))}catch{return null}}}return null}var O=Object.assign,A=0,ae,ie,oe,ue,se,fe,le;function ce(){}ce.__reactDisabledLog=!0;function Ne(){{if(A===0){ae=console.log,ie=console.info,oe=console.warn,ue=console.error,se=console.group,fe=console.groupCollapsed,le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function Me(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:ae}),info:O({},e,{value:ie}),warn:O({},e,{value:oe}),error:O({},e,{value:ue}),group:O({},e,{value:se}),groupCollapsed:O({},e,{value:fe}),groupEnd:O({},e,{value:le})})}A<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=S.ReactCurrentDispatcher,J;function L(e,r,t){{if(J===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);J=n&&n[1]||""}return`
18
- `+J+e}}var G=!1,N;{var Ue=typeof WeakMap=="function"?WeakMap:Map;N=new Ue}function de(e,r){if(!e||G)return"";{var t=N.get(e);if(t!==void 0)return t}var n;G=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=q.current,q.current=null,Ne();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(y){n=y}Reflect.construct(e,[],i)}else{try{i.call()}catch(y){n=y}e.call(i.prototype)}}else{try{throw Error()}catch(y){n=y}e()}}catch(y){if(y&&n&&typeof y.stack=="string"){for(var a=y.stack.split(`
19
- `),d=n.stack.split(`
20
- `),s=a.length-1,f=d.length-1;s>=1&&f>=0&&a[s]!==d[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==d[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==d[f]){var p=`
21
- `+a[s].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),typeof e=="function"&&N.set(e,p),p}while(s>=1&&f>=0);break}}}finally{G=!1,q.current=u,Me(),Error.prepareStackTrace=o}var x=e?e.displayName||e.name:"",Ce=x?L(x):"";return typeof e=="function"&&N.set(e,Ce),Ce}function Ve(e,r,t){return de(e,!1)}function Be(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function M(e,r,t){if(e==null)return"";if(typeof e=="function")return de(e,Be(e));if(typeof e=="string")return L(e);switch(e){case P:return L("Suspense");case v:return L("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ve(e.render);case h:return M(e.type,r,t);case T:{var n=e,o=n._payload,u=n._init;try{return M(u(o),r,t)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,ve={},pe=S.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);pe.setExtraStackFrame(t)}else pe.setExtraStackFrame(null)}function qe(e,r,t,n,o){{var u=Function.call.bind(U);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var d=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(V(o),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),V(null)),a instanceof Error&&!(a.message in ve)&&(ve[a.message]=!0,V(o),c("Failed %s type: %s",t,a.message),V(null))}}}var Je=Array.isArray;function z(e){return Je(e)}function Ge(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ze(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function he(e){if(ze(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ge(e)),ge(e)}var I=S.ReactCurrentOwner,Ke={key:!0,ref:!0,__self:!0,__source:!0},be,ye,K;K={};function He(e){if(U.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Xe(e){if(U.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ze(e,r){if(typeof e.ref=="string"&&I.current&&r&&I.current.stateNode!==r){var t=b(I.current.type);K[t]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',b(I.current.type),e.ref),K[t]=!0)}}function Qe(e,r){{var t=function(){be||(be=!0,c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function er(e,r){{var t=function(){ye||(ye=!0,c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var rr=function(e,r,t,n,o,u,i){var a={$$typeof:_,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function tr(e,r,t,n,o){{var u,i={},a=null,d=null;t!==void 0&&(he(t),a=""+t),Xe(r)&&(he(r.key),a=""+r.key),He(r)&&(d=r.ref,Ze(r,o));for(u in r)U.call(r,u)&&!Ke.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||d){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Qe(i,f),d&&er(i,f)}return rr(e,a,d,o,n,I.current,i)}}var H=S.ReactCurrentOwner,Ee=S.ReactDebugCurrentFrame;function w(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var X;X=!1;function Z(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Re(){{if(H.current){var e=b(H.current.type);if(e)return`
22
-
23
- Check the render method of \``+e+"`."}return""}}function nr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
-
25
- Check your code at `+r+":"+t+"."}return""}}var _e={};function ar(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
-
27
- Check the top-level render call using <`+t+">.")}return r}}function me(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==H.current&&(n=" It was passed a child from "+b(e._owner.type)+"."),w(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),w(null)}}function Te(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&me(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var o=ke(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)Z(i.value)&&me(i.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=b(r);qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var o=b(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function or(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){w(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),w(null);break}}e.ref!==null&&(w(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),w(null))}}function Oe(e,r,t,n,o,u){{var i=$e(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=nr(o);d?a+=d:a+=Re();var s;e===null?s="null":z(e)?s="array":e!==void 0&&e.$$typeof===_?(s="<"+(b(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var f=tr(e,r,t,o,u);if(f==null)return f;if(i){var p=r.children;if(p!==void 0)if(n)if(z(p)){for(var x=0;x<p.length;x++)Te(p[x],e);Object.freeze&&Object.freeze(p)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Te(p,e)}return e===E?or(f):ir(f),f}}function ur(e,r,t){return Oe(e,r,t,!0)}function sr(e,r,t){return Oe(e,r,t,!1)}var fr=sr,lr=ur;k.Fragment=E,k.jsx=fr,k.jsxs=lr}()),k}(function(g){process.env.NODE_ENV==="production"?g.exports=Se():g.exports=we()})(Pe);const xe=({...g})=>{let{children:_,testProp:D,...E}=g;return B.jsx("div",{"data-test":D,...E,children:_})};R.Container=xe,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});