@automattic/charts 0.57.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -2
- package/dist/charts/bar-chart/index.cjs +7 -5
- package/dist/charts/bar-chart/index.cjs.map +1 -1
- package/dist/charts/bar-chart/index.css +12 -24
- package/dist/charts/bar-chart/index.css.map +1 -1
- package/dist/charts/bar-chart/index.d.cts +3 -4
- package/dist/charts/bar-chart/index.d.ts +3 -4
- package/dist/charts/bar-chart/index.js +6 -4
- package/dist/charts/bar-list-chart/index.cjs +8 -6
- package/dist/charts/bar-list-chart/index.cjs.map +1 -1
- package/dist/charts/bar-list-chart/index.css +12 -24
- package/dist/charts/bar-list-chart/index.css.map +1 -1
- package/dist/charts/bar-list-chart/index.d.cts +3 -3
- package/dist/charts/bar-list-chart/index.d.ts +3 -3
- package/dist/charts/bar-list-chart/index.js +7 -5
- package/dist/charts/conversion-funnel-chart/index.cjs +5 -5
- package/dist/charts/conversion-funnel-chart/index.css +0 -94
- package/dist/charts/conversion-funnel-chart/index.css.map +1 -1
- package/dist/charts/conversion-funnel-chart/index.d.cts +1 -1
- package/dist/charts/conversion-funnel-chart/index.d.ts +1 -1
- package/dist/charts/conversion-funnel-chart/index.js +4 -4
- package/dist/charts/geo-chart/index.cjs +4 -4
- package/dist/charts/geo-chart/index.css +0 -94
- package/dist/charts/geo-chart/index.css.map +1 -1
- package/dist/charts/geo-chart/index.d.cts +1 -1
- package/dist/charts/geo-chart/index.d.ts +1 -1
- package/dist/charts/geo-chart/index.js +3 -3
- package/dist/charts/leaderboard-chart/index.cjs +7 -6
- package/dist/charts/leaderboard-chart/index.cjs.map +1 -1
- package/dist/charts/leaderboard-chart/index.css +12 -24
- package/dist/charts/leaderboard-chart/index.css.map +1 -1
- package/dist/charts/leaderboard-chart/index.d.cts +3 -3
- package/dist/charts/leaderboard-chart/index.d.ts +3 -3
- package/dist/charts/leaderboard-chart/index.js +6 -5
- package/dist/charts/line-chart/index.cjs +7 -5
- package/dist/charts/line-chart/index.cjs.map +1 -1
- package/dist/charts/line-chart/index.css +12 -24
- package/dist/charts/line-chart/index.css.map +1 -1
- package/dist/charts/line-chart/index.d.cts +3 -4
- package/dist/charts/line-chart/index.d.ts +3 -4
- package/dist/charts/line-chart/index.js +6 -4
- package/dist/charts/pie-chart/index.cjs +7 -6
- package/dist/charts/pie-chart/index.cjs.map +1 -1
- package/dist/charts/pie-chart/index.css +12 -24
- package/dist/charts/pie-chart/index.css.map +1 -1
- package/dist/charts/pie-chart/index.d.cts +7 -13
- package/dist/charts/pie-chart/index.d.ts +7 -13
- package/dist/charts/pie-chart/index.js +6 -5
- package/dist/charts/pie-semi-circle-chart/index.cjs +7 -6
- package/dist/charts/pie-semi-circle-chart/index.cjs.map +1 -1
- package/dist/charts/pie-semi-circle-chart/index.css +12 -24
- package/dist/charts/pie-semi-circle-chart/index.css.map +1 -1
- package/dist/charts/pie-semi-circle-chart/index.d.cts +7 -13
- package/dist/charts/pie-semi-circle-chart/index.d.ts +7 -13
- package/dist/charts/pie-semi-circle-chart/index.js +6 -5
- package/dist/charts/sparkline/index.cjs +8 -6
- package/dist/charts/sparkline/index.cjs.map +1 -1
- package/dist/charts/sparkline/index.css +12 -24
- package/dist/charts/sparkline/index.css.map +1 -1
- package/dist/charts/sparkline/index.js +7 -5
- package/dist/{chunk-32DH6JDF.js → chunk-2I67QUIV.js} +52 -420
- package/dist/chunk-2I67QUIV.js.map +1 -0
- package/dist/{chunk-WLODYNLB.js → chunk-2ICEEQOC.js} +31 -27
- package/dist/chunk-2ICEEQOC.js.map +1 -0
- package/dist/{chunk-IU4DYUAV.js → chunk-4B7BL2DD.js} +3 -3
- package/dist/{chunk-BCX5THDQ.js → chunk-4OXMTKAL.js} +24 -26
- package/dist/chunk-4OXMTKAL.js.map +1 -0
- package/dist/{chunk-4OPFE4RM.js → chunk-B6NLZFRW.js} +30 -27
- package/dist/chunk-B6NLZFRW.js.map +1 -0
- package/dist/{chunk-D2UH4CFE.cjs → chunk-BBAUQOW6.cjs} +9 -9
- package/dist/{chunk-D2UH4CFE.cjs.map → chunk-BBAUQOW6.cjs.map} +1 -1
- package/dist/{chunk-XKRJL2QT.cjs → chunk-CMMHCTBX.cjs} +45 -47
- package/dist/chunk-CMMHCTBX.cjs.map +1 -0
- package/dist/{chunk-YE2T52VZ.cjs → chunk-CPPXJATQ.cjs} +51 -47
- package/dist/chunk-CPPXJATQ.cjs.map +1 -0
- package/dist/{chunk-H2V4JMSA.js → chunk-DKU775VC.js} +3 -3
- package/dist/{chunk-ZH4F5RMG.cjs → chunk-GRA7Y2ZG.cjs} +46 -48
- package/dist/chunk-GRA7Y2ZG.cjs.map +1 -0
- package/dist/{chunk-DAU3HNEG.js → chunk-JJIMABHT.js} +9 -2
- package/dist/chunk-JJIMABHT.js.map +1 -0
- package/dist/{chunk-CZGYJKG6.js → chunk-KJHWXOCZ.js} +4 -4
- package/dist/{chunk-6CCZL2JJ.js → chunk-KRWGSOJ2.js} +30 -2
- package/dist/chunk-KRWGSOJ2.js.map +1 -0
- package/dist/{chunk-V36ERY7Y.js → chunk-LTFH7SEG.js} +24 -26
- package/dist/chunk-LTFH7SEG.js.map +1 -0
- package/dist/{chunk-PXLEMUGJ.js → chunk-MUNOKLLE.js} +3 -3
- package/dist/{chunk-VTS3PNMS.cjs → chunk-MXGLYWVP.cjs} +9 -2
- package/dist/chunk-MXGLYWVP.cjs.map +1 -0
- package/dist/{chunk-Z45KX47P.cjs → chunk-OYC34VTO.cjs} +154 -94
- package/dist/chunk-OYC34VTO.cjs.map +1 -0
- package/dist/{chunk-77OKCVQN.cjs → chunk-PQL5I3F6.cjs} +17 -17
- package/dist/{chunk-77OKCVQN.cjs.map → chunk-PQL5I3F6.cjs.map} +1 -1
- package/dist/{chunk-I35UYJJR.cjs → chunk-REZTQ4PH.cjs} +41 -21
- package/dist/chunk-REZTQ4PH.cjs.map +1 -0
- package/dist/{chunk-RCY6XLGU.cjs → chunk-TZRUHQOH.cjs} +36 -8
- package/dist/chunk-TZRUHQOH.cjs.map +1 -0
- package/dist/{chunk-2NCY7R4G.js → chunk-UTYVIOWZ.js} +111 -51
- package/dist/chunk-UTYVIOWZ.js.map +1 -0
- package/dist/{chunk-TO3OQBXG.cjs → chunk-W2LDIX26.cjs} +5 -5
- package/dist/{chunk-TO3OQBXG.cjs.map → chunk-W2LDIX26.cjs.map} +1 -1
- package/dist/{chunk-7FQX4ALL.cjs → chunk-WSG64BVN.cjs} +6 -6
- package/dist/{chunk-7FQX4ALL.cjs.map → chunk-WSG64BVN.cjs.map} +1 -1
- package/dist/chunk-WTQYGUNF.js +400 -0
- package/dist/chunk-WTQYGUNF.js.map +1 -0
- package/dist/{chunk-RHHVEJHJ.cjs → chunk-WYK7EL5R.cjs} +68 -436
- package/dist/chunk-WYK7EL5R.cjs.map +1 -0
- package/dist/{chunk-VJM5XCB4.cjs → chunk-XC4KHJYX.cjs} +49 -46
- package/dist/chunk-XC4KHJYX.cjs.map +1 -0
- package/dist/chunk-XVBH5XHE.cjs +400 -0
- package/dist/chunk-XVBH5XHE.cjs.map +1 -0
- package/dist/{chunk-Z26M4V2M.js → chunk-YAFQVVDI.js} +41 -21
- package/dist/chunk-YAFQVVDI.js.map +1 -0
- package/dist/components/legend/index.cjs +4 -3
- package/dist/components/legend/index.cjs.map +1 -1
- package/dist/components/legend/index.css +12 -24
- package/dist/components/legend/index.css.map +1 -1
- package/dist/components/legend/index.d.cts +4 -4
- package/dist/components/legend/index.d.ts +4 -4
- package/dist/components/legend/index.js +3 -2
- package/dist/components/tooltip/index.d.cts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/hooks/index.cjs +3 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.css +0 -94
- package/dist/hooks/index.css.map +1 -1
- package/dist/hooks/index.d.cts +3 -11
- package/dist/hooks/index.d.ts +3 -11
- package/dist/hooks/index.js +2 -4
- package/dist/index.cjs +18 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +12 -24
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +17 -15
- package/dist/{leaderboard-chart-DR7CGb0L.d.cts → leaderboard-chart-BSbg0ufV.d.cts} +3 -7
- package/dist/{leaderboard-chart-BKYYXcg2.d.ts → leaderboard-chart-odEYxxEC.d.ts} +3 -7
- package/dist/{legend-C2grwnWk.d.cts → legend-DFkosEvC.d.cts} +1 -1
- package/dist/{legend-Cj0xM5dU.d.ts → legend-DLswHhOk.d.ts} +1 -1
- package/dist/providers/index.cjs +3 -3
- package/dist/providers/index.css +0 -94
- package/dist/providers/index.css.map +1 -1
- package/dist/providers/index.d.cts +3 -3
- package/dist/providers/index.d.ts +3 -3
- package/dist/providers/index.js +2 -2
- package/dist/{themes-CyjKm-P_.d.cts → themes-D0qc5JaW.d.cts} +2 -2
- package/dist/{themes-BmVGrYnF.d.ts → themes-itO4Ht5g.d.ts} +2 -2
- package/dist/{types-KtOPPzPX.d.cts → types-B5f6XQ7Q.d.cts} +1 -1
- package/dist/{types-CuUEszrM.d.ts → types-BsHooDbM.d.ts} +1 -1
- package/dist/{types-I67mddpr.d.cts → types-BuSrRM4p.d.ts} +3 -32
- package/dist/{types-DZordNiO.d.cts → types-ChOUI9-N.d.cts} +80 -40
- package/dist/{types-DZordNiO.d.ts → types-ChOUI9-N.d.ts} +80 -40
- package/dist/{types-I67mddpr.d.ts → types-Dfw9VOKI.d.cts} +3 -32
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +6 -6
- package/src/charts/bar-chart/bar-chart.tsx +17 -18
- package/src/charts/bar-chart/test/bar-chart.test.tsx +48 -31
- package/src/charts/leaderboard-chart/leaderboard-chart.tsx +38 -41
- package/src/charts/leaderboard-chart/test/leaderboard-chart.test.tsx +4 -5
- package/src/charts/leaderboard-chart/types.ts +1 -11
- package/src/charts/line-chart/line-chart.tsx +18 -16
- package/src/charts/line-chart/test/line-chart.test.tsx +49 -27
- package/src/charts/line-chart/types.ts +0 -1
- package/src/charts/pie-chart/pie-chart.tsx +23 -22
- package/src/charts/pie-chart/test/composition-api.test.tsx +41 -0
- package/src/charts/pie-chart/test/pie-chart.test.tsx +9 -9
- package/src/charts/pie-semi-circle-chart/pie-semi-circle-chart.tsx +21 -23
- package/src/charts/pie-semi-circle-chart/test/pie-semi-circle-chart.test.tsx +33 -5
- package/src/charts/private/chart-composition/index.ts +2 -0
- package/src/charts/private/chart-composition/render-legend-slot.ts +22 -0
- package/src/charts/private/chart-composition/test/render-legend-slot.test.tsx +60 -0
- package/src/charts/private/chart-composition/test/use-chart-children.test.tsx +91 -0
- package/src/charts/private/chart-composition/use-chart-children.ts +34 -2
- package/src/components/legend/index.ts +1 -8
- package/src/components/legend/private/base-legend.module.scss +19 -37
- package/src/components/legend/private/base-legend.tsx +0 -2
- package/src/components/legend/types.ts +7 -34
- package/src/hooks/index.ts +0 -1
- package/src/index.ts +1 -7
- package/src/types.ts +83 -38
- package/src/utils/date-parsing.ts +10 -1
- package/src/utils/test/date-parsing.test.ts +12 -0
- package/src/utils/test/resolve-css-var.test.ts +2 -2
- package/tsup.config.ts +1 -1
- package/dist/chunk-2NCY7R4G.js.map +0 -1
- package/dist/chunk-32DH6JDF.js.map +0 -1
- package/dist/chunk-4OPFE4RM.js.map +0 -1
- package/dist/chunk-6CCZL2JJ.js.map +0 -1
- package/dist/chunk-BCX5THDQ.js.map +0 -1
- package/dist/chunk-DAU3HNEG.js.map +0 -1
- package/dist/chunk-I35UYJJR.cjs.map +0 -1
- package/dist/chunk-RCY6XLGU.cjs.map +0 -1
- package/dist/chunk-RHHVEJHJ.cjs.map +0 -1
- package/dist/chunk-V36ERY7Y.js.map +0 -1
- package/dist/chunk-VJM5XCB4.cjs.map +0 -1
- package/dist/chunk-VTS3PNMS.cjs.map +0 -1
- package/dist/chunk-WLODYNLB.js.map +0 -1
- package/dist/chunk-XKRJL2QT.cjs.map +0 -1
- package/dist/chunk-YE2T52VZ.cjs.map +0 -1
- package/dist/chunk-Z26M4V2M.js.map +0 -1
- package/dist/chunk-Z45KX47P.cjs.map +0 -1
- package/dist/chunk-ZH4F5RMG.cjs.map +0 -1
- package/src/hooks/use-has-legend-child.ts +0 -22
- /package/dist/{chunk-IU4DYUAV.js.map → chunk-4B7BL2DD.js.map} +0 -0
- /package/dist/{chunk-H2V4JMSA.js.map → chunk-DKU775VC.js.map} +0 -0
- /package/dist/{chunk-CZGYJKG6.js.map → chunk-KJHWXOCZ.js.map} +0 -0
- /package/dist/{chunk-PXLEMUGJ.js.map → chunk-MUNOKLLE.js.map} +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var _chunkRCY6XLGUcjs = require('./chunk-RCY6XLGU.cjs');
|
|
4
3
|
|
|
4
|
+
var _chunkTZRUHQOHcjs = require('./chunk-TZRUHQOH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
var _chunkXVBH5XHEcjs = require('./chunk-XVBH5XHE.cjs');
|
|
9
|
+
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
|
|
@@ -16,13 +18,14 @@ var _chunkRCY6XLGUcjs = require('./chunk-RCY6XLGU.cjs');
|
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
|
|
19
|
-
var _chunkI35UYJJRcjs = require('./chunk-I35UYJJR.cjs');
|
|
20
21
|
|
|
21
22
|
|
|
22
|
-
var _chunkASLARV7Lcjs = require('./chunk-ASLARV7L.cjs');
|
|
23
23
|
|
|
24
|
+
var _chunkREZTQ4PHcjs = require('./chunk-REZTQ4PH.cjs');
|
|
24
25
|
|
|
25
26
|
|
|
27
|
+
var _chunkASLARV7Lcjs = require('./chunk-ASLARV7L.cjs');
|
|
28
|
+
|
|
26
29
|
|
|
27
30
|
|
|
28
31
|
|
|
@@ -30,11 +33,11 @@ var _chunkASLARV7Lcjs = require('./chunk-ASLARV7L.cjs');
|
|
|
30
33
|
|
|
31
34
|
|
|
32
35
|
|
|
33
|
-
var
|
|
36
|
+
var _chunkWYK7EL5Rcjs = require('./chunk-WYK7EL5R.cjs');
|
|
34
37
|
|
|
35
38
|
|
|
36
39
|
|
|
37
|
-
var
|
|
40
|
+
var _chunkMXGLYWVPcjs = require('./chunk-MXGLYWVP.cjs');
|
|
38
41
|
|
|
39
42
|
|
|
40
43
|
|
|
@@ -409,6 +412,62 @@ var require_hoist_non_react_statics_cjs = _chunkEMMSS5I5cjs.__commonJS.call(void
|
|
|
409
412
|
}
|
|
410
413
|
});
|
|
411
414
|
|
|
415
|
+
// ../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/es6/index.js
|
|
416
|
+
var require_es6 = _chunkEMMSS5I5cjs.__commonJS.call(void 0, {
|
|
417
|
+
"../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/es6/index.js"(exports, module) {
|
|
418
|
+
"use strict";
|
|
419
|
+
module.exports = function equal(a2, b2) {
|
|
420
|
+
if (a2 === b2) return true;
|
|
421
|
+
if (a2 && b2 && typeof a2 == "object" && typeof b2 == "object") {
|
|
422
|
+
if (a2.constructor !== b2.constructor) return false;
|
|
423
|
+
var length2, i2, keys;
|
|
424
|
+
if (Array.isArray(a2)) {
|
|
425
|
+
length2 = a2.length;
|
|
426
|
+
if (length2 != b2.length) return false;
|
|
427
|
+
for (i2 = length2; i2-- !== 0; )
|
|
428
|
+
if (!equal(a2[i2], b2[i2])) return false;
|
|
429
|
+
return true;
|
|
430
|
+
}
|
|
431
|
+
if (a2 instanceof Map && b2 instanceof Map) {
|
|
432
|
+
if (a2.size !== b2.size) return false;
|
|
433
|
+
for (i2 of a2.entries())
|
|
434
|
+
if (!b2.has(i2[0])) return false;
|
|
435
|
+
for (i2 of a2.entries())
|
|
436
|
+
if (!equal(i2[1], b2.get(i2[0]))) return false;
|
|
437
|
+
return true;
|
|
438
|
+
}
|
|
439
|
+
if (a2 instanceof Set && b2 instanceof Set) {
|
|
440
|
+
if (a2.size !== b2.size) return false;
|
|
441
|
+
for (i2 of a2.entries())
|
|
442
|
+
if (!b2.has(i2[0])) return false;
|
|
443
|
+
return true;
|
|
444
|
+
}
|
|
445
|
+
if (ArrayBuffer.isView(a2) && ArrayBuffer.isView(b2)) {
|
|
446
|
+
length2 = a2.length;
|
|
447
|
+
if (length2 != b2.length) return false;
|
|
448
|
+
for (i2 = length2; i2-- !== 0; )
|
|
449
|
+
if (a2[i2] !== b2[i2]) return false;
|
|
450
|
+
return true;
|
|
451
|
+
}
|
|
452
|
+
if (a2.constructor === RegExp) return a2.source === b2.source && a2.flags === b2.flags;
|
|
453
|
+
if (a2.valueOf !== Object.prototype.valueOf) return a2.valueOf() === b2.valueOf();
|
|
454
|
+
if (a2.toString !== Object.prototype.toString) return a2.toString() === b2.toString();
|
|
455
|
+
keys = Object.keys(a2);
|
|
456
|
+
length2 = keys.length;
|
|
457
|
+
if (length2 !== Object.keys(b2).length) return false;
|
|
458
|
+
for (i2 = length2; i2-- !== 0; )
|
|
459
|
+
if (!Object.prototype.hasOwnProperty.call(b2, keys[i2])) return false;
|
|
460
|
+
for (i2 = length2; i2-- !== 0; ) {
|
|
461
|
+
var key = keys[i2];
|
|
462
|
+
if (!equal(a2[key], b2[key])) return false;
|
|
463
|
+
}
|
|
464
|
+
return true;
|
|
465
|
+
}
|
|
466
|
+
return a2 !== a2 && b2 !== b2;
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
});
|
|
470
|
+
|
|
412
471
|
// ../../../node_modules/.pnpm/highlight-words-core@1.2.3/node_modules/highlight-words-core/dist/index.js
|
|
413
472
|
var require_dist = _chunkEMMSS5I5cjs.__commonJS.call(void 0, {
|
|
414
473
|
"../../../node_modules/.pnpm/highlight-words-core@1.2.3/node_modules/highlight-words-core/dist/index.js"(exports, module) {
|
|
@@ -644,22 +703,22 @@ function paramCase(input, options) {
|
|
|
644
703
|
return dotCase(input, _tslib.__assign.call(void 0, { delimiter: "-" }, options));
|
|
645
704
|
}
|
|
646
705
|
|
|
647
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
706
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/values.mjs
|
|
648
707
|
function isValueDefined(value) {
|
|
649
708
|
return value !== void 0 && value !== null;
|
|
650
709
|
}
|
|
651
710
|
|
|
652
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
711
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-update-effect.mjs
|
|
653
712
|
function useUpdateEffect(effect, deps) {
|
|
654
|
-
const mountedRef =
|
|
655
|
-
|
|
713
|
+
const mountedRef = _chunkREZTQ4PHcjs.useRef.call(void 0, false);
|
|
714
|
+
_chunkREZTQ4PHcjs.useEffect.call(void 0, () => {
|
|
656
715
|
if (mountedRef.current) {
|
|
657
716
|
return effect();
|
|
658
717
|
}
|
|
659
718
|
mountedRef.current = true;
|
|
660
719
|
return void 0;
|
|
661
720
|
}, deps);
|
|
662
|
-
|
|
721
|
+
_chunkREZTQ4PHcjs.useEffect.call(void 0, () => () => {
|
|
663
722
|
mountedRef.current = false;
|
|
664
723
|
}, []);
|
|
665
724
|
}
|
|
@@ -2103,11 +2162,11 @@ var css2 = _createEmotion.css;
|
|
|
2103
2162
|
var sheet = _createEmotion.sheet;
|
|
2104
2163
|
var cache = _createEmotion.cache;
|
|
2105
2164
|
|
|
2106
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2165
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-cx.mjs
|
|
2107
2166
|
var isSerializedStyles = (o2) => typeof o2 !== "undefined" && o2 !== null && ["name", "styles"].every((p2) => typeof o2[p2] !== "undefined");
|
|
2108
2167
|
var useCx = () => {
|
|
2109
2168
|
const cache2 = __unsafe_useEmotionCache();
|
|
2110
|
-
const cx2 =
|
|
2169
|
+
const cx2 = _chunkREZTQ4PHcjs.useCallback.call(void 0, (...classNames) => {
|
|
2111
2170
|
if (cache2 === null) {
|
|
2112
2171
|
throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");
|
|
2113
2172
|
}
|
|
@@ -2379,7 +2438,7 @@ function names_default(e2, f2) {
|
|
|
2379
2438
|
}, "name"]);
|
|
2380
2439
|
}
|
|
2381
2440
|
|
|
2382
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2441
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/colors.mjs
|
|
2383
2442
|
var colorComputationNode;
|
|
2384
2443
|
k([names_default]);
|
|
2385
2444
|
function getColorComputationNode() {
|
|
@@ -2433,7 +2492,7 @@ function getOptimalTextShade(backgroundColor) {
|
|
|
2433
2492
|
return result === "#000000" ? "dark" : "light";
|
|
2434
2493
|
}
|
|
2435
2494
|
|
|
2436
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2495
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/colors-values.mjs
|
|
2437
2496
|
var white = "#fff";
|
|
2438
2497
|
var GRAY = {
|
|
2439
2498
|
900: "#1e1e1e",
|
|
@@ -2514,7 +2573,7 @@ var COLORS = Object.freeze({
|
|
|
2514
2573
|
ui: UI
|
|
2515
2574
|
});
|
|
2516
2575
|
|
|
2517
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2576
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/config-values.mjs
|
|
2518
2577
|
var CONTROL_HEIGHT = "36px";
|
|
2519
2578
|
var CONTROL_PROPS = {
|
|
2520
2579
|
// These values should be shared with TextControl.
|
|
@@ -2582,9 +2641,9 @@ var config_values_default = Object.assign({}, CONTROL_PROPS, {
|
|
|
2582
2641
|
transitionTimingFunctionControl: "cubic-bezier(0.12, 0.8, 0.32, 1)"
|
|
2583
2642
|
});
|
|
2584
2643
|
|
|
2585
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2644
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-system-provider.mjs
|
|
2645
|
+
var import_es6 = _chunkEMMSS5I5cjs.__toESM.call(void 0, require_es6(), 1);
|
|
2586
2646
|
var _deepmerge = require('deepmerge'); var _deepmerge2 = _interopRequireDefault(_deepmerge);
|
|
2587
|
-
var _indexjs = require('fast-deep-equal/es6/index.js'); var _indexjs2 = _interopRequireDefault(_indexjs);
|
|
2588
2647
|
|
|
2589
2648
|
// ../../../node_modules/.pnpm/@wordpress+warning@3.41.0/node_modules/@wordpress/warning/build-module/utils.mjs
|
|
2590
2649
|
var logged = /* @__PURE__ */ new Set();
|
|
@@ -2608,29 +2667,29 @@ function warning(message) {
|
|
|
2608
2667
|
logged.add(message);
|
|
2609
2668
|
}
|
|
2610
2669
|
|
|
2611
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2670
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-system-provider.mjs
|
|
2612
2671
|
var _jsxruntime = require('react/jsx-runtime');
|
|
2613
|
-
var ComponentsContext =
|
|
2672
|
+
var ComponentsContext = _chunkREZTQ4PHcjs.createContext.call(void 0,
|
|
2614
2673
|
/** @type {Record<string, any>} */
|
|
2615
2674
|
{}
|
|
2616
2675
|
);
|
|
2617
2676
|
ComponentsContext.displayName = "ComponentsContext";
|
|
2618
|
-
var useComponentsContext = () =>
|
|
2677
|
+
var useComponentsContext = () => _chunkREZTQ4PHcjs.useContext.call(void 0, ComponentsContext);
|
|
2619
2678
|
function useContextSystemBridge({
|
|
2620
2679
|
value
|
|
2621
2680
|
}) {
|
|
2622
2681
|
const parentContext = useComponentsContext();
|
|
2623
|
-
const valueRef =
|
|
2682
|
+
const valueRef = _chunkREZTQ4PHcjs.useRef.call(void 0, value);
|
|
2624
2683
|
use_update_effect_default(() => {
|
|
2625
2684
|
if (
|
|
2626
2685
|
// Objects are equivalent.
|
|
2627
|
-
|
|
2686
|
+
(0, import_es6.default)(valueRef.current, value) && // But not the same reference.
|
|
2628
2687
|
valueRef.current !== value
|
|
2629
2688
|
) {
|
|
2630
2689
|
globalThis.SCRIPT_DEBUG === true ? warning(`Please memoize your context: ${JSON.stringify(value)}`) : void 0;
|
|
2631
2690
|
}
|
|
2632
2691
|
}, [value]);
|
|
2633
|
-
const config =
|
|
2692
|
+
const config = _chunkREZTQ4PHcjs.useMemo.call(void 0, () => {
|
|
2634
2693
|
return _deepmerge2.default.call(void 0, _nullishCoalesce(parentContext, () => ( {})), _nullishCoalesce(value, () => ( {})), {
|
|
2635
2694
|
isMergeableObject: isPlainObject
|
|
2636
2695
|
});
|
|
@@ -2649,28 +2708,28 @@ var BaseContextSystemProvider = ({
|
|
|
2649
2708
|
children
|
|
2650
2709
|
});
|
|
2651
2710
|
};
|
|
2652
|
-
var ContextSystemProvider =
|
|
2711
|
+
var ContextSystemProvider = _chunkREZTQ4PHcjs.memo.call(void 0, BaseContextSystemProvider);
|
|
2653
2712
|
|
|
2654
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2713
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/constants.mjs
|
|
2655
2714
|
var COMPONENT_NAMESPACE = "data-wp-component";
|
|
2656
2715
|
var CONNECTED_NAMESPACE = "data-wp-c16t";
|
|
2657
2716
|
var CONNECT_STATIC_NAMESPACE = "__contextSystemKey__";
|
|
2658
2717
|
|
|
2659
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2718
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/get-styled-class-name-from-key.mjs
|
|
2660
2719
|
function getStyledClassName(namespace) {
|
|
2661
2720
|
const kebab = paramCase(namespace);
|
|
2662
2721
|
return `components-${kebab}`;
|
|
2663
2722
|
}
|
|
2664
2723
|
var getStyledClassNameFromKey = memize(getStyledClassName);
|
|
2665
2724
|
|
|
2666
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2725
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-connect.mjs
|
|
2667
2726
|
function contextConnect(Component, namespace) {
|
|
2668
2727
|
return _contextConnect(Component, namespace, {
|
|
2669
2728
|
forwardsRef: true
|
|
2670
2729
|
});
|
|
2671
2730
|
}
|
|
2672
2731
|
function _contextConnect(Component, namespace, options) {
|
|
2673
|
-
const WrappedComponent = _optionalChain([options, 'optionalAccess', _4 => _4.forwardsRef]) ?
|
|
2732
|
+
const WrappedComponent = _optionalChain([options, 'optionalAccess', _4 => _4.forwardsRef]) ? _chunkREZTQ4PHcjs.forwardRef.call(void 0, Component) : Component;
|
|
2674
2733
|
if (typeof namespace === "undefined") {
|
|
2675
2734
|
globalThis.SCRIPT_DEBUG === true ? warning("contextConnect: Please provide a namespace") : void 0;
|
|
2676
2735
|
}
|
|
@@ -2713,7 +2772,7 @@ function hasConnectNamespace(Component, match2) {
|
|
|
2713
2772
|
return false;
|
|
2714
2773
|
}
|
|
2715
2774
|
|
|
2716
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2775
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/utils.mjs
|
|
2717
2776
|
function getNamespace(componentName) {
|
|
2718
2777
|
return {
|
|
2719
2778
|
[COMPONENT_NAMESPACE]: componentName
|
|
@@ -2725,7 +2784,7 @@ function getConnectedNamespace() {
|
|
|
2725
2784
|
};
|
|
2726
2785
|
}
|
|
2727
2786
|
|
|
2728
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2787
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/use-context-system.mjs
|
|
2729
2788
|
function useContextSystem(props, namespace) {
|
|
2730
2789
|
const contextSystemProps = useComponentsContext();
|
|
2731
2790
|
if (typeof namespace === "undefined") {
|
|
@@ -2909,7 +2968,7 @@ var createStyled = function createStyled2(tag, options) {
|
|
|
2909
2968
|
};
|
|
2910
2969
|
};
|
|
2911
2970
|
|
|
2912
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2971
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/view/component.mjs
|
|
2913
2972
|
|
|
2914
2973
|
var PolymorphicDiv = /* @__PURE__ */ createStyled("div", process.env.NODE_ENV === "production" ? {
|
|
2915
2974
|
target: "e19lxcc00"
|
|
@@ -2927,12 +2986,12 @@ function UnforwardedView({
|
|
|
2927
2986
|
...restProps
|
|
2928
2987
|
});
|
|
2929
2988
|
}
|
|
2930
|
-
var View = Object.assign(
|
|
2989
|
+
var View = Object.assign(_chunkREZTQ4PHcjs.forwardRef.call(void 0, UnforwardedView), {
|
|
2931
2990
|
selector: ".components-view"
|
|
2932
2991
|
});
|
|
2933
2992
|
var component_default = View;
|
|
2934
2993
|
|
|
2935
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
2994
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/use-responsive-value.mjs
|
|
2936
2995
|
var breakpoints = ["40em", "52em", "64em"];
|
|
2937
2996
|
var useBreakpointIndex = (options = {}) => {
|
|
2938
2997
|
const {
|
|
@@ -2943,8 +3002,8 @@ var useBreakpointIndex = (options = {}) => {
|
|
|
2943
3002
|
} else if (defaultIndex < 0 || defaultIndex > breakpoints.length - 1) {
|
|
2944
3003
|
throw new RangeError(`Default breakpoint index out of range. Theme has ${breakpoints.length} breakpoints, got index ${defaultIndex}`);
|
|
2945
3004
|
}
|
|
2946
|
-
const [value, setValue] =
|
|
2947
|
-
|
|
3005
|
+
const [value, setValue] = _chunkREZTQ4PHcjs.useState.call(void 0, defaultIndex);
|
|
3006
|
+
_chunkREZTQ4PHcjs.useEffect.call(void 0, () => {
|
|
2948
3007
|
const getIndex = () => breakpoints.filter((bp) => {
|
|
2949
3008
|
return typeof window !== "undefined" ? window.matchMedia(`screen and (min-width: ${bp})`).matches : false;
|
|
2950
3009
|
}).length;
|
|
@@ -2975,7 +3034,7 @@ function useResponsiveValue(values, options = {}) {
|
|
|
2975
3034
|
return array[index >= array.length ? array.length - 1 : index];
|
|
2976
3035
|
}
|
|
2977
3036
|
|
|
2978
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3037
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/space.mjs
|
|
2979
3038
|
var GRID_BASE = "4px";
|
|
2980
3039
|
function space(value) {
|
|
2981
3040
|
if (typeof value === "undefined") {
|
|
@@ -2991,7 +3050,7 @@ function space(value) {
|
|
|
2991
3050
|
return `calc(${GRID_BASE} * ${value})`;
|
|
2992
3051
|
}
|
|
2993
3052
|
|
|
2994
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3053
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/truncate/styles.mjs
|
|
2995
3054
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
2996
3055
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
2997
3056
|
}
|
|
@@ -3004,7 +3063,7 @@ var Truncate = process.env.NODE_ENV === "production" ? {
|
|
|
3004
3063
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
3005
3064
|
};
|
|
3006
3065
|
|
|
3007
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3066
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/truncate/utils.mjs
|
|
3008
3067
|
var TRUNCATE_ELLIPSIS = "\u2026";
|
|
3009
3068
|
var TRUNCATE_TYPE = {
|
|
3010
3069
|
auto: "auto",
|
|
@@ -3066,7 +3125,7 @@ function truncateContent(words = "", props) {
|
|
|
3066
3125
|
return truncatedContent;
|
|
3067
3126
|
}
|
|
3068
3127
|
|
|
3069
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3128
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/truncate/hook.mjs
|
|
3070
3129
|
function useTruncate(props) {
|
|
3071
3130
|
const {
|
|
3072
3131
|
className,
|
|
@@ -3091,7 +3150,7 @@ function useTruncate(props) {
|
|
|
3091
3150
|
numberOfLines
|
|
3092
3151
|
}) : children;
|
|
3093
3152
|
const shouldTruncate = !!childrenAsText && ellipsizeMode === TRUNCATE_TYPE.auto;
|
|
3094
|
-
const classes =
|
|
3153
|
+
const classes = _chunkREZTQ4PHcjs.useMemo.call(void 0, () => {
|
|
3095
3154
|
const truncateLines = /* @__PURE__ */ css(numberOfLines === 1 ? "word-break: break-all;" : "", " -webkit-box-orient:vertical;-webkit-line-clamp:", numberOfLines, ";display:-webkit-box;overflow:hidden;" + (process.env.NODE_ENV === "production" ? "" : ";label:truncateLines;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImhvb2sudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEQyQiIsImZpbGUiOiJob29rLnRzIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG4vKipcbiAqIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgdXNlTWVtbyB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB0eXBlIHsgV29yZFByZXNzQ29tcG9uZW50UHJvcHMgfSBmcm9tICcuLi9jb250ZXh0JztcbmltcG9ydCB7IHVzZUNvbnRleHRTeXN0ZW0gfSBmcm9tICcuLi9jb250ZXh0JztcbmltcG9ydCAqIGFzIHN0eWxlcyBmcm9tICcuL3N0eWxlcyc7XG5pbXBvcnQgeyBUUlVOQ0FURV9FTExJUFNJUywgVFJVTkNBVEVfVFlQRSwgdHJ1bmNhdGVDb250ZW50IH0gZnJvbSAnLi91dGlscyc7XG5pbXBvcnQgeyB1c2VDeCB9IGZyb20gJy4uL3V0aWxzL2hvb2tzL3VzZS1jeCc7XG5pbXBvcnQgdHlwZSB7IFRydW5jYXRlUHJvcHMgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gdXNlVHJ1bmNhdGUoXG5cdHByb3BzOiBXb3JkUHJlc3NDb21wb25lbnRQcm9wczwgVHJ1bmNhdGVQcm9wcywgJ3NwYW4nID5cbikge1xuXHRjb25zdCB7XG5cdFx0Y2xhc3NOYW1lLFxuXHRcdGNoaWxkcmVuLFxuXHRcdGVsbGlwc2lzID0gVFJVTkNBVEVfRUxMSVBTSVMsXG5cdFx0ZWxsaXBzaXplTW9kZSA9IFRSVU5DQVRFX1RZUEUuYXV0byxcblx0XHRsaW1pdCA9IDAsXG5cdFx0bnVtYmVyT2ZMaW5lcyA9IDAsXG5cdFx0Li4ub3RoZXJQcm9wc1xuXHR9ID0gdXNlQ29udGV4dFN5c3RlbSggcHJvcHMsICdUcnVuY2F0ZScgKTtcblxuXHRjb25zdCBjeCA9IHVzZUN4KCk7XG5cblx0bGV0IGNoaWxkcmVuQXNUZXh0O1xuXHRpZiAoIHR5cGVvZiBjaGlsZHJlbiA9PT0gJ3N0cmluZycgKSB7XG5cdFx0Y2hpbGRyZW5Bc1RleHQgPSBjaGlsZHJlbjtcblx0fSBlbHNlIGlmICggdHlwZW9mIGNoaWxkcmVuID09PSAnbnVtYmVyJyApIHtcblx0XHRjaGlsZHJlbkFzVGV4dCA9IGNoaWxkcmVuLnRvU3RyaW5nKCk7XG5cdH1cblxuXHRjb25zdCB0cnVuY2F0ZWRDb250ZW50ID0gY2hpbGRyZW5Bc1RleHRcblx0XHQ/IHRydW5jYXRlQ29udGVudCggY2hpbGRyZW5Bc1RleHQsIHtcblx0XHRcdFx0ZWxsaXBzaXMsXG5cdFx0XHRcdGVsbGlwc2l6ZU1vZGUsXG5cdFx0XHRcdGxpbWl0LFxuXHRcdFx0XHRudW1iZXJPZkxpbmVzLFxuXHRcdCAgfSApXG5cdFx0OiBjaGlsZHJlbjtcblxuXHRjb25zdCBzaG91bGRUcnVuY2F0ZSA9XG5cdFx0ISEgY2hpbGRyZW5Bc1RleHQgJiYgZWxsaXBzaXplTW9kZSA9PT0gVFJVTkNBVEVfVFlQRS5hdXRvO1xuXG5cdGNvbnN0IGNsYXNzZXMgPSB1c2VNZW1vKCAoKSA9PiB7XG5cdFx0Ly8gVGhlIGB3b3JkLWJyZWFrOiBicmVhay1hbGxgIHByb3BlcnR5IGZpcnN0IG1ha2VzIHN1cmUgYSB0ZXh0IGxpbmVcblx0XHQvLyBicmVha3MgZXZlbiB3aGVuIGl0IGNvbnRhaW5zICd1bmJyZWFrYWJsZScgY29udGVudCBzdWNoIGFzIGxvbmcgVVJMcy5cblx0XHQvLyBTZWUgaHR0cHM6Ly9naXRodWIuY29tL1dvcmRQcmVzcy9ndXRlbmJlcmcvaXNzdWVzLzYwODYwLlxuXHRcdGNvbnN0IHRydW5jYXRlTGluZXMgPSBjc3NgXG5cdFx0XHQkeyBudW1iZXJPZkxpbmVzID09PSAxID8gJ3dvcmQtYnJlYWs6IGJyZWFrLWFsbDsnIDogJycgfVxuXHRcdFx0LXdlYmtpdC1ib3gtb3JpZW50OiB2ZXJ0aWNhbDtcblx0XHRcdC13ZWJraXQtbGluZS1jbGFtcDogJHsgbnVtYmVyT2ZMaW5lcyB9O1xuXHRcdFx0ZGlzcGxheTogLXdlYmtpdC1ib3g7XG5cdFx0XHRvdmVyZmxvdzogaGlkZGVuO1xuXHRcdGA7XG5cblx0XHRyZXR1cm4gY3goXG5cdFx0XHRzaG91bGRUcnVuY2F0ZSAmJiAhIG51bWJlck9mTGluZXMgJiYgc3R5bGVzLlRydW5jYXRlLFxuXHRcdFx0c2hvdWxkVHJ1bmNhdGUgJiYgISEgbnVtYmVyT2ZMaW5lcyAmJiB0cnVuY2F0ZUxpbmVzLFxuXHRcdFx0Y2xhc3NOYW1lXG5cdFx0KTtcblx0fSwgWyBjbGFzc05hbWUsIGN4LCBudW1iZXJPZkxpbmVzLCBzaG91bGRUcnVuY2F0ZSBdICk7XG5cblx0cmV0dXJuIHsgLi4ub3RoZXJQcm9wcywgY2xhc3NOYW1lOiBjbGFzc2VzLCBjaGlsZHJlbjogdHJ1bmNhdGVkQ29udGVudCB9O1xufVxuIl19 */");
|
|
3096
3155
|
return cx2(shouldTruncate && !numberOfLines && Truncate, shouldTruncate && !!numberOfLines && truncateLines, className);
|
|
3097
3156
|
}, [className, cx2, numberOfLines, shouldTruncate]);
|
|
@@ -3102,7 +3161,7 @@ function useTruncate(props) {
|
|
|
3102
3161
|
};
|
|
3103
3162
|
}
|
|
3104
3163
|
|
|
3105
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3164
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/styles.mjs
|
|
3106
3165
|
var styles_exports2 = {};
|
|
3107
3166
|
_chunkEMMSS5I5cjs.__export.call(void 0, styles_exports2, {
|
|
3108
3167
|
Text: () => Text,
|
|
@@ -3138,7 +3197,7 @@ var upperCase = process.env.NODE_ENV === "production" ? {
|
|
|
3138
3197
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__2
|
|
3139
3198
|
};
|
|
3140
3199
|
|
|
3141
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3200
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/utils.mjs
|
|
3142
3201
|
var import_highlight_words_core = _chunkEMMSS5I5cjs.__toESM.call(void 0, require_dist(), 1);
|
|
3143
3202
|
var lowercaseProps = (object) => {
|
|
3144
3203
|
const mapped = {};
|
|
@@ -3210,9 +3269,9 @@ function createHighlighterText({
|
|
|
3210
3269
|
if (typeof HighlightTag !== "string") {
|
|
3211
3270
|
props.highlightIndex = highlightIndex;
|
|
3212
3271
|
}
|
|
3213
|
-
return
|
|
3272
|
+
return _chunkREZTQ4PHcjs.createElement.call(void 0, HighlightTag, props);
|
|
3214
3273
|
}
|
|
3215
|
-
return
|
|
3274
|
+
return _chunkREZTQ4PHcjs.createElement.call(void 0, "span", {
|
|
3216
3275
|
children: text,
|
|
3217
3276
|
className: unhighlightClassName,
|
|
3218
3277
|
key: index,
|
|
@@ -3222,7 +3281,7 @@ function createHighlighterText({
|
|
|
3222
3281
|
return textContent;
|
|
3223
3282
|
}
|
|
3224
3283
|
|
|
3225
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3284
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/font-size.mjs
|
|
3226
3285
|
var BASE_FONT_SIZE = 13;
|
|
3227
3286
|
var PRESET_FONT_SIZES = {
|
|
3228
3287
|
body: BASE_FONT_SIZE,
|
|
@@ -3248,7 +3307,7 @@ function getFontSize(size = BASE_FONT_SIZE) {
|
|
|
3248
3307
|
return `calc(${ratio} * ${config_values_default.fontSize})`;
|
|
3249
3308
|
}
|
|
3250
3309
|
|
|
3251
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3310
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/get-line-height.mjs
|
|
3252
3311
|
function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
|
|
3253
3312
|
if (lineHeight) {
|
|
3254
3313
|
return lineHeight;
|
|
@@ -3273,7 +3332,7 @@ function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
|
|
|
3273
3332
|
return value;
|
|
3274
3333
|
}
|
|
3275
3334
|
|
|
3276
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3335
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/hook.mjs
|
|
3277
3336
|
function _EMOTION_STRINGIFIED_CSS_ERROR__3() {
|
|
3278
3337
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
3279
3338
|
}
|
|
@@ -3326,7 +3385,7 @@ function useText(props) {
|
|
|
3326
3385
|
});
|
|
3327
3386
|
}
|
|
3328
3387
|
const cx2 = useCx();
|
|
3329
|
-
const classes =
|
|
3388
|
+
const classes = _chunkREZTQ4PHcjs.useMemo.call(void 0, () => {
|
|
3330
3389
|
const sx = {};
|
|
3331
3390
|
const lineHeight = getLineHeight(adjustLineHeightForInnerControls, lineHeightProp);
|
|
3332
3391
|
sx.Base = /* @__PURE__ */ css({
|
|
@@ -3365,13 +3424,13 @@ function useText(props) {
|
|
|
3365
3424
|
};
|
|
3366
3425
|
const truncateProps = useTruncate(finalComponentProps);
|
|
3367
3426
|
if (!truncate && Array.isArray(children)) {
|
|
3368
|
-
content =
|
|
3427
|
+
content = _chunkREZTQ4PHcjs.Children.map(children, (child) => {
|
|
3369
3428
|
if (typeof child !== "object" || child === null || !("props" in child)) {
|
|
3370
3429
|
return child;
|
|
3371
3430
|
}
|
|
3372
3431
|
const isLink = hasConnectNamespace(child, ["Link"]);
|
|
3373
3432
|
if (isLink) {
|
|
3374
|
-
return
|
|
3433
|
+
return _chunkREZTQ4PHcjs.cloneElement.call(void 0, child, {
|
|
3375
3434
|
size: child.props.size || "inherit"
|
|
3376
3435
|
});
|
|
3377
3436
|
}
|
|
@@ -3384,7 +3443,7 @@ function useText(props) {
|
|
|
3384
3443
|
};
|
|
3385
3444
|
}
|
|
3386
3445
|
|
|
3387
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3446
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/text/component.mjs
|
|
3388
3447
|
|
|
3389
3448
|
function UnconnectedText(props, forwardedRef) {
|
|
3390
3449
|
const textProps = useText(props);
|
|
@@ -3397,7 +3456,7 @@ function UnconnectedText(props, forwardedRef) {
|
|
|
3397
3456
|
var Text2 = contextConnect(UnconnectedText, "Text");
|
|
3398
3457
|
var component_default2 = Text2;
|
|
3399
3458
|
|
|
3400
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3459
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/utils.mjs
|
|
3401
3460
|
var ALIGNMENTS = {
|
|
3402
3461
|
bottom: {
|
|
3403
3462
|
alignItems: "flex-end",
|
|
@@ -3448,7 +3507,7 @@ function getAlignmentProps(alignment) {
|
|
|
3448
3507
|
return alignmentProps;
|
|
3449
3508
|
}
|
|
3450
3509
|
|
|
3451
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3510
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/hook.mjs
|
|
3452
3511
|
function useGrid(props) {
|
|
3453
3512
|
const {
|
|
3454
3513
|
align,
|
|
@@ -3472,7 +3531,7 @@ function useGrid(props) {
|
|
|
3472
3531
|
const gridTemplateColumns = templateColumns || !!columns && `repeat( ${column2}, 1fr )`;
|
|
3473
3532
|
const gridTemplateRows = templateRows || !!rows && `repeat( ${row}, 1fr )`;
|
|
3474
3533
|
const cx2 = useCx();
|
|
3475
|
-
const classes =
|
|
3534
|
+
const classes = _chunkREZTQ4PHcjs.useMemo.call(void 0, () => {
|
|
3476
3535
|
const alignmentProps = getAlignmentProps(alignment);
|
|
3477
3536
|
const gridClasses = /* @__PURE__ */ css({
|
|
3478
3537
|
alignItems: align,
|
|
@@ -3494,7 +3553,7 @@ function useGrid(props) {
|
|
|
3494
3553
|
};
|
|
3495
3554
|
}
|
|
3496
3555
|
|
|
3497
|
-
// ../../../node_modules/.pnpm/@wordpress+components@32.
|
|
3556
|
+
// ../../../node_modules/.pnpm/@wordpress+components@32.3.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/component.mjs
|
|
3498
3557
|
|
|
3499
3558
|
function UnconnectedGrid(props, forwardedRef) {
|
|
3500
3559
|
const gridProps = useGrid(props);
|
|
@@ -3522,8 +3581,8 @@ function useLeaderboardLegendItems({
|
|
|
3522
3581
|
withOverlayLabel = false,
|
|
3523
3582
|
legendLabels
|
|
3524
3583
|
}) {
|
|
3525
|
-
const { leaderboardChart: leaderboardChartSettings } =
|
|
3526
|
-
const { getElementStyles } =
|
|
3584
|
+
const { leaderboardChart: leaderboardChartSettings } = _chunkWYK7EL5Rcjs.useGlobalChartsTheme.call(void 0, );
|
|
3585
|
+
const { getElementStyles } = _chunkWYK7EL5Rcjs.useGlobalChartsContext.call(void 0, );
|
|
3527
3586
|
return _react.useMemo.call(void 0, () => {
|
|
3528
3587
|
if (!data || data.length === 0) {
|
|
3529
3588
|
return [];
|
|
@@ -3580,13 +3639,13 @@ var leaderboard_chart_module_default = {
|
|
|
3580
3639
|
// src/charts/leaderboard-chart/leaderboard-chart.tsx
|
|
3581
3640
|
|
|
3582
3641
|
var defaultValueFormatter = (value) => {
|
|
3583
|
-
return
|
|
3642
|
+
return _chunkMXGLYWVPcjs.formatMetricValue.call(void 0, value, "number", {
|
|
3584
3643
|
useMultipliers: true,
|
|
3585
3644
|
decimals: 1
|
|
3586
3645
|
});
|
|
3587
3646
|
};
|
|
3588
3647
|
var defaultDeltaFormatter = (value) => {
|
|
3589
|
-
return
|
|
3648
|
+
return _chunkMXGLYWVPcjs.formatMetricValue.call(void 0, value / 100, "average", {
|
|
3590
3649
|
decimals: 0,
|
|
3591
3650
|
signDisplay: "exceptZero"
|
|
3592
3651
|
});
|
|
@@ -3646,30 +3705,28 @@ var LeaderboardChartInternal = ({
|
|
|
3646
3705
|
animation,
|
|
3647
3706
|
loading = false,
|
|
3648
3707
|
showLegend = false,
|
|
3649
|
-
|
|
3650
|
-
legendPosition = "bottom",
|
|
3651
|
-
legendAlignment = "center",
|
|
3652
|
-
legendShape = "circle",
|
|
3653
|
-
legendShapeStyles: legendShapeStylesProp,
|
|
3708
|
+
legend = {},
|
|
3654
3709
|
legendLabels,
|
|
3655
|
-
legendInteractive = false,
|
|
3656
3710
|
gap = "md",
|
|
3657
3711
|
className,
|
|
3658
3712
|
style,
|
|
3659
3713
|
children
|
|
3660
3714
|
}) => {
|
|
3661
|
-
const
|
|
3715
|
+
const legendInteractive = _nullishCoalesce(legend.interactive, () => ( false));
|
|
3716
|
+
const legendPosition = _nullishCoalesce(legend.position, () => ( "bottom"));
|
|
3717
|
+
const chartId = _chunkWYK7EL5Rcjs.useChartId.call(void 0, providedChartId);
|
|
3662
3718
|
const {
|
|
3663
3719
|
leaderboardChart: leaderboardChartSettings
|
|
3664
|
-
} =
|
|
3720
|
+
} = _chunkWYK7EL5Rcjs.useGlobalChartsTheme.call(void 0, );
|
|
3665
3721
|
const legendShapeStyles = {
|
|
3666
3722
|
width: 8,
|
|
3667
3723
|
height: 8,
|
|
3668
|
-
...
|
|
3724
|
+
...legend.shapeStyles
|
|
3669
3725
|
};
|
|
3670
3726
|
const {
|
|
3671
|
-
|
|
3672
|
-
|
|
3727
|
+
legendChildren,
|
|
3728
|
+
nonLegendChildren
|
|
3729
|
+
} = _chunkTZRUHQOHcjs.useChartChildren.call(void 0, children, "LeaderboardChart");
|
|
3673
3730
|
const {
|
|
3674
3731
|
labelSpacing,
|
|
3675
3732
|
rowGap,
|
|
@@ -3681,7 +3738,7 @@ var LeaderboardChartInternal = ({
|
|
|
3681
3738
|
const {
|
|
3682
3739
|
getElementStyles,
|
|
3683
3740
|
isSeriesVisible
|
|
3684
|
-
} =
|
|
3741
|
+
} = _chunkWYK7EL5Rcjs.useGlobalChartsContext.call(void 0, );
|
|
3685
3742
|
const {
|
|
3686
3743
|
color: resolvedPrimaryColor
|
|
3687
3744
|
} = getElementStyles({
|
|
@@ -3726,23 +3783,23 @@ var LeaderboardChartInternal = ({
|
|
|
3726
3783
|
withComparison,
|
|
3727
3784
|
withOverlayLabel
|
|
3728
3785
|
}), [withComparison, withOverlayLabel]);
|
|
3729
|
-
|
|
3786
|
+
_chunkWYK7EL5Rcjs.useChartRegistration.call(void 0, {
|
|
3730
3787
|
chartId,
|
|
3731
3788
|
legendItems,
|
|
3732
3789
|
chartType: "leaderboard",
|
|
3733
3790
|
isDataValid,
|
|
3734
3791
|
metadata: chartMetadata
|
|
3735
3792
|
});
|
|
3736
|
-
const prefersReducedMotion =
|
|
3793
|
+
const prefersReducedMotion = _chunkWYK7EL5Rcjs.usePrefersReducedMotion.call(void 0, );
|
|
3737
3794
|
if (!data || data.length === 0) {
|
|
3738
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3795
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXVBH5XHEcjs.SingleChartContext.Provider, {
|
|
3739
3796
|
value: {
|
|
3740
3797
|
chartId,
|
|
3741
3798
|
chartWidth: 0,
|
|
3742
3799
|
// LeaderboardChart doesn't need specific dimensions
|
|
3743
3800
|
chartHeight: 0
|
|
3744
3801
|
},
|
|
3745
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3802
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkREZTQ4PHcjs.Stack, {
|
|
3746
3803
|
direction: "column",
|
|
3747
3804
|
className: _clsx2.default.call(void 0, leaderboard_chart_module_default.leaderboardChart, {
|
|
3748
3805
|
[leaderboard_chart_module_default["leaderboardChart--responsive"]]: !propWidth && !propHeight
|
|
@@ -3758,27 +3815,30 @@ var LeaderboardChartInternal = ({
|
|
|
3758
3815
|
children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {
|
|
3759
3816
|
className: leaderboard_chart_module_default.emptyState,
|
|
3760
3817
|
children: loading ? _i18n.__.call(void 0, "Loading\u2026", "jetpack-charts") : _i18n.__.call(void 0, "No data available", "jetpack-charts")
|
|
3761
|
-
}),
|
|
3818
|
+
}), nonLegendChildren]
|
|
3762
3819
|
})
|
|
3763
3820
|
});
|
|
3764
3821
|
}
|
|
3765
|
-
const legendElement = showLegend && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3766
|
-
orientation:
|
|
3822
|
+
const legendElement = showLegend && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXVBH5XHEcjs.Legend, {
|
|
3823
|
+
orientation: _nullishCoalesce(legend.orientation, () => ( "horizontal")),
|
|
3767
3824
|
position: legendPosition,
|
|
3768
|
-
alignment:
|
|
3769
|
-
|
|
3825
|
+
alignment: _nullishCoalesce(legend.alignment, () => ( "center")),
|
|
3826
|
+
labelStyles: legend.labelStyles,
|
|
3827
|
+
itemClassName: legend.itemClassName,
|
|
3828
|
+
itemStyles: legend.itemStyles,
|
|
3829
|
+
shape: _nullishCoalesce(legend.shape, () => ( "circle")),
|
|
3770
3830
|
shapeStyles: legendShapeStyles,
|
|
3771
3831
|
chartId,
|
|
3772
3832
|
interactive: legendInteractive
|
|
3773
3833
|
});
|
|
3774
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3834
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXVBH5XHEcjs.SingleChartContext.Provider, {
|
|
3775
3835
|
value: {
|
|
3776
3836
|
chartId,
|
|
3777
3837
|
chartWidth: 0,
|
|
3778
3838
|
// LeaderboardChart doesn't need specific dimensions
|
|
3779
3839
|
chartHeight: 0
|
|
3780
3840
|
},
|
|
3781
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3841
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkREZTQ4PHcjs.Stack, {
|
|
3782
3842
|
direction: "column",
|
|
3783
3843
|
className: _clsx2.default.call(void 0, leaderboard_chart_module_default.leaderboardChart, {
|
|
3784
3844
|
[leaderboard_chart_module_default["leaderboardChart--responsive"]]: !propWidth && !propHeight,
|
|
@@ -3790,7 +3850,7 @@ var LeaderboardChartInternal = ({
|
|
|
3790
3850
|
width: propWidth || void 0,
|
|
3791
3851
|
height: propHeight || void 0
|
|
3792
3852
|
},
|
|
3793
|
-
children: [legendPosition === "top" && legendElement, /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {
|
|
3853
|
+
children: [legendPosition === "top" && legendElement, _chunkTZRUHQOHcjs.renderLegendSlot.call(void 0, legendChildren, "top"), /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {
|
|
3794
3854
|
className: leaderboard_chart_module_default.leaderboardChart__content,
|
|
3795
3855
|
children: allSeriesHidden ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {
|
|
3796
3856
|
className: leaderboard_chart_module_default.emptyState,
|
|
@@ -3802,8 +3862,8 @@ var LeaderboardChartInternal = ({
|
|
|
3802
3862
|
children: data.map((entry) => {
|
|
3803
3863
|
const colorIndex = Math.sign(entry.delta) + 1;
|
|
3804
3864
|
const deltaColor = deltaColors[colorIndex];
|
|
3805
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3806
|
-
children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3865
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkREZTQ4PHcjs.Fragment, {
|
|
3866
|
+
children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkREZTQ4PHcjs.Stack, {
|
|
3807
3867
|
direction: "column",
|
|
3808
3868
|
gap: labelSpacing,
|
|
3809
3869
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BarWithLabel, {
|
|
@@ -3816,7 +3876,7 @@ var LeaderboardChartInternal = ({
|
|
|
3816
3876
|
isComparisonVisible,
|
|
3817
3877
|
animation: animation && !loading && !prefersReducedMotion
|
|
3818
3878
|
})
|
|
3819
|
-
}), /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3879
|
+
}), /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkREZTQ4PHcjs.Stack, {
|
|
3820
3880
|
direction: "row",
|
|
3821
3881
|
gap: "xs",
|
|
3822
3882
|
className: _clsx2.default.call(void 0, leaderboard_chart_module_default.valueContainer, {
|
|
@@ -3834,29 +3894,29 @@ var LeaderboardChartInternal = ({
|
|
|
3834
3894
|
}, entry.id);
|
|
3835
3895
|
})
|
|
3836
3896
|
})
|
|
3837
|
-
}), legendPosition === "bottom" && legendElement,
|
|
3897
|
+
}), legendPosition === "bottom" && legendElement, _chunkTZRUHQOHcjs.renderLegendSlot.call(void 0, legendChildren, "bottom"), nonLegendChildren]
|
|
3838
3898
|
})
|
|
3839
3899
|
});
|
|
3840
3900
|
};
|
|
3841
3901
|
var LeaderboardChartWithProvider = (props) => {
|
|
3842
|
-
const existingContext = _react.useContext.call(void 0,
|
|
3902
|
+
const existingContext = _react.useContext.call(void 0, _chunkWYK7EL5Rcjs.GlobalChartsContext);
|
|
3843
3903
|
if (existingContext) {
|
|
3844
3904
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LeaderboardChartInternal, {
|
|
3845
3905
|
...props
|
|
3846
3906
|
});
|
|
3847
3907
|
}
|
|
3848
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3908
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWYK7EL5Rcjs.GlobalChartsProvider, {
|
|
3849
3909
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LeaderboardChartInternal, {
|
|
3850
3910
|
...props
|
|
3851
3911
|
})
|
|
3852
3912
|
});
|
|
3853
3913
|
};
|
|
3854
3914
|
LeaderboardChartWithProvider.displayName = "LeaderboardChart";
|
|
3855
|
-
var LeaderboardChart =
|
|
3856
|
-
Legend:
|
|
3915
|
+
var LeaderboardChart = _chunkMXGLYWVPcjs.attachSubComponents.call(void 0, LeaderboardChartWithProvider, {
|
|
3916
|
+
Legend: _chunkXVBH5XHEcjs.Legend
|
|
3857
3917
|
});
|
|
3858
|
-
var LeaderboardChartResponsive =
|
|
3859
|
-
Legend:
|
|
3918
|
+
var LeaderboardChartResponsive = _chunkMXGLYWVPcjs.attachSubComponents.call(void 0, _chunkASLARV7Lcjs.withResponsive.call(void 0, LeaderboardChartWithProvider), {
|
|
3919
|
+
Legend: _chunkXVBH5XHEcjs.Legend
|
|
3860
3920
|
});
|
|
3861
3921
|
|
|
3862
3922
|
|
|
@@ -3894,4 +3954,4 @@ is-plain-object/dist/is-plain-object.mjs:
|
|
|
3894
3954
|
* Released under the MIT License.
|
|
3895
3955
|
*)
|
|
3896
3956
|
*/
|
|
3897
|
-
//# sourceMappingURL=chunk-
|
|
3957
|
+
//# sourceMappingURL=chunk-OYC34VTO.cjs.map
|