@measured/puck 0.8.0-canary.e4cab76 → 0.8.0-canary.f4b0563

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +2123 -76
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -143,6 +143,962 @@ var require_classnames = __commonJS({
143
143
  }
144
144
  });
145
145
 
146
+ // ../../node_modules/react-is/cjs/react-is.production.min.js
147
+ var require_react_is_production_min = __commonJS({
148
+ "../../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
149
+ "use strict";
150
+ init_react_import();
151
+ var b = "function" === typeof Symbol && Symbol.for;
152
+ var c = b ? Symbol.for("react.element") : 60103;
153
+ var d = b ? Symbol.for("react.portal") : 60106;
154
+ var e = b ? Symbol.for("react.fragment") : 60107;
155
+ var f = b ? Symbol.for("react.strict_mode") : 60108;
156
+ var g = b ? Symbol.for("react.profiler") : 60114;
157
+ var h = b ? Symbol.for("react.provider") : 60109;
158
+ var k = b ? Symbol.for("react.context") : 60110;
159
+ var l = b ? Symbol.for("react.async_mode") : 60111;
160
+ var m = b ? Symbol.for("react.concurrent_mode") : 60111;
161
+ var n = b ? Symbol.for("react.forward_ref") : 60112;
162
+ var p = b ? Symbol.for("react.suspense") : 60113;
163
+ var q = b ? Symbol.for("react.suspense_list") : 60120;
164
+ var r = b ? Symbol.for("react.memo") : 60115;
165
+ var t = b ? Symbol.for("react.lazy") : 60116;
166
+ var v = b ? Symbol.for("react.block") : 60121;
167
+ var w = b ? Symbol.for("react.fundamental") : 60117;
168
+ var x = b ? Symbol.for("react.responder") : 60118;
169
+ var y = b ? Symbol.for("react.scope") : 60119;
170
+ function z(a) {
171
+ if ("object" === typeof a && null !== a) {
172
+ var u = a.$$typeof;
173
+ switch (u) {
174
+ case c:
175
+ switch (a = a.type, a) {
176
+ case l:
177
+ case m:
178
+ case e:
179
+ case g:
180
+ case f:
181
+ case p:
182
+ return a;
183
+ default:
184
+ switch (a = a && a.$$typeof, a) {
185
+ case k:
186
+ case n:
187
+ case t:
188
+ case r:
189
+ case h:
190
+ return a;
191
+ default:
192
+ return u;
193
+ }
194
+ }
195
+ case d:
196
+ return u;
197
+ }
198
+ }
199
+ }
200
+ function A(a) {
201
+ return z(a) === m;
202
+ }
203
+ exports.AsyncMode = l;
204
+ exports.ConcurrentMode = m;
205
+ exports.ContextConsumer = k;
206
+ exports.ContextProvider = h;
207
+ exports.Element = c;
208
+ exports.ForwardRef = n;
209
+ exports.Fragment = e;
210
+ exports.Lazy = t;
211
+ exports.Memo = r;
212
+ exports.Portal = d;
213
+ exports.Profiler = g;
214
+ exports.StrictMode = f;
215
+ exports.Suspense = p;
216
+ exports.isAsyncMode = function(a) {
217
+ return A(a) || z(a) === l;
218
+ };
219
+ exports.isConcurrentMode = A;
220
+ exports.isContextConsumer = function(a) {
221
+ return z(a) === k;
222
+ };
223
+ exports.isContextProvider = function(a) {
224
+ return z(a) === h;
225
+ };
226
+ exports.isElement = function(a) {
227
+ return "object" === typeof a && null !== a && a.$$typeof === c;
228
+ };
229
+ exports.isForwardRef = function(a) {
230
+ return z(a) === n;
231
+ };
232
+ exports.isFragment = function(a) {
233
+ return z(a) === e;
234
+ };
235
+ exports.isLazy = function(a) {
236
+ return z(a) === t;
237
+ };
238
+ exports.isMemo = function(a) {
239
+ return z(a) === r;
240
+ };
241
+ exports.isPortal = function(a) {
242
+ return z(a) === d;
243
+ };
244
+ exports.isProfiler = function(a) {
245
+ return z(a) === g;
246
+ };
247
+ exports.isStrictMode = function(a) {
248
+ return z(a) === f;
249
+ };
250
+ exports.isSuspense = function(a) {
251
+ return z(a) === p;
252
+ };
253
+ exports.isValidElementType = function(a) {
254
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
255
+ };
256
+ exports.typeOf = z;
257
+ }
258
+ });
259
+
260
+ // ../../node_modules/react-is/cjs/react-is.development.js
261
+ var require_react_is_development = __commonJS({
262
+ "../../node_modules/react-is/cjs/react-is.development.js"(exports) {
263
+ "use strict";
264
+ init_react_import();
265
+ if (process.env.NODE_ENV !== "production") {
266
+ (function() {
267
+ "use strict";
268
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
269
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
270
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
271
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
272
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
273
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
274
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
275
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
276
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
277
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
278
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
279
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
280
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
281
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
282
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
283
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
284
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
285
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
286
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
287
+ function isValidElementType(type) {
288
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
289
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (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 || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
290
+ }
291
+ function typeOf(object) {
292
+ if (typeof object === "object" && object !== null) {
293
+ var $$typeof = object.$$typeof;
294
+ switch ($$typeof) {
295
+ case REACT_ELEMENT_TYPE:
296
+ var type = object.type;
297
+ switch (type) {
298
+ case REACT_ASYNC_MODE_TYPE:
299
+ case REACT_CONCURRENT_MODE_TYPE:
300
+ case REACT_FRAGMENT_TYPE:
301
+ case REACT_PROFILER_TYPE:
302
+ case REACT_STRICT_MODE_TYPE:
303
+ case REACT_SUSPENSE_TYPE:
304
+ return type;
305
+ default:
306
+ var $$typeofType = type && type.$$typeof;
307
+ switch ($$typeofType) {
308
+ case REACT_CONTEXT_TYPE:
309
+ case REACT_FORWARD_REF_TYPE:
310
+ case REACT_LAZY_TYPE:
311
+ case REACT_MEMO_TYPE:
312
+ case REACT_PROVIDER_TYPE:
313
+ return $$typeofType;
314
+ default:
315
+ return $$typeof;
316
+ }
317
+ }
318
+ case REACT_PORTAL_TYPE:
319
+ return $$typeof;
320
+ }
321
+ }
322
+ return void 0;
323
+ }
324
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
325
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
326
+ var ContextConsumer = REACT_CONTEXT_TYPE;
327
+ var ContextProvider = REACT_PROVIDER_TYPE;
328
+ var Element = REACT_ELEMENT_TYPE;
329
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
330
+ var Fragment8 = REACT_FRAGMENT_TYPE;
331
+ var Lazy = REACT_LAZY_TYPE;
332
+ var Memo = REACT_MEMO_TYPE;
333
+ var Portal = REACT_PORTAL_TYPE;
334
+ var Profiler = REACT_PROFILER_TYPE;
335
+ var StrictMode = REACT_STRICT_MODE_TYPE;
336
+ var Suspense = REACT_SUSPENSE_TYPE;
337
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
338
+ function isAsyncMode(object) {
339
+ {
340
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
341
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
342
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
343
+ }
344
+ }
345
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
346
+ }
347
+ function isConcurrentMode(object) {
348
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
349
+ }
350
+ function isContextConsumer(object) {
351
+ return typeOf(object) === REACT_CONTEXT_TYPE;
352
+ }
353
+ function isContextProvider(object) {
354
+ return typeOf(object) === REACT_PROVIDER_TYPE;
355
+ }
356
+ function isElement(object) {
357
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
358
+ }
359
+ function isForwardRef(object) {
360
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
361
+ }
362
+ function isFragment(object) {
363
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
364
+ }
365
+ function isLazy(object) {
366
+ return typeOf(object) === REACT_LAZY_TYPE;
367
+ }
368
+ function isMemo(object) {
369
+ return typeOf(object) === REACT_MEMO_TYPE;
370
+ }
371
+ function isPortal(object) {
372
+ return typeOf(object) === REACT_PORTAL_TYPE;
373
+ }
374
+ function isProfiler(object) {
375
+ return typeOf(object) === REACT_PROFILER_TYPE;
376
+ }
377
+ function isStrictMode(object) {
378
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
379
+ }
380
+ function isSuspense(object) {
381
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
382
+ }
383
+ exports.AsyncMode = AsyncMode;
384
+ exports.ConcurrentMode = ConcurrentMode;
385
+ exports.ContextConsumer = ContextConsumer;
386
+ exports.ContextProvider = ContextProvider;
387
+ exports.Element = Element;
388
+ exports.ForwardRef = ForwardRef;
389
+ exports.Fragment = Fragment8;
390
+ exports.Lazy = Lazy;
391
+ exports.Memo = Memo;
392
+ exports.Portal = Portal;
393
+ exports.Profiler = Profiler;
394
+ exports.StrictMode = StrictMode;
395
+ exports.Suspense = Suspense;
396
+ exports.isAsyncMode = isAsyncMode;
397
+ exports.isConcurrentMode = isConcurrentMode;
398
+ exports.isContextConsumer = isContextConsumer;
399
+ exports.isContextProvider = isContextProvider;
400
+ exports.isElement = isElement;
401
+ exports.isForwardRef = isForwardRef;
402
+ exports.isFragment = isFragment;
403
+ exports.isLazy = isLazy;
404
+ exports.isMemo = isMemo;
405
+ exports.isPortal = isPortal;
406
+ exports.isProfiler = isProfiler;
407
+ exports.isStrictMode = isStrictMode;
408
+ exports.isSuspense = isSuspense;
409
+ exports.isValidElementType = isValidElementType;
410
+ exports.typeOf = typeOf;
411
+ })();
412
+ }
413
+ }
414
+ });
415
+
416
+ // ../../node_modules/react-is/index.js
417
+ var require_react_is = __commonJS({
418
+ "../../node_modules/react-is/index.js"(exports, module2) {
419
+ "use strict";
420
+ init_react_import();
421
+ if (process.env.NODE_ENV === "production") {
422
+ module2.exports = require_react_is_production_min();
423
+ } else {
424
+ module2.exports = require_react_is_development();
425
+ }
426
+ }
427
+ });
428
+
429
+ // ../../node_modules/object-assign/index.js
430
+ var require_object_assign = __commonJS({
431
+ "../../node_modules/object-assign/index.js"(exports, module2) {
432
+ "use strict";
433
+ init_react_import();
434
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
435
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
436
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
437
+ function toObject(val) {
438
+ if (val === null || val === void 0) {
439
+ throw new TypeError("Object.assign cannot be called with null or undefined");
440
+ }
441
+ return Object(val);
442
+ }
443
+ function shouldUseNative() {
444
+ try {
445
+ if (!Object.assign) {
446
+ return false;
447
+ }
448
+ var test1 = new String("abc");
449
+ test1[5] = "de";
450
+ if (Object.getOwnPropertyNames(test1)[0] === "5") {
451
+ return false;
452
+ }
453
+ var test2 = {};
454
+ for (var i = 0; i < 10; i++) {
455
+ test2["_" + String.fromCharCode(i)] = i;
456
+ }
457
+ var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
458
+ return test2[n];
459
+ });
460
+ if (order2.join("") !== "0123456789") {
461
+ return false;
462
+ }
463
+ var test3 = {};
464
+ "abcdefghijklmnopqrst".split("").forEach(function(letter) {
465
+ test3[letter] = letter;
466
+ });
467
+ if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
468
+ return false;
469
+ }
470
+ return true;
471
+ } catch (err) {
472
+ return false;
473
+ }
474
+ }
475
+ module2.exports = shouldUseNative() ? Object.assign : function(target, source) {
476
+ var from;
477
+ var to = toObject(target);
478
+ var symbols;
479
+ for (var s = 1; s < arguments.length; s++) {
480
+ from = Object(arguments[s]);
481
+ for (var key in from) {
482
+ if (hasOwnProperty.call(from, key)) {
483
+ to[key] = from[key];
484
+ }
485
+ }
486
+ if (getOwnPropertySymbols) {
487
+ symbols = getOwnPropertySymbols(from);
488
+ for (var i = 0; i < symbols.length; i++) {
489
+ if (propIsEnumerable.call(from, symbols[i])) {
490
+ to[symbols[i]] = from[symbols[i]];
491
+ }
492
+ }
493
+ }
494
+ }
495
+ return to;
496
+ };
497
+ }
498
+ });
499
+
500
+ // ../../node_modules/prop-types/lib/ReactPropTypesSecret.js
501
+ var require_ReactPropTypesSecret = __commonJS({
502
+ "../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module2) {
503
+ "use strict";
504
+ init_react_import();
505
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
506
+ module2.exports = ReactPropTypesSecret;
507
+ }
508
+ });
509
+
510
+ // ../../node_modules/prop-types/lib/has.js
511
+ var require_has = __commonJS({
512
+ "../../node_modules/prop-types/lib/has.js"(exports, module2) {
513
+ init_react_import();
514
+ module2.exports = Function.call.bind(Object.prototype.hasOwnProperty);
515
+ }
516
+ });
517
+
518
+ // ../../node_modules/prop-types/checkPropTypes.js
519
+ var require_checkPropTypes = __commonJS({
520
+ "../../node_modules/prop-types/checkPropTypes.js"(exports, module2) {
521
+ "use strict";
522
+ init_react_import();
523
+ var printWarning = function() {
524
+ };
525
+ if (process.env.NODE_ENV !== "production") {
526
+ ReactPropTypesSecret = require_ReactPropTypesSecret();
527
+ loggedTypeFailures = {};
528
+ has = require_has();
529
+ printWarning = function(text) {
530
+ var message = "Warning: " + text;
531
+ if (typeof console !== "undefined") {
532
+ console.error(message);
533
+ }
534
+ try {
535
+ throw new Error(message);
536
+ } catch (x) {
537
+ }
538
+ };
539
+ }
540
+ var ReactPropTypesSecret;
541
+ var loggedTypeFailures;
542
+ var has;
543
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
544
+ if (process.env.NODE_ENV !== "production") {
545
+ for (var typeSpecName in typeSpecs) {
546
+ if (has(typeSpecs, typeSpecName)) {
547
+ var error;
548
+ try {
549
+ if (typeof typeSpecs[typeSpecName] !== "function") {
550
+ var err = Error(
551
+ (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`."
552
+ );
553
+ err.name = "Invariant Violation";
554
+ throw err;
555
+ }
556
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
557
+ } catch (ex) {
558
+ error = ex;
559
+ }
560
+ if (error && !(error instanceof Error)) {
561
+ printWarning(
562
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
563
+ );
564
+ }
565
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
566
+ loggedTypeFailures[error.message] = true;
567
+ var stack = getStack ? getStack() : "";
568
+ printWarning(
569
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
570
+ );
571
+ }
572
+ }
573
+ }
574
+ }
575
+ }
576
+ checkPropTypes.resetWarningCache = function() {
577
+ if (process.env.NODE_ENV !== "production") {
578
+ loggedTypeFailures = {};
579
+ }
580
+ };
581
+ module2.exports = checkPropTypes;
582
+ }
583
+ });
584
+
585
+ // ../../node_modules/prop-types/factoryWithTypeCheckers.js
586
+ var require_factoryWithTypeCheckers = __commonJS({
587
+ "../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module2) {
588
+ "use strict";
589
+ init_react_import();
590
+ var ReactIs = require_react_is();
591
+ var assign = require_object_assign();
592
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
593
+ var has = require_has();
594
+ var checkPropTypes = require_checkPropTypes();
595
+ var printWarning = function() {
596
+ };
597
+ if (process.env.NODE_ENV !== "production") {
598
+ printWarning = function(text) {
599
+ var message = "Warning: " + text;
600
+ if (typeof console !== "undefined") {
601
+ console.error(message);
602
+ }
603
+ try {
604
+ throw new Error(message);
605
+ } catch (x) {
606
+ }
607
+ };
608
+ }
609
+ function emptyFunctionThatReturnsNull() {
610
+ return null;
611
+ }
612
+ module2.exports = function(isValidElement, throwOnDirectAccess) {
613
+ var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
614
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
615
+ function getIteratorFn(maybeIterable) {
616
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
617
+ if (typeof iteratorFn === "function") {
618
+ return iteratorFn;
619
+ }
620
+ }
621
+ var ANONYMOUS = "<<anonymous>>";
622
+ var ReactPropTypes = {
623
+ array: createPrimitiveTypeChecker("array"),
624
+ bigint: createPrimitiveTypeChecker("bigint"),
625
+ bool: createPrimitiveTypeChecker("boolean"),
626
+ func: createPrimitiveTypeChecker("function"),
627
+ number: createPrimitiveTypeChecker("number"),
628
+ object: createPrimitiveTypeChecker("object"),
629
+ string: createPrimitiveTypeChecker("string"),
630
+ symbol: createPrimitiveTypeChecker("symbol"),
631
+ any: createAnyTypeChecker(),
632
+ arrayOf: createArrayOfTypeChecker,
633
+ element: createElementTypeChecker(),
634
+ elementType: createElementTypeTypeChecker(),
635
+ instanceOf: createInstanceTypeChecker,
636
+ node: createNodeChecker(),
637
+ objectOf: createObjectOfTypeChecker,
638
+ oneOf: createEnumTypeChecker,
639
+ oneOfType: createUnionTypeChecker,
640
+ shape: createShapeTypeChecker,
641
+ exact: createStrictShapeTypeChecker
642
+ };
643
+ function is(x, y) {
644
+ if (x === y) {
645
+ return x !== 0 || 1 / x === 1 / y;
646
+ } else {
647
+ return x !== x && y !== y;
648
+ }
649
+ }
650
+ function PropTypeError(message, data) {
651
+ this.message = message;
652
+ this.data = data && typeof data === "object" ? data : {};
653
+ this.stack = "";
654
+ }
655
+ PropTypeError.prototype = Error.prototype;
656
+ function createChainableTypeChecker(validate) {
657
+ if (process.env.NODE_ENV !== "production") {
658
+ var manualPropTypeCallCache = {};
659
+ var manualPropTypeWarningCount = 0;
660
+ }
661
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
662
+ componentName = componentName || ANONYMOUS;
663
+ propFullName = propFullName || propName;
664
+ if (secret !== ReactPropTypesSecret) {
665
+ if (throwOnDirectAccess) {
666
+ var err = new Error(
667
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
668
+ );
669
+ err.name = "Invariant Violation";
670
+ throw err;
671
+ } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
672
+ var cacheKey = componentName + ":" + propName;
673
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
674
+ manualPropTypeWarningCount < 3) {
675
+ printWarning(
676
+ "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
677
+ );
678
+ manualPropTypeCallCache[cacheKey] = true;
679
+ manualPropTypeWarningCount++;
680
+ }
681
+ }
682
+ }
683
+ if (props[propName] == null) {
684
+ if (isRequired) {
685
+ if (props[propName] === null) {
686
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
687
+ }
688
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
689
+ }
690
+ return null;
691
+ } else {
692
+ return validate(props, propName, componentName, location, propFullName);
693
+ }
694
+ }
695
+ var chainedCheckType = checkType.bind(null, false);
696
+ chainedCheckType.isRequired = checkType.bind(null, true);
697
+ return chainedCheckType;
698
+ }
699
+ function createPrimitiveTypeChecker(expectedType) {
700
+ function validate(props, propName, componentName, location, propFullName, secret) {
701
+ var propValue = props[propName];
702
+ var propType = getPropType(propValue);
703
+ if (propType !== expectedType) {
704
+ var preciseType = getPreciseType(propValue);
705
+ return new PropTypeError(
706
+ "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
707
+ { expectedType }
708
+ );
709
+ }
710
+ return null;
711
+ }
712
+ return createChainableTypeChecker(validate);
713
+ }
714
+ function createAnyTypeChecker() {
715
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
716
+ }
717
+ function createArrayOfTypeChecker(typeChecker) {
718
+ function validate(props, propName, componentName, location, propFullName) {
719
+ if (typeof typeChecker !== "function") {
720
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
721
+ }
722
+ var propValue = props[propName];
723
+ if (!Array.isArray(propValue)) {
724
+ var propType = getPropType(propValue);
725
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
726
+ }
727
+ for (var i = 0; i < propValue.length; i++) {
728
+ var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
729
+ if (error instanceof Error) {
730
+ return error;
731
+ }
732
+ }
733
+ return null;
734
+ }
735
+ return createChainableTypeChecker(validate);
736
+ }
737
+ function createElementTypeChecker() {
738
+ function validate(props, propName, componentName, location, propFullName) {
739
+ var propValue = props[propName];
740
+ if (!isValidElement(propValue)) {
741
+ var propType = getPropType(propValue);
742
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
743
+ }
744
+ return null;
745
+ }
746
+ return createChainableTypeChecker(validate);
747
+ }
748
+ function createElementTypeTypeChecker() {
749
+ function validate(props, propName, componentName, location, propFullName) {
750
+ var propValue = props[propName];
751
+ if (!ReactIs.isValidElementType(propValue)) {
752
+ var propType = getPropType(propValue);
753
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
754
+ }
755
+ return null;
756
+ }
757
+ return createChainableTypeChecker(validate);
758
+ }
759
+ function createInstanceTypeChecker(expectedClass) {
760
+ function validate(props, propName, componentName, location, propFullName) {
761
+ if (!(props[propName] instanceof expectedClass)) {
762
+ var expectedClassName = expectedClass.name || ANONYMOUS;
763
+ var actualClassName = getClassName11(props[propName]);
764
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
765
+ }
766
+ return null;
767
+ }
768
+ return createChainableTypeChecker(validate);
769
+ }
770
+ function createEnumTypeChecker(expectedValues) {
771
+ if (!Array.isArray(expectedValues)) {
772
+ if (process.env.NODE_ENV !== "production") {
773
+ if (arguments.length > 1) {
774
+ printWarning(
775
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
776
+ );
777
+ } else {
778
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
779
+ }
780
+ }
781
+ return emptyFunctionThatReturnsNull;
782
+ }
783
+ function validate(props, propName, componentName, location, propFullName) {
784
+ var propValue = props[propName];
785
+ for (var i = 0; i < expectedValues.length; i++) {
786
+ if (is(propValue, expectedValues[i])) {
787
+ return null;
788
+ }
789
+ }
790
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
791
+ var type = getPreciseType(value);
792
+ if (type === "symbol") {
793
+ return String(value);
794
+ }
795
+ return value;
796
+ });
797
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
798
+ }
799
+ return createChainableTypeChecker(validate);
800
+ }
801
+ function createObjectOfTypeChecker(typeChecker) {
802
+ function validate(props, propName, componentName, location, propFullName) {
803
+ if (typeof typeChecker !== "function") {
804
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
805
+ }
806
+ var propValue = props[propName];
807
+ var propType = getPropType(propValue);
808
+ if (propType !== "object") {
809
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
810
+ }
811
+ for (var key in propValue) {
812
+ if (has(propValue, key)) {
813
+ var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
814
+ if (error instanceof Error) {
815
+ return error;
816
+ }
817
+ }
818
+ }
819
+ return null;
820
+ }
821
+ return createChainableTypeChecker(validate);
822
+ }
823
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
824
+ if (!Array.isArray(arrayOfTypeCheckers)) {
825
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
826
+ return emptyFunctionThatReturnsNull;
827
+ }
828
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
829
+ var checker = arrayOfTypeCheckers[i];
830
+ if (typeof checker !== "function") {
831
+ printWarning(
832
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
833
+ );
834
+ return emptyFunctionThatReturnsNull;
835
+ }
836
+ }
837
+ function validate(props, propName, componentName, location, propFullName) {
838
+ var expectedTypes = [];
839
+ for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
840
+ var checker2 = arrayOfTypeCheckers[i2];
841
+ var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
842
+ if (checkerResult == null) {
843
+ return null;
844
+ }
845
+ if (checkerResult.data && has(checkerResult.data, "expectedType")) {
846
+ expectedTypes.push(checkerResult.data.expectedType);
847
+ }
848
+ }
849
+ var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
850
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
851
+ }
852
+ return createChainableTypeChecker(validate);
853
+ }
854
+ function createNodeChecker() {
855
+ function validate(props, propName, componentName, location, propFullName) {
856
+ if (!isNode(props[propName])) {
857
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
858
+ }
859
+ return null;
860
+ }
861
+ return createChainableTypeChecker(validate);
862
+ }
863
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
864
+ return new PropTypeError(
865
+ (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
866
+ );
867
+ }
868
+ function createShapeTypeChecker(shapeTypes) {
869
+ function validate(props, propName, componentName, location, propFullName) {
870
+ var propValue = props[propName];
871
+ var propType = getPropType(propValue);
872
+ if (propType !== "object") {
873
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
874
+ }
875
+ for (var key in shapeTypes) {
876
+ var checker = shapeTypes[key];
877
+ if (typeof checker !== "function") {
878
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
879
+ }
880
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
881
+ if (error) {
882
+ return error;
883
+ }
884
+ }
885
+ return null;
886
+ }
887
+ return createChainableTypeChecker(validate);
888
+ }
889
+ function createStrictShapeTypeChecker(shapeTypes) {
890
+ function validate(props, propName, componentName, location, propFullName) {
891
+ var propValue = props[propName];
892
+ var propType = getPropType(propValue);
893
+ if (propType !== "object") {
894
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
895
+ }
896
+ var allKeys = assign({}, props[propName], shapeTypes);
897
+ for (var key in allKeys) {
898
+ var checker = shapeTypes[key];
899
+ if (has(shapeTypes, key) && typeof checker !== "function") {
900
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
901
+ }
902
+ if (!checker) {
903
+ return new PropTypeError(
904
+ "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
905
+ );
906
+ }
907
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
908
+ if (error) {
909
+ return error;
910
+ }
911
+ }
912
+ return null;
913
+ }
914
+ return createChainableTypeChecker(validate);
915
+ }
916
+ function isNode(propValue) {
917
+ switch (typeof propValue) {
918
+ case "number":
919
+ case "string":
920
+ case "undefined":
921
+ return true;
922
+ case "boolean":
923
+ return !propValue;
924
+ case "object":
925
+ if (Array.isArray(propValue)) {
926
+ return propValue.every(isNode);
927
+ }
928
+ if (propValue === null || isValidElement(propValue)) {
929
+ return true;
930
+ }
931
+ var iteratorFn = getIteratorFn(propValue);
932
+ if (iteratorFn) {
933
+ var iterator = iteratorFn.call(propValue);
934
+ var step;
935
+ if (iteratorFn !== propValue.entries) {
936
+ while (!(step = iterator.next()).done) {
937
+ if (!isNode(step.value)) {
938
+ return false;
939
+ }
940
+ }
941
+ } else {
942
+ while (!(step = iterator.next()).done) {
943
+ var entry = step.value;
944
+ if (entry) {
945
+ if (!isNode(entry[1])) {
946
+ return false;
947
+ }
948
+ }
949
+ }
950
+ }
951
+ } else {
952
+ return false;
953
+ }
954
+ return true;
955
+ default:
956
+ return false;
957
+ }
958
+ }
959
+ function isSymbol(propType, propValue) {
960
+ if (propType === "symbol") {
961
+ return true;
962
+ }
963
+ if (!propValue) {
964
+ return false;
965
+ }
966
+ if (propValue["@@toStringTag"] === "Symbol") {
967
+ return true;
968
+ }
969
+ if (typeof Symbol === "function" && propValue instanceof Symbol) {
970
+ return true;
971
+ }
972
+ return false;
973
+ }
974
+ function getPropType(propValue) {
975
+ var propType = typeof propValue;
976
+ if (Array.isArray(propValue)) {
977
+ return "array";
978
+ }
979
+ if (propValue instanceof RegExp) {
980
+ return "object";
981
+ }
982
+ if (isSymbol(propType, propValue)) {
983
+ return "symbol";
984
+ }
985
+ return propType;
986
+ }
987
+ function getPreciseType(propValue) {
988
+ if (typeof propValue === "undefined" || propValue === null) {
989
+ return "" + propValue;
990
+ }
991
+ var propType = getPropType(propValue);
992
+ if (propType === "object") {
993
+ if (propValue instanceof Date) {
994
+ return "date";
995
+ } else if (propValue instanceof RegExp) {
996
+ return "regexp";
997
+ }
998
+ }
999
+ return propType;
1000
+ }
1001
+ function getPostfixForTypeWarning(value) {
1002
+ var type = getPreciseType(value);
1003
+ switch (type) {
1004
+ case "array":
1005
+ case "object":
1006
+ return "an " + type;
1007
+ case "boolean":
1008
+ case "date":
1009
+ case "regexp":
1010
+ return "a " + type;
1011
+ default:
1012
+ return type;
1013
+ }
1014
+ }
1015
+ function getClassName11(propValue) {
1016
+ if (!propValue.constructor || !propValue.constructor.name) {
1017
+ return ANONYMOUS;
1018
+ }
1019
+ return propValue.constructor.name;
1020
+ }
1021
+ ReactPropTypes.checkPropTypes = checkPropTypes;
1022
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1023
+ ReactPropTypes.PropTypes = ReactPropTypes;
1024
+ return ReactPropTypes;
1025
+ };
1026
+ }
1027
+ });
1028
+
1029
+ // ../../node_modules/prop-types/factoryWithThrowingShims.js
1030
+ var require_factoryWithThrowingShims = __commonJS({
1031
+ "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module2) {
1032
+ "use strict";
1033
+ init_react_import();
1034
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
1035
+ function emptyFunction() {
1036
+ }
1037
+ function emptyFunctionWithReset() {
1038
+ }
1039
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
1040
+ module2.exports = function() {
1041
+ function shim(props, propName, componentName, location, propFullName, secret) {
1042
+ if (secret === ReactPropTypesSecret) {
1043
+ return;
1044
+ }
1045
+ var err = new Error(
1046
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1047
+ );
1048
+ err.name = "Invariant Violation";
1049
+ throw err;
1050
+ }
1051
+ ;
1052
+ shim.isRequired = shim;
1053
+ function getShim() {
1054
+ return shim;
1055
+ }
1056
+ ;
1057
+ var ReactPropTypes = {
1058
+ array: shim,
1059
+ bigint: shim,
1060
+ bool: shim,
1061
+ func: shim,
1062
+ number: shim,
1063
+ object: shim,
1064
+ string: shim,
1065
+ symbol: shim,
1066
+ any: shim,
1067
+ arrayOf: getShim,
1068
+ element: shim,
1069
+ elementType: shim,
1070
+ instanceOf: getShim,
1071
+ node: shim,
1072
+ objectOf: getShim,
1073
+ oneOf: getShim,
1074
+ oneOfType: getShim,
1075
+ shape: getShim,
1076
+ exact: getShim,
1077
+ checkPropTypes: emptyFunctionWithReset,
1078
+ resetWarningCache: emptyFunction
1079
+ };
1080
+ ReactPropTypes.PropTypes = ReactPropTypes;
1081
+ return ReactPropTypes;
1082
+ };
1083
+ }
1084
+ });
1085
+
1086
+ // ../../node_modules/prop-types/index.js
1087
+ var require_prop_types = __commonJS({
1088
+ "../../node_modules/prop-types/index.js"(exports, module2) {
1089
+ init_react_import();
1090
+ if (process.env.NODE_ENV !== "production") {
1091
+ ReactIs = require_react_is();
1092
+ throwOnDirectAccess = true;
1093
+ module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1094
+ } else {
1095
+ module2.exports = require_factoryWithThrowingShims()();
1096
+ }
1097
+ var ReactIs;
1098
+ var throwOnDirectAccess;
1099
+ }
1100
+ });
1101
+
146
1102
  // index.ts
147
1103
  var core_exports = {};
148
1104
  __export(core_exports, {
@@ -258,26 +1214,1098 @@ var Button = ({
258
1214
 
259
1215
  // components/DropZone/index.tsx
260
1216
  init_react_import();
261
- var import_react7 = require("react");
1217
+ var import_react20 = require("react");
262
1218
 
263
1219
  // components/DraggableComponent/index.tsx
264
1220
  init_react_import();
265
- var import_react4 = require("react");
1221
+ var import_react17 = require("react");
266
1222
  var import_react_beautiful_dnd = require("react-beautiful-dnd");
267
1223
 
268
1224
  // css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css#css-module
269
1225
  init_react_import();
270
1226
  var styles_module_default = { "DraggableComponent": "_DraggableComponent_1nlo8_1", "DraggableComponent--isDragging": "_DraggableComponent--isDragging_1nlo8_6", "DraggableComponent-contents": "_DraggableComponent-contents_1nlo8_12", "DraggableComponent-overlay": "_DraggableComponent-overlay_1nlo8_24", "DraggableComponent--isLocked": "_DraggableComponent--isLocked_1nlo8_39", "DraggableComponent--forceHover": "_DraggableComponent--forceHover_1nlo8_45", "DraggableComponent--indicativeHover": "_DraggableComponent--indicativeHover_1nlo8_50", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_1nlo8_57", "DraggableComponent-actions": "_DraggableComponent-actions_1nlo8_70", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_1nlo8_93", "DraggableComponent-action": "_DraggableComponent-action_1nlo8_70" };
271
1227
 
272
- // components/DraggableComponent/index.tsx
273
- var import_react_feather = require("react-feather");
1228
+ // ../../node_modules/react-feather/dist/index.js
1229
+ init_react_import();
1230
+
1231
+ // ../../node_modules/react-feather/dist/icons/check-circle.js
1232
+ init_react_import();
1233
+ var import_react3 = __toESM(require("react"));
1234
+ var import_prop_types = __toESM(require_prop_types());
1235
+ function _extends() {
1236
+ _extends = Object.assign || function(target) {
1237
+ for (var i = 1; i < arguments.length; i++) {
1238
+ var source = arguments[i];
1239
+ for (var key in source) {
1240
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1241
+ target[key] = source[key];
1242
+ }
1243
+ }
1244
+ }
1245
+ return target;
1246
+ };
1247
+ return _extends.apply(this, arguments);
1248
+ }
1249
+ function _objectWithoutProperties(source, excluded) {
1250
+ if (source == null)
1251
+ return {};
1252
+ var target = _objectWithoutPropertiesLoose(source, excluded);
1253
+ var key, i;
1254
+ if (Object.getOwnPropertySymbols) {
1255
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1256
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1257
+ key = sourceSymbolKeys[i];
1258
+ if (excluded.indexOf(key) >= 0)
1259
+ continue;
1260
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1261
+ continue;
1262
+ target[key] = source[key];
1263
+ }
1264
+ }
1265
+ return target;
1266
+ }
1267
+ function _objectWithoutPropertiesLoose(source, excluded) {
1268
+ if (source == null)
1269
+ return {};
1270
+ var target = {};
1271
+ var sourceKeys = Object.keys(source);
1272
+ var key, i;
1273
+ for (i = 0; i < sourceKeys.length; i++) {
1274
+ key = sourceKeys[i];
1275
+ if (excluded.indexOf(key) >= 0)
1276
+ continue;
1277
+ target[key] = source[key];
1278
+ }
1279
+ return target;
1280
+ }
1281
+ var CheckCircle = (0, import_react3.forwardRef)(function(_ref, ref) {
1282
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, ["color", "size"]);
1283
+ return /* @__PURE__ */ import_react3.default.createElement("svg", _extends({
1284
+ ref,
1285
+ xmlns: "http://www.w3.org/2000/svg",
1286
+ width: size,
1287
+ height: size,
1288
+ viewBox: "0 0 24 24",
1289
+ fill: "none",
1290
+ stroke: color,
1291
+ strokeWidth: "2",
1292
+ strokeLinecap: "round",
1293
+ strokeLinejoin: "round"
1294
+ }, rest), /* @__PURE__ */ import_react3.default.createElement("path", {
1295
+ d: "M22 11.08V12a10 10 0 1 1-5.93-9.14"
1296
+ }), /* @__PURE__ */ import_react3.default.createElement("polyline", {
1297
+ points: "22 4 12 14.01 9 11.01"
1298
+ }));
1299
+ });
1300
+ CheckCircle.propTypes = {
1301
+ color: import_prop_types.default.string,
1302
+ size: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.number])
1303
+ };
1304
+ CheckCircle.displayName = "CheckCircle";
1305
+ var check_circle_default = CheckCircle;
1306
+
1307
+ // ../../node_modules/react-feather/dist/icons/chevron-down.js
1308
+ init_react_import();
1309
+ var import_react4 = __toESM(require("react"));
1310
+ var import_prop_types2 = __toESM(require_prop_types());
1311
+ function _extends2() {
1312
+ _extends2 = Object.assign || function(target) {
1313
+ for (var i = 1; i < arguments.length; i++) {
1314
+ var source = arguments[i];
1315
+ for (var key in source) {
1316
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1317
+ target[key] = source[key];
1318
+ }
1319
+ }
1320
+ }
1321
+ return target;
1322
+ };
1323
+ return _extends2.apply(this, arguments);
1324
+ }
1325
+ function _objectWithoutProperties2(source, excluded) {
1326
+ if (source == null)
1327
+ return {};
1328
+ var target = _objectWithoutPropertiesLoose2(source, excluded);
1329
+ var key, i;
1330
+ if (Object.getOwnPropertySymbols) {
1331
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1332
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1333
+ key = sourceSymbolKeys[i];
1334
+ if (excluded.indexOf(key) >= 0)
1335
+ continue;
1336
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1337
+ continue;
1338
+ target[key] = source[key];
1339
+ }
1340
+ }
1341
+ return target;
1342
+ }
1343
+ function _objectWithoutPropertiesLoose2(source, excluded) {
1344
+ if (source == null)
1345
+ return {};
1346
+ var target = {};
1347
+ var sourceKeys = Object.keys(source);
1348
+ var key, i;
1349
+ for (i = 0; i < sourceKeys.length; i++) {
1350
+ key = sourceKeys[i];
1351
+ if (excluded.indexOf(key) >= 0)
1352
+ continue;
1353
+ target[key] = source[key];
1354
+ }
1355
+ return target;
1356
+ }
1357
+ var ChevronDown = (0, import_react4.forwardRef)(function(_ref, ref) {
1358
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties2(_ref, ["color", "size"]);
1359
+ return /* @__PURE__ */ import_react4.default.createElement("svg", _extends2({
1360
+ ref,
1361
+ xmlns: "http://www.w3.org/2000/svg",
1362
+ width: size,
1363
+ height: size,
1364
+ viewBox: "0 0 24 24",
1365
+ fill: "none",
1366
+ stroke: color,
1367
+ strokeWidth: "2",
1368
+ strokeLinecap: "round",
1369
+ strokeLinejoin: "round"
1370
+ }, rest), /* @__PURE__ */ import_react4.default.createElement("polyline", {
1371
+ points: "6 9 12 15 18 9"
1372
+ }));
1373
+ });
1374
+ ChevronDown.propTypes = {
1375
+ color: import_prop_types2.default.string,
1376
+ size: import_prop_types2.default.oneOfType([import_prop_types2.default.string, import_prop_types2.default.number])
1377
+ };
1378
+ ChevronDown.displayName = "ChevronDown";
1379
+ var chevron_down_default = ChevronDown;
1380
+
1381
+ // ../../node_modules/react-feather/dist/icons/chevron-right.js
1382
+ init_react_import();
1383
+ var import_react5 = __toESM(require("react"));
1384
+ var import_prop_types3 = __toESM(require_prop_types());
1385
+ function _extends3() {
1386
+ _extends3 = Object.assign || function(target) {
1387
+ for (var i = 1; i < arguments.length; i++) {
1388
+ var source = arguments[i];
1389
+ for (var key in source) {
1390
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1391
+ target[key] = source[key];
1392
+ }
1393
+ }
1394
+ }
1395
+ return target;
1396
+ };
1397
+ return _extends3.apply(this, arguments);
1398
+ }
1399
+ function _objectWithoutProperties3(source, excluded) {
1400
+ if (source == null)
1401
+ return {};
1402
+ var target = _objectWithoutPropertiesLoose3(source, excluded);
1403
+ var key, i;
1404
+ if (Object.getOwnPropertySymbols) {
1405
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1406
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1407
+ key = sourceSymbolKeys[i];
1408
+ if (excluded.indexOf(key) >= 0)
1409
+ continue;
1410
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1411
+ continue;
1412
+ target[key] = source[key];
1413
+ }
1414
+ }
1415
+ return target;
1416
+ }
1417
+ function _objectWithoutPropertiesLoose3(source, excluded) {
1418
+ if (source == null)
1419
+ return {};
1420
+ var target = {};
1421
+ var sourceKeys = Object.keys(source);
1422
+ var key, i;
1423
+ for (i = 0; i < sourceKeys.length; i++) {
1424
+ key = sourceKeys[i];
1425
+ if (excluded.indexOf(key) >= 0)
1426
+ continue;
1427
+ target[key] = source[key];
1428
+ }
1429
+ return target;
1430
+ }
1431
+ var ChevronRight = (0, import_react5.forwardRef)(function(_ref, ref) {
1432
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties3(_ref, ["color", "size"]);
1433
+ return /* @__PURE__ */ import_react5.default.createElement("svg", _extends3({
1434
+ ref,
1435
+ xmlns: "http://www.w3.org/2000/svg",
1436
+ width: size,
1437
+ height: size,
1438
+ viewBox: "0 0 24 24",
1439
+ fill: "none",
1440
+ stroke: color,
1441
+ strokeWidth: "2",
1442
+ strokeLinecap: "round",
1443
+ strokeLinejoin: "round"
1444
+ }, rest), /* @__PURE__ */ import_react5.default.createElement("polyline", {
1445
+ points: "9 18 15 12 9 6"
1446
+ }));
1447
+ });
1448
+ ChevronRight.propTypes = {
1449
+ color: import_prop_types3.default.string,
1450
+ size: import_prop_types3.default.oneOfType([import_prop_types3.default.string, import_prop_types3.default.number])
1451
+ };
1452
+ ChevronRight.displayName = "ChevronRight";
1453
+ var chevron_right_default = ChevronRight;
1454
+
1455
+ // ../../node_modules/react-feather/dist/icons/copy.js
1456
+ init_react_import();
1457
+ var import_react6 = __toESM(require("react"));
1458
+ var import_prop_types4 = __toESM(require_prop_types());
1459
+ function _extends4() {
1460
+ _extends4 = Object.assign || function(target) {
1461
+ for (var i = 1; i < arguments.length; i++) {
1462
+ var source = arguments[i];
1463
+ for (var key in source) {
1464
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1465
+ target[key] = source[key];
1466
+ }
1467
+ }
1468
+ }
1469
+ return target;
1470
+ };
1471
+ return _extends4.apply(this, arguments);
1472
+ }
1473
+ function _objectWithoutProperties4(source, excluded) {
1474
+ if (source == null)
1475
+ return {};
1476
+ var target = _objectWithoutPropertiesLoose4(source, excluded);
1477
+ var key, i;
1478
+ if (Object.getOwnPropertySymbols) {
1479
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1480
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1481
+ key = sourceSymbolKeys[i];
1482
+ if (excluded.indexOf(key) >= 0)
1483
+ continue;
1484
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1485
+ continue;
1486
+ target[key] = source[key];
1487
+ }
1488
+ }
1489
+ return target;
1490
+ }
1491
+ function _objectWithoutPropertiesLoose4(source, excluded) {
1492
+ if (source == null)
1493
+ return {};
1494
+ var target = {};
1495
+ var sourceKeys = Object.keys(source);
1496
+ var key, i;
1497
+ for (i = 0; i < sourceKeys.length; i++) {
1498
+ key = sourceKeys[i];
1499
+ if (excluded.indexOf(key) >= 0)
1500
+ continue;
1501
+ target[key] = source[key];
1502
+ }
1503
+ return target;
1504
+ }
1505
+ var Copy = (0, import_react6.forwardRef)(function(_ref, ref) {
1506
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties4(_ref, ["color", "size"]);
1507
+ return /* @__PURE__ */ import_react6.default.createElement("svg", _extends4({
1508
+ ref,
1509
+ xmlns: "http://www.w3.org/2000/svg",
1510
+ width: size,
1511
+ height: size,
1512
+ viewBox: "0 0 24 24",
1513
+ fill: "none",
1514
+ stroke: color,
1515
+ strokeWidth: "2",
1516
+ strokeLinecap: "round",
1517
+ strokeLinejoin: "round"
1518
+ }, rest), /* @__PURE__ */ import_react6.default.createElement("rect", {
1519
+ x: "9",
1520
+ y: "9",
1521
+ width: "13",
1522
+ height: "13",
1523
+ rx: "2",
1524
+ ry: "2"
1525
+ }), /* @__PURE__ */ import_react6.default.createElement("path", {
1526
+ d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
1527
+ }));
1528
+ });
1529
+ Copy.propTypes = {
1530
+ color: import_prop_types4.default.string,
1531
+ size: import_prop_types4.default.oneOfType([import_prop_types4.default.string, import_prop_types4.default.number])
1532
+ };
1533
+ Copy.displayName = "Copy";
1534
+ var copy_default = Copy;
1535
+
1536
+ // ../../node_modules/react-feather/dist/icons/globe.js
1537
+ init_react_import();
1538
+ var import_react7 = __toESM(require("react"));
1539
+ var import_prop_types5 = __toESM(require_prop_types());
1540
+ function _extends5() {
1541
+ _extends5 = Object.assign || function(target) {
1542
+ for (var i = 1; i < arguments.length; i++) {
1543
+ var source = arguments[i];
1544
+ for (var key in source) {
1545
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1546
+ target[key] = source[key];
1547
+ }
1548
+ }
1549
+ }
1550
+ return target;
1551
+ };
1552
+ return _extends5.apply(this, arguments);
1553
+ }
1554
+ function _objectWithoutProperties5(source, excluded) {
1555
+ if (source == null)
1556
+ return {};
1557
+ var target = _objectWithoutPropertiesLoose5(source, excluded);
1558
+ var key, i;
1559
+ if (Object.getOwnPropertySymbols) {
1560
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1561
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1562
+ key = sourceSymbolKeys[i];
1563
+ if (excluded.indexOf(key) >= 0)
1564
+ continue;
1565
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1566
+ continue;
1567
+ target[key] = source[key];
1568
+ }
1569
+ }
1570
+ return target;
1571
+ }
1572
+ function _objectWithoutPropertiesLoose5(source, excluded) {
1573
+ if (source == null)
1574
+ return {};
1575
+ var target = {};
1576
+ var sourceKeys = Object.keys(source);
1577
+ var key, i;
1578
+ for (i = 0; i < sourceKeys.length; i++) {
1579
+ key = sourceKeys[i];
1580
+ if (excluded.indexOf(key) >= 0)
1581
+ continue;
1582
+ target[key] = source[key];
1583
+ }
1584
+ return target;
1585
+ }
1586
+ var Globe = (0, import_react7.forwardRef)(function(_ref, ref) {
1587
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties5(_ref, ["color", "size"]);
1588
+ return /* @__PURE__ */ import_react7.default.createElement("svg", _extends5({
1589
+ ref,
1590
+ xmlns: "http://www.w3.org/2000/svg",
1591
+ width: size,
1592
+ height: size,
1593
+ viewBox: "0 0 24 24",
1594
+ fill: "none",
1595
+ stroke: color,
1596
+ strokeWidth: "2",
1597
+ strokeLinecap: "round",
1598
+ strokeLinejoin: "round"
1599
+ }, rest), /* @__PURE__ */ import_react7.default.createElement("circle", {
1600
+ cx: "12",
1601
+ cy: "12",
1602
+ r: "10"
1603
+ }), /* @__PURE__ */ import_react7.default.createElement("line", {
1604
+ x1: "2",
1605
+ y1: "12",
1606
+ x2: "22",
1607
+ y2: "12"
1608
+ }), /* @__PURE__ */ import_react7.default.createElement("path", {
1609
+ d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"
1610
+ }));
1611
+ });
1612
+ Globe.propTypes = {
1613
+ color: import_prop_types5.default.string,
1614
+ size: import_prop_types5.default.oneOfType([import_prop_types5.default.string, import_prop_types5.default.number])
1615
+ };
1616
+ Globe.displayName = "Globe";
1617
+ var globe_default = Globe;
1618
+
1619
+ // ../../node_modules/react-feather/dist/icons/grid.js
1620
+ init_react_import();
1621
+ var import_react8 = __toESM(require("react"));
1622
+ var import_prop_types6 = __toESM(require_prop_types());
1623
+ function _extends6() {
1624
+ _extends6 = Object.assign || function(target) {
1625
+ for (var i = 1; i < arguments.length; i++) {
1626
+ var source = arguments[i];
1627
+ for (var key in source) {
1628
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1629
+ target[key] = source[key];
1630
+ }
1631
+ }
1632
+ }
1633
+ return target;
1634
+ };
1635
+ return _extends6.apply(this, arguments);
1636
+ }
1637
+ function _objectWithoutProperties6(source, excluded) {
1638
+ if (source == null)
1639
+ return {};
1640
+ var target = _objectWithoutPropertiesLoose6(source, excluded);
1641
+ var key, i;
1642
+ if (Object.getOwnPropertySymbols) {
1643
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1644
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1645
+ key = sourceSymbolKeys[i];
1646
+ if (excluded.indexOf(key) >= 0)
1647
+ continue;
1648
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1649
+ continue;
1650
+ target[key] = source[key];
1651
+ }
1652
+ }
1653
+ return target;
1654
+ }
1655
+ function _objectWithoutPropertiesLoose6(source, excluded) {
1656
+ if (source == null)
1657
+ return {};
1658
+ var target = {};
1659
+ var sourceKeys = Object.keys(source);
1660
+ var key, i;
1661
+ for (i = 0; i < sourceKeys.length; i++) {
1662
+ key = sourceKeys[i];
1663
+ if (excluded.indexOf(key) >= 0)
1664
+ continue;
1665
+ target[key] = source[key];
1666
+ }
1667
+ return target;
1668
+ }
1669
+ var Grid = (0, import_react8.forwardRef)(function(_ref, ref) {
1670
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties6(_ref, ["color", "size"]);
1671
+ return /* @__PURE__ */ import_react8.default.createElement("svg", _extends6({
1672
+ ref,
1673
+ xmlns: "http://www.w3.org/2000/svg",
1674
+ width: size,
1675
+ height: size,
1676
+ viewBox: "0 0 24 24",
1677
+ fill: "none",
1678
+ stroke: color,
1679
+ strokeWidth: "2",
1680
+ strokeLinecap: "round",
1681
+ strokeLinejoin: "round"
1682
+ }, rest), /* @__PURE__ */ import_react8.default.createElement("rect", {
1683
+ x: "3",
1684
+ y: "3",
1685
+ width: "7",
1686
+ height: "7"
1687
+ }), /* @__PURE__ */ import_react8.default.createElement("rect", {
1688
+ x: "14",
1689
+ y: "3",
1690
+ width: "7",
1691
+ height: "7"
1692
+ }), /* @__PURE__ */ import_react8.default.createElement("rect", {
1693
+ x: "14",
1694
+ y: "14",
1695
+ width: "7",
1696
+ height: "7"
1697
+ }), /* @__PURE__ */ import_react8.default.createElement("rect", {
1698
+ x: "3",
1699
+ y: "14",
1700
+ width: "7",
1701
+ height: "7"
1702
+ }));
1703
+ });
1704
+ Grid.propTypes = {
1705
+ color: import_prop_types6.default.string,
1706
+ size: import_prop_types6.default.oneOfType([import_prop_types6.default.string, import_prop_types6.default.number])
1707
+ };
1708
+ Grid.displayName = "Grid";
1709
+ var grid_default = Grid;
1710
+
1711
+ // ../../node_modules/react-feather/dist/icons/hash.js
1712
+ init_react_import();
1713
+ var import_react9 = __toESM(require("react"));
1714
+ var import_prop_types7 = __toESM(require_prop_types());
1715
+ function _extends7() {
1716
+ _extends7 = Object.assign || function(target) {
1717
+ for (var i = 1; i < arguments.length; i++) {
1718
+ var source = arguments[i];
1719
+ for (var key in source) {
1720
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1721
+ target[key] = source[key];
1722
+ }
1723
+ }
1724
+ }
1725
+ return target;
1726
+ };
1727
+ return _extends7.apply(this, arguments);
1728
+ }
1729
+ function _objectWithoutProperties7(source, excluded) {
1730
+ if (source == null)
1731
+ return {};
1732
+ var target = _objectWithoutPropertiesLoose7(source, excluded);
1733
+ var key, i;
1734
+ if (Object.getOwnPropertySymbols) {
1735
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1736
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1737
+ key = sourceSymbolKeys[i];
1738
+ if (excluded.indexOf(key) >= 0)
1739
+ continue;
1740
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1741
+ continue;
1742
+ target[key] = source[key];
1743
+ }
1744
+ }
1745
+ return target;
1746
+ }
1747
+ function _objectWithoutPropertiesLoose7(source, excluded) {
1748
+ if (source == null)
1749
+ return {};
1750
+ var target = {};
1751
+ var sourceKeys = Object.keys(source);
1752
+ var key, i;
1753
+ for (i = 0; i < sourceKeys.length; i++) {
1754
+ key = sourceKeys[i];
1755
+ if (excluded.indexOf(key) >= 0)
1756
+ continue;
1757
+ target[key] = source[key];
1758
+ }
1759
+ return target;
1760
+ }
1761
+ var Hash = (0, import_react9.forwardRef)(function(_ref, ref) {
1762
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties7(_ref, ["color", "size"]);
1763
+ return /* @__PURE__ */ import_react9.default.createElement("svg", _extends7({
1764
+ ref,
1765
+ xmlns: "http://www.w3.org/2000/svg",
1766
+ width: size,
1767
+ height: size,
1768
+ viewBox: "0 0 24 24",
1769
+ fill: "none",
1770
+ stroke: color,
1771
+ strokeWidth: "2",
1772
+ strokeLinecap: "round",
1773
+ strokeLinejoin: "round"
1774
+ }, rest), /* @__PURE__ */ import_react9.default.createElement("line", {
1775
+ x1: "4",
1776
+ y1: "9",
1777
+ x2: "20",
1778
+ y2: "9"
1779
+ }), /* @__PURE__ */ import_react9.default.createElement("line", {
1780
+ x1: "4",
1781
+ y1: "15",
1782
+ x2: "20",
1783
+ y2: "15"
1784
+ }), /* @__PURE__ */ import_react9.default.createElement("line", {
1785
+ x1: "10",
1786
+ y1: "3",
1787
+ x2: "8",
1788
+ y2: "21"
1789
+ }), /* @__PURE__ */ import_react9.default.createElement("line", {
1790
+ x1: "16",
1791
+ y1: "3",
1792
+ x2: "14",
1793
+ y2: "21"
1794
+ }));
1795
+ });
1796
+ Hash.propTypes = {
1797
+ color: import_prop_types7.default.string,
1798
+ size: import_prop_types7.default.oneOfType([import_prop_types7.default.string, import_prop_types7.default.number])
1799
+ };
1800
+ Hash.displayName = "Hash";
1801
+ var hash_default = Hash;
1802
+
1803
+ // ../../node_modules/react-feather/dist/icons/layers.js
1804
+ init_react_import();
1805
+ var import_react10 = __toESM(require("react"));
1806
+ var import_prop_types8 = __toESM(require_prop_types());
1807
+ function _extends8() {
1808
+ _extends8 = Object.assign || function(target) {
1809
+ for (var i = 1; i < arguments.length; i++) {
1810
+ var source = arguments[i];
1811
+ for (var key in source) {
1812
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1813
+ target[key] = source[key];
1814
+ }
1815
+ }
1816
+ }
1817
+ return target;
1818
+ };
1819
+ return _extends8.apply(this, arguments);
1820
+ }
1821
+ function _objectWithoutProperties8(source, excluded) {
1822
+ if (source == null)
1823
+ return {};
1824
+ var target = _objectWithoutPropertiesLoose8(source, excluded);
1825
+ var key, i;
1826
+ if (Object.getOwnPropertySymbols) {
1827
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1828
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1829
+ key = sourceSymbolKeys[i];
1830
+ if (excluded.indexOf(key) >= 0)
1831
+ continue;
1832
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1833
+ continue;
1834
+ target[key] = source[key];
1835
+ }
1836
+ }
1837
+ return target;
1838
+ }
1839
+ function _objectWithoutPropertiesLoose8(source, excluded) {
1840
+ if (source == null)
1841
+ return {};
1842
+ var target = {};
1843
+ var sourceKeys = Object.keys(source);
1844
+ var key, i;
1845
+ for (i = 0; i < sourceKeys.length; i++) {
1846
+ key = sourceKeys[i];
1847
+ if (excluded.indexOf(key) >= 0)
1848
+ continue;
1849
+ target[key] = source[key];
1850
+ }
1851
+ return target;
1852
+ }
1853
+ var Layers = (0, import_react10.forwardRef)(function(_ref, ref) {
1854
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties8(_ref, ["color", "size"]);
1855
+ return /* @__PURE__ */ import_react10.default.createElement("svg", _extends8({
1856
+ ref,
1857
+ xmlns: "http://www.w3.org/2000/svg",
1858
+ width: size,
1859
+ height: size,
1860
+ viewBox: "0 0 24 24",
1861
+ fill: "none",
1862
+ stroke: color,
1863
+ strokeWidth: "2",
1864
+ strokeLinecap: "round",
1865
+ strokeLinejoin: "round"
1866
+ }, rest), /* @__PURE__ */ import_react10.default.createElement("polygon", {
1867
+ points: "12 2 2 7 12 12 22 7 12 2"
1868
+ }), /* @__PURE__ */ import_react10.default.createElement("polyline", {
1869
+ points: "2 17 12 22 22 17"
1870
+ }), /* @__PURE__ */ import_react10.default.createElement("polyline", {
1871
+ points: "2 12 12 17 22 12"
1872
+ }));
1873
+ });
1874
+ Layers.propTypes = {
1875
+ color: import_prop_types8.default.string,
1876
+ size: import_prop_types8.default.oneOfType([import_prop_types8.default.string, import_prop_types8.default.number])
1877
+ };
1878
+ Layers.displayName = "Layers";
1879
+ var layers_default = Layers;
1880
+
1881
+ // ../../node_modules/react-feather/dist/icons/link.js
1882
+ init_react_import();
1883
+ var import_react11 = __toESM(require("react"));
1884
+ var import_prop_types9 = __toESM(require_prop_types());
1885
+ function _extends9() {
1886
+ _extends9 = Object.assign || function(target) {
1887
+ for (var i = 1; i < arguments.length; i++) {
1888
+ var source = arguments[i];
1889
+ for (var key in source) {
1890
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1891
+ target[key] = source[key];
1892
+ }
1893
+ }
1894
+ }
1895
+ return target;
1896
+ };
1897
+ return _extends9.apply(this, arguments);
1898
+ }
1899
+ function _objectWithoutProperties9(source, excluded) {
1900
+ if (source == null)
1901
+ return {};
1902
+ var target = _objectWithoutPropertiesLoose9(source, excluded);
1903
+ var key, i;
1904
+ if (Object.getOwnPropertySymbols) {
1905
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1906
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1907
+ key = sourceSymbolKeys[i];
1908
+ if (excluded.indexOf(key) >= 0)
1909
+ continue;
1910
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1911
+ continue;
1912
+ target[key] = source[key];
1913
+ }
1914
+ }
1915
+ return target;
1916
+ }
1917
+ function _objectWithoutPropertiesLoose9(source, excluded) {
1918
+ if (source == null)
1919
+ return {};
1920
+ var target = {};
1921
+ var sourceKeys = Object.keys(source);
1922
+ var key, i;
1923
+ for (i = 0; i < sourceKeys.length; i++) {
1924
+ key = sourceKeys[i];
1925
+ if (excluded.indexOf(key) >= 0)
1926
+ continue;
1927
+ target[key] = source[key];
1928
+ }
1929
+ return target;
1930
+ }
1931
+ var Link = (0, import_react11.forwardRef)(function(_ref, ref) {
1932
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties9(_ref, ["color", "size"]);
1933
+ return /* @__PURE__ */ import_react11.default.createElement("svg", _extends9({
1934
+ ref,
1935
+ xmlns: "http://www.w3.org/2000/svg",
1936
+ width: size,
1937
+ height: size,
1938
+ viewBox: "0 0 24 24",
1939
+ fill: "none",
1940
+ stroke: color,
1941
+ strokeWidth: "2",
1942
+ strokeLinecap: "round",
1943
+ strokeLinejoin: "round"
1944
+ }, rest), /* @__PURE__ */ import_react11.default.createElement("path", {
1945
+ d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"
1946
+ }), /* @__PURE__ */ import_react11.default.createElement("path", {
1947
+ d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"
1948
+ }));
1949
+ });
1950
+ Link.propTypes = {
1951
+ color: import_prop_types9.default.string,
1952
+ size: import_prop_types9.default.oneOfType([import_prop_types9.default.string, import_prop_types9.default.number])
1953
+ };
1954
+ Link.displayName = "Link";
1955
+ var link_default = Link;
1956
+
1957
+ // ../../node_modules/react-feather/dist/icons/list.js
1958
+ init_react_import();
1959
+ var import_react12 = __toESM(require("react"));
1960
+ var import_prop_types10 = __toESM(require_prop_types());
1961
+ function _extends10() {
1962
+ _extends10 = Object.assign || function(target) {
1963
+ for (var i = 1; i < arguments.length; i++) {
1964
+ var source = arguments[i];
1965
+ for (var key in source) {
1966
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1967
+ target[key] = source[key];
1968
+ }
1969
+ }
1970
+ }
1971
+ return target;
1972
+ };
1973
+ return _extends10.apply(this, arguments);
1974
+ }
1975
+ function _objectWithoutProperties10(source, excluded) {
1976
+ if (source == null)
1977
+ return {};
1978
+ var target = _objectWithoutPropertiesLoose10(source, excluded);
1979
+ var key, i;
1980
+ if (Object.getOwnPropertySymbols) {
1981
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1982
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
1983
+ key = sourceSymbolKeys[i];
1984
+ if (excluded.indexOf(key) >= 0)
1985
+ continue;
1986
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
1987
+ continue;
1988
+ target[key] = source[key];
1989
+ }
1990
+ }
1991
+ return target;
1992
+ }
1993
+ function _objectWithoutPropertiesLoose10(source, excluded) {
1994
+ if (source == null)
1995
+ return {};
1996
+ var target = {};
1997
+ var sourceKeys = Object.keys(source);
1998
+ var key, i;
1999
+ for (i = 0; i < sourceKeys.length; i++) {
2000
+ key = sourceKeys[i];
2001
+ if (excluded.indexOf(key) >= 0)
2002
+ continue;
2003
+ target[key] = source[key];
2004
+ }
2005
+ return target;
2006
+ }
2007
+ var List = (0, import_react12.forwardRef)(function(_ref, ref) {
2008
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties10(_ref, ["color", "size"]);
2009
+ return /* @__PURE__ */ import_react12.default.createElement("svg", _extends10({
2010
+ ref,
2011
+ xmlns: "http://www.w3.org/2000/svg",
2012
+ width: size,
2013
+ height: size,
2014
+ viewBox: "0 0 24 24",
2015
+ fill: "none",
2016
+ stroke: color,
2017
+ strokeWidth: "2",
2018
+ strokeLinecap: "round",
2019
+ strokeLinejoin: "round"
2020
+ }, rest), /* @__PURE__ */ import_react12.default.createElement("line", {
2021
+ x1: "8",
2022
+ y1: "6",
2023
+ x2: "21",
2024
+ y2: "6"
2025
+ }), /* @__PURE__ */ import_react12.default.createElement("line", {
2026
+ x1: "8",
2027
+ y1: "12",
2028
+ x2: "21",
2029
+ y2: "12"
2030
+ }), /* @__PURE__ */ import_react12.default.createElement("line", {
2031
+ x1: "8",
2032
+ y1: "18",
2033
+ x2: "21",
2034
+ y2: "18"
2035
+ }), /* @__PURE__ */ import_react12.default.createElement("line", {
2036
+ x1: "3",
2037
+ y1: "6",
2038
+ x2: "3.01",
2039
+ y2: "6"
2040
+ }), /* @__PURE__ */ import_react12.default.createElement("line", {
2041
+ x1: "3",
2042
+ y1: "12",
2043
+ x2: "3.01",
2044
+ y2: "12"
2045
+ }), /* @__PURE__ */ import_react12.default.createElement("line", {
2046
+ x1: "3",
2047
+ y1: "18",
2048
+ x2: "3.01",
2049
+ y2: "18"
2050
+ }));
2051
+ });
2052
+ List.propTypes = {
2053
+ color: import_prop_types10.default.string,
2054
+ size: import_prop_types10.default.oneOfType([import_prop_types10.default.string, import_prop_types10.default.number])
2055
+ };
2056
+ List.displayName = "List";
2057
+ var list_default = List;
2058
+
2059
+ // ../../node_modules/react-feather/dist/icons/sidebar.js
2060
+ init_react_import();
2061
+ var import_react13 = __toESM(require("react"));
2062
+ var import_prop_types11 = __toESM(require_prop_types());
2063
+ function _extends11() {
2064
+ _extends11 = Object.assign || function(target) {
2065
+ for (var i = 1; i < arguments.length; i++) {
2066
+ var source = arguments[i];
2067
+ for (var key in source) {
2068
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
2069
+ target[key] = source[key];
2070
+ }
2071
+ }
2072
+ }
2073
+ return target;
2074
+ };
2075
+ return _extends11.apply(this, arguments);
2076
+ }
2077
+ function _objectWithoutProperties11(source, excluded) {
2078
+ if (source == null)
2079
+ return {};
2080
+ var target = _objectWithoutPropertiesLoose11(source, excluded);
2081
+ var key, i;
2082
+ if (Object.getOwnPropertySymbols) {
2083
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
2084
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
2085
+ key = sourceSymbolKeys[i];
2086
+ if (excluded.indexOf(key) >= 0)
2087
+ continue;
2088
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
2089
+ continue;
2090
+ target[key] = source[key];
2091
+ }
2092
+ }
2093
+ return target;
2094
+ }
2095
+ function _objectWithoutPropertiesLoose11(source, excluded) {
2096
+ if (source == null)
2097
+ return {};
2098
+ var target = {};
2099
+ var sourceKeys = Object.keys(source);
2100
+ var key, i;
2101
+ for (i = 0; i < sourceKeys.length; i++) {
2102
+ key = sourceKeys[i];
2103
+ if (excluded.indexOf(key) >= 0)
2104
+ continue;
2105
+ target[key] = source[key];
2106
+ }
2107
+ return target;
2108
+ }
2109
+ var Sidebar = (0, import_react13.forwardRef)(function(_ref, ref) {
2110
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties11(_ref, ["color", "size"]);
2111
+ return /* @__PURE__ */ import_react13.default.createElement("svg", _extends11({
2112
+ ref,
2113
+ xmlns: "http://www.w3.org/2000/svg",
2114
+ width: size,
2115
+ height: size,
2116
+ viewBox: "0 0 24 24",
2117
+ fill: "none",
2118
+ stroke: color,
2119
+ strokeWidth: "2",
2120
+ strokeLinecap: "round",
2121
+ strokeLinejoin: "round"
2122
+ }, rest), /* @__PURE__ */ import_react13.default.createElement("rect", {
2123
+ x: "3",
2124
+ y: "3",
2125
+ width: "18",
2126
+ height: "18",
2127
+ rx: "2",
2128
+ ry: "2"
2129
+ }), /* @__PURE__ */ import_react13.default.createElement("line", {
2130
+ x1: "9",
2131
+ y1: "3",
2132
+ x2: "9",
2133
+ y2: "21"
2134
+ }));
2135
+ });
2136
+ Sidebar.propTypes = {
2137
+ color: import_prop_types11.default.string,
2138
+ size: import_prop_types11.default.oneOfType([import_prop_types11.default.string, import_prop_types11.default.number])
2139
+ };
2140
+ Sidebar.displayName = "Sidebar";
2141
+ var sidebar_default = Sidebar;
2142
+
2143
+ // ../../node_modules/react-feather/dist/icons/trash.js
2144
+ init_react_import();
2145
+ var import_react14 = __toESM(require("react"));
2146
+ var import_prop_types12 = __toESM(require_prop_types());
2147
+ function _extends12() {
2148
+ _extends12 = Object.assign || function(target) {
2149
+ for (var i = 1; i < arguments.length; i++) {
2150
+ var source = arguments[i];
2151
+ for (var key in source) {
2152
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
2153
+ target[key] = source[key];
2154
+ }
2155
+ }
2156
+ }
2157
+ return target;
2158
+ };
2159
+ return _extends12.apply(this, arguments);
2160
+ }
2161
+ function _objectWithoutProperties12(source, excluded) {
2162
+ if (source == null)
2163
+ return {};
2164
+ var target = _objectWithoutPropertiesLoose12(source, excluded);
2165
+ var key, i;
2166
+ if (Object.getOwnPropertySymbols) {
2167
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
2168
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
2169
+ key = sourceSymbolKeys[i];
2170
+ if (excluded.indexOf(key) >= 0)
2171
+ continue;
2172
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
2173
+ continue;
2174
+ target[key] = source[key];
2175
+ }
2176
+ }
2177
+ return target;
2178
+ }
2179
+ function _objectWithoutPropertiesLoose12(source, excluded) {
2180
+ if (source == null)
2181
+ return {};
2182
+ var target = {};
2183
+ var sourceKeys = Object.keys(source);
2184
+ var key, i;
2185
+ for (i = 0; i < sourceKeys.length; i++) {
2186
+ key = sourceKeys[i];
2187
+ if (excluded.indexOf(key) >= 0)
2188
+ continue;
2189
+ target[key] = source[key];
2190
+ }
2191
+ return target;
2192
+ }
2193
+ var Trash = (0, import_react14.forwardRef)(function(_ref, ref) {
2194
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties12(_ref, ["color", "size"]);
2195
+ return /* @__PURE__ */ import_react14.default.createElement("svg", _extends12({
2196
+ ref,
2197
+ xmlns: "http://www.w3.org/2000/svg",
2198
+ width: size,
2199
+ height: size,
2200
+ viewBox: "0 0 24 24",
2201
+ fill: "none",
2202
+ stroke: color,
2203
+ strokeWidth: "2",
2204
+ strokeLinecap: "round",
2205
+ strokeLinejoin: "round"
2206
+ }, rest), /* @__PURE__ */ import_react14.default.createElement("polyline", {
2207
+ points: "3 6 5 6 21 6"
2208
+ }), /* @__PURE__ */ import_react14.default.createElement("path", {
2209
+ d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"
2210
+ }));
2211
+ });
2212
+ Trash.propTypes = {
2213
+ color: import_prop_types12.default.string,
2214
+ size: import_prop_types12.default.oneOfType([import_prop_types12.default.string, import_prop_types12.default.number])
2215
+ };
2216
+ Trash.displayName = "Trash";
2217
+ var trash_default = Trash;
2218
+
2219
+ // ../../node_modules/react-feather/dist/icons/type.js
2220
+ init_react_import();
2221
+ var import_react15 = __toESM(require("react"));
2222
+ var import_prop_types13 = __toESM(require_prop_types());
2223
+ function _extends13() {
2224
+ _extends13 = Object.assign || function(target) {
2225
+ for (var i = 1; i < arguments.length; i++) {
2226
+ var source = arguments[i];
2227
+ for (var key in source) {
2228
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
2229
+ target[key] = source[key];
2230
+ }
2231
+ }
2232
+ }
2233
+ return target;
2234
+ };
2235
+ return _extends13.apply(this, arguments);
2236
+ }
2237
+ function _objectWithoutProperties13(source, excluded) {
2238
+ if (source == null)
2239
+ return {};
2240
+ var target = _objectWithoutPropertiesLoose13(source, excluded);
2241
+ var key, i;
2242
+ if (Object.getOwnPropertySymbols) {
2243
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
2244
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
2245
+ key = sourceSymbolKeys[i];
2246
+ if (excluded.indexOf(key) >= 0)
2247
+ continue;
2248
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
2249
+ continue;
2250
+ target[key] = source[key];
2251
+ }
2252
+ }
2253
+ return target;
2254
+ }
2255
+ function _objectWithoutPropertiesLoose13(source, excluded) {
2256
+ if (source == null)
2257
+ return {};
2258
+ var target = {};
2259
+ var sourceKeys = Object.keys(source);
2260
+ var key, i;
2261
+ for (i = 0; i < sourceKeys.length; i++) {
2262
+ key = sourceKeys[i];
2263
+ if (excluded.indexOf(key) >= 0)
2264
+ continue;
2265
+ target[key] = source[key];
2266
+ }
2267
+ return target;
2268
+ }
2269
+ var Type = (0, import_react15.forwardRef)(function(_ref, ref) {
2270
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties13(_ref, ["color", "size"]);
2271
+ return /* @__PURE__ */ import_react15.default.createElement("svg", _extends13({
2272
+ ref,
2273
+ xmlns: "http://www.w3.org/2000/svg",
2274
+ width: size,
2275
+ height: size,
2276
+ viewBox: "0 0 24 24",
2277
+ fill: "none",
2278
+ stroke: color,
2279
+ strokeWidth: "2",
2280
+ strokeLinecap: "round",
2281
+ strokeLinejoin: "round"
2282
+ }, rest), /* @__PURE__ */ import_react15.default.createElement("polyline", {
2283
+ points: "4 7 4 4 20 4 20 7"
2284
+ }), /* @__PURE__ */ import_react15.default.createElement("line", {
2285
+ x1: "9",
2286
+ y1: "20",
2287
+ x2: "15",
2288
+ y2: "20"
2289
+ }), /* @__PURE__ */ import_react15.default.createElement("line", {
2290
+ x1: "12",
2291
+ y1: "4",
2292
+ x2: "12",
2293
+ y2: "20"
2294
+ }));
2295
+ });
2296
+ Type.propTypes = {
2297
+ color: import_prop_types13.default.string,
2298
+ size: import_prop_types13.default.oneOfType([import_prop_types13.default.string, import_prop_types13.default.number])
2299
+ };
2300
+ Type.displayName = "Type";
2301
+ var type_default = Type;
274
2302
 
275
2303
  // lib/use-modifier-held.ts
276
2304
  init_react_import();
277
- var import_react3 = require("react");
2305
+ var import_react16 = require("react");
278
2306
  var useModifierHeld = (modifier) => {
279
- const [modifierHeld, setModifierHeld] = (0, import_react3.useState)(false);
280
- (0, import_react3.useEffect)(() => {
2307
+ const [modifierHeld, setModifierHeld] = (0, import_react16.useState)(false);
2308
+ (0, import_react16.useEffect)(() => {
281
2309
  function downHandler({ key }) {
282
2310
  if (key === modifier) {
283
2311
  setModifierHeld(true);
@@ -321,7 +2349,7 @@ var DraggableComponent = ({
321
2349
  style
322
2350
  }) => {
323
2351
  const isModifierHeld = useModifierHeld("Alt");
324
- (0, import_react4.useEffect)(onMount, []);
2352
+ (0, import_react17.useEffect)(onMount, []);
325
2353
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
326
2354
  import_react_beautiful_dnd.Draggable,
327
2355
  {
@@ -352,8 +2380,8 @@ var DraggableComponent = ({
352
2380
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: getClassName2("contents"), children }),
353
2381
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: getClassName2("overlay"), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: getClassName2("actions"), children: [
354
2382
  label && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: getClassName2("actionsLabel"), children: label }),
355
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", { className: getClassName2("action"), onClick: onDuplicate, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_feather.Copy, { size: 16 }) }),
356
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", { className: getClassName2("action"), onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_feather.Trash, { size: 16 }) })
2383
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", { className: getClassName2("action"), onClick: onDuplicate, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(copy_default, { size: 16 }) }),
2384
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("button", { className: getClassName2("action"), onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(trash_default, { size: 16 }) })
357
2385
  ] }) })
358
2386
  ]
359
2387
  })
@@ -365,13 +2393,13 @@ var DraggableComponent = ({
365
2393
 
366
2394
  // components/DroppableStrictMode/index.tsx
367
2395
  init_react_import();
368
- var import_react5 = require("react");
2396
+ var import_react18 = require("react");
369
2397
  var import_react_beautiful_dnd2 = require("react-beautiful-dnd");
370
2398
  var import_jsx_runtime3 = require("react/jsx-runtime");
371
2399
  var DroppableStrictMode = (_a) => {
372
2400
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
373
- const [enabled, setEnabled] = (0, import_react5.useState)(false);
374
- (0, import_react5.useEffect)(() => {
2401
+ const [enabled, setEnabled] = (0, import_react18.useState)(false);
2402
+ (0, import_react18.useEffect)(() => {
375
2403
  const animation = requestAnimationFrame(() => setEnabled(true));
376
2404
  return () => {
377
2405
  cancelAnimationFrame(animation);
@@ -450,7 +2478,7 @@ var styles_module_default2 = { "DropZone": "_DropZone_1980k_1", "DropZone-conten
450
2478
 
451
2479
  // components/DropZone/context.tsx
452
2480
  init_react_import();
453
- var import_react6 = require("react");
2481
+ var import_react19 = require("react");
454
2482
  var import_use_debounce = require("use-debounce");
455
2483
 
456
2484
  // lib/get-zone-id.ts
@@ -467,29 +2495,29 @@ var getZoneId = (zoneCompound) => {
467
2495
 
468
2496
  // components/DropZone/context.tsx
469
2497
  var import_jsx_runtime4 = require("react/jsx-runtime");
470
- var dropZoneContext = (0, import_react6.createContext)(null);
2498
+ var dropZoneContext = (0, import_react19.createContext)(null);
471
2499
  var DropZoneProvider = ({
472
2500
  children,
473
2501
  value
474
2502
  }) => {
475
- const [hoveringArea, setHoveringArea] = (0, import_react6.useState)(null);
476
- const [hoveringZone, setHoveringZone] = (0, import_react6.useState)(
2503
+ const [hoveringArea, setHoveringArea] = (0, import_react19.useState)(null);
2504
+ const [hoveringZone, setHoveringZone] = (0, import_react19.useState)(
477
2505
  rootDroppableId
478
2506
  );
479
- const [hoveringComponent, setHoveringComponent] = (0, import_react6.useState)();
2507
+ const [hoveringComponent, setHoveringComponent] = (0, import_react19.useState)();
480
2508
  const [hoveringAreaDb] = (0, import_use_debounce.useDebounce)(hoveringArea, 75, { leading: false });
481
- const [areasWithZones, setAreasWithZones] = (0, import_react6.useState)(
2509
+ const [areasWithZones, setAreasWithZones] = (0, import_react19.useState)(
482
2510
  {}
483
2511
  );
484
- const [activeZones, setActiveZones] = (0, import_react6.useState)({});
2512
+ const [activeZones, setActiveZones] = (0, import_react19.useState)({});
485
2513
  const { dispatch = null } = value ? value : {};
486
- const registerZoneArea = (0, import_react6.useCallback)(
2514
+ const registerZoneArea = (0, import_react19.useCallback)(
487
2515
  (area) => {
488
2516
  setAreasWithZones((latest) => __spreadProps(__spreadValues({}, latest), { [area]: true }));
489
2517
  },
490
2518
  [setAreasWithZones]
491
2519
  );
492
- const registerZone = (0, import_react6.useCallback)(
2520
+ const registerZone = (0, import_react19.useCallback)(
493
2521
  (zoneCompound) => {
494
2522
  if (!dispatch) {
495
2523
  return;
@@ -502,7 +2530,7 @@ var DropZoneProvider = ({
502
2530
  },
503
2531
  [setActiveZones, dispatch]
504
2532
  );
505
- const unregisterZone = (0, import_react6.useCallback)(
2533
+ const unregisterZone = (0, import_react19.useCallback)(
506
2534
  (zoneCompound) => {
507
2535
  if (!dispatch) {
508
2536
  return;
@@ -517,8 +2545,8 @@ var DropZoneProvider = ({
517
2545
  },
518
2546
  [setActiveZones, dispatch]
519
2547
  );
520
- const [pathData, setPathData] = (0, import_react6.useState)();
521
- const registerPath = (0, import_react6.useCallback)(
2548
+ const [pathData, setPathData] = (0, import_react19.useState)();
2549
+ const registerPath = (0, import_react19.useCallback)(
522
2550
  (selector) => {
523
2551
  if (!(value == null ? void 0 : value.data)) {
524
2552
  return;
@@ -571,7 +2599,7 @@ var import_jsx_runtime5 = require("react/jsx-runtime");
571
2599
  var getClassName3 = get_class_name_factory_default("DropZone", styles_module_default2);
572
2600
  function DropZoneEdit({ zone, style }) {
573
2601
  var _a;
574
- const ctx = (0, import_react7.useContext)(dropZoneContext);
2602
+ const ctx = (0, import_react20.useContext)(dropZoneContext);
575
2603
  const {
576
2604
  // These all need setting via context
577
2605
  data,
@@ -588,12 +2616,12 @@ function DropZoneEdit({ zone, style }) {
588
2616
  } = ctx || {};
589
2617
  let content = data.content || [];
590
2618
  let zoneCompound = rootDroppableId;
591
- (0, import_react7.useEffect)(() => {
2619
+ (0, import_react20.useEffect)(() => {
592
2620
  if (areaId && registerZoneArea) {
593
2621
  registerZoneArea(areaId);
594
2622
  }
595
2623
  }, [areaId]);
596
- (0, import_react7.useEffect)(() => {
2624
+ (0, import_react20.useEffect)(() => {
597
2625
  if (ctx == null ? void 0 : ctx.registerZone) {
598
2626
  ctx == null ? void 0 : ctx.registerZone(zoneCompound);
599
2627
  }
@@ -794,7 +2822,7 @@ function DropZoneEdit({ zone, style }) {
794
2822
  );
795
2823
  }
796
2824
  function DropZoneRender({ zone }) {
797
- const ctx = (0, import_react7.useContext)(dropZoneContext);
2825
+ const ctx = (0, import_react20.useContext)(dropZoneContext);
798
2826
  const { data, areaId = "root", config } = ctx || {};
799
2827
  let zoneCompound = rootDroppableId;
800
2828
  let content = (data == null ? void 0 : data.content) || [];
@@ -821,7 +2849,7 @@ function DropZoneRender({ zone }) {
821
2849
  }) });
822
2850
  }
823
2851
  function DropZone(props) {
824
- const ctx = (0, import_react7.useContext)(dropZoneContext);
2852
+ const ctx = (0, import_react20.useContext)(dropZoneContext);
825
2853
  if ((ctx == null ? void 0 : ctx.mode) === "edit") {
826
2854
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(DropZoneEdit, __spreadValues({}, props));
827
2855
  }
@@ -833,7 +2861,7 @@ init_react_import();
833
2861
 
834
2862
  // components/IconButton/IconButton.tsx
835
2863
  init_react_import();
836
- var import_react8 = require("react");
2864
+ var import_react21 = require("react");
837
2865
 
838
2866
  // css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css#css-module
839
2867
  init_react_import();
@@ -855,7 +2883,7 @@ var IconButton = ({
855
2883
  fullWidth,
856
2884
  title
857
2885
  }) => {
858
- const [loading, setLoading] = (0, import_react8.useState)(false);
2886
+ const [loading, setLoading] = (0, import_react21.useState)(false);
859
2887
  const ElementType = href ? "a" : "button";
860
2888
  const el = /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
861
2889
  ElementType,
@@ -895,7 +2923,7 @@ var IconButton = ({
895
2923
 
896
2924
  // components/Puck/index.tsx
897
2925
  init_react_import();
898
- var import_react12 = require("react");
2926
+ var import_react25 = require("react");
899
2927
  var import_react_beautiful_dnd4 = require("react-beautiful-dnd");
900
2928
 
901
2929
  // components/InputOrGroup/index.tsx
@@ -903,14 +2931,13 @@ init_react_import();
903
2931
 
904
2932
  // components/ExternalInput/index.tsx
905
2933
  init_react_import();
906
- var import_react9 = require("react");
2934
+ var import_react22 = require("react");
907
2935
 
908
2936
  // css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css#css-module
909
2937
  init_react_import();
910
2938
  var styles_module_default3 = { "ExternalInput": "_ExternalInput_l4bks_1", "ExternalInput-actions": "_ExternalInput-actions_l4bks_5", "ExternalInput-button": "_ExternalInput-button_l4bks_9", "ExternalInput-detachButton": "_ExternalInput-detachButton_l4bks_28", "ExternalInput--hasData": "_ExternalInput--hasData_l4bks_35", "ExternalInput-modal": "_ExternalInput-modal_l4bks_55", "ExternalInput--modalVisible": "_ExternalInput--modalVisible_l4bks_69", "ExternalInput-modalInner": "_ExternalInput-modalInner_l4bks_73", "ExternalInput-modalHeading": "_ExternalInput-modalHeading_l4bks_84", "ExternalInput-modalTableWrapper": "_ExternalInput-modalTableWrapper_l4bks_89" };
911
2939
 
912
2940
  // components/ExternalInput/index.tsx
913
- var import_react_feather2 = require("react-feather");
914
2941
  var import_jsx_runtime7 = require("react/jsx-runtime");
915
2942
  var getClassName5 = get_class_name_factory_default("ExternalInput", styles_module_default3);
916
2943
  var ExternalInput = ({
@@ -918,10 +2945,10 @@ var ExternalInput = ({
918
2945
  onChange,
919
2946
  value = null
920
2947
  }) => {
921
- const [data, setData] = (0, import_react9.useState)([]);
922
- const [isOpen, setOpen] = (0, import_react9.useState)(false);
923
- const [selectedData, setSelectedData] = (0, import_react9.useState)(value);
924
- (0, import_react9.useEffect)(() => {
2948
+ const [data, setData] = (0, import_react22.useState)([]);
2949
+ const [isOpen, setOpen] = (0, import_react22.useState)(false);
2950
+ const [selectedData, setSelectedData] = (0, import_react22.useState)(value);
2951
+ (0, import_react22.useEffect)(() => {
925
2952
  (() => __async(void 0, null, function* () {
926
2953
  if (field.adaptor) {
927
2954
  const listData = yield field.adaptor.fetchList(field.adaptorParams);
@@ -949,7 +2976,7 @@ var ExternalInput = ({
949
2976
  onClick: () => setOpen(true),
950
2977
  className: getClassName5("button"),
951
2978
  children: selectedData ? field.getItemSummary ? field.getItemSummary(selectedData) : `${field.adaptor.name} item` : /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
952
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_feather2.Link, { size: "16" }),
2979
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(link_default, { size: "16" }),
953
2980
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { children: [
954
2981
  "Select from ",
955
2982
  field.adaptor.name
@@ -1007,7 +3034,6 @@ init_react_import();
1007
3034
  var styles_module_default4 = { "Input": "_Input_izwhv_1", "Input-label": "_Input-label_izwhv_27", "Input-labelIcon": "_Input-labelIcon_izwhv_34", "Input-input": "_Input-input_izwhv_39", "Input--readOnly": "_Input--readOnly_izwhv_60", "Input-arrayItem": "_Input-arrayItem_izwhv_69", "Input-fieldset": "_Input-fieldset_izwhv_95", "Input-arrayItemAction": "_Input-arrayItemAction_izwhv_116", "Input-addButton": "_Input-addButton_izwhv_135", "Input-array": "_Input-array_izwhv_69", "Input-radioGroupItems": "_Input-radioGroupItems_izwhv_156", "Input-radio": "_Input-radio_izwhv_156", "Input-radioInner": "_Input-radioInner_izwhv_173", "Input-radioInput": "_Input-radioInput_izwhv_185" };
1008
3035
 
1009
3036
  // components/InputOrGroup/index.tsx
1010
- var import_react_feather3 = require("react-feather");
1011
3037
  var import_jsx_runtime8 = require("react/jsx-runtime");
1012
3038
  var getClassName6 = get_class_name_factory_default("Input", styles_module_default4);
1013
3039
  var FieldLabel = ({
@@ -1037,7 +3063,7 @@ var InputOrGroup = ({
1037
3063
  }
1038
3064
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6(), children: [
1039
3065
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("b", { className: getClassName6("label"), children: [
1040
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_feather3.List, { size: 16 }) }),
3066
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(list_default, { size: 16 }) }),
1041
3067
  label || name
1042
3068
  ] }),
1043
3069
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6("array"), children: [
@@ -1057,7 +3083,7 @@ var InputOrGroup = ({
1057
3083
  onChange(existingValue);
1058
3084
  },
1059
3085
  title: "Delete",
1060
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_feather3.Trash, { size: 21 })
3086
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(trash_default, { size: 21 })
1061
3087
  }
1062
3088
  ) })
1063
3089
  ] }),
@@ -1110,7 +3136,7 @@ var InputOrGroup = ({
1110
3136
  }
1111
3137
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("label", { className: getClassName6(), children: [
1112
3138
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6("label"), children: [
1113
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_feather3.ChevronDown, { size: 16 }) }),
3139
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(chevron_down_default, { size: 16 }) }),
1114
3140
  label || name
1115
3141
  ] }),
1116
3142
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
@@ -1140,7 +3166,7 @@ var InputOrGroup = ({
1140
3166
  if (field.type === "textarea") {
1141
3167
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("label", { className: getClassName6({ readOnly }), children: [
1142
3168
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6("label"), children: [
1143
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_feather3.Type, { size: 16 }) }),
3169
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(type_default, { size: 16 }) }),
1144
3170
  label || name
1145
3171
  ] }),
1146
3172
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
@@ -1163,7 +3189,7 @@ var InputOrGroup = ({
1163
3189
  }
1164
3190
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6(), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6("radioGroup"), children: [
1165
3191
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6("label"), children: [
1166
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_feather3.CheckCircle, { size: 16 }) }),
3192
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("labelIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(check_circle_default, { size: 16 }) }),
1167
3193
  field.label || name
1168
3194
  ] }),
1169
3195
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: getClassName6("radioGroupItems"), children: field.options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
@@ -1211,8 +3237,8 @@ var InputOrGroup = ({
1211
3237
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("label", { className: getClassName6({ readOnly }), children: [
1212
3238
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6("label"), children: [
1213
3239
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: getClassName6("labelIcon"), children: [
1214
- field.type === "text" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_feather3.Type, { size: 16 }),
1215
- field.type === "number" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_feather3.Hash, { size: 16 })
3240
+ field.type === "text" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(type_default, { size: 16 }),
3241
+ field.type === "number" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(hash_default, { size: 16 })
1216
3242
  ] }),
1217
3243
  label || name
1218
3244
  ] }),
@@ -1246,7 +3272,6 @@ init_react_import();
1246
3272
  var styles_module_default5 = { "ComponentList": "_ComponentList_1ybn0_1", "ComponentList-item": "_ComponentList-item_1ybn0_9", "ComponentList-itemShadow": "_ComponentList-itemShadow_1ybn0_10", "ComponentList-itemIcon": "_ComponentList-itemIcon_1ybn0_28" };
1247
3273
 
1248
3274
  // components/ComponentList/index.tsx
1249
- var import_react_feather4 = require("react-feather");
1250
3275
  var import_jsx_runtime9 = require("react/jsx-runtime");
1251
3276
  var getClassName7 = get_class_name_factory_default("ComponentList", styles_module_default5);
1252
3277
  var ComponentList = ({ config }) => {
@@ -1277,7 +3302,7 @@ var ComponentList = ({ config }) => {
1277
3302
  }),
1278
3303
  children: [
1279
3304
  componentKey,
1280
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: getClassName7("itemIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_feather4.Grid, { size: 18 }) })
3305
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: getClassName7("itemIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(grid_default, { size: 18 }) })
1281
3306
  ]
1282
3307
  })
1283
3308
  ),
@@ -1288,7 +3313,7 @@ var ComponentList = ({ config }) => {
1288
3313
  style: { transform: "none !important" },
1289
3314
  children: [
1290
3315
  componentKey,
1291
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: getClassName7("itemIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_feather4.Grid, { size: 18 }) })
3316
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: getClassName7("itemIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(grid_default, { size: 18 }) })
1292
3317
  ]
1293
3318
  }
1294
3319
  )
@@ -1306,10 +3331,10 @@ var ComponentList = ({ config }) => {
1306
3331
 
1307
3332
  // lib/use-placeholder-style.ts
1308
3333
  init_react_import();
1309
- var import_react10 = require("react");
3334
+ var import_react23 = require("react");
1310
3335
  var usePlaceholderStyle = () => {
1311
3336
  const queryAttr = "data-rbd-drag-handle-draggable-id";
1312
- const [placeholderStyle, setPlaceholderStyle] = (0, import_react10.useState)();
3337
+ const [placeholderStyle, setPlaceholderStyle] = (0, import_react23.useState)();
1313
3338
  const onDragStartOrUpdate = (draggedItem) => {
1314
3339
  var _a;
1315
3340
  const draggableId = draggedItem.draggableId;
@@ -1383,7 +3408,6 @@ var Heading = ({ children, rank, size = "m" }) => {
1383
3408
  };
1384
3409
 
1385
3410
  // components/SidebarSection/index.tsx
1386
- var import_react_feather5 = require("react-feather");
1387
3411
  var import_jsx_runtime11 = require("react/jsx-runtime");
1388
3412
  var getClassName9 = get_class_name_factory_default("SidebarSection", styles_module_default6);
1389
3413
  var SidebarSection = ({
@@ -1405,7 +3429,7 @@ var SidebarSection = ({
1405
3429
  children: breadcrumb.label
1406
3430
  }
1407
3431
  ),
1408
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_feather5.ChevronRight, { size: 16 })
3432
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(chevron_right_default, { size: 16 })
1409
3433
  ] }, i)),
1410
3434
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: getClassName9("heading"), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Heading, { rank: 2, size: "xs", children: title }) })
1411
3435
  ] }) }),
@@ -1413,9 +3437,6 @@ var SidebarSection = ({
1413
3437
  ] });
1414
3438
  };
1415
3439
 
1416
- // components/Puck/index.tsx
1417
- var import_react_feather7 = require("react-feather");
1418
-
1419
3440
  // lib/reducer.ts
1420
3441
  init_react_import();
1421
3442
 
@@ -1716,8 +3737,7 @@ var scrollIntoView = (el) => {
1716
3737
  };
1717
3738
 
1718
3739
  // components/LayerTree/index.tsx
1719
- var import_react_feather6 = require("react-feather");
1720
- var import_react11 = require("react");
3740
+ var import_react24 = require("react");
1721
3741
 
1722
3742
  // lib/find-zones-for-area.ts
1723
3743
  init_react_import();
@@ -1758,10 +3778,10 @@ var LayerTree = ({
1758
3778
  label
1759
3779
  }) => {
1760
3780
  const zones = data.zones || {};
1761
- const ctx = (0, import_react11.useContext)(dropZoneContext);
3781
+ const ctx = (0, import_react24.useContext)(dropZoneContext);
1762
3782
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
1763
3783
  label && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: getClassName10("zoneTitle"), children: [
1764
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: getClassName10("zoneIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_feather6.Layers, { size: "16" }) }),
3784
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: getClassName10("zoneIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(layers_default, { size: "16" }) }),
1765
3785
  " ",
1766
3786
  label
1767
3787
  ] }),
@@ -1827,11 +3847,11 @@ var LayerTree = ({
1827
3847
  {
1828
3848
  className: getClassNameLayer("chevron"),
1829
3849
  title: isSelected ? "Collapse" : "Expand",
1830
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_feather6.ChevronDown, { size: "12" })
3850
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(chevron_down_default, { size: "12" })
1831
3851
  }
1832
3852
  ),
1833
3853
  /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: getClassNameLayer("title"), children: [
1834
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: getClassNameLayer("icon"), children: item.type === "Text" || item.type === "Heading" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_feather6.Type, { size: "16" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_feather6.Grid, { size: "16" }) }),
3854
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: getClassNameLayer("icon"), children: item.type === "Text" || item.type === "Heading" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(type_default, { size: "16" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(grid_default, { size: "16" }) }),
1835
3855
  item.type
1836
3856
  ] })
1837
3857
  ]
@@ -1907,14 +3927,14 @@ function Puck({
1907
3927
  headerPath
1908
3928
  }) {
1909
3929
  var _a, _b;
1910
- const [reducer] = (0, import_react12.useState)(() => createReducer({ config }));
1911
- const [data, dispatch] = (0, import_react12.useReducer)(
3930
+ const [reducer] = (0, import_react25.useState)(() => createReducer({ config }));
3931
+ const [data, dispatch] = (0, import_react25.useReducer)(
1912
3932
  reducer,
1913
3933
  flushZones(initialData)
1914
3934
  );
1915
- const [itemSelector, setItemSelector] = (0, import_react12.useState)(null);
3935
+ const [itemSelector, setItemSelector] = (0, import_react25.useState)(null);
1916
3936
  const selectedItem = itemSelector ? getItem(itemSelector, data) : null;
1917
- const Page = (0, import_react12.useCallback)(
3937
+ const Page = (0, import_react25.useCallback)(
1918
3938
  (pageProps) => {
1919
3939
  var _a2, _b2;
1920
3940
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
@@ -1929,7 +3949,7 @@ function Puck({
1929
3949
  },
1930
3950
  [config.root]
1931
3951
  );
1932
- const PageFieldWrapper = (0, import_react12.useCallback)(
3952
+ const PageFieldWrapper = (0, import_react25.useCallback)(
1933
3953
  (props) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1934
3954
  PluginRenderer,
1935
3955
  {
@@ -1941,7 +3961,7 @@ function Puck({
1941
3961
  ),
1942
3962
  []
1943
3963
  );
1944
- const ComponentFieldWrapper = (0, import_react12.useCallback)(
3964
+ const ComponentFieldWrapper = (0, import_react25.useCallback)(
1945
3965
  (props) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1946
3966
  PluginRenderer,
1947
3967
  {
@@ -1956,13 +3976,13 @@ function Puck({
1956
3976
  const FieldWrapper = itemSelector ? ComponentFieldWrapper : PageFieldWrapper;
1957
3977
  const rootFields = ((_a = config.root) == null ? void 0 : _a.fields) || defaultPageFields;
1958
3978
  let fields = selectedItem ? ((_b = config.components[selectedItem.type]) == null ? void 0 : _b.fields) || {} : rootFields;
1959
- (0, import_react12.useEffect)(() => {
3979
+ (0, import_react25.useEffect)(() => {
1960
3980
  if (onChange)
1961
3981
  onChange(data);
1962
3982
  }, [data]);
1963
3983
  const { onDragStartOrUpdate, placeholderStyle } = usePlaceholderStyle();
1964
- const [leftSidebarVisible, setLeftSidebarVisible] = (0, import_react12.useState)(true);
1965
- const [draggedItem, setDraggedItem] = (0, import_react12.useState)();
3984
+ const [leftSidebarVisible, setLeftSidebarVisible] = (0, import_react25.useState)(true);
3985
+ const [draggedItem, setDraggedItem] = (0, import_react25.useState)();
1966
3986
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "puck", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1967
3987
  import_react_beautiful_dnd4.DragDropContext,
1968
3988
  {
@@ -2067,7 +4087,7 @@ function Puck({
2067
4087
  onClick: () => {
2068
4088
  onPublish(data);
2069
4089
  },
2070
- icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_feather7.Globe, { size: "14px" }),
4090
+ icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(globe_default, { size: "14px" }),
2071
4091
  children: "Publish"
2072
4092
  }
2073
4093
  ),
@@ -2096,7 +4116,7 @@ function Puck({
2096
4116
  {
2097
4117
  onClick: () => setLeftSidebarVisible(!leftSidebarVisible),
2098
4118
  title: "Toggle left sidebar",
2099
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_feather7.Sidebar, {})
4119
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(sidebar_default, {})
2100
4120
  }
2101
4121
  )
2102
4122
  }
@@ -2131,7 +4151,7 @@ function Puck({
2131
4151
  onClick: () => {
2132
4152
  onPublish(data);
2133
4153
  },
2134
- icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_feather7.Globe, { size: "14px" }),
4154
+ icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(globe_default, { size: "14px" }),
2135
4155
  children: "Publish"
2136
4156
  }
2137
4157
  )
@@ -2355,4 +4375,31 @@ classnames/index.js:
2355
4375
  Licensed under the MIT License (MIT), see
2356
4376
  http://jedwatson.github.io/classnames
2357
4377
  *)
4378
+
4379
+ react-is/cjs/react-is.production.min.js:
4380
+ (** @license React v16.13.1
4381
+ * react-is.production.min.js
4382
+ *
4383
+ * Copyright (c) Facebook, Inc. and its affiliates.
4384
+ *
4385
+ * This source code is licensed under the MIT license found in the
4386
+ * LICENSE file in the root directory of this source tree.
4387
+ *)
4388
+
4389
+ react-is/cjs/react-is.development.js:
4390
+ (** @license React v16.13.1
4391
+ * react-is.development.js
4392
+ *
4393
+ * Copyright (c) Facebook, Inc. and its affiliates.
4394
+ *
4395
+ * This source code is licensed under the MIT license found in the
4396
+ * LICENSE file in the root directory of this source tree.
4397
+ *)
4398
+
4399
+ object-assign/index.js:
4400
+ (*
4401
+ object-assign
4402
+ (c) Sindre Sorhus
4403
+ @license MIT
4404
+ *)
2358
4405
  */