@uninspired/cookie-banner 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/components/Banner/Banner.js +35 -0
  2. package/dist/components/Banner/index.js +1 -0
  3. package/dist/components/BannerItem/BannerItem.js +24 -0
  4. package/dist/components/BannerItem/index.js +1 -0
  5. package/dist/components/Button/Button.js +6 -0
  6. package/dist/components/Button/index.js +1 -0
  7. package/dist/components/Switch/Switch.js +7 -0
  8. package/dist/components/Switch/index.js +1 -0
  9. package/dist/components/Text/Text.js +9 -0
  10. package/dist/components/Text/index.js +1 -0
  11. package/dist/contexts/SelectionContext.js +101 -0
  12. package/dist/react/index.cjs +969 -345
  13. package/dist/react/index.d.ts +2 -2
  14. package/dist/react/index.js +965 -341
  15. package/dist/react.js +1 -0
  16. package/dist/script/index.cjs +1 -1
  17. package/dist/script/index.js +40 -40
  18. package/dist/script.js +1 -0
  19. package/dist/types/components/Banner/Banner.d.ts +21 -0
  20. package/dist/types/components/Banner/index.d.ts +1 -0
  21. package/dist/types/components/BannerItem/BannerItem.d.ts +23 -0
  22. package/dist/types/components/BannerItem/index.d.ts +1 -0
  23. package/dist/types/components/Button/Button.d.ts +5 -0
  24. package/dist/types/components/Button/index.d.ts +1 -0
  25. package/dist/types/components/Switch/Switch.d.ts +5 -0
  26. package/dist/types/components/Switch/index.d.ts +1 -0
  27. package/dist/types/components/Text/Text.d.ts +8 -0
  28. package/dist/types/components/Text/index.d.ts +1 -0
  29. package/dist/types/contexts/SelectionContext.d.ts +23 -0
  30. package/dist/types/react.d.ts +1 -0
  31. package/dist/types/script.d.ts +1 -0
  32. package/dist/types/utils/classes.d.ts +2 -0
  33. package/dist/types/utils/mountBanner.d.ts +2 -0
  34. package/dist/types/utils/scriptDefinition.d.ts +35 -0
  35. package/dist/types/utils/selection.d.ts +3 -0
  36. package/dist/utils/classes.js +9 -0
  37. package/dist/utils/mountBanner.js +18 -0
  38. package/dist/utils/scriptDefinition.js +21 -0
  39. package/dist/utils/selection.js +2 -0
  40. package/package.json +6 -6
