@measured/puck-plugin-heading-analyzer 0.13.0-canary.d13d00b → 0.13.0-canary.d1baf8f
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +574 -3434
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -23,6 +23,18 @@ var __spreadValues = (a2, b) => {
|
|
23
23
|
return a2;
|
24
24
|
};
|
25
25
|
var __spreadProps = (a2, b) => __defProps(a2, __getOwnPropDescs(b));
|
26
|
+
var __objRest = (source, exclude) => {
|
27
|
+
var target = {};
|
28
|
+
for (var prop in source)
|
29
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
30
|
+
target[prop] = source[prop];
|
31
|
+
if (source != null && __getOwnPropSymbols)
|
32
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
33
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
34
|
+
target[prop] = source[prop];
|
35
|
+
}
|
36
|
+
return target;
|
37
|
+
};
|
26
38
|
var __esm = (fn, res) => function __init() {
|
27
39
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
28
40
|
};
|
@@ -9671,9 +9683,9 @@ var require_react_dom_development = __commonJS({
|
|
9671
9683
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
9672
9684
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
9673
9685
|
}
|
9674
|
-
var
|
9686
|
+
var React30 = require("react");
|
9675
9687
|
var Scheduler = require_scheduler();
|
9676
|
-
var ReactSharedInternals =
|
9688
|
+
var ReactSharedInternals = React30.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
9677
9689
|
var suppressWarning = false;
|
9678
9690
|
function setSuppressWarning(newSuppressWarning) {
|
9679
9691
|
{
|
@@ -11278,7 +11290,7 @@ var require_react_dom_development = __commonJS({
|
|
11278
11290
|
{
|
11279
11291
|
if (props.value == null) {
|
11280
11292
|
if (typeof props.children === "object" && props.children !== null) {
|
11281
|
-
|
11293
|
+
React30.Children.forEach(props.children, function(child) {
|
11282
11294
|
if (child == null) {
|
11283
11295
|
return;
|
11284
11296
|
}
|
@@ -16677,7 +16689,7 @@ var require_react_dom_development = __commonJS({
|
|
16677
16689
|
}
|
16678
16690
|
}
|
16679
16691
|
}
|
16680
|
-
function
|
16692
|
+
function createElement27(type, props, rootContainerElement, parentNamespace) {
|
16681
16693
|
var isCustomComponentTag;
|
16682
16694
|
var ownerDocument = getOwnerDocumentFromRootContainer(rootContainerElement);
|
16683
16695
|
var domElement;
|
@@ -17538,7 +17550,7 @@ var require_react_dom_development = __commonJS({
|
|
17538
17550
|
}
|
17539
17551
|
parentNamespace = hostContextDev.namespace;
|
17540
17552
|
}
|
17541
|
-
var domElement =
|
17553
|
+
var domElement = createElement27(type, props, rootContainerInstance, parentNamespace);
|
17542
17554
|
precacheFiberNode(internalInstanceHandle, domElement);
|
17543
17555
|
updateFiberProps(domElement, props);
|
17544
17556
|
return domElement;
|
@@ -19725,7 +19737,7 @@ var require_react_dom_development = __commonJS({
|
|
19725
19737
|
}
|
19726
19738
|
}
|
19727
19739
|
var fakeInternalInstance = {};
|
19728
|
-
var emptyRefsObject = new
|
19740
|
+
var emptyRefsObject = new React30.Component().refs;
|
19729
19741
|
var didWarnAboutStateAssignmentForComponent;
|
19730
19742
|
var didWarnAboutUninitializedState;
|
19731
19743
|
var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
|
@@ -31218,8 +31230,8 @@ var require_use_sync_external_store_shim_development = __commonJS({
|
|
31218
31230
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
31219
31231
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
31220
31232
|
}
|
31221
|
-
var
|
31222
|
-
var ReactSharedInternals =
|
31233
|
+
var React30 = require("react");
|
31234
|
+
var ReactSharedInternals = React30.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
31223
31235
|
function error2(format) {
|
31224
31236
|
{
|
31225
31237
|
{
|
@@ -31249,13 +31261,13 @@ var require_use_sync_external_store_shim_development = __commonJS({
|
|
31249
31261
|
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
31250
31262
|
}
|
31251
31263
|
var objectIs = typeof Object.is === "function" ? Object.is : is2;
|
31252
|
-
var useState6 =
|
31264
|
+
var useState6 = React30.useState, useEffect6 = React30.useEffect, useLayoutEffect4 = React30.useLayoutEffect, useDebugValue2 = React30.useDebugValue;
|
31253
31265
|
var didWarnOld18Alpha = false;
|
31254
31266
|
var didWarnUncachedGetSnapshot = false;
|
31255
31267
|
function useSyncExternalStore3(subscribe, getSnapshot, getServerSnapshot) {
|
31256
31268
|
{
|
31257
31269
|
if (!didWarnOld18Alpha) {
|
31258
|
-
if (
|
31270
|
+
if (React30.startTransition !== void 0) {
|
31259
31271
|
didWarnOld18Alpha = true;
|
31260
31272
|
error2("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.");
|
31261
31273
|
}
|
@@ -31320,7 +31332,7 @@ var require_use_sync_external_store_shim_development = __commonJS({
|
|
31320
31332
|
var canUseDOM2 = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined");
|
31321
31333
|
var isServerEnvironment = !canUseDOM2;
|
31322
31334
|
var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore3;
|
31323
|
-
var useSyncExternalStore$2 =
|
31335
|
+
var useSyncExternalStore$2 = React30.useSyncExternalStore !== void 0 ? React30.useSyncExternalStore : shim;
|
31324
31336
|
exports.useSyncExternalStore = useSyncExternalStore$2;
|
31325
31337
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
31326
31338
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
@@ -31417,14 +31429,14 @@ var require_with_selector_development = __commonJS({
|
|
31417
31429
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
31418
31430
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
31419
31431
|
}
|
31420
|
-
var
|
31432
|
+
var React30 = require("react");
|
31421
31433
|
var shim = require_shim();
|
31422
31434
|
function is2(x, y) {
|
31423
31435
|
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
31424
31436
|
}
|
31425
31437
|
var objectIs = typeof Object.is === "function" ? Object.is : is2;
|
31426
31438
|
var useSyncExternalStore3 = shim.useSyncExternalStore;
|
31427
|
-
var useRef6 =
|
31439
|
+
var useRef6 = React30.useRef, useEffect6 = React30.useEffect, useMemo5 = React30.useMemo, useDebugValue2 = React30.useDebugValue;
|
31428
31440
|
function useSyncExternalStoreWithSelector3(subscribe, getSnapshot, getServerSnapshot, selector, isEqual3) {
|
31429
31441
|
var instRef = useRef6(null);
|
31430
31442
|
var inst;
|
@@ -41530,7 +41542,7 @@ var require_dist = __commonJS({
|
|
41530
41542
|
return a2;
|
41531
41543
|
};
|
41532
41544
|
var __spreadProps2 = (a2, b) => __defProps2(a2, __getOwnPropDescs2(b));
|
41533
|
-
var
|
41545
|
+
var __objRest2 = (source, exclude) => {
|
41534
41546
|
var target = {};
|
41535
41547
|
for (var prop in source)
|
41536
41548
|
if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0)
|
@@ -41646,942 +41658,6 @@ var require_dist = __commonJS({
|
|
41646
41658
|
})();
|
41647
41659
|
}
|
41648
41660
|
});
|
41649
|
-
var require_react_is_production_min3 = __commonJS2({
|
41650
|
-
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports2) {
|
41651
|
-
"use strict";
|
41652
|
-
init_react_import2();
|
41653
|
-
var b = "function" === typeof Symbol && Symbol.for;
|
41654
|
-
var c2 = b ? Symbol.for("react.element") : 60103;
|
41655
|
-
var d = b ? Symbol.for("react.portal") : 60106;
|
41656
|
-
var e2 = b ? Symbol.for("react.fragment") : 60107;
|
41657
|
-
var f2 = b ? Symbol.for("react.strict_mode") : 60108;
|
41658
|
-
var g = b ? Symbol.for("react.profiler") : 60114;
|
41659
|
-
var h = b ? Symbol.for("react.provider") : 60109;
|
41660
|
-
var k = b ? Symbol.for("react.context") : 60110;
|
41661
|
-
var l = b ? Symbol.for("react.async_mode") : 60111;
|
41662
|
-
var m = b ? Symbol.for("react.concurrent_mode") : 60111;
|
41663
|
-
var n2 = b ? Symbol.for("react.forward_ref") : 60112;
|
41664
|
-
var p = b ? Symbol.for("react.suspense") : 60113;
|
41665
|
-
var q = b ? Symbol.for("react.suspense_list") : 60120;
|
41666
|
-
var r2 = b ? Symbol.for("react.memo") : 60115;
|
41667
|
-
var t2 = b ? Symbol.for("react.lazy") : 60116;
|
41668
|
-
var v = b ? Symbol.for("react.block") : 60121;
|
41669
|
-
var w = b ? Symbol.for("react.fundamental") : 60117;
|
41670
|
-
var x = b ? Symbol.for("react.responder") : 60118;
|
41671
|
-
var y = b ? Symbol.for("react.scope") : 60119;
|
41672
|
-
function z(a2) {
|
41673
|
-
if ("object" === typeof a2 && null !== a2) {
|
41674
|
-
var u2 = a2.$$typeof;
|
41675
|
-
switch (u2) {
|
41676
|
-
case c2:
|
41677
|
-
switch (a2 = a2.type, a2) {
|
41678
|
-
case l:
|
41679
|
-
case m:
|
41680
|
-
case e2:
|
41681
|
-
case g:
|
41682
|
-
case f2:
|
41683
|
-
case p:
|
41684
|
-
return a2;
|
41685
|
-
default:
|
41686
|
-
switch (a2 = a2 && a2.$$typeof, a2) {
|
41687
|
-
case k:
|
41688
|
-
case n2:
|
41689
|
-
case t2:
|
41690
|
-
case r2:
|
41691
|
-
case h:
|
41692
|
-
return a2;
|
41693
|
-
default:
|
41694
|
-
return u2;
|
41695
|
-
}
|
41696
|
-
}
|
41697
|
-
case d:
|
41698
|
-
return u2;
|
41699
|
-
}
|
41700
|
-
}
|
41701
|
-
}
|
41702
|
-
function A(a2) {
|
41703
|
-
return z(a2) === m;
|
41704
|
-
}
|
41705
|
-
exports2.AsyncMode = l;
|
41706
|
-
exports2.ConcurrentMode = m;
|
41707
|
-
exports2.ContextConsumer = k;
|
41708
|
-
exports2.ContextProvider = h;
|
41709
|
-
exports2.Element = c2;
|
41710
|
-
exports2.ForwardRef = n2;
|
41711
|
-
exports2.Fragment = e2;
|
41712
|
-
exports2.Lazy = t2;
|
41713
|
-
exports2.Memo = r2;
|
41714
|
-
exports2.Portal = d;
|
41715
|
-
exports2.Profiler = g;
|
41716
|
-
exports2.StrictMode = f2;
|
41717
|
-
exports2.Suspense = p;
|
41718
|
-
exports2.isAsyncMode = function(a2) {
|
41719
|
-
return A(a2) || z(a2) === l;
|
41720
|
-
};
|
41721
|
-
exports2.isConcurrentMode = A;
|
41722
|
-
exports2.isContextConsumer = function(a2) {
|
41723
|
-
return z(a2) === k;
|
41724
|
-
};
|
41725
|
-
exports2.isContextProvider = function(a2) {
|
41726
|
-
return z(a2) === h;
|
41727
|
-
};
|
41728
|
-
exports2.isElement = function(a2) {
|
41729
|
-
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
|
41730
|
-
};
|
41731
|
-
exports2.isForwardRef = function(a2) {
|
41732
|
-
return z(a2) === n2;
|
41733
|
-
};
|
41734
|
-
exports2.isFragment = function(a2) {
|
41735
|
-
return z(a2) === e2;
|
41736
|
-
};
|
41737
|
-
exports2.isLazy = function(a2) {
|
41738
|
-
return z(a2) === t2;
|
41739
|
-
};
|
41740
|
-
exports2.isMemo = function(a2) {
|
41741
|
-
return z(a2) === r2;
|
41742
|
-
};
|
41743
|
-
exports2.isPortal = function(a2) {
|
41744
|
-
return z(a2) === d;
|
41745
|
-
};
|
41746
|
-
exports2.isProfiler = function(a2) {
|
41747
|
-
return z(a2) === g;
|
41748
|
-
};
|
41749
|
-
exports2.isStrictMode = function(a2) {
|
41750
|
-
return z(a2) === f2;
|
41751
|
-
};
|
41752
|
-
exports2.isSuspense = function(a2) {
|
41753
|
-
return z(a2) === p;
|
41754
|
-
};
|
41755
|
-
exports2.isValidElementType = function(a2) {
|
41756
|
-
return "string" === typeof a2 || "function" === typeof a2 || a2 === e2 || a2 === m || a2 === g || a2 === f2 || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t2 || a2.$$typeof === r2 || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n2 || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y || a2.$$typeof === v);
|
41757
|
-
};
|
41758
|
-
exports2.typeOf = z;
|
41759
|
-
}
|
41760
|
-
});
|
41761
|
-
var require_react_is_development3 = __commonJS2({
|
41762
|
-
"../../node_modules/react-is/cjs/react-is.development.js"(exports2) {
|
41763
|
-
"use strict";
|
41764
|
-
init_react_import2();
|
41765
|
-
if (process.env.NODE_ENV !== "production") {
|
41766
|
-
(function() {
|
41767
|
-
"use strict";
|
41768
|
-
var hasSymbol = typeof Symbol === "function" && Symbol.for;
|
41769
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
|
41770
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
|
41771
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
|
41772
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
|
41773
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
|
41774
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
|
41775
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
|
41776
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
|
41777
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
|
41778
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
|
41779
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
|
41780
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
|
41781
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
|
41782
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
|
41783
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
|
41784
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
|
41785
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
|
41786
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
|
41787
|
-
function isValidElementType2(type) {
|
41788
|
-
return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
41789
|
-
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);
|
41790
|
-
}
|
41791
|
-
function typeOf(object) {
|
41792
|
-
if (typeof object === "object" && object !== null) {
|
41793
|
-
var $$typeof = object.$$typeof;
|
41794
|
-
switch ($$typeof) {
|
41795
|
-
case REACT_ELEMENT_TYPE:
|
41796
|
-
var type = object.type;
|
41797
|
-
switch (type) {
|
41798
|
-
case REACT_ASYNC_MODE_TYPE:
|
41799
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
41800
|
-
case REACT_FRAGMENT_TYPE:
|
41801
|
-
case REACT_PROFILER_TYPE:
|
41802
|
-
case REACT_STRICT_MODE_TYPE:
|
41803
|
-
case REACT_SUSPENSE_TYPE:
|
41804
|
-
return type;
|
41805
|
-
default:
|
41806
|
-
var $$typeofType = type && type.$$typeof;
|
41807
|
-
switch ($$typeofType) {
|
41808
|
-
case REACT_CONTEXT_TYPE:
|
41809
|
-
case REACT_FORWARD_REF_TYPE:
|
41810
|
-
case REACT_LAZY_TYPE:
|
41811
|
-
case REACT_MEMO_TYPE:
|
41812
|
-
case REACT_PROVIDER_TYPE:
|
41813
|
-
return $$typeofType;
|
41814
|
-
default:
|
41815
|
-
return $$typeof;
|
41816
|
-
}
|
41817
|
-
}
|
41818
|
-
case REACT_PORTAL_TYPE:
|
41819
|
-
return $$typeof;
|
41820
|
-
}
|
41821
|
-
}
|
41822
|
-
return void 0;
|
41823
|
-
}
|
41824
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
41825
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
41826
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
41827
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
41828
|
-
var Element2 = REACT_ELEMENT_TYPE;
|
41829
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
41830
|
-
var Fragment14 = REACT_FRAGMENT_TYPE;
|
41831
|
-
var Lazy = REACT_LAZY_TYPE;
|
41832
|
-
var Memo = REACT_MEMO_TYPE;
|
41833
|
-
var Portal = REACT_PORTAL_TYPE;
|
41834
|
-
var Profiler = REACT_PROFILER_TYPE;
|
41835
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
41836
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
41837
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
41838
|
-
function isAsyncMode(object) {
|
41839
|
-
{
|
41840
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
41841
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
41842
|
-
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.");
|
41843
|
-
}
|
41844
|
-
}
|
41845
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
41846
|
-
}
|
41847
|
-
function isConcurrentMode(object) {
|
41848
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
41849
|
-
}
|
41850
|
-
function isContextConsumer2(object) {
|
41851
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
41852
|
-
}
|
41853
|
-
function isContextProvider(object) {
|
41854
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
41855
|
-
}
|
41856
|
-
function isElement2(object) {
|
41857
|
-
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
41858
|
-
}
|
41859
|
-
function isForwardRef(object) {
|
41860
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
41861
|
-
}
|
41862
|
-
function isFragment(object) {
|
41863
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
41864
|
-
}
|
41865
|
-
function isLazy(object) {
|
41866
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
41867
|
-
}
|
41868
|
-
function isMemo(object) {
|
41869
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
41870
|
-
}
|
41871
|
-
function isPortal(object) {
|
41872
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
41873
|
-
}
|
41874
|
-
function isProfiler(object) {
|
41875
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
41876
|
-
}
|
41877
|
-
function isStrictMode(object) {
|
41878
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
41879
|
-
}
|
41880
|
-
function isSuspense(object) {
|
41881
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
41882
|
-
}
|
41883
|
-
exports2.AsyncMode = AsyncMode;
|
41884
|
-
exports2.ConcurrentMode = ConcurrentMode;
|
41885
|
-
exports2.ContextConsumer = ContextConsumer;
|
41886
|
-
exports2.ContextProvider = ContextProvider;
|
41887
|
-
exports2.Element = Element2;
|
41888
|
-
exports2.ForwardRef = ForwardRef;
|
41889
|
-
exports2.Fragment = Fragment14;
|
41890
|
-
exports2.Lazy = Lazy;
|
41891
|
-
exports2.Memo = Memo;
|
41892
|
-
exports2.Portal = Portal;
|
41893
|
-
exports2.Profiler = Profiler;
|
41894
|
-
exports2.StrictMode = StrictMode;
|
41895
|
-
exports2.Suspense = Suspense;
|
41896
|
-
exports2.isAsyncMode = isAsyncMode;
|
41897
|
-
exports2.isConcurrentMode = isConcurrentMode;
|
41898
|
-
exports2.isContextConsumer = isContextConsumer2;
|
41899
|
-
exports2.isContextProvider = isContextProvider;
|
41900
|
-
exports2.isElement = isElement2;
|
41901
|
-
exports2.isForwardRef = isForwardRef;
|
41902
|
-
exports2.isFragment = isFragment;
|
41903
|
-
exports2.isLazy = isLazy;
|
41904
|
-
exports2.isMemo = isMemo;
|
41905
|
-
exports2.isPortal = isPortal;
|
41906
|
-
exports2.isProfiler = isProfiler;
|
41907
|
-
exports2.isStrictMode = isStrictMode;
|
41908
|
-
exports2.isSuspense = isSuspense;
|
41909
|
-
exports2.isValidElementType = isValidElementType2;
|
41910
|
-
exports2.typeOf = typeOf;
|
41911
|
-
})();
|
41912
|
-
}
|
41913
|
-
}
|
41914
|
-
});
|
41915
|
-
var require_react_is3 = __commonJS2({
|
41916
|
-
"../../node_modules/react-is/index.js"(exports2, module22) {
|
41917
|
-
"use strict";
|
41918
|
-
init_react_import2();
|
41919
|
-
if (process.env.NODE_ENV === "production") {
|
41920
|
-
module22.exports = require_react_is_production_min3();
|
41921
|
-
} else {
|
41922
|
-
module22.exports = require_react_is_development3();
|
41923
|
-
}
|
41924
|
-
}
|
41925
|
-
});
|
41926
|
-
var require_object_assign2 = __commonJS2({
|
41927
|
-
"../../node_modules/object-assign/index.js"(exports2, module22) {
|
41928
|
-
"use strict";
|
41929
|
-
init_react_import2();
|
41930
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
41931
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
41932
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
41933
|
-
function toObject(val) {
|
41934
|
-
if (val === null || val === void 0) {
|
41935
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
41936
|
-
}
|
41937
|
-
return Object(val);
|
41938
|
-
}
|
41939
|
-
function shouldUseNative() {
|
41940
|
-
try {
|
41941
|
-
if (!Object.assign) {
|
41942
|
-
return false;
|
41943
|
-
}
|
41944
|
-
var test1 = new String("abc");
|
41945
|
-
test1[5] = "de";
|
41946
|
-
if (Object.getOwnPropertyNames(test1)[0] === "5") {
|
41947
|
-
return false;
|
41948
|
-
}
|
41949
|
-
var test2 = {};
|
41950
|
-
for (var i2 = 0; i2 < 10; i2++) {
|
41951
|
-
test2["_" + String.fromCharCode(i2)] = i2;
|
41952
|
-
}
|
41953
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function(n2) {
|
41954
|
-
return test2[n2];
|
41955
|
-
});
|
41956
|
-
if (order2.join("") !== "0123456789") {
|
41957
|
-
return false;
|
41958
|
-
}
|
41959
|
-
var test3 = {};
|
41960
|
-
"abcdefghijklmnopqrst".split("").forEach(function(letter) {
|
41961
|
-
test3[letter] = letter;
|
41962
|
-
});
|
41963
|
-
if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
|
41964
|
-
return false;
|
41965
|
-
}
|
41966
|
-
return true;
|
41967
|
-
} catch (err) {
|
41968
|
-
return false;
|
41969
|
-
}
|
41970
|
-
}
|
41971
|
-
module22.exports = shouldUseNative() ? Object.assign : function(target, source) {
|
41972
|
-
var from;
|
41973
|
-
var to = toObject(target);
|
41974
|
-
var symbols;
|
41975
|
-
for (var s = 1; s < arguments.length; s++) {
|
41976
|
-
from = Object(arguments[s]);
|
41977
|
-
for (var key in from) {
|
41978
|
-
if (hasOwnProperty.call(from, key)) {
|
41979
|
-
to[key] = from[key];
|
41980
|
-
}
|
41981
|
-
}
|
41982
|
-
if (getOwnPropertySymbols) {
|
41983
|
-
symbols = getOwnPropertySymbols(from);
|
41984
|
-
for (var i2 = 0; i2 < symbols.length; i2++) {
|
41985
|
-
if (propIsEnumerable.call(from, symbols[i2])) {
|
41986
|
-
to[symbols[i2]] = from[symbols[i2]];
|
41987
|
-
}
|
41988
|
-
}
|
41989
|
-
}
|
41990
|
-
}
|
41991
|
-
return to;
|
41992
|
-
};
|
41993
|
-
}
|
41994
|
-
});
|
41995
|
-
var require_ReactPropTypesSecret2 = __commonJS2({
|
41996
|
-
"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports2, module22) {
|
41997
|
-
"use strict";
|
41998
|
-
init_react_import2();
|
41999
|
-
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
42000
|
-
module22.exports = ReactPropTypesSecret;
|
42001
|
-
}
|
42002
|
-
});
|
42003
|
-
var require_has2 = __commonJS2({
|
42004
|
-
"../../node_modules/prop-types/lib/has.js"(exports2, module22) {
|
42005
|
-
init_react_import2();
|
42006
|
-
module22.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
42007
|
-
}
|
42008
|
-
});
|
42009
|
-
var require_checkPropTypes2 = __commonJS2({
|
42010
|
-
"../../node_modules/prop-types/checkPropTypes.js"(exports2, module22) {
|
42011
|
-
"use strict";
|
42012
|
-
init_react_import2();
|
42013
|
-
var printWarning = function() {
|
42014
|
-
};
|
42015
|
-
if (process.env.NODE_ENV !== "production") {
|
42016
|
-
ReactPropTypesSecret = require_ReactPropTypesSecret2();
|
42017
|
-
loggedTypeFailures = {};
|
42018
|
-
has = require_has2();
|
42019
|
-
printWarning = function(text) {
|
42020
|
-
var message = "Warning: " + text;
|
42021
|
-
if (typeof console !== "undefined") {
|
42022
|
-
console.error(message);
|
42023
|
-
}
|
42024
|
-
try {
|
42025
|
-
throw new Error(message);
|
42026
|
-
} catch (x) {
|
42027
|
-
}
|
42028
|
-
};
|
42029
|
-
}
|
42030
|
-
var ReactPropTypesSecret;
|
42031
|
-
var loggedTypeFailures;
|
42032
|
-
var has;
|
42033
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
42034
|
-
if (process.env.NODE_ENV !== "production") {
|
42035
|
-
for (var typeSpecName in typeSpecs) {
|
42036
|
-
if (has(typeSpecs, typeSpecName)) {
|
42037
|
-
var error2;
|
42038
|
-
try {
|
42039
|
-
if (typeof typeSpecs[typeSpecName] !== "function") {
|
42040
|
-
var err = Error(
|
42041
|
-
(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`."
|
42042
|
-
);
|
42043
|
-
err.name = "Invariant Violation";
|
42044
|
-
throw err;
|
42045
|
-
}
|
42046
|
-
error2 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
42047
|
-
} catch (ex) {
|
42048
|
-
error2 = ex;
|
42049
|
-
}
|
42050
|
-
if (error2 && !(error2 instanceof Error)) {
|
42051
|
-
printWarning(
|
42052
|
-
(componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error2 + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
42053
|
-
);
|
42054
|
-
}
|
42055
|
-
if (error2 instanceof Error && !(error2.message in loggedTypeFailures)) {
|
42056
|
-
loggedTypeFailures[error2.message] = true;
|
42057
|
-
var stack = getStack ? getStack() : "";
|
42058
|
-
printWarning(
|
42059
|
-
"Failed " + location + " type: " + error2.message + (stack != null ? stack : "")
|
42060
|
-
);
|
42061
|
-
}
|
42062
|
-
}
|
42063
|
-
}
|
42064
|
-
}
|
42065
|
-
}
|
42066
|
-
checkPropTypes.resetWarningCache = function() {
|
42067
|
-
if (process.env.NODE_ENV !== "production") {
|
42068
|
-
loggedTypeFailures = {};
|
42069
|
-
}
|
42070
|
-
};
|
42071
|
-
module22.exports = checkPropTypes;
|
42072
|
-
}
|
42073
|
-
});
|
42074
|
-
var require_factoryWithTypeCheckers2 = __commonJS2({
|
42075
|
-
"../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports2, module22) {
|
42076
|
-
"use strict";
|
42077
|
-
init_react_import2();
|
42078
|
-
var ReactIs = require_react_is3();
|
42079
|
-
var assign = require_object_assign2();
|
42080
|
-
var ReactPropTypesSecret = require_ReactPropTypesSecret2();
|
42081
|
-
var has = require_has2();
|
42082
|
-
var checkPropTypes = require_checkPropTypes2();
|
42083
|
-
var printWarning = function() {
|
42084
|
-
};
|
42085
|
-
if (process.env.NODE_ENV !== "production") {
|
42086
|
-
printWarning = function(text) {
|
42087
|
-
var message = "Warning: " + text;
|
42088
|
-
if (typeof console !== "undefined") {
|
42089
|
-
console.error(message);
|
42090
|
-
}
|
42091
|
-
try {
|
42092
|
-
throw new Error(message);
|
42093
|
-
} catch (x) {
|
42094
|
-
}
|
42095
|
-
};
|
42096
|
-
}
|
42097
|
-
function emptyFunctionThatReturnsNull() {
|
42098
|
-
return null;
|
42099
|
-
}
|
42100
|
-
module22.exports = function(isValidElement, throwOnDirectAccess) {
|
42101
|
-
var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
42102
|
-
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
42103
|
-
function getIteratorFn(maybeIterable) {
|
42104
|
-
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
42105
|
-
if (typeof iteratorFn === "function") {
|
42106
|
-
return iteratorFn;
|
42107
|
-
}
|
42108
|
-
}
|
42109
|
-
var ANONYMOUS = "<<anonymous>>";
|
42110
|
-
var ReactPropTypes = {
|
42111
|
-
array: createPrimitiveTypeChecker("array"),
|
42112
|
-
bigint: createPrimitiveTypeChecker("bigint"),
|
42113
|
-
bool: createPrimitiveTypeChecker("boolean"),
|
42114
|
-
func: createPrimitiveTypeChecker("function"),
|
42115
|
-
number: createPrimitiveTypeChecker("number"),
|
42116
|
-
object: createPrimitiveTypeChecker("object"),
|
42117
|
-
string: createPrimitiveTypeChecker("string"),
|
42118
|
-
symbol: createPrimitiveTypeChecker("symbol"),
|
42119
|
-
any: createAnyTypeChecker(),
|
42120
|
-
arrayOf: createArrayOfTypeChecker,
|
42121
|
-
element: createElementTypeChecker(),
|
42122
|
-
elementType: createElementTypeTypeChecker(),
|
42123
|
-
instanceOf: createInstanceTypeChecker,
|
42124
|
-
node: createNodeChecker(),
|
42125
|
-
objectOf: createObjectOfTypeChecker,
|
42126
|
-
oneOf: createEnumTypeChecker,
|
42127
|
-
oneOfType: createUnionTypeChecker,
|
42128
|
-
shape: createShapeTypeChecker,
|
42129
|
-
exact: createStrictShapeTypeChecker
|
42130
|
-
};
|
42131
|
-
function is2(x, y) {
|
42132
|
-
if (x === y) {
|
42133
|
-
return x !== 0 || 1 / x === 1 / y;
|
42134
|
-
} else {
|
42135
|
-
return x !== x && y !== y;
|
42136
|
-
}
|
42137
|
-
}
|
42138
|
-
function PropTypeError(message, data) {
|
42139
|
-
this.message = message;
|
42140
|
-
this.data = data && typeof data === "object" ? data : {};
|
42141
|
-
this.stack = "";
|
42142
|
-
}
|
42143
|
-
PropTypeError.prototype = Error.prototype;
|
42144
|
-
function createChainableTypeChecker(validate) {
|
42145
|
-
if (process.env.NODE_ENV !== "production") {
|
42146
|
-
var manualPropTypeCallCache = {};
|
42147
|
-
var manualPropTypeWarningCount = 0;
|
42148
|
-
}
|
42149
|
-
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
42150
|
-
componentName = componentName || ANONYMOUS;
|
42151
|
-
propFullName = propFullName || propName;
|
42152
|
-
if (secret !== ReactPropTypesSecret) {
|
42153
|
-
if (throwOnDirectAccess) {
|
42154
|
-
var err = new Error(
|
42155
|
-
"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"
|
42156
|
-
);
|
42157
|
-
err.name = "Invariant Violation";
|
42158
|
-
throw err;
|
42159
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
|
42160
|
-
var cacheKey = componentName + ":" + propName;
|
42161
|
-
if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
|
42162
|
-
manualPropTypeWarningCount < 3) {
|
42163
|
-
printWarning(
|
42164
|
-
"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."
|
42165
|
-
);
|
42166
|
-
manualPropTypeCallCache[cacheKey] = true;
|
42167
|
-
manualPropTypeWarningCount++;
|
42168
|
-
}
|
42169
|
-
}
|
42170
|
-
}
|
42171
|
-
if (props[propName] == null) {
|
42172
|
-
if (isRequired) {
|
42173
|
-
if (props[propName] === null) {
|
42174
|
-
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
|
42175
|
-
}
|
42176
|
-
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
|
42177
|
-
}
|
42178
|
-
return null;
|
42179
|
-
} else {
|
42180
|
-
return validate(props, propName, componentName, location, propFullName);
|
42181
|
-
}
|
42182
|
-
}
|
42183
|
-
var chainedCheckType = checkType.bind(null, false);
|
42184
|
-
chainedCheckType.isRequired = checkType.bind(null, true);
|
42185
|
-
return chainedCheckType;
|
42186
|
-
}
|
42187
|
-
function createPrimitiveTypeChecker(expectedType) {
|
42188
|
-
function validate(props, propName, componentName, location, propFullName, secret) {
|
42189
|
-
var propValue = props[propName];
|
42190
|
-
var propType = getPropType(propValue);
|
42191
|
-
if (propType !== expectedType) {
|
42192
|
-
var preciseType = getPreciseType(propValue);
|
42193
|
-
return new PropTypeError(
|
42194
|
-
"Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
|
42195
|
-
{ expectedType }
|
42196
|
-
);
|
42197
|
-
}
|
42198
|
-
return null;
|
42199
|
-
}
|
42200
|
-
return createChainableTypeChecker(validate);
|
42201
|
-
}
|
42202
|
-
function createAnyTypeChecker() {
|
42203
|
-
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
42204
|
-
}
|
42205
|
-
function createArrayOfTypeChecker(typeChecker) {
|
42206
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42207
|
-
if (typeof typeChecker !== "function") {
|
42208
|
-
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
|
42209
|
-
}
|
42210
|
-
var propValue = props[propName];
|
42211
|
-
if (!Array.isArray(propValue)) {
|
42212
|
-
var propType = getPropType(propValue);
|
42213
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
|
42214
|
-
}
|
42215
|
-
for (var i2 = 0; i2 < propValue.length; i2++) {
|
42216
|
-
var error2 = typeChecker(propValue, i2, componentName, location, propFullName + "[" + i2 + "]", ReactPropTypesSecret);
|
42217
|
-
if (error2 instanceof Error) {
|
42218
|
-
return error2;
|
42219
|
-
}
|
42220
|
-
}
|
42221
|
-
return null;
|
42222
|
-
}
|
42223
|
-
return createChainableTypeChecker(validate);
|
42224
|
-
}
|
42225
|
-
function createElementTypeChecker() {
|
42226
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42227
|
-
var propValue = props[propName];
|
42228
|
-
if (!isValidElement(propValue)) {
|
42229
|
-
var propType = getPropType(propValue);
|
42230
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
|
42231
|
-
}
|
42232
|
-
return null;
|
42233
|
-
}
|
42234
|
-
return createChainableTypeChecker(validate);
|
42235
|
-
}
|
42236
|
-
function createElementTypeTypeChecker() {
|
42237
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42238
|
-
var propValue = props[propName];
|
42239
|
-
if (!ReactIs.isValidElementType(propValue)) {
|
42240
|
-
var propType = getPropType(propValue);
|
42241
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
|
42242
|
-
}
|
42243
|
-
return null;
|
42244
|
-
}
|
42245
|
-
return createChainableTypeChecker(validate);
|
42246
|
-
}
|
42247
|
-
function createInstanceTypeChecker(expectedClass) {
|
42248
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42249
|
-
if (!(props[propName] instanceof expectedClass)) {
|
42250
|
-
var expectedClassName = expectedClass.name || ANONYMOUS;
|
42251
|
-
var actualClassName = getClassName23(props[propName]);
|
42252
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
|
42253
|
-
}
|
42254
|
-
return null;
|
42255
|
-
}
|
42256
|
-
return createChainableTypeChecker(validate);
|
42257
|
-
}
|
42258
|
-
function createEnumTypeChecker(expectedValues) {
|
42259
|
-
if (!Array.isArray(expectedValues)) {
|
42260
|
-
if (process.env.NODE_ENV !== "production") {
|
42261
|
-
if (arguments.length > 1) {
|
42262
|
-
printWarning(
|
42263
|
-
"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])."
|
42264
|
-
);
|
42265
|
-
} else {
|
42266
|
-
printWarning("Invalid argument supplied to oneOf, expected an array.");
|
42267
|
-
}
|
42268
|
-
}
|
42269
|
-
return emptyFunctionThatReturnsNull;
|
42270
|
-
}
|
42271
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42272
|
-
var propValue = props[propName];
|
42273
|
-
for (var i2 = 0; i2 < expectedValues.length; i2++) {
|
42274
|
-
if (is2(propValue, expectedValues[i2])) {
|
42275
|
-
return null;
|
42276
|
-
}
|
42277
|
-
}
|
42278
|
-
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
42279
|
-
var type = getPreciseType(value);
|
42280
|
-
if (type === "symbol") {
|
42281
|
-
return String(value);
|
42282
|
-
}
|
42283
|
-
return value;
|
42284
|
-
});
|
42285
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
|
42286
|
-
}
|
42287
|
-
return createChainableTypeChecker(validate);
|
42288
|
-
}
|
42289
|
-
function createObjectOfTypeChecker(typeChecker) {
|
42290
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42291
|
-
if (typeof typeChecker !== "function") {
|
42292
|
-
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
|
42293
|
-
}
|
42294
|
-
var propValue = props[propName];
|
42295
|
-
var propType = getPropType(propValue);
|
42296
|
-
if (propType !== "object") {
|
42297
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
|
42298
|
-
}
|
42299
|
-
for (var key in propValue) {
|
42300
|
-
if (has(propValue, key)) {
|
42301
|
-
var error2 = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
42302
|
-
if (error2 instanceof Error) {
|
42303
|
-
return error2;
|
42304
|
-
}
|
42305
|
-
}
|
42306
|
-
}
|
42307
|
-
return null;
|
42308
|
-
}
|
42309
|
-
return createChainableTypeChecker(validate);
|
42310
|
-
}
|
42311
|
-
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
42312
|
-
if (!Array.isArray(arrayOfTypeCheckers)) {
|
42313
|
-
process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
|
42314
|
-
return emptyFunctionThatReturnsNull;
|
42315
|
-
}
|
42316
|
-
for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
|
42317
|
-
var checker = arrayOfTypeCheckers[i2];
|
42318
|
-
if (typeof checker !== "function") {
|
42319
|
-
printWarning(
|
42320
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i2 + "."
|
42321
|
-
);
|
42322
|
-
return emptyFunctionThatReturnsNull;
|
42323
|
-
}
|
42324
|
-
}
|
42325
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42326
|
-
var expectedTypes = [];
|
42327
|
-
for (var i22 = 0; i22 < arrayOfTypeCheckers.length; i22++) {
|
42328
|
-
var checker2 = arrayOfTypeCheckers[i22];
|
42329
|
-
var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
42330
|
-
if (checkerResult == null) {
|
42331
|
-
return null;
|
42332
|
-
}
|
42333
|
-
if (checkerResult.data && has(checkerResult.data, "expectedType")) {
|
42334
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
42335
|
-
}
|
42336
|
-
}
|
42337
|
-
var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
|
42338
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
|
42339
|
-
}
|
42340
|
-
return createChainableTypeChecker(validate);
|
42341
|
-
}
|
42342
|
-
function createNodeChecker() {
|
42343
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42344
|
-
if (!isNode(props[propName])) {
|
42345
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
|
42346
|
-
}
|
42347
|
-
return null;
|
42348
|
-
}
|
42349
|
-
return createChainableTypeChecker(validate);
|
42350
|
-
}
|
42351
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
42352
|
-
return new PropTypeError(
|
42353
|
-
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
|
42354
|
-
);
|
42355
|
-
}
|
42356
|
-
function createShapeTypeChecker(shapeTypes) {
|
42357
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42358
|
-
var propValue = props[propName];
|
42359
|
-
var propType = getPropType(propValue);
|
42360
|
-
if (propType !== "object") {
|
42361
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
42362
|
-
}
|
42363
|
-
for (var key in shapeTypes) {
|
42364
|
-
var checker = shapeTypes[key];
|
42365
|
-
if (typeof checker !== "function") {
|
42366
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
42367
|
-
}
|
42368
|
-
var error2 = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
42369
|
-
if (error2) {
|
42370
|
-
return error2;
|
42371
|
-
}
|
42372
|
-
}
|
42373
|
-
return null;
|
42374
|
-
}
|
42375
|
-
return createChainableTypeChecker(validate);
|
42376
|
-
}
|
42377
|
-
function createStrictShapeTypeChecker(shapeTypes) {
|
42378
|
-
function validate(props, propName, componentName, location, propFullName) {
|
42379
|
-
var propValue = props[propName];
|
42380
|
-
var propType = getPropType(propValue);
|
42381
|
-
if (propType !== "object") {
|
42382
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
42383
|
-
}
|
42384
|
-
var allKeys = assign({}, props[propName], shapeTypes);
|
42385
|
-
for (var key in allKeys) {
|
42386
|
-
var checker = shapeTypes[key];
|
42387
|
-
if (has(shapeTypes, key) && typeof checker !== "function") {
|
42388
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
42389
|
-
}
|
42390
|
-
if (!checker) {
|
42391
|
-
return new PropTypeError(
|
42392
|
-
"Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
|
42393
|
-
);
|
42394
|
-
}
|
42395
|
-
var error2 = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
42396
|
-
if (error2) {
|
42397
|
-
return error2;
|
42398
|
-
}
|
42399
|
-
}
|
42400
|
-
return null;
|
42401
|
-
}
|
42402
|
-
return createChainableTypeChecker(validate);
|
42403
|
-
}
|
42404
|
-
function isNode(propValue) {
|
42405
|
-
switch (typeof propValue) {
|
42406
|
-
case "number":
|
42407
|
-
case "string":
|
42408
|
-
case "undefined":
|
42409
|
-
return true;
|
42410
|
-
case "boolean":
|
42411
|
-
return !propValue;
|
42412
|
-
case "object":
|
42413
|
-
if (Array.isArray(propValue)) {
|
42414
|
-
return propValue.every(isNode);
|
42415
|
-
}
|
42416
|
-
if (propValue === null || isValidElement(propValue)) {
|
42417
|
-
return true;
|
42418
|
-
}
|
42419
|
-
var iteratorFn = getIteratorFn(propValue);
|
42420
|
-
if (iteratorFn) {
|
42421
|
-
var iterator = iteratorFn.call(propValue);
|
42422
|
-
var step;
|
42423
|
-
if (iteratorFn !== propValue.entries) {
|
42424
|
-
while (!(step = iterator.next()).done) {
|
42425
|
-
if (!isNode(step.value)) {
|
42426
|
-
return false;
|
42427
|
-
}
|
42428
|
-
}
|
42429
|
-
} else {
|
42430
|
-
while (!(step = iterator.next()).done) {
|
42431
|
-
var entry = step.value;
|
42432
|
-
if (entry) {
|
42433
|
-
if (!isNode(entry[1])) {
|
42434
|
-
return false;
|
42435
|
-
}
|
42436
|
-
}
|
42437
|
-
}
|
42438
|
-
}
|
42439
|
-
} else {
|
42440
|
-
return false;
|
42441
|
-
}
|
42442
|
-
return true;
|
42443
|
-
default:
|
42444
|
-
return false;
|
42445
|
-
}
|
42446
|
-
}
|
42447
|
-
function isSymbol(propType, propValue) {
|
42448
|
-
if (propType === "symbol") {
|
42449
|
-
return true;
|
42450
|
-
}
|
42451
|
-
if (!propValue) {
|
42452
|
-
return false;
|
42453
|
-
}
|
42454
|
-
if (propValue["@@toStringTag"] === "Symbol") {
|
42455
|
-
return true;
|
42456
|
-
}
|
42457
|
-
if (typeof Symbol === "function" && propValue instanceof Symbol) {
|
42458
|
-
return true;
|
42459
|
-
}
|
42460
|
-
return false;
|
42461
|
-
}
|
42462
|
-
function getPropType(propValue) {
|
42463
|
-
var propType = typeof propValue;
|
42464
|
-
if (Array.isArray(propValue)) {
|
42465
|
-
return "array";
|
42466
|
-
}
|
42467
|
-
if (propValue instanceof RegExp) {
|
42468
|
-
return "object";
|
42469
|
-
}
|
42470
|
-
if (isSymbol(propType, propValue)) {
|
42471
|
-
return "symbol";
|
42472
|
-
}
|
42473
|
-
return propType;
|
42474
|
-
}
|
42475
|
-
function getPreciseType(propValue) {
|
42476
|
-
if (typeof propValue === "undefined" || propValue === null) {
|
42477
|
-
return "" + propValue;
|
42478
|
-
}
|
42479
|
-
var propType = getPropType(propValue);
|
42480
|
-
if (propType === "object") {
|
42481
|
-
if (propValue instanceof Date) {
|
42482
|
-
return "date";
|
42483
|
-
} else if (propValue instanceof RegExp) {
|
42484
|
-
return "regexp";
|
42485
|
-
}
|
42486
|
-
}
|
42487
|
-
return propType;
|
42488
|
-
}
|
42489
|
-
function getPostfixForTypeWarning(value) {
|
42490
|
-
var type = getPreciseType(value);
|
42491
|
-
switch (type) {
|
42492
|
-
case "array":
|
42493
|
-
case "object":
|
42494
|
-
return "an " + type;
|
42495
|
-
case "boolean":
|
42496
|
-
case "date":
|
42497
|
-
case "regexp":
|
42498
|
-
return "a " + type;
|
42499
|
-
default:
|
42500
|
-
return type;
|
42501
|
-
}
|
42502
|
-
}
|
42503
|
-
function getClassName23(propValue) {
|
42504
|
-
if (!propValue.constructor || !propValue.constructor.name) {
|
42505
|
-
return ANONYMOUS;
|
42506
|
-
}
|
42507
|
-
return propValue.constructor.name;
|
42508
|
-
}
|
42509
|
-
ReactPropTypes.checkPropTypes = checkPropTypes;
|
42510
|
-
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
42511
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
42512
|
-
return ReactPropTypes;
|
42513
|
-
};
|
42514
|
-
}
|
42515
|
-
});
|
42516
|
-
var require_factoryWithThrowingShims2 = __commonJS2({
|
42517
|
-
"../../node_modules/prop-types/factoryWithThrowingShims.js"(exports2, module22) {
|
42518
|
-
"use strict";
|
42519
|
-
init_react_import2();
|
42520
|
-
var ReactPropTypesSecret = require_ReactPropTypesSecret2();
|
42521
|
-
function emptyFunction() {
|
42522
|
-
}
|
42523
|
-
function emptyFunctionWithReset() {
|
42524
|
-
}
|
42525
|
-
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
42526
|
-
module22.exports = function() {
|
42527
|
-
function shim(props, propName, componentName, location, propFullName, secret) {
|
42528
|
-
if (secret === ReactPropTypesSecret) {
|
42529
|
-
return;
|
42530
|
-
}
|
42531
|
-
var err = new Error(
|
42532
|
-
"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"
|
42533
|
-
);
|
42534
|
-
err.name = "Invariant Violation";
|
42535
|
-
throw err;
|
42536
|
-
}
|
42537
|
-
;
|
42538
|
-
shim.isRequired = shim;
|
42539
|
-
function getShim() {
|
42540
|
-
return shim;
|
42541
|
-
}
|
42542
|
-
;
|
42543
|
-
var ReactPropTypes = {
|
42544
|
-
array: shim,
|
42545
|
-
bigint: shim,
|
42546
|
-
bool: shim,
|
42547
|
-
func: shim,
|
42548
|
-
number: shim,
|
42549
|
-
object: shim,
|
42550
|
-
string: shim,
|
42551
|
-
symbol: shim,
|
42552
|
-
any: shim,
|
42553
|
-
arrayOf: getShim,
|
42554
|
-
element: shim,
|
42555
|
-
elementType: shim,
|
42556
|
-
instanceOf: getShim,
|
42557
|
-
node: shim,
|
42558
|
-
objectOf: getShim,
|
42559
|
-
oneOf: getShim,
|
42560
|
-
oneOfType: getShim,
|
42561
|
-
shape: getShim,
|
42562
|
-
exact: getShim,
|
42563
|
-
checkPropTypes: emptyFunctionWithReset,
|
42564
|
-
resetWarningCache: emptyFunction
|
42565
|
-
};
|
42566
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
42567
|
-
return ReactPropTypes;
|
42568
|
-
};
|
42569
|
-
}
|
42570
|
-
});
|
42571
|
-
var require_prop_types2 = __commonJS2({
|
42572
|
-
"../../node_modules/prop-types/index.js"(exports2, module22) {
|
42573
|
-
init_react_import2();
|
42574
|
-
if (process.env.NODE_ENV !== "production") {
|
42575
|
-
ReactIs = require_react_is3();
|
42576
|
-
throwOnDirectAccess = true;
|
42577
|
-
module22.exports = require_factoryWithTypeCheckers2()(ReactIs.isElement, throwOnDirectAccess);
|
42578
|
-
} else {
|
42579
|
-
module22.exports = require_factoryWithThrowingShims2()();
|
42580
|
-
}
|
42581
|
-
var ReactIs;
|
42582
|
-
var throwOnDirectAccess;
|
42583
|
-
}
|
42584
|
-
});
|
42585
41661
|
var require_scheduler_production_min2 = __commonJS2({
|
42586
41662
|
"../../node_modules/scheduler/cjs/scheduler.production.min.js"(exports2) {
|
42587
41663
|
"use strict";
|
@@ -50463,9 +49539,9 @@ var require_dist = __commonJS({
|
|
50463
49539
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
50464
49540
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
50465
49541
|
}
|
50466
|
-
var
|
49542
|
+
var React210 = require("react");
|
50467
49543
|
var Scheduler = require_scheduler2();
|
50468
|
-
var ReactSharedInternals =
|
49544
|
+
var ReactSharedInternals = React210.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
50469
49545
|
var suppressWarning = false;
|
50470
49546
|
function setSuppressWarning(newSuppressWarning) {
|
50471
49547
|
{
|
@@ -52070,7 +51146,7 @@ var require_dist = __commonJS({
|
|
52070
51146
|
{
|
52071
51147
|
if (props.value == null) {
|
52072
51148
|
if (typeof props.children === "object" && props.children !== null) {
|
52073
|
-
|
51149
|
+
React210.Children.forEach(props.children, function(child) {
|
52074
51150
|
if (child == null) {
|
52075
51151
|
return;
|
52076
51152
|
}
|
@@ -57469,7 +56545,7 @@ var require_dist = __commonJS({
|
|
57469
56545
|
}
|
57470
56546
|
}
|
57471
56547
|
}
|
57472
|
-
function
|
56548
|
+
function createElement27(type, props, rootContainerElement, parentNamespace) {
|
57473
56549
|
var isCustomComponentTag;
|
57474
56550
|
var ownerDocument = getOwnerDocumentFromRootContainer(rootContainerElement);
|
57475
56551
|
var domElement;
|
@@ -58330,7 +57406,7 @@ var require_dist = __commonJS({
|
|
58330
57406
|
}
|
58331
57407
|
parentNamespace = hostContextDev.namespace;
|
58332
57408
|
}
|
58333
|
-
var domElement =
|
57409
|
+
var domElement = createElement27(type, props, rootContainerInstance, parentNamespace);
|
58334
57410
|
precacheFiberNode(internalInstanceHandle, domElement);
|
58335
57411
|
updateFiberProps(domElement, props);
|
58336
57412
|
return domElement;
|
@@ -60517,7 +59593,7 @@ var require_dist = __commonJS({
|
|
60517
59593
|
}
|
60518
59594
|
}
|
60519
59595
|
var fakeInternalInstance = {};
|
60520
|
-
var emptyRefsObject = new
|
59596
|
+
var emptyRefsObject = new React210.Component().refs;
|
60521
59597
|
var didWarnAboutStateAssignmentForComponent;
|
60522
59598
|
var didWarnAboutUninitializedState;
|
60523
59599
|
var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
|
@@ -71807,1607 +70883,176 @@ var require_dist = __commonJS({
|
|
71807
70883
|
};
|
71808
70884
|
Drawer.Item = DrawerItem;
|
71809
70885
|
init_react_import2();
|
71810
|
-
var
|
70886
|
+
var import_react92 = require("react");
|
71811
70887
|
init_react_import2();
|
71812
|
-
var
|
70888
|
+
var import_react62 = require("react");
|
71813
70889
|
var import_dnd3 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
71814
70890
|
init_react_import2();
|
71815
70891
|
var styles_module_default32 = { "DraggableComponent": "_DraggableComponent_foluk_1", "DraggableComponent--isDragging": "_DraggableComponent--isDragging_foluk_6", "DraggableComponent-contents": "_DraggableComponent-contents_foluk_12", "DraggableComponent-overlay": "_DraggableComponent-overlay_foluk_25", "DraggableComponent-loadingOverlay": "_DraggableComponent-loadingOverlay_foluk_39", "DraggableComponent--isLocked": "_DraggableComponent--isLocked_foluk_55", "DraggableComponent--forceHover": "_DraggableComponent--forceHover_foluk_61", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_foluk_66", "DraggableComponent--indicativeHover": "_DraggableComponent--indicativeHover_foluk_71", "DraggableComponent-actions": "_DraggableComponent-actions_foluk_97", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_foluk_120", "DraggableComponent-action": "_DraggableComponent-action_foluk_97" };
|
71816
70892
|
init_react_import2();
|
71817
70893
|
init_react_import2();
|
71818
|
-
var import_react42 =
|
71819
|
-
var import_prop_types2 = __toESM2(require_prop_types2());
|
71820
|
-
function _extends5() {
|
71821
|
-
_extends5 = Object.assign || function(target) {
|
71822
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
71823
|
-
var source = arguments[i2];
|
71824
|
-
for (var key in source) {
|
71825
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
71826
|
-
target[key] = source[key];
|
71827
|
-
}
|
71828
|
-
}
|
71829
|
-
}
|
71830
|
-
return target;
|
71831
|
-
};
|
71832
|
-
return _extends5.apply(this, arguments);
|
71833
|
-
}
|
71834
|
-
function _objectWithoutProperties2(source, excluded) {
|
71835
|
-
if (source == null)
|
71836
|
-
return {};
|
71837
|
-
var target = _objectWithoutPropertiesLoose3(source, excluded);
|
71838
|
-
var key, i2;
|
71839
|
-
if (Object.getOwnPropertySymbols) {
|
71840
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
71841
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
71842
|
-
key = sourceSymbolKeys[i2];
|
71843
|
-
if (excluded.indexOf(key) >= 0)
|
71844
|
-
continue;
|
71845
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
71846
|
-
continue;
|
71847
|
-
target[key] = source[key];
|
71848
|
-
}
|
71849
|
-
}
|
71850
|
-
return target;
|
71851
|
-
}
|
71852
|
-
function _objectWithoutPropertiesLoose3(source, excluded) {
|
71853
|
-
if (source == null)
|
71854
|
-
return {};
|
71855
|
-
var target = {};
|
71856
|
-
var sourceKeys = Object.keys(source);
|
71857
|
-
var key, i2;
|
71858
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
71859
|
-
key = sourceKeys[i2];
|
71860
|
-
if (excluded.indexOf(key) >= 0)
|
71861
|
-
continue;
|
71862
|
-
target[key] = source[key];
|
71863
|
-
}
|
71864
|
-
return target;
|
71865
|
-
}
|
71866
|
-
var CheckCircle = (0, import_react42.forwardRef)(function(_ref, ref2) {
|
71867
|
-
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"]);
|
71868
|
-
return /* @__PURE__ */ import_react42.default.createElement("svg", _extends5({
|
71869
|
-
ref: ref2,
|
71870
|
-
xmlns: "http://www.w3.org/2000/svg",
|
71871
|
-
width: size,
|
71872
|
-
height: size,
|
71873
|
-
viewBox: "0 0 24 24",
|
71874
|
-
fill: "none",
|
71875
|
-
stroke: color,
|
71876
|
-
strokeWidth: "2",
|
71877
|
-
strokeLinecap: "round",
|
71878
|
-
strokeLinejoin: "round"
|
71879
|
-
}, rest), /* @__PURE__ */ import_react42.default.createElement("path", {
|
71880
|
-
d: "M22 11.08V12a10 10 0 1 1-5.93-9.14"
|
71881
|
-
}), /* @__PURE__ */ import_react42.default.createElement("polyline", {
|
71882
|
-
points: "22 4 12 14.01 9 11.01"
|
71883
|
-
}));
|
71884
|
-
});
|
71885
|
-
CheckCircle.propTypes = {
|
71886
|
-
color: import_prop_types2.default.string,
|
71887
|
-
size: import_prop_types2.default.oneOfType([import_prop_types2.default.string, import_prop_types2.default.number])
|
71888
|
-
};
|
71889
|
-
CheckCircle.displayName = "CheckCircle";
|
71890
|
-
var check_circle_default = CheckCircle;
|
70894
|
+
var import_react42 = require("react");
|
71891
70895
|
init_react_import2();
|
71892
|
-
var
|
71893
|
-
|
71894
|
-
|
71895
|
-
|
71896
|
-
|
71897
|
-
|
71898
|
-
|
71899
|
-
|
71900
|
-
|
71901
|
-
|
71902
|
-
}
|
71903
|
-
}
|
71904
|
-
return target;
|
71905
|
-
};
|
71906
|
-
return _extends22.apply(this, arguments);
|
71907
|
-
}
|
71908
|
-
function _objectWithoutProperties22(source, excluded) {
|
71909
|
-
if (source == null)
|
71910
|
-
return {};
|
71911
|
-
var target = _objectWithoutPropertiesLoose22(source, excluded);
|
71912
|
-
var key, i2;
|
71913
|
-
if (Object.getOwnPropertySymbols) {
|
71914
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
71915
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
71916
|
-
key = sourceSymbolKeys[i2];
|
71917
|
-
if (excluded.indexOf(key) >= 0)
|
71918
|
-
continue;
|
71919
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
71920
|
-
continue;
|
71921
|
-
target[key] = source[key];
|
71922
|
-
}
|
71923
|
-
}
|
71924
|
-
return target;
|
71925
|
-
}
|
71926
|
-
function _objectWithoutPropertiesLoose22(source, excluded) {
|
71927
|
-
if (source == null)
|
71928
|
-
return {};
|
71929
|
-
var target = {};
|
71930
|
-
var sourceKeys = Object.keys(source);
|
71931
|
-
var key, i2;
|
71932
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
71933
|
-
key = sourceKeys[i2];
|
71934
|
-
if (excluded.indexOf(key) >= 0)
|
71935
|
-
continue;
|
71936
|
-
target[key] = source[key];
|
71937
|
-
}
|
71938
|
-
return target;
|
71939
|
-
}
|
71940
|
-
var ChevronDown = (0, import_react52.forwardRef)(function(_ref, ref2) {
|
71941
|
-
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 = _objectWithoutProperties22(_ref, ["color", "size"]);
|
71942
|
-
return /* @__PURE__ */ import_react52.default.createElement("svg", _extends22({
|
71943
|
-
ref: ref2,
|
71944
|
-
xmlns: "http://www.w3.org/2000/svg",
|
71945
|
-
width: size,
|
71946
|
-
height: size,
|
71947
|
-
viewBox: "0 0 24 24",
|
71948
|
-
fill: "none",
|
71949
|
-
stroke: color,
|
71950
|
-
strokeWidth: "2",
|
71951
|
-
strokeLinecap: "round",
|
71952
|
-
strokeLinejoin: "round"
|
71953
|
-
}, rest), /* @__PURE__ */ import_react52.default.createElement("polyline", {
|
71954
|
-
points: "6 9 12 15 18 9"
|
71955
|
-
}));
|
71956
|
-
});
|
71957
|
-
ChevronDown.propTypes = {
|
71958
|
-
color: import_prop_types22.default.string,
|
71959
|
-
size: import_prop_types22.default.oneOfType([import_prop_types22.default.string, import_prop_types22.default.number])
|
70896
|
+
var defaultAttributes2 = {
|
70897
|
+
xmlns: "http://www.w3.org/2000/svg",
|
70898
|
+
width: 24,
|
70899
|
+
height: 24,
|
70900
|
+
viewBox: "0 0 24 24",
|
70901
|
+
fill: "none",
|
70902
|
+
stroke: "currentColor",
|
70903
|
+
strokeWidth: 2,
|
70904
|
+
strokeLinecap: "round",
|
70905
|
+
strokeLinejoin: "round"
|
71960
70906
|
};
|
71961
|
-
|
71962
|
-
var
|
71963
|
-
|
71964
|
-
|
71965
|
-
|
71966
|
-
|
71967
|
-
|
71968
|
-
|
71969
|
-
|
71970
|
-
|
71971
|
-
|
71972
|
-
|
71973
|
-
|
71974
|
-
|
71975
|
-
|
71976
|
-
|
71977
|
-
|
71978
|
-
|
71979
|
-
|
71980
|
-
|
71981
|
-
|
71982
|
-
return {};
|
71983
|
-
var target = _objectWithoutPropertiesLoose32(source, excluded);
|
71984
|
-
var key, i2;
|
71985
|
-
if (Object.getOwnPropertySymbols) {
|
71986
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
71987
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
71988
|
-
key = sourceSymbolKeys[i2];
|
71989
|
-
if (excluded.indexOf(key) >= 0)
|
71990
|
-
continue;
|
71991
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
71992
|
-
continue;
|
71993
|
-
target[key] = source[key];
|
70907
|
+
var toKebabCase2 = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim();
|
70908
|
+
var createLucideIcon2 = (iconName, iconNode) => {
|
70909
|
+
const Component = (0, import_react42.forwardRef)(
|
70910
|
+
(_a, ref2) => {
|
70911
|
+
var _b = _a, { color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children } = _b, rest = __objRest2(_b, ["color", "size", "strokeWidth", "absoluteStrokeWidth", "className", "children"]);
|
70912
|
+
return (0, import_react42.createElement)(
|
70913
|
+
"svg",
|
70914
|
+
__spreadValues2(__spreadProps2(__spreadValues2({
|
70915
|
+
ref: ref2
|
70916
|
+
}, defaultAttributes2), {
|
70917
|
+
width: size,
|
70918
|
+
height: size,
|
70919
|
+
stroke: color,
|
70920
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
70921
|
+
className: ["lucide", `lucide-${toKebabCase2(iconName)}`, className].join(" ")
|
70922
|
+
}), rest),
|
70923
|
+
[
|
70924
|
+
...iconNode.map(([tag, attrs]) => (0, import_react42.createElement)(tag, attrs)),
|
70925
|
+
...Array.isArray(children) ? children : [children]
|
70926
|
+
]
|
70927
|
+
);
|
71994
70928
|
}
|
71995
|
-
|
71996
|
-
|
71997
|
-
|
71998
|
-
function _objectWithoutPropertiesLoose32(source, excluded) {
|
71999
|
-
if (source == null)
|
72000
|
-
return {};
|
72001
|
-
var target = {};
|
72002
|
-
var sourceKeys = Object.keys(source);
|
72003
|
-
var key, i2;
|
72004
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72005
|
-
key = sourceKeys[i2];
|
72006
|
-
if (excluded.indexOf(key) >= 0)
|
72007
|
-
continue;
|
72008
|
-
target[key] = source[key];
|
72009
|
-
}
|
72010
|
-
return target;
|
72011
|
-
}
|
72012
|
-
var ChevronLeft = (0, import_react62.forwardRef)(function(_ref, ref2) {
|
72013
|
-
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"]);
|
72014
|
-
return /* @__PURE__ */ import_react62.default.createElement("svg", _extends32({
|
72015
|
-
ref: ref2,
|
72016
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72017
|
-
width: size,
|
72018
|
-
height: size,
|
72019
|
-
viewBox: "0 0 24 24",
|
72020
|
-
fill: "none",
|
72021
|
-
stroke: color,
|
72022
|
-
strokeWidth: "2",
|
72023
|
-
strokeLinecap: "round",
|
72024
|
-
strokeLinejoin: "round"
|
72025
|
-
}, rest), /* @__PURE__ */ import_react62.default.createElement("polyline", {
|
72026
|
-
points: "15 18 9 12 15 6"
|
72027
|
-
}));
|
72028
|
-
});
|
72029
|
-
ChevronLeft.propTypes = {
|
72030
|
-
color: import_prop_types3.default.string,
|
72031
|
-
size: import_prop_types3.default.oneOfType([import_prop_types3.default.string, import_prop_types3.default.number])
|
70929
|
+
);
|
70930
|
+
Component.displayName = `${iconName}`;
|
70931
|
+
return Component;
|
72032
70932
|
};
|
72033
|
-
ChevronLeft.displayName = "ChevronLeft";
|
72034
|
-
var chevron_left_default = ChevronLeft;
|
72035
70933
|
init_react_import2();
|
72036
|
-
var
|
72037
|
-
|
72038
|
-
|
72039
|
-
|
72040
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
72041
|
-
var source = arguments[i2];
|
72042
|
-
for (var key in source) {
|
72043
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72044
|
-
target[key] = source[key];
|
72045
|
-
}
|
72046
|
-
}
|
72047
|
-
}
|
72048
|
-
return target;
|
72049
|
-
};
|
72050
|
-
return _extends42.apply(this, arguments);
|
72051
|
-
}
|
72052
|
-
function _objectWithoutProperties4(source, excluded) {
|
72053
|
-
if (source == null)
|
72054
|
-
return {};
|
72055
|
-
var target = _objectWithoutPropertiesLoose4(source, excluded);
|
72056
|
-
var key, i2;
|
72057
|
-
if (Object.getOwnPropertySymbols) {
|
72058
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72059
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72060
|
-
key = sourceSymbolKeys[i2];
|
72061
|
-
if (excluded.indexOf(key) >= 0)
|
72062
|
-
continue;
|
72063
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72064
|
-
continue;
|
72065
|
-
target[key] = source[key];
|
72066
|
-
}
|
72067
|
-
}
|
72068
|
-
return target;
|
72069
|
-
}
|
72070
|
-
function _objectWithoutPropertiesLoose4(source, excluded) {
|
72071
|
-
if (source == null)
|
72072
|
-
return {};
|
72073
|
-
var target = {};
|
72074
|
-
var sourceKeys = Object.keys(source);
|
72075
|
-
var key, i2;
|
72076
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72077
|
-
key = sourceKeys[i2];
|
72078
|
-
if (excluded.indexOf(key) >= 0)
|
72079
|
-
continue;
|
72080
|
-
target[key] = source[key];
|
72081
|
-
}
|
72082
|
-
return target;
|
72083
|
-
}
|
72084
|
-
var ChevronRight2 = (0, import_react72.forwardRef)(function(_ref, ref2) {
|
72085
|
-
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"]);
|
72086
|
-
return /* @__PURE__ */ import_react72.default.createElement("svg", _extends42({
|
72087
|
-
ref: ref2,
|
72088
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72089
|
-
width: size,
|
72090
|
-
height: size,
|
72091
|
-
viewBox: "0 0 24 24",
|
72092
|
-
fill: "none",
|
72093
|
-
stroke: color,
|
72094
|
-
strokeWidth: "2",
|
72095
|
-
strokeLinecap: "round",
|
72096
|
-
strokeLinejoin: "round"
|
72097
|
-
}, rest), /* @__PURE__ */ import_react72.default.createElement("polyline", {
|
72098
|
-
points: "9 18 15 12 9 6"
|
72099
|
-
}));
|
72100
|
-
});
|
72101
|
-
ChevronRight2.propTypes = {
|
72102
|
-
color: import_prop_types4.default.string,
|
72103
|
-
size: import_prop_types4.default.oneOfType([import_prop_types4.default.string, import_prop_types4.default.number])
|
72104
|
-
};
|
72105
|
-
ChevronRight2.displayName = "ChevronRight";
|
72106
|
-
var chevron_right_default2 = ChevronRight2;
|
70934
|
+
var CheckCircle = createLucideIcon2("CheckCircle", [
|
70935
|
+
["path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14", key: "g774vq" }],
|
70936
|
+
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
70937
|
+
]);
|
72107
70938
|
init_react_import2();
|
72108
|
-
var
|
72109
|
-
|
72110
|
-
|
72111
|
-
_extends52 = Object.assign || function(target) {
|
72112
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
72113
|
-
var source = arguments[i2];
|
72114
|
-
for (var key in source) {
|
72115
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72116
|
-
target[key] = source[key];
|
72117
|
-
}
|
72118
|
-
}
|
72119
|
-
}
|
72120
|
-
return target;
|
72121
|
-
};
|
72122
|
-
return _extends52.apply(this, arguments);
|
72123
|
-
}
|
72124
|
-
function _objectWithoutProperties5(source, excluded) {
|
72125
|
-
if (source == null)
|
72126
|
-
return {};
|
72127
|
-
var target = _objectWithoutPropertiesLoose5(source, excluded);
|
72128
|
-
var key, i2;
|
72129
|
-
if (Object.getOwnPropertySymbols) {
|
72130
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72131
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72132
|
-
key = sourceSymbolKeys[i2];
|
72133
|
-
if (excluded.indexOf(key) >= 0)
|
72134
|
-
continue;
|
72135
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72136
|
-
continue;
|
72137
|
-
target[key] = source[key];
|
72138
|
-
}
|
72139
|
-
}
|
72140
|
-
return target;
|
72141
|
-
}
|
72142
|
-
function _objectWithoutPropertiesLoose5(source, excluded) {
|
72143
|
-
if (source == null)
|
72144
|
-
return {};
|
72145
|
-
var target = {};
|
72146
|
-
var sourceKeys = Object.keys(source);
|
72147
|
-
var key, i2;
|
72148
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72149
|
-
key = sourceKeys[i2];
|
72150
|
-
if (excluded.indexOf(key) >= 0)
|
72151
|
-
continue;
|
72152
|
-
target[key] = source[key];
|
72153
|
-
}
|
72154
|
-
return target;
|
72155
|
-
}
|
72156
|
-
var ChevronUp = (0, import_react82.forwardRef)(function(_ref, ref2) {
|
72157
|
-
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"]);
|
72158
|
-
return /* @__PURE__ */ import_react82.default.createElement("svg", _extends52({
|
72159
|
-
ref: ref2,
|
72160
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72161
|
-
width: size,
|
72162
|
-
height: size,
|
72163
|
-
viewBox: "0 0 24 24",
|
72164
|
-
fill: "none",
|
72165
|
-
stroke: color,
|
72166
|
-
strokeWidth: "2",
|
72167
|
-
strokeLinecap: "round",
|
72168
|
-
strokeLinejoin: "round"
|
72169
|
-
}, rest), /* @__PURE__ */ import_react82.default.createElement("polyline", {
|
72170
|
-
points: "18 15 12 9 6 15"
|
72171
|
-
}));
|
72172
|
-
});
|
72173
|
-
ChevronUp.propTypes = {
|
72174
|
-
color: import_prop_types5.default.string,
|
72175
|
-
size: import_prop_types5.default.oneOfType([import_prop_types5.default.string, import_prop_types5.default.number])
|
72176
|
-
};
|
72177
|
-
ChevronUp.displayName = "ChevronUp";
|
72178
|
-
var chevron_up_default = ChevronUp;
|
70939
|
+
var ChevronDown = createLucideIcon2("ChevronDown", [
|
70940
|
+
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
70941
|
+
]);
|
72179
70942
|
init_react_import2();
|
72180
|
-
var
|
72181
|
-
|
72182
|
-
|
72183
|
-
_extends6 = Object.assign || function(target) {
|
72184
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
72185
|
-
var source = arguments[i2];
|
72186
|
-
for (var key in source) {
|
72187
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72188
|
-
target[key] = source[key];
|
72189
|
-
}
|
72190
|
-
}
|
72191
|
-
}
|
72192
|
-
return target;
|
72193
|
-
};
|
72194
|
-
return _extends6.apply(this, arguments);
|
72195
|
-
}
|
72196
|
-
function _objectWithoutProperties6(source, excluded) {
|
72197
|
-
if (source == null)
|
72198
|
-
return {};
|
72199
|
-
var target = _objectWithoutPropertiesLoose6(source, excluded);
|
72200
|
-
var key, i2;
|
72201
|
-
if (Object.getOwnPropertySymbols) {
|
72202
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72203
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72204
|
-
key = sourceSymbolKeys[i2];
|
72205
|
-
if (excluded.indexOf(key) >= 0)
|
72206
|
-
continue;
|
72207
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72208
|
-
continue;
|
72209
|
-
target[key] = source[key];
|
72210
|
-
}
|
72211
|
-
}
|
72212
|
-
return target;
|
72213
|
-
}
|
72214
|
-
function _objectWithoutPropertiesLoose6(source, excluded) {
|
72215
|
-
if (source == null)
|
72216
|
-
return {};
|
72217
|
-
var target = {};
|
72218
|
-
var sourceKeys = Object.keys(source);
|
72219
|
-
var key, i2;
|
72220
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72221
|
-
key = sourceKeys[i2];
|
72222
|
-
if (excluded.indexOf(key) >= 0)
|
72223
|
-
continue;
|
72224
|
-
target[key] = source[key];
|
72225
|
-
}
|
72226
|
-
return target;
|
72227
|
-
}
|
72228
|
-
var Copy = (0, import_react92.forwardRef)(function(_ref, ref2) {
|
72229
|
-
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"]);
|
72230
|
-
return /* @__PURE__ */ import_react92.default.createElement("svg", _extends6({
|
72231
|
-
ref: ref2,
|
72232
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72233
|
-
width: size,
|
72234
|
-
height: size,
|
72235
|
-
viewBox: "0 0 24 24",
|
72236
|
-
fill: "none",
|
72237
|
-
stroke: color,
|
72238
|
-
strokeWidth: "2",
|
72239
|
-
strokeLinecap: "round",
|
72240
|
-
strokeLinejoin: "round"
|
72241
|
-
}, rest), /* @__PURE__ */ import_react92.default.createElement("rect", {
|
72242
|
-
x: "9",
|
72243
|
-
y: "9",
|
72244
|
-
width: "13",
|
72245
|
-
height: "13",
|
72246
|
-
rx: "2",
|
72247
|
-
ry: "2"
|
72248
|
-
}), /* @__PURE__ */ import_react92.default.createElement("path", {
|
72249
|
-
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
72250
|
-
}));
|
72251
|
-
});
|
72252
|
-
Copy.propTypes = {
|
72253
|
-
color: import_prop_types6.default.string,
|
72254
|
-
size: import_prop_types6.default.oneOfType([import_prop_types6.default.string, import_prop_types6.default.number])
|
72255
|
-
};
|
72256
|
-
Copy.displayName = "Copy";
|
72257
|
-
var copy_default = Copy;
|
70943
|
+
var ChevronLeft = createLucideIcon2("ChevronLeft", [
|
70944
|
+
["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
|
70945
|
+
]);
|
72258
70946
|
init_react_import2();
|
72259
|
-
var
|
72260
|
-
|
72261
|
-
|
72262
|
-
_extends7 = Object.assign || function(target) {
|
72263
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
72264
|
-
var source = arguments[i2];
|
72265
|
-
for (var key in source) {
|
72266
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72267
|
-
target[key] = source[key];
|
72268
|
-
}
|
72269
|
-
}
|
72270
|
-
}
|
72271
|
-
return target;
|
72272
|
-
};
|
72273
|
-
return _extends7.apply(this, arguments);
|
72274
|
-
}
|
72275
|
-
function _objectWithoutProperties7(source, excluded) {
|
72276
|
-
if (source == null)
|
72277
|
-
return {};
|
72278
|
-
var target = _objectWithoutPropertiesLoose7(source, excluded);
|
72279
|
-
var key, i2;
|
72280
|
-
if (Object.getOwnPropertySymbols) {
|
72281
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72282
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72283
|
-
key = sourceSymbolKeys[i2];
|
72284
|
-
if (excluded.indexOf(key) >= 0)
|
72285
|
-
continue;
|
72286
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72287
|
-
continue;
|
72288
|
-
target[key] = source[key];
|
72289
|
-
}
|
72290
|
-
}
|
72291
|
-
return target;
|
72292
|
-
}
|
72293
|
-
function _objectWithoutPropertiesLoose7(source, excluded) {
|
72294
|
-
if (source == null)
|
72295
|
-
return {};
|
72296
|
-
var target = {};
|
72297
|
-
var sourceKeys = Object.keys(source);
|
72298
|
-
var key, i2;
|
72299
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72300
|
-
key = sourceKeys[i2];
|
72301
|
-
if (excluded.indexOf(key) >= 0)
|
72302
|
-
continue;
|
72303
|
-
target[key] = source[key];
|
72304
|
-
}
|
72305
|
-
return target;
|
72306
|
-
}
|
72307
|
-
var Globe = (0, import_react102.forwardRef)(function(_ref, ref2) {
|
72308
|
-
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"]);
|
72309
|
-
return /* @__PURE__ */ import_react102.default.createElement("svg", _extends7({
|
72310
|
-
ref: ref2,
|
72311
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72312
|
-
width: size,
|
72313
|
-
height: size,
|
72314
|
-
viewBox: "0 0 24 24",
|
72315
|
-
fill: "none",
|
72316
|
-
stroke: color,
|
72317
|
-
strokeWidth: "2",
|
72318
|
-
strokeLinecap: "round",
|
72319
|
-
strokeLinejoin: "round"
|
72320
|
-
}, rest), /* @__PURE__ */ import_react102.default.createElement("circle", {
|
72321
|
-
cx: "12",
|
72322
|
-
cy: "12",
|
72323
|
-
r: "10"
|
72324
|
-
}), /* @__PURE__ */ import_react102.default.createElement("line", {
|
72325
|
-
x1: "2",
|
72326
|
-
y1: "12",
|
72327
|
-
x2: "22",
|
72328
|
-
y2: "12"
|
72329
|
-
}), /* @__PURE__ */ import_react102.default.createElement("path", {
|
72330
|
-
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"
|
72331
|
-
}));
|
72332
|
-
});
|
72333
|
-
Globe.propTypes = {
|
72334
|
-
color: import_prop_types7.default.string,
|
72335
|
-
size: import_prop_types7.default.oneOfType([import_prop_types7.default.string, import_prop_types7.default.number])
|
72336
|
-
};
|
72337
|
-
Globe.displayName = "Globe";
|
72338
|
-
var globe_default = Globe;
|
70947
|
+
var ChevronRight2 = createLucideIcon2("ChevronRight", [
|
70948
|
+
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
70949
|
+
]);
|
72339
70950
|
init_react_import2();
|
72340
|
-
var
|
72341
|
-
var import_prop_types8 = __toESM2(require_prop_types2());
|
72342
|
-
function _extends8() {
|
72343
|
-
_extends8 = Object.assign || function(target) {
|
72344
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
72345
|
-
var source = arguments[i2];
|
72346
|
-
for (var key in source) {
|
72347
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72348
|
-
target[key] = source[key];
|
72349
|
-
}
|
72350
|
-
}
|
72351
|
-
}
|
72352
|
-
return target;
|
72353
|
-
};
|
72354
|
-
return _extends8.apply(this, arguments);
|
72355
|
-
}
|
72356
|
-
function _objectWithoutProperties8(source, excluded) {
|
72357
|
-
if (source == null)
|
72358
|
-
return {};
|
72359
|
-
var target = _objectWithoutPropertiesLoose8(source, excluded);
|
72360
|
-
var key, i2;
|
72361
|
-
if (Object.getOwnPropertySymbols) {
|
72362
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72363
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72364
|
-
key = sourceSymbolKeys[i2];
|
72365
|
-
if (excluded.indexOf(key) >= 0)
|
72366
|
-
continue;
|
72367
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72368
|
-
continue;
|
72369
|
-
target[key] = source[key];
|
72370
|
-
}
|
72371
|
-
}
|
72372
|
-
return target;
|
72373
|
-
}
|
72374
|
-
function _objectWithoutPropertiesLoose8(source, excluded) {
|
72375
|
-
if (source == null)
|
72376
|
-
return {};
|
72377
|
-
var target = {};
|
72378
|
-
var sourceKeys = Object.keys(source);
|
72379
|
-
var key, i2;
|
72380
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72381
|
-
key = sourceKeys[i2];
|
72382
|
-
if (excluded.indexOf(key) >= 0)
|
72383
|
-
continue;
|
72384
|
-
target[key] = source[key];
|
72385
|
-
}
|
72386
|
-
return target;
|
72387
|
-
}
|
72388
|
-
var Grid = (0, import_react112.forwardRef)(function(_ref, ref2) {
|
72389
|
-
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"]);
|
72390
|
-
return /* @__PURE__ */ import_react112.default.createElement("svg", _extends8({
|
72391
|
-
ref: ref2,
|
72392
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72393
|
-
width: size,
|
72394
|
-
height: size,
|
72395
|
-
viewBox: "0 0 24 24",
|
72396
|
-
fill: "none",
|
72397
|
-
stroke: color,
|
72398
|
-
strokeWidth: "2",
|
72399
|
-
strokeLinecap: "round",
|
72400
|
-
strokeLinejoin: "round"
|
72401
|
-
}, rest), /* @__PURE__ */ import_react112.default.createElement("rect", {
|
72402
|
-
x: "3",
|
72403
|
-
y: "3",
|
72404
|
-
width: "7",
|
72405
|
-
height: "7"
|
72406
|
-
}), /* @__PURE__ */ import_react112.default.createElement("rect", {
|
72407
|
-
x: "14",
|
72408
|
-
y: "3",
|
72409
|
-
width: "7",
|
72410
|
-
height: "7"
|
72411
|
-
}), /* @__PURE__ */ import_react112.default.createElement("rect", {
|
72412
|
-
x: "14",
|
72413
|
-
y: "14",
|
72414
|
-
width: "7",
|
72415
|
-
height: "7"
|
72416
|
-
}), /* @__PURE__ */ import_react112.default.createElement("rect", {
|
72417
|
-
x: "3",
|
72418
|
-
y: "14",
|
72419
|
-
width: "7",
|
72420
|
-
height: "7"
|
72421
|
-
}));
|
72422
|
-
});
|
72423
|
-
Grid.propTypes = {
|
72424
|
-
color: import_prop_types8.default.string,
|
72425
|
-
size: import_prop_types8.default.oneOfType([import_prop_types8.default.string, import_prop_types8.default.number])
|
72426
|
-
};
|
72427
|
-
Grid.displayName = "Grid";
|
72428
|
-
var grid_default = Grid;
|
70951
|
+
var ChevronUp = createLucideIcon2("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
|
72429
70952
|
init_react_import2();
|
72430
|
-
var
|
72431
|
-
|
72432
|
-
|
72433
|
-
|
72434
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
72435
|
-
var source = arguments[i2];
|
72436
|
-
for (var key in source) {
|
72437
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72438
|
-
target[key] = source[key];
|
72439
|
-
}
|
72440
|
-
}
|
72441
|
-
}
|
72442
|
-
return target;
|
72443
|
-
};
|
72444
|
-
return _extends9.apply(this, arguments);
|
72445
|
-
}
|
72446
|
-
function _objectWithoutProperties9(source, excluded) {
|
72447
|
-
if (source == null)
|
72448
|
-
return {};
|
72449
|
-
var target = _objectWithoutPropertiesLoose9(source, excluded);
|
72450
|
-
var key, i2;
|
72451
|
-
if (Object.getOwnPropertySymbols) {
|
72452
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72453
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72454
|
-
key = sourceSymbolKeys[i2];
|
72455
|
-
if (excluded.indexOf(key) >= 0)
|
72456
|
-
continue;
|
72457
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72458
|
-
continue;
|
72459
|
-
target[key] = source[key];
|
72460
|
-
}
|
72461
|
-
}
|
72462
|
-
return target;
|
72463
|
-
}
|
72464
|
-
function _objectWithoutPropertiesLoose9(source, excluded) {
|
72465
|
-
if (source == null)
|
72466
|
-
return {};
|
72467
|
-
var target = {};
|
72468
|
-
var sourceKeys = Object.keys(source);
|
72469
|
-
var key, i2;
|
72470
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72471
|
-
key = sourceKeys[i2];
|
72472
|
-
if (excluded.indexOf(key) >= 0)
|
72473
|
-
continue;
|
72474
|
-
target[key] = source[key];
|
72475
|
-
}
|
72476
|
-
return target;
|
72477
|
-
}
|
72478
|
-
var Hash = (0, import_react122.forwardRef)(function(_ref, ref2) {
|
72479
|
-
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"]);
|
72480
|
-
return /* @__PURE__ */ import_react122.default.createElement("svg", _extends9({
|
72481
|
-
ref: ref2,
|
72482
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72483
|
-
width: size,
|
72484
|
-
height: size,
|
72485
|
-
viewBox: "0 0 24 24",
|
72486
|
-
fill: "none",
|
72487
|
-
stroke: color,
|
72488
|
-
strokeWidth: "2",
|
72489
|
-
strokeLinecap: "round",
|
72490
|
-
strokeLinejoin: "round"
|
72491
|
-
}, rest), /* @__PURE__ */ import_react122.default.createElement("line", {
|
72492
|
-
x1: "4",
|
72493
|
-
y1: "9",
|
72494
|
-
x2: "20",
|
72495
|
-
y2: "9"
|
72496
|
-
}), /* @__PURE__ */ import_react122.default.createElement("line", {
|
72497
|
-
x1: "4",
|
72498
|
-
y1: "15",
|
72499
|
-
x2: "20",
|
72500
|
-
y2: "15"
|
72501
|
-
}), /* @__PURE__ */ import_react122.default.createElement("line", {
|
72502
|
-
x1: "10",
|
72503
|
-
y1: "3",
|
72504
|
-
x2: "8",
|
72505
|
-
y2: "21"
|
72506
|
-
}), /* @__PURE__ */ import_react122.default.createElement("line", {
|
72507
|
-
x1: "16",
|
72508
|
-
y1: "3",
|
72509
|
-
x2: "14",
|
72510
|
-
y2: "21"
|
72511
|
-
}));
|
72512
|
-
});
|
72513
|
-
Hash.propTypes = {
|
72514
|
-
color: import_prop_types9.default.string,
|
72515
|
-
size: import_prop_types9.default.oneOfType([import_prop_types9.default.string, import_prop_types9.default.number])
|
72516
|
-
};
|
72517
|
-
Hash.displayName = "Hash";
|
72518
|
-
var hash_default = Hash;
|
70953
|
+
var Copy = createLucideIcon2("Copy", [
|
70954
|
+
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
70955
|
+
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
70956
|
+
]);
|
72519
70957
|
init_react_import2();
|
72520
|
-
var
|
72521
|
-
|
72522
|
-
|
72523
|
-
|
72524
|
-
|
72525
|
-
var source = arguments[i2];
|
72526
|
-
for (var key in source) {
|
72527
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72528
|
-
target[key] = source[key];
|
72529
|
-
}
|
72530
|
-
}
|
72531
|
-
}
|
72532
|
-
return target;
|
72533
|
-
};
|
72534
|
-
return _extends10.apply(this, arguments);
|
72535
|
-
}
|
72536
|
-
function _objectWithoutProperties10(source, excluded) {
|
72537
|
-
if (source == null)
|
72538
|
-
return {};
|
72539
|
-
var target = _objectWithoutPropertiesLoose10(source, excluded);
|
72540
|
-
var key, i2;
|
72541
|
-
if (Object.getOwnPropertySymbols) {
|
72542
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72543
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72544
|
-
key = sourceSymbolKeys[i2];
|
72545
|
-
if (excluded.indexOf(key) >= 0)
|
72546
|
-
continue;
|
72547
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72548
|
-
continue;
|
72549
|
-
target[key] = source[key];
|
72550
|
-
}
|
72551
|
-
}
|
72552
|
-
return target;
|
72553
|
-
}
|
72554
|
-
function _objectWithoutPropertiesLoose10(source, excluded) {
|
72555
|
-
if (source == null)
|
72556
|
-
return {};
|
72557
|
-
var target = {};
|
72558
|
-
var sourceKeys = Object.keys(source);
|
72559
|
-
var key, i2;
|
72560
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72561
|
-
key = sourceKeys[i2];
|
72562
|
-
if (excluded.indexOf(key) >= 0)
|
72563
|
-
continue;
|
72564
|
-
target[key] = source[key];
|
72565
|
-
}
|
72566
|
-
return target;
|
72567
|
-
}
|
72568
|
-
var Layers = (0, import_react132.forwardRef)(function(_ref, ref2) {
|
72569
|
-
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"]);
|
72570
|
-
return /* @__PURE__ */ import_react132.default.createElement("svg", _extends10({
|
72571
|
-
ref: ref2,
|
72572
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72573
|
-
width: size,
|
72574
|
-
height: size,
|
72575
|
-
viewBox: "0 0 24 24",
|
72576
|
-
fill: "none",
|
72577
|
-
stroke: color,
|
72578
|
-
strokeWidth: "2",
|
72579
|
-
strokeLinecap: "round",
|
72580
|
-
strokeLinejoin: "round"
|
72581
|
-
}, rest), /* @__PURE__ */ import_react132.default.createElement("polygon", {
|
72582
|
-
points: "12 2 2 7 12 12 22 7 12 2"
|
72583
|
-
}), /* @__PURE__ */ import_react132.default.createElement("polyline", {
|
72584
|
-
points: "2 17 12 22 22 17"
|
72585
|
-
}), /* @__PURE__ */ import_react132.default.createElement("polyline", {
|
72586
|
-
points: "2 12 12 17 22 12"
|
72587
|
-
}));
|
72588
|
-
});
|
72589
|
-
Layers.propTypes = {
|
72590
|
-
color: import_prop_types10.default.string,
|
72591
|
-
size: import_prop_types10.default.oneOfType([import_prop_types10.default.string, import_prop_types10.default.number])
|
72592
|
-
};
|
72593
|
-
Layers.displayName = "Layers";
|
72594
|
-
var layers_default = Layers;
|
70958
|
+
var Globe = createLucideIcon2("Globe", [
|
70959
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
70960
|
+
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
70961
|
+
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
70962
|
+
]);
|
72595
70963
|
init_react_import2();
|
72596
|
-
var
|
72597
|
-
|
72598
|
-
|
72599
|
-
|
72600
|
-
|
72601
|
-
|
72602
|
-
for (var key in source) {
|
72603
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72604
|
-
target[key] = source[key];
|
72605
|
-
}
|
72606
|
-
}
|
72607
|
-
}
|
72608
|
-
return target;
|
72609
|
-
};
|
72610
|
-
return _extends11.apply(this, arguments);
|
72611
|
-
}
|
72612
|
-
function _objectWithoutProperties11(source, excluded) {
|
72613
|
-
if (source == null)
|
72614
|
-
return {};
|
72615
|
-
var target = _objectWithoutPropertiesLoose11(source, excluded);
|
72616
|
-
var key, i2;
|
72617
|
-
if (Object.getOwnPropertySymbols) {
|
72618
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72619
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72620
|
-
key = sourceSymbolKeys[i2];
|
72621
|
-
if (excluded.indexOf(key) >= 0)
|
72622
|
-
continue;
|
72623
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72624
|
-
continue;
|
72625
|
-
target[key] = source[key];
|
72626
|
-
}
|
72627
|
-
}
|
72628
|
-
return target;
|
72629
|
-
}
|
72630
|
-
function _objectWithoutPropertiesLoose11(source, excluded) {
|
72631
|
-
if (source == null)
|
72632
|
-
return {};
|
72633
|
-
var target = {};
|
72634
|
-
var sourceKeys = Object.keys(source);
|
72635
|
-
var key, i2;
|
72636
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72637
|
-
key = sourceKeys[i2];
|
72638
|
-
if (excluded.indexOf(key) >= 0)
|
72639
|
-
continue;
|
72640
|
-
target[key] = source[key];
|
72641
|
-
}
|
72642
|
-
return target;
|
72643
|
-
}
|
72644
|
-
var Link = (0, import_react14.forwardRef)(function(_ref, ref2) {
|
72645
|
-
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"]);
|
72646
|
-
return /* @__PURE__ */ import_react14.default.createElement("svg", _extends11({
|
72647
|
-
ref: ref2,
|
72648
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72649
|
-
width: size,
|
72650
|
-
height: size,
|
72651
|
-
viewBox: "0 0 24 24",
|
72652
|
-
fill: "none",
|
72653
|
-
stroke: color,
|
72654
|
-
strokeWidth: "2",
|
72655
|
-
strokeLinecap: "round",
|
72656
|
-
strokeLinejoin: "round"
|
72657
|
-
}, rest), /* @__PURE__ */ import_react14.default.createElement("path", {
|
72658
|
-
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"
|
72659
|
-
}), /* @__PURE__ */ import_react14.default.createElement("path", {
|
72660
|
-
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"
|
72661
|
-
}));
|
72662
|
-
});
|
72663
|
-
Link.propTypes = {
|
72664
|
-
color: import_prop_types11.default.string,
|
72665
|
-
size: import_prop_types11.default.oneOfType([import_prop_types11.default.string, import_prop_types11.default.number])
|
72666
|
-
};
|
72667
|
-
Link.displayName = "Link";
|
72668
|
-
var link_default = Link;
|
70964
|
+
var Hash = createLucideIcon2("Hash", [
|
70965
|
+
["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
|
70966
|
+
["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
|
70967
|
+
["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
|
70968
|
+
["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
|
70969
|
+
]);
|
72669
70970
|
init_react_import2();
|
72670
|
-
var
|
72671
|
-
|
72672
|
-
|
72673
|
-
|
72674
|
-
|
72675
|
-
|
72676
|
-
for (var key in source) {
|
72677
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72678
|
-
target[key] = source[key];
|
72679
|
-
}
|
72680
|
-
}
|
72681
|
-
}
|
72682
|
-
return target;
|
72683
|
-
};
|
72684
|
-
return _extends12.apply(this, arguments);
|
72685
|
-
}
|
72686
|
-
function _objectWithoutProperties12(source, excluded) {
|
72687
|
-
if (source == null)
|
72688
|
-
return {};
|
72689
|
-
var target = _objectWithoutPropertiesLoose12(source, excluded);
|
72690
|
-
var key, i2;
|
72691
|
-
if (Object.getOwnPropertySymbols) {
|
72692
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72693
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72694
|
-
key = sourceSymbolKeys[i2];
|
72695
|
-
if (excluded.indexOf(key) >= 0)
|
72696
|
-
continue;
|
72697
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72698
|
-
continue;
|
72699
|
-
target[key] = source[key];
|
70971
|
+
var Layers = createLucideIcon2("Layers", [
|
70972
|
+
[
|
70973
|
+
"path",
|
70974
|
+
{
|
70975
|
+
d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",
|
70976
|
+
key: "8b97xw"
|
72700
70977
|
}
|
72701
|
-
|
72702
|
-
|
72703
|
-
|
72704
|
-
|
72705
|
-
if (source == null)
|
72706
|
-
return {};
|
72707
|
-
var target = {};
|
72708
|
-
var sourceKeys = Object.keys(source);
|
72709
|
-
var key, i2;
|
72710
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72711
|
-
key = sourceKeys[i2];
|
72712
|
-
if (excluded.indexOf(key) >= 0)
|
72713
|
-
continue;
|
72714
|
-
target[key] = source[key];
|
72715
|
-
}
|
72716
|
-
return target;
|
72717
|
-
}
|
72718
|
-
var List = (0, import_react15.forwardRef)(function(_ref, ref2) {
|
72719
|
-
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"]);
|
72720
|
-
return /* @__PURE__ */ import_react15.default.createElement("svg", _extends12({
|
72721
|
-
ref: ref2,
|
72722
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72723
|
-
width: size,
|
72724
|
-
height: size,
|
72725
|
-
viewBox: "0 0 24 24",
|
72726
|
-
fill: "none",
|
72727
|
-
stroke: color,
|
72728
|
-
strokeWidth: "2",
|
72729
|
-
strokeLinecap: "round",
|
72730
|
-
strokeLinejoin: "round"
|
72731
|
-
}, rest), /* @__PURE__ */ import_react15.default.createElement("line", {
|
72732
|
-
x1: "8",
|
72733
|
-
y1: "6",
|
72734
|
-
x2: "21",
|
72735
|
-
y2: "6"
|
72736
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
72737
|
-
x1: "8",
|
72738
|
-
y1: "12",
|
72739
|
-
x2: "21",
|
72740
|
-
y2: "12"
|
72741
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
72742
|
-
x1: "8",
|
72743
|
-
y1: "18",
|
72744
|
-
x2: "21",
|
72745
|
-
y2: "18"
|
72746
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
72747
|
-
x1: "3",
|
72748
|
-
y1: "6",
|
72749
|
-
x2: "3.01",
|
72750
|
-
y2: "6"
|
72751
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
72752
|
-
x1: "3",
|
72753
|
-
y1: "12",
|
72754
|
-
x2: "3.01",
|
72755
|
-
y2: "12"
|
72756
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
72757
|
-
x1: "3",
|
72758
|
-
y1: "18",
|
72759
|
-
x2: "3.01",
|
72760
|
-
y2: "18"
|
72761
|
-
}));
|
72762
|
-
});
|
72763
|
-
List.propTypes = {
|
72764
|
-
color: import_prop_types12.default.string,
|
72765
|
-
size: import_prop_types12.default.oneOfType([import_prop_types12.default.string, import_prop_types12.default.number])
|
72766
|
-
};
|
72767
|
-
List.displayName = "List";
|
72768
|
-
var list_default = List;
|
70978
|
+
],
|
70979
|
+
["path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65", key: "dd6zsq" }],
|
70980
|
+
["path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65", key: "ep9fru" }]
|
70981
|
+
]);
|
72769
70982
|
init_react_import2();
|
72770
|
-
var
|
72771
|
-
|
72772
|
-
|
72773
|
-
|
72774
|
-
|
72775
|
-
|
72776
|
-
for (var key in source) {
|
72777
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72778
|
-
target[key] = source[key];
|
72779
|
-
}
|
72780
|
-
}
|
72781
|
-
}
|
72782
|
-
return target;
|
72783
|
-
};
|
72784
|
-
return _extends13.apply(this, arguments);
|
72785
|
-
}
|
72786
|
-
function _objectWithoutProperties13(source, excluded) {
|
72787
|
-
if (source == null)
|
72788
|
-
return {};
|
72789
|
-
var target = _objectWithoutPropertiesLoose13(source, excluded);
|
72790
|
-
var key, i2;
|
72791
|
-
if (Object.getOwnPropertySymbols) {
|
72792
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72793
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72794
|
-
key = sourceSymbolKeys[i2];
|
72795
|
-
if (excluded.indexOf(key) >= 0)
|
72796
|
-
continue;
|
72797
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72798
|
-
continue;
|
72799
|
-
target[key] = source[key];
|
72800
|
-
}
|
72801
|
-
}
|
72802
|
-
return target;
|
72803
|
-
}
|
72804
|
-
function _objectWithoutPropertiesLoose13(source, excluded) {
|
72805
|
-
if (source == null)
|
72806
|
-
return {};
|
72807
|
-
var target = {};
|
72808
|
-
var sourceKeys = Object.keys(source);
|
72809
|
-
var key, i2;
|
72810
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72811
|
-
key = sourceKeys[i2];
|
72812
|
-
if (excluded.indexOf(key) >= 0)
|
72813
|
-
continue;
|
72814
|
-
target[key] = source[key];
|
72815
|
-
}
|
72816
|
-
return target;
|
72817
|
-
}
|
72818
|
-
var Lock = (0, import_react16.forwardRef)(function(_ref, ref2) {
|
72819
|
-
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"]);
|
72820
|
-
return /* @__PURE__ */ import_react16.default.createElement("svg", _extends13({
|
72821
|
-
ref: ref2,
|
72822
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72823
|
-
width: size,
|
72824
|
-
height: size,
|
72825
|
-
viewBox: "0 0 24 24",
|
72826
|
-
fill: "none",
|
72827
|
-
stroke: color,
|
72828
|
-
strokeWidth: "2",
|
72829
|
-
strokeLinecap: "round",
|
72830
|
-
strokeLinejoin: "round"
|
72831
|
-
}, rest), /* @__PURE__ */ import_react16.default.createElement("rect", {
|
72832
|
-
x: "3",
|
72833
|
-
y: "11",
|
72834
|
-
width: "18",
|
72835
|
-
height: "11",
|
72836
|
-
rx: "2",
|
72837
|
-
ry: "2"
|
72838
|
-
}), /* @__PURE__ */ import_react16.default.createElement("path", {
|
72839
|
-
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
72840
|
-
}));
|
72841
|
-
});
|
72842
|
-
Lock.propTypes = {
|
72843
|
-
color: import_prop_types13.default.string,
|
72844
|
-
size: import_prop_types13.default.oneOfType([import_prop_types13.default.string, import_prop_types13.default.number])
|
72845
|
-
};
|
72846
|
-
Lock.displayName = "Lock";
|
72847
|
-
var lock_default = Lock;
|
70983
|
+
var LayoutGrid = createLucideIcon2("LayoutGrid", [
|
70984
|
+
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
70985
|
+
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
70986
|
+
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
70987
|
+
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
70988
|
+
]);
|
72848
70989
|
init_react_import2();
|
72849
|
-
var
|
72850
|
-
|
72851
|
-
|
72852
|
-
|
72853
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
72854
|
-
var source = arguments[i2];
|
72855
|
-
for (var key in source) {
|
72856
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
72857
|
-
target[key] = source[key];
|
72858
|
-
}
|
72859
|
-
}
|
72860
|
-
}
|
72861
|
-
return target;
|
72862
|
-
};
|
72863
|
-
return _extends14.apply(this, arguments);
|
72864
|
-
}
|
72865
|
-
function _objectWithoutProperties14(source, excluded) {
|
72866
|
-
if (source == null)
|
72867
|
-
return {};
|
72868
|
-
var target = _objectWithoutPropertiesLoose14(source, excluded);
|
72869
|
-
var key, i2;
|
72870
|
-
if (Object.getOwnPropertySymbols) {
|
72871
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72872
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72873
|
-
key = sourceSymbolKeys[i2];
|
72874
|
-
if (excluded.indexOf(key) >= 0)
|
72875
|
-
continue;
|
72876
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72877
|
-
continue;
|
72878
|
-
target[key] = source[key];
|
72879
|
-
}
|
72880
|
-
}
|
72881
|
-
return target;
|
72882
|
-
}
|
72883
|
-
function _objectWithoutPropertiesLoose14(source, excluded) {
|
72884
|
-
if (source == null)
|
72885
|
-
return {};
|
72886
|
-
var target = {};
|
72887
|
-
var sourceKeys = Object.keys(source);
|
72888
|
-
var key, i2;
|
72889
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72890
|
-
key = sourceKeys[i2];
|
72891
|
-
if (excluded.indexOf(key) >= 0)
|
72892
|
-
continue;
|
72893
|
-
target[key] = source[key];
|
72894
|
-
}
|
72895
|
-
return target;
|
72896
|
-
}
|
72897
|
-
var MoreVertical = (0, import_react17.forwardRef)(function(_ref, ref2) {
|
72898
|
-
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 = _objectWithoutProperties14(_ref, ["color", "size"]);
|
72899
|
-
return /* @__PURE__ */ import_react17.default.createElement("svg", _extends14({
|
72900
|
-
ref: ref2,
|
72901
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72902
|
-
width: size,
|
72903
|
-
height: size,
|
72904
|
-
viewBox: "0 0 24 24",
|
72905
|
-
fill: "none",
|
72906
|
-
stroke: color,
|
72907
|
-
strokeWidth: "2",
|
72908
|
-
strokeLinecap: "round",
|
72909
|
-
strokeLinejoin: "round"
|
72910
|
-
}, rest), /* @__PURE__ */ import_react17.default.createElement("circle", {
|
72911
|
-
cx: "12",
|
72912
|
-
cy: "12",
|
72913
|
-
r: "1"
|
72914
|
-
}), /* @__PURE__ */ import_react17.default.createElement("circle", {
|
72915
|
-
cx: "12",
|
72916
|
-
cy: "5",
|
72917
|
-
r: "1"
|
72918
|
-
}), /* @__PURE__ */ import_react17.default.createElement("circle", {
|
72919
|
-
cx: "12",
|
72920
|
-
cy: "19",
|
72921
|
-
r: "1"
|
72922
|
-
}));
|
72923
|
-
});
|
72924
|
-
MoreVertical.propTypes = {
|
72925
|
-
color: import_prop_types14.default.string,
|
72926
|
-
size: import_prop_types14.default.oneOfType([import_prop_types14.default.string, import_prop_types14.default.number])
|
72927
|
-
};
|
72928
|
-
MoreVertical.displayName = "MoreVertical";
|
72929
|
-
var more_vertical_default = MoreVertical;
|
70990
|
+
var Link = createLucideIcon2("Link", [
|
70991
|
+
["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
|
70992
|
+
["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
|
70993
|
+
]);
|
72930
70994
|
init_react_import2();
|
72931
|
-
var
|
72932
|
-
|
72933
|
-
|
72934
|
-
|
72935
|
-
|
72936
|
-
|
72937
|
-
|
72938
|
-
|
72939
|
-
target[key] = source[key];
|
72940
|
-
}
|
72941
|
-
}
|
72942
|
-
}
|
72943
|
-
return target;
|
72944
|
-
};
|
72945
|
-
return _extends15.apply(this, arguments);
|
72946
|
-
}
|
72947
|
-
function _objectWithoutProperties15(source, excluded) {
|
72948
|
-
if (source == null)
|
72949
|
-
return {};
|
72950
|
-
var target = _objectWithoutPropertiesLoose15(source, excluded);
|
72951
|
-
var key, i2;
|
72952
|
-
if (Object.getOwnPropertySymbols) {
|
72953
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
72954
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
72955
|
-
key = sourceSymbolKeys[i2];
|
72956
|
-
if (excluded.indexOf(key) >= 0)
|
72957
|
-
continue;
|
72958
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
72959
|
-
continue;
|
72960
|
-
target[key] = source[key];
|
72961
|
-
}
|
72962
|
-
}
|
72963
|
-
return target;
|
72964
|
-
}
|
72965
|
-
function _objectWithoutPropertiesLoose15(source, excluded) {
|
72966
|
-
if (source == null)
|
72967
|
-
return {};
|
72968
|
-
var target = {};
|
72969
|
-
var sourceKeys = Object.keys(source);
|
72970
|
-
var key, i2;
|
72971
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
72972
|
-
key = sourceKeys[i2];
|
72973
|
-
if (excluded.indexOf(key) >= 0)
|
72974
|
-
continue;
|
72975
|
-
target[key] = source[key];
|
72976
|
-
}
|
72977
|
-
return target;
|
72978
|
-
}
|
72979
|
-
var Plus = (0, import_react18.forwardRef)(function(_ref, ref2) {
|
72980
|
-
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 = _objectWithoutProperties15(_ref, ["color", "size"]);
|
72981
|
-
return /* @__PURE__ */ import_react18.default.createElement("svg", _extends15({
|
72982
|
-
ref: ref2,
|
72983
|
-
xmlns: "http://www.w3.org/2000/svg",
|
72984
|
-
width: size,
|
72985
|
-
height: size,
|
72986
|
-
viewBox: "0 0 24 24",
|
72987
|
-
fill: "none",
|
72988
|
-
stroke: color,
|
72989
|
-
strokeWidth: "2",
|
72990
|
-
strokeLinecap: "round",
|
72991
|
-
strokeLinejoin: "round"
|
72992
|
-
}, rest), /* @__PURE__ */ import_react18.default.createElement("line", {
|
72993
|
-
x1: "12",
|
72994
|
-
y1: "5",
|
72995
|
-
x2: "12",
|
72996
|
-
y2: "19"
|
72997
|
-
}), /* @__PURE__ */ import_react18.default.createElement("line", {
|
72998
|
-
x1: "5",
|
72999
|
-
y1: "12",
|
73000
|
-
x2: "19",
|
73001
|
-
y2: "12"
|
73002
|
-
}));
|
73003
|
-
});
|
73004
|
-
Plus.propTypes = {
|
73005
|
-
color: import_prop_types15.default.string,
|
73006
|
-
size: import_prop_types15.default.oneOfType([import_prop_types15.default.string, import_prop_types15.default.number])
|
73007
|
-
};
|
73008
|
-
Plus.displayName = "Plus";
|
73009
|
-
var plus_default = Plus;
|
70995
|
+
var List = createLucideIcon2("List", [
|
70996
|
+
["line", { x1: "8", x2: "21", y1: "6", y2: "6", key: "7ey8pc" }],
|
70997
|
+
["line", { x1: "8", x2: "21", y1: "12", y2: "12", key: "rjfblc" }],
|
70998
|
+
["line", { x1: "8", x2: "21", y1: "18", y2: "18", key: "c3b1m8" }],
|
70999
|
+
["line", { x1: "3", x2: "3.01", y1: "6", y2: "6", key: "1g7gq3" }],
|
71000
|
+
["line", { x1: "3", x2: "3.01", y1: "12", y2: "12", key: "1pjlvk" }],
|
71001
|
+
["line", { x1: "3", x2: "3.01", y1: "18", y2: "18", key: "28t2mc" }]
|
71002
|
+
]);
|
73010
71003
|
init_react_import2();
|
73011
|
-
var
|
73012
|
-
|
73013
|
-
|
73014
|
-
|
73015
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
73016
|
-
var source = arguments[i2];
|
73017
|
-
for (var key in source) {
|
73018
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
73019
|
-
target[key] = source[key];
|
73020
|
-
}
|
73021
|
-
}
|
73022
|
-
}
|
73023
|
-
return target;
|
73024
|
-
};
|
73025
|
-
return _extends16.apply(this, arguments);
|
73026
|
-
}
|
73027
|
-
function _objectWithoutProperties16(source, excluded) {
|
73028
|
-
if (source == null)
|
73029
|
-
return {};
|
73030
|
-
var target = _objectWithoutPropertiesLoose16(source, excluded);
|
73031
|
-
var key, i2;
|
73032
|
-
if (Object.getOwnPropertySymbols) {
|
73033
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
73034
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
73035
|
-
key = sourceSymbolKeys[i2];
|
73036
|
-
if (excluded.indexOf(key) >= 0)
|
73037
|
-
continue;
|
73038
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
73039
|
-
continue;
|
73040
|
-
target[key] = source[key];
|
73041
|
-
}
|
73042
|
-
}
|
73043
|
-
return target;
|
73044
|
-
}
|
73045
|
-
function _objectWithoutPropertiesLoose16(source, excluded) {
|
73046
|
-
if (source == null)
|
73047
|
-
return {};
|
73048
|
-
var target = {};
|
73049
|
-
var sourceKeys = Object.keys(source);
|
73050
|
-
var key, i2;
|
73051
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
73052
|
-
key = sourceKeys[i2];
|
73053
|
-
if (excluded.indexOf(key) >= 0)
|
73054
|
-
continue;
|
73055
|
-
target[key] = source[key];
|
73056
|
-
}
|
73057
|
-
return target;
|
73058
|
-
}
|
73059
|
-
var Search = (0, import_react19.forwardRef)(function(_ref, ref2) {
|
73060
|
-
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 = _objectWithoutProperties16(_ref, ["color", "size"]);
|
73061
|
-
return /* @__PURE__ */ import_react19.default.createElement("svg", _extends16({
|
73062
|
-
ref: ref2,
|
73063
|
-
xmlns: "http://www.w3.org/2000/svg",
|
73064
|
-
width: size,
|
73065
|
-
height: size,
|
73066
|
-
viewBox: "0 0 24 24",
|
73067
|
-
fill: "none",
|
73068
|
-
stroke: color,
|
73069
|
-
strokeWidth: "2",
|
73070
|
-
strokeLinecap: "round",
|
73071
|
-
strokeLinejoin: "round"
|
73072
|
-
}, rest), /* @__PURE__ */ import_react19.default.createElement("circle", {
|
73073
|
-
cx: "11",
|
73074
|
-
cy: "11",
|
73075
|
-
r: "8"
|
73076
|
-
}), /* @__PURE__ */ import_react19.default.createElement("line", {
|
73077
|
-
x1: "21",
|
73078
|
-
y1: "21",
|
73079
|
-
x2: "16.65",
|
73080
|
-
y2: "16.65"
|
73081
|
-
}));
|
73082
|
-
});
|
73083
|
-
Search.propTypes = {
|
73084
|
-
color: import_prop_types16.default.string,
|
73085
|
-
size: import_prop_types16.default.oneOfType([import_prop_types16.default.string, import_prop_types16.default.number])
|
73086
|
-
};
|
73087
|
-
Search.displayName = "Search";
|
73088
|
-
var search_default = Search;
|
71004
|
+
var Lock = createLucideIcon2("Lock", [
|
71005
|
+
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
71006
|
+
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
71007
|
+
]);
|
73089
71008
|
init_react_import2();
|
73090
|
-
var
|
73091
|
-
|
73092
|
-
|
73093
|
-
|
73094
|
-
|
73095
|
-
var source = arguments[i2];
|
73096
|
-
for (var key in source) {
|
73097
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
73098
|
-
target[key] = source[key];
|
73099
|
-
}
|
73100
|
-
}
|
73101
|
-
}
|
73102
|
-
return target;
|
73103
|
-
};
|
73104
|
-
return _extends17.apply(this, arguments);
|
73105
|
-
}
|
73106
|
-
function _objectWithoutProperties17(source, excluded) {
|
73107
|
-
if (source == null)
|
73108
|
-
return {};
|
73109
|
-
var target = _objectWithoutPropertiesLoose17(source, excluded);
|
73110
|
-
var key, i2;
|
73111
|
-
if (Object.getOwnPropertySymbols) {
|
73112
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
73113
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
73114
|
-
key = sourceSymbolKeys[i2];
|
73115
|
-
if (excluded.indexOf(key) >= 0)
|
73116
|
-
continue;
|
73117
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
73118
|
-
continue;
|
73119
|
-
target[key] = source[key];
|
73120
|
-
}
|
73121
|
-
}
|
73122
|
-
return target;
|
73123
|
-
}
|
73124
|
-
function _objectWithoutPropertiesLoose17(source, excluded) {
|
73125
|
-
if (source == null)
|
73126
|
-
return {};
|
73127
|
-
var target = {};
|
73128
|
-
var sourceKeys = Object.keys(source);
|
73129
|
-
var key, i2;
|
73130
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
73131
|
-
key = sourceKeys[i2];
|
73132
|
-
if (excluded.indexOf(key) >= 0)
|
73133
|
-
continue;
|
73134
|
-
target[key] = source[key];
|
73135
|
-
}
|
73136
|
-
return target;
|
73137
|
-
}
|
73138
|
-
var Sidebar = (0, import_react20.forwardRef)(function(_ref, ref2) {
|
73139
|
-
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 = _objectWithoutProperties17(_ref, ["color", "size"]);
|
73140
|
-
return /* @__PURE__ */ import_react20.default.createElement("svg", _extends17({
|
73141
|
-
ref: ref2,
|
73142
|
-
xmlns: "http://www.w3.org/2000/svg",
|
73143
|
-
width: size,
|
73144
|
-
height: size,
|
73145
|
-
viewBox: "0 0 24 24",
|
73146
|
-
fill: "none",
|
73147
|
-
stroke: color,
|
73148
|
-
strokeWidth: "2",
|
73149
|
-
strokeLinecap: "round",
|
73150
|
-
strokeLinejoin: "round"
|
73151
|
-
}, rest), /* @__PURE__ */ import_react20.default.createElement("rect", {
|
73152
|
-
x: "3",
|
73153
|
-
y: "3",
|
73154
|
-
width: "18",
|
73155
|
-
height: "18",
|
73156
|
-
rx: "2",
|
73157
|
-
ry: "2"
|
73158
|
-
}), /* @__PURE__ */ import_react20.default.createElement("line", {
|
73159
|
-
x1: "9",
|
73160
|
-
y1: "3",
|
73161
|
-
x2: "9",
|
73162
|
-
y2: "21"
|
73163
|
-
}));
|
73164
|
-
});
|
73165
|
-
Sidebar.propTypes = {
|
73166
|
-
color: import_prop_types17.default.string,
|
73167
|
-
size: import_prop_types17.default.oneOfType([import_prop_types17.default.string, import_prop_types17.default.number])
|
73168
|
-
};
|
73169
|
-
Sidebar.displayName = "Sidebar";
|
73170
|
-
var sidebar_default = Sidebar;
|
71009
|
+
var MoreVertical = createLucideIcon2("MoreVertical", [
|
71010
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
71011
|
+
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
71012
|
+
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
71013
|
+
]);
|
73171
71014
|
init_react_import2();
|
73172
|
-
var
|
73173
|
-
|
73174
|
-
|
73175
|
-
|
73176
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
73177
|
-
var source = arguments[i2];
|
73178
|
-
for (var key in source) {
|
73179
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
73180
|
-
target[key] = source[key];
|
73181
|
-
}
|
73182
|
-
}
|
73183
|
-
}
|
73184
|
-
return target;
|
73185
|
-
};
|
73186
|
-
return _extends18.apply(this, arguments);
|
73187
|
-
}
|
73188
|
-
function _objectWithoutProperties18(source, excluded) {
|
73189
|
-
if (source == null)
|
73190
|
-
return {};
|
73191
|
-
var target = _objectWithoutPropertiesLoose18(source, excluded);
|
73192
|
-
var key, i2;
|
73193
|
-
if (Object.getOwnPropertySymbols) {
|
73194
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
73195
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
73196
|
-
key = sourceSymbolKeys[i2];
|
73197
|
-
if (excluded.indexOf(key) >= 0)
|
73198
|
-
continue;
|
73199
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
73200
|
-
continue;
|
73201
|
-
target[key] = source[key];
|
73202
|
-
}
|
73203
|
-
}
|
73204
|
-
return target;
|
73205
|
-
}
|
73206
|
-
function _objectWithoutPropertiesLoose18(source, excluded) {
|
73207
|
-
if (source == null)
|
73208
|
-
return {};
|
73209
|
-
var target = {};
|
73210
|
-
var sourceKeys = Object.keys(source);
|
73211
|
-
var key, i2;
|
73212
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
73213
|
-
key = sourceKeys[i2];
|
73214
|
-
if (excluded.indexOf(key) >= 0)
|
73215
|
-
continue;
|
73216
|
-
target[key] = source[key];
|
73217
|
-
}
|
73218
|
-
return target;
|
73219
|
-
}
|
73220
|
-
var Trash = (0, import_react21.forwardRef)(function(_ref, ref2) {
|
73221
|
-
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 = _objectWithoutProperties18(_ref, ["color", "size"]);
|
73222
|
-
return /* @__PURE__ */ import_react21.default.createElement("svg", _extends18({
|
73223
|
-
ref: ref2,
|
73224
|
-
xmlns: "http://www.w3.org/2000/svg",
|
73225
|
-
width: size,
|
73226
|
-
height: size,
|
73227
|
-
viewBox: "0 0 24 24",
|
73228
|
-
fill: "none",
|
73229
|
-
stroke: color,
|
73230
|
-
strokeWidth: "2",
|
73231
|
-
strokeLinecap: "round",
|
73232
|
-
strokeLinejoin: "round"
|
73233
|
-
}, rest), /* @__PURE__ */ import_react21.default.createElement("polyline", {
|
73234
|
-
points: "3 6 5 6 21 6"
|
73235
|
-
}), /* @__PURE__ */ import_react21.default.createElement("path", {
|
73236
|
-
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"
|
73237
|
-
}));
|
73238
|
-
});
|
73239
|
-
Trash.propTypes = {
|
73240
|
-
color: import_prop_types18.default.string,
|
73241
|
-
size: import_prop_types18.default.oneOfType([import_prop_types18.default.string, import_prop_types18.default.number])
|
73242
|
-
};
|
73243
|
-
Trash.displayName = "Trash";
|
73244
|
-
var trash_default = Trash;
|
71015
|
+
var PanelLeft = createLucideIcon2("PanelLeft", [
|
71016
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
71017
|
+
["line", { x1: "9", x2: "9", y1: "3", y2: "21", key: "13tij5" }]
|
71018
|
+
]);
|
73245
71019
|
init_react_import2();
|
73246
|
-
var
|
73247
|
-
|
73248
|
-
|
73249
|
-
|
73250
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
73251
|
-
var source = arguments[i2];
|
73252
|
-
for (var key in source) {
|
73253
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
73254
|
-
target[key] = source[key];
|
73255
|
-
}
|
73256
|
-
}
|
73257
|
-
}
|
73258
|
-
return target;
|
73259
|
-
};
|
73260
|
-
return _extends19.apply(this, arguments);
|
73261
|
-
}
|
73262
|
-
function _objectWithoutProperties19(source, excluded) {
|
73263
|
-
if (source == null)
|
73264
|
-
return {};
|
73265
|
-
var target = _objectWithoutPropertiesLoose19(source, excluded);
|
73266
|
-
var key, i2;
|
73267
|
-
if (Object.getOwnPropertySymbols) {
|
73268
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
73269
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
73270
|
-
key = sourceSymbolKeys[i2];
|
73271
|
-
if (excluded.indexOf(key) >= 0)
|
73272
|
-
continue;
|
73273
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
73274
|
-
continue;
|
73275
|
-
target[key] = source[key];
|
73276
|
-
}
|
73277
|
-
}
|
73278
|
-
return target;
|
73279
|
-
}
|
73280
|
-
function _objectWithoutPropertiesLoose19(source, excluded) {
|
73281
|
-
if (source == null)
|
73282
|
-
return {};
|
73283
|
-
var target = {};
|
73284
|
-
var sourceKeys = Object.keys(source);
|
73285
|
-
var key, i2;
|
73286
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
73287
|
-
key = sourceKeys[i2];
|
73288
|
-
if (excluded.indexOf(key) >= 0)
|
73289
|
-
continue;
|
73290
|
-
target[key] = source[key];
|
73291
|
-
}
|
73292
|
-
return target;
|
73293
|
-
}
|
73294
|
-
var Type = (0, import_react222.forwardRef)(function(_ref, ref2) {
|
73295
|
-
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 = _objectWithoutProperties19(_ref, ["color", "size"]);
|
73296
|
-
return /* @__PURE__ */ import_react222.default.createElement("svg", _extends19({
|
73297
|
-
ref: ref2,
|
73298
|
-
xmlns: "http://www.w3.org/2000/svg",
|
73299
|
-
width: size,
|
73300
|
-
height: size,
|
73301
|
-
viewBox: "0 0 24 24",
|
73302
|
-
fill: "none",
|
73303
|
-
stroke: color,
|
73304
|
-
strokeWidth: "2",
|
73305
|
-
strokeLinecap: "round",
|
73306
|
-
strokeLinejoin: "round"
|
73307
|
-
}, rest), /* @__PURE__ */ import_react222.default.createElement("polyline", {
|
73308
|
-
points: "4 7 4 4 20 4 20 7"
|
73309
|
-
}), /* @__PURE__ */ import_react222.default.createElement("line", {
|
73310
|
-
x1: "9",
|
73311
|
-
y1: "20",
|
73312
|
-
x2: "15",
|
73313
|
-
y2: "20"
|
73314
|
-
}), /* @__PURE__ */ import_react222.default.createElement("line", {
|
73315
|
-
x1: "12",
|
73316
|
-
y1: "4",
|
73317
|
-
x2: "12",
|
73318
|
-
y2: "20"
|
73319
|
-
}));
|
73320
|
-
});
|
73321
|
-
Type.propTypes = {
|
73322
|
-
color: import_prop_types19.default.string,
|
73323
|
-
size: import_prop_types19.default.oneOfType([import_prop_types19.default.string, import_prop_types19.default.number])
|
73324
|
-
};
|
73325
|
-
Type.displayName = "Type";
|
73326
|
-
var type_default = Type;
|
71020
|
+
var PanelRight = createLucideIcon2("PanelRight", [
|
71021
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
71022
|
+
["line", { x1: "15", x2: "15", y1: "3", y2: "21", key: "1hpv9i" }]
|
71023
|
+
]);
|
73327
71024
|
init_react_import2();
|
73328
|
-
var
|
73329
|
-
|
73330
|
-
|
73331
|
-
|
73332
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
73333
|
-
var source = arguments[i2];
|
73334
|
-
for (var key in source) {
|
73335
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
73336
|
-
target[key] = source[key];
|
73337
|
-
}
|
73338
|
-
}
|
73339
|
-
}
|
73340
|
-
return target;
|
73341
|
-
};
|
73342
|
-
return _extends20.apply(this, arguments);
|
73343
|
-
}
|
73344
|
-
function _objectWithoutProperties20(source, excluded) {
|
73345
|
-
if (source == null)
|
73346
|
-
return {};
|
73347
|
-
var target = _objectWithoutPropertiesLoose20(source, excluded);
|
73348
|
-
var key, i2;
|
73349
|
-
if (Object.getOwnPropertySymbols) {
|
73350
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
73351
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
73352
|
-
key = sourceSymbolKeys[i2];
|
73353
|
-
if (excluded.indexOf(key) >= 0)
|
73354
|
-
continue;
|
73355
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
73356
|
-
continue;
|
73357
|
-
target[key] = source[key];
|
73358
|
-
}
|
73359
|
-
}
|
73360
|
-
return target;
|
73361
|
-
}
|
73362
|
-
function _objectWithoutPropertiesLoose20(source, excluded) {
|
73363
|
-
if (source == null)
|
73364
|
-
return {};
|
73365
|
-
var target = {};
|
73366
|
-
var sourceKeys = Object.keys(source);
|
73367
|
-
var key, i2;
|
73368
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
73369
|
-
key = sourceKeys[i2];
|
73370
|
-
if (excluded.indexOf(key) >= 0)
|
73371
|
-
continue;
|
73372
|
-
target[key] = source[key];
|
73373
|
-
}
|
73374
|
-
return target;
|
73375
|
-
}
|
73376
|
-
var Unlock = (0, import_react23.forwardRef)(function(_ref, ref2) {
|
73377
|
-
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 = _objectWithoutProperties20(_ref, ["color", "size"]);
|
73378
|
-
return /* @__PURE__ */ import_react23.default.createElement("svg", _extends20({
|
73379
|
-
ref: ref2,
|
73380
|
-
xmlns: "http://www.w3.org/2000/svg",
|
73381
|
-
width: size,
|
73382
|
-
height: size,
|
73383
|
-
viewBox: "0 0 24 24",
|
73384
|
-
fill: "none",
|
73385
|
-
stroke: color,
|
73386
|
-
strokeWidth: "2",
|
73387
|
-
strokeLinecap: "round",
|
73388
|
-
strokeLinejoin: "round"
|
73389
|
-
}, rest), /* @__PURE__ */ import_react23.default.createElement("rect", {
|
73390
|
-
x: "3",
|
73391
|
-
y: "11",
|
73392
|
-
width: "18",
|
73393
|
-
height: "11",
|
73394
|
-
rx: "2",
|
73395
|
-
ry: "2"
|
73396
|
-
}), /* @__PURE__ */ import_react23.default.createElement("path", {
|
73397
|
-
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
73398
|
-
}));
|
73399
|
-
});
|
73400
|
-
Unlock.propTypes = {
|
73401
|
-
color: import_prop_types20.default.string,
|
73402
|
-
size: import_prop_types20.default.oneOfType([import_prop_types20.default.string, import_prop_types20.default.number])
|
73403
|
-
};
|
73404
|
-
Unlock.displayName = "Unlock";
|
73405
|
-
var unlock_default = Unlock;
|
71025
|
+
var Plus = createLucideIcon2("Plus", [
|
71026
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
71027
|
+
["path", { d: "M12 5v14", key: "s699le" }]
|
71028
|
+
]);
|
73406
71029
|
init_react_import2();
|
73407
|
-
var
|
71030
|
+
var Search = createLucideIcon2("Search", [
|
71031
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
71032
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
71033
|
+
]);
|
71034
|
+
init_react_import2();
|
71035
|
+
var Trash = createLucideIcon2("Trash", [
|
71036
|
+
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
71037
|
+
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
71038
|
+
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }]
|
71039
|
+
]);
|
71040
|
+
init_react_import2();
|
71041
|
+
var Type = createLucideIcon2("Type", [
|
71042
|
+
["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
|
71043
|
+
["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
|
71044
|
+
["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
|
71045
|
+
]);
|
71046
|
+
init_react_import2();
|
71047
|
+
var Unlock = createLucideIcon2("Unlock", [
|
71048
|
+
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
71049
|
+
["path", { d: "M7 11V7a5 5 0 0 1 9.9-1", key: "1mm8w8" }]
|
71050
|
+
]);
|
71051
|
+
init_react_import2();
|
71052
|
+
var import_react52 = require("react");
|
73408
71053
|
var useModifierHeld = (modifier) => {
|
73409
|
-
const [modifierHeld, setModifierHeld] = (0,
|
73410
|
-
(0,
|
71054
|
+
const [modifierHeld, setModifierHeld] = (0, import_react52.useState)(false);
|
71055
|
+
(0, import_react52.useEffect)(() => {
|
73411
71056
|
function downHandler({ key }) {
|
73412
71057
|
if (key === modifier) {
|
73413
71058
|
setModifierHeld(true);
|
@@ -73453,7 +71098,7 @@ var require_dist = __commonJS({
|
|
73453
71098
|
style: style2
|
73454
71099
|
}) => {
|
73455
71100
|
const isModifierHeld = useModifierHeld("Alt");
|
73456
|
-
(0,
|
71101
|
+
(0, import_react62.useEffect)(onMount, []);
|
73457
71102
|
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
73458
71103
|
import_dnd3.Draggable,
|
73459
71104
|
{
|
@@ -73486,8 +71131,8 @@ var require_dist = __commonJS({
|
|
73486
71131
|
isLoading && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: getClassName42("loadingOverlay"), children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_spinners22.ClipLoader, { "aria-label": "loading", size: 16, color: "inherit" }) }),
|
73487
71132
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: getClassName42("overlay"), children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: getClassName42("actions"), children: [
|
73488
71133
|
label && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: getClassName42("actionsLabel"), children: label }),
|
73489
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("button", { className: getClassName42("action"), onClick: onDuplicate, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
73490
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("button", { className: getClassName42("action"), onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
71134
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("button", { className: getClassName42("action"), onClick: onDuplicate, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Copy, { size: 16 }) }),
|
71135
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("button", { className: getClassName42("action"), onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Trash, { size: 16 }) })
|
73491
71136
|
] }) }),
|
73492
71137
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: getClassName42("contents"), children })
|
73493
71138
|
]
|
@@ -73522,7 +71167,7 @@ var require_dist = __commonJS({
|
|
73522
71167
|
init_react_import2();
|
73523
71168
|
var styles_module_default42 = { "DropZone": "_DropZone_i675d_1", "DropZone--zoomEnabled": "_DropZone--zoomEnabled_i675d_10", "DropZone-renderWrapper": "_DropZone-renderWrapper_i675d_14", "DropZone-content": "_DropZone-content_i675d_18", "DropZone--userIsDragging": "_DropZone--userIsDragging_i675d_23", "DropZone--draggingOverArea": "_DropZone--draggingOverArea_i675d_27", "DropZone--draggingNewComponent": "_DropZone--draggingNewComponent_i675d_28", "DropZone--isAreaSelected": "_DropZone--isAreaSelected_i675d_34", "DropZone--hoveringOverArea": "_DropZone--hoveringOverArea_i675d_35", "DropZone--isDisabled": "_DropZone--isDisabled_i675d_36", "DropZone--isRootZone": "_DropZone--isRootZone_i675d_37", "DropZone--hasChildren": "_DropZone--hasChildren_i675d_43", "DropZone--isDestination": "_DropZone--isDestination_i675d_48", "DropZone-item": "_DropZone-item_i675d_56", "DropZone-hitbox": "_DropZone-hitbox_i675d_60" };
|
73524
71169
|
init_react_import2();
|
73525
|
-
var
|
71170
|
+
var import_react72 = require("react");
|
73526
71171
|
var import_use_debounce = (init_index_module(), __toCommonJS(index_module_exports));
|
73527
71172
|
init_react_import2();
|
73528
71173
|
var getZoneId2 = (zoneCompound) => {
|
@@ -73535,29 +71180,29 @@ var require_dist = __commonJS({
|
|
73535
71180
|
return [rootDroppableId2, zoneCompound];
|
73536
71181
|
};
|
73537
71182
|
var import_jsx_runtime62 = require("react/jsx-runtime");
|
73538
|
-
var dropZoneContext2 = (0,
|
71183
|
+
var dropZoneContext2 = (0, import_react72.createContext)(null);
|
73539
71184
|
var DropZoneProvider = ({
|
73540
71185
|
children,
|
73541
71186
|
value
|
73542
71187
|
}) => {
|
73543
|
-
const [hoveringArea, setHoveringArea] = (0,
|
73544
|
-
const [hoveringZone, setHoveringZone] = (0,
|
71188
|
+
const [hoveringArea, setHoveringArea] = (0, import_react72.useState)(null);
|
71189
|
+
const [hoveringZone, setHoveringZone] = (0, import_react72.useState)(
|
73545
71190
|
rootDroppableId2
|
73546
71191
|
);
|
73547
|
-
const [hoveringComponent, setHoveringComponent] = (0,
|
71192
|
+
const [hoveringComponent, setHoveringComponent] = (0, import_react72.useState)();
|
73548
71193
|
const [hoveringAreaDb] = (0, import_use_debounce.useDebounce)(hoveringArea, 75, { leading: false });
|
73549
|
-
const [areasWithZones, setAreasWithZones] = (0,
|
71194
|
+
const [areasWithZones, setAreasWithZones] = (0, import_react72.useState)(
|
73550
71195
|
{}
|
73551
71196
|
);
|
73552
|
-
const [activeZones, setActiveZones] = (0,
|
71197
|
+
const [activeZones, setActiveZones] = (0, import_react72.useState)({});
|
73553
71198
|
const { dispatch = null } = value ? value : {};
|
73554
|
-
const registerZoneArea = (0,
|
71199
|
+
const registerZoneArea = (0, import_react72.useCallback)(
|
73555
71200
|
(area) => {
|
73556
71201
|
setAreasWithZones((latest) => __spreadProps2(__spreadValues2({}, latest), { [area]: true }));
|
73557
71202
|
},
|
73558
71203
|
[setAreasWithZones]
|
73559
71204
|
);
|
73560
|
-
const registerZone = (0,
|
71205
|
+
const registerZone = (0, import_react72.useCallback)(
|
73561
71206
|
(zoneCompound) => {
|
73562
71207
|
if (!dispatch) {
|
73563
71208
|
return;
|
@@ -73570,7 +71215,7 @@ var require_dist = __commonJS({
|
|
73570
71215
|
},
|
73571
71216
|
[setActiveZones, dispatch]
|
73572
71217
|
);
|
73573
|
-
const unregisterZone = (0,
|
71218
|
+
const unregisterZone = (0, import_react72.useCallback)(
|
73574
71219
|
(zoneCompound) => {
|
73575
71220
|
if (!dispatch) {
|
73576
71221
|
return;
|
@@ -73585,8 +71230,8 @@ var require_dist = __commonJS({
|
|
73585
71230
|
},
|
73586
71231
|
[setActiveZones, dispatch]
|
73587
71232
|
);
|
73588
|
-
const [pathData, setPathData] = (0,
|
73589
|
-
const registerPath = (0,
|
71233
|
+
const [pathData, setPathData] = (0, import_react72.useState)();
|
71234
|
+
const registerPath = (0, import_react72.useCallback)(
|
73590
71235
|
(selector) => {
|
73591
71236
|
if (!(value == null ? void 0 : value.data)) {
|
73592
71237
|
return;
|
@@ -73634,7 +71279,7 @@ var require_dist = __commonJS({
|
|
73634
71279
|
) });
|
73635
71280
|
};
|
73636
71281
|
init_react_import2();
|
73637
|
-
var
|
71282
|
+
var import_react82 = require("react");
|
73638
71283
|
var defaultAppState2 = {
|
73639
71284
|
data: { content: [], root: { props: { title: "" } } },
|
73640
71285
|
ui: {
|
@@ -73646,7 +71291,7 @@ var require_dist = __commonJS({
|
|
73646
71291
|
isDragging: false
|
73647
71292
|
}
|
73648
71293
|
};
|
73649
|
-
var appContext2 = (0,
|
71294
|
+
var appContext2 = (0, import_react82.createContext)({
|
73650
71295
|
state: defaultAppState2,
|
73651
71296
|
dispatch: () => null,
|
73652
71297
|
config: { components: {} },
|
@@ -73659,7 +71304,7 @@ var require_dist = __commonJS({
|
|
73659
71304
|
});
|
73660
71305
|
var AppProvider2 = appContext2.Provider;
|
73661
71306
|
var useAppContext2 = () => {
|
73662
|
-
const mainContext = (0,
|
71307
|
+
const mainContext = (0, import_react82.useContext)(appContext2);
|
73663
71308
|
const selectedItem = mainContext.state.ui.itemSelector ? getItem2(mainContext.state.ui.itemSelector, mainContext.state.data) : void 0;
|
73664
71309
|
return __spreadProps2(__spreadValues2({}, mainContext), {
|
73665
71310
|
// Helpers
|
@@ -73678,7 +71323,7 @@ var require_dist = __commonJS({
|
|
73678
71323
|
function DropZoneEdit({ zone, allow, disallow, style: style2 }) {
|
73679
71324
|
var _a;
|
73680
71325
|
const appContext22 = useAppContext2();
|
73681
|
-
const ctx = (0,
|
71326
|
+
const ctx = (0, import_react92.useContext)(dropZoneContext2);
|
73682
71327
|
const {
|
73683
71328
|
// These all need setting via context
|
73684
71329
|
data,
|
@@ -73696,12 +71341,12 @@ var require_dist = __commonJS({
|
|
73696
71341
|
} = ctx || {};
|
73697
71342
|
let content = data.content || [];
|
73698
71343
|
let zoneCompound = rootDroppableId2;
|
73699
|
-
(0,
|
71344
|
+
(0, import_react92.useEffect)(() => {
|
73700
71345
|
if (areaId && registerZoneArea) {
|
73701
71346
|
registerZoneArea(areaId);
|
73702
71347
|
}
|
73703
71348
|
}, [areaId]);
|
73704
|
-
(0,
|
71349
|
+
(0, import_react92.useEffect)(() => {
|
73705
71350
|
if (ctx == null ? void 0 : ctx.registerZone) {
|
73706
71351
|
ctx == null ? void 0 : ctx.registerZone(zoneCompound);
|
73707
71352
|
}
|
@@ -73722,7 +71367,7 @@ var require_dist = __commonJS({
|
|
73722
71367
|
const draggedDestinationId = draggedItem && ((_a = draggedItem.destination) == null ? void 0 : _a.droppableId);
|
73723
71368
|
const [zoneArea] = getZoneId2(zoneCompound);
|
73724
71369
|
const [draggedSourceArea] = getZoneId2(draggedSourceId);
|
73725
|
-
const [userWillDrag, setUserWillDrag] = (0,
|
71370
|
+
const [userWillDrag, setUserWillDrag] = (0, import_react92.useState)(false);
|
73726
71371
|
const userIsDragging = !!draggedItem;
|
73727
71372
|
const draggingOverArea = userIsDragging && zoneArea === draggedSourceArea;
|
73728
71373
|
const draggingNewComponent = draggedSourceId == null ? void 0 : draggedSourceId.startsWith("component-list");
|
@@ -73941,7 +71586,7 @@ var require_dist = __commonJS({
|
|
73941
71586
|
);
|
73942
71587
|
}
|
73943
71588
|
function DropZoneRender({ zone }) {
|
73944
|
-
const ctx = (0,
|
71589
|
+
const ctx = (0, import_react92.useContext)(dropZoneContext2);
|
73945
71590
|
const { data, areaId = "root", config } = ctx || {};
|
73946
71591
|
let zoneCompound = rootDroppableId2;
|
73947
71592
|
let content = (data == null ? void 0 : data.content) || [];
|
@@ -73973,7 +71618,7 @@ var require_dist = __commonJS({
|
|
73973
71618
|
}) });
|
73974
71619
|
}
|
73975
71620
|
function DropZone(props) {
|
73976
|
-
const ctx = (0,
|
71621
|
+
const ctx = (0, import_react92.useContext)(dropZoneContext2);
|
73977
71622
|
if ((ctx == null ? void 0 : ctx.mode) === "edit") {
|
73978
71623
|
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(DropZoneEdit, __spreadValues2({}, props));
|
73979
71624
|
}
|
@@ -73981,7 +71626,7 @@ var require_dist = __commonJS({
|
|
73981
71626
|
}
|
73982
71627
|
init_react_import2();
|
73983
71628
|
init_react_import2();
|
73984
|
-
var
|
71629
|
+
var import_react102 = require("react");
|
73985
71630
|
init_react_import2();
|
73986
71631
|
var IconButton_module_default = { "IconButton": "_IconButton_38xdr_1", "IconButton-title": "_IconButton-title_38xdr_18" };
|
73987
71632
|
var import_react_spinners3 = (init_esm(), __toCommonJS(esm_exports));
|
@@ -73999,7 +71644,7 @@ var require_dist = __commonJS({
|
|
73999
71644
|
fullWidth,
|
74000
71645
|
title
|
74001
71646
|
}) => {
|
74002
|
-
const [loading, setLoading] = (0,
|
71647
|
+
const [loading, setLoading] = (0, import_react102.useState)(false);
|
74003
71648
|
const ElementType = href ? "a" : "button";
|
74004
71649
|
const el = /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
74005
71650
|
ElementType,
|
@@ -74038,13 +71683,13 @@ var require_dist = __commonJS({
|
|
74038
71683
|
return el;
|
74039
71684
|
};
|
74040
71685
|
init_react_import2();
|
74041
|
-
var
|
71686
|
+
var import_react26 = require("react");
|
74042
71687
|
var import_dnd7 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
74043
71688
|
init_react_import2();
|
74044
|
-
var
|
71689
|
+
var import_react112 = require("react");
|
74045
71690
|
var usePlaceholderStyle = () => {
|
74046
71691
|
const queryAttr = "data-rfd-drag-handle-draggable-id";
|
74047
|
-
const [placeholderStyle, setPlaceholderStyle] = (0,
|
71692
|
+
const [placeholderStyle, setPlaceholderStyle] = (0, import_react112.useState)();
|
74048
71693
|
const onDragStartOrUpdate = (draggedItem) => {
|
74049
71694
|
var _a;
|
74050
71695
|
const draggableId = draggedItem.draggableId;
|
@@ -74107,7 +71752,7 @@ var require_dist = __commonJS({
|
|
74107
71752
|
);
|
74108
71753
|
};
|
74109
71754
|
init_react_import2();
|
74110
|
-
var
|
71755
|
+
var import_react122 = require("react");
|
74111
71756
|
var convertPathDataToBreadcrumbs2 = (selectedItem, pathData, data) => {
|
74112
71757
|
const id = selectedItem ? selectedItem == null ? void 0 : selectedItem.props.id : "";
|
74113
71758
|
const currentPathData = pathData && id && pathData[id] ? __spreadValues2({}, pathData[id]) : { label: "Page", path: [] };
|
@@ -74157,8 +71802,8 @@ var require_dist = __commonJS({
|
|
74157
71802
|
state: { data },
|
74158
71803
|
selectedItem
|
74159
71804
|
} = useAppContext2();
|
74160
|
-
const dzContext = (0,
|
74161
|
-
return (0,
|
71805
|
+
const dzContext = (0, import_react122.useContext)(dropZoneContext2);
|
71806
|
+
return (0, import_react122.useMemo)(() => {
|
74162
71807
|
const breadcrumbs = convertPathDataToBreadcrumbs2(
|
74163
71808
|
selectedItem,
|
74164
71809
|
dzContext == null ? void 0 : dzContext.pathData,
|
@@ -74200,7 +71845,7 @@ var require_dist = __commonJS({
|
|
74200
71845
|
children: breadcrumb.label
|
74201
71846
|
}
|
74202
71847
|
),
|
74203
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
71848
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ChevronRight2, { size: 16 })
|
74204
71849
|
] }, i2)) : null,
|
74205
71850
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: getClassName8("heading"), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Heading2, { rank: 2, size: "xs", children: title }) })
|
74206
71851
|
] }) }),
|
@@ -74545,7 +72190,7 @@ var require_dist = __commonJS({
|
|
74545
72190
|
return appState;
|
74546
72191
|
};
|
74547
72192
|
init_react_import2();
|
74548
|
-
var
|
72193
|
+
var import_react132 = require("react");
|
74549
72194
|
init_react_import2();
|
74550
72195
|
var cache = { lastChange: {} };
|
74551
72196
|
var resolveAllComponentData = (content, config, onResolveStart, onResolveEnd) => __async(void 0, null, function* () {
|
@@ -74652,13 +72297,13 @@ var require_dist = __commonJS({
|
|
74652
72297
|
return data.root;
|
74653
72298
|
});
|
74654
72299
|
var useResolvedData = (appState, config, dispatch) => {
|
74655
|
-
const [{ resolverKey, newAppState }, setResolverState] = (0,
|
72300
|
+
const [{ resolverKey, newAppState }, setResolverState] = (0, import_react132.useState)({
|
74656
72301
|
resolverKey: 0,
|
74657
72302
|
newAppState: appState
|
74658
72303
|
});
|
74659
|
-
const [componentState, setComponentState] = (0,
|
72304
|
+
const [componentState, setComponentState] = (0, import_react132.useState)({});
|
74660
72305
|
const deferredSetStates = {};
|
74661
|
-
const setComponentLoading = (0,
|
72306
|
+
const setComponentLoading = (0, import_react132.useCallback)(
|
74662
72307
|
(id, loading, defer = 0) => {
|
74663
72308
|
if (deferredSetStates[id]) {
|
74664
72309
|
clearTimeout(deferredSetStates[id]);
|
@@ -74725,10 +72370,10 @@ var require_dist = __commonJS({
|
|
74725
72370
|
});
|
74726
72371
|
yield Promise.all(promises);
|
74727
72372
|
});
|
74728
|
-
(0,
|
72373
|
+
(0, import_react132.useEffect)(() => {
|
74729
72374
|
runResolvers();
|
74730
72375
|
}, [resolverKey]);
|
74731
|
-
const resolveData = (0,
|
72376
|
+
const resolveData = (0, import_react132.useCallback)((newAppState2 = appState) => {
|
74732
72377
|
setResolverState((curr) => ({
|
74733
72378
|
resolverKey: curr.resolverKey + 1,
|
74734
72379
|
newAppState: newAppState2
|
@@ -74774,14 +72419,14 @@ var require_dist = __commonJS({
|
|
74774
72419
|
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: getClassName9("inner"), children: [
|
74775
72420
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: getClassName9("history"), children: [
|
74776
72421
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "undo", disabled: !hasPast, onClick: back, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
74777
|
-
|
72422
|
+
ChevronLeft,
|
74778
72423
|
{
|
74779
72424
|
size: 21,
|
74780
72425
|
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-7)"
|
74781
72426
|
}
|
74782
72427
|
) }),
|
74783
72428
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "redo", disabled: !hasFuture, onClick: forward, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
74784
|
-
|
72429
|
+
ChevronRight2,
|
74785
72430
|
{
|
74786
72431
|
size: 21,
|
74787
72432
|
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-7)"
|
@@ -74798,7 +72443,7 @@ var require_dist = __commonJS({
|
|
74798
72443
|
onClick: () => {
|
74799
72444
|
onPublish && onPublish(data);
|
74800
72445
|
},
|
74801
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
72446
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Globe, { size: "14px" }),
|
74802
72447
|
children: "Publish"
|
74803
72448
|
}
|
74804
72449
|
) })
|
@@ -74807,20 +72452,20 @@ var require_dist = __commonJS({
|
|
74807
72452
|
);
|
74808
72453
|
};
|
74809
72454
|
init_react_import2();
|
74810
|
-
var styles_module_default8 = { "Puck": "
|
72455
|
+
var styles_module_default8 = { "Puck": "_Puck_17hk3_19", "Puck--leftSideBarVisible": "_Puck--leftSideBarVisible_17hk3_35", "Puck--rightSideBarVisible": "_Puck--rightSideBarVisible_17hk3_41", "Puck-header": "_Puck-header_17hk3_95", "Puck-headerInner": "_Puck-headerInner_17hk3_104", "Puck-headerToggle": "_Puck-headerToggle_17hk3_114", "Puck-rightSideBarToggle": "_Puck-rightSideBarToggle_17hk3_121", "Puck-leftSideBarToggle": "_Puck-leftSideBarToggle_17hk3_122", "Puck-headerTitle": "_Puck-headerTitle_17hk3_126", "Puck-headerPath": "_Puck-headerPath_17hk3_130", "Puck-headerTools": "_Puck-headerTools_17hk3_137", "Puck-menuButton": "_Puck-menuButton_17hk3_143", "Puck--menuOpen": "_Puck--menuOpen_17hk3_148", "Puck-leftSideBar": "_Puck-leftSideBar_17hk3_122", "Puck-frame": "_Puck-frame_17hk3_167", "Puck-root": "_Puck-root_17hk3_175", "Puck-rightSideBar": "_Puck-rightSideBar_17hk3_121" };
|
74811
72456
|
init_react_import2();
|
74812
72457
|
var import_react_spinners6 = (init_esm(), __toCommonJS(esm_exports));
|
74813
72458
|
init_react_import2();
|
74814
72459
|
init_react_import2();
|
74815
72460
|
var styles_module_default9 = { "Input": "_Input_1v7zr_1", "Input-label": "_Input-label_1v7zr_27", "Input-labelIcon": "_Input-labelIcon_1v7zr_35", "Input-disabledIcon": "_Input-disabledIcon_1v7zr_41", "Input-input": "_Input-input_1v7zr_46", "Input--readOnly": "_Input--readOnly_1v7zr_69", "Input-radioGroupItems": "_Input-radioGroupItems_1v7zr_87", "Input-radio": "_Input-radio_1v7zr_87", "Input-radioInner": "_Input-radioInner_1v7zr_104", "Input-radioInput": "_Input-radioInput_1v7zr_126" };
|
74816
|
-
var
|
72461
|
+
var import_react18 = require("react");
|
74817
72462
|
init_react_import2();
|
74818
72463
|
init_react_import2();
|
74819
72464
|
init_react_import2();
|
74820
72465
|
var styles_module_default10 = { "ArrayField": "_ArrayField_1auyc_5", "ArrayField--isDraggingFrom": "_ArrayField--isDraggingFrom_1auyc_13", "ArrayField-addButton": "_ArrayField-addButton_1auyc_17", "ArrayField--hasItems": "_ArrayField--hasItems_1auyc_31", "ArrayFieldItem": "_ArrayFieldItem_1auyc_45", "ArrayFieldItem--isDragging": "_ArrayFieldItem--isDragging_1auyc_53", "ArrayFieldItem--isExpanded": "_ArrayFieldItem--isExpanded_1auyc_58", "ArrayFieldItem-summary": "_ArrayFieldItem-summary_1auyc_73", "ArrayFieldItem--readOnly": "_ArrayFieldItem--readOnly_1auyc_86", "ArrayFieldItem-body": "_ArrayFieldItem-body_1auyc_107", "ArrayFieldItem-fieldset": "_ArrayFieldItem-fieldset_1auyc_115", "ArrayFieldItem-rhs": "_ArrayFieldItem-rhs_1auyc_122", "ArrayFieldItem-actions": "_ArrayFieldItem-actions_1auyc_128", "ArrayFieldItem-action": "_ArrayFieldItem-action_1auyc_128" };
|
74821
72466
|
var import_dnd5 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
74822
72467
|
var import_dnd6 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
74823
|
-
var
|
72468
|
+
var import_react14 = require("react");
|
74824
72469
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
74825
72470
|
var getClassName10 = get_class_name_factory_default2("ArrayField", styles_module_default10);
|
74826
72471
|
var getClassNameItem22 = get_class_name_factory_default2("ArrayFieldItem", styles_module_default10);
|
@@ -74845,11 +72490,11 @@ var require_dist = __commonJS({
|
|
74845
72490
|
}),
|
74846
72491
|
openId: ""
|
74847
72492
|
};
|
74848
|
-
const [localState, setLocalState] = (0,
|
74849
|
-
(0,
|
72493
|
+
const [localState, setLocalState] = (0, import_react14.useState)({ arrayState, value });
|
72494
|
+
(0, import_react14.useEffect)(() => {
|
74850
72495
|
setLocalState({ arrayState, value });
|
74851
72496
|
}, [value, state.ui.arrayState[id]]);
|
74852
|
-
const mapArrayStateToUi = (0,
|
72497
|
+
const mapArrayStateToUi = (0, import_react14.useCallback)(
|
74853
72498
|
(partialArrayState) => {
|
74854
72499
|
return {
|
74855
72500
|
arrayState: __spreadProps2(__spreadValues2({}, state.ui.arrayState), {
|
@@ -74859,13 +72504,13 @@ var require_dist = __commonJS({
|
|
74859
72504
|
},
|
74860
72505
|
[arrayState]
|
74861
72506
|
);
|
74862
|
-
const getHighestIndex = (0,
|
72507
|
+
const getHighestIndex = (0, import_react14.useCallback)(() => {
|
74863
72508
|
return arrayState.items.reduce(
|
74864
72509
|
(acc, item) => item._originalIndex > acc ? item._originalIndex : acc,
|
74865
72510
|
-1
|
74866
72511
|
);
|
74867
72512
|
}, [arrayState]);
|
74868
|
-
const regenerateArrayState = (0,
|
72513
|
+
const regenerateArrayState = (0, import_react14.useCallback)(
|
74869
72514
|
(value2) => {
|
74870
72515
|
let highestIndex = getHighestIndex();
|
74871
72516
|
const newItems = Array.from(value2 || []).map((item, idx) => {
|
@@ -74884,10 +72529,10 @@ var require_dist = __commonJS({
|
|
74884
72529
|
},
|
74885
72530
|
[arrayState]
|
74886
72531
|
);
|
74887
|
-
(0,
|
72532
|
+
(0, import_react14.useEffect)(() => {
|
74888
72533
|
setUi(mapArrayStateToUi(arrayState));
|
74889
72534
|
}, []);
|
74890
|
-
const [hovering, setHovering] = (0,
|
72535
|
+
const [hovering, setHovering] = (0, import_react14.useState)(false);
|
74891
72536
|
if (field.type !== "array" || !field.arrayFields) {
|
74892
72537
|
return null;
|
74893
72538
|
}
|
@@ -74895,7 +72540,7 @@ var require_dist = __commonJS({
|
|
74895
72540
|
FieldLabelInternal,
|
74896
72541
|
{
|
74897
72542
|
label: label || name,
|
74898
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
72543
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(List, { size: 16 }),
|
74899
72544
|
el: "div",
|
74900
72545
|
readOnly,
|
74901
72546
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
@@ -75001,7 +72646,7 @@ var require_dist = __commonJS({
|
|
75001
72646
|
);
|
75002
72647
|
},
|
75003
72648
|
title: "Delete",
|
75004
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
72649
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Trash, { size: 16 })
|
75005
72650
|
}
|
75006
72651
|
) }) }),
|
75007
72652
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DragIcon, {}) })
|
@@ -75056,7 +72701,7 @@ var require_dist = __commonJS({
|
|
75056
72701
|
const newArrayState = regenerateArrayState(newValue);
|
75057
72702
|
onChange(newValue, mapArrayStateToUi(newArrayState));
|
75058
72703
|
},
|
75059
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
72704
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Plus, { size: "21" })
|
75060
72705
|
}
|
75061
72706
|
)
|
75062
72707
|
]
|
@@ -75085,8 +72730,8 @@ var require_dist = __commonJS({
|
|
75085
72730
|
{
|
75086
72731
|
label: label || name,
|
75087
72732
|
icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
75088
|
-
field.type === "text" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
75089
|
-
field.type === "number" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
72733
|
+
field.type === "text" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Type, { size: 16 }),
|
72734
|
+
field.type === "number" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Hash, { size: 16 })
|
75090
72735
|
] }),
|
75091
72736
|
readOnly,
|
75092
72737
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
@@ -75112,13 +72757,13 @@ var require_dist = __commonJS({
|
|
75112
72757
|
);
|
75113
72758
|
};
|
75114
72759
|
init_react_import2();
|
75115
|
-
var
|
72760
|
+
var import_react17 = require("react");
|
75116
72761
|
init_react_import2();
|
75117
|
-
var
|
72762
|
+
var import_react16 = require("react");
|
75118
72763
|
init_react_import2();
|
75119
72764
|
var styles_module_default11 = { "ExternalInput": "_ExternalInput_s6fxy_1", "ExternalInput-actions": "_ExternalInput-actions_s6fxy_5", "ExternalInput-button": "_ExternalInput-button_s6fxy_9", "ExternalInput-detachButton": "_ExternalInput-detachButton_s6fxy_28", "ExternalInput--dataSelected": "_ExternalInput--dataSelected_s6fxy_35", "ExternalInputModal": "_ExternalInputModal_s6fxy_56", "ExternalInputModal-masthead": "_ExternalInputModal-masthead_s6fxy_64", "ExternalInputModal-tableWrapper": "_ExternalInputModal-tableWrapper_s6fxy_72", "ExternalInputModal-table": "_ExternalInputModal-table_s6fxy_72", "ExternalInputModal-thead": "_ExternalInputModal-thead_s6fxy_88", "ExternalInputModal-th": "_ExternalInputModal-th_s6fxy_88", "ExternalInputModal-td": "_ExternalInputModal-td_s6fxy_102", "ExternalInputModal-tr": "_ExternalInputModal-tr_s6fxy_107", "ExternalInputModal-tbody": "_ExternalInputModal-tbody_s6fxy_119", "ExternalInputModal--hasData": "_ExternalInputModal--hasData_s6fxy_138", "ExternalInputModal-loadingBanner": "_ExternalInputModal-loadingBanner_s6fxy_142", "ExternalInputModal--isLoading": "_ExternalInputModal--isLoading_s6fxy_155", "ExternalInputModal-noContentBanner": "_ExternalInputModal-noContentBanner_s6fxy_159", "ExternalInputModal--loaded": "_ExternalInputModal--loaded_s6fxy_166", "ExternalInputModal-searchForm": "_ExternalInputModal-searchForm_s6fxy_171", "ExternalInputModal-search": "_ExternalInputModal-search_s6fxy_171", "ExternalInputModal-searchIcon": "_ExternalInputModal-searchIcon_s6fxy_194", "ExternalInputModal-searchIconText": "_ExternalInputModal-searchIconText_s6fxy_206", "ExternalInputModal-searchInput": "_ExternalInputModal-searchInput_s6fxy_216" };
|
75120
72765
|
init_react_import2();
|
75121
|
-
var
|
72766
|
+
var import_react15 = require("react");
|
75122
72767
|
init_react_import2();
|
75123
72768
|
var styles_module_default12 = { "Modal": "_Modal_hx2u6_1", "Modal--isOpen": "_Modal--isOpen_hx2u6_15", "Modal-inner": "_Modal-inner_hx2u6_19" };
|
75124
72769
|
var import_react_dom3 = __toESM2(require_react_dom2());
|
@@ -75129,8 +72774,8 @@ var require_dist = __commonJS({
|
|
75129
72774
|
onClose,
|
75130
72775
|
isOpen
|
75131
72776
|
}) => {
|
75132
|
-
const [rootEl, setRootEl] = (0,
|
75133
|
-
(0,
|
72777
|
+
const [rootEl, setRootEl] = (0, import_react15.useState)(null);
|
72778
|
+
(0, import_react15.useEffect)(() => {
|
75134
72779
|
setRootEl(document.getElementById("puck-portal-root"));
|
75135
72780
|
}, []);
|
75136
72781
|
if (!rootEl) {
|
@@ -75161,10 +72806,10 @@ var require_dist = __commonJS({
|
|
75161
72806
|
id
|
75162
72807
|
}) => {
|
75163
72808
|
const { mapProp = (val) => val } = field || {};
|
75164
|
-
const [data, setData] = (0,
|
75165
|
-
const [isOpen, setOpen] = (0,
|
75166
|
-
const [isLoading, setIsLoading] = (0,
|
75167
|
-
const keys = (0,
|
72809
|
+
const [data, setData] = (0, import_react16.useState)([]);
|
72810
|
+
const [isOpen, setOpen] = (0, import_react16.useState)(false);
|
72811
|
+
const [isLoading, setIsLoading] = (0, import_react16.useState)(true);
|
72812
|
+
const keys = (0, import_react16.useMemo)(() => {
|
75168
72813
|
const validKeys = /* @__PURE__ */ new Set();
|
75169
72814
|
for (const item of data) {
|
75170
72815
|
for (const key of Object.keys(item)) {
|
@@ -75175,8 +72820,8 @@ var require_dist = __commonJS({
|
|
75175
72820
|
}
|
75176
72821
|
return Array.from(validKeys);
|
75177
72822
|
}, [data]);
|
75178
|
-
const [searchQuery, setSearchQuery] = (0,
|
75179
|
-
const search = (0,
|
72823
|
+
const [searchQuery, setSearchQuery] = (0, import_react16.useState)(field.initialQuery || "");
|
72824
|
+
const search = (0, import_react16.useCallback)(
|
75180
72825
|
(query) => __async(void 0, null, function* () {
|
75181
72826
|
setIsLoading(true);
|
75182
72827
|
const cacheKey = `${id}-${name}-${query}`;
|
@@ -75189,7 +72834,7 @@ var require_dist = __commonJS({
|
|
75189
72834
|
}),
|
75190
72835
|
[name, field]
|
75191
72836
|
);
|
75192
|
-
(0,
|
72837
|
+
(0, import_react16.useEffect)(() => {
|
75193
72838
|
search(searchQuery);
|
75194
72839
|
}, []);
|
75195
72840
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
@@ -75208,7 +72853,7 @@ var require_dist = __commonJS({
|
|
75208
72853
|
onClick: () => setOpen(true),
|
75209
72854
|
className: getClassName13("button"),
|
75210
72855
|
children: value ? field.getItemSummary ? field.getItemSummary(value) : "External item" : /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
|
75211
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
72856
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Link, { size: "16" }),
|
75212
72857
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children: field.placeholder })
|
75213
72858
|
] })
|
75214
72859
|
}
|
@@ -75220,7 +72865,7 @@ var require_dist = __commonJS({
|
|
75220
72865
|
onClick: () => {
|
75221
72866
|
onChange(null);
|
75222
72867
|
},
|
75223
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
72868
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Unlock, { size: 16 })
|
75224
72869
|
}
|
75225
72870
|
)
|
75226
72871
|
] }),
|
@@ -75246,7 +72891,7 @@ var require_dist = __commonJS({
|
|
75246
72891
|
children: [
|
75247
72892
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("label", { className: getClassNameModal("search"), children: [
|
75248
72893
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: getClassNameModal("searchIconText"), children: "Search" }),
|
75249
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: getClassNameModal("searchIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
72894
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: getClassNameModal("searchIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Search, { size: "18" }) }),
|
75250
72895
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
75251
72896
|
"input",
|
75252
72897
|
{
|
@@ -75316,7 +72961,7 @@ var require_dist = __commonJS({
|
|
75316
72961
|
var _a, _b, _c;
|
75317
72962
|
const validField = field;
|
75318
72963
|
const deprecatedField = field;
|
75319
|
-
(0,
|
72964
|
+
(0, import_react17.useEffect)(() => {
|
75320
72965
|
if (deprecatedField.adaptor) {
|
75321
72966
|
console.error(
|
75322
72967
|
"Warning: The `adaptor` API is deprecated. Please use updated APIs on the `external` field instead. This will be a breaking change in a future release."
|
@@ -75330,7 +72975,7 @@ var require_dist = __commonJS({
|
|
75330
72975
|
FieldLabelInternal,
|
75331
72976
|
{
|
75332
72977
|
label: label || name,
|
75333
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
72978
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Link, { size: 16 }),
|
75334
72979
|
el: "div",
|
75335
72980
|
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
75336
72981
|
ExternalInput,
|
@@ -75372,7 +73017,7 @@ var require_dist = __commonJS({
|
|
75372
73017
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
75373
73018
|
FieldLabelInternal,
|
75374
73019
|
{
|
75375
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
73020
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CheckCircle, { size: 16 }),
|
75376
73021
|
label: label || name,
|
75377
73022
|
readOnly,
|
75378
73023
|
el: "div",
|
@@ -75426,7 +73071,7 @@ var require_dist = __commonJS({
|
|
75426
73071
|
FieldLabelInternal,
|
75427
73072
|
{
|
75428
73073
|
label: label || name,
|
75429
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
73074
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ChevronDown, { size: 16 }),
|
75430
73075
|
readOnly,
|
75431
73076
|
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
75432
73077
|
"select",
|
@@ -75470,7 +73115,7 @@ var require_dist = __commonJS({
|
|
75470
73115
|
FieldLabelInternal,
|
75471
73116
|
{
|
75472
73117
|
label: label || name,
|
75473
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
73118
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Type, { size: 16 }),
|
75474
73119
|
readOnly,
|
75475
73120
|
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
75476
73121
|
"textarea",
|
@@ -75513,7 +73158,7 @@ var require_dist = __commonJS({
|
|
75513
73158
|
FieldLabelInternal,
|
75514
73159
|
{
|
75515
73160
|
label: label || name,
|
75516
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
73161
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(MoreVertical, { size: 16 }),
|
75517
73162
|
el: "div",
|
75518
73163
|
readOnly,
|
75519
73164
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: getClassName17(), children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("fieldset", { className: getClassName17("fieldset"), children: Object.keys(field.objectFields).map((fieldName) => {
|
@@ -75560,7 +73205,7 @@ var require_dist = __commonJS({
|
|
75560
73205
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: getClassName18("label"), children: [
|
75561
73206
|
icon ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("labelIcon"), children: icon }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {}),
|
75562
73207
|
label,
|
75563
|
-
readOnly && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("disabledIcon"), title: "Read-only", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
73208
|
+
readOnly && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("disabledIcon"), title: "Read-only", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Lock, { size: "12" }) })
|
75564
73209
|
] }),
|
75565
73210
|
children
|
75566
73211
|
] });
|
@@ -75573,7 +73218,7 @@ var require_dist = __commonJS({
|
|
75573
73218
|
readOnly
|
75574
73219
|
}) => {
|
75575
73220
|
const { overrides } = useAppContext2();
|
75576
|
-
const Wrapper = (0,
|
73221
|
+
const Wrapper = (0, import_react18.useMemo)(
|
75577
73222
|
() => overrides.fieldLabel || FieldLabel,
|
75578
73223
|
[overrides]
|
75579
73224
|
);
|
@@ -75590,11 +73235,11 @@ var require_dist = __commonJS({
|
|
75590
73235
|
);
|
75591
73236
|
};
|
75592
73237
|
var InputOrGroup = (_a) => {
|
75593
|
-
var _b = _a, { onChange } = _b, props =
|
73238
|
+
var _b = _a, { onChange } = _b, props = __objRest2(_b, ["onChange"]);
|
75594
73239
|
var _a2, _b2, _c, _d, _e, _f, _g, _h;
|
75595
73240
|
const { overrides } = useAppContext2();
|
75596
73241
|
const { name, field, value, readOnly } = props;
|
75597
|
-
const [localValue, setLocalValue] = (0,
|
73242
|
+
const [localValue, setLocalValue] = (0, import_react18.useState)(value);
|
75598
73243
|
const onChangeDb = (0, import_use_debounce2.useDebouncedCallback)(
|
75599
73244
|
(val, ui) => {
|
75600
73245
|
onChange(val, ui);
|
@@ -75602,11 +73247,11 @@ var require_dist = __commonJS({
|
|
75602
73247
|
50,
|
75603
73248
|
{ leading: true }
|
75604
73249
|
);
|
75605
|
-
const onChangeLocal = (0,
|
73250
|
+
const onChangeLocal = (0, import_react18.useCallback)((val, ui) => {
|
75606
73251
|
setLocalValue(val);
|
75607
73252
|
onChangeDb(val, ui);
|
75608
73253
|
}, []);
|
75609
|
-
(0,
|
73254
|
+
(0, import_react18.useEffect)(() => {
|
75610
73255
|
setLocalValue(value);
|
75611
73256
|
}, [value]);
|
75612
73257
|
const localProps = {
|
@@ -75650,7 +73295,7 @@ var require_dist = __commonJS({
|
|
75650
73295
|
};
|
75651
73296
|
init_react_import2();
|
75652
73297
|
var styles_module_default14 = { "PuckFields": "_PuckFields_1276r_1", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_1276r_5" };
|
75653
|
-
var
|
73298
|
+
var import_react19 = require("react");
|
75654
73299
|
var import_jsx_runtime222 = require("react/jsx-runtime");
|
75655
73300
|
var getClassName19 = get_class_name_factory_default2("PuckFields", styles_module_default14);
|
75656
73301
|
var defaultPageFields = {
|
@@ -75682,7 +73327,7 @@ var require_dist = __commonJS({
|
|
75682
73327
|
const fields = selectedItem ? ((_b = config.components[selectedItem.type]) == null ? void 0 : _b.fields) || {} : rootFields;
|
75683
73328
|
const isLoading = selectedItem ? (_c = componentState[selectedItem == null ? void 0 : selectedItem.props.id]) == null ? void 0 : _c.loading : (_d = componentState["puck-root"]) == null ? void 0 : _d.loading;
|
75684
73329
|
const rootProps = data.root.props || data.root;
|
75685
|
-
const Wrapper = (0,
|
73330
|
+
const Wrapper = (0, import_react19.useMemo)(() => overrides.fields || DefaultFields, [overrides]);
|
75686
73331
|
return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
75687
73332
|
"form",
|
75688
73333
|
{
|
@@ -75793,7 +73438,7 @@ var require_dist = __commonJS({
|
|
75793
73438
|
};
|
75794
73439
|
init_react_import2();
|
75795
73440
|
init_react_import2();
|
75796
|
-
var
|
73441
|
+
var import_react20 = require("react");
|
75797
73442
|
init_react_import2();
|
75798
73443
|
init_react_import2();
|
75799
73444
|
var styles_module_default15 = { "ComponentList": "_ComponentList_1di93_1", "ComponentList--isExpanded": "_ComponentList--isExpanded_1di93_6", "ComponentList-content": "_ComponentList-content_1di93_10", "ComponentList-title": "_ComponentList-title_1di93_18", "ComponentList-titleIcon": "_ComponentList-titleIcon_1di93_39" };
|
@@ -75828,7 +73473,7 @@ var require_dist = __commonJS({
|
|
75828
73473
|
title: expanded ? `Collapse${title ? ` ${title}` : ""}` : `Expand${title ? ` ${title}` : ""}`,
|
75829
73474
|
children: [
|
75830
73475
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { children: title }),
|
75831
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: getClassName20("titleIcon"), children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
73476
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: getClassName20("titleIcon"), children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ChevronUp, { size: 12 }) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ChevronDown, { size: 12 }) })
|
75832
73477
|
]
|
75833
73478
|
}
|
75834
73479
|
),
|
@@ -75847,8 +73492,8 @@ var require_dist = __commonJS({
|
|
75847
73492
|
ComponentList.Item = ComponentListItem;
|
75848
73493
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
75849
73494
|
var useComponentList = (config, ui) => {
|
75850
|
-
const [componentList, setComponentList] = (0,
|
75851
|
-
(0,
|
73495
|
+
const [componentList, setComponentList] = (0, import_react20.useState)();
|
73496
|
+
(0, import_react20.useEffect)(() => {
|
75852
73497
|
var _a, _b, _c;
|
75853
73498
|
if (Object.keys(ui.componentList).length > 0) {
|
75854
73499
|
const matchedComponents = [];
|
@@ -75909,20 +73554,20 @@ var require_dist = __commonJS({
|
|
75909
73554
|
}, [config.categories, ui.componentList]);
|
75910
73555
|
return componentList;
|
75911
73556
|
};
|
75912
|
-
var
|
73557
|
+
var import_react21 = require("react");
|
75913
73558
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
75914
73559
|
var Components = () => {
|
75915
73560
|
const { config, state, overrides } = useAppContext2();
|
75916
73561
|
const componentList = useComponentList(config, state.ui);
|
75917
|
-
const Wrapper = (0,
|
73562
|
+
const Wrapper = (0, import_react21.useMemo)(() => overrides.components || "div", [overrides]);
|
75918
73563
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Wrapper, { children: componentList ? componentList : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ComponentList, { id: "all" }) });
|
75919
73564
|
};
|
75920
73565
|
init_react_import2();
|
75921
|
-
var
|
73566
|
+
var import_react222 = require("react");
|
75922
73567
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
75923
73568
|
var Preview = ({ id = "puck-preview" }) => {
|
75924
73569
|
const { config, dispatch, state } = useAppContext2();
|
75925
|
-
const Page = (0,
|
73570
|
+
const Page = (0, import_react222.useCallback)(
|
75926
73571
|
(pageProps) => {
|
75927
73572
|
var _a, _b;
|
75928
73573
|
return ((_a = config.root) == null ? void 0 : _a.render) ? (_b = config.root) == null ? void 0 : _b.render(__spreadProps2(__spreadValues2({}, pageProps), { editMode: true })) : pageProps.children;
|
@@ -75930,7 +73575,7 @@ var require_dist = __commonJS({
|
|
75930
73575
|
[config.root]
|
75931
73576
|
);
|
75932
73577
|
const rootProps = state.data.root.props || state.data.root;
|
75933
|
-
const { disableZoom = false } = (0,
|
73578
|
+
const { disableZoom = false } = (0, import_react222.useContext)(dropZoneContext2) || {};
|
75934
73579
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
75935
73580
|
"div",
|
75936
73581
|
{
|
@@ -75971,7 +73616,7 @@ var require_dist = __commonJS({
|
|
75971
73616
|
el.style.scrollMargin = oldStyle.scrollMargin || "";
|
75972
73617
|
}
|
75973
73618
|
};
|
75974
|
-
var
|
73619
|
+
var import_react23 = require("react");
|
75975
73620
|
init_react_import2();
|
75976
73621
|
var isChildOfZone = (item, maybeChild, ctx) => {
|
75977
73622
|
var _a;
|
@@ -75993,10 +73638,10 @@ var require_dist = __commonJS({
|
|
75993
73638
|
label
|
75994
73639
|
}) => {
|
75995
73640
|
const zones = data.zones || {};
|
75996
|
-
const ctx = (0,
|
73641
|
+
const ctx = (0, import_react23.useContext)(dropZoneContext2);
|
75997
73642
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
75998
73643
|
label && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: getClassName21("zoneTitle"), children: [
|
75999
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassName21("zoneIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
73644
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassName21("zoneIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Layers, { size: "16" }) }),
|
76000
73645
|
" ",
|
76001
73646
|
label
|
76002
73647
|
] }),
|
@@ -76062,11 +73707,11 @@ var require_dist = __commonJS({
|
|
76062
73707
|
{
|
76063
73708
|
className: getClassNameLayer("chevron"),
|
76064
73709
|
title: isSelected ? "Collapse" : "Expand",
|
76065
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
73710
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronDown, { size: "12" })
|
76066
73711
|
}
|
76067
73712
|
),
|
76068
73713
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: getClassNameLayer("title"), children: [
|
76069
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("icon"), children: item.type === "Text" || item.type === "Heading" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
73714
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("icon"), children: item.type === "Text" || item.type === "Heading" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Type, { size: "16" }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(LayoutGrid, { size: "16" }) }),
|
76070
73715
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("name"), children: item.type })
|
76071
73716
|
] })
|
76072
73717
|
]
|
@@ -76091,13 +73736,13 @@ var require_dist = __commonJS({
|
|
76091
73736
|
] })
|
76092
73737
|
] });
|
76093
73738
|
};
|
76094
|
-
var
|
73739
|
+
var import_react24 = require("react");
|
76095
73740
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
76096
73741
|
var Outline = () => {
|
76097
73742
|
const { dispatch, state, overrides } = useAppContext2();
|
76098
73743
|
const { data, ui } = state;
|
76099
73744
|
const { itemSelector } = ui;
|
76100
|
-
const setItemSelector = (0,
|
73745
|
+
const setItemSelector = (0, import_react24.useCallback)(
|
76101
73746
|
(newItemSelector) => {
|
76102
73747
|
dispatch({
|
76103
73748
|
type: "setUi",
|
@@ -76106,7 +73751,7 @@ var require_dist = __commonJS({
|
|
76106
73751
|
},
|
76107
73752
|
[]
|
76108
73753
|
);
|
76109
|
-
const Wrapper = (0,
|
73754
|
+
const Wrapper = (0, import_react24.useMemo)(() => overrides.outline || "div", [overrides]);
|
76110
73755
|
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(dropZoneContext2.Consumer, { children: (ctx) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
|
76111
73756
|
(ctx == null ? void 0 : ctx.activeZones) && (ctx == null ? void 0 : ctx.activeZones[rootDroppableId2]) && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
76112
73757
|
LayerTree,
|
@@ -76198,12 +73843,12 @@ var require_dist = __commonJS({
|
|
76198
73843
|
};
|
76199
73844
|
}
|
76200
73845
|
init_react_import2();
|
76201
|
-
var
|
73846
|
+
var import_react25 = require("react");
|
76202
73847
|
var import_use_debounce3 = (init_index_module(), __toCommonJS(index_module_exports));
|
76203
73848
|
var EMPTY_HISTORY_INDEX = -1;
|
76204
73849
|
function useHistoryStore() {
|
76205
|
-
const [histories, setHistories] = (0,
|
76206
|
-
const [index, setIndex] = (0,
|
73850
|
+
const [histories, setHistories] = (0, import_react25.useState)([]);
|
73851
|
+
const [index, setIndex] = (0, import_react25.useState)(EMPTY_HISTORY_INDEX);
|
76207
73852
|
const hasPast = index > EMPTY_HISTORY_INDEX;
|
76208
73853
|
const hasFuture = index < histories.length - 1;
|
76209
73854
|
const currentHistory = histories[index];
|
@@ -76256,10 +73901,10 @@ var require_dist = __commonJS({
|
|
76256
73901
|
headerPath
|
76257
73902
|
}) {
|
76258
73903
|
const historyStore = useHistoryStore();
|
76259
|
-
const [reducer2] = (0,
|
73904
|
+
const [reducer2] = (0, import_react26.useState)(
|
76260
73905
|
() => createReducer({ config, record: historyStore.record })
|
76261
73906
|
);
|
76262
|
-
const [initialAppState] = (0,
|
73907
|
+
const [initialAppState] = (0, import_react26.useState)(() => __spreadProps2(__spreadValues2({}, defaultAppState2), {
|
76263
73908
|
data: initialData,
|
76264
73909
|
ui: __spreadProps2(__spreadValues2(__spreadValues2({}, defaultAppState2.ui), initialUi), {
|
76265
73910
|
// Store categories under componentList on state to allow render functions and plugins to modify
|
@@ -76278,7 +73923,7 @@ var require_dist = __commonJS({
|
|
76278
73923
|
) : {}
|
76279
73924
|
})
|
76280
73925
|
}));
|
76281
|
-
const [appState, dispatch] = (0,
|
73926
|
+
const [appState, dispatch] = (0, import_react26.useReducer)(
|
76282
73927
|
reducer2,
|
76283
73928
|
flushZones(initialAppState)
|
76284
73929
|
);
|
@@ -76289,9 +73934,9 @@ var require_dist = __commonJS({
|
|
76289
73934
|
config,
|
76290
73935
|
dispatch
|
76291
73936
|
);
|
76292
|
-
const [menuOpen, setMenuOpen] = (0,
|
73937
|
+
const [menuOpen, setMenuOpen] = (0, import_react26.useState)(false);
|
76293
73938
|
const { itemSelector, leftSideBarVisible, rightSideBarVisible } = ui;
|
76294
|
-
const setItemSelector = (0,
|
73939
|
+
const setItemSelector = (0, import_react26.useCallback)(
|
76295
73940
|
(newItemSelector) => {
|
76296
73941
|
if (newItemSelector === itemSelector)
|
76297
73942
|
return;
|
@@ -76304,21 +73949,21 @@ var require_dist = __commonJS({
|
|
76304
73949
|
[itemSelector]
|
76305
73950
|
);
|
76306
73951
|
const selectedItem = itemSelector ? getItem2(itemSelector, data) : null;
|
76307
|
-
(0,
|
73952
|
+
(0, import_react26.useEffect)(() => {
|
76308
73953
|
if (onChange)
|
76309
73954
|
onChange(data);
|
76310
73955
|
}, [data]);
|
76311
73956
|
const { onDragStartOrUpdate, placeholderStyle } = usePlaceholderStyle();
|
76312
|
-
const [draggedItem, setDraggedItem] = (0,
|
73957
|
+
const [draggedItem, setDraggedItem] = (0, import_react26.useState)();
|
76313
73958
|
const rootProps = data.root.props || data.root;
|
76314
|
-
(0,
|
73959
|
+
(0, import_react26.useEffect)(() => {
|
76315
73960
|
if (Object.keys(data.root).length > 0 && !data.root.props) {
|
76316
73961
|
console.error(
|
76317
73962
|
"Warning: Defining props on `root` is deprecated. Please use `root.props`. This will be a breaking change in a future release."
|
76318
73963
|
);
|
76319
73964
|
}
|
76320
73965
|
}, []);
|
76321
|
-
const toggleSidebars = (0,
|
73966
|
+
const toggleSidebars = (0, import_react26.useCallback)(
|
76322
73967
|
(sidebar) => {
|
76323
73968
|
const widerViewport = window.matchMedia("(min-width: 638px)").matches;
|
76324
73969
|
const sideBarVisible = sidebar === "left" ? leftSideBarVisible : rightSideBarVisible;
|
@@ -76332,7 +73977,7 @@ var require_dist = __commonJS({
|
|
76332
73977
|
},
|
76333
73978
|
[dispatch, leftSideBarVisible, rightSideBarVisible]
|
76334
73979
|
);
|
76335
|
-
(0,
|
73980
|
+
(0, import_react26.useEffect)(() => {
|
76336
73981
|
if (!window.matchMedia("(min-width: 638px)").matches) {
|
76337
73982
|
dispatch({
|
76338
73983
|
type: "setUi",
|
@@ -76355,17 +74000,17 @@ var require_dist = __commonJS({
|
|
76355
74000
|
window.removeEventListener("resize", handleResize);
|
76356
74001
|
};
|
76357
74002
|
}, []);
|
76358
|
-
const defaultRender = (0,
|
74003
|
+
const defaultRender = (0, import_react26.useMemo)(() => {
|
76359
74004
|
const PuckDefault = ({ children: children2 }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children: children2 });
|
76360
74005
|
return PuckDefault;
|
76361
74006
|
}, []);
|
76362
|
-
const defaultHeaderRender = (0,
|
74007
|
+
const defaultHeaderRender = (0, import_react26.useMemo)(() => {
|
76363
74008
|
if (renderHeader) {
|
76364
74009
|
console.warn(
|
76365
74010
|
"`renderHeader` is deprecated. Please use `overrides.header` and the `usePuck` hook instead"
|
76366
74011
|
);
|
76367
74012
|
const RenderHeader = (_a) => {
|
76368
|
-
var _b = _a, { actions } = _b, props =
|
74013
|
+
var _b = _a, { actions } = _b, props = __objRest2(_b, ["actions"]);
|
76369
74014
|
const Comp = renderHeader;
|
76370
74015
|
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Comp, __spreadProps2(__spreadValues2({}, props), { dispatch, state: appState, children: actions }));
|
76371
74016
|
};
|
@@ -76373,7 +74018,7 @@ var require_dist = __commonJS({
|
|
76373
74018
|
}
|
76374
74019
|
return defaultRender;
|
76375
74020
|
}, [renderHeader]);
|
76376
|
-
const defaultHeaderActionsRender = (0,
|
74021
|
+
const defaultHeaderActionsRender = (0, import_react26.useMemo)(() => {
|
76377
74022
|
if (renderHeaderActions) {
|
76378
74023
|
console.warn(
|
76379
74024
|
"`renderHeaderActions` is deprecated. Please use `overrides.headerActions` and the `usePuck` hook instead."
|
@@ -76386,22 +74031,22 @@ var require_dist = __commonJS({
|
|
76386
74031
|
}
|
76387
74032
|
return defaultRender;
|
76388
74033
|
}, [renderHeader]);
|
76389
|
-
const loadedOverrides = (0,
|
74034
|
+
const loadedOverrides = (0, import_react26.useMemo)(() => {
|
76390
74035
|
return loadOverrides({ overrides, plugins });
|
76391
74036
|
}, [plugins]);
|
76392
|
-
const CustomPuck = (0,
|
74037
|
+
const CustomPuck = (0, import_react26.useMemo)(
|
76393
74038
|
() => loadedOverrides.puck || defaultRender,
|
76394
74039
|
[loadedOverrides]
|
76395
74040
|
);
|
76396
|
-
const CustomPreview = (0,
|
74041
|
+
const CustomPreview = (0, import_react26.useMemo)(
|
76397
74042
|
() => loadedOverrides.preview || defaultRender,
|
76398
74043
|
[loadedOverrides]
|
76399
74044
|
);
|
76400
|
-
const CustomHeader = (0,
|
74045
|
+
const CustomHeader = (0, import_react26.useMemo)(
|
76401
74046
|
() => loadedOverrides.header || defaultHeaderRender,
|
76402
74047
|
[loadedOverrides]
|
76403
74048
|
);
|
76404
|
-
const CustomHeaderActions = (0,
|
74049
|
+
const CustomHeaderActions = (0, import_react26.useMemo)(
|
76405
74050
|
() => loadedOverrides.headerActions || defaultHeaderActionsRender,
|
76406
74051
|
[loadedOverrides]
|
76407
74052
|
);
|
@@ -76511,7 +74156,7 @@ var require_dist = __commonJS({
|
|
76511
74156
|
onClick: () => {
|
76512
74157
|
onPublish && onPublish(data);
|
76513
74158
|
},
|
76514
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
74159
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Globe, { size: "14px" }),
|
76515
74160
|
children: "Publish"
|
76516
74161
|
}
|
76517
74162
|
)
|
@@ -76525,7 +74170,7 @@ var require_dist = __commonJS({
|
|
76525
74170
|
toggleSidebars("left");
|
76526
74171
|
},
|
76527
74172
|
title: "Toggle left sidebar",
|
76528
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
74173
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(PanelLeft, { focusable: "false" })
|
76529
74174
|
}
|
76530
74175
|
) }),
|
76531
74176
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: getClassName222("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
@@ -76535,7 +74180,7 @@ var require_dist = __commonJS({
|
|
76535
74180
|
toggleSidebars("right");
|
76536
74181
|
},
|
76537
74182
|
title: "Toggle right sidebar",
|
76538
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
74183
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(PanelRight, { focusable: "false" })
|
76539
74184
|
}
|
76540
74185
|
) })
|
76541
74186
|
] }),
|
@@ -76554,7 +74199,7 @@ var require_dist = __commonJS({
|
|
76554
74199
|
return setMenuOpen(!menuOpen);
|
76555
74200
|
},
|
76556
74201
|
title: "Toggle menu bar",
|
76557
|
-
children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
74202
|
+
children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronUp, { focusable: "false" }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronDown, { focusable: "false" })
|
76558
74203
|
}
|
76559
74204
|
) }),
|
76560
74205
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
@@ -76786,679 +74431,6 @@ var require_classnames = __commonJS({
|
|
76786
74431
|
}
|
76787
74432
|
});
|
76788
74433
|
|
76789
|
-
// ../../node_modules/object-assign/index.js
|
76790
|
-
var require_object_assign = __commonJS({
|
76791
|
-
"../../node_modules/object-assign/index.js"(exports, module2) {
|
76792
|
-
"use strict";
|
76793
|
-
init_react_import();
|
76794
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
76795
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
76796
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
76797
|
-
function toObject(val) {
|
76798
|
-
if (val === null || val === void 0) {
|
76799
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
76800
|
-
}
|
76801
|
-
return Object(val);
|
76802
|
-
}
|
76803
|
-
function shouldUseNative() {
|
76804
|
-
try {
|
76805
|
-
if (!Object.assign) {
|
76806
|
-
return false;
|
76807
|
-
}
|
76808
|
-
var test1 = new String("abc");
|
76809
|
-
test1[5] = "de";
|
76810
|
-
if (Object.getOwnPropertyNames(test1)[0] === "5") {
|
76811
|
-
return false;
|
76812
|
-
}
|
76813
|
-
var test2 = {};
|
76814
|
-
for (var i2 = 0; i2 < 10; i2++) {
|
76815
|
-
test2["_" + String.fromCharCode(i2)] = i2;
|
76816
|
-
}
|
76817
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function(n2) {
|
76818
|
-
return test2[n2];
|
76819
|
-
});
|
76820
|
-
if (order2.join("") !== "0123456789") {
|
76821
|
-
return false;
|
76822
|
-
}
|
76823
|
-
var test3 = {};
|
76824
|
-
"abcdefghijklmnopqrst".split("").forEach(function(letter) {
|
76825
|
-
test3[letter] = letter;
|
76826
|
-
});
|
76827
|
-
if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
|
76828
|
-
return false;
|
76829
|
-
}
|
76830
|
-
return true;
|
76831
|
-
} catch (err) {
|
76832
|
-
return false;
|
76833
|
-
}
|
76834
|
-
}
|
76835
|
-
module2.exports = shouldUseNative() ? Object.assign : function(target, source) {
|
76836
|
-
var from;
|
76837
|
-
var to = toObject(target);
|
76838
|
-
var symbols;
|
76839
|
-
for (var s = 1; s < arguments.length; s++) {
|
76840
|
-
from = Object(arguments[s]);
|
76841
|
-
for (var key in from) {
|
76842
|
-
if (hasOwnProperty.call(from, key)) {
|
76843
|
-
to[key] = from[key];
|
76844
|
-
}
|
76845
|
-
}
|
76846
|
-
if (getOwnPropertySymbols) {
|
76847
|
-
symbols = getOwnPropertySymbols(from);
|
76848
|
-
for (var i2 = 0; i2 < symbols.length; i2++) {
|
76849
|
-
if (propIsEnumerable.call(from, symbols[i2])) {
|
76850
|
-
to[symbols[i2]] = from[symbols[i2]];
|
76851
|
-
}
|
76852
|
-
}
|
76853
|
-
}
|
76854
|
-
}
|
76855
|
-
return to;
|
76856
|
-
};
|
76857
|
-
}
|
76858
|
-
});
|
76859
|
-
|
76860
|
-
// ../../node_modules/prop-types/lib/ReactPropTypesSecret.js
|
76861
|
-
var require_ReactPropTypesSecret = __commonJS({
|
76862
|
-
"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module2) {
|
76863
|
-
"use strict";
|
76864
|
-
init_react_import();
|
76865
|
-
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
76866
|
-
module2.exports = ReactPropTypesSecret;
|
76867
|
-
}
|
76868
|
-
});
|
76869
|
-
|
76870
|
-
// ../../node_modules/prop-types/lib/has.js
|
76871
|
-
var require_has = __commonJS({
|
76872
|
-
"../../node_modules/prop-types/lib/has.js"(exports, module2) {
|
76873
|
-
init_react_import();
|
76874
|
-
module2.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
76875
|
-
}
|
76876
|
-
});
|
76877
|
-
|
76878
|
-
// ../../node_modules/prop-types/checkPropTypes.js
|
76879
|
-
var require_checkPropTypes = __commonJS({
|
76880
|
-
"../../node_modules/prop-types/checkPropTypes.js"(exports, module2) {
|
76881
|
-
"use strict";
|
76882
|
-
init_react_import();
|
76883
|
-
var printWarning = function() {
|
76884
|
-
};
|
76885
|
-
if (process.env.NODE_ENV !== "production") {
|
76886
|
-
ReactPropTypesSecret = require_ReactPropTypesSecret();
|
76887
|
-
loggedTypeFailures = {};
|
76888
|
-
has = require_has();
|
76889
|
-
printWarning = function(text) {
|
76890
|
-
var message = "Warning: " + text;
|
76891
|
-
if (typeof console !== "undefined") {
|
76892
|
-
console.error(message);
|
76893
|
-
}
|
76894
|
-
try {
|
76895
|
-
throw new Error(message);
|
76896
|
-
} catch (x) {
|
76897
|
-
}
|
76898
|
-
};
|
76899
|
-
}
|
76900
|
-
var ReactPropTypesSecret;
|
76901
|
-
var loggedTypeFailures;
|
76902
|
-
var has;
|
76903
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
76904
|
-
if (process.env.NODE_ENV !== "production") {
|
76905
|
-
for (var typeSpecName in typeSpecs) {
|
76906
|
-
if (has(typeSpecs, typeSpecName)) {
|
76907
|
-
var error2;
|
76908
|
-
try {
|
76909
|
-
if (typeof typeSpecs[typeSpecName] !== "function") {
|
76910
|
-
var err = Error(
|
76911
|
-
(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`."
|
76912
|
-
);
|
76913
|
-
err.name = "Invariant Violation";
|
76914
|
-
throw err;
|
76915
|
-
}
|
76916
|
-
error2 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
76917
|
-
} catch (ex) {
|
76918
|
-
error2 = ex;
|
76919
|
-
}
|
76920
|
-
if (error2 && !(error2 instanceof Error)) {
|
76921
|
-
printWarning(
|
76922
|
-
(componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error2 + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
76923
|
-
);
|
76924
|
-
}
|
76925
|
-
if (error2 instanceof Error && !(error2.message in loggedTypeFailures)) {
|
76926
|
-
loggedTypeFailures[error2.message] = true;
|
76927
|
-
var stack = getStack ? getStack() : "";
|
76928
|
-
printWarning(
|
76929
|
-
"Failed " + location + " type: " + error2.message + (stack != null ? stack : "")
|
76930
|
-
);
|
76931
|
-
}
|
76932
|
-
}
|
76933
|
-
}
|
76934
|
-
}
|
76935
|
-
}
|
76936
|
-
checkPropTypes.resetWarningCache = function() {
|
76937
|
-
if (process.env.NODE_ENV !== "production") {
|
76938
|
-
loggedTypeFailures = {};
|
76939
|
-
}
|
76940
|
-
};
|
76941
|
-
module2.exports = checkPropTypes;
|
76942
|
-
}
|
76943
|
-
});
|
76944
|
-
|
76945
|
-
// ../../node_modules/prop-types/factoryWithTypeCheckers.js
|
76946
|
-
var require_factoryWithTypeCheckers = __commonJS({
|
76947
|
-
"../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module2) {
|
76948
|
-
"use strict";
|
76949
|
-
init_react_import();
|
76950
|
-
var ReactIs = require_react_is();
|
76951
|
-
var assign = require_object_assign();
|
76952
|
-
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
76953
|
-
var has = require_has();
|
76954
|
-
var checkPropTypes = require_checkPropTypes();
|
76955
|
-
var printWarning = function() {
|
76956
|
-
};
|
76957
|
-
if (process.env.NODE_ENV !== "production") {
|
76958
|
-
printWarning = function(text) {
|
76959
|
-
var message = "Warning: " + text;
|
76960
|
-
if (typeof console !== "undefined") {
|
76961
|
-
console.error(message);
|
76962
|
-
}
|
76963
|
-
try {
|
76964
|
-
throw new Error(message);
|
76965
|
-
} catch (x) {
|
76966
|
-
}
|
76967
|
-
};
|
76968
|
-
}
|
76969
|
-
function emptyFunctionThatReturnsNull() {
|
76970
|
-
return null;
|
76971
|
-
}
|
76972
|
-
module2.exports = function(isValidElement, throwOnDirectAccess) {
|
76973
|
-
var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
76974
|
-
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
76975
|
-
function getIteratorFn(maybeIterable) {
|
76976
|
-
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
76977
|
-
if (typeof iteratorFn === "function") {
|
76978
|
-
return iteratorFn;
|
76979
|
-
}
|
76980
|
-
}
|
76981
|
-
var ANONYMOUS = "<<anonymous>>";
|
76982
|
-
var ReactPropTypes = {
|
76983
|
-
array: createPrimitiveTypeChecker("array"),
|
76984
|
-
bigint: createPrimitiveTypeChecker("bigint"),
|
76985
|
-
bool: createPrimitiveTypeChecker("boolean"),
|
76986
|
-
func: createPrimitiveTypeChecker("function"),
|
76987
|
-
number: createPrimitiveTypeChecker("number"),
|
76988
|
-
object: createPrimitiveTypeChecker("object"),
|
76989
|
-
string: createPrimitiveTypeChecker("string"),
|
76990
|
-
symbol: createPrimitiveTypeChecker("symbol"),
|
76991
|
-
any: createAnyTypeChecker(),
|
76992
|
-
arrayOf: createArrayOfTypeChecker,
|
76993
|
-
element: createElementTypeChecker(),
|
76994
|
-
elementType: createElementTypeTypeChecker(),
|
76995
|
-
instanceOf: createInstanceTypeChecker,
|
76996
|
-
node: createNodeChecker(),
|
76997
|
-
objectOf: createObjectOfTypeChecker,
|
76998
|
-
oneOf: createEnumTypeChecker,
|
76999
|
-
oneOfType: createUnionTypeChecker,
|
77000
|
-
shape: createShapeTypeChecker,
|
77001
|
-
exact: createStrictShapeTypeChecker
|
77002
|
-
};
|
77003
|
-
function is2(x, y) {
|
77004
|
-
if (x === y) {
|
77005
|
-
return x !== 0 || 1 / x === 1 / y;
|
77006
|
-
} else {
|
77007
|
-
return x !== x && y !== y;
|
77008
|
-
}
|
77009
|
-
}
|
77010
|
-
function PropTypeError(message, data) {
|
77011
|
-
this.message = message;
|
77012
|
-
this.data = data && typeof data === "object" ? data : {};
|
77013
|
-
this.stack = "";
|
77014
|
-
}
|
77015
|
-
PropTypeError.prototype = Error.prototype;
|
77016
|
-
function createChainableTypeChecker(validate) {
|
77017
|
-
if (process.env.NODE_ENV !== "production") {
|
77018
|
-
var manualPropTypeCallCache = {};
|
77019
|
-
var manualPropTypeWarningCount = 0;
|
77020
|
-
}
|
77021
|
-
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
77022
|
-
componentName = componentName || ANONYMOUS;
|
77023
|
-
propFullName = propFullName || propName;
|
77024
|
-
if (secret !== ReactPropTypesSecret) {
|
77025
|
-
if (throwOnDirectAccess) {
|
77026
|
-
var err = new Error(
|
77027
|
-
"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"
|
77028
|
-
);
|
77029
|
-
err.name = "Invariant Violation";
|
77030
|
-
throw err;
|
77031
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
|
77032
|
-
var cacheKey = componentName + ":" + propName;
|
77033
|
-
if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
|
77034
|
-
manualPropTypeWarningCount < 3) {
|
77035
|
-
printWarning(
|
77036
|
-
"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."
|
77037
|
-
);
|
77038
|
-
manualPropTypeCallCache[cacheKey] = true;
|
77039
|
-
manualPropTypeWarningCount++;
|
77040
|
-
}
|
77041
|
-
}
|
77042
|
-
}
|
77043
|
-
if (props[propName] == null) {
|
77044
|
-
if (isRequired) {
|
77045
|
-
if (props[propName] === null) {
|
77046
|
-
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
|
77047
|
-
}
|
77048
|
-
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
|
77049
|
-
}
|
77050
|
-
return null;
|
77051
|
-
} else {
|
77052
|
-
return validate(props, propName, componentName, location, propFullName);
|
77053
|
-
}
|
77054
|
-
}
|
77055
|
-
var chainedCheckType = checkType.bind(null, false);
|
77056
|
-
chainedCheckType.isRequired = checkType.bind(null, true);
|
77057
|
-
return chainedCheckType;
|
77058
|
-
}
|
77059
|
-
function createPrimitiveTypeChecker(expectedType) {
|
77060
|
-
function validate(props, propName, componentName, location, propFullName, secret) {
|
77061
|
-
var propValue = props[propName];
|
77062
|
-
var propType = getPropType(propValue);
|
77063
|
-
if (propType !== expectedType) {
|
77064
|
-
var preciseType = getPreciseType(propValue);
|
77065
|
-
return new PropTypeError(
|
77066
|
-
"Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
|
77067
|
-
{ expectedType }
|
77068
|
-
);
|
77069
|
-
}
|
77070
|
-
return null;
|
77071
|
-
}
|
77072
|
-
return createChainableTypeChecker(validate);
|
77073
|
-
}
|
77074
|
-
function createAnyTypeChecker() {
|
77075
|
-
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
77076
|
-
}
|
77077
|
-
function createArrayOfTypeChecker(typeChecker) {
|
77078
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77079
|
-
if (typeof typeChecker !== "function") {
|
77080
|
-
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
|
77081
|
-
}
|
77082
|
-
var propValue = props[propName];
|
77083
|
-
if (!Array.isArray(propValue)) {
|
77084
|
-
var propType = getPropType(propValue);
|
77085
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
|
77086
|
-
}
|
77087
|
-
for (var i2 = 0; i2 < propValue.length; i2++) {
|
77088
|
-
var error2 = typeChecker(propValue, i2, componentName, location, propFullName + "[" + i2 + "]", ReactPropTypesSecret);
|
77089
|
-
if (error2 instanceof Error) {
|
77090
|
-
return error2;
|
77091
|
-
}
|
77092
|
-
}
|
77093
|
-
return null;
|
77094
|
-
}
|
77095
|
-
return createChainableTypeChecker(validate);
|
77096
|
-
}
|
77097
|
-
function createElementTypeChecker() {
|
77098
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77099
|
-
var propValue = props[propName];
|
77100
|
-
if (!isValidElement(propValue)) {
|
77101
|
-
var propType = getPropType(propValue);
|
77102
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
|
77103
|
-
}
|
77104
|
-
return null;
|
77105
|
-
}
|
77106
|
-
return createChainableTypeChecker(validate);
|
77107
|
-
}
|
77108
|
-
function createElementTypeTypeChecker() {
|
77109
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77110
|
-
var propValue = props[propName];
|
77111
|
-
if (!ReactIs.isValidElementType(propValue)) {
|
77112
|
-
var propType = getPropType(propValue);
|
77113
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
|
77114
|
-
}
|
77115
|
-
return null;
|
77116
|
-
}
|
77117
|
-
return createChainableTypeChecker(validate);
|
77118
|
-
}
|
77119
|
-
function createInstanceTypeChecker(expectedClass) {
|
77120
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77121
|
-
if (!(props[propName] instanceof expectedClass)) {
|
77122
|
-
var expectedClassName = expectedClass.name || ANONYMOUS;
|
77123
|
-
var actualClassName = getClassName4(props[propName]);
|
77124
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
|
77125
|
-
}
|
77126
|
-
return null;
|
77127
|
-
}
|
77128
|
-
return createChainableTypeChecker(validate);
|
77129
|
-
}
|
77130
|
-
function createEnumTypeChecker(expectedValues) {
|
77131
|
-
if (!Array.isArray(expectedValues)) {
|
77132
|
-
if (process.env.NODE_ENV !== "production") {
|
77133
|
-
if (arguments.length > 1) {
|
77134
|
-
printWarning(
|
77135
|
-
"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])."
|
77136
|
-
);
|
77137
|
-
} else {
|
77138
|
-
printWarning("Invalid argument supplied to oneOf, expected an array.");
|
77139
|
-
}
|
77140
|
-
}
|
77141
|
-
return emptyFunctionThatReturnsNull;
|
77142
|
-
}
|
77143
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77144
|
-
var propValue = props[propName];
|
77145
|
-
for (var i2 = 0; i2 < expectedValues.length; i2++) {
|
77146
|
-
if (is2(propValue, expectedValues[i2])) {
|
77147
|
-
return null;
|
77148
|
-
}
|
77149
|
-
}
|
77150
|
-
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
77151
|
-
var type = getPreciseType(value);
|
77152
|
-
if (type === "symbol") {
|
77153
|
-
return String(value);
|
77154
|
-
}
|
77155
|
-
return value;
|
77156
|
-
});
|
77157
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
|
77158
|
-
}
|
77159
|
-
return createChainableTypeChecker(validate);
|
77160
|
-
}
|
77161
|
-
function createObjectOfTypeChecker(typeChecker) {
|
77162
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77163
|
-
if (typeof typeChecker !== "function") {
|
77164
|
-
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
|
77165
|
-
}
|
77166
|
-
var propValue = props[propName];
|
77167
|
-
var propType = getPropType(propValue);
|
77168
|
-
if (propType !== "object") {
|
77169
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
|
77170
|
-
}
|
77171
|
-
for (var key in propValue) {
|
77172
|
-
if (has(propValue, key)) {
|
77173
|
-
var error2 = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
77174
|
-
if (error2 instanceof Error) {
|
77175
|
-
return error2;
|
77176
|
-
}
|
77177
|
-
}
|
77178
|
-
}
|
77179
|
-
return null;
|
77180
|
-
}
|
77181
|
-
return createChainableTypeChecker(validate);
|
77182
|
-
}
|
77183
|
-
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
77184
|
-
if (!Array.isArray(arrayOfTypeCheckers)) {
|
77185
|
-
process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
|
77186
|
-
return emptyFunctionThatReturnsNull;
|
77187
|
-
}
|
77188
|
-
for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
|
77189
|
-
var checker = arrayOfTypeCheckers[i2];
|
77190
|
-
if (typeof checker !== "function") {
|
77191
|
-
printWarning(
|
77192
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i2 + "."
|
77193
|
-
);
|
77194
|
-
return emptyFunctionThatReturnsNull;
|
77195
|
-
}
|
77196
|
-
}
|
77197
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77198
|
-
var expectedTypes = [];
|
77199
|
-
for (var i3 = 0; i3 < arrayOfTypeCheckers.length; i3++) {
|
77200
|
-
var checker2 = arrayOfTypeCheckers[i3];
|
77201
|
-
var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
77202
|
-
if (checkerResult == null) {
|
77203
|
-
return null;
|
77204
|
-
}
|
77205
|
-
if (checkerResult.data && has(checkerResult.data, "expectedType")) {
|
77206
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
77207
|
-
}
|
77208
|
-
}
|
77209
|
-
var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
|
77210
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
|
77211
|
-
}
|
77212
|
-
return createChainableTypeChecker(validate);
|
77213
|
-
}
|
77214
|
-
function createNodeChecker() {
|
77215
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77216
|
-
if (!isNode(props[propName])) {
|
77217
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
|
77218
|
-
}
|
77219
|
-
return null;
|
77220
|
-
}
|
77221
|
-
return createChainableTypeChecker(validate);
|
77222
|
-
}
|
77223
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
77224
|
-
return new PropTypeError(
|
77225
|
-
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
|
77226
|
-
);
|
77227
|
-
}
|
77228
|
-
function createShapeTypeChecker(shapeTypes) {
|
77229
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77230
|
-
var propValue = props[propName];
|
77231
|
-
var propType = getPropType(propValue);
|
77232
|
-
if (propType !== "object") {
|
77233
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
77234
|
-
}
|
77235
|
-
for (var key in shapeTypes) {
|
77236
|
-
var checker = shapeTypes[key];
|
77237
|
-
if (typeof checker !== "function") {
|
77238
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
77239
|
-
}
|
77240
|
-
var error2 = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
77241
|
-
if (error2) {
|
77242
|
-
return error2;
|
77243
|
-
}
|
77244
|
-
}
|
77245
|
-
return null;
|
77246
|
-
}
|
77247
|
-
return createChainableTypeChecker(validate);
|
77248
|
-
}
|
77249
|
-
function createStrictShapeTypeChecker(shapeTypes) {
|
77250
|
-
function validate(props, propName, componentName, location, propFullName) {
|
77251
|
-
var propValue = props[propName];
|
77252
|
-
var propType = getPropType(propValue);
|
77253
|
-
if (propType !== "object") {
|
77254
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
77255
|
-
}
|
77256
|
-
var allKeys = assign({}, props[propName], shapeTypes);
|
77257
|
-
for (var key in allKeys) {
|
77258
|
-
var checker = shapeTypes[key];
|
77259
|
-
if (has(shapeTypes, key) && typeof checker !== "function") {
|
77260
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
77261
|
-
}
|
77262
|
-
if (!checker) {
|
77263
|
-
return new PropTypeError(
|
77264
|
-
"Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
|
77265
|
-
);
|
77266
|
-
}
|
77267
|
-
var error2 = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
77268
|
-
if (error2) {
|
77269
|
-
return error2;
|
77270
|
-
}
|
77271
|
-
}
|
77272
|
-
return null;
|
77273
|
-
}
|
77274
|
-
return createChainableTypeChecker(validate);
|
77275
|
-
}
|
77276
|
-
function isNode(propValue) {
|
77277
|
-
switch (typeof propValue) {
|
77278
|
-
case "number":
|
77279
|
-
case "string":
|
77280
|
-
case "undefined":
|
77281
|
-
return true;
|
77282
|
-
case "boolean":
|
77283
|
-
return !propValue;
|
77284
|
-
case "object":
|
77285
|
-
if (Array.isArray(propValue)) {
|
77286
|
-
return propValue.every(isNode);
|
77287
|
-
}
|
77288
|
-
if (propValue === null || isValidElement(propValue)) {
|
77289
|
-
return true;
|
77290
|
-
}
|
77291
|
-
var iteratorFn = getIteratorFn(propValue);
|
77292
|
-
if (iteratorFn) {
|
77293
|
-
var iterator = iteratorFn.call(propValue);
|
77294
|
-
var step;
|
77295
|
-
if (iteratorFn !== propValue.entries) {
|
77296
|
-
while (!(step = iterator.next()).done) {
|
77297
|
-
if (!isNode(step.value)) {
|
77298
|
-
return false;
|
77299
|
-
}
|
77300
|
-
}
|
77301
|
-
} else {
|
77302
|
-
while (!(step = iterator.next()).done) {
|
77303
|
-
var entry = step.value;
|
77304
|
-
if (entry) {
|
77305
|
-
if (!isNode(entry[1])) {
|
77306
|
-
return false;
|
77307
|
-
}
|
77308
|
-
}
|
77309
|
-
}
|
77310
|
-
}
|
77311
|
-
} else {
|
77312
|
-
return false;
|
77313
|
-
}
|
77314
|
-
return true;
|
77315
|
-
default:
|
77316
|
-
return false;
|
77317
|
-
}
|
77318
|
-
}
|
77319
|
-
function isSymbol(propType, propValue) {
|
77320
|
-
if (propType === "symbol") {
|
77321
|
-
return true;
|
77322
|
-
}
|
77323
|
-
if (!propValue) {
|
77324
|
-
return false;
|
77325
|
-
}
|
77326
|
-
if (propValue["@@toStringTag"] === "Symbol") {
|
77327
|
-
return true;
|
77328
|
-
}
|
77329
|
-
if (typeof Symbol === "function" && propValue instanceof Symbol) {
|
77330
|
-
return true;
|
77331
|
-
}
|
77332
|
-
return false;
|
77333
|
-
}
|
77334
|
-
function getPropType(propValue) {
|
77335
|
-
var propType = typeof propValue;
|
77336
|
-
if (Array.isArray(propValue)) {
|
77337
|
-
return "array";
|
77338
|
-
}
|
77339
|
-
if (propValue instanceof RegExp) {
|
77340
|
-
return "object";
|
77341
|
-
}
|
77342
|
-
if (isSymbol(propType, propValue)) {
|
77343
|
-
return "symbol";
|
77344
|
-
}
|
77345
|
-
return propType;
|
77346
|
-
}
|
77347
|
-
function getPreciseType(propValue) {
|
77348
|
-
if (typeof propValue === "undefined" || propValue === null) {
|
77349
|
-
return "" + propValue;
|
77350
|
-
}
|
77351
|
-
var propType = getPropType(propValue);
|
77352
|
-
if (propType === "object") {
|
77353
|
-
if (propValue instanceof Date) {
|
77354
|
-
return "date";
|
77355
|
-
} else if (propValue instanceof RegExp) {
|
77356
|
-
return "regexp";
|
77357
|
-
}
|
77358
|
-
}
|
77359
|
-
return propType;
|
77360
|
-
}
|
77361
|
-
function getPostfixForTypeWarning(value) {
|
77362
|
-
var type = getPreciseType(value);
|
77363
|
-
switch (type) {
|
77364
|
-
case "array":
|
77365
|
-
case "object":
|
77366
|
-
return "an " + type;
|
77367
|
-
case "boolean":
|
77368
|
-
case "date":
|
77369
|
-
case "regexp":
|
77370
|
-
return "a " + type;
|
77371
|
-
default:
|
77372
|
-
return type;
|
77373
|
-
}
|
77374
|
-
}
|
77375
|
-
function getClassName4(propValue) {
|
77376
|
-
if (!propValue.constructor || !propValue.constructor.name) {
|
77377
|
-
return ANONYMOUS;
|
77378
|
-
}
|
77379
|
-
return propValue.constructor.name;
|
77380
|
-
}
|
77381
|
-
ReactPropTypes.checkPropTypes = checkPropTypes;
|
77382
|
-
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
77383
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
77384
|
-
return ReactPropTypes;
|
77385
|
-
};
|
77386
|
-
}
|
77387
|
-
});
|
77388
|
-
|
77389
|
-
// ../../node_modules/prop-types/factoryWithThrowingShims.js
|
77390
|
-
var require_factoryWithThrowingShims = __commonJS({
|
77391
|
-
"../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module2) {
|
77392
|
-
"use strict";
|
77393
|
-
init_react_import();
|
77394
|
-
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
77395
|
-
function emptyFunction() {
|
77396
|
-
}
|
77397
|
-
function emptyFunctionWithReset() {
|
77398
|
-
}
|
77399
|
-
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
77400
|
-
module2.exports = function() {
|
77401
|
-
function shim(props, propName, componentName, location, propFullName, secret) {
|
77402
|
-
if (secret === ReactPropTypesSecret) {
|
77403
|
-
return;
|
77404
|
-
}
|
77405
|
-
var err = new Error(
|
77406
|
-
"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"
|
77407
|
-
);
|
77408
|
-
err.name = "Invariant Violation";
|
77409
|
-
throw err;
|
77410
|
-
}
|
77411
|
-
;
|
77412
|
-
shim.isRequired = shim;
|
77413
|
-
function getShim() {
|
77414
|
-
return shim;
|
77415
|
-
}
|
77416
|
-
;
|
77417
|
-
var ReactPropTypes = {
|
77418
|
-
array: shim,
|
77419
|
-
bigint: shim,
|
77420
|
-
bool: shim,
|
77421
|
-
func: shim,
|
77422
|
-
number: shim,
|
77423
|
-
object: shim,
|
77424
|
-
string: shim,
|
77425
|
-
symbol: shim,
|
77426
|
-
any: shim,
|
77427
|
-
arrayOf: getShim,
|
77428
|
-
element: shim,
|
77429
|
-
elementType: shim,
|
77430
|
-
instanceOf: getShim,
|
77431
|
-
node: shim,
|
77432
|
-
objectOf: getShim,
|
77433
|
-
oneOf: getShim,
|
77434
|
-
oneOfType: getShim,
|
77435
|
-
shape: getShim,
|
77436
|
-
exact: getShim,
|
77437
|
-
checkPropTypes: emptyFunctionWithReset,
|
77438
|
-
resetWarningCache: emptyFunction
|
77439
|
-
};
|
77440
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
77441
|
-
return ReactPropTypes;
|
77442
|
-
};
|
77443
|
-
}
|
77444
|
-
});
|
77445
|
-
|
77446
|
-
// ../../node_modules/prop-types/index.js
|
77447
|
-
var require_prop_types = __commonJS({
|
77448
|
-
"../../node_modules/prop-types/index.js"(exports, module2) {
|
77449
|
-
init_react_import();
|
77450
|
-
if (process.env.NODE_ENV !== "production") {
|
77451
|
-
ReactIs = require_react_is();
|
77452
|
-
throwOnDirectAccess = true;
|
77453
|
-
module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
77454
|
-
} else {
|
77455
|
-
module2.exports = require_factoryWithThrowingShims()();
|
77456
|
-
}
|
77457
|
-
var ReactIs;
|
77458
|
-
var throwOnDirectAccess;
|
77459
|
-
}
|
77460
|
-
});
|
77461
|
-
|
77462
74434
|
// index.ts
|
77463
74435
|
var plugin_heading_analyzer_exports = {};
|
77464
74436
|
__export(plugin_heading_analyzer_exports, {
|
@@ -77530,82 +74502,60 @@ var Heading = ({ children, rank, size = "m" }) => {
|
|
77530
74502
|
);
|
77531
74503
|
};
|
77532
74504
|
|
77533
|
-
// ../../node_modules/react
|
74505
|
+
// ../../node_modules/lucide-react/dist/esm/lucide-react.js
|
77534
74506
|
init_react_import();
|
77535
74507
|
|
77536
|
-
// ../../node_modules/react
|
74508
|
+
// ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
77537
74509
|
init_react_import();
|
77538
|
-
var import_react8 =
|
77539
|
-
|
77540
|
-
|
77541
|
-
|
77542
|
-
|
77543
|
-
|
77544
|
-
|
77545
|
-
|
77546
|
-
|
77547
|
-
|
77548
|
-
|
77549
|
-
|
77550
|
-
|
77551
|
-
|
77552
|
-
|
77553
|
-
|
77554
|
-
|
77555
|
-
|
77556
|
-
|
77557
|
-
|
77558
|
-
|
77559
|
-
|
77560
|
-
|
77561
|
-
|
77562
|
-
|
77563
|
-
|
77564
|
-
|
77565
|
-
|
77566
|
-
|
77567
|
-
|
74510
|
+
var import_react8 = require("react");
|
74511
|
+
|
74512
|
+
// ../../node_modules/lucide-react/dist/esm/defaultAttributes.js
|
74513
|
+
init_react_import();
|
74514
|
+
var defaultAttributes = {
|
74515
|
+
xmlns: "http://www.w3.org/2000/svg",
|
74516
|
+
width: 24,
|
74517
|
+
height: 24,
|
74518
|
+
viewBox: "0 0 24 24",
|
74519
|
+
fill: "none",
|
74520
|
+
stroke: "currentColor",
|
74521
|
+
strokeWidth: 2,
|
74522
|
+
strokeLinecap: "round",
|
74523
|
+
strokeLinejoin: "round"
|
74524
|
+
};
|
74525
|
+
|
74526
|
+
// ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
74527
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim();
|
74528
|
+
var createLucideIcon = (iconName, iconNode) => {
|
74529
|
+
const Component = (0, import_react8.forwardRef)(
|
74530
|
+
(_a, ref2) => {
|
74531
|
+
var _b = _a, { color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children } = _b, rest = __objRest(_b, ["color", "size", "strokeWidth", "absoluteStrokeWidth", "className", "children"]);
|
74532
|
+
return (0, import_react8.createElement)(
|
74533
|
+
"svg",
|
74534
|
+
__spreadValues(__spreadProps(__spreadValues({
|
74535
|
+
ref: ref2
|
74536
|
+
}, defaultAttributes), {
|
74537
|
+
width: size,
|
74538
|
+
height: size,
|
74539
|
+
stroke: color,
|
74540
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
74541
|
+
className: ["lucide", `lucide-${toKebabCase(iconName)}`, className].join(" ")
|
74542
|
+
}), rest),
|
74543
|
+
[
|
74544
|
+
...iconNode.map(([tag, attrs]) => (0, import_react8.createElement)(tag, attrs)),
|
74545
|
+
...Array.isArray(children) ? children : [children]
|
74546
|
+
]
|
74547
|
+
);
|
77568
74548
|
}
|
77569
|
-
|
77570
|
-
|
77571
|
-
|
77572
|
-
function _objectWithoutPropertiesLoose2(source, excluded) {
|
77573
|
-
if (source == null)
|
77574
|
-
return {};
|
77575
|
-
var target = {};
|
77576
|
-
var sourceKeys = Object.keys(source);
|
77577
|
-
var key, i2;
|
77578
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
77579
|
-
key = sourceKeys[i2];
|
77580
|
-
if (excluded.indexOf(key) >= 0)
|
77581
|
-
continue;
|
77582
|
-
target[key] = source[key];
|
77583
|
-
}
|
77584
|
-
return target;
|
77585
|
-
}
|
77586
|
-
var ChevronRight = (0, import_react8.forwardRef)(function(_ref, ref2) {
|
77587
|
-
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"]);
|
77588
|
-
return /* @__PURE__ */ import_react8.default.createElement("svg", _extends4({
|
77589
|
-
ref: ref2,
|
77590
|
-
xmlns: "http://www.w3.org/2000/svg",
|
77591
|
-
width: size,
|
77592
|
-
height: size,
|
77593
|
-
viewBox: "0 0 24 24",
|
77594
|
-
fill: "none",
|
77595
|
-
stroke: color,
|
77596
|
-
strokeWidth: "2",
|
77597
|
-
strokeLinecap: "round",
|
77598
|
-
strokeLinejoin: "round"
|
77599
|
-
}, rest), /* @__PURE__ */ import_react8.default.createElement("polyline", {
|
77600
|
-
points: "9 18 15 12 9 6"
|
77601
|
-
}));
|
77602
|
-
});
|
77603
|
-
ChevronRight.propTypes = {
|
77604
|
-
color: import_prop_types.default.string,
|
77605
|
-
size: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.number])
|
74549
|
+
);
|
74550
|
+
Component.displayName = `${iconName}`;
|
74551
|
+
return Component;
|
77606
74552
|
};
|
77607
|
-
|
77608
|
-
|
74553
|
+
|
74554
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
74555
|
+
init_react_import();
|
74556
|
+
var ChevronRight = createLucideIcon("ChevronRight", [
|
74557
|
+
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
74558
|
+
]);
|
77609
74559
|
|
77610
74560
|
// ../core/lib/use-breadcrumbs.ts
|
77611
74561
|
init_react_import();
|
@@ -77797,7 +74747,7 @@ var SidebarSection = ({
|
|
77797
74747
|
children: breadcrumb.label
|
77798
74748
|
}
|
77799
74749
|
),
|
77800
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
74750
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ChevronRight, { size: 16 })
|
77801
74751
|
] }, i2)) : null,
|
77802
74752
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: getClassName2("heading"), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Heading, { rank: 2, size: "xs", children: title }) })
|
77803
74753
|
] }) }),
|
@@ -77998,33 +74948,6 @@ classnames/index.js:
|
|
77998
74948
|
http://jedwatson.github.io/classnames
|
77999
74949
|
*)
|
78000
74950
|
|
78001
|
-
react-is/cjs/react-is.production.min.js:
|
78002
|
-
(** @license React v16.13.1
|
78003
|
-
* react-is.production.min.js
|
78004
|
-
*
|
78005
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
78006
|
-
*
|
78007
|
-
* This source code is licensed under the MIT license found in the
|
78008
|
-
* LICENSE file in the root directory of this source tree.
|
78009
|
-
*)
|
78010
|
-
|
78011
|
-
react-is/cjs/react-is.development.js:
|
78012
|
-
(** @license React v16.13.1
|
78013
|
-
* react-is.development.js
|
78014
|
-
*
|
78015
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
78016
|
-
*
|
78017
|
-
* This source code is licensed under the MIT license found in the
|
78018
|
-
* LICENSE file in the root directory of this source tree.
|
78019
|
-
*)
|
78020
|
-
|
78021
|
-
object-assign/index.js:
|
78022
|
-
(*
|
78023
|
-
object-assign
|
78024
|
-
(c) Sindre Sorhus
|
78025
|
-
@license MIT
|
78026
|
-
*)
|
78027
|
-
|
78028
74951
|
scheduler/cjs/scheduler.production.min.js:
|
78029
74952
|
(**
|
78030
74953
|
* @license React
|
@@ -78081,6 +75004,198 @@ react-dom/cjs/react-dom.development.js:
|
|
78081
75004
|
* @internal
|
78082
75005
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
78083
75006
|
*)
|
75007
|
+
|
75008
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
75009
|
+
(**
|
75010
|
+
* @license lucide-react v0.298.0 - ISC
|
75011
|
+
*
|
75012
|
+
* This source code is licensed under the ISC license.
|
75013
|
+
* See the LICENSE file in the root directory of this source tree.
|
75014
|
+
*)
|
75015
|
+
|
75016
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
75017
|
+
(**
|
75018
|
+
* @license lucide-react v0.298.0 - ISC
|
75019
|
+
*
|
75020
|
+
* This source code is licensed under the ISC license.
|
75021
|
+
* See the LICENSE file in the root directory of this source tree.
|
75022
|
+
*)
|
75023
|
+
|
75024
|
+
lucide-react/dist/esm/icons/check-circle.js:
|
75025
|
+
(**
|
75026
|
+
* @license lucide-react v0.298.0 - ISC
|
75027
|
+
*
|
75028
|
+
* This source code is licensed under the ISC license.
|
75029
|
+
* See the LICENSE file in the root directory of this source tree.
|
75030
|
+
*)
|
75031
|
+
|
75032
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
75033
|
+
(**
|
75034
|
+
* @license lucide-react v0.298.0 - ISC
|
75035
|
+
*
|
75036
|
+
* This source code is licensed under the ISC license.
|
75037
|
+
* See the LICENSE file in the root directory of this source tree.
|
75038
|
+
*)
|
75039
|
+
|
75040
|
+
lucide-react/dist/esm/icons/chevron-left.js:
|
75041
|
+
(**
|
75042
|
+
* @license lucide-react v0.298.0 - ISC
|
75043
|
+
*
|
75044
|
+
* This source code is licensed under the ISC license.
|
75045
|
+
* See the LICENSE file in the root directory of this source tree.
|
75046
|
+
*)
|
75047
|
+
|
75048
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
75049
|
+
(**
|
75050
|
+
* @license lucide-react v0.298.0 - ISC
|
75051
|
+
*
|
75052
|
+
* This source code is licensed under the ISC license.
|
75053
|
+
* See the LICENSE file in the root directory of this source tree.
|
75054
|
+
*)
|
75055
|
+
|
75056
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
75057
|
+
(**
|
75058
|
+
* @license lucide-react v0.298.0 - ISC
|
75059
|
+
*
|
75060
|
+
* This source code is licensed under the ISC license.
|
75061
|
+
* See the LICENSE file in the root directory of this source tree.
|
75062
|
+
*)
|
75063
|
+
|
75064
|
+
lucide-react/dist/esm/icons/copy.js:
|
75065
|
+
(**
|
75066
|
+
* @license lucide-react v0.298.0 - ISC
|
75067
|
+
*
|
75068
|
+
* This source code is licensed under the ISC license.
|
75069
|
+
* See the LICENSE file in the root directory of this source tree.
|
75070
|
+
*)
|
75071
|
+
|
75072
|
+
lucide-react/dist/esm/icons/globe.js:
|
75073
|
+
(**
|
75074
|
+
* @license lucide-react v0.298.0 - ISC
|
75075
|
+
*
|
75076
|
+
* This source code is licensed under the ISC license.
|
75077
|
+
* See the LICENSE file in the root directory of this source tree.
|
75078
|
+
*)
|
75079
|
+
|
75080
|
+
lucide-react/dist/esm/icons/hash.js:
|
75081
|
+
(**
|
75082
|
+
* @license lucide-react v0.298.0 - ISC
|
75083
|
+
*
|
75084
|
+
* This source code is licensed under the ISC license.
|
75085
|
+
* See the LICENSE file in the root directory of this source tree.
|
75086
|
+
*)
|
75087
|
+
|
75088
|
+
lucide-react/dist/esm/icons/layers.js:
|
75089
|
+
(**
|
75090
|
+
* @license lucide-react v0.298.0 - ISC
|
75091
|
+
*
|
75092
|
+
* This source code is licensed under the ISC license.
|
75093
|
+
* See the LICENSE file in the root directory of this source tree.
|
75094
|
+
*)
|
75095
|
+
|
75096
|
+
lucide-react/dist/esm/icons/layout-grid.js:
|
75097
|
+
(**
|
75098
|
+
* @license lucide-react v0.298.0 - ISC
|
75099
|
+
*
|
75100
|
+
* This source code is licensed under the ISC license.
|
75101
|
+
* See the LICENSE file in the root directory of this source tree.
|
75102
|
+
*)
|
75103
|
+
|
75104
|
+
lucide-react/dist/esm/icons/link.js:
|
75105
|
+
(**
|
75106
|
+
* @license lucide-react v0.298.0 - ISC
|
75107
|
+
*
|
75108
|
+
* This source code is licensed under the ISC license.
|
75109
|
+
* See the LICENSE file in the root directory of this source tree.
|
75110
|
+
*)
|
75111
|
+
|
75112
|
+
lucide-react/dist/esm/icons/list.js:
|
75113
|
+
(**
|
75114
|
+
* @license lucide-react v0.298.0 - ISC
|
75115
|
+
*
|
75116
|
+
* This source code is licensed under the ISC license.
|
75117
|
+
* See the LICENSE file in the root directory of this source tree.
|
75118
|
+
*)
|
75119
|
+
|
75120
|
+
lucide-react/dist/esm/icons/lock.js:
|
75121
|
+
(**
|
75122
|
+
* @license lucide-react v0.298.0 - ISC
|
75123
|
+
*
|
75124
|
+
* This source code is licensed under the ISC license.
|
75125
|
+
* See the LICENSE file in the root directory of this source tree.
|
75126
|
+
*)
|
75127
|
+
|
75128
|
+
lucide-react/dist/esm/icons/more-vertical.js:
|
75129
|
+
(**
|
75130
|
+
* @license lucide-react v0.298.0 - ISC
|
75131
|
+
*
|
75132
|
+
* This source code is licensed under the ISC license.
|
75133
|
+
* See the LICENSE file in the root directory of this source tree.
|
75134
|
+
*)
|
75135
|
+
|
75136
|
+
lucide-react/dist/esm/icons/panel-left.js:
|
75137
|
+
(**
|
75138
|
+
* @license lucide-react v0.298.0 - ISC
|
75139
|
+
*
|
75140
|
+
* This source code is licensed under the ISC license.
|
75141
|
+
* See the LICENSE file in the root directory of this source tree.
|
75142
|
+
*)
|
75143
|
+
|
75144
|
+
lucide-react/dist/esm/icons/panel-right.js:
|
75145
|
+
(**
|
75146
|
+
* @license lucide-react v0.298.0 - ISC
|
75147
|
+
*
|
75148
|
+
* This source code is licensed under the ISC license.
|
75149
|
+
* See the LICENSE file in the root directory of this source tree.
|
75150
|
+
*)
|
75151
|
+
|
75152
|
+
lucide-react/dist/esm/icons/plus.js:
|
75153
|
+
(**
|
75154
|
+
* @license lucide-react v0.298.0 - ISC
|
75155
|
+
*
|
75156
|
+
* This source code is licensed under the ISC license.
|
75157
|
+
* See the LICENSE file in the root directory of this source tree.
|
75158
|
+
*)
|
75159
|
+
|
75160
|
+
lucide-react/dist/esm/icons/search.js:
|
75161
|
+
(**
|
75162
|
+
* @license lucide-react v0.298.0 - ISC
|
75163
|
+
*
|
75164
|
+
* This source code is licensed under the ISC license.
|
75165
|
+
* See the LICENSE file in the root directory of this source tree.
|
75166
|
+
*)
|
75167
|
+
|
75168
|
+
lucide-react/dist/esm/icons/trash.js:
|
75169
|
+
(**
|
75170
|
+
* @license lucide-react v0.298.0 - ISC
|
75171
|
+
*
|
75172
|
+
* This source code is licensed under the ISC license.
|
75173
|
+
* See the LICENSE file in the root directory of this source tree.
|
75174
|
+
*)
|
75175
|
+
|
75176
|
+
lucide-react/dist/esm/icons/type.js:
|
75177
|
+
(**
|
75178
|
+
* @license lucide-react v0.298.0 - ISC
|
75179
|
+
*
|
75180
|
+
* This source code is licensed under the ISC license.
|
75181
|
+
* See the LICENSE file in the root directory of this source tree.
|
75182
|
+
*)
|
75183
|
+
|
75184
|
+
lucide-react/dist/esm/icons/unlock.js:
|
75185
|
+
(**
|
75186
|
+
* @license lucide-react v0.298.0 - ISC
|
75187
|
+
*
|
75188
|
+
* This source code is licensed under the ISC license.
|
75189
|
+
* See the LICENSE file in the root directory of this source tree.
|
75190
|
+
*)
|
75191
|
+
|
75192
|
+
lucide-react/dist/esm/lucide-react.js:
|
75193
|
+
(**
|
75194
|
+
* @license lucide-react v0.298.0 - ISC
|
75195
|
+
*
|
75196
|
+
* This source code is licensed under the ISC license.
|
75197
|
+
* See the LICENSE file in the root directory of this source tree.
|
75198
|
+
*)
|
78084
75199
|
*/
|
78085
75200
|
/*! Bundled license information:
|
78086
75201
|
|
@@ -78234,10 +75349,35 @@ classnames/index.js:
|
|
78234
75349
|
http://jedwatson.github.io/classnames
|
78235
75350
|
*)
|
78236
75351
|
|
78237
|
-
|
78238
|
-
(
|
78239
|
-
|
78240
|
-
|
78241
|
-
|
78242
|
-
|
75352
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
75353
|
+
(**
|
75354
|
+
* @license lucide-react v0.298.0 - ISC
|
75355
|
+
*
|
75356
|
+
* This source code is licensed under the ISC license.
|
75357
|
+
* See the LICENSE file in the root directory of this source tree.
|
75358
|
+
*)
|
75359
|
+
|
75360
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
75361
|
+
(**
|
75362
|
+
* @license lucide-react v0.298.0 - ISC
|
75363
|
+
*
|
75364
|
+
* This source code is licensed under the ISC license.
|
75365
|
+
* See the LICENSE file in the root directory of this source tree.
|
75366
|
+
*)
|
75367
|
+
|
75368
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
75369
|
+
(**
|
75370
|
+
* @license lucide-react v0.298.0 - ISC
|
75371
|
+
*
|
75372
|
+
* This source code is licensed under the ISC license.
|
75373
|
+
* See the LICENSE file in the root directory of this source tree.
|
75374
|
+
*)
|
75375
|
+
|
75376
|
+
lucide-react/dist/esm/lucide-react.js:
|
75377
|
+
(**
|
75378
|
+
* @license lucide-react v0.298.0 - ISC
|
75379
|
+
*
|
75380
|
+
* This source code is licensed under the ISC license.
|
75381
|
+
* See the LICENSE file in the root directory of this source tree.
|
75382
|
+
*)
|
78243
75383
|
*/
|