@@ -5,12 +5,12 @@ const ReactDOM = require("react-dom");
5
5
  function _interopNamespaceDefault(e) {
6
6
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
7
7
  if (e) {
8
- for (const k in e) {
9
- if (k !== "default") {
10
- const d = Object.getOwnPropertyDescriptor(e, k);
11
- Object.defineProperty(n, k, d.get ? d : {
8
+ for (const k2 in e) {
9
+ if (k2 !== "default") {
10
+ const d = Object.getOwnPropertyDescriptor(e, k2);
11
+ Object.defineProperty(n, k2, d.get ? d : {
12
12
  enumerable: true,
13
- get: () => e[k]
13
+ get: () => e[k2]
14
14
  });
15
15
  }
16
16
  }
@@ -20,304 +20,27 @@ function _interopNamespaceDefault(e) {
20
20
  }
21
21
  const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
22
22
  const ReactDOM__namespace = /* @__PURE__ */ _interopNamespaceDefault(ReactDOM);
23
- var jsxRuntime = { exports: {} };
24
- var reactJsxRuntime_production = {};
25
- var hasRequiredReactJsxRuntime_production;
26
- function requireReactJsxRuntime_production() {
27
- if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
28
- hasRequiredReactJsxRuntime_production = 1;
29
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
30
- function jsxProd(type, config2, maybeKey) {
31
- var key = null;
32
- void 0 !== maybeKey && (key = "" + maybeKey);
33
- void 0 !== config2.key && (key = "" + config2.key);
34
- if ("key" in config2) {
35
- maybeKey = {};
36
- for (var propName in config2)
37
- "key" !== propName && (maybeKey[propName] = config2[propName]);
38
- } else maybeKey = config2;
39
- config2 = maybeKey.ref;
40
- return {
41
- $$typeof: REACT_ELEMENT_TYPE,
42
- type,
43
- key,
44
- ref: void 0 !== config2 ? config2 : null,
45
- props: maybeKey
46
- };
47
- }
48
- reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
49
- reactJsxRuntime_production.jsx = jsxProd;
50
- reactJsxRuntime_production.jsxs = jsxProd;
51
- return reactJsxRuntime_production;
52
- }
53
- var reactJsxRuntime_development = {};
54
- var hasRequiredReactJsxRuntime_development;
55
- function requireReactJsxRuntime_development() {
56
- if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
57
- hasRequiredReactJsxRuntime_development = 1;
58
- "production" !== process.env.NODE_ENV && (function() {
59
- function getComponentNameFromType(type) {
60
- if (null == type) return null;
61
- if ("function" === typeof type)
62
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
63
- if ("string" === typeof type) return type;
64
- switch (type) {
65
- case REACT_FRAGMENT_TYPE:
66
- return "Fragment";
67
- case REACT_PROFILER_TYPE:
68
- return "Profiler";
69
- case REACT_STRICT_MODE_TYPE:
70
- return "StrictMode";
71
- case REACT_SUSPENSE_TYPE:
72
- return "Suspense";
73
- case REACT_SUSPENSE_LIST_TYPE:
74
- return "SuspenseList";
75
- case REACT_ACTIVITY_TYPE:
76
- return "Activity";
77
- }
78
- if ("object" === typeof type)
79
- switch ("number" === typeof type.tag && console.error(
80
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
81
- ), type.$$typeof) {
82
- case REACT_PORTAL_TYPE:
83
- return "Portal";
84
- case REACT_CONTEXT_TYPE:
85
- return type.displayName || "Context";
86
- case REACT_CONSUMER_TYPE:
87
- return (type._context.displayName || "Context") + ".Consumer";
88
- case REACT_FORWARD_REF_TYPE:
89
- var innerType = type.render;
90
- type = type.displayName;
91
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
92
- return type;
93
- case REACT_MEMO_TYPE:
94
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
95
- case REACT_LAZY_TYPE:
96
- innerType = type._payload;
97
- type = type._init;
98
- try {
99
- return getComponentNameFromType(type(innerType));
100
- } catch (x) {
101
- }
102
- }
103
- return null;
104
- }
105
- function testStringCoercion(value) {
106
- return "" + value;
107
- }
108
- function checkKeyStringCoercion(value) {
109
- try {
110
- var JSCompiler_inline_result = false;
111
- } catch (e) {
112
- JSCompiler_inline_result = true;
113
- }
114
- if (JSCompiler_inline_result) {
115
- JSCompiler_inline_result = console;
116
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
117
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
118
- JSCompiler_temp_const.call(
119
- JSCompiler_inline_result,
120
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
121
- JSCompiler_inline_result$jscomp$0
122
- );
123
- return testStringCoercion(value);
124
- }
125
- }
126
- function getTaskName(type) {
127
- if (type === REACT_FRAGMENT_TYPE) return "<>";
128
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
129
- return "<...>";
130
- try {
131
- var name = getComponentNameFromType(type);
132
- return name ? "<" + name + ">" : "<...>";
133
- } catch (x) {
134
- return "<...>";
135
- }
136
- }
137
- function getOwner() {
138
- var dispatcher = ReactSharedInternals.A;
139
- return null === dispatcher ? null : dispatcher.getOwner();
140
- }
141
- function UnknownOwner() {
142
- return Error("react-stack-top-frame");
143
- }
144
- function hasValidKey(config2) {
145
- if (hasOwnProperty.call(config2, "key")) {
146
- var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
147
- if (getter && getter.isReactWarning) return false;
148
- }
149
- return void 0 !== config2.key;
150
- }
151
- function defineKeyPropWarningGetter(props, displayName) {
152
- function warnAboutAccessingKey() {
153
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
154
- "%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://react.dev/link/special-props)",
155
- displayName
156
- ));
157
- }
158
- warnAboutAccessingKey.isReactWarning = true;
159
- Object.defineProperty(props, "key", {
160
- get: warnAboutAccessingKey,
161
- configurable: true
162
- });
163
- }
164
- function elementRefGetterWithDeprecationWarning() {
165
- var componentName = getComponentNameFromType(this.type);
166
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
167
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
168
- ));
169
- componentName = this.props.ref;
170
- return void 0 !== componentName ? componentName : null;
171
- }
172
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
173
- var refProp = props.ref;
174
- type = {
175
- $$typeof: REACT_ELEMENT_TYPE,
176
- type,
177
- key,
178
- props,
179
- _owner: owner
180
- };
181
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
182
- enumerable: false,
183
- get: elementRefGetterWithDeprecationWarning
184
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
185
- type._store = {};
186
- Object.defineProperty(type._store, "validated", {
187
- configurable: false,
188
- enumerable: false,
189
- writable: true,
190
- value: 0
191
- });
192
- Object.defineProperty(type, "_debugInfo", {
193
- configurable: false,
194
- enumerable: false,
195
- writable: true,
196
- value: null
197
- });
198
- Object.defineProperty(type, "_debugStack", {
199
- configurable: false,
200
- enumerable: false,
201
- writable: true,
202
- value: debugStack
203
- });
204
- Object.defineProperty(type, "_debugTask", {
205
- configurable: false,
206
- enumerable: false,
207
- writable: true,
208
- value: debugTask
209
- });
210
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
211
- return type;
212
- }
213
- function jsxDEVImpl(type, config2, maybeKey, isStaticChildren, debugStack, debugTask) {
214
- var children = config2.children;
215
- if (void 0 !== children)
216
- if (isStaticChildren)
217
- if (isArrayImpl(children)) {
218
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
219
- validateChildKeys(children[isStaticChildren]);
220
- Object.freeze && Object.freeze(children);
221
- } else
222
- console.error(
223
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
224
- );
225
- else validateChildKeys(children);
226
- if (hasOwnProperty.call(config2, "key")) {
227
- children = getComponentNameFromType(type);
228
- var keys = Object.keys(config2).filter(function(k) {
229
- return "key" !== k;
230
- });
231
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
232
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
233
- 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
234
- isStaticChildren,
235
- children,
236
- keys,
237
- children
238
- ), didWarnAboutKeySpread[children + isStaticChildren] = true);
239
- }
240
- children = null;
241
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
242
- hasValidKey(config2) && (checkKeyStringCoercion(config2.key), children = "" + config2.key);
243
- if ("key" in config2) {
244
- maybeKey = {};
245
- for (var propName in config2)
246
- "key" !== propName && (maybeKey[propName] = config2[propName]);
247
- } else maybeKey = config2;
248
- children && defineKeyPropWarningGetter(
249
- maybeKey,
250
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
251
- );
252
- return ReactElement(
253
- type,
254
- children,
255
- maybeKey,
256
- getOwner(),
257
- debugStack,
258
- debugTask
259
- );
260
- }
261
- function validateChildKeys(node) {
262
- isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
263
- }
264
- function isValidElement(object2) {
265
- return "object" === typeof object2 && null !== object2 && object2.$$typeof === REACT_ELEMENT_TYPE;
266
- }
267
- var React$1 = React, REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
268
- return null;
269
- };
270
- React$1 = {
271
- react_stack_bottom_frame: function(callStackForError) {
272
- return callStackForError();
273
- }
274
- };
275
- var specialPropKeyWarningShown;
276
- var didWarnAboutElementRef = {};
277
- var unknownOwnerDebugStack = React$1.react_stack_bottom_frame.bind(
278
- React$1,
279
- UnknownOwner
280
- )();
281
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
282
- var didWarnAboutKeySpread = {};
283
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
284
- reactJsxRuntime_development.jsx = function(type, config2, maybeKey) {
285
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
286
- return jsxDEVImpl(
287
- type,
288
- config2,
289
- maybeKey,
290
- false,
291
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
292
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
293
- );
294
- };
295
- reactJsxRuntime_development.jsxs = function(type, config2, maybeKey) {
296
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
297
- return jsxDEVImpl(
298
- type,
299
- config2,
300
- maybeKey,
301
- true,
302
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
303
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
304
- );
305
- };
306
- })();
307
- return reactJsxRuntime_development;
23
+ var l;
24
+ function k(n) {
25
+ return n.children;
308
26
  }
309
- var hasRequiredJsxRuntime;
310
- function requireJsxRuntime() {
311
- if (hasRequiredJsxRuntime) return jsxRuntime.exports;
312
- hasRequiredJsxRuntime = 1;
313
- if (process.env.NODE_ENV === "production") {
314
- jsxRuntime.exports = /* @__PURE__ */ requireReactJsxRuntime_production();
315
- } else {
316
- jsxRuntime.exports = /* @__PURE__ */ requireReactJsxRuntime_development();
27
+ l = { __e: function(n, l2, u2, t) {
28
+ for (var i, r, o; l2 = l2.__; ) if ((i = l2.__c) && !i.__) try {
29
+ if ((r = i.constructor) && null != r.getDerivedStateFromError && (i.setState(r.getDerivedStateFromError(n)), o = i.__d), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), o = i.__d), o) return i.__E = i;
30
+ } catch (l3) {
31
+ n = l3;
317
32
  }
318
- return jsxRuntime.exports;
33
+ throw n;
34
+ } }, "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout;
35
+ var f = 0;
36
+ function u(e, t, n, o, i, u2) {
37
+ t || (t = {});
38
+ var a, c, p = t;
39
+ if ("ref" in p) for (c in p = {}, t) "ref" == c ? a = t[c] : p[c] = t[c];
40
+ var l$1 = { type: e, props: p, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --f, __i: -1, __u: 0, __source: i, __self: u2 };
41
+ if ("function" == typeof e && (a = e.defaultProps)) for (c in a) void 0 === p[c] && (p[c] = a[c]);
42
+ return l.vnode && l.vnode(l$1), l$1;
319
43
  }
320
- var jsxRuntimeExports = /* @__PURE__ */ requireJsxRuntime();
321
44
  function cls(...classes2) {
322
45
  return classes2.filter(Boolean).join(" ");
323
46
  }
@@ -335,7 +58,7 @@ const classes$4 = {
335
58
  ghost
336
59
  };
337
60
  const Button = ({ variant = "neutral", ...rest }) => {
338
- return /* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: cls(classes$4.root, classes$4[variant]), ...rest });
61
+ return /* @__PURE__ */ u("button", { className: cls(classes$4.root, classes$4[variant]), ...rest });
339
62
  };
340
63
  const root$3 = "_root_14l5h_1";
341
64
  const muted = "_muted_14l5h_4";
@@ -361,7 +84,7 @@ const Text = ({
361
84
  const Component = as ?? "span";
362
85
  return (
363
86
  // @ts-ignore
364
- /* @__PURE__ */ jsxRuntimeExports.jsx(
87
+ /* @__PURE__ */ u(
365
88
  Component,
366
89
  {
367
90
  className: cls(
@@ -435,9 +158,9 @@ function $constructor(name, initializer2, params) {
435
158
  const proto = _.prototype;
436
159
  const keys = Object.keys(proto);
437
160
  for (let i = 0; i < keys.length; i++) {
438
- const k = keys[i];
439
- if (!(k in inst)) {
440
- inst[k] = proto[k].bind(inst);
161
+ const k2 = keys[i];
162
+ if (!(k2 in inst)) {
163
+ inst[k2] = proto[k2].bind(inst);
441
164
  }
442
165
  }
443
166
  }
@@ -553,8 +276,8 @@ function normalizeParams(_params) {
553
276
  return {};
554
277
  }
555
278
  function optionalKeys(shape) {
556
- return Object.keys(shape).filter((k) => {
557
- return shape[k]._zod.optin === "optional" && shape[k]._zod.optout === "optional";
279
+ return Object.keys(shape).filter((k2) => {
280
+ return shape[k2]._zod.optin === "optional" && shape[k2]._zod.optout === "optional";
558
281
  });
559
282
  }
560
283
  function aborted(x, startIndex = 0) {
@@ -837,9 +560,9 @@ function handlePropertyResult(result, final, key, input, isOptionalOut) {
837
560
  }
838
561
  function normalizeDef(def) {
839
562
  const keys = Object.keys(def.shape);
840
- for (const k of keys) {
841
- if (!def.shape?.[k]?._zod?.traits?.has("$ZodType")) {
842
- throw new Error(`Invalid element at key "${k}": expected a Zod schema`);
563
+ for (const k2 of keys) {
564
+ if (!def.shape?.[k2]?._zod?.traits?.has("$ZodType")) {
565
+ throw new Error(`Invalid element at key "${k2}": expected a Zod schema`);
843
566
  }
844
567
  }
845
568
  const okeys = optionalKeys(def.shape);
@@ -1024,11 +747,11 @@ const $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUn
1024
747
  const pv = option._zod.propValues;
1025
748
  if (!pv || Object.keys(pv).length === 0)
1026
749
  throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(option)}"`);
1027
- for (const [k, v] of Object.entries(pv)) {
1028
- if (!propValues[k])
1029
- propValues[k] = /* @__PURE__ */ new Set();
750
+ for (const [k2, v] of Object.entries(pv)) {
751
+ if (!propValues[k2])
752
+ propValues[k2] = /* @__PURE__ */ new Set();
1030
753
  for (const val of v) {
1031
- propValues[k].add(val);
754
+ propValues[k2].add(val);
1032
755
  }
1033
756
  }
1034
757
  }
@@ -1381,6 +1104,907 @@ const scriptDefinitionSchema = /* @__PURE__ */ discriminatedUnion("variant", [
1381
1104
  remoteScriptDefinitionSchema,
1382
1105
  inlineScriptDefinitionSchema
1383
1106
  ]);
1107
+ var jsxRuntime = { exports: {} };
1108
+ var reactJsxRuntime_production_min = {};
1109
+ var hasRequiredReactJsxRuntime_production_min;
1110
+ function requireReactJsxRuntime_production_min() {
1111
+ if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
1112
+ hasRequiredReactJsxRuntime_production_min = 1;
1113
+ var f2 = React, k2 = /* @__PURE__ */ Symbol.for("react.element"), l2 = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
1114
+ function q(c, a, g) {
1115
+ var b, d = {}, e = null, h = null;
1116
+ void 0 !== g && (e = "" + g);
1117
+ void 0 !== a.key && (e = "" + a.key);
1118
+ void 0 !== a.ref && (h = a.ref);
1119
+ for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
1120
+ if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
1121
+ return { $$typeof: k2, type: c, key: e, ref: h, props: d, _owner: n.current };
1122
+ }
1123
+ reactJsxRuntime_production_min.Fragment = l2;
1124
+ reactJsxRuntime_production_min.jsx = q;
1125
+ reactJsxRuntime_production_min.jsxs = q;
1126
+ return reactJsxRuntime_production_min;
1127
+ }
1128
+ var reactJsxRuntime_development = {};
1129
+ var hasRequiredReactJsxRuntime_development;
1130
+ function requireReactJsxRuntime_development() {
1131
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
1132
+ hasRequiredReactJsxRuntime_development = 1;
1133
+ if (process.env.NODE_ENV !== "production") {
1134
+ (function() {
1135
+ var React$1 = React;
1136
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element");
1137
+ var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
1138
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
1139
+ var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
1140
+ var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
1141
+ var REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider");
1142
+ var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
1143
+ var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
1144
+ var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
1145
+ var REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list");
1146
+ var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
1147
+ var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
1148
+ var REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen");
1149
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
1150
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
1151
+ function getIteratorFn(maybeIterable) {
1152
+ if (maybeIterable === null || typeof maybeIterable !== "object") {
1153
+ return null;
1154
+ }
1155
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
1156
+ if (typeof maybeIterator === "function") {
1157
+ return maybeIterator;
1158
+ }
1159
+ return null;
1160
+ }
1161
+ var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1162
+ function error(format) {
1163
+ {
1164
+ {
1165
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
1166
+ args[_key2 - 1] = arguments[_key2];
1167
+ }
1168
+ printWarning("error", format, args);
1169
+ }
1170
+ }
1171
+ }
1172
+ function printWarning(level, format, args) {
1173
+ {
1174
+ var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
1175
+ var stack = ReactDebugCurrentFrame2.getStackAddendum();
1176
+ if (stack !== "") {
1177
+ format += "%s";
1178
+ args = args.concat([stack]);
1179
+ }
1180
+ var argsWithFormat = args.map(function(item) {
1181
+ return String(item);
1182
+ });
1183
+ argsWithFormat.unshift("Warning: " + format);
1184
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
1185
+ }
1186
+ }
1187
+ var enableScopeAPI = false;
1188
+ var enableCacheElement = false;
1189
+ var enableTransitionTracing = false;
1190
+ var enableLegacyHidden = false;
1191
+ var enableDebugTracing = false;
1192
+ var REACT_MODULE_REFERENCE;
1193
+ {
1194
+ REACT_MODULE_REFERENCE = /* @__PURE__ */ Symbol.for("react.module.reference");
1195
+ }
1196
+ function isValidElementType(type) {
1197
+ if (typeof type === "string" || typeof type === "function") {
1198
+ return true;
1199
+ }
1200
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
1201
+ return true;
1202
+ }
1203
+ if (typeof type === "object" && type !== null) {
1204
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
1205
+ // types supported by any Flight configuration anywhere since
1206
+ // we don't know which Flight build this will end up being used
1207
+ // with.
1208
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
1209
+ return true;
1210
+ }
1211
+ }
1212
+ return false;
1213
+ }
1214
+ function getWrappedName(outerType, innerType, wrapperName) {
1215
+ var displayName = outerType.displayName;
1216
+ if (displayName) {
1217
+ return displayName;
1218
+ }
1219
+ var functionName = innerType.displayName || innerType.name || "";
1220
+ return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
1221
+ }
1222
+ function getContextName(type) {
1223
+ return type.displayName || "Context";
1224
+ }
1225
+ function getComponentNameFromType(type) {
1226
+ if (type == null) {
1227
+ return null;
1228
+ }
1229
+ {
1230
+ if (typeof type.tag === "number") {
1231
+ error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
1232
+ }
1233
+ }
1234
+ if (typeof type === "function") {
1235
+ return type.displayName || type.name || null;
1236
+ }
1237
+ if (typeof type === "string") {
1238
+ return type;
1239
+ }
1240
+ switch (type) {
1241
+ case REACT_FRAGMENT_TYPE:
1242
+ return "Fragment";
1243
+ case REACT_PORTAL_TYPE:
1244
+ return "Portal";
1245
+ case REACT_PROFILER_TYPE:
1246
+ return "Profiler";
1247
+ case REACT_STRICT_MODE_TYPE:
1248
+ return "StrictMode";
1249
+ case REACT_SUSPENSE_TYPE:
1250
+ return "Suspense";
1251
+ case REACT_SUSPENSE_LIST_TYPE:
1252
+ return "SuspenseList";
1253
+ }
1254
+ if (typeof type === "object") {
1255
+ switch (type.$$typeof) {
1256
+ case REACT_CONTEXT_TYPE:
1257
+ var context = type;
1258
+ return getContextName(context) + ".Consumer";
1259
+ case REACT_PROVIDER_TYPE:
1260
+ var provider = type;
1261
+ return getContextName(provider._context) + ".Provider";
1262
+ case REACT_FORWARD_REF_TYPE:
1263
+ return getWrappedName(type, type.render, "ForwardRef");
1264
+ case REACT_MEMO_TYPE:
1265
+ var outerName = type.displayName || null;
1266
+ if (outerName !== null) {
1267
+ return outerName;
1268
+ }
1269
+ return getComponentNameFromType(type.type) || "Memo";
1270
+ case REACT_LAZY_TYPE: {
1271
+ var lazyComponent = type;
1272
+ var payload = lazyComponent._payload;
1273
+ var init = lazyComponent._init;
1274
+ try {
1275
+ return getComponentNameFromType(init(payload));
1276
+ } catch (x) {
1277
+ return null;
1278
+ }
1279
+ }
1280
+ }
1281
+ }
1282
+ return null;
1283
+ }
1284
+ var assign = Object.assign;
1285
+ var disabledDepth = 0;
1286
+ var prevLog;
1287
+ var prevInfo;
1288
+ var prevWarn;
1289
+ var prevError;
1290
+ var prevGroup;
1291
+ var prevGroupCollapsed;
1292
+ var prevGroupEnd;
1293
+ function disabledLog() {
1294
+ }
1295
+ disabledLog.__reactDisabledLog = true;
1296
+ function disableLogs() {
1297
+ {
1298
+ if (disabledDepth === 0) {
1299
+ prevLog = console.log;
1300
+ prevInfo = console.info;
1301
+ prevWarn = console.warn;
1302
+ prevError = console.error;
1303
+ prevGroup = console.group;
1304
+ prevGroupCollapsed = console.groupCollapsed;
1305
+ prevGroupEnd = console.groupEnd;
1306
+ var props = {
1307
+ configurable: true,
1308
+ enumerable: true,
1309
+ value: disabledLog,
1310
+ writable: true
1311
+ };
1312
+ Object.defineProperties(console, {
1313
+ info: props,
1314
+ log: props,
1315
+ warn: props,
1316
+ error: props,
1317
+ group: props,
1318
+ groupCollapsed: props,
1319
+ groupEnd: props
1320
+ });
1321
+ }
1322
+ disabledDepth++;
1323
+ }
1324
+ }
1325
+ function reenableLogs() {
1326
+ {
1327
+ disabledDepth--;
1328
+ if (disabledDepth === 0) {
1329
+ var props = {
1330
+ configurable: true,
1331
+ enumerable: true,
1332
+ writable: true
1333
+ };
1334
+ Object.defineProperties(console, {
1335
+ log: assign({}, props, {
1336
+ value: prevLog
1337
+ }),
1338
+ info: assign({}, props, {
1339
+ value: prevInfo
1340
+ }),
1341
+ warn: assign({}, props, {
1342
+ value: prevWarn
1343
+ }),
1344
+ error: assign({}, props, {
1345
+ value: prevError
1346
+ }),
1347
+ group: assign({}, props, {
1348
+ value: prevGroup
1349
+ }),
1350
+ groupCollapsed: assign({}, props, {
1351
+ value: prevGroupCollapsed
1352
+ }),
1353
+ groupEnd: assign({}, props, {
1354
+ value: prevGroupEnd
1355
+ })
1356
+ });
1357
+ }
1358
+ if (disabledDepth < 0) {
1359
+ error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1360
+ }
1361
+ }
1362
+ }
1363
+ var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
1364
+ var prefix;
1365
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
1366
+ {
1367
+ if (prefix === void 0) {
1368
+ try {
1369
+ throw Error();
1370
+ } catch (x) {
1371
+ var match = x.stack.trim().match(/\n( *(at )?)/);
1372
+ prefix = match && match[1] || "";
1373
+ }
1374
+ }
1375
+ return "\n" + prefix + name;
1376
+ }
1377
+ }
1378
+ var reentry = false;
1379
+ var componentFrameCache;
1380
+ {
1381
+ var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
1382
+ componentFrameCache = new PossiblyWeakMap();
1383
+ }
1384
+ function describeNativeComponentFrame(fn, construct) {
1385
+ if (!fn || reentry) {
1386
+ return "";
1387
+ }
1388
+ {
1389
+ var frame = componentFrameCache.get(fn);
1390
+ if (frame !== void 0) {
1391
+ return frame;
1392
+ }
1393
+ }
1394
+ var control;
1395
+ reentry = true;
1396
+ var previousPrepareStackTrace = Error.prepareStackTrace;
1397
+ Error.prepareStackTrace = void 0;
1398
+ var previousDispatcher;
1399
+ {
1400
+ previousDispatcher = ReactCurrentDispatcher.current;
1401
+ ReactCurrentDispatcher.current = null;
1402
+ disableLogs();
1403
+ }
1404
+ try {
1405
+ if (construct) {
1406
+ var Fake = function() {
1407
+ throw Error();
1408
+ };
1409
+ Object.defineProperty(Fake.prototype, "props", {
1410
+ set: function() {
1411
+ throw Error();
1412
+ }
1413
+ });
1414
+ if (typeof Reflect === "object" && Reflect.construct) {
1415
+ try {
1416
+ Reflect.construct(Fake, []);
1417
+ } catch (x) {
1418
+ control = x;
1419
+ }
1420
+ Reflect.construct(fn, [], Fake);
1421
+ } else {
1422
+ try {
1423
+ Fake.call();
1424
+ } catch (x) {
1425
+ control = x;
1426
+ }
1427
+ fn.call(Fake.prototype);
1428
+ }
1429
+ } else {
1430
+ try {
1431
+ throw Error();
1432
+ } catch (x) {
1433
+ control = x;
1434
+ }
1435
+ fn();
1436
+ }
1437
+ } catch (sample) {
1438
+ if (sample && control && typeof sample.stack === "string") {
1439
+ var sampleLines = sample.stack.split("\n");
1440
+ var controlLines = control.stack.split("\n");
1441
+ var s = sampleLines.length - 1;
1442
+ var c = controlLines.length - 1;
1443
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
1444
+ c--;
1445
+ }
1446
+ for (; s >= 1 && c >= 0; s--, c--) {
1447
+ if (sampleLines[s] !== controlLines[c]) {
1448
+ if (s !== 1 || c !== 1) {
1449
+ do {
1450
+ s--;
1451
+ c--;
1452
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
1453
+ var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
1454
+ if (fn.displayName && _frame.includes("<anonymous>")) {
1455
+ _frame = _frame.replace("<anonymous>", fn.displayName);
1456
+ }
1457
+ {
1458
+ if (typeof fn === "function") {
1459
+ componentFrameCache.set(fn, _frame);
1460
+ }
1461
+ }
1462
+ return _frame;
1463
+ }
1464
+ } while (s >= 1 && c >= 0);
1465
+ }
1466
+ break;
1467
+ }
1468
+ }
1469
+ }
1470
+ } finally {
1471
+ reentry = false;
1472
+ {
1473
+ ReactCurrentDispatcher.current = previousDispatcher;
1474
+ reenableLogs();
1475
+ }
1476
+ Error.prepareStackTrace = previousPrepareStackTrace;
1477
+ }
1478
+ var name = fn ? fn.displayName || fn.name : "";
1479
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
1480
+ {
1481
+ if (typeof fn === "function") {
1482
+ componentFrameCache.set(fn, syntheticFrame);
1483
+ }
1484
+ }
1485
+ return syntheticFrame;
1486
+ }
1487
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
1488
+ {
1489
+ return describeNativeComponentFrame(fn, false);
1490
+ }
1491
+ }
1492
+ function shouldConstruct(Component) {
1493
+ var prototype = Component.prototype;
1494
+ return !!(prototype && prototype.isReactComponent);
1495
+ }
1496
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
1497
+ if (type == null) {
1498
+ return "";
1499
+ }
1500
+ if (typeof type === "function") {
1501
+ {
1502
+ return describeNativeComponentFrame(type, shouldConstruct(type));
1503
+ }
1504
+ }
1505
+ if (typeof type === "string") {
1506
+ return describeBuiltInComponentFrame(type);
1507
+ }
1508
+ switch (type) {
1509
+ case REACT_SUSPENSE_TYPE:
1510
+ return describeBuiltInComponentFrame("Suspense");
1511
+ case REACT_SUSPENSE_LIST_TYPE:
1512
+ return describeBuiltInComponentFrame("SuspenseList");
1513
+ }
1514
+ if (typeof type === "object") {
1515
+ switch (type.$$typeof) {
1516
+ case REACT_FORWARD_REF_TYPE:
1517
+ return describeFunctionComponentFrame(type.render);
1518
+ case REACT_MEMO_TYPE:
1519
+ return describeUnknownElementTypeFrameInDEV(type.type);
1520
+ case REACT_LAZY_TYPE: {
1521
+ var lazyComponent = type;
1522
+ var payload = lazyComponent._payload;
1523
+ var init = lazyComponent._init;
1524
+ try {
1525
+ return describeUnknownElementTypeFrameInDEV(init(payload));
1526
+ } catch (x) {
1527
+ }
1528
+ }
1529
+ }
1530
+ }
1531
+ return "";
1532
+ }
1533
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
1534
+ var loggedTypeFailures = {};
1535
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
1536
+ function setCurrentlyValidatingElement(element) {
1537
+ {
1538
+ if (element) {
1539
+ var stack = describeUnknownElementTypeFrameInDEV(element.type);
1540
+ ReactDebugCurrentFrame.setExtraStackFrame(stack);
1541
+ } else {
1542
+ ReactDebugCurrentFrame.setExtraStackFrame(null);
1543
+ }
1544
+ }
1545
+ }
1546
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
1547
+ {
1548
+ var has = Function.call.bind(hasOwnProperty);
1549
+ for (var typeSpecName in typeSpecs) {
1550
+ if (has(typeSpecs, typeSpecName)) {
1551
+ var error$1 = void 0;
1552
+ try {
1553
+ if (typeof typeSpecs[typeSpecName] !== "function") {
1554
+ var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1555
+ err.name = "Invariant Violation";
1556
+ throw err;
1557
+ }
1558
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1559
+ } catch (ex) {
1560
+ error$1 = ex;
1561
+ }
1562
+ if (error$1 && !(error$1 instanceof Error)) {
1563
+ setCurrentlyValidatingElement(element);
1564
+ error("%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).", componentName || "React class", location, typeSpecName, typeof error$1);
1565
+ setCurrentlyValidatingElement(null);
1566
+ }
1567
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
1568
+ loggedTypeFailures[error$1.message] = true;
1569
+ setCurrentlyValidatingElement(element);
1570
+ error("Failed %s type: %s", location, error$1.message);
1571
+ setCurrentlyValidatingElement(null);
1572
+ }
1573
+ }
1574
+ }
1575
+ }
1576
+ }
1577
+ var isArrayImpl = Array.isArray;
1578
+ function isArray(a) {
1579
+ return isArrayImpl(a);
1580
+ }
1581
+ function typeName(value) {
1582
+ {
1583
+ var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
1584
+ var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1585
+ return type;
1586
+ }
1587
+ }
1588
+ function willCoercionThrow(value) {
1589
+ {
1590
+ try {
1591
+ return false;
1592
+ } catch (e) {
1593
+ return true;
1594
+ }
1595
+ }
1596
+ }
1597
+ function testStringCoercion(value) {
1598
+ return "" + value;
1599
+ }
1600
+ function checkKeyStringCoercion(value) {
1601
+ {
1602
+ if (willCoercionThrow()) {
1603
+ error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
1604
+ return testStringCoercion(value);
1605
+ }
1606
+ }
1607
+ }
1608
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
1609
+ var RESERVED_PROPS = {
1610
+ key: true,
1611
+ ref: true,
1612
+ __self: true,
1613
+ __source: true
1614
+ };
1615
+ var specialPropKeyWarningShown;
1616
+ var specialPropRefWarningShown;
1617
+ function hasValidRef(config2) {
1618
+ {
1619
+ if (hasOwnProperty.call(config2, "ref")) {
1620
+ var getter = Object.getOwnPropertyDescriptor(config2, "ref").get;
1621
+ if (getter && getter.isReactWarning) {
1622
+ return false;
1623
+ }
1624
+ }
1625
+ }
1626
+ return config2.ref !== void 0;
1627
+ }
1628
+ function hasValidKey(config2) {
1629
+ {
1630
+ if (hasOwnProperty.call(config2, "key")) {
1631
+ var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
1632
+ if (getter && getter.isReactWarning) {
1633
+ return false;
1634
+ }
1635
+ }
1636
+ }
1637
+ return config2.key !== void 0;
1638
+ }
1639
+ function defineKeyPropWarningGetter(props, displayName) {
1640
+ {
1641
+ var warnAboutAccessingKey = function() {
1642
+ if (!specialPropKeyWarningShown) {
1643
+ specialPropKeyWarningShown = true;
1644
+ error("%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)", displayName);
1645
+ }
1646
+ };
1647
+ warnAboutAccessingKey.isReactWarning = true;
1648
+ Object.defineProperty(props, "key", {
1649
+ get: warnAboutAccessingKey,
1650
+ configurable: true
1651
+ });
1652
+ }
1653
+ }
1654
+ function defineRefPropWarningGetter(props, displayName) {
1655
+ {
1656
+ var warnAboutAccessingRef = function() {
1657
+ if (!specialPropRefWarningShown) {
1658
+ specialPropRefWarningShown = true;
1659
+ error("%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)", displayName);
1660
+ }
1661
+ };
1662
+ warnAboutAccessingRef.isReactWarning = true;
1663
+ Object.defineProperty(props, "ref", {
1664
+ get: warnAboutAccessingRef,
1665
+ configurable: true
1666
+ });
1667
+ }
1668
+ }
1669
+ var ReactElement = function(type, key, ref, self, source, owner, props) {
1670
+ var element = {
1671
+ // This tag allows us to uniquely identify this as a React Element
1672
+ $$typeof: REACT_ELEMENT_TYPE,
1673
+ // Built-in properties that belong on the element
1674
+ type,
1675
+ key,
1676
+ ref,
1677
+ props,
1678
+ // Record the component responsible for creating this element.
1679
+ _owner: owner
1680
+ };
1681
+ {
1682
+ element._store = {};
1683
+ Object.defineProperty(element._store, "validated", {
1684
+ configurable: false,
1685
+ enumerable: false,
1686
+ writable: true,
1687
+ value: false
1688
+ });
1689
+ Object.defineProperty(element, "_self", {
1690
+ configurable: false,
1691
+ enumerable: false,
1692
+ writable: false,
1693
+ value: self
1694
+ });
1695
+ Object.defineProperty(element, "_source", {
1696
+ configurable: false,
1697
+ enumerable: false,
1698
+ writable: false,
1699
+ value: source
1700
+ });
1701
+ if (Object.freeze) {
1702
+ Object.freeze(element.props);
1703
+ Object.freeze(element);
1704
+ }
1705
+ }
1706
+ return element;
1707
+ };
1708
+ function jsxDEV(type, config2, maybeKey, source, self) {
1709
+ {
1710
+ var propName;
1711
+ var props = {};
1712
+ var key = null;
1713
+ var ref = null;
1714
+ if (maybeKey !== void 0) {
1715
+ {
1716
+ checkKeyStringCoercion(maybeKey);
1717
+ }
1718
+ key = "" + maybeKey;
1719
+ }
1720
+ if (hasValidKey(config2)) {
1721
+ {
1722
+ checkKeyStringCoercion(config2.key);
1723
+ }
1724
+ key = "" + config2.key;
1725
+ }
1726
+ if (hasValidRef(config2)) {
1727
+ ref = config2.ref;
1728
+ }
1729
+ for (propName in config2) {
1730
+ if (hasOwnProperty.call(config2, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
1731
+ props[propName] = config2[propName];
1732
+ }
1733
+ }
1734
+ if (type && type.defaultProps) {
1735
+ var defaultProps = type.defaultProps;
1736
+ for (propName in defaultProps) {
1737
+ if (props[propName] === void 0) {
1738
+ props[propName] = defaultProps[propName];
1739
+ }
1740
+ }
1741
+ }
1742
+ if (key || ref) {
1743
+ var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
1744
+ if (key) {
1745
+ defineKeyPropWarningGetter(props, displayName);
1746
+ }
1747
+ if (ref) {
1748
+ defineRefPropWarningGetter(props, displayName);
1749
+ }
1750
+ }
1751
+ return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
1752
+ }
1753
+ }
1754
+ var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
1755
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
1756
+ function setCurrentlyValidatingElement$1(element) {
1757
+ {
1758
+ if (element) {
1759
+ var stack = describeUnknownElementTypeFrameInDEV(element.type);
1760
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
1761
+ } else {
1762
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
1763
+ }
1764
+ }
1765
+ }
1766
+ var propTypesMisspellWarningShown;
1767
+ {
1768
+ propTypesMisspellWarningShown = false;
1769
+ }
1770
+ function isValidElement(object2) {
1771
+ {
1772
+ return typeof object2 === "object" && object2 !== null && object2.$$typeof === REACT_ELEMENT_TYPE;
1773
+ }
1774
+ }
1775
+ function getDeclarationErrorAddendum() {
1776
+ {
1777
+ if (ReactCurrentOwner$1.current) {
1778
+ var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
1779
+ if (name) {
1780
+ return "\n\nCheck the render method of `" + name + "`.";
1781
+ }
1782
+ }
1783
+ return "";
1784
+ }
1785
+ }
1786
+ function getSourceInfoErrorAddendum(source) {
1787
+ {
1788
+ return "";
1789
+ }
1790
+ }
1791
+ var ownerHasKeyUseWarning = {};
1792
+ function getCurrentComponentErrorInfo(parentType) {
1793
+ {
1794
+ var info = getDeclarationErrorAddendum();
1795
+ if (!info) {
1796
+ var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
1797
+ if (parentName) {
1798
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
1799
+ }
1800
+ }
1801
+ return info;
1802
+ }
1803
+ }
1804
+ function validateExplicitKey(element, parentType) {
1805
+ {
1806
+ if (!element._store || element._store.validated || element.key != null) {
1807
+ return;
1808
+ }
1809
+ element._store.validated = true;
1810
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
1811
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
1812
+ return;
1813
+ }
1814
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
1815
+ var childOwner = "";
1816
+ if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
1817
+ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
1818
+ }
1819
+ setCurrentlyValidatingElement$1(element);
1820
+ error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
1821
+ setCurrentlyValidatingElement$1(null);
1822
+ }
1823
+ }
1824
+ function validateChildKeys(node, parentType) {
1825
+ {
1826
+ if (typeof node !== "object") {
1827
+ return;
1828
+ }
1829
+ if (isArray(node)) {
1830
+ for (var i = 0; i < node.length; i++) {
1831
+ var child = node[i];
1832
+ if (isValidElement(child)) {
1833
+ validateExplicitKey(child, parentType);
1834
+ }
1835
+ }
1836
+ } else if (isValidElement(node)) {
1837
+ if (node._store) {
1838
+ node._store.validated = true;
1839
+ }
1840
+ } else if (node) {
1841
+ var iteratorFn = getIteratorFn(node);
1842
+ if (typeof iteratorFn === "function") {
1843
+ if (iteratorFn !== node.entries) {
1844
+ var iterator = iteratorFn.call(node);
1845
+ var step;
1846
+ while (!(step = iterator.next()).done) {
1847
+ if (isValidElement(step.value)) {
1848
+ validateExplicitKey(step.value, parentType);
1849
+ }
1850
+ }
1851
+ }
1852
+ }
1853
+ }
1854
+ }
1855
+ }
1856
+ function validatePropTypes(element) {
1857
+ {
1858
+ var type = element.type;
1859
+ if (type === null || type === void 0 || typeof type === "string") {
1860
+ return;
1861
+ }
1862
+ var propTypes;
1863
+ if (typeof type === "function") {
1864
+ propTypes = type.propTypes;
1865
+ } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
1866
+ // Inner props are checked in the reconciler.
1867
+ type.$$typeof === REACT_MEMO_TYPE)) {
1868
+ propTypes = type.propTypes;
1869
+ } else {
1870
+ return;
1871
+ }
1872
+ if (propTypes) {
1873
+ var name = getComponentNameFromType(type);
1874
+ checkPropTypes(propTypes, element.props, "prop", name, element);
1875
+ } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
1876
+ propTypesMisspellWarningShown = true;
1877
+ var _name = getComponentNameFromType(type);
1878
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
1879
+ }
1880
+ if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
1881
+ error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1882
+ }
1883
+ }
1884
+ }
1885
+ function validateFragmentProps(fragment) {
1886
+ {
1887
+ var keys = Object.keys(fragment.props);
1888
+ for (var i = 0; i < keys.length; i++) {
1889
+ var key = keys[i];
1890
+ if (key !== "children" && key !== "key") {
1891
+ setCurrentlyValidatingElement$1(fragment);
1892
+ error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
1893
+ setCurrentlyValidatingElement$1(null);
1894
+ break;
1895
+ }
1896
+ }
1897
+ if (fragment.ref !== null) {
1898
+ setCurrentlyValidatingElement$1(fragment);
1899
+ error("Invalid attribute `ref` supplied to `React.Fragment`.");
1900
+ setCurrentlyValidatingElement$1(null);
1901
+ }
1902
+ }
1903
+ }
1904
+ var didWarnAboutKeySpread = {};
1905
+ function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
1906
+ {
1907
+ var validType = isValidElementType(type);
1908
+ if (!validType) {
1909
+ var info = "";
1910
+ if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
1911
+ info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1912
+ }
1913
+ var sourceInfo = getSourceInfoErrorAddendum();
1914
+ if (sourceInfo) {
1915
+ info += sourceInfo;
1916
+ } else {
1917
+ info += getDeclarationErrorAddendum();
1918
+ }
1919
+ var typeString;
1920
+ if (type === null) {
1921
+ typeString = "null";
1922
+ } else if (isArray(type)) {
1923
+ typeString = "array";
1924
+ } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
1925
+ typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
1926
+ info = " Did you accidentally export a JSX literal instead of a component?";
1927
+ } else {
1928
+ typeString = typeof type;
1929
+ }
1930
+ error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
1931
+ }
1932
+ var element = jsxDEV(type, props, key, source, self);
1933
+ if (element == null) {
1934
+ return element;
1935
+ }
1936
+ if (validType) {
1937
+ var children = props.children;
1938
+ if (children !== void 0) {
1939
+ if (isStaticChildren) {
1940
+ if (isArray(children)) {
1941
+ for (var i = 0; i < children.length; i++) {
1942
+ validateChildKeys(children[i], type);
1943
+ }
1944
+ if (Object.freeze) {
1945
+ Object.freeze(children);
1946
+ }
1947
+ } else {
1948
+ error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1949
+ }
1950
+ } else {
1951
+ validateChildKeys(children, type);
1952
+ }
1953
+ }
1954
+ }
1955
+ {
1956
+ if (hasOwnProperty.call(props, "key")) {
1957
+ var componentName = getComponentNameFromType(type);
1958
+ var keys = Object.keys(props).filter(function(k2) {
1959
+ return k2 !== "key";
1960
+ });
1961
+ var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1962
+ if (!didWarnAboutKeySpread[componentName + beforeExample]) {
1963
+ var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
1964
+ error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
1965
+ didWarnAboutKeySpread[componentName + beforeExample] = true;
1966
+ }
1967
+ }
1968
+ }
1969
+ if (type === REACT_FRAGMENT_TYPE) {
1970
+ validateFragmentProps(element);
1971
+ } else {
1972
+ validatePropTypes(element);
1973
+ }
1974
+ return element;
1975
+ }
1976
+ }
1977
+ function jsxWithValidationStatic(type, props, key) {
1978
+ {
1979
+ return jsxWithValidation(type, props, key, true);
1980
+ }
1981
+ }
1982
+ function jsxWithValidationDynamic(type, props, key) {
1983
+ {
1984
+ return jsxWithValidation(type, props, key, false);
1985
+ }
1986
+ }
1987
+ var jsx = jsxWithValidationDynamic;
1988
+ var jsxs = jsxWithValidationStatic;
1989
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
1990
+ reactJsxRuntime_development.jsx = jsx;
1991
+ reactJsxRuntime_development.jsxs = jsxs;
1992
+ })();
1993
+ }
1994
+ return reactJsxRuntime_development;
1995
+ }
1996
+ var hasRequiredJsxRuntime;
1997
+ function requireJsxRuntime() {
1998
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
1999
+ hasRequiredJsxRuntime = 1;
2000
+ if (process.env.NODE_ENV === "production") {
2001
+ jsxRuntime.exports = /* @__PURE__ */ requireReactJsxRuntime_production_min();
2002
+ } else {
2003
+ jsxRuntime.exports = /* @__PURE__ */ requireReactJsxRuntime_development();
2004
+ }
2005
+ return jsxRuntime.exports;
2006
+ }
2007
+ var jsxRuntimeExports = /* @__PURE__ */ requireJsxRuntime();
1384
2008
  function createContext2(rootComponentName, defaultContext) {
1385
2009
  const Context = React__namespace.createContext(defaultContext);
1386
2010
  const Provider = (props) => {
@@ -2571,9 +3195,9 @@ const classes = {
2571
3195
  thumb
2572
3196
  };
2573
3197
  const Switch = ({ label: label2, id, ...rest }) => {
2574
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes.root, children: [
2575
- label2 && /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { className: classes.label, as: "label", htmlFor: id, children: label2 }),
2576
- /* @__PURE__ */ jsxRuntimeExports.jsx(Root$1, { className: classes.switch, ...rest, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Thumb, { className: classes.thumb }) })
3198
+ return /* @__PURE__ */ u("div", { className: classes.root, children: [
3199
+ label2 && /* @__PURE__ */ u(Text, { className: classes.label, as: "label", htmlFor: id, children: label2 }),
3200
+ /* @__PURE__ */ u(Root$1, { className: classes.switch, ...rest, children: /* @__PURE__ */ u(Thumb, { className: classes.thumb }) })
2577
3201
  ] });
2578
3202
  };
2579
3203
  const selectionSchema = /* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ boolean());
@@ -2675,7 +3299,7 @@ const SelectionProvider = ({
2675
3299
  const itemKeys = items.map((item) => item.value);
2676
3300
  return itemKeys.every((key) => selectedKeys.includes(key));
2677
3301
  }, [savedSelection, items]);
2678
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
3302
+ return /* @__PURE__ */ u(
2679
3303
  SelectionContext.Provider,
2680
3304
  {
2681
3305
  value: {
@@ -2722,14 +3346,14 @@ const BannerItem = ({
2722
3346
  [required, toggleSelection, value]
2723
3347
  );
2724
3348
  const disabled = React.useMemo(() => required, [required]);
2725
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Item, { value, className: classes$1.root, children: [
2726
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$1.header, children: [
2727
- /* @__PURE__ */ jsxRuntimeExports.jsx(Trigger2, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$1.label, children: [
2728
- /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { weight: "bold", children: label2 }),
2729
- sublabel && /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", color: "muted", children: sublabel })
3349
+ return /* @__PURE__ */ u(Item, { value, className: classes$1.root, children: [
3350
+ /* @__PURE__ */ u("div", { className: classes$1.header, children: [
3351
+ /* @__PURE__ */ u(Trigger2, { asChild: true, children: /* @__PURE__ */ u("div", { className: classes$1.label, children: [
3352
+ /* @__PURE__ */ u(Text, { weight: "bold", children: label2 }),
3353
+ sublabel && /* @__PURE__ */ u(Text, { size: "caption", color: "muted", children: sublabel })
2730
3354
  ] }) }),
2731
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$1.actions, children: [
2732
- /* @__PURE__ */ jsxRuntimeExports.jsx(
3355
+ /* @__PURE__ */ u("div", { className: classes$1.actions, children: [
3356
+ /* @__PURE__ */ u(
2733
3357
  Switch,
2734
3358
  {
2735
3359
  checked,
@@ -2737,7 +3361,7 @@ const BannerItem = ({
2737
3361
  disabled
2738
3362
  }
2739
3363
  ),
2740
- /* @__PURE__ */ jsxRuntimeExports.jsx(Trigger2, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
3364
+ /* @__PURE__ */ u(Trigger2, { asChild: true, children: /* @__PURE__ */ u(
2741
3365
  ChevronDown,
2742
3366
  {
2743
3367
  size: 16,
@@ -2749,7 +3373,7 @@ const BannerItem = ({
2749
3373
  ) })
2750
3374
  ] })
2751
3375
  ] }),
2752
- description2 && /* @__PURE__ */ jsxRuntimeExports.jsx(Content2, { className: classes$1.description, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
3376
+ description2 && /* @__PURE__ */ u(Content2, { className: classes$1.description, children: /* @__PURE__ */ u(
2753
3377
  Text,
2754
3378
  {
2755
3379
  size: "caption",
@@ -3224,7 +3848,7 @@ function __rest(s, e) {
3224
3848
  return t;
3225
3849
  }
3226
3850
  function __spreadArray(to, from, pack) {
3227
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
3851
+ if (pack || arguments.length === 2) for (var i = 0, l2 = from.length, ar; i < l2; i++) {
3228
3852
  if (ar || !(i in from)) {
3229
3853
  if (!ar) ar = Array.prototype.slice.call(from, 0, i);
3230
3854
  ar[i] = from[i];
@@ -4285,26 +4909,26 @@ const BannerContent = ({
4285
4909
  const { onSave, onDeclineAll, selectionTaken } = useSelection();
4286
4910
  const [openItem, setOpenItem] = React.useState(void 0);
4287
4911
  const [settingsOpen, setSettingsOpen] = React.useState(defaultSettingsOpen);
4288
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Root, { open: !selectionTaken, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4912
+ return /* @__PURE__ */ u(Root, { open: !selectionTaken, children: /* @__PURE__ */ u(
4289
4913
  Content,
4290
4914
  {
4291
4915
  className: cls(classes$2.root, noTarget2 ? classes$2.noTarget : ""),
4292
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
4916
+ children: /* @__PURE__ */ u(
4293
4917
  Root$2,
4294
4918
  {
4295
4919
  open: settingsOpen,
4296
4920
  onOpenChange: setSettingsOpen,
4297
4921
  className: classes$2.collapsible,
4298
4922
  children: [
4299
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.header, children: [
4300
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.heading, children: [
4301
- /* @__PURE__ */ jsxRuntimeExports.jsx(Title, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { weight: "bold", children: heading2 }) }),
4302
- /* @__PURE__ */ jsxRuntimeExports.jsx(Description, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", color: "muted", children: subheading }) })
4923
+ /* @__PURE__ */ u("div", { className: classes$2.header, children: [
4924
+ /* @__PURE__ */ u("div", { className: classes$2.heading, children: [
4925
+ /* @__PURE__ */ u(Title, { asChild: true, children: /* @__PURE__ */ u(Text, { weight: "bold", children: heading2 }) }),
4926
+ /* @__PURE__ */ u(Description, { asChild: true, children: /* @__PURE__ */ u(Text, { size: "caption", color: "muted", children: subheading }) })
4303
4927
  ] }),
4304
- /* @__PURE__ */ jsxRuntimeExports.jsx(Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { variant: "ghost", children: [
4928
+ /* @__PURE__ */ u(Trigger, { asChild: true, children: /* @__PURE__ */ u(Button, { variant: "ghost", children: [
4305
4929
  settingsOpen ? hideLabel : selectLabel,
4306
4930
  " ",
4307
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4931
+ /* @__PURE__ */ u(
4308
4932
  ChevronUp,
4309
4933
  {
4310
4934
  size: 12,
@@ -4316,29 +4940,29 @@ const BannerContent = ({
4316
4940
  )
4317
4941
  ] }) })
4318
4942
  ] }),
4319
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4943
+ /* @__PURE__ */ u(
4320
4944
  Content$1,
4321
4945
  {
4322
4946
  className: clx({
4323
4947
  [classes$2.settings]: true
4324
4948
  }),
4325
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4949
+ children: /* @__PURE__ */ u(
4326
4950
  Root2,
4327
4951
  {
4328
4952
  type: "single",
4329
4953
  collapsible: true,
4330
4954
  value: openItem,
4331
4955
  onValueChange: setOpenItem,
4332
- children: items.map((item) => /* @__PURE__ */ jsxRuntimeExports.jsx(BannerItem, { ...item, openItem }, item.value))
4956
+ children: /* @__PURE__ */ u(k, { children: items.map((item) => /* @__PURE__ */ u(BannerItem, { ...item, openItem }, item.value)) })
4333
4957
  }
4334
4958
  )
4335
4959
  }
4336
4960
  ),
4337
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.footer, children: [
4338
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes$2.legal, children: privacyPolicy && /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: "caption", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: privacyPolicy.url, target: "_blank", children: privacyPolicy.label }) }) }),
4339
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes$2.actions, children: [
4340
- /* @__PURE__ */ jsxRuntimeExports.jsx(Close, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "neutral", onClick: () => onDeclineAll(), children: declineLabel }) }),
4341
- /* @__PURE__ */ jsxRuntimeExports.jsx(Close, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "brand", onClick: () => onSave(), children: saveLabel }) })
4961
+ /* @__PURE__ */ u("div", { className: classes$2.footer, children: [
4962
+ /* @__PURE__ */ u("div", { className: classes$2.legal, children: privacyPolicy && /* @__PURE__ */ u(Text, { size: "caption", children: /* @__PURE__ */ u("a", { href: privacyPolicy.url, target: "_blank", children: privacyPolicy.label }) }) }),
4963
+ /* @__PURE__ */ u("div", { className: classes$2.actions, children: [
4964
+ /* @__PURE__ */ u(Close, { asChild: true, children: /* @__PURE__ */ u(Button, { variant: "neutral", onClick: () => onDeclineAll(), children: declineLabel }) }),
4965
+ /* @__PURE__ */ u(Close, { asChild: true, children: /* @__PURE__ */ u(Button, { variant: "brand", onClick: () => onSave(), children: saveLabel }) })
4342
4966
  ] })
4343
4967
  ] })
4344
4968
  ]
@@ -4361,6 +4985,6 @@ const Banner = ({
4361
4985
  })),
4362
4986
  [items]
4363
4987
  );
4364
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SelectionProvider, { items: selectionItems, localStorageKey, children: /* @__PURE__ */ jsxRuntimeExports.jsx(BannerContent, { items, ...rest }) });
4988
+ return /* @__PURE__ */ u(SelectionProvider, { items: selectionItems, localStorageKey, children: /* @__PURE__ */ u(BannerContent, { items, ...rest }) });
4365
4989
  };
4366
4990
  exports.Banner = Banner;