ranui 0.1.1-alpha.9 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/_commonjs-dynamic-modules-2ceabb0b.js +12 -0
  2. package/dist/colz-746223ab.js +241 -0
  3. package/dist/component.d.ts +0 -0
  4. package/dist/components/form/index.d.ts +2 -0
  5. package/dist/components/modal/index.d.ts +2 -0
  6. package/dist/components/preview/{pptx/colz.d.ts → colz.d.ts} +2 -0
  7. package/dist/components/preview/excel/excel.d.ts +11 -0
  8. package/dist/components/preview/excel/index.d.ts +1 -0
  9. package/dist/components/preview/excel/media.d.ts +37 -0
  10. package/dist/components/preview/pptx/worker.d.ts +1 -0
  11. package/dist/components/video/index.d.ts +393 -0
  12. package/dist/{docx.f485e17e.js → docx-5262a8f1.js} +7 -5
  13. package/dist/index-714a1eb8.js +85622 -0
  14. package/dist/{index.6f308b40.js → index-c8a90f0d.js} +1796 -936
  15. package/dist/index-f6ee5c1a.js +1761 -0
  16. package/dist/index.js +1 -1
  17. package/dist/index.umd.cjs +43 -2
  18. package/dist/{jszip.min.50449320.js → jszip.min-97cf7c6a.js} +2 -5
  19. package/dist/{pdf.51be4380.js → pdf-d8fcfb67.js} +1 -1
  20. package/dist/playwright.config.d.ts +11 -0
  21. package/dist/plugins/auto-import-file.d.ts +10 -0
  22. package/dist/plugins/load-style.d.ts +6 -0
  23. package/dist/plugins/load-svg.d.ts +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/tests/button.spec.d.ts +1 -0
  26. package/dist/utils/index.d.ts +11 -0
  27. package/dist/vite.config.d.ts +2 -0
  28. package/package.json +22 -15
  29. package/readme.md +7 -8
  30. package/dist/index.9f799c47.js +0 -1478
  31. package/dist/typings.d.ts +0 -47
  32. /package/dist/{add-user.98b805f1.js → add-user-d07564bd.js} +0 -0
  33. /package/dist/{book.c3235430.js → book-2a5a596c.js} +0 -0
  34. /package/dist/{check-circle.711c4f31.js → check-circle-2c986969.js} +0 -0
  35. /package/dist/{check-circle-fill.0a9e8a28.js → check-circle-fill-62eaa796.js} +0 -0
  36. /package/dist/{close-circle.dda355df.js → close-circle-2afb6e94.js} +0 -0
  37. /package/dist/{close-circle-fill.726bf59c.js → close-circle-fill-b6906239.js} +0 -0
  38. /package/dist/{close.9954c08c.js → close-ee3ba1d1.js} +0 -0
  39. /package/dist/{eye.c904f80b.js → eye-bd60afe1.js} +0 -0
  40. /package/dist/{eye-close.a954b46e.js → eye-close-bde3c1fc.js} +0 -0
  41. /package/dist/{home.f5970edc.js → home-f824d8f4.js} +0 -0
  42. /package/dist/{info-circle.718e6ac4.js → info-circle-59333e1c.js} +0 -0
  43. /package/dist/{info-circle-fill.9dfc3b5e.js → info-circle-fill-3ab7660d.js} +0 -0
  44. /package/dist/{loading.876d0293.js → loading-407d8249.js} +0 -0
  45. /package/dist/{lock.26244026.js → lock-6d20715b.js} +0 -0
  46. /package/dist/{message.5379338a.js → message-ee4fe153.js} +0 -0
  47. /package/dist/{power-off.050e4c26.js → power-off-bbec6b5f.js} +0 -0
  48. /package/dist/{preview.de4d53cc.js → preview-164a4944.js} +0 -0
  49. /package/dist/{setting.7917f3b2.js → setting-735a1963.js} +0 -0
  50. /package/dist/{team.b3a3196b.js → team-42573142.js} +0 -0
  51. /package/dist/{unlock.1e7bed93.js → unlock-ae33c6f7.js} +0 -0
  52. /package/dist/{user.21cfbfa6.js → user-b7098183.js} +0 -0
  53. /package/dist/{warning-circle.b1792bd4.js → warning-circle-536d4749.js} +0 -0
  54. /package/dist/{warning-circle-fill.b87fec04.js → warning-circle-fill-e4be98bc.js} +0 -0
@@ -1,10 +1,6 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
7
- import { r as requireJszip_min } from "./jszip.min.50449320.js";
1
+ import { g as getDefaultExportFromCjs } from "./_commonjs-dynamic-modules-2ceabb0b.js";
2
+ import { r as requireJszip_min } from "./jszip.min-97cf7c6a.js";
3
+ import { C as Color } from "./colz-746223ab.js";
8
4
  (function(global = {}, factory) {
9
5
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
10
6
  })(globalThis, function(exports2) {
@@ -262,10 +258,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
262
258
  };
263
259
  var freedmanDiaconis = function(values2, min2, max2) {
264
260
  values2 = map.call(values2, number).sort(ascending);
265
- return Math.ceil((max2 - min2) / (2 * (threshold(values2, 0.75) - threshold(values2, 0.25)) * Math.pow(values2.length, -1 / 3)));
261
+ return Math.ceil(
262
+ (max2 - min2) / (2 * (threshold(values2, 0.75) - threshold(values2, 0.25)) * Math.pow(values2.length, -1 / 3))
263
+ );
266
264
  };
267
265
  var scott = function(values2, min2, max2) {
268
- return Math.ceil((max2 - min2) / (3.5 * deviation(values2) * Math.pow(values2.length, -1 / 3)));
266
+ return Math.ceil(
267
+ (max2 - min2) / (3.5 * deviation(values2) * Math.pow(values2.length, -1 / 3))
268
+ );
269
269
  };
270
270
  var max = function(values2, valueof) {
271
271
  var n = values2.length, i = -1, value, max2;
@@ -468,10 +468,19 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
468
468
  var tickArguments = [], tickValues = null, tickFormat2 = null, tickSizeInner = 6, tickSizeOuter = 6, tickPadding = 3, k2 = orient === top || orient === left ? -1 : 1, x2 = orient === left || orient === right ? "x" : "y", transform2 = orient === top || orient === bottom ? translateX : translateY;
469
469
  function axis2(context) {
470
470
  var values2 = tickValues == null ? scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain() : tickValues, format = tickFormat2 == null ? scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity$1 : tickFormat2, spacing = Math.max(tickSizeInner, 0) + tickPadding, range2 = scale.range(), range0 = +range2[0] + 0.5, range1 = +range2[range2.length - 1] + 0.5, position = (scale.bandwidth ? center : number$1)(scale.copy()), selection2 = context.selection ? context.selection() : context, path2 = selection2.selectAll(".domain").data([null]), tick = selection2.selectAll(".tick").data(values2, scale).order(), tickExit = tick.exit(), tickEnter = tick.enter().append("g").attr("class", "tick"), line2 = tick.select("line"), text2 = tick.select("text");
471
- path2 = path2.merge(path2.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "#000"));
471
+ path2 = path2.merge(
472
+ path2.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "#000")
473
+ );
472
474
  tick = tick.merge(tickEnter);
473
- line2 = line2.merge(tickEnter.append("line").attr("stroke", "#000").attr(x2 + "2", k2 * tickSizeInner));
474
- text2 = text2.merge(tickEnter.append("text").attr("fill", "#000").attr(x2, k2 * spacing).attr("dy", orient === top ? "0em" : orient === bottom ? "0.71em" : "0.32em"));
475
+ line2 = line2.merge(
476
+ tickEnter.append("line").attr("stroke", "#000").attr(x2 + "2", k2 * tickSizeInner)
477
+ );
478
+ text2 = text2.merge(
479
+ tickEnter.append("text").attr("fill", "#000").attr(x2, k2 * spacing).attr(
480
+ "dy",
481
+ orient === top ? "0em" : orient === bottom ? "0.71em" : "0.32em"
482
+ )
483
+ );
475
484
  if (context !== selection2) {
476
485
  path2 = path2.transition(context);
477
486
  tick = tick.transition(context);
@@ -486,13 +495,19 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
486
495
  });
487
496
  }
488
497
  tickExit.remove();
489
- path2.attr("d", orient === left || orient == right ? "M" + k2 * tickSizeOuter + "," + range0 + "H0.5V" + range1 + "H" + k2 * tickSizeOuter : "M" + range0 + "," + k2 * tickSizeOuter + "V0.5H" + range1 + "V" + k2 * tickSizeOuter);
498
+ path2.attr(
499
+ "d",
500
+ orient === left || orient == right ? "M" + k2 * tickSizeOuter + "," + range0 + "H0.5V" + range1 + "H" + k2 * tickSizeOuter : "M" + range0 + "," + k2 * tickSizeOuter + "V0.5H" + range1 + "V" + k2 * tickSizeOuter
501
+ );
490
502
  tick.attr("opacity", 1).attr("transform", function(d) {
491
503
  return transform2(position(d));
492
504
  });
493
505
  line2.attr(x2 + "2", k2 * tickSizeInner);
494
506
  text2.attr(x2, k2 * spacing).text(format);
495
- selection2.filter(entering).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", orient === right ? "start" : orient === left ? "end" : "middle");
507
+ selection2.filter(entering).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr(
508
+ "text-anchor",
509
+ orient === right ? "start" : orient === left ? "end" : "middle"
510
+ );
496
511
  selection2.each(function() {
497
512
  this.__axis = position;
498
513
  });
@@ -756,13 +771,23 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
756
771
  for (var j = 0, m = on.length; j < m; ++j) {
757
772
  if ((o = on[j]).type === typename.type && o.name === typename.name) {
758
773
  this.removeEventListener(o.type, o.listener, o.capture);
759
- this.addEventListener(o.type, o.listener = listener, o.capture = capture);
774
+ this.addEventListener(
775
+ o.type,
776
+ o.listener = listener,
777
+ o.capture = capture
778
+ );
760
779
  o.value = value;
761
780
  return;
762
781
  }
763
782
  }
764
783
  this.addEventListener(typename.type, listener, capture);
765
- o = { type: typename.type, name: typename.name, value, listener, capture };
784
+ o = {
785
+ type: typename.type,
786
+ name: typename.name,
787
+ value,
788
+ listener,
789
+ capture
790
+ };
766
791
  if (!on)
767
792
  this.__on = [o];
768
793
  else
@@ -815,7 +840,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
815
840
  return [point2.x, point2.y];
816
841
  }
817
842
  var rect = node.getBoundingClientRect();
818
- return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];
843
+ return [
844
+ event.clientX - rect.left - node.clientLeft,
845
+ event.clientY - rect.top - node.clientTop
846
+ ];
819
847
  };
820
848
  var mouse = function(node) {
821
849
  var event = sourceEvent();
@@ -1117,10 +1145,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1117
1145
  var node = this.node();
1118
1146
  return fullname.local ? node.getAttributeNS(fullname.space, fullname.local) : node.getAttribute(fullname);
1119
1147
  }
1120
- return this.each((value == null ? fullname.local ? attrRemoveNS : attrRemove : typeof value === "function" ? fullname.local ? attrFunctionNS : attrFunction : fullname.local ? attrConstantNS : attrConstant)(fullname, value));
1148
+ return this.each(
1149
+ (value == null ? fullname.local ? attrRemoveNS : attrRemove : typeof value === "function" ? fullname.local ? attrFunctionNS : attrFunction : fullname.local ? attrConstantNS : attrConstant)(fullname, value)
1150
+ );
1121
1151
  };
1122
1152
  var defaultView = function(node) {
1123
- return node.ownerDocument && node.ownerDocument.defaultView || node.document && node || node.defaultView;
1153
+ return node.ownerDocument && node.ownerDocument.defaultView || // node is a Node
1154
+ node.document && node || // node is a Window
1155
+ node.defaultView;
1124
1156
  };
1125
1157
  function styleRemove(name) {
1126
1158
  return function() {
@@ -1142,7 +1174,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1142
1174
  };
1143
1175
  }
1144
1176
  var selection_style = function(name, value, priority) {
1145
- return arguments.length > 1 ? this.each((value == null ? styleRemove : typeof value === "function" ? styleFunction : styleConstant)(name, value, priority == null ? "" : priority)) : styleValue(this.node(), name);
1177
+ return arguments.length > 1 ? this.each(
1178
+ (value == null ? styleRemove : typeof value === "function" ? styleFunction : styleConstant)(name, value, priority == null ? "" : priority)
1179
+ ) : styleValue(this.node(), name);
1146
1180
  };
1147
1181
  function styleValue(node, name) {
1148
1182
  return node.style.getPropertyValue(name) || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);
@@ -1167,7 +1201,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1167
1201
  };
1168
1202
  }
1169
1203
  var selection_property = function(name, value) {
1170
- return arguments.length > 1 ? this.each((value == null ? propertyRemove : typeof value === "function" ? propertyFunction : propertyConstant)(name, value)) : this.node()[name];
1204
+ return arguments.length > 1 ? this.each(
1205
+ (value == null ? propertyRemove : typeof value === "function" ? propertyFunction : propertyConstant)(name, value)
1206
+ ) : this.node()[name];
1171
1207
  };
1172
1208
  function classArray(string) {
1173
1209
  return string.trim().split(/^|\s+/);
@@ -1232,7 +1268,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1232
1268
  return false;
1233
1269
  return true;
1234
1270
  }
1235
- return this.each((typeof value === "function" ? classedFunction : value ? classedTrue : classedFalse)(names, value));
1271
+ return this.each(
1272
+ (typeof value === "function" ? classedFunction : value ? classedTrue : classedFalse)(names, value)
1273
+ );
1236
1274
  };
1237
1275
  function textRemove() {
1238
1276
  this.textContent = "";
@@ -1249,7 +1287,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1249
1287
  };
1250
1288
  }
1251
1289
  var selection_text = function(value) {
1252
- return arguments.length ? this.each(value == null ? textRemove : (typeof value === "function" ? textFunction : textConstant)(value)) : this.node().textContent;
1290
+ return arguments.length ? this.each(
1291
+ value == null ? textRemove : (typeof value === "function" ? textFunction : textConstant)(
1292
+ value
1293
+ )
1294
+ ) : this.node().textContent;
1253
1295
  };
1254
1296
  function htmlRemove() {
1255
1297
  this.innerHTML = "";
@@ -1266,7 +1308,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1266
1308
  };
1267
1309
  }
1268
1310
  var selection_html = function(value) {
1269
- return arguments.length ? this.each(value == null ? htmlRemove : (typeof value === "function" ? htmlFunction : htmlConstant)(value)) : this.node().innerHTML;
1311
+ return arguments.length ? this.each(
1312
+ value == null ? htmlRemove : (typeof value === "function" ? htmlFunction : htmlConstant)(
1313
+ value
1314
+ )
1315
+ ) : this.node().innerHTML;
1270
1316
  };
1271
1317
  function raise() {
1272
1318
  if (this.nextSibling)
@@ -1294,7 +1340,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1294
1340
  var selection_insert = function(name, before) {
1295
1341
  var create2 = typeof name === "function" ? name : creator(name), select2 = before == null ? constantNull : typeof before === "function" ? before : selector(before);
1296
1342
  return this.select(function() {
1297
- return this.insertBefore(create2.apply(this, arguments), select2.apply(this, arguments) || null);
1343
+ return this.insertBefore(
1344
+ create2.apply(this, arguments),
1345
+ select2.apply(this, arguments) || null
1346
+ );
1298
1347
  });
1299
1348
  };
1300
1349
  function remove() {
@@ -1332,7 +1381,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1332
1381
  };
1333
1382
  }
1334
1383
  var selection_dispatch = function(type2, params) {
1335
- return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type2, params));
1384
+ return this.each(
1385
+ (typeof params === "function" ? dispatchFunction : dispatchConstant)(
1386
+ type2,
1387
+ params
1388
+ )
1389
+ );
1336
1390
  };
1337
1391
  var root = [null];
1338
1392
  function Selection(groups, parents) {
@@ -1375,10 +1429,16 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1375
1429
  dispatch: selection_dispatch
1376
1430
  };
1377
1431
  var select = function(selector2) {
1378
- return typeof selector2 === "string" ? new Selection([[document.querySelector(selector2)]], [document.documentElement]) : new Selection([[selector2]], root);
1432
+ return typeof selector2 === "string" ? new Selection(
1433
+ [[document.querySelector(selector2)]],
1434
+ [document.documentElement]
1435
+ ) : new Selection([[selector2]], root);
1379
1436
  };
1380
1437
  var selectAll = function(selector2) {
1381
- return typeof selector2 === "string" ? new Selection([document.querySelectorAll(selector2)], [document.documentElement]) : new Selection([selector2 == null ? [] : selector2], root);
1438
+ return typeof selector2 === "string" ? new Selection(
1439
+ [document.querySelectorAll(selector2)],
1440
+ [document.documentElement]
1441
+ ) : new Selection([selector2 == null ? [] : selector2], root);
1382
1442
  };
1383
1443
  var touch = function(node, touches2, identifier) {
1384
1444
  if (arguments.length < 3)
@@ -1470,7 +1530,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1470
1530
  function mousedowned() {
1471
1531
  if (touchending || !filter.apply(this, arguments))
1472
1532
  return;
1473
- var gesture = beforestart("mouse", container.apply(this, arguments), mouse, this, arguments);
1533
+ var gesture = beforestart(
1534
+ "mouse",
1535
+ container.apply(this, arguments),
1536
+ mouse,
1537
+ this,
1538
+ arguments
1539
+ );
1474
1540
  if (!gesture)
1475
1541
  return;
1476
1542
  select(exports2.event.view).on("mousemove.drag", mousemoved, true).on("mouseup.drag", mouseupped, true);
@@ -1500,7 +1566,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1500
1566
  return;
1501
1567
  var touches2 = exports2.event.changedTouches, c2 = container.apply(this, arguments), n = touches2.length, i, gesture;
1502
1568
  for (i = 0; i < n; ++i) {
1503
- if (gesture = beforestart(touches2[i].identifier, c2, touch, this, arguments)) {
1569
+ if (gesture = beforestart(
1570
+ touches2[i].identifier,
1571
+ c2,
1572
+ touch,
1573
+ this,
1574
+ arguments
1575
+ )) {
1504
1576
  nopropagation();
1505
1577
  gesture("start");
1506
1578
  }
@@ -1531,13 +1603,27 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1531
1603
  }
1532
1604
  function beforestart(id2, container2, point2, that, args) {
1533
1605
  var p = point2(container2, id2), s2, dx, dy, sublisteners = listeners.copy();
1534
- if (!customEvent(new DragEvent(drag2, "beforestart", s2, id2, active2, p[0], p[1], 0, 0, sublisteners), function() {
1535
- if ((exports2.event.subject = s2 = subject.apply(that, args)) == null)
1536
- return false;
1537
- dx = s2.x - p[0] || 0;
1538
- dy = s2.y - p[1] || 0;
1539
- return true;
1540
- }))
1606
+ if (!customEvent(
1607
+ new DragEvent(
1608
+ drag2,
1609
+ "beforestart",
1610
+ s2,
1611
+ id2,
1612
+ active2,
1613
+ p[0],
1614
+ p[1],
1615
+ 0,
1616
+ 0,
1617
+ sublisteners
1618
+ ),
1619
+ function() {
1620
+ if ((exports2.event.subject = s2 = subject.apply(that, args)) == null)
1621
+ return false;
1622
+ dx = s2.x - p[0] || 0;
1623
+ dy = s2.y - p[1] || 0;
1624
+ return true;
1625
+ }
1626
+ ))
1541
1627
  return;
1542
1628
  return function gesture(type2) {
1543
1629
  var p02 = p, n;
@@ -1551,7 +1637,23 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1551
1637
  p = point2(container2, id2), n = active2;
1552
1638
  break;
1553
1639
  }
1554
- customEvent(new DragEvent(drag2, type2, s2, id2, n, p[0] + dx, p[1] + dy, p[0] - p02[0], p[1] - p02[1], sublisteners), sublisteners.apply, sublisteners, [type2, that, args]);
1640
+ customEvent(
1641
+ new DragEvent(
1642
+ drag2,
1643
+ type2,
1644
+ s2,
1645
+ id2,
1646
+ n,
1647
+ p[0] + dx,
1648
+ p[1] + dy,
1649
+ p[0] - p02[0],
1650
+ p[1] - p02[1],
1651
+ sublisteners
1652
+ ),
1653
+ sublisteners.apply,
1654
+ sublisteners,
1655
+ [type2, that, args]
1656
+ );
1555
1657
  };
1556
1658
  }
1557
1659
  drag2.filter = function(_) {
@@ -1761,54 +1863,63 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1761
1863
  function color(format) {
1762
1864
  var m;
1763
1865
  format = (format + "").trim().toLowerCase();
1764
- return (m = reHex3.exec(format)) ? (m = parseInt(m[1], 16), new Rgb2(m >> 8 & 15 | m >> 4 & 240, m >> 4 & 15 | m & 240, (m & 15) << 4 | m & 15, 1)) : (m = reHex6.exec(format)) ? rgbn(parseInt(m[1], 16)) : (m = reRgbInteger.exec(format)) ? new Rgb2(m[1], m[2], m[3], 1) : (m = reRgbPercent.exec(format)) ? new Rgb2(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) : named.hasOwnProperty(format) ? rgbn(named[format]) : format === "transparent" ? new Rgb2(NaN, NaN, NaN, 0) : null;
1866
+ return (m = reHex3.exec(format)) ? (m = parseInt(m[1], 16), new Rgb(
1867
+ m >> 8 & 15 | m >> 4 & 240,
1868
+ m >> 4 & 15 | m & 240,
1869
+ (m & 15) << 4 | m & 15,
1870
+ 1
1871
+ )) : (m = reHex6.exec(format)) ? rgbn(parseInt(m[1], 16)) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) : named.hasOwnProperty(format) ? rgbn(named[format]) : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) : null;
1765
1872
  }
1766
1873
  function rgbn(n) {
1767
- return new Rgb2(n >> 16 & 255, n >> 8 & 255, n & 255, 1);
1874
+ return new Rgb(n >> 16 & 255, n >> 8 & 255, n & 255, 1);
1768
1875
  }
1769
1876
  function rgba(r, g, b, a2) {
1770
1877
  if (a2 <= 0)
1771
1878
  r = g = b = NaN;
1772
- return new Rgb2(r, g, b, a2);
1879
+ return new Rgb(r, g, b, a2);
1773
1880
  }
1774
1881
  function rgbConvert(o) {
1775
1882
  if (!(o instanceof Color2))
1776
1883
  o = color(o);
1777
1884
  if (!o)
1778
- return new Rgb2();
1885
+ return new Rgb();
1779
1886
  o = o.rgb();
1780
- return new Rgb2(o.r, o.g, o.b, o.opacity);
1887
+ return new Rgb(o.r, o.g, o.b, o.opacity);
1781
1888
  }
1782
1889
  function rgb(r, g, b, opacity) {
1783
- return arguments.length === 1 ? rgbConvert(r) : new Rgb2(r, g, b, opacity == null ? 1 : opacity);
1890
+ return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
1784
1891
  }
1785
- function Rgb2(r, g, b, opacity) {
1892
+ function Rgb(r, g, b, opacity) {
1786
1893
  this.r = +r;
1787
1894
  this.g = +g;
1788
1895
  this.b = +b;
1789
1896
  this.opacity = +opacity;
1790
1897
  }
1791
- define2(Rgb2, rgb, extend(Color2, {
1792
- brighter: function(k2) {
1793
- k2 = k2 == null ? brighter : Math.pow(brighter, k2);
1794
- return new Rgb2(this.r * k2, this.g * k2, this.b * k2, this.opacity);
1795
- },
1796
- darker: function(k2) {
1797
- k2 = k2 == null ? darker : Math.pow(darker, k2);
1798
- return new Rgb2(this.r * k2, this.g * k2, this.b * k2, this.opacity);
1799
- },
1800
- rgb: function() {
1801
- return this;
1802
- },
1803
- displayable: function() {
1804
- return 0 <= this.r && this.r <= 255 && (0 <= this.g && this.g <= 255) && (0 <= this.b && this.b <= 255) && (0 <= this.opacity && this.opacity <= 1);
1805
- },
1806
- toString: function() {
1807
- var a2 = this.opacity;
1808
- a2 = isNaN(a2) ? 1 : Math.max(0, Math.min(1, a2));
1809
- return (a2 === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a2 === 1 ? ")" : ", " + a2 + ")");
1810
- }
1811
- }));
1898
+ define2(
1899
+ Rgb,
1900
+ rgb,
1901
+ extend(Color2, {
1902
+ brighter: function(k2) {
1903
+ k2 = k2 == null ? brighter : Math.pow(brighter, k2);
1904
+ return new Rgb(this.r * k2, this.g * k2, this.b * k2, this.opacity);
1905
+ },
1906
+ darker: function(k2) {
1907
+ k2 = k2 == null ? darker : Math.pow(darker, k2);
1908
+ return new Rgb(this.r * k2, this.g * k2, this.b * k2, this.opacity);
1909
+ },
1910
+ rgb: function() {
1911
+ return this;
1912
+ },
1913
+ displayable: function() {
1914
+ return 0 <= this.r && this.r <= 255 && 0 <= this.g && this.g <= 255 && 0 <= this.b && this.b <= 255 && 0 <= this.opacity && this.opacity <= 1;
1915
+ },
1916
+ toString: function() {
1917
+ var a2 = this.opacity;
1918
+ a2 = isNaN(a2) ? 1 : Math.max(0, Math.min(1, a2));
1919
+ return (a2 === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a2 === 1 ? ")" : ", " + a2 + ")");
1920
+ }
1921
+ })
1922
+ );
1812
1923
  function hsla(h, s2, l, a2) {
1813
1924
  if (a2 <= 0)
1814
1925
  h = s2 = l = NaN;
@@ -1816,16 +1927,16 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1816
1927
  h = s2 = NaN;
1817
1928
  else if (s2 <= 0)
1818
1929
  h = NaN;
1819
- return new Hsl2(h, s2, l, a2);
1930
+ return new Hsl(h, s2, l, a2);
1820
1931
  }
1821
1932
  function hslConvert(o) {
1822
- if (o instanceof Hsl2)
1823
- return new Hsl2(o.h, o.s, o.l, o.opacity);
1933
+ if (o instanceof Hsl)
1934
+ return new Hsl(o.h, o.s, o.l, o.opacity);
1824
1935
  if (!(o instanceof Color2))
1825
1936
  o = color(o);
1826
1937
  if (!o)
1827
- return new Hsl2();
1828
- if (o instanceof Hsl2)
1938
+ return new Hsl();
1939
+ if (o instanceof Hsl)
1829
1940
  return o;
1830
1941
  o = o.rgb();
1831
1942
  var r = o.r / 255, g = o.g / 255, b = o.b / 255, min2 = Math.min(r, g, b), max2 = Math.max(r, g, b), h = NaN, s2 = max2 - min2, l = (max2 + min2) / 2;
@@ -1841,39 +1952,43 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1841
1952
  } else {
1842
1953
  s2 = l > 0 && l < 1 ? 0 : h;
1843
1954
  }
1844
- return new Hsl2(h, s2, l, o.opacity);
1955
+ return new Hsl(h, s2, l, o.opacity);
1845
1956
  }
1846
1957
  function hsl(h, s2, l, opacity) {
1847
- return arguments.length === 1 ? hslConvert(h) : new Hsl2(h, s2, l, opacity == null ? 1 : opacity);
1958
+ return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s2, l, opacity == null ? 1 : opacity);
1848
1959
  }
1849
- function Hsl2(h, s2, l, opacity) {
1960
+ function Hsl(h, s2, l, opacity) {
1850
1961
  this.h = +h;
1851
1962
  this.s = +s2;
1852
1963
  this.l = +l;
1853
1964
  this.opacity = +opacity;
1854
1965
  }
1855
- define2(Hsl2, hsl, extend(Color2, {
1856
- brighter: function(k2) {
1857
- k2 = k2 == null ? brighter : Math.pow(brighter, k2);
1858
- return new Hsl2(this.h, this.s, this.l * k2, this.opacity);
1859
- },
1860
- darker: function(k2) {
1861
- k2 = k2 == null ? darker : Math.pow(darker, k2);
1862
- return new Hsl2(this.h, this.s, this.l * k2, this.opacity);
1863
- },
1864
- rgb: function() {
1865
- var h = this.h % 360 + (this.h < 0) * 360, s2 = isNaN(h) || isNaN(this.s) ? 0 : this.s, l = this.l, m2 = l + (l < 0.5 ? l : 1 - l) * s2, m1 = 2 * l - m2;
1866
- return new Rgb2(
1867
- hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),
1868
- hsl2rgb(h, m1, m2),
1869
- hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),
1870
- this.opacity
1871
- );
1872
- },
1873
- displayable: function() {
1874
- return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && (0 <= this.l && this.l <= 1) && (0 <= this.opacity && this.opacity <= 1);
1875
- }
1876
- }));
1966
+ define2(
1967
+ Hsl,
1968
+ hsl,
1969
+ extend(Color2, {
1970
+ brighter: function(k2) {
1971
+ k2 = k2 == null ? brighter : Math.pow(brighter, k2);
1972
+ return new Hsl(this.h, this.s, this.l * k2, this.opacity);
1973
+ },
1974
+ darker: function(k2) {
1975
+ k2 = k2 == null ? darker : Math.pow(darker, k2);
1976
+ return new Hsl(this.h, this.s, this.l * k2, this.opacity);
1977
+ },
1978
+ rgb: function() {
1979
+ var h = this.h % 360 + (this.h < 0) * 360, s2 = isNaN(h) || isNaN(this.s) ? 0 : this.s, l = this.l, m2 = l + (l < 0.5 ? l : 1 - l) * s2, m1 = 2 * l - m2;
1980
+ return new Rgb(
1981
+ hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),
1982
+ hsl2rgb(h, m1, m2),
1983
+ hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),
1984
+ this.opacity
1985
+ );
1986
+ },
1987
+ displayable: function() {
1988
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
1989
+ }
1990
+ })
1991
+ );
1877
1992
  function hsl2rgb(h, m1, m2) {
1878
1993
  return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
1879
1994
  }
@@ -1894,7 +2009,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1894
2009
  var h = o.h * deg2rad;
1895
2010
  return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
1896
2011
  }
1897
- if (!(o instanceof Rgb2))
2012
+ if (!(o instanceof Rgb))
1898
2013
  o = rgbConvert(o);
1899
2014
  var b = rgb2xyz(o.r), a2 = rgb2xyz(o.g), l = rgb2xyz(o.b), x2 = xyz2lab((0.4124564 * b + 0.3575761 * a2 + 0.1804375 * l) / Xn), y2 = xyz2lab((0.2126729 * b + 0.7151522 * a2 + 0.072175 * l) / Yn), z = xyz2lab((0.0193339 * b + 0.119192 * a2 + 0.9503041 * l) / Zn);
1900
2015
  return new Lab(116 * y2 - 16, 500 * (x2 - y2), 200 * (y2 - z), o.opacity);
@@ -1908,26 +2023,41 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1908
2023
  this.b = +b;
1909
2024
  this.opacity = +opacity;
1910
2025
  }
1911
- define2(Lab, lab, extend(Color2, {
1912
- brighter: function(k2) {
1913
- return new Lab(this.l + Kn * (k2 == null ? 1 : k2), this.a, this.b, this.opacity);
1914
- },
1915
- darker: function(k2) {
1916
- return new Lab(this.l - Kn * (k2 == null ? 1 : k2), this.a, this.b, this.opacity);
1917
- },
1918
- rgb: function() {
1919
- var y2 = (this.l + 16) / 116, x2 = isNaN(this.a) ? y2 : y2 + this.a / 500, z = isNaN(this.b) ? y2 : y2 - this.b / 200;
1920
- y2 = Yn * lab2xyz(y2);
1921
- x2 = Xn * lab2xyz(x2);
1922
- z = Zn * lab2xyz(z);
1923
- return new Rgb2(
1924
- xyz2rgb(3.2404542 * x2 - 1.5371385 * y2 - 0.4985314 * z),
1925
- xyz2rgb(-0.969266 * x2 + 1.8760108 * y2 + 0.041556 * z),
1926
- xyz2rgb(0.0556434 * x2 - 0.2040259 * y2 + 1.0572252 * z),
1927
- this.opacity
1928
- );
1929
- }
1930
- }));
2026
+ define2(
2027
+ Lab,
2028
+ lab,
2029
+ extend(Color2, {
2030
+ brighter: function(k2) {
2031
+ return new Lab(
2032
+ this.l + Kn * (k2 == null ? 1 : k2),
2033
+ this.a,
2034
+ this.b,
2035
+ this.opacity
2036
+ );
2037
+ },
2038
+ darker: function(k2) {
2039
+ return new Lab(
2040
+ this.l - Kn * (k2 == null ? 1 : k2),
2041
+ this.a,
2042
+ this.b,
2043
+ this.opacity
2044
+ );
2045
+ },
2046
+ rgb: function() {
2047
+ var y2 = (this.l + 16) / 116, x2 = isNaN(this.a) ? y2 : y2 + this.a / 500, z = isNaN(this.b) ? y2 : y2 - this.b / 200;
2048
+ y2 = Yn * lab2xyz(y2);
2049
+ x2 = Xn * lab2xyz(x2);
2050
+ z = Zn * lab2xyz(z);
2051
+ return new Rgb(
2052
+ xyz2rgb(3.2404542 * x2 - 1.5371385 * y2 - 0.4985314 * z),
2053
+ // D65 -> sRGB
2054
+ xyz2rgb(-0.969266 * x2 + 1.8760108 * y2 + 0.041556 * z),
2055
+ xyz2rgb(0.0556434 * x2 - 0.2040259 * y2 + 1.0572252 * z),
2056
+ this.opacity
2057
+ );
2058
+ }
2059
+ })
2060
+ );
1931
2061
  function xyz2lab(t) {
1932
2062
  return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;
1933
2063
  }
@@ -1946,7 +2076,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1946
2076
  if (!(o instanceof Lab))
1947
2077
  o = labConvert(o);
1948
2078
  var h = Math.atan2(o.b, o.a) * rad2deg;
1949
- return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
2079
+ return new Hcl(
2080
+ h < 0 ? h + 360 : h,
2081
+ Math.sqrt(o.a * o.a + o.b * o.b),
2082
+ o.l,
2083
+ o.opacity
2084
+ );
1950
2085
  }
1951
2086
  function hcl(h, c2, l, opacity) {
1952
2087
  return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c2, l, opacity == null ? 1 : opacity);
@@ -1957,17 +2092,31 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1957
2092
  this.l = +l;
1958
2093
  this.opacity = +opacity;
1959
2094
  }
1960
- define2(Hcl, hcl, extend(Color2, {
1961
- brighter: function(k2) {
1962
- return new Hcl(this.h, this.c, this.l + Kn * (k2 == null ? 1 : k2), this.opacity);
1963
- },
1964
- darker: function(k2) {
1965
- return new Hcl(this.h, this.c, this.l - Kn * (k2 == null ? 1 : k2), this.opacity);
1966
- },
1967
- rgb: function() {
1968
- return labConvert(this).rgb();
1969
- }
1970
- }));
2095
+ define2(
2096
+ Hcl,
2097
+ hcl,
2098
+ extend(Color2, {
2099
+ brighter: function(k2) {
2100
+ return new Hcl(
2101
+ this.h,
2102
+ this.c,
2103
+ this.l + Kn * (k2 == null ? 1 : k2),
2104
+ this.opacity
2105
+ );
2106
+ },
2107
+ darker: function(k2) {
2108
+ return new Hcl(
2109
+ this.h,
2110
+ this.c,
2111
+ this.l - Kn * (k2 == null ? 1 : k2),
2112
+ this.opacity
2113
+ );
2114
+ },
2115
+ rgb: function() {
2116
+ return labConvert(this).rgb();
2117
+ }
2118
+ })
2119
+ );
1971
2120
  var A = -0.14861;
1972
2121
  var B = 1.78277;
1973
2122
  var C = -0.29227;
@@ -1979,7 +2128,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1979
2128
  function cubehelixConvert(o) {
1980
2129
  if (o instanceof Cubehelix)
1981
2130
  return new Cubehelix(o.h, o.s, o.l, o.opacity);
1982
- if (!(o instanceof Rgb2))
2131
+ if (!(o instanceof Rgb))
1983
2132
  o = rgbConvert(o);
1984
2133
  var r = o.r / 255, g = o.g / 255, b = o.b / 255, l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB), bl = b - l, k2 = (E * (g - l) - C * bl) / D, s2 = Math.sqrt(k2 * k2 + bl * bl) / (E * l * (1 - l)), h = s2 ? Math.atan2(k2, bl) * rad2deg - 120 : NaN;
1985
2134
  return new Cubehelix(h < 0 ? h + 360 : h, s2, l, o.opacity);
@@ -1993,25 +2142,29 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
1993
2142
  this.l = +l;
1994
2143
  this.opacity = +opacity;
1995
2144
  }
1996
- define2(Cubehelix, cubehelix, extend(Color2, {
1997
- brighter: function(k2) {
1998
- k2 = k2 == null ? brighter : Math.pow(brighter, k2);
1999
- return new Cubehelix(this.h, this.s, this.l * k2, this.opacity);
2000
- },
2001
- darker: function(k2) {
2002
- k2 = k2 == null ? darker : Math.pow(darker, k2);
2003
- return new Cubehelix(this.h, this.s, this.l * k2, this.opacity);
2004
- },
2005
- rgb: function() {
2006
- var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad, l = +this.l, a2 = isNaN(this.s) ? 0 : this.s * l * (1 - l), cosh2 = Math.cos(h), sinh2 = Math.sin(h);
2007
- return new Rgb2(
2008
- 255 * (l + a2 * (A * cosh2 + B * sinh2)),
2009
- 255 * (l + a2 * (C * cosh2 + D * sinh2)),
2010
- 255 * (l + a2 * (E * cosh2)),
2011
- this.opacity
2012
- );
2013
- }
2014
- }));
2145
+ define2(
2146
+ Cubehelix,
2147
+ cubehelix,
2148
+ extend(Color2, {
2149
+ brighter: function(k2) {
2150
+ k2 = k2 == null ? brighter : Math.pow(brighter, k2);
2151
+ return new Cubehelix(this.h, this.s, this.l * k2, this.opacity);
2152
+ },
2153
+ darker: function(k2) {
2154
+ k2 = k2 == null ? darker : Math.pow(darker, k2);
2155
+ return new Cubehelix(this.h, this.s, this.l * k2, this.opacity);
2156
+ },
2157
+ rgb: function() {
2158
+ var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad, l = +this.l, a2 = isNaN(this.s) ? 0 : this.s * l * (1 - l), cosh2 = Math.cos(h), sinh2 = Math.sin(h);
2159
+ return new Rgb(
2160
+ 255 * (l + a2 * (A * cosh2 + B * sinh2)),
2161
+ 255 * (l + a2 * (C * cosh2 + D * sinh2)),
2162
+ 255 * (l + a2 * (E * cosh2)),
2163
+ this.opacity
2164
+ );
2165
+ }
2166
+ })
2167
+ );
2015
2168
  function basis(t12, v0, v1, v2, v3) {
2016
2169
  var t22 = t12 * t12, t32 = t22 * t12;
2017
2170
  return ((1 - 3 * t12 + 3 * t22 - t32) * v0 + (4 - 6 * t22 + 3 * t32) * v1 + (1 + 3 * t12 + 3 * t22 - 3 * t32) * v2 + t32 * v3) / 6;
@@ -2109,7 +2262,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2109
2262
  };
2110
2263
  };
2111
2264
  var date = function(a2, b) {
2112
- var d = new Date();
2265
+ var d = /* @__PURE__ */ new Date();
2113
2266
  return a2 = +a2, b -= a2, function(t) {
2114
2267
  return d.setTime(a2 + b * t), d;
2115
2268
  };
@@ -2235,7 +2388,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2235
2388
  value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue("transform");
2236
2389
  cssRoot.removeChild(cssNode);
2237
2390
  value = value.slice(7, -1).split(",");
2238
- return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);
2391
+ return decompose(
2392
+ +value[0],
2393
+ +value[1],
2394
+ +value[2],
2395
+ +value[3],
2396
+ +value[4],
2397
+ +value[5]
2398
+ );
2239
2399
  }
2240
2400
  function parseSvg(value) {
2241
2401
  if (value == null)
@@ -2255,7 +2415,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2255
2415
  function translate(xa, ya, xb, yb, s2, q) {
2256
2416
  if (xa !== xb || ya !== yb) {
2257
2417
  var i = s2.push("translate(", null, pxComma, null, pxParen);
2258
- q.push({ i: i - 4, x: reinterpolate(xa, xb) }, { i: i - 2, x: reinterpolate(ya, yb) });
2418
+ q.push(
2419
+ { i: i - 4, x: reinterpolate(xa, xb) },
2420
+ { i: i - 2, x: reinterpolate(ya, yb) }
2421
+ );
2259
2422
  } else if (xb || yb) {
2260
2423
  s2.push("translate(" + xb + pxComma + yb + pxParen);
2261
2424
  }
@@ -2266,14 +2429,20 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2266
2429
  b += 360;
2267
2430
  else if (b - a2 > 180)
2268
2431
  a2 += 360;
2269
- q.push({ i: s2.push(pop(s2) + "rotate(", null, degParen) - 2, x: reinterpolate(a2, b) });
2432
+ q.push({
2433
+ i: s2.push(pop(s2) + "rotate(", null, degParen) - 2,
2434
+ x: reinterpolate(a2, b)
2435
+ });
2270
2436
  } else if (b) {
2271
2437
  s2.push(pop(s2) + "rotate(" + b + degParen);
2272
2438
  }
2273
2439
  }
2274
2440
  function skewX(a2, b, s2, q) {
2275
2441
  if (a2 !== b) {
2276
- q.push({ i: s2.push(pop(s2) + "skewX(", null, degParen) - 2, x: reinterpolate(a2, b) });
2442
+ q.push({
2443
+ i: s2.push(pop(s2) + "skewX(", null, degParen) - 2,
2444
+ x: reinterpolate(a2, b)
2445
+ });
2277
2446
  } else if (b) {
2278
2447
  s2.push(pop(s2) + "skewX(" + b + degParen);
2279
2448
  }
@@ -2281,7 +2450,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2281
2450
  function scale(xa, ya, xb, yb, s2, q) {
2282
2451
  if (xa !== xb || ya !== yb) {
2283
2452
  var i = s2.push(pop(s2) + "scale(", null, ",", null, ")");
2284
- q.push({ i: i - 4, x: reinterpolate(xa, xb) }, { i: i - 2, x: reinterpolate(ya, yb) });
2453
+ q.push(
2454
+ { i: i - 4, x: reinterpolate(xa, xb) },
2455
+ { i: i - 2, x: reinterpolate(ya, yb) }
2456
+ );
2285
2457
  } else if (xb !== 1 || yb !== 1) {
2286
2458
  s2.push(pop(s2) + "scale(" + xb + "," + yb + ")");
2287
2459
  }
@@ -2302,7 +2474,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2302
2474
  };
2303
2475
  };
2304
2476
  }
2305
- var interpolateTransformCss = interpolateTransform(parseCss, "px, ", "px)", "deg)");
2477
+ var interpolateTransformCss = interpolateTransform(
2478
+ parseCss,
2479
+ "px, ",
2480
+ "px)",
2481
+ "deg)"
2482
+ );
2306
2483
  var interpolateTransformSvg = interpolateTransform(parseSvg, ", ", ")", ")");
2307
2484
  var rho = Math.SQRT2;
2308
2485
  var rho2 = 2;
@@ -2322,22 +2499,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2322
2499
  if (d2 < epsilon2) {
2323
2500
  S = Math.log(w1 / w0) / rho;
2324
2501
  i = function(t) {
2325
- return [
2326
- ux0 + t * dx,
2327
- uy0 + t * dy,
2328
- w0 * Math.exp(rho * t * S)
2329
- ];
2502
+ return [ux0 + t * dx, uy0 + t * dy, w0 * Math.exp(rho * t * S)];
2330
2503
  };
2331
2504
  } else {
2332
2505
  var d1 = Math.sqrt(d2), b02 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1), b12 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1), r0 = Math.log(Math.sqrt(b02 * b02 + 1) - b02), r1 = Math.log(Math.sqrt(b12 * b12 + 1) - b12);
2333
2506
  S = (r1 - r0) / rho;
2334
2507
  i = function(t) {
2335
2508
  var s2 = t * S, coshr0 = cosh(r0), u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s2 + r0) - sinh(r0));
2336
- return [
2337
- ux0 + u * dx,
2338
- uy0 + u * dy,
2339
- w0 * coshr0 / cosh(rho * s2 + r0)
2340
- ];
2509
+ return [ux0 + u * dx, uy0 + u * dy, w0 * coshr0 / cosh(rho * s2 + r0)];
2341
2510
  };
2342
2511
  }
2343
2512
  i.duration = S * 1e3;
@@ -2520,10 +2689,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2520
2689
  var timeout$1 = function(callback, delay, time2) {
2521
2690
  var t = new Timer();
2522
2691
  delay = delay == null ? 0 : +delay;
2523
- t.restart(function(elapsed) {
2524
- t.stop();
2525
- callback(elapsed + delay);
2526
- }, delay, time2);
2692
+ t.restart(
2693
+ function(elapsed) {
2694
+ t.stop();
2695
+ callback(elapsed + delay);
2696
+ },
2697
+ delay,
2698
+ time2
2699
+ );
2527
2700
  return t;
2528
2701
  };
2529
2702
  var interval$1 = function(callback, delay, time2) {
@@ -2531,11 +2704,15 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2531
2704
  if (delay == null)
2532
2705
  return t.restart(callback, delay, time2), t;
2533
2706
  delay = +delay, time2 = time2 == null ? now() : +time2;
2534
- t.restart(function tick(elapsed) {
2535
- elapsed += total;
2536
- t.restart(tick, total += delay, time2);
2537
- callback(elapsed);
2538
- }, delay, time2);
2707
+ t.restart(
2708
+ function tick(elapsed) {
2709
+ elapsed += total;
2710
+ t.restart(tick, total += delay, time2);
2711
+ callback(elapsed);
2712
+ },
2713
+ delay,
2714
+ time2
2715
+ );
2539
2716
  return t;
2540
2717
  };
2541
2718
  var emptyOn = dispatch("start", "end", "interrupt");
@@ -2556,7 +2733,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2556
2733
  create(node, id2, {
2557
2734
  name,
2558
2735
  index: index2,
2736
+ // For context during callback.
2559
2737
  group,
2738
+ // For context during callback.
2560
2739
  on: emptyOn,
2561
2740
  tween: emptyTween,
2562
2741
  time: timing.time,
@@ -2630,7 +2809,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2630
2809
  self.state = STARTED;
2631
2810
  tween = new Array(n = self.tween.length);
2632
2811
  for (i = 0, j = -1; i < n; ++i) {
2633
- if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {
2812
+ if (o = self.tween[i].value.call(
2813
+ node,
2814
+ node.__data__,
2815
+ self.index,
2816
+ self.group
2817
+ )) {
2634
2818
  tween[++j] = o;
2635
2819
  }
2636
2820
  }
@@ -2669,7 +2853,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2669
2853
  schedule$$1.state = ENDED;
2670
2854
  schedule$$1.timer.stop();
2671
2855
  if (active2)
2672
- schedule$$1.on.call("interrupt", node, node.__data__, schedule$$1.index, schedule$$1.group);
2856
+ schedule$$1.on.call(
2857
+ "interrupt",
2858
+ node,
2859
+ node.__data__,
2860
+ schedule$$1.index,
2861
+ schedule$$1.group
2862
+ );
2673
2863
  delete schedules[i];
2674
2864
  }
2675
2865
  if (empty2)
@@ -2729,13 +2919,18 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2729
2919
  }
2730
2920
  return null;
2731
2921
  }
2732
- return this.each((value == null ? tweenRemove : tweenFunction)(id2, name, value));
2922
+ return this.each(
2923
+ (value == null ? tweenRemove : tweenFunction)(id2, name, value)
2924
+ );
2733
2925
  };
2734
2926
  function tweenValue(transition2, name, value) {
2735
2927
  var id2 = transition2._id;
2736
2928
  transition2.each(function() {
2737
2929
  var schedule$$1 = set$1(this, id2);
2738
- (schedule$$1.value || (schedule$$1.value = {}))[name] = value.apply(this, arguments);
2930
+ (schedule$$1.value || (schedule$$1.value = {}))[name] = value.apply(
2931
+ this,
2932
+ arguments
2933
+ );
2739
2934
  });
2740
2935
  return function(node) {
2741
2936
  return get$1(node, id2).value[name];
@@ -2776,7 +2971,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2776
2971
  if (value1 == null)
2777
2972
  return void this.removeAttribute(name);
2778
2973
  value0 = this.getAttribute(name);
2779
- return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(value00 = value0, value10 = value1);
2974
+ return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(
2975
+ value00 = value0,
2976
+ value10 = value1
2977
+ );
2780
2978
  };
2781
2979
  }
2782
2980
  function attrFunctionNS$1(fullname, interpolate$$1, value) {
@@ -2786,12 +2984,26 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2786
2984
  if (value1 == null)
2787
2985
  return void this.removeAttributeNS(fullname.space, fullname.local);
2788
2986
  value0 = this.getAttributeNS(fullname.space, fullname.local);
2789
- return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(value00 = value0, value10 = value1);
2987
+ return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(
2988
+ value00 = value0,
2989
+ value10 = value1
2990
+ );
2790
2991
  };
2791
2992
  }
2792
2993
  var transition_attr = function(name, value) {
2793
2994
  var fullname = namespace(name), i = fullname === "transform" ? interpolateTransformSvg : interpolate;
2794
- return this.attrTween(name, typeof value === "function" ? (fullname.local ? attrFunctionNS$1 : attrFunction$1)(fullname, i, tweenValue(this, "attr." + name, value)) : value == null ? (fullname.local ? attrRemoveNS$1 : attrRemove$1)(fullname) : (fullname.local ? attrConstantNS$1 : attrConstant$1)(fullname, i, value + ""));
2995
+ return this.attrTween(
2996
+ name,
2997
+ typeof value === "function" ? (fullname.local ? attrFunctionNS$1 : attrFunction$1)(
2998
+ fullname,
2999
+ i,
3000
+ tweenValue(this, "attr." + name, value)
3001
+ ) : value == null ? (fullname.local ? attrRemoveNS$1 : attrRemove$1)(fullname) : (fullname.local ? attrConstantNS$1 : attrConstant$1)(
3002
+ fullname,
3003
+ i,
3004
+ value + ""
3005
+ )
3006
+ );
2795
3007
  };
2796
3008
  function attrTweenNS(fullname, value) {
2797
3009
  function tween() {
@@ -2822,7 +3034,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2822
3034
  if (typeof value !== "function")
2823
3035
  throw new Error();
2824
3036
  var fullname = namespace(name);
2825
- return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));
3037
+ return this.tween(
3038
+ key,
3039
+ (fullname.local ? attrTweenNS : attrTween)(fullname, value)
3040
+ );
2826
3041
  };
2827
3042
  function delayFunction(id2, value) {
2828
3043
  return function() {
@@ -2836,7 +3051,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2836
3051
  }
2837
3052
  var transition_delay = function(value) {
2838
3053
  var id2 = this._id;
2839
- return arguments.length ? this.each((typeof value === "function" ? delayFunction : delayConstant)(id2, value)) : get$1(this.node(), id2).delay;
3054
+ return arguments.length ? this.each(
3055
+ (typeof value === "function" ? delayFunction : delayConstant)(
3056
+ id2,
3057
+ value
3058
+ )
3059
+ ) : get$1(this.node(), id2).delay;
2840
3060
  };
2841
3061
  function durationFunction(id2, value) {
2842
3062
  return function() {
@@ -2850,7 +3070,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2850
3070
  }
2851
3071
  var transition_duration = function(value) {
2852
3072
  var id2 = this._id;
2853
- return arguments.length ? this.each((typeof value === "function" ? durationFunction : durationConstant)(id2, value)) : get$1(this.node(), id2).duration;
3073
+ return arguments.length ? this.each(
3074
+ (typeof value === "function" ? durationFunction : durationConstant)(
3075
+ id2,
3076
+ value
3077
+ )
3078
+ ) : get$1(this.node(), id2).duration;
2854
3079
  };
2855
3080
  function easeConstant(id2, value) {
2856
3081
  if (typeof value !== "function")
@@ -2967,7 +3192,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2967
3192
  var value00, value10, interpolate0;
2968
3193
  return function() {
2969
3194
  var value0 = styleValue(this, name), value1 = (this.style.removeProperty(name), styleValue(this, name));
2970
- return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(value00 = value0, value10 = value1);
3195
+ return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(
3196
+ value00 = value0,
3197
+ value10 = value1
3198
+ );
2971
3199
  };
2972
3200
  }
2973
3201
  function styleRemoveEnd(name) {
@@ -2988,12 +3216,22 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
2988
3216
  var value0 = styleValue(this, name), value1 = value(this);
2989
3217
  if (value1 == null)
2990
3218
  value1 = (this.style.removeProperty(name), styleValue(this, name));
2991
- return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(value00 = value0, value10 = value1);
3219
+ return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$1(
3220
+ value00 = value0,
3221
+ value10 = value1
3222
+ );
2992
3223
  };
2993
3224
  }
2994
3225
  var transition_style = function(name, value, priority) {
2995
3226
  var i = (name += "") === "transform" ? interpolateTransformCss : interpolate;
2996
- return value == null ? this.styleTween(name, styleRemove$1(name, i)).on("end.style." + name, styleRemoveEnd(name)) : this.styleTween(name, typeof value === "function" ? styleFunction$1(name, i, tweenValue(this, "style." + name, value)) : styleConstant$1(name, i, value + ""), priority);
3227
+ return value == null ? this.styleTween(name, styleRemove$1(name, i)).on(
3228
+ "end.style." + name,
3229
+ styleRemoveEnd(name)
3230
+ ) : this.styleTween(
3231
+ name,
3232
+ typeof value === "function" ? styleFunction$1(name, i, tweenValue(this, "style." + name, value)) : styleConstant$1(name, i, value + ""),
3233
+ priority
3234
+ );
2997
3235
  };
2998
3236
  function styleTween(name, value, priority) {
2999
3237
  function tween() {
@@ -3013,7 +3251,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3013
3251
  return this.tween(key, null);
3014
3252
  if (typeof value !== "function")
3015
3253
  throw new Error();
3016
- return this.tween(key, styleTween(name, value, priority == null ? "" : priority));
3254
+ return this.tween(
3255
+ key,
3256
+ styleTween(name, value, priority == null ? "" : priority)
3257
+ );
3017
3258
  };
3018
3259
  function textConstant$1(value) {
3019
3260
  return function() {
@@ -3027,7 +3268,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3027
3268
  };
3028
3269
  }
3029
3270
  var transition_text = function(value) {
3030
- return this.tween("text", typeof value === "function" ? textFunction$1(tweenValue(this, "text", value)) : textConstant$1(value == null ? "" : value + ""));
3271
+ return this.tween(
3272
+ "text",
3273
+ typeof value === "function" ? textFunction$1(tweenValue(this, "text", value)) : textConstant$1(value == null ? "" : value + "")
3274
+ );
3031
3275
  };
3032
3276
  var transition_transition = function() {
3033
3277
  var name = this._name, id0 = this._id, id1 = newId();
@@ -3249,6 +3493,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3249
3493
  }(amplitude, period);
3250
3494
  var defaultTiming = {
3251
3495
  time: null,
3496
+ // Set on use.
3252
3497
  delay: 0,
3253
3498
  duration: 250,
3254
3499
  ease: cubicInOut
@@ -3318,7 +3563,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3318
3563
  name: "x",
3319
3564
  handles: ["e", "w"].map(type),
3320
3565
  input: function(x2, e) {
3321
- return x2 && [[x2[0], e[0][1]], [x2[1], e[1][1]]];
3566
+ return x2 && [
3567
+ [x2[0], e[0][1]],
3568
+ [x2[1], e[1][1]]
3569
+ ];
3322
3570
  },
3323
3571
  output: function(xy) {
3324
3572
  return xy && [xy[0][0], xy[1][0]];
@@ -3328,7 +3576,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3328
3576
  name: "y",
3329
3577
  handles: ["n", "s"].map(type),
3330
3578
  input: function(y2, e) {
3331
- return y2 && [[e[0][0], y2[0]], [e[1][0], y2[1]]];
3579
+ return y2 && [
3580
+ [e[0][0], y2[0]],
3581
+ [e[1][0], y2[1]]
3582
+ ];
3332
3583
  },
3333
3584
  output: function(xy) {
3334
3585
  return xy && [xy[0][1], xy[1][1]];
@@ -3404,7 +3655,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3404
3655
  }
3405
3656
  function defaultExtent() {
3406
3657
  var svg = this.ownerSVGElement || this;
3407
- return [[0, 0], [svg.width.baseVal.value, svg.height.baseVal.value]];
3658
+ return [
3659
+ [0, 0],
3660
+ [svg.width.baseVal.value, svg.height.baseVal.value]
3661
+ ];
3408
3662
  }
3409
3663
  function local(node) {
3410
3664
  while (!node.__brush)
@@ -3455,7 +3709,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3455
3709
  }).on("interrupt.brush end.brush", function() {
3456
3710
  emitter(this, arguments).end();
3457
3711
  }).tween("brush", function() {
3458
- var that = this, state = that.__brush, emit = emitter(that, arguments), selection0 = state.selection, selection1 = dim.input(typeof selection2 === "function" ? selection2.apply(this, arguments) : selection2, state.extent), i = interpolateValue(selection0, selection1);
3712
+ var that = this, state = that.__brush, emit = emitter(that, arguments), selection0 = state.selection, selection1 = dim.input(
3713
+ typeof selection2 === "function" ? selection2.apply(this, arguments) : selection2,
3714
+ state.extent
3715
+ ), i = interpolateValue(selection0, selection1);
3459
3716
  function tween(t) {
3460
3717
  state.selection = t === 1 && empty(selection1) ? null : i(t);
3461
3718
  redraw.call(that);
@@ -3465,7 +3722,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3465
3722
  });
3466
3723
  } else {
3467
3724
  group.each(function() {
3468
- var that = this, args = arguments, state = that.__brush, selection1 = dim.input(typeof selection2 === "function" ? selection2.apply(that, args) : selection2, state.extent), emit = emitter(that, args).beforestart();
3725
+ var that = this, args = arguments, state = that.__brush, selection1 = dim.input(
3726
+ typeof selection2 === "function" ? selection2.apply(that, args) : selection2,
3727
+ state.extent
3728
+ ), emit = emitter(that, args).beforestart();
3469
3729
  interrupt(that);
3470
3730
  state.selection = selection1 == null || empty(selection1) ? null : selection1;
3471
3731
  redraw.call(that);
@@ -3520,7 +3780,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3520
3780
  return this;
3521
3781
  },
3522
3782
  emit: function(type2) {
3523
- customEvent(new BrushEvent(brush2, type2, dim.output(this.state.selection)), listeners.apply, listeners, [type2, this.that, this.args]);
3783
+ customEvent(
3784
+ new BrushEvent(brush2, type2, dim.output(this.state.selection)),
3785
+ listeners.apply,
3786
+ listeners,
3787
+ [type2, this.that, this.args]
3788
+ );
3524
3789
  }
3525
3790
  };
3526
3791
  function started() {
@@ -3625,7 +3890,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3625
3890
  if (lockY)
3626
3891
  n1 = selection2[0][1], s1 = selection2[1][1];
3627
3892
  if (selection2[0][0] !== w1 || selection2[0][1] !== n1 || selection2[1][0] !== e1 || selection2[1][1] !== s1) {
3628
- state.selection = [[w1, n1], [e1, s1]];
3893
+ state.selection = [
3894
+ [w1, n1],
3895
+ [e1, s1]
3896
+ ];
3629
3897
  redraw.call(that);
3630
3898
  emit.brush();
3631
3899
  }
@@ -3643,7 +3911,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3643
3911
  group.on("touchmove.brush touchend.brush touchcancel.brush", null);
3644
3912
  } else {
3645
3913
  yesdrag(exports2.event.view, moving);
3646
- view.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
3914
+ view.on(
3915
+ "keydown.brush keyup.brush mousemove.brush mouseup.brush",
3916
+ null
3917
+ );
3647
3918
  }
3648
3919
  group.attr("pointer-events", "all");
3649
3920
  overlay.attr("cursor", cursors.overlay);
@@ -3752,7 +4023,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3752
4023
  return state;
3753
4024
  }
3754
4025
  brush2.extent = function(_) {
3755
- return arguments.length ? (extent2 = typeof _ === "function" ? _ : constant$4([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), brush2) : extent2;
4026
+ return arguments.length ? (extent2 = typeof _ === "function" ? _ : constant$4([
4027
+ [+_[0][0], +_[0][1]],
4028
+ [+_[1][0], +_[1][1]]
4029
+ ]), brush2) : extent2;
3756
4030
  };
3757
4031
  brush2.filter = function(_) {
3758
4032
  return arguments.length ? (filter = typeof _ === "function" ? _ : constant$4(!!_), brush2) : filter;
@@ -3833,7 +4107,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3833
4107
  while (++j < n) {
3834
4108
  var source = subgroups[j * n + i], target = subgroups[i * n + j];
3835
4109
  if (source.value || target.value) {
3836
- chords.push(source.value < target.value ? { source: target, target: source } : { source, target });
4110
+ chords.push(
4111
+ source.value < target.value ? { source: target, target: source } : { source, target }
4112
+ );
3837
4113
  }
3838
4114
  }
3839
4115
  }
@@ -3864,7 +4140,8 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3864
4140
  var epsilon$1 = 1e-6;
3865
4141
  var tauEpsilon = tau$2 - epsilon$1;
3866
4142
  function Path() {
3867
- this._x0 = this._y0 = this._x1 = this._y1 = null;
4143
+ this._x0 = this._y0 = // start of current subpath
4144
+ this._x1 = this._y1 = null;
3868
4145
  this._ = "";
3869
4146
  }
3870
4147
  function path() {
@@ -3902,7 +4179,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
3902
4179
  else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon$1) || !r) {
3903
4180
  this._ += "L" + (this._x1 = x12) + "," + (this._y1 = y12);
3904
4181
  } else {
3905
- var x20 = x2 - x02, y20 = y2 - y02, l21_2 = x21 * x21 + y21 * y21, l20_2 = x20 * x20 + y20 * y20, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan((pi$2 - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2), t01 = l / l01, t21 = l / l21;
4182
+ var x20 = x2 - x02, y20 = y2 - y02, l21_2 = x21 * x21 + y21 * y21, l20_2 = x20 * x20 + y20 * y20, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan(
4183
+ (pi$2 - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2
4184
+ ), t01 = l / l01, t21 = l / l21;
3906
4185
  if (Math.abs(t01 - 1) > epsilon$1) {
3907
4186
  this._ += "L" + (x12 + t01 * x01) + "," + (y12 + t01 * y01);
3908
4187
  }
@@ -4205,9 +4484,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
4205
4484
  var NEWLINE = 10;
4206
4485
  var RETURN = 13;
4207
4486
  function objectConverter(columns) {
4208
- return new Function("d", "return {" + columns.map(function(name, i) {
4209
- return JSON.stringify(name) + ": d[" + i + "]";
4210
- }).join(",") + "}");
4487
+ return new Function(
4488
+ "d",
4489
+ "return {" + columns.map(function(name, i) {
4490
+ return JSON.stringify(name) + ": d[" + i + "]";
4491
+ }).join(",") + "}"
4492
+ );
4211
4493
  }
4212
4494
  function customConverter(columns, f) {
4213
4495
  var object2 = objectConverter(columns);
@@ -4289,11 +4571,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
4289
4571
  function format(rows, columns) {
4290
4572
  if (columns == null)
4291
4573
  columns = inferColumns(rows);
4292
- return [columns.map(formatValue).join(delimiter)].concat(rows.map(function(row) {
4293
- return columns.map(function(column) {
4294
- return formatValue(row[column]);
4295
- }).join(delimiter);
4296
- })).join("\n");
4574
+ return [columns.map(formatValue).join(delimiter)].concat(
4575
+ rows.map(function(row) {
4576
+ return columns.map(function(column) {
4577
+ return formatValue(row[column]);
4578
+ }).join(delimiter);
4579
+ })
4580
+ ).join("\n");
4297
4581
  }
4298
4582
  function formatRows(rows) {
4299
4583
  return rows.map(formatRow).join("\n");
@@ -4476,7 +4760,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
4476
4760
  return data;
4477
4761
  };
4478
4762
  var tree_extent = function(_) {
4479
- return arguments.length ? this.cover(+_[0][0], +_[0][1]).cover(+_[1][0], +_[1][1]) : isNaN(this._x0) ? void 0 : [[this._x0, this._y0], [this._x1, this._y1]];
4763
+ return arguments.length ? this.cover(+_[0][0], +_[0][1]).cover(+_[1][0], +_[1][1]) : isNaN(this._x0) ? void 0 : [
4764
+ [this._x0, this._y0],
4765
+ [this._x1, this._y1]
4766
+ ];
4480
4767
  };
4481
4768
  var Quad = function(node, x02, y02, x12, y12) {
4482
4769
  this.node = node;
@@ -4588,7 +4875,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
4588
4875
  if (node)
4589
4876
  quads.push(new Quad(node, this._x0, this._y0, this._x1, this._y1));
4590
4877
  while (q = quads.pop()) {
4591
- if (!callback(node = q.node, x02 = q.x0, y02 = q.y0, x12 = q.x1, y12 = q.y1) && node.length) {
4878
+ if (!callback(
4879
+ node = q.node,
4880
+ x02 = q.x0,
4881
+ y02 = q.y0,
4882
+ x12 = q.x1,
4883
+ y12 = q.y1
4884
+ ) && node.length) {
4592
4885
  var xm = (x02 + x12) / 2, ym = (y02 + y12) / 2;
4593
4886
  if (child = node[3])
4594
4887
  quads.push(new Quad(child, xm, ym, x12, y12));
@@ -4639,7 +4932,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
4639
4932
  return arguments.length ? (this._y = _, this) : this._y;
4640
4933
  };
4641
4934
  function quadtree(nodes, x2, y2) {
4642
- var tree2 = new Quadtree(x2 == null ? defaultX : x2, y2 == null ? defaultY : y2, NaN, NaN, NaN, NaN);
4935
+ var tree2 = new Quadtree(
4936
+ x2 == null ? defaultX : x2,
4937
+ y2 == null ? defaultY : y2,
4938
+ NaN,
4939
+ NaN,
4940
+ NaN,
4941
+ NaN
4942
+ );
4643
4943
  return nodes == null ? tree2 : tree2.addAll(nodes);
4644
4944
  }
4645
4945
  function Quadtree(x2, y2, x02, y02, x12, y12) {
@@ -4659,7 +4959,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
4659
4959
  }
4660
4960
  var treeProto = quadtree.prototype = Quadtree.prototype;
4661
4961
  treeProto.copy = function() {
4662
- var copy2 = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1), node = this._root, nodes, child;
4962
+ var copy2 = new Quadtree(
4963
+ this._x,
4964
+ this._y,
4965
+ this._x0,
4966
+ this._y0,
4967
+ this._x1,
4968
+ this._y1
4969
+ ), node = this._root, nodes, child;
4663
4970
  if (!node)
4664
4971
  return copy2;
4665
4972
  if (!node.length)
@@ -4669,7 +4976,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
4669
4976
  for (var i = 0; i < 4; ++i) {
4670
4977
  if (child = node.source[i]) {
4671
4978
  if (child.length)
4672
- nodes.push({ source: child, target: node.target[i] = new Array(4) });
4979
+ nodes.push({
4980
+ source: child,
4981
+ target: node.target[i] = new Array(4)
4982
+ });
4673
4983
  else
4674
4984
  node.target[i] = leaf_copy(child);
4675
4985
  }
@@ -5228,36 +5538,36 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5228
5538
  "%": function(x2, p) {
5229
5539
  return (x2 * 100).toFixed(p);
5230
5540
  },
5231
- "b": function(x2) {
5541
+ b: function(x2) {
5232
5542
  return Math.round(x2).toString(2);
5233
5543
  },
5234
- "c": function(x2) {
5544
+ c: function(x2) {
5235
5545
  return x2 + "";
5236
5546
  },
5237
- "d": function(x2) {
5547
+ d: function(x2) {
5238
5548
  return Math.round(x2).toString(10);
5239
5549
  },
5240
- "e": function(x2, p) {
5550
+ e: function(x2, p) {
5241
5551
  return x2.toExponential(p);
5242
5552
  },
5243
- "f": function(x2, p) {
5553
+ f: function(x2, p) {
5244
5554
  return x2.toFixed(p);
5245
5555
  },
5246
- "g": function(x2, p) {
5556
+ g: function(x2, p) {
5247
5557
  return x2.toPrecision(p);
5248
5558
  },
5249
- "o": function(x2) {
5559
+ o: function(x2) {
5250
5560
  return Math.round(x2).toString(8);
5251
5561
  },
5252
- "p": function(x2, p) {
5562
+ p: function(x2, p) {
5253
5563
  return formatRounded(x2 * 100, p);
5254
5564
  },
5255
- "r": formatRounded,
5256
- "s": formatPrefixAuto,
5257
- "X": function(x2) {
5565
+ r: formatRounded,
5566
+ s: formatPrefixAuto,
5567
+ X: function(x2) {
5258
5568
  return Math.round(x2).toString(16).toUpperCase();
5259
5569
  },
5260
- "x": function(x2) {
5570
+ x: function(x2) {
5261
5571
  return Math.round(x2).toString(16);
5262
5572
  }
5263
5573
  };
@@ -5292,7 +5602,25 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5292
5602
  var identity$3 = function(x2) {
5293
5603
  return x2;
5294
5604
  };
5295
- var prefixes = ["y", "z", "a", "f", "p", "n", "\xB5", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
5605
+ var prefixes = [
5606
+ "y",
5607
+ "z",
5608
+ "a",
5609
+ "f",
5610
+ "p",
5611
+ "n",
5612
+ "µ",
5613
+ "m",
5614
+ "",
5615
+ "k",
5616
+ "M",
5617
+ "G",
5618
+ "T",
5619
+ "P",
5620
+ "E",
5621
+ "Z",
5622
+ "Y"
5623
+ ];
5296
5624
  var formatLocale = function(locale2) {
5297
5625
  var group = locale2.grouping && locale2.thousands ? formatGroup(locale2.grouping, locale2.thousands) : identity$3, currency = locale2.currency, decimal = locale2.decimal, numerals = locale2.numerals ? formatNumerals(locale2.numerals) : identity$3, percent = locale2.percent || "%";
5298
5626
  function newFormat(specifier) {
@@ -5329,7 +5657,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5329
5657
  value = group(value, Infinity);
5330
5658
  var length2 = valuePrefix.length + value.length + valueSuffix.length, padding = length2 < width ? new Array(width - length2 + 1).join(fill) : "";
5331
5659
  if (comma && zero2)
5332
- value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = "";
5660
+ value = group(
5661
+ padding + value,
5662
+ padding.length ? width - valueSuffix.length : Infinity
5663
+ ), padding = "";
5333
5664
  switch (align) {
5334
5665
  case "<":
5335
5666
  value = valuePrefix + value + valueSuffix + padding;
@@ -5352,7 +5683,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5352
5683
  return format;
5353
5684
  }
5354
5685
  function formatPrefix(specifier, value) {
5355
- var f = newFormat((specifier = formatSpecifier(specifier), specifier.type = "f", specifier)), e = Math.max(-8, Math.min(8, Math.floor(exponent$1(value) / 3))) * 3, k2 = Math.pow(10, -e), prefix2 = prefixes[8 + e / 3];
5686
+ var f = newFormat(
5687
+ (specifier = formatSpecifier(specifier), specifier.type = "f", specifier)
5688
+ ), e = Math.max(-8, Math.min(8, Math.floor(exponent$1(value) / 3))) * 3, k2 = Math.pow(10, -e), prefix2 = prefixes[8 + e / 3];
5356
5689
  return function(value2) {
5357
5690
  return f(k2 * value2) + prefix2;
5358
5691
  };
@@ -5379,7 +5712,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5379
5712
  return Math.max(0, -exponent$1(Math.abs(step2)));
5380
5713
  };
5381
5714
  var precisionPrefix = function(step2, value) {
5382
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent$1(value) / 3))) * 3 - exponent$1(Math.abs(step2)));
5715
+ return Math.max(
5716
+ 0,
5717
+ Math.max(-8, Math.min(8, Math.floor(exponent$1(value) / 3))) * 3 - exponent$1(Math.abs(step2))
5718
+ );
5383
5719
  };
5384
5720
  var precisionRound = function(step2, max2) {
5385
5721
  step2 = Math.abs(step2), max2 = Math.abs(max2) - step2;
@@ -5394,7 +5730,8 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5394
5730
  Adder.prototype = {
5395
5731
  constructor: Adder,
5396
5732
  reset: function() {
5397
- this.s = this.t = 0;
5733
+ this.s = // rounded value
5734
+ this.t = 0;
5398
5735
  },
5399
5736
  add: function(y2) {
5400
5737
  add$1(temp, y2, this.t);
@@ -5577,7 +5914,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5577
5914
  return a2[0] * b[0] + a2[1] * b[1] + a2[2] * b[2];
5578
5915
  }
5579
5916
  function cartesianCross(a2, b) {
5580
- return [a2[1] * b[2] - a2[2] * b[1], a2[2] * b[0] - a2[0] * b[2], a2[0] * b[1] - a2[1] * b[0]];
5917
+ return [
5918
+ a2[1] * b[2] - a2[2] * b[1],
5919
+ a2[2] * b[0] - a2[0] * b[2],
5920
+ a2[0] * b[1] - a2[1] * b[0]
5921
+ ];
5581
5922
  }
5582
5923
  function cartesianAddInPlace(a2, b) {
5583
5924
  a2[0] += b[0], a2[1] += b[1], a2[2] += b[2];
@@ -5749,7 +6090,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5749
6090
  }
5750
6091
  }
5751
6092
  ranges = range = null;
5752
- return lambda0$1 === Infinity || phi0 === Infinity ? [[NaN, NaN], [NaN, NaN]] : [[lambda0$1, phi0], [lambda1, phi1]];
6093
+ return lambda0$1 === Infinity || phi0 === Infinity ? [
6094
+ [NaN, NaN],
6095
+ [NaN, NaN]
6096
+ ] : [
6097
+ [lambda0$1, phi0],
6098
+ [lambda1, phi1]
6099
+ ];
5753
6100
  };
5754
6101
  var W0;
5755
6102
  var W1;
@@ -5784,7 +6131,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5784
6131
  function centroidPoint(lambda, phi2) {
5785
6132
  lambda *= radians, phi2 *= radians;
5786
6133
  var cosPhi = cos$1(phi2);
5787
- centroidPointCartesian(cosPhi * cos$1(lambda), cosPhi * sin$1(lambda), sin$1(phi2));
6134
+ centroidPointCartesian(
6135
+ cosPhi * cos$1(lambda),
6136
+ cosPhi * sin$1(lambda),
6137
+ sin$1(phi2)
6138
+ );
5788
6139
  }
5789
6140
  function centroidPointCartesian(x2, y2, z) {
5790
6141
  ++W0;
@@ -5806,7 +6157,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5806
6157
  }
5807
6158
  function centroidLinePoint(lambda, phi2) {
5808
6159
  lambda *= radians, phi2 *= radians;
5809
- var cosPhi = cos$1(phi2), x2 = cosPhi * cos$1(lambda), y2 = cosPhi * sin$1(lambda), z = sin$1(phi2), w = atan2(sqrt((w = y0 * z - z0 * y2) * w + (w = z0 * x2 - x0 * z) * w + (w = x0 * y2 - y0 * x2) * w), x0 * x2 + y0 * y2 + z0 * z);
6160
+ var cosPhi = cos$1(phi2), x2 = cosPhi * cos$1(lambda), y2 = cosPhi * sin$1(lambda), z = sin$1(phi2), w = atan2(
6161
+ sqrt(
6162
+ (w = y0 * z - z0 * y2) * w + (w = z0 * x2 - x0 * z) * w + (w = x0 * y2 - y0 * x2) * w
6163
+ ),
6164
+ x0 * x2 + y0 * y2 + z0 * z
6165
+ );
5810
6166
  W1 += w;
5811
6167
  X1 += w * (x0 + (x0 = x2));
5812
6168
  Y1 += w * (y0 + (y0 = y2));
@@ -5875,15 +6231,24 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5875
6231
  return compose2;
5876
6232
  };
5877
6233
  function rotationIdentity(lambda, phi2) {
5878
- return [lambda > pi$3 ? lambda - tau$3 : lambda < -pi$3 ? lambda + tau$3 : lambda, phi2];
6234
+ return [
6235
+ lambda > pi$3 ? lambda - tau$3 : lambda < -pi$3 ? lambda + tau$3 : lambda,
6236
+ phi2
6237
+ ];
5879
6238
  }
5880
6239
  rotationIdentity.invert = rotationIdentity;
5881
6240
  function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {
5882
- return (deltaLambda %= tau$3) ? deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma)) : rotationLambda(deltaLambda) : deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma) : rotationIdentity;
6241
+ return (deltaLambda %= tau$3) ? deltaPhi || deltaGamma ? compose(
6242
+ rotationLambda(deltaLambda),
6243
+ rotationPhiGamma(deltaPhi, deltaGamma)
6244
+ ) : rotationLambda(deltaLambda) : deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma) : rotationIdentity;
5883
6245
  }
5884
6246
  function forwardRotationLambda(deltaLambda) {
5885
6247
  return function(lambda, phi2) {
5886
- return lambda += deltaLambda, [lambda > pi$3 ? lambda - tau$3 : lambda < -pi$3 ? lambda + tau$3 : lambda, phi2];
6248
+ return lambda += deltaLambda, [
6249
+ lambda > pi$3 ? lambda - tau$3 : lambda < -pi$3 ? lambda + tau$3 : lambda,
6250
+ phi2
6251
+ ];
5887
6252
  };
5888
6253
  }
5889
6254
  function rotationLambda(deltaLambda) {
@@ -5896,27 +6261,40 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5896
6261
  function rotation2(lambda, phi2) {
5897
6262
  var cosPhi = cos$1(phi2), x2 = cos$1(lambda) * cosPhi, y2 = sin$1(lambda) * cosPhi, z = sin$1(phi2), k2 = z * cosDeltaPhi + x2 * sinDeltaPhi;
5898
6263
  return [
5899
- atan2(y2 * cosDeltaGamma - k2 * sinDeltaGamma, x2 * cosDeltaPhi - z * sinDeltaPhi),
6264
+ atan2(
6265
+ y2 * cosDeltaGamma - k2 * sinDeltaGamma,
6266
+ x2 * cosDeltaPhi - z * sinDeltaPhi
6267
+ ),
5900
6268
  asin(k2 * cosDeltaGamma + y2 * sinDeltaGamma)
5901
6269
  ];
5902
6270
  }
5903
6271
  rotation2.invert = function(lambda, phi2) {
5904
6272
  var cosPhi = cos$1(phi2), x2 = cos$1(lambda) * cosPhi, y2 = sin$1(lambda) * cosPhi, z = sin$1(phi2), k2 = z * cosDeltaGamma - y2 * sinDeltaGamma;
5905
6273
  return [
5906
- atan2(y2 * cosDeltaGamma + z * sinDeltaGamma, x2 * cosDeltaPhi + k2 * sinDeltaPhi),
6274
+ atan2(
6275
+ y2 * cosDeltaGamma + z * sinDeltaGamma,
6276
+ x2 * cosDeltaPhi + k2 * sinDeltaPhi
6277
+ ),
5907
6278
  asin(k2 * cosDeltaPhi - x2 * sinDeltaPhi)
5908
6279
  ];
5909
6280
  };
5910
6281
  return rotation2;
5911
6282
  }
5912
6283
  var rotation = function(rotate) {
5913
- rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);
6284
+ rotate = rotateRadians(
6285
+ rotate[0] * radians,
6286
+ rotate[1] * radians,
6287
+ rotate.length > 2 ? rotate[2] * radians : 0
6288
+ );
5914
6289
  function forward(coordinates2) {
5915
6290
  coordinates2 = rotate(coordinates2[0] * radians, coordinates2[1] * radians);
5916
6291
  return coordinates2[0] *= degrees$1, coordinates2[1] *= degrees$1, coordinates2;
5917
6292
  }
5918
6293
  forward.invert = function(coordinates2) {
5919
- coordinates2 = rotate.invert(coordinates2[0] * radians, coordinates2[1] * radians);
6294
+ coordinates2 = rotate.invert(
6295
+ coordinates2[0] * radians,
6296
+ coordinates2[1] * radians
6297
+ );
5920
6298
  return coordinates2[0] *= degrees$1, coordinates2[1] *= degrees$1, coordinates2;
5921
6299
  };
5922
6300
  return forward;
@@ -5935,7 +6313,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
5935
6313
  t02 += direction * tau$3;
5936
6314
  }
5937
6315
  for (var point2, t = t02; direction > 0 ? t > t12 : t < t12; t -= step2) {
5938
- point2 = spherical([cosRadius, -sinRadius * cos$1(t), -sinRadius * sin$1(t)]);
6316
+ point2 = spherical([
6317
+ cosRadius,
6318
+ -sinRadius * cos$1(t),
6319
+ -sinRadius * sin$1(t)
6320
+ ]);
5939
6321
  stream.point(point2[0], point2[1]);
5940
6322
  }
5941
6323
  }
@@ -6087,7 +6469,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6087
6469
  var ring, m, point0 = ring[m - 1], lambda02 = point0[0], phi02 = point0[1] / 2 + quarterPi, sinPhi02 = sin$1(phi02), cosPhi02 = cos$1(phi02);
6088
6470
  for (var j = 0; j < m; ++j, lambda02 = lambda12, sinPhi02 = sinPhi1, cosPhi02 = cosPhi1, point0 = point1) {
6089
6471
  var point1 = ring[j], lambda12 = point1[0], phi12 = point1[1] / 2 + quarterPi, sinPhi1 = sin$1(phi12), cosPhi1 = cos$1(phi12), delta = lambda12 - lambda02, sign$$1 = delta >= 0 ? 1 : -1, absDelta = sign$$1 * delta, antimeridian = absDelta > pi$3, k2 = sinPhi02 * sinPhi1;
6090
- sum$1.add(atan2(k2 * sign$$1 * sin$1(absDelta), cosPhi02 * cosPhi1 + k2 * cos$1(absDelta)));
6472
+ sum$1.add(
6473
+ atan2(
6474
+ k2 * sign$$1 * sin$1(absDelta),
6475
+ cosPhi02 * cosPhi1 + k2 * cos$1(absDelta)
6476
+ )
6477
+ );
6091
6478
  angle2 += antimeridian ? delta + sign$$1 * tau$3 : delta;
6092
6479
  if (antimeridian ^ lambda02 >= lambda ^ lambda12 >= lambda) {
6093
6480
  var arc2 = cartesianCross(cartesian(point0), cartesian(point1));
@@ -6126,7 +6513,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6126
6513
  if (segments.length) {
6127
6514
  if (!polygonStarted)
6128
6515
  sink.polygonStart(), polygonStarted = true;
6129
- clipRejoin(segments, compareIntersection, startInside, interpolate2, sink);
6516
+ clipRejoin(
6517
+ segments,
6518
+ compareIntersection,
6519
+ startInside,
6520
+ interpolate2,
6521
+ sink
6522
+ );
6130
6523
  } else if (startInside) {
6131
6524
  if (!polygonStarted)
6132
6525
  sink.polygonStart(), polygonStarted = true;
@@ -6221,7 +6614,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6221
6614
  point: function(lambda12, phi12) {
6222
6615
  var sign1 = lambda12 > 0 ? pi$3 : -pi$3, delta = abs(lambda12 - lambda02);
6223
6616
  if (abs(delta - pi$3) < epsilon$2) {
6224
- stream.point(lambda02, phi02 = (phi02 + phi12) / 2 > 0 ? halfPi$2 : -halfPi$2);
6617
+ stream.point(
6618
+ lambda02,
6619
+ phi02 = (phi02 + phi12) / 2 > 0 ? halfPi$2 : -halfPi$2
6620
+ );
6225
6621
  stream.point(sign0, phi02);
6226
6622
  stream.lineEnd();
6227
6623
  stream.lineStart();
@@ -6254,7 +6650,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6254
6650
  }
6255
6651
  function clipAntimeridianIntersect(lambda02, phi02, lambda12, phi12) {
6256
6652
  var cosPhi02, cosPhi1, sinLambda0Lambda1 = sin$1(lambda02 - lambda12);
6257
- return abs(sinLambda0Lambda1) > epsilon$2 ? atan((sin$1(phi02) * (cosPhi1 = cos$1(phi12)) * sin$1(lambda12) - sin$1(phi12) * (cosPhi02 = cos$1(phi02)) * sin$1(lambda02)) / (cosPhi02 * cosPhi1 * sinLambda0Lambda1)) : (phi02 + phi12) / 2;
6653
+ return abs(sinLambda0Lambda1) > epsilon$2 ? atan(
6654
+ (sin$1(phi02) * (cosPhi1 = cos$1(phi12)) * sin$1(lambda12) - sin$1(phi12) * (cosPhi02 = cos$1(phi02)) * sin$1(lambda02)) / (cosPhi02 * cosPhi1 * sinLambda0Lambda1)
6655
+ ) : (phi02 + phi12) / 2;
6258
6656
  }
6259
6657
  function clipAntimeridianInterpolate(from, to, direction, stream) {
6260
6658
  var phi2;
@@ -6345,6 +6743,8 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6345
6743
  stream.lineEnd();
6346
6744
  point0 = null;
6347
6745
  },
6746
+ // Rejoin first and last segments if there were intersections and the first
6747
+ // and last points were visible.
6348
6748
  clean: function() {
6349
6749
  return clean | (v00 && v0) << 1;
6350
6750
  }
@@ -6389,7 +6789,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6389
6789
  code2 |= 8;
6390
6790
  return code2;
6391
6791
  }
6392
- return clip(visible, clipLine2, interpolate2, smallRadius ? [0, -radius] : [-pi$3, radius - pi$3]);
6792
+ return clip(
6793
+ visible,
6794
+ clipLine2,
6795
+ interpolate2,
6796
+ smallRadius ? [0, -radius] : [-pi$3, radius - pi$3]
6797
+ );
6393
6798
  };
6394
6799
  var clipLine = function(a2, b, x02, y02, x12, y12) {
6395
6800
  var ax = a2[0], ay = a2[1], bx = b[0], by = b[1], t02 = 0, t12 = 1, dx = bx - ax, dy = by - ay, r;
@@ -6527,7 +6932,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6527
6932
  stream.lineEnd();
6528
6933
  }
6529
6934
  if (visible2) {
6530
- clipRejoin(segments, compareIntersection2, startInside, interpolate2, stream);
6935
+ clipRejoin(
6936
+ segments,
6937
+ compareIntersection2,
6938
+ startInside,
6939
+ interpolate2,
6940
+ stream
6941
+ );
6531
6942
  }
6532
6943
  stream.polygonEnd();
6533
6944
  }
@@ -6567,7 +6978,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6567
6978
  if (v && v_)
6568
6979
  activeStream.point(x2, y2);
6569
6980
  else {
6570
- var a2 = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))], b = [x2 = Math.max(clipMin, Math.min(clipMax, x2)), y2 = Math.max(clipMin, Math.min(clipMax, y2))];
6981
+ var a2 = [
6982
+ x_ = Math.max(clipMin, Math.min(clipMax, x_)),
6983
+ y_ = Math.max(clipMin, Math.min(clipMax, y_))
6984
+ ], b = [
6985
+ x2 = Math.max(clipMin, Math.min(clipMax, x2)),
6986
+ y2 = Math.max(clipMin, Math.min(clipMax, y2))
6987
+ ];
6571
6988
  if (clipLine(a2, b, x02, y02, x12, y12)) {
6572
6989
  if (!v_) {
6573
6990
  activeStream.lineStart();
@@ -6596,7 +7013,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6596
7013
  return cache && cacheStream === stream ? cache : cache = clipRectangle(x02, y02, x12, y12)(cacheStream = stream);
6597
7014
  },
6598
7015
  extent: function(_) {
6599
- return arguments.length ? (x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1], cache = cacheStream = null, clip2) : [[x02, y02], [x12, y12]];
7016
+ return arguments.length ? (x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1], cache = cacheStream = null, clip2) : [
7017
+ [x02, y02],
7018
+ [x12, y12]
7019
+ ];
6600
7020
  }
6601
7021
  };
6602
7022
  };
@@ -6740,11 +7160,15 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6740
7160
  return { type: "MultiLineString", coordinates: lines() };
6741
7161
  }
6742
7162
  function lines() {
6743
- return sequence(ceil(X02 / DX) * DX, X12, DX).map(X3).concat(sequence(ceil(Y02 / DY) * DY, Y12, DY).map(Y3)).concat(sequence(ceil(x02 / dx) * dx, x12, dx).filter(function(x3) {
6744
- return abs(x3 % DX) > epsilon$2;
6745
- }).map(x2)).concat(sequence(ceil(y02 / dy) * dy, y12, dy).filter(function(y3) {
6746
- return abs(y3 % DY) > epsilon$2;
6747
- }).map(y2));
7163
+ return sequence(ceil(X02 / DX) * DX, X12, DX).map(X3).concat(sequence(ceil(Y02 / DY) * DY, Y12, DY).map(Y3)).concat(
7164
+ sequence(ceil(x02 / dx) * dx, x12, dx).filter(function(x3) {
7165
+ return abs(x3 % DX) > epsilon$2;
7166
+ }).map(x2)
7167
+ ).concat(
7168
+ sequence(ceil(y02 / dy) * dy, y12, dy).filter(function(y3) {
7169
+ return abs(y3 % DY) > epsilon$2;
7170
+ }).map(y2)
7171
+ );
6748
7172
  }
6749
7173
  graticule2.lines = function() {
6750
7174
  return lines().map(function(coordinates2) {
@@ -6770,7 +7194,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6770
7194
  };
6771
7195
  graticule2.extentMajor = function(_) {
6772
7196
  if (!arguments.length)
6773
- return [[X02, Y02], [X12, Y12]];
7197
+ return [
7198
+ [X02, Y02],
7199
+ [X12, Y12]
7200
+ ];
6774
7201
  X02 = +_[0][0], X12 = +_[1][0];
6775
7202
  Y02 = +_[0][1], Y12 = +_[1][1];
6776
7203
  if (X02 > X12)
@@ -6781,7 +7208,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6781
7208
  };
6782
7209
  graticule2.extentMinor = function(_) {
6783
7210
  if (!arguments.length)
6784
- return [[x02, y02], [x12, y12]];
7211
+ return [
7212
+ [x02, y02],
7213
+ [x12, y12]
7214
+ ];
6785
7215
  x02 = +_[0][0], x12 = +_[1][0];
6786
7216
  y02 = +_[0][1], y12 = +_[1][1];
6787
7217
  if (x02 > x12)
@@ -6817,7 +7247,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6817
7247
  Y3 = graticuleY(X02, X12, precision);
6818
7248
  return graticule2;
6819
7249
  };
6820
- return graticule2.extentMajor([[-180, -90 + epsilon$2], [180, 90 - epsilon$2]]).extentMinor([[-180, -80 - epsilon$2], [180, 80 + epsilon$2]]);
7250
+ return graticule2.extentMajor([
7251
+ [-180, -90 + epsilon$2],
7252
+ [180, 90 - epsilon$2]
7253
+ ]).extentMinor([
7254
+ [-180, -80 - epsilon$2],
7255
+ [180, 80 + epsilon$2]
7256
+ ]);
6821
7257
  }
6822
7258
  function graticule10() {
6823
7259
  return graticule()();
@@ -6889,7 +7325,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
6889
7325
  polygonStart: noop$1,
6890
7326
  polygonEnd: noop$1,
6891
7327
  result: function() {
6892
- var bounds2 = [[x0$2, y0$2], [x1, y1]];
7328
+ var bounds2 = [
7329
+ [x0$2, y0$2],
7330
+ [x1, y1]
7331
+ ];
6893
7332
  x1 = y1 = -(y0$2 = x0$2 = Infinity);
6894
7333
  return bounds2;
6895
7334
  }
@@ -7209,25 +7648,37 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7209
7648
  return projection2;
7210
7649
  }
7211
7650
  function fitExtent(projection2, extent2, object2) {
7212
- return fit(projection2, function(b) {
7213
- var w = extent2[1][0] - extent2[0][0], h = extent2[1][1] - extent2[0][1], k2 = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x2 = +extent2[0][0] + (w - k2 * (b[1][0] + b[0][0])) / 2, y2 = +extent2[0][1] + (h - k2 * (b[1][1] + b[0][1])) / 2;
7214
- projection2.scale(150 * k2).translate([x2, y2]);
7215
- }, object2);
7651
+ return fit(
7652
+ projection2,
7653
+ function(b) {
7654
+ var w = extent2[1][0] - extent2[0][0], h = extent2[1][1] - extent2[0][1], k2 = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x2 = +extent2[0][0] + (w - k2 * (b[1][0] + b[0][0])) / 2, y2 = +extent2[0][1] + (h - k2 * (b[1][1] + b[0][1])) / 2;
7655
+ projection2.scale(150 * k2).translate([x2, y2]);
7656
+ },
7657
+ object2
7658
+ );
7216
7659
  }
7217
7660
  function fitSize(projection2, size, object2) {
7218
7661
  return fitExtent(projection2, [[0, 0], size], object2);
7219
7662
  }
7220
7663
  function fitWidth(projection2, width, object2) {
7221
- return fit(projection2, function(b) {
7222
- var w = +width, k2 = w / (b[1][0] - b[0][0]), x2 = (w - k2 * (b[1][0] + b[0][0])) / 2, y2 = -k2 * b[0][1];
7223
- projection2.scale(150 * k2).translate([x2, y2]);
7224
- }, object2);
7664
+ return fit(
7665
+ projection2,
7666
+ function(b) {
7667
+ var w = +width, k2 = w / (b[1][0] - b[0][0]), x2 = (w - k2 * (b[1][0] + b[0][0])) / 2, y2 = -k2 * b[0][1];
7668
+ projection2.scale(150 * k2).translate([x2, y2]);
7669
+ },
7670
+ object2
7671
+ );
7225
7672
  }
7226
7673
  function fitHeight(projection2, height, object2) {
7227
- return fit(projection2, function(b) {
7228
- var h = +height, k2 = h / (b[1][1] - b[0][1]), x2 = -k2 * b[0][0], y2 = (h - k2 * (b[1][1] + b[0][1])) / 2;
7229
- projection2.scale(150 * k2).translate([x2, y2]);
7230
- }, object2);
7674
+ return fit(
7675
+ projection2,
7676
+ function(b) {
7677
+ var h = +height, k2 = h / (b[1][1] - b[0][1]), x2 = -k2 * b[0][0], y2 = (h - k2 * (b[1][1] + b[0][1])) / 2;
7678
+ projection2.scale(150 * k2).translate([x2, y2]);
7679
+ },
7680
+ object2
7681
+ );
7231
7682
  }
7232
7683
  var maxDepth = 16;
7233
7684
  var cosMinDistance = cos$1(30 * radians);
@@ -7247,10 +7698,42 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7247
7698
  var dx = x12 - x02, dy = y12 - y02, d2 = dx * dx + dy * dy;
7248
7699
  if (d2 > 4 * delta2 && depth--) {
7249
7700
  var a2 = a0 + a1, b = b02 + b12, c2 = c0 + c1, m = sqrt(a2 * a2 + b * b + c2 * c2), phi2 = asin(c2 /= m), lambda22 = abs(abs(c2) - 1) < epsilon$2 || abs(lambda02 - lambda12) < epsilon$2 ? (lambda02 + lambda12) / 2 : atan2(b, a2), p = project(lambda22, phi2), x2 = p[0], y2 = p[1], dx2 = x2 - x02, dy2 = y2 - y02, dz = dy * dx2 - dx * dy2;
7250
- if (dz * dz / d2 > delta2 || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 || a0 * a1 + b02 * b12 + c0 * c1 < cosMinDistance) {
7251
- resampleLineTo(x02, y02, lambda02, a0, b02, c0, x2, y2, lambda22, a2 /= m, b /= m, c2, depth, stream);
7701
+ if (dz * dz / d2 > delta2 || // perpendicular projected distance
7702
+ abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 || // midpoint close to an end
7703
+ a0 * a1 + b02 * b12 + c0 * c1 < cosMinDistance) {
7704
+ resampleLineTo(
7705
+ x02,
7706
+ y02,
7707
+ lambda02,
7708
+ a0,
7709
+ b02,
7710
+ c0,
7711
+ x2,
7712
+ y2,
7713
+ lambda22,
7714
+ a2 /= m,
7715
+ b /= m,
7716
+ c2,
7717
+ depth,
7718
+ stream
7719
+ );
7252
7720
  stream.point(x2, y2);
7253
- resampleLineTo(x2, y2, lambda22, a2, b, c2, x12, y12, lambda12, a1, b12, c1, depth, stream);
7721
+ resampleLineTo(
7722
+ x2,
7723
+ y2,
7724
+ lambda22,
7725
+ a2,
7726
+ b,
7727
+ c2,
7728
+ x12,
7729
+ y12,
7730
+ lambda12,
7731
+ a1,
7732
+ b12,
7733
+ c1,
7734
+ depth,
7735
+ stream
7736
+ );
7254
7737
  }
7255
7738
  }
7256
7739
  }
@@ -7280,7 +7763,22 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7280
7763
  }
7281
7764
  function linePoint2(lambda, phi2) {
7282
7765
  var c2 = cartesian([lambda, phi2]), p = project(lambda, phi2);
7283
- resampleLineTo(x02, y02, lambda02, a0, b02, c0, x02 = p[0], y02 = p[1], lambda02 = lambda, a0 = c2[0], b02 = c2[1], c0 = c2[2], maxDepth, stream);
7766
+ resampleLineTo(
7767
+ x02,
7768
+ y02,
7769
+ lambda02,
7770
+ a0,
7771
+ b02,
7772
+ c0,
7773
+ x02 = p[0],
7774
+ y02 = p[1],
7775
+ lambda02 = lambda,
7776
+ a0 = c2[0],
7777
+ b02 = c2[1],
7778
+ c0 = c2[2],
7779
+ maxDepth,
7780
+ stream
7781
+ );
7284
7782
  stream.point(x02, y02);
7285
7783
  }
7286
7784
  function lineEnd() {
@@ -7297,7 +7795,22 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7297
7795
  resampleStream.point = linePoint2;
7298
7796
  }
7299
7797
  function ringEnd() {
7300
- resampleLineTo(x02, y02, lambda02, a0, b02, c0, x002, y002, lambda002, a00, b00, c00, maxDepth, stream);
7798
+ resampleLineTo(
7799
+ x02,
7800
+ y02,
7801
+ lambda02,
7802
+ a0,
7803
+ b02,
7804
+ c0,
7805
+ x002,
7806
+ y002,
7807
+ lambda002,
7808
+ a00,
7809
+ b00,
7810
+ c00,
7811
+ maxDepth,
7812
+ stream
7813
+ );
7301
7814
  resampleStream.lineEnd = lineEnd;
7302
7815
  lineEnd();
7303
7816
  }
@@ -7336,7 +7849,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7336
7849
  return x3 = project(x3, y3), [x3[0] * k2 + dx, dy - x3[1] * k2];
7337
7850
  }
7338
7851
  projection2.stream = function(stream) {
7339
- return cache && cacheStream === stream ? cache : cache = transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream = stream)))));
7852
+ return cache && cacheStream === stream ? cache : cache = transformRadians(
7853
+ transformRotate(rotate)(
7854
+ preclip(projectResample(postclip(cacheStream = stream)))
7855
+ )
7856
+ );
7340
7857
  };
7341
7858
  projection2.preclip = function(_) {
7342
7859
  return arguments.length ? (preclip = _, theta = void 0, reset()) : preclip;
@@ -7348,7 +7865,15 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7348
7865
  return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees$1;
7349
7866
  };
7350
7867
  projection2.clipExtent = function(_) {
7351
- return arguments.length ? (postclip = _ == null ? (x02 = y02 = x12 = y12 = null, identity$4) : clipRectangle(x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1]), reset()) : x02 == null ? null : [[x02, y02], [x12, y12]];
7868
+ return arguments.length ? (postclip = _ == null ? (x02 = y02 = x12 = y12 = null, identity$4) : clipRectangle(
7869
+ x02 = +_[0][0],
7870
+ y02 = +_[0][1],
7871
+ x12 = +_[1][0],
7872
+ y12 = +_[1][1]
7873
+ ), reset()) : x02 == null ? null : [
7874
+ [x02, y02],
7875
+ [x12, y12]
7876
+ ];
7352
7877
  };
7353
7878
  projection2.scale = function(_) {
7354
7879
  return arguments.length ? (k2 = +_, recenter()) : k2;
@@ -7360,7 +7885,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7360
7885
  return arguments.length ? (lambda = _[0] % 360 * radians, phi2 = _[1] % 360 * radians, recenter()) : [lambda * degrees$1, phi2 * degrees$1];
7361
7886
  };
7362
7887
  projection2.rotate = function(_) {
7363
- return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees$1, deltaPhi * degrees$1, deltaGamma * degrees$1];
7888
+ return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [
7889
+ deltaLambda * degrees$1,
7890
+ deltaPhi * degrees$1,
7891
+ deltaGamma * degrees$1
7892
+ ];
7364
7893
  };
7365
7894
  projection2.precision = function(_) {
7366
7895
  return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);
@@ -7378,7 +7907,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7378
7907
  return fitHeight(projection2, height, object2);
7379
7908
  };
7380
7909
  function recenter() {
7381
- projectRotate = compose(rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma), project);
7910
+ projectRotate = compose(
7911
+ rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma),
7912
+ project
7913
+ );
7382
7914
  var center2 = project(lambda, phi2);
7383
7915
  dx = x2 - center2[0] * k2;
7384
7916
  dy = y2 + center2[1] * k2;
@@ -7422,7 +7954,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7422
7954
  }
7423
7955
  project.invert = function(x2, y2) {
7424
7956
  var r0y = r0 - y2;
7425
- return [atan2(x2, abs(r0y)) / n * sign(r0y), asin((c2 - (x2 * x2 + r0y * r0y) * n * n) / (2 * n))];
7957
+ return [
7958
+ atan2(x2, abs(r0y)) / n * sign(r0y),
7959
+ asin((c2 - (x2 * x2 + r0y * r0y) * n * n) / (2 * n))
7960
+ ];
7426
7961
  };
7427
7962
  return project;
7428
7963
  }
@@ -7468,9 +8003,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7468
8003
  };
7469
8004
  }
7470
8005
  var albersUsa = function() {
7471
- var cache, cacheStream, lower48 = albers(), lower48Point, alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, point2, pointStream = { point: function(x2, y2) {
7472
- point2 = [x2, y2];
7473
- } };
8006
+ var cache, cacheStream, lower48 = albers(), lower48Point, alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, point2, pointStream = {
8007
+ point: function(x2, y2) {
8008
+ point2 = [x2, y2];
8009
+ }
8010
+ };
7474
8011
  function albersUsa2(coordinates2) {
7475
8012
  var x2 = coordinates2[0], y2 = coordinates2[1];
7476
8013
  return point2 = null, (lower48Point.point(x2, y2), point2) || (alaskaPoint.point(x2, y2), point2) || (hawaiiPoint.point(x2, y2), point2);
@@ -7480,7 +8017,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7480
8017
  return (y2 >= 0.12 && y2 < 0.234 && x2 >= -0.425 && x2 < -0.214 ? alaska : y2 >= 0.166 && y2 < 0.234 && x2 >= -0.214 && x2 < -0.115 ? hawaii : lower48).invert(coordinates2);
7481
8018
  };
7482
8019
  albersUsa2.stream = function(stream) {
7483
- return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);
8020
+ return cache && cacheStream === stream ? cache : cache = multiplex([
8021
+ lower48.stream(cacheStream = stream),
8022
+ alaska.stream(stream),
8023
+ hawaii.stream(stream)
8024
+ ]);
7484
8025
  };
7485
8026
  albersUsa2.precision = function(_) {
7486
8027
  if (!arguments.length)
@@ -7498,9 +8039,18 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7498
8039
  if (!arguments.length)
7499
8040
  return lower48.translate();
7500
8041
  var k2 = lower48.scale(), x2 = +_[0], y2 = +_[1];
7501
- lower48Point = lower48.translate(_).clipExtent([[x2 - 0.455 * k2, y2 - 0.238 * k2], [x2 + 0.455 * k2, y2 + 0.238 * k2]]).stream(pointStream);
7502
- alaskaPoint = alaska.translate([x2 - 0.307 * k2, y2 + 0.201 * k2]).clipExtent([[x2 - 0.425 * k2 + epsilon$2, y2 + 0.12 * k2 + epsilon$2], [x2 - 0.214 * k2 - epsilon$2, y2 + 0.234 * k2 - epsilon$2]]).stream(pointStream);
7503
- hawaiiPoint = hawaii.translate([x2 - 0.205 * k2, y2 + 0.212 * k2]).clipExtent([[x2 - 0.214 * k2 + epsilon$2, y2 + 0.166 * k2 + epsilon$2], [x2 - 0.115 * k2 - epsilon$2, y2 + 0.234 * k2 - epsilon$2]]).stream(pointStream);
8042
+ lower48Point = lower48.translate(_).clipExtent([
8043
+ [x2 - 0.455 * k2, y2 - 0.238 * k2],
8044
+ [x2 + 0.455 * k2, y2 + 0.238 * k2]
8045
+ ]).stream(pointStream);
8046
+ alaskaPoint = alaska.translate([x2 - 0.307 * k2, y2 + 0.201 * k2]).clipExtent([
8047
+ [x2 - 0.425 * k2 + epsilon$2, y2 + 0.12 * k2 + epsilon$2],
8048
+ [x2 - 0.214 * k2 - epsilon$2, y2 + 0.234 * k2 - epsilon$2]
8049
+ ]).stream(pointStream);
8050
+ hawaiiPoint = hawaii.translate([x2 - 0.205 * k2, y2 + 0.212 * k2]).clipExtent([
8051
+ [x2 - 0.214 * k2 + epsilon$2, y2 + 0.166 * k2 + epsilon$2],
8052
+ [x2 - 0.115 * k2 - epsilon$2, y2 + 0.234 * k2 - epsilon$2]
8053
+ ]).stream(pointStream);
7504
8054
  return reset();
7505
8055
  };
7506
8056
  albersUsa2.fitExtent = function(extent2, object2) {
@@ -7524,19 +8074,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7524
8074
  function azimuthalRaw(scale) {
7525
8075
  return function(x2, y2) {
7526
8076
  var cx = cos$1(x2), cy = cos$1(y2), k2 = scale(cx * cy);
7527
- return [
7528
- k2 * cy * sin$1(x2),
7529
- k2 * sin$1(y2)
7530
- ];
8077
+ return [k2 * cy * sin$1(x2), k2 * sin$1(y2)];
7531
8078
  };
7532
8079
  }
7533
8080
  function azimuthalInvert(angle2) {
7534
8081
  return function(x2, y2) {
7535
8082
  var z = sqrt(x2 * x2 + y2 * y2), c2 = angle2(z), sc = sin$1(c2), cc = cos$1(c2);
7536
- return [
7537
- atan2(x2 * sc, z * cc),
7538
- asin(z && y2 * sc / z)
7539
- ];
8083
+ return [atan2(x2 * sc, z * cc), asin(z && y2 * sc / z)];
7540
8084
  };
7541
8085
  }
7542
8086
  var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {
@@ -7578,11 +8122,25 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7578
8122
  return arguments.length ? (center2(_), reclip()) : center2();
7579
8123
  };
7580
8124
  m.clipExtent = function(_) {
7581
- return arguments.length ? (_ == null ? x02 = y02 = x12 = y12 = null : (x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1]), reclip()) : x02 == null ? null : [[x02, y02], [x12, y12]];
8125
+ return arguments.length ? (_ == null ? x02 = y02 = x12 = y12 = null : (x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1]), reclip()) : x02 == null ? null : [
8126
+ [x02, y02],
8127
+ [x12, y12]
8128
+ ];
7582
8129
  };
7583
8130
  function reclip() {
7584
8131
  var k2 = pi$3 * scale(), t = m(rotation(m.rotate()).invert([0, 0]));
7585
- return clipExtent(x02 == null ? [[t[0] - k2, t[1] - k2], [t[0] + k2, t[1] + k2]] : project === mercatorRaw ? [[Math.max(t[0] - k2, x02), y02], [Math.min(t[0] + k2, x12), y12]] : [[x02, Math.max(t[1] - k2, y02)], [x12, Math.min(t[1] + k2, y12)]]);
8132
+ return clipExtent(
8133
+ x02 == null ? [
8134
+ [t[0] - k2, t[1] - k2],
8135
+ [t[0] + k2, t[1] + k2]
8136
+ ] : project === mercatorRaw ? [
8137
+ [Math.max(t[0] - k2, x02), y02],
8138
+ [Math.min(t[0] + k2, x12), y12]
8139
+ ] : [
8140
+ [x02, Math.max(t[1] - k2, y02)],
8141
+ [x12, Math.min(t[1] + k2, y12)]
8142
+ ]
8143
+ );
7586
8144
  }
7587
8145
  return reclip();
7588
8146
  }
@@ -7606,7 +8164,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7606
8164
  }
7607
8165
  project.invert = function(x2, y2) {
7608
8166
  var fy = f - y2, r = sign(n) * sqrt(x2 * x2 + fy * fy);
7609
- return [atan2(x2, abs(fy)) / n * sign(fy), 2 * atan(pow(f / r, 1 / n)) - halfPi$2];
8167
+ return [
8168
+ atan2(x2, abs(fy)) / n * sign(fy),
8169
+ 2 * atan(pow(f / r, 1 / n)) - halfPi$2
8170
+ ];
7610
8171
  };
7611
8172
  return project;
7612
8173
  }
@@ -7630,7 +8191,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7630
8191
  }
7631
8192
  project.invert = function(x2, y2) {
7632
8193
  var gy = g - y2;
7633
- return [atan2(x2, abs(gy)) / n * sign(gy), g - sign(n) * sqrt(x2 * x2 + gy * gy)];
8194
+ return [
8195
+ atan2(x2, abs(gy)) / n * sign(gy),
8196
+ g - sign(n) * sqrt(x2 * x2 + gy * gy)
8197
+ ];
7634
8198
  };
7635
8199
  return project;
7636
8200
  }
@@ -7666,19 +8230,42 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7666
8230
  return arguments.length ? (postclip = _, x02 = y02 = x12 = y12 = null, reset()) : postclip;
7667
8231
  },
7668
8232
  clipExtent: function(_) {
7669
- return arguments.length ? (postclip = _ == null ? (x02 = y02 = x12 = y12 = null, identity$4) : clipRectangle(x02 = +_[0][0], y02 = +_[0][1], x12 = +_[1][0], y12 = +_[1][1]), reset()) : x02 == null ? null : [[x02, y02], [x12, y12]];
8233
+ return arguments.length ? (postclip = _ == null ? (x02 = y02 = x12 = y12 = null, identity$4) : clipRectangle(
8234
+ x02 = +_[0][0],
8235
+ y02 = +_[0][1],
8236
+ x12 = +_[1][0],
8237
+ y12 = +_[1][1]
8238
+ ), reset()) : x02 == null ? null : [
8239
+ [x02, y02],
8240
+ [x12, y12]
8241
+ ];
7670
8242
  },
7671
8243
  scale: function(_) {
7672
8244
  return arguments.length ? (transform$$1 = scaleTranslate((k2 = +_) * sx, k2 * sy, tx, ty), reset()) : k2;
7673
8245
  },
7674
8246
  translate: function(_) {
7675
- return arguments.length ? (transform$$1 = scaleTranslate(k2 * sx, k2 * sy, tx = +_[0], ty = +_[1]), reset()) : [tx, ty];
8247
+ return arguments.length ? (transform$$1 = scaleTranslate(
8248
+ k2 * sx,
8249
+ k2 * sy,
8250
+ tx = +_[0],
8251
+ ty = +_[1]
8252
+ ), reset()) : [tx, ty];
7676
8253
  },
7677
8254
  reflectX: function(_) {
7678
- return arguments.length ? (transform$$1 = scaleTranslate(k2 * (sx = _ ? -1 : 1), k2 * sy, tx, ty), reset()) : sx < 0;
8255
+ return arguments.length ? (transform$$1 = scaleTranslate(
8256
+ k2 * (sx = _ ? -1 : 1),
8257
+ k2 * sy,
8258
+ tx,
8259
+ ty
8260
+ ), reset()) : sx < 0;
7679
8261
  },
7680
8262
  reflectY: function(_) {
7681
- return arguments.length ? (transform$$1 = scaleTranslate(k2 * sx, k2 * (sy = _ ? -1 : 1), tx, ty), reset()) : sy < 0;
8263
+ return arguments.length ? (transform$$1 = scaleTranslate(
8264
+ k2 * sx,
8265
+ k2 * (sy = _ ? -1 : 1),
8266
+ tx,
8267
+ ty
8268
+ ), reset()) : sy < 0;
7682
8269
  },
7683
8270
  fitExtent: function(extent2, object2) {
7684
8271
  return fitExtent(projection2, extent2, object2);
@@ -7791,13 +8378,15 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
7791
8378
  }
7792
8379
  });
7793
8380
  var left2 = leafLeft(root2), right2 = leafRight(root2), x02 = left2.x - separation(left2, right2) / 2, x12 = right2.x + separation(right2, left2) / 2;
7794
- return root2.eachAfter(nodeSize ? function(node) {
7795
- node.x = (node.x - root2.x) * dx;
7796
- node.y = (root2.y - node.y) * dy;
7797
- } : function(node) {
7798
- node.x = (node.x - x02) / (x12 - x02) * dx;
7799
- node.y = (1 - (root2.y ? node.y / root2.y : 1)) * dy;
7800
- });
8381
+ return root2.eachAfter(
8382
+ nodeSize ? function(node) {
8383
+ node.x = (node.x - root2.x) * dx;
8384
+ node.y = (root2.y - node.y) * dy;
8385
+ } : function(node) {
8386
+ node.x = (node.x - x02) / (x12 - x02) * dx;
8387
+ node.y = (1 - (root2.y ? node.y / root2.y : 1)) * dy;
8388
+ }
8389
+ );
7801
8390
  }
7802
8391
  cluster2.separation = function(x2) {
7803
8392
  return arguments.length ? (separation = x2, cluster2) : separation;
@@ -8079,7 +8668,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8079
8668
  function place(a2, b, c2) {
8080
8669
  var ax = a2.x, ay = a2.y, da = b.r + c2.r, db = a2.r + c2.r, dx = b.x - ax, dy = b.y - ay, dc = dx * dx + dy * dy;
8081
8670
  if (dc) {
8082
- var x2 = 0.5 + ((db *= db) - (da *= da)) / (2 * dc), y2 = Math.sqrt(Math.max(0, 2 * da * (db + dc) - (db -= dc) * db - da * da)) / (2 * dc);
8671
+ var x2 = 0.5 + ((db *= db) - (da *= da)) / (2 * dc), y2 = Math.sqrt(
8672
+ Math.max(0, 2 * da * (db + dc) - (db -= dc) * db - da * da)
8673
+ ) / (2 * dc);
8083
8674
  c2.x = ax + x2 * dx + y2 * dy;
8084
8675
  c2.y = ay + x2 * dy - y2 * dx;
8085
8676
  } else {
@@ -8242,21 +8833,27 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8242
8833
  }
8243
8834
  };
8244
8835
  var partition = function() {
8245
- var dx = 1, dy = 1, padding = 0, round2 = false;
8836
+ var dx = 1, dy = 1, padding = 0, round = false;
8246
8837
  function partition2(root2) {
8247
8838
  var n = root2.height + 1;
8248
8839
  root2.x0 = root2.y0 = padding;
8249
8840
  root2.x1 = dx;
8250
8841
  root2.y1 = dy / n;
8251
8842
  root2.eachBefore(positionNode(dy, n));
8252
- if (round2)
8843
+ if (round)
8253
8844
  root2.eachBefore(roundNode);
8254
8845
  return root2;
8255
8846
  }
8256
8847
  function positionNode(dy2, n) {
8257
8848
  return function(node) {
8258
8849
  if (node.children) {
8259
- treemapDice(node, node.x0, dy2 * (node.depth + 1) / n, node.x1, dy2 * (node.depth + 2) / n);
8850
+ treemapDice(
8851
+ node,
8852
+ node.x0,
8853
+ dy2 * (node.depth + 1) / n,
8854
+ node.x1,
8855
+ dy2 * (node.depth + 2) / n
8856
+ );
8260
8857
  }
8261
8858
  var x02 = node.x0, y02 = node.y0, x12 = node.x1 - padding, y12 = node.y1 - padding;
8262
8859
  if (x12 < x02)
@@ -8270,7 +8867,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8270
8867
  };
8271
8868
  }
8272
8869
  partition2.round = function(x2) {
8273
- return arguments.length ? (round2 = !!x2, partition2) : round2;
8870
+ return arguments.length ? (round = !!x2, partition2) : round;
8274
8871
  };
8275
8872
  partition2.size = function(x2) {
8276
8873
  return arguments.length ? (dx = +x2[0], dy = +x2[1], partition2) : [dx, dy];
@@ -8522,11 +9119,29 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8522
9119
  }
8523
9120
  minRatio = newRatio;
8524
9121
  }
8525
- rows.push(row = { value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1) });
9122
+ rows.push(
9123
+ row = {
9124
+ value: sumValue,
9125
+ dice: dx < dy,
9126
+ children: nodes.slice(i0, i1)
9127
+ }
9128
+ );
8526
9129
  if (row.dice)
8527
- treemapDice(row, x02, y02, x12, value ? y02 += dy * sumValue / value : y12);
9130
+ treemapDice(
9131
+ row,
9132
+ x02,
9133
+ y02,
9134
+ x12,
9135
+ value ? y02 += dy * sumValue / value : y12
9136
+ );
8528
9137
  else
8529
- treemapSlice(row, x02, y02, value ? x02 += dx * sumValue / value : x12, y12);
9138
+ treemapSlice(
9139
+ row,
9140
+ x02,
9141
+ y02,
9142
+ value ? x02 += dx * sumValue / value : x12,
9143
+ y12
9144
+ );
8530
9145
  value -= sumValue, i0 = i1;
8531
9146
  }
8532
9147
  return rows;
@@ -8541,14 +9156,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8541
9156
  return squarify2;
8542
9157
  }(phi);
8543
9158
  var index$3 = function() {
8544
- var tile = squarify, round2 = false, dx = 1, dy = 1, paddingStack = [0], paddingInner = constantZero, paddingTop = constantZero, paddingRight = constantZero, paddingBottom = constantZero, paddingLeft = constantZero;
9159
+ var tile = squarify, round = false, dx = 1, dy = 1, paddingStack = [0], paddingInner = constantZero, paddingTop = constantZero, paddingRight = constantZero, paddingBottom = constantZero, paddingLeft = constantZero;
8545
9160
  function treemap(root2) {
8546
9161
  root2.x0 = root2.y0 = 0;
8547
9162
  root2.x1 = dx;
8548
9163
  root2.y1 = dy;
8549
9164
  root2.eachBefore(positionNode);
8550
9165
  paddingStack = [0];
8551
- if (round2)
9166
+ if (round)
8552
9167
  root2.eachBefore(roundNode);
8553
9168
  return root2;
8554
9169
  }
@@ -8576,7 +9191,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8576
9191
  }
8577
9192
  }
8578
9193
  treemap.round = function(x2) {
8579
- return arguments.length ? (round2 = !!x2, treemap) : round2;
9194
+ return arguments.length ? (round = !!x2, treemap) : round;
8580
9195
  };
8581
9196
  treemap.size = function(x2) {
8582
9197
  return arguments.length ? (dx = +x2[0], dy = +x2[1], treemap) : [dx, dy];
@@ -8654,9 +9269,21 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8654
9269
  for (i = row.value = 0, n = nodes.length; i < n; ++i)
8655
9270
  row.value += nodes[i].value;
8656
9271
  if (row.dice)
8657
- treemapDice(row, x02, y02, x12, y02 += (y12 - y02) * row.value / value);
9272
+ treemapDice(
9273
+ row,
9274
+ x02,
9275
+ y02,
9276
+ x12,
9277
+ y02 += (y12 - y02) * row.value / value
9278
+ );
8658
9279
  else
8659
- treemapSlice(row, x02, y02, x02 += (x12 - x02) * row.value / value, y12);
9280
+ treemapSlice(
9281
+ row,
9282
+ x02,
9283
+ y02,
9284
+ x02 += (x12 - x02) * row.value / value,
9285
+ y12
9286
+ );
8660
9287
  value -= row.value;
8661
9288
  }
8662
9289
  } else {
@@ -8698,7 +9325,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8698
9325
  function computeUpperHullIndexes(points) {
8699
9326
  var n = points.length, indexes = [0, 1], size = 2;
8700
9327
  for (var i = 2; i < n; ++i) {
8701
- while (size > 1 && cross$1(points[indexes[size - 2]], points[indexes[size - 1]], points[i]) <= 0)
9328
+ while (size > 1 && cross$1(
9329
+ points[indexes[size - 2]],
9330
+ points[indexes[size - 1]],
9331
+ points[i]
9332
+ ) <= 0)
8702
9333
  --size;
8703
9334
  indexes[size++] = i;
8704
9335
  }
@@ -8988,12 +9619,15 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
8988
9619
  headers.set(name, value + "");
8989
9620
  return request2;
8990
9621
  },
9622
+ // If mimeType is non-null and no Accept header is set, a default is used.
8991
9623
  mimeType: function(value) {
8992
9624
  if (!arguments.length)
8993
9625
  return mimeType;
8994
9626
  mimeType = value == null ? null : value + "";
8995
9627
  return request2;
8996
9628
  },
9629
+ // Specifies what type the response value should take;
9630
+ // for instance, arraybuffer, blob, document, or text.
8997
9631
  responseType: function(value) {
8998
9632
  if (!arguments.length)
8999
9633
  return responseType;
@@ -9012,16 +9646,21 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9012
9646
  password: function(value) {
9013
9647
  return arguments.length < 1 ? password : (password = value == null ? null : value + "", request2);
9014
9648
  },
9649
+ // Specify how to convert the response content to a specific type;
9650
+ // changes the callback value on "load" events.
9015
9651
  response: function(value) {
9016
9652
  response = value;
9017
9653
  return request2;
9018
9654
  },
9655
+ // Alias for send("GET", …).
9019
9656
  get: function(data, callback2) {
9020
9657
  return request2.send("GET", data, callback2);
9021
9658
  },
9659
+ // Alias for send("POST", …).
9022
9660
  post: function(data, callback2) {
9023
9661
  return request2.send("POST", data, callback2);
9024
9662
  },
9663
+ // If callback is non-null, it will be used for error and load events.
9025
9664
  send: function(method, data, callback2) {
9026
9665
  xhr.open(method, url, true, user, password);
9027
9666
  if (mimeType != null && !headers.has("accept"))
@@ -9156,16 +9795,16 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9156
9795
  return scale;
9157
9796
  }
9158
9797
  function band() {
9159
- var scale = ordinal().unknown(void 0), domain = scale.domain, ordinalRange = scale.range, range$$1 = [0, 1], step2, bandwidth, round2 = false, paddingInner = 0, paddingOuter = 0, align = 0.5;
9798
+ var scale = ordinal().unknown(void 0), domain = scale.domain, ordinalRange = scale.range, range$$1 = [0, 1], step2, bandwidth, round = false, paddingInner = 0, paddingOuter = 0, align = 0.5;
9160
9799
  delete scale.unknown;
9161
9800
  function rescale() {
9162
9801
  var n = domain().length, reverse2 = range$$1[1] < range$$1[0], start2 = range$$1[reverse2 - 0], stop = range$$1[1 - reverse2];
9163
9802
  step2 = (stop - start2) / Math.max(1, n - paddingInner + paddingOuter * 2);
9164
- if (round2)
9803
+ if (round)
9165
9804
  step2 = Math.floor(step2);
9166
9805
  start2 += (stop - start2 - step2 * (n - paddingInner)) * align;
9167
9806
  bandwidth = step2 * (1 - paddingInner);
9168
- if (round2)
9807
+ if (round)
9169
9808
  start2 = Math.round(start2), bandwidth = Math.round(bandwidth);
9170
9809
  var values2 = sequence(n).map(function(i) {
9171
9810
  return start2 + step2 * i;
@@ -9179,7 +9818,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9179
9818
  return arguments.length ? (range$$1 = [+_[0], +_[1]], rescale()) : range$$1.slice();
9180
9819
  };
9181
9820
  scale.rangeRound = function(_) {
9182
- return range$$1 = [+_[0], +_[1]], round2 = true, rescale();
9821
+ return range$$1 = [+_[0], +_[1]], round = true, rescale();
9183
9822
  };
9184
9823
  scale.bandwidth = function() {
9185
9824
  return bandwidth;
@@ -9188,7 +9827,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9188
9827
  return step2;
9189
9828
  };
9190
9829
  scale.round = function(_) {
9191
- return arguments.length ? (round2 = !!_, rescale()) : round2;
9830
+ return arguments.length ? (round = !!_, rescale()) : round;
9192
9831
  };
9193
9832
  scale.padding = function(_) {
9194
9833
  return arguments.length ? (paddingInner = paddingOuter = Math.max(0, Math.min(1, _)), rescale()) : paddingInner;
@@ -9203,7 +9842,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9203
9842
  return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;
9204
9843
  };
9205
9844
  scale.copy = function() {
9206
- return band().domain(domain()).range(range$$1).round(round2).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align);
9845
+ return band().domain(domain()).range(range$$1).round(round).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align);
9207
9846
  };
9208
9847
  return rescale();
9209
9848
  }
@@ -9286,10 +9925,20 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9286
9925
  return scale;
9287
9926
  }
9288
9927
  function scale(x2) {
9289
- return (output || (output = piecewise(domain, range2, clamp ? deinterpolateClamp(deinterpolate2) : deinterpolate2, interpolate$$1)))(+x2);
9928
+ return (output || (output = piecewise(
9929
+ domain,
9930
+ range2,
9931
+ clamp ? deinterpolateClamp(deinterpolate2) : deinterpolate2,
9932
+ interpolate$$1
9933
+ )))(+x2);
9290
9934
  }
9291
9935
  scale.invert = function(y2) {
9292
- return (input || (input = piecewise(range2, domain, deinterpolateLinear, clamp ? reinterpolateClamp(reinterpolate2) : reinterpolate2)))(+y2);
9936
+ return (input || (input = piecewise(
9937
+ range2,
9938
+ domain,
9939
+ deinterpolateLinear,
9940
+ clamp ? reinterpolateClamp(reinterpolate2) : reinterpolate2
9941
+ )))(+y2);
9293
9942
  };
9294
9943
  scale.domain = function(_) {
9295
9944
  return arguments.length ? (domain = map$3.call(_, number$2), rescale()) : domain.slice();
@@ -9323,7 +9972,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9323
9972
  case "g":
9324
9973
  case "p":
9325
9974
  case "r": {
9326
- if (specifier.precision == null && !isNaN(precision = precisionRound(step2, Math.max(Math.abs(start2), Math.abs(stop)))))
9975
+ if (specifier.precision == null && !isNaN(
9976
+ precision = precisionRound(
9977
+ step2,
9978
+ Math.max(Math.abs(start2), Math.abs(stop))
9979
+ )
9980
+ ))
9327
9981
  specifier.precision = precision - (specifier.type === "e");
9328
9982
  break;
9329
9983
  }
@@ -9504,14 +10158,16 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9504
10158
  };
9505
10159
  };
9506
10160
  scale.nice = function() {
9507
- return domain(nice(domain(), {
9508
- floor: function(x2) {
9509
- return pows(Math.floor(logs(x2)));
9510
- },
9511
- ceil: function(x2) {
9512
- return pows(Math.ceil(logs(x2)));
9513
- }
9514
- }));
10161
+ return domain(
10162
+ nice(domain(), {
10163
+ floor: function(x2) {
10164
+ return pows(Math.floor(logs(x2)));
10165
+ },
10166
+ ceil: function(x2) {
10167
+ return pows(Math.ceil(logs(x2)));
10168
+ }
10169
+ })
10170
+ );
9515
10171
  };
9516
10172
  scale.copy = function() {
9517
10173
  return copy(scale, log$1().base(base));
@@ -9635,11 +10291,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9635
10291
  };
9636
10292
  return scale;
9637
10293
  }
9638
- var t0$1 = new Date();
9639
- var t1$1 = new Date();
10294
+ var t0$1 = /* @__PURE__ */ new Date();
10295
+ var t1$1 = /* @__PURE__ */ new Date();
9640
10296
  function newInterval(floori, offseti, count2, field) {
9641
10297
  function interval2(date2) {
9642
- return floori(date2 = new Date(+date2)), date2;
10298
+ return floori(date2 = /* @__PURE__ */ new Date(+date2)), date2;
9643
10299
  }
9644
10300
  interval2.floor = interval2;
9645
10301
  interval2.ceil = function(date2) {
@@ -9650,7 +10306,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9650
10306
  return date2 - d0 < d1 - date2 ? d0 : d1;
9651
10307
  };
9652
10308
  interval2.offset = function(date2, step2) {
9653
- return offseti(date2 = new Date(+date2), step2 == null ? 1 : Math.floor(step2)), date2;
10309
+ return offseti(date2 = /* @__PURE__ */ new Date(+date2), step2 == null ? 1 : Math.floor(step2)), date2;
9654
10310
  };
9655
10311
  interval2.range = function(start2, stop, step2) {
9656
10312
  var range2 = [], previous;
@@ -9659,29 +10315,32 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9659
10315
  if (!(start2 < stop) || !(step2 > 0))
9660
10316
  return range2;
9661
10317
  do
9662
- range2.push(previous = new Date(+start2)), offseti(start2, step2), floori(start2);
10318
+ range2.push(previous = /* @__PURE__ */ new Date(+start2)), offseti(start2, step2), floori(start2);
9663
10319
  while (previous < start2 && start2 < stop);
9664
10320
  return range2;
9665
10321
  };
9666
10322
  interval2.filter = function(test) {
9667
- return newInterval(function(date2) {
9668
- if (date2 >= date2)
9669
- while (floori(date2), !test(date2))
9670
- date2.setTime(date2 - 1);
9671
- }, function(date2, step2) {
9672
- if (date2 >= date2) {
9673
- if (step2 < 0)
9674
- while (++step2 <= 0) {
9675
- while (offseti(date2, -1), !test(date2)) {
10323
+ return newInterval(
10324
+ function(date2) {
10325
+ if (date2 >= date2)
10326
+ while (floori(date2), !test(date2))
10327
+ date2.setTime(date2 - 1);
10328
+ },
10329
+ function(date2, step2) {
10330
+ if (date2 >= date2) {
10331
+ if (step2 < 0)
10332
+ while (++step2 <= 0) {
10333
+ while (offseti(date2, -1), !test(date2)) {
10334
+ }
9676
10335
  }
9677
- }
9678
- else
9679
- while (--step2 >= 0) {
9680
- while (offseti(date2, 1), !test(date2)) {
10336
+ else
10337
+ while (--step2 >= 0) {
10338
+ while (offseti(date2, 1), !test(date2)) {
10339
+ }
9681
10340
  }
9682
- }
10341
+ }
9683
10342
  }
9684
- });
10343
+ );
9685
10344
  };
9686
10345
  if (count2) {
9687
10346
  interval2.count = function(start2, end2) {
@@ -9691,34 +10350,44 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9691
10350
  };
9692
10351
  interval2.every = function(step2) {
9693
10352
  step2 = Math.floor(step2);
9694
- return !isFinite(step2) || !(step2 > 0) ? null : !(step2 > 1) ? interval2 : interval2.filter(field ? function(d) {
9695
- return field(d) % step2 === 0;
9696
- } : function(d) {
9697
- return interval2.count(0, d) % step2 === 0;
9698
- });
10353
+ return !isFinite(step2) || !(step2 > 0) ? null : !(step2 > 1) ? interval2 : interval2.filter(
10354
+ field ? function(d) {
10355
+ return field(d) % step2 === 0;
10356
+ } : function(d) {
10357
+ return interval2.count(0, d) % step2 === 0;
10358
+ }
10359
+ );
9699
10360
  };
9700
10361
  }
9701
10362
  return interval2;
9702
10363
  }
9703
- var millisecond = newInterval(function() {
9704
- }, function(date2, step2) {
9705
- date2.setTime(+date2 + step2);
9706
- }, function(start2, end2) {
9707
- return end2 - start2;
9708
- });
10364
+ var millisecond = newInterval(
10365
+ function() {
10366
+ },
10367
+ function(date2, step2) {
10368
+ date2.setTime(+date2 + step2);
10369
+ },
10370
+ function(start2, end2) {
10371
+ return end2 - start2;
10372
+ }
10373
+ );
9709
10374
  millisecond.every = function(k2) {
9710
10375
  k2 = Math.floor(k2);
9711
10376
  if (!isFinite(k2) || !(k2 > 0))
9712
10377
  return null;
9713
10378
  if (!(k2 > 1))
9714
10379
  return millisecond;
9715
- return newInterval(function(date2) {
9716
- date2.setTime(Math.floor(date2 / k2) * k2);
9717
- }, function(date2, step2) {
9718
- date2.setTime(+date2 + step2 * k2);
9719
- }, function(start2, end2) {
9720
- return (end2 - start2) / k2;
9721
- });
10380
+ return newInterval(
10381
+ function(date2) {
10382
+ date2.setTime(Math.floor(date2 / k2) * k2);
10383
+ },
10384
+ function(date2, step2) {
10385
+ date2.setTime(+date2 + step2 * k2);
10386
+ },
10387
+ function(start2, end2) {
10388
+ return (end2 - start2) / k2;
10389
+ }
10390
+ );
9722
10391
  };
9723
10392
  var milliseconds = millisecond.range;
9724
10393
  var durationSecond$1 = 1e3;
@@ -9726,58 +10395,84 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9726
10395
  var durationHour$1 = 36e5;
9727
10396
  var durationDay$1 = 864e5;
9728
10397
  var durationWeek$1 = 6048e5;
9729
- var second = newInterval(function(date2) {
9730
- date2.setTime(Math.floor(date2 / durationSecond$1) * durationSecond$1);
9731
- }, function(date2, step2) {
9732
- date2.setTime(+date2 + step2 * durationSecond$1);
9733
- }, function(start2, end2) {
9734
- return (end2 - start2) / durationSecond$1;
9735
- }, function(date2) {
9736
- return date2.getUTCSeconds();
9737
- });
10398
+ var second = newInterval(
10399
+ function(date2) {
10400
+ date2.setTime(Math.floor(date2 / durationSecond$1) * durationSecond$1);
10401
+ },
10402
+ function(date2, step2) {
10403
+ date2.setTime(+date2 + step2 * durationSecond$1);
10404
+ },
10405
+ function(start2, end2) {
10406
+ return (end2 - start2) / durationSecond$1;
10407
+ },
10408
+ function(date2) {
10409
+ return date2.getUTCSeconds();
10410
+ }
10411
+ );
9738
10412
  var seconds = second.range;
9739
- var minute = newInterval(function(date2) {
9740
- date2.setTime(Math.floor(date2 / durationMinute$1) * durationMinute$1);
9741
- }, function(date2, step2) {
9742
- date2.setTime(+date2 + step2 * durationMinute$1);
9743
- }, function(start2, end2) {
9744
- return (end2 - start2) / durationMinute$1;
9745
- }, function(date2) {
9746
- return date2.getMinutes();
9747
- });
10413
+ var minute = newInterval(
10414
+ function(date2) {
10415
+ date2.setTime(Math.floor(date2 / durationMinute$1) * durationMinute$1);
10416
+ },
10417
+ function(date2, step2) {
10418
+ date2.setTime(+date2 + step2 * durationMinute$1);
10419
+ },
10420
+ function(start2, end2) {
10421
+ return (end2 - start2) / durationMinute$1;
10422
+ },
10423
+ function(date2) {
10424
+ return date2.getMinutes();
10425
+ }
10426
+ );
9748
10427
  var minutes = minute.range;
9749
- var hour = newInterval(function(date2) {
9750
- var offset = date2.getTimezoneOffset() * durationMinute$1 % durationHour$1;
9751
- if (offset < 0)
9752
- offset += durationHour$1;
9753
- date2.setTime(Math.floor((+date2 - offset) / durationHour$1) * durationHour$1 + offset);
9754
- }, function(date2, step2) {
9755
- date2.setTime(+date2 + step2 * durationHour$1);
9756
- }, function(start2, end2) {
9757
- return (end2 - start2) / durationHour$1;
9758
- }, function(date2) {
9759
- return date2.getHours();
9760
- });
10428
+ var hour = newInterval(
10429
+ function(date2) {
10430
+ var offset = date2.getTimezoneOffset() * durationMinute$1 % durationHour$1;
10431
+ if (offset < 0)
10432
+ offset += durationHour$1;
10433
+ date2.setTime(
10434
+ Math.floor((+date2 - offset) / durationHour$1) * durationHour$1 + offset
10435
+ );
10436
+ },
10437
+ function(date2, step2) {
10438
+ date2.setTime(+date2 + step2 * durationHour$1);
10439
+ },
10440
+ function(start2, end2) {
10441
+ return (end2 - start2) / durationHour$1;
10442
+ },
10443
+ function(date2) {
10444
+ return date2.getHours();
10445
+ }
10446
+ );
9761
10447
  var hours = hour.range;
9762
- var day = newInterval(function(date2) {
9763
- date2.setHours(0, 0, 0, 0);
9764
- }, function(date2, step2) {
9765
- date2.setDate(date2.getDate() + step2);
9766
- }, function(start2, end2) {
9767
- return (end2 - start2 - (end2.getTimezoneOffset() - start2.getTimezoneOffset()) * durationMinute$1) / durationDay$1;
9768
- }, function(date2) {
9769
- return date2.getDate() - 1;
9770
- });
10448
+ var day = newInterval(
10449
+ function(date2) {
10450
+ date2.setHours(0, 0, 0, 0);
10451
+ },
10452
+ function(date2, step2) {
10453
+ date2.setDate(date2.getDate() + step2);
10454
+ },
10455
+ function(start2, end2) {
10456
+ return (end2 - start2 - (end2.getTimezoneOffset() - start2.getTimezoneOffset()) * durationMinute$1) / durationDay$1;
10457
+ },
10458
+ function(date2) {
10459
+ return date2.getDate() - 1;
10460
+ }
10461
+ );
9771
10462
  var days = day.range;
9772
10463
  function weekday(i) {
9773
- return newInterval(function(date2) {
9774
- date2.setDate(date2.getDate() - (date2.getDay() + 7 - i) % 7);
9775
- date2.setHours(0, 0, 0, 0);
9776
- }, function(date2, step2) {
9777
- date2.setDate(date2.getDate() + step2 * 7);
9778
- }, function(start2, end2) {
9779
- return (end2 - start2 - (end2.getTimezoneOffset() - start2.getTimezoneOffset()) * durationMinute$1) / durationWeek$1;
9780
- });
10464
+ return newInterval(
10465
+ function(date2) {
10466
+ date2.setDate(date2.getDate() - (date2.getDay() + 7 - i) % 7);
10467
+ date2.setHours(0, 0, 0, 0);
10468
+ },
10469
+ function(date2, step2) {
10470
+ date2.setDate(date2.getDate() + step2 * 7);
10471
+ },
10472
+ function(start2, end2) {
10473
+ return (end2 - start2 - (end2.getTimezoneOffset() - start2.getTimezoneOffset()) * durationMinute$1) / durationWeek$1;
10474
+ }
10475
+ );
9781
10476
  }
9782
10477
  var sunday = weekday(0);
9783
10478
  var monday = weekday(1);
@@ -9793,76 +10488,108 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9793
10488
  var thursdays = thursday.range;
9794
10489
  var fridays = friday.range;
9795
10490
  var saturdays = saturday.range;
9796
- var month = newInterval(function(date2) {
9797
- date2.setDate(1);
9798
- date2.setHours(0, 0, 0, 0);
9799
- }, function(date2, step2) {
9800
- date2.setMonth(date2.getMonth() + step2);
9801
- }, function(start2, end2) {
9802
- return end2.getMonth() - start2.getMonth() + (end2.getFullYear() - start2.getFullYear()) * 12;
9803
- }, function(date2) {
9804
- return date2.getMonth();
9805
- });
10491
+ var month = newInterval(
10492
+ function(date2) {
10493
+ date2.setDate(1);
10494
+ date2.setHours(0, 0, 0, 0);
10495
+ },
10496
+ function(date2, step2) {
10497
+ date2.setMonth(date2.getMonth() + step2);
10498
+ },
10499
+ function(start2, end2) {
10500
+ return end2.getMonth() - start2.getMonth() + (end2.getFullYear() - start2.getFullYear()) * 12;
10501
+ },
10502
+ function(date2) {
10503
+ return date2.getMonth();
10504
+ }
10505
+ );
9806
10506
  var months = month.range;
9807
- var year = newInterval(function(date2) {
9808
- date2.setMonth(0, 1);
9809
- date2.setHours(0, 0, 0, 0);
9810
- }, function(date2, step2) {
9811
- date2.setFullYear(date2.getFullYear() + step2);
9812
- }, function(start2, end2) {
9813
- return end2.getFullYear() - start2.getFullYear();
9814
- }, function(date2) {
9815
- return date2.getFullYear();
9816
- });
9817
- year.every = function(k2) {
9818
- return !isFinite(k2 = Math.floor(k2)) || !(k2 > 0) ? null : newInterval(function(date2) {
9819
- date2.setFullYear(Math.floor(date2.getFullYear() / k2) * k2);
10507
+ var year = newInterval(
10508
+ function(date2) {
9820
10509
  date2.setMonth(0, 1);
9821
10510
  date2.setHours(0, 0, 0, 0);
9822
- }, function(date2, step2) {
9823
- date2.setFullYear(date2.getFullYear() + step2 * k2);
9824
- });
10511
+ },
10512
+ function(date2, step2) {
10513
+ date2.setFullYear(date2.getFullYear() + step2);
10514
+ },
10515
+ function(start2, end2) {
10516
+ return end2.getFullYear() - start2.getFullYear();
10517
+ },
10518
+ function(date2) {
10519
+ return date2.getFullYear();
10520
+ }
10521
+ );
10522
+ year.every = function(k2) {
10523
+ return !isFinite(k2 = Math.floor(k2)) || !(k2 > 0) ? null : newInterval(
10524
+ function(date2) {
10525
+ date2.setFullYear(Math.floor(date2.getFullYear() / k2) * k2);
10526
+ date2.setMonth(0, 1);
10527
+ date2.setHours(0, 0, 0, 0);
10528
+ },
10529
+ function(date2, step2) {
10530
+ date2.setFullYear(date2.getFullYear() + step2 * k2);
10531
+ }
10532
+ );
9825
10533
  };
9826
10534
  var years = year.range;
9827
- var utcMinute = newInterval(function(date2) {
9828
- date2.setUTCSeconds(0, 0);
9829
- }, function(date2, step2) {
9830
- date2.setTime(+date2 + step2 * durationMinute$1);
9831
- }, function(start2, end2) {
9832
- return (end2 - start2) / durationMinute$1;
9833
- }, function(date2) {
9834
- return date2.getUTCMinutes();
9835
- });
10535
+ var utcMinute = newInterval(
10536
+ function(date2) {
10537
+ date2.setUTCSeconds(0, 0);
10538
+ },
10539
+ function(date2, step2) {
10540
+ date2.setTime(+date2 + step2 * durationMinute$1);
10541
+ },
10542
+ function(start2, end2) {
10543
+ return (end2 - start2) / durationMinute$1;
10544
+ },
10545
+ function(date2) {
10546
+ return date2.getUTCMinutes();
10547
+ }
10548
+ );
9836
10549
  var utcMinutes = utcMinute.range;
9837
- var utcHour = newInterval(function(date2) {
9838
- date2.setUTCMinutes(0, 0, 0);
9839
- }, function(date2, step2) {
9840
- date2.setTime(+date2 + step2 * durationHour$1);
9841
- }, function(start2, end2) {
9842
- return (end2 - start2) / durationHour$1;
9843
- }, function(date2) {
9844
- return date2.getUTCHours();
9845
- });
10550
+ var utcHour = newInterval(
10551
+ function(date2) {
10552
+ date2.setUTCMinutes(0, 0, 0);
10553
+ },
10554
+ function(date2, step2) {
10555
+ date2.setTime(+date2 + step2 * durationHour$1);
10556
+ },
10557
+ function(start2, end2) {
10558
+ return (end2 - start2) / durationHour$1;
10559
+ },
10560
+ function(date2) {
10561
+ return date2.getUTCHours();
10562
+ }
10563
+ );
9846
10564
  var utcHours = utcHour.range;
9847
- var utcDay = newInterval(function(date2) {
9848
- date2.setUTCHours(0, 0, 0, 0);
9849
- }, function(date2, step2) {
9850
- date2.setUTCDate(date2.getUTCDate() + step2);
9851
- }, function(start2, end2) {
9852
- return (end2 - start2) / durationDay$1;
9853
- }, function(date2) {
9854
- return date2.getUTCDate() - 1;
9855
- });
10565
+ var utcDay = newInterval(
10566
+ function(date2) {
10567
+ date2.setUTCHours(0, 0, 0, 0);
10568
+ },
10569
+ function(date2, step2) {
10570
+ date2.setUTCDate(date2.getUTCDate() + step2);
10571
+ },
10572
+ function(start2, end2) {
10573
+ return (end2 - start2) / durationDay$1;
10574
+ },
10575
+ function(date2) {
10576
+ return date2.getUTCDate() - 1;
10577
+ }
10578
+ );
9856
10579
  var utcDays = utcDay.range;
9857
10580
  function utcWeekday(i) {
9858
- return newInterval(function(date2) {
9859
- date2.setUTCDate(date2.getUTCDate() - (date2.getUTCDay() + 7 - i) % 7);
9860
- date2.setUTCHours(0, 0, 0, 0);
9861
- }, function(date2, step2) {
9862
- date2.setUTCDate(date2.getUTCDate() + step2 * 7);
9863
- }, function(start2, end2) {
9864
- return (end2 - start2) / durationWeek$1;
9865
- });
10581
+ return newInterval(
10582
+ function(date2) {
10583
+ date2.setUTCDate(date2.getUTCDate() - (date2.getUTCDay() + 7 - i) % 7);
10584
+ date2.setUTCHours(0, 0, 0, 0);
10585
+ },
10586
+ function(date2, step2) {
10587
+ date2.setUTCDate(date2.getUTCDate() + step2 * 7);
10588
+ },
10589
+ function(start2, end2) {
10590
+ return (end2 - start2) / durationWeek$1;
10591
+ }
10592
+ );
9866
10593
  }
9867
10594
  var utcSunday = utcWeekday(0);
9868
10595
  var utcMonday = utcWeekday(1);
@@ -9878,35 +10605,48 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9878
10605
  var utcThursdays = utcThursday.range;
9879
10606
  var utcFridays = utcFriday.range;
9880
10607
  var utcSaturdays = utcSaturday.range;
9881
- var utcMonth = newInterval(function(date2) {
9882
- date2.setUTCDate(1);
9883
- date2.setUTCHours(0, 0, 0, 0);
9884
- }, function(date2, step2) {
9885
- date2.setUTCMonth(date2.getUTCMonth() + step2);
9886
- }, function(start2, end2) {
9887
- return end2.getUTCMonth() - start2.getUTCMonth() + (end2.getUTCFullYear() - start2.getUTCFullYear()) * 12;
9888
- }, function(date2) {
9889
- return date2.getUTCMonth();
9890
- });
10608
+ var utcMonth = newInterval(
10609
+ function(date2) {
10610
+ date2.setUTCDate(1);
10611
+ date2.setUTCHours(0, 0, 0, 0);
10612
+ },
10613
+ function(date2, step2) {
10614
+ date2.setUTCMonth(date2.getUTCMonth() + step2);
10615
+ },
10616
+ function(start2, end2) {
10617
+ return end2.getUTCMonth() - start2.getUTCMonth() + (end2.getUTCFullYear() - start2.getUTCFullYear()) * 12;
10618
+ },
10619
+ function(date2) {
10620
+ return date2.getUTCMonth();
10621
+ }
10622
+ );
9891
10623
  var utcMonths = utcMonth.range;
9892
- var utcYear = newInterval(function(date2) {
9893
- date2.setUTCMonth(0, 1);
9894
- date2.setUTCHours(0, 0, 0, 0);
9895
- }, function(date2, step2) {
9896
- date2.setUTCFullYear(date2.getUTCFullYear() + step2);
9897
- }, function(start2, end2) {
9898
- return end2.getUTCFullYear() - start2.getUTCFullYear();
9899
- }, function(date2) {
9900
- return date2.getUTCFullYear();
9901
- });
9902
- utcYear.every = function(k2) {
9903
- return !isFinite(k2 = Math.floor(k2)) || !(k2 > 0) ? null : newInterval(function(date2) {
9904
- date2.setUTCFullYear(Math.floor(date2.getUTCFullYear() / k2) * k2);
10624
+ var utcYear = newInterval(
10625
+ function(date2) {
9905
10626
  date2.setUTCMonth(0, 1);
9906
10627
  date2.setUTCHours(0, 0, 0, 0);
9907
- }, function(date2, step2) {
9908
- date2.setUTCFullYear(date2.getUTCFullYear() + step2 * k2);
9909
- });
10628
+ },
10629
+ function(date2, step2) {
10630
+ date2.setUTCFullYear(date2.getUTCFullYear() + step2);
10631
+ },
10632
+ function(start2, end2) {
10633
+ return end2.getUTCFullYear() - start2.getUTCFullYear();
10634
+ },
10635
+ function(date2) {
10636
+ return date2.getUTCFullYear();
10637
+ }
10638
+ );
10639
+ utcYear.every = function(k2) {
10640
+ return !isFinite(k2 = Math.floor(k2)) || !(k2 > 0) ? null : newInterval(
10641
+ function(date2) {
10642
+ date2.setUTCFullYear(Math.floor(date2.getUTCFullYear() / k2) * k2);
10643
+ date2.setUTCMonth(0, 1);
10644
+ date2.setUTCHours(0, 0, 0, 0);
10645
+ },
10646
+ function(date2, step2) {
10647
+ date2.setUTCFullYear(date2.getUTCFullYear() + step2 * k2);
10648
+ }
10649
+ );
9910
10650
  };
9911
10651
  var utcYears = utcYear.range;
9912
10652
  function localDate(d) {
@@ -9932,96 +10672,96 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
9932
10672
  var locale_dateTime = locale2.dateTime, locale_date = locale2.date, locale_time = locale2.time, locale_periods = locale2.periods, locale_weekdays = locale2.days, locale_shortWeekdays = locale2.shortDays, locale_months = locale2.months, locale_shortMonths = locale2.shortMonths;
9933
10673
  var periodRe = formatRe(locale_periods), periodLookup = formatLookup(locale_periods), weekdayRe = formatRe(locale_weekdays), weekdayLookup = formatLookup(locale_weekdays), shortWeekdayRe = formatRe(locale_shortWeekdays), shortWeekdayLookup = formatLookup(locale_shortWeekdays), monthRe = formatRe(locale_months), monthLookup = formatLookup(locale_months), shortMonthRe = formatRe(locale_shortMonths), shortMonthLookup = formatLookup(locale_shortMonths);
9934
10674
  var formats = {
9935
- "a": formatShortWeekday,
9936
- "A": formatWeekday,
9937
- "b": formatShortMonth,
9938
- "B": formatMonth,
9939
- "c": null,
9940
- "d": formatDayOfMonth,
9941
- "e": formatDayOfMonth,
9942
- "f": formatMicroseconds,
9943
- "H": formatHour24,
9944
- "I": formatHour12,
9945
- "j": formatDayOfYear,
9946
- "L": formatMilliseconds,
9947
- "m": formatMonthNumber,
9948
- "M": formatMinutes,
9949
- "p": formatPeriod,
9950
- "Q": formatUnixTimestamp,
9951
- "s": formatUnixTimestampSeconds,
9952
- "S": formatSeconds,
9953
- "u": formatWeekdayNumberMonday,
9954
- "U": formatWeekNumberSunday,
9955
- "V": formatWeekNumberISO,
9956
- "w": formatWeekdayNumberSunday,
9957
- "W": formatWeekNumberMonday,
9958
- "x": null,
9959
- "X": null,
9960
- "y": formatYear,
9961
- "Y": formatFullYear,
9962
- "Z": formatZone,
10675
+ a: formatShortWeekday,
10676
+ A: formatWeekday,
10677
+ b: formatShortMonth,
10678
+ B: formatMonth,
10679
+ c: null,
10680
+ d: formatDayOfMonth,
10681
+ e: formatDayOfMonth,
10682
+ f: formatMicroseconds,
10683
+ H: formatHour24,
10684
+ I: formatHour12,
10685
+ j: formatDayOfYear,
10686
+ L: formatMilliseconds,
10687
+ m: formatMonthNumber,
10688
+ M: formatMinutes,
10689
+ p: formatPeriod,
10690
+ Q: formatUnixTimestamp,
10691
+ s: formatUnixTimestampSeconds,
10692
+ S: formatSeconds,
10693
+ u: formatWeekdayNumberMonday,
10694
+ U: formatWeekNumberSunday,
10695
+ V: formatWeekNumberISO,
10696
+ w: formatWeekdayNumberSunday,
10697
+ W: formatWeekNumberMonday,
10698
+ x: null,
10699
+ X: null,
10700
+ y: formatYear,
10701
+ Y: formatFullYear,
10702
+ Z: formatZone,
9963
10703
  "%": formatLiteralPercent
9964
10704
  };
9965
10705
  var utcFormats = {
9966
- "a": formatUTCShortWeekday,
9967
- "A": formatUTCWeekday,
9968
- "b": formatUTCShortMonth,
9969
- "B": formatUTCMonth,
9970
- "c": null,
9971
- "d": formatUTCDayOfMonth,
9972
- "e": formatUTCDayOfMonth,
9973
- "f": formatUTCMicroseconds,
9974
- "H": formatUTCHour24,
9975
- "I": formatUTCHour12,
9976
- "j": formatUTCDayOfYear,
9977
- "L": formatUTCMilliseconds,
9978
- "m": formatUTCMonthNumber,
9979
- "M": formatUTCMinutes,
9980
- "p": formatUTCPeriod,
9981
- "Q": formatUnixTimestamp,
9982
- "s": formatUnixTimestampSeconds,
9983
- "S": formatUTCSeconds,
9984
- "u": formatUTCWeekdayNumberMonday,
9985
- "U": formatUTCWeekNumberSunday,
9986
- "V": formatUTCWeekNumberISO,
9987
- "w": formatUTCWeekdayNumberSunday,
9988
- "W": formatUTCWeekNumberMonday,
9989
- "x": null,
9990
- "X": null,
9991
- "y": formatUTCYear,
9992
- "Y": formatUTCFullYear,
9993
- "Z": formatUTCZone,
10706
+ a: formatUTCShortWeekday,
10707
+ A: formatUTCWeekday,
10708
+ b: formatUTCShortMonth,
10709
+ B: formatUTCMonth,
10710
+ c: null,
10711
+ d: formatUTCDayOfMonth,
10712
+ e: formatUTCDayOfMonth,
10713
+ f: formatUTCMicroseconds,
10714
+ H: formatUTCHour24,
10715
+ I: formatUTCHour12,
10716
+ j: formatUTCDayOfYear,
10717
+ L: formatUTCMilliseconds,
10718
+ m: formatUTCMonthNumber,
10719
+ M: formatUTCMinutes,
10720
+ p: formatUTCPeriod,
10721
+ Q: formatUnixTimestamp,
10722
+ s: formatUnixTimestampSeconds,
10723
+ S: formatUTCSeconds,
10724
+ u: formatUTCWeekdayNumberMonday,
10725
+ U: formatUTCWeekNumberSunday,
10726
+ V: formatUTCWeekNumberISO,
10727
+ w: formatUTCWeekdayNumberSunday,
10728
+ W: formatUTCWeekNumberMonday,
10729
+ x: null,
10730
+ X: null,
10731
+ y: formatUTCYear,
10732
+ Y: formatUTCFullYear,
10733
+ Z: formatUTCZone,
9994
10734
  "%": formatLiteralPercent
9995
10735
  };
9996
10736
  var parses = {
9997
- "a": parseShortWeekday,
9998
- "A": parseWeekday,
9999
- "b": parseShortMonth,
10000
- "B": parseMonth,
10001
- "c": parseLocaleDateTime,
10002
- "d": parseDayOfMonth,
10003
- "e": parseDayOfMonth,
10004
- "f": parseMicroseconds,
10005
- "H": parseHour24,
10006
- "I": parseHour24,
10007
- "j": parseDayOfYear,
10008
- "L": parseMilliseconds,
10009
- "m": parseMonthNumber,
10010
- "M": parseMinutes,
10011
- "p": parsePeriod,
10012
- "Q": parseUnixTimestamp,
10013
- "s": parseUnixTimestampSeconds,
10014
- "S": parseSeconds,
10015
- "u": parseWeekdayNumberMonday,
10016
- "U": parseWeekNumberSunday,
10017
- "V": parseWeekNumberISO,
10018
- "w": parseWeekdayNumberSunday,
10019
- "W": parseWeekNumberMonday,
10020
- "x": parseLocaleDate,
10021
- "X": parseLocaleTime,
10022
- "y": parseYear,
10023
- "Y": parseFullYear,
10024
- "Z": parseZone,
10737
+ a: parseShortWeekday,
10738
+ A: parseWeekday,
10739
+ b: parseShortMonth,
10740
+ B: parseMonth,
10741
+ c: parseLocaleDateTime,
10742
+ d: parseDayOfMonth,
10743
+ e: parseDayOfMonth,
10744
+ f: parseMicroseconds,
10745
+ H: parseHour24,
10746
+ I: parseHour24,
10747
+ j: parseDayOfYear,
10748
+ L: parseMilliseconds,
10749
+ m: parseMonthNumber,
10750
+ M: parseMinutes,
10751
+ p: parsePeriod,
10752
+ Q: parseUnixTimestamp,
10753
+ s: parseUnixTimestampSeconds,
10754
+ S: parseSeconds,
10755
+ u: parseWeekdayNumberMonday,
10756
+ U: parseWeekNumberSunday,
10757
+ V: parseWeekNumberISO,
10758
+ w: parseWeekdayNumberSunday,
10759
+ W: parseWeekNumberMonday,
10760
+ x: parseLocaleDate,
10761
+ X: parseLocaleTime,
10762
+ y: parseYear,
10763
+ Y: parseFullYear,
10764
+ Z: parseZone,
10025
10765
  "%": parseLiteralPercent
10026
10766
  };
10027
10767
  formats.x = newFormat(locale_date, formats);
@@ -10034,7 +10774,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10034
10774
  return function(date2) {
10035
10775
  var string = [], i = -1, j = 0, n = specifier.length, c2, pad2, format;
10036
10776
  if (!(date2 instanceof Date))
10037
- date2 = new Date(+date2);
10777
+ date2 = /* @__PURE__ */ new Date(+date2);
10038
10778
  while (++i < n) {
10039
10779
  if (specifier.charCodeAt(i) === 37) {
10040
10780
  string.push(specifier.slice(j, i));
@@ -10203,7 +10943,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10203
10943
  }
10204
10944
  };
10205
10945
  }
10206
- var pads = { "-": "", "_": " ", "0": "0" };
10946
+ var pads = { "-": "", _: " ", 0: "0" };
10207
10947
  var numberRe = /^\s*\d+/;
10208
10948
  var percentRe = /^%/;
10209
10949
  var requoteRe = /[\\^$*+?|[\]().{}]/g;
@@ -10391,7 +11131,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10391
11131
  function formatUTCWeekNumberISO(d, p) {
10392
11132
  var day$$1 = d.getUTCDay();
10393
11133
  d = day$$1 >= 4 || day$$1 === 0 ? utcThursday(d) : utcThursday.ceil(d);
10394
- return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
11134
+ return pad(
11135
+ utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4),
11136
+ p,
11137
+ 2
11138
+ );
10395
11139
  }
10396
11140
  function formatUTCWeekdayNumberSunday(d) {
10397
11141
  return d.getUTCDay();
@@ -10423,10 +11167,44 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10423
11167
  date: "%-m/%-d/%Y",
10424
11168
  time: "%-I:%M:%S %p",
10425
11169
  periods: ["AM", "PM"],
10426
- days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
11170
+ days: [
11171
+ "Sunday",
11172
+ "Monday",
11173
+ "Tuesday",
11174
+ "Wednesday",
11175
+ "Thursday",
11176
+ "Friday",
11177
+ "Saturday"
11178
+ ],
10427
11179
  shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
10428
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
10429
- shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
11180
+ months: [
11181
+ "January",
11182
+ "February",
11183
+ "March",
11184
+ "April",
11185
+ "May",
11186
+ "June",
11187
+ "July",
11188
+ "August",
11189
+ "September",
11190
+ "October",
11191
+ "November",
11192
+ "December"
11193
+ ],
11194
+ shortMonths: [
11195
+ "Jan",
11196
+ "Feb",
11197
+ "Mar",
11198
+ "Apr",
11199
+ "May",
11200
+ "Jun",
11201
+ "Jul",
11202
+ "Aug",
11203
+ "Sep",
11204
+ "Oct",
11205
+ "Nov",
11206
+ "Dec"
11207
+ ]
10430
11208
  });
10431
11209
  function defaultLocale$1(definition) {
10432
11210
  locale$1 = formatLocale$1(definition);
@@ -10445,7 +11223,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10445
11223
  var date2 = new Date(string);
10446
11224
  return isNaN(date2) ? null : date2;
10447
11225
  }
10448
- var parseIso = +new Date("2000-01-01T00:00:00.000Z") ? parseIsoNative : exports2.utcParse(isoSpecifier);
11226
+ var parseIso = +/* @__PURE__ */ new Date("2000-01-01T00:00:00.000Z") ? parseIsoNative : exports2.utcParse(isoSpecifier);
10449
11227
  var durationSecond = 1e3;
10450
11228
  var durationMinute = durationSecond * 60;
10451
11229
  var durationHour = durationMinute * 60;
@@ -10457,7 +11235,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10457
11235
  return new Date(t);
10458
11236
  }
10459
11237
  function number$3(t) {
10460
- return t instanceof Date ? +t : +new Date(+t);
11238
+ return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
10461
11239
  }
10462
11240
  function calendar(year$$1, month$$1, week, day$$1, hour$$1, minute$$1, second$$1, millisecond$$1, format) {
10463
11241
  var scale = continuous(deinterpolateLinear, reinterpolate), invert = scale.invert, domain = scale.domain;
@@ -10528,26 +11306,70 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10528
11306
  return (interval2 = tickInterval(interval2, d[0], d[d.length - 1], step2)) ? domain(nice(d, interval2)) : scale;
10529
11307
  };
10530
11308
  scale.copy = function() {
10531
- return copy(scale, calendar(year$$1, month$$1, week, day$$1, hour$$1, minute$$1, second$$1, millisecond$$1, format));
11309
+ return copy(
11310
+ scale,
11311
+ calendar(
11312
+ year$$1,
11313
+ month$$1,
11314
+ week,
11315
+ day$$1,
11316
+ hour$$1,
11317
+ minute$$1,
11318
+ second$$1,
11319
+ millisecond$$1,
11320
+ format
11321
+ )
11322
+ );
10532
11323
  };
10533
11324
  return scale;
10534
11325
  }
10535
11326
  var time = function() {
10536
- return calendar(year, month, sunday, day, hour, minute, second, millisecond, exports2.timeFormat).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]);
11327
+ return calendar(
11328
+ year,
11329
+ month,
11330
+ sunday,
11331
+ day,
11332
+ hour,
11333
+ minute,
11334
+ second,
11335
+ millisecond,
11336
+ exports2.timeFormat
11337
+ ).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]);
10537
11338
  };
10538
11339
  var utcTime = function() {
10539
- return calendar(utcYear, utcMonth, utcSunday, utcDay, utcHour, utcMinute, second, millisecond, exports2.utcFormat).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]);
11340
+ return calendar(
11341
+ utcYear,
11342
+ utcMonth,
11343
+ utcSunday,
11344
+ utcDay,
11345
+ utcHour,
11346
+ utcMinute,
11347
+ second,
11348
+ millisecond,
11349
+ exports2.utcFormat
11350
+ ).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]);
10540
11351
  };
10541
11352
  var colors = function(s2) {
10542
11353
  return s2.match(/.{6}/g).map(function(x2) {
10543
11354
  return "#" + x2;
10544
11355
  });
10545
11356
  };
10546
- var category10 = colors("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");
10547
- var category20b = colors("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6");
10548
- var category20c = colors("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9");
10549
- var category20 = colors("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");
10550
- var cubehelix$3 = cubehelixLong(cubehelix(300, 0.5, 0), cubehelix(-240, 0.5, 1));
11357
+ var category10 = colors(
11358
+ "1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"
11359
+ );
11360
+ var category20b = colors(
11361
+ "393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"
11362
+ );
11363
+ var category20c = colors(
11364
+ "3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"
11365
+ );
11366
+ var category20 = colors(
11367
+ "1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"
11368
+ );
11369
+ var cubehelix$3 = cubehelixLong(
11370
+ cubehelix(300, 0.5, 0),
11371
+ cubehelix(-240, 0.5, 1)
11372
+ );
10551
11373
  var warm = cubehelixLong(cubehelix(-100, 0.75, 0.35), cubehelix(80, 1.5, 0.8));
10552
11374
  var cool = cubehelixLong(cubehelix(260, 0.75, 0.35), cubehelix(80, 1.5, 0.8));
10553
11375
  var rainbow = cubehelix();
@@ -10566,10 +11388,26 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10566
11388
  return range2[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];
10567
11389
  };
10568
11390
  }
10569
- var viridis = ramp(colors("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));
10570
- var magma = ramp(colors("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));
10571
- var inferno = ramp(colors("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));
10572
- var plasma = ramp(colors("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
11391
+ var viridis = ramp(
11392
+ colors(
11393
+ "44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"
11394
+ )
11395
+ );
11396
+ var magma = ramp(
11397
+ colors(
11398
+ "00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"
11399
+ )
11400
+ );
11401
+ var inferno = ramp(
11402
+ colors(
11403
+ "00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"
11404
+ )
11405
+ );
11406
+ var plasma = ramp(
11407
+ colors(
11408
+ "0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"
11409
+ )
11410
+ );
10573
11411
  function sequential(interpolator) {
10574
11412
  var x02 = 0, x12 = 1, clamp = false;
10575
11413
  function scale(x2) {
@@ -10678,7 +11516,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10678
11516
  if (rc > epsilon$3) {
10679
11517
  var x11 = r1 * cos$2(a11), y11 = r1 * sin$2(a11), x002 = r0 * cos$2(a00), y002 = r0 * sin$2(a00);
10680
11518
  if (da < pi$4) {
10681
- var oc = da0 > epsilon$3 ? intersect(x01, y01, x002, y002, x11, y11, x10, y10) : [x10, y10], ax = x01 - oc[0], ay = y01 - oc[1], bx = x11 - oc[0], by = y11 - oc[1], kc = 1 / sin$2(acos$1((ax * bx + ay * by) / (sqrt$2(ax * ax + ay * ay) * sqrt$2(bx * bx + by * by))) / 2), lc = sqrt$2(oc[0] * oc[0] + oc[1] * oc[1]);
11519
+ var oc = da0 > epsilon$3 ? intersect(x01, y01, x002, y002, x11, y11, x10, y10) : [x10, y10], ax = x01 - oc[0], ay = y01 - oc[1], bx = x11 - oc[0], by = y11 - oc[1], kc = 1 / sin$2(
11520
+ acos$1(
11521
+ (ax * bx + ay * by) / (sqrt$2(ax * ax + ay * ay) * sqrt$2(bx * bx + by * by))
11522
+ ) / 2
11523
+ ), lc = sqrt$2(oc[0] * oc[0] + oc[1] * oc[1]);
10682
11524
  rc0 = min$1(rc, (r0 - lc) / (kc - 1));
10683
11525
  rc1 = min$1(rc, (r1 - lc) / (kc + 1));
10684
11526
  }
@@ -10690,11 +11532,39 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10690
11532
  t12 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);
10691
11533
  context.moveTo(t02.cx + t02.x01, t02.cy + t02.y01);
10692
11534
  if (rc1 < rc)
10693
- context.arc(t02.cx, t02.cy, rc1, atan2$1(t02.y01, t02.x01), atan2$1(t12.y01, t12.x01), !cw);
11535
+ context.arc(
11536
+ t02.cx,
11537
+ t02.cy,
11538
+ rc1,
11539
+ atan2$1(t02.y01, t02.x01),
11540
+ atan2$1(t12.y01, t12.x01),
11541
+ !cw
11542
+ );
10694
11543
  else {
10695
- context.arc(t02.cx, t02.cy, rc1, atan2$1(t02.y01, t02.x01), atan2$1(t02.y11, t02.x11), !cw);
10696
- context.arc(0, 0, r1, atan2$1(t02.cy + t02.y11, t02.cx + t02.x11), atan2$1(t12.cy + t12.y11, t12.cx + t12.x11), !cw);
10697
- context.arc(t12.cx, t12.cy, rc1, atan2$1(t12.y11, t12.x11), atan2$1(t12.y01, t12.x01), !cw);
11544
+ context.arc(
11545
+ t02.cx,
11546
+ t02.cy,
11547
+ rc1,
11548
+ atan2$1(t02.y01, t02.x01),
11549
+ atan2$1(t02.y11, t02.x11),
11550
+ !cw
11551
+ );
11552
+ context.arc(
11553
+ 0,
11554
+ 0,
11555
+ r1,
11556
+ atan2$1(t02.cy + t02.y11, t02.cx + t02.x11),
11557
+ atan2$1(t12.cy + t12.y11, t12.cx + t12.x11),
11558
+ !cw
11559
+ );
11560
+ context.arc(
11561
+ t12.cx,
11562
+ t12.cy,
11563
+ rc1,
11564
+ atan2$1(t12.y11, t12.x11),
11565
+ atan2$1(t12.y01, t12.x01),
11566
+ !cw
11567
+ );
10698
11568
  }
10699
11569
  } else
10700
11570
  context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);
@@ -10705,11 +11575,39 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10705
11575
  t12 = cornerTangents(x01, y01, x002, y002, r0, -rc0, cw);
10706
11576
  context.lineTo(t02.cx + t02.x01, t02.cy + t02.y01);
10707
11577
  if (rc0 < rc)
10708
- context.arc(t02.cx, t02.cy, rc0, atan2$1(t02.y01, t02.x01), atan2$1(t12.y01, t12.x01), !cw);
11578
+ context.arc(
11579
+ t02.cx,
11580
+ t02.cy,
11581
+ rc0,
11582
+ atan2$1(t02.y01, t02.x01),
11583
+ atan2$1(t12.y01, t12.x01),
11584
+ !cw
11585
+ );
10709
11586
  else {
10710
- context.arc(t02.cx, t02.cy, rc0, atan2$1(t02.y01, t02.x01), atan2$1(t02.y11, t02.x11), !cw);
10711
- context.arc(0, 0, r0, atan2$1(t02.cy + t02.y11, t02.cx + t02.x11), atan2$1(t12.cy + t12.y11, t12.cx + t12.x11), cw);
10712
- context.arc(t12.cx, t12.cy, rc0, atan2$1(t12.y11, t12.x11), atan2$1(t12.y01, t12.x01), !cw);
11587
+ context.arc(
11588
+ t02.cx,
11589
+ t02.cy,
11590
+ rc0,
11591
+ atan2$1(t02.y01, t02.x01),
11592
+ atan2$1(t02.y11, t02.x11),
11593
+ !cw
11594
+ );
11595
+ context.arc(
11596
+ 0,
11597
+ 0,
11598
+ r0,
11599
+ atan2$1(t02.cy + t02.y11, t02.cx + t02.x11),
11600
+ atan2$1(t12.cy + t12.y11, t12.cx + t12.x11),
11601
+ cw
11602
+ );
11603
+ context.arc(
11604
+ t12.cx,
11605
+ t12.cy,
11606
+ rc0,
11607
+ atan2$1(t12.y11, t12.x11),
11608
+ atan2$1(t12.y01, t12.x01),
11609
+ !cw
11610
+ );
10713
11611
  }
10714
11612
  } else
10715
11613
  context.arc(0, 0, r0, a10, a00, cw);
@@ -10850,7 +11748,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10850
11748
  }
10851
11749
  if (defined0) {
10852
11750
  x0z[i] = +x02(d, i, data), y0z[i] = +y02(d, i, data);
10853
- output.point(x12 ? +x12(d, i, data) : x0z[i], y12 ? +y12(d, i, data) : y0z[i]);
11751
+ output.point(
11752
+ x12 ? +x12(d, i, data) : x0z[i],
11753
+ y12 ? +y12(d, i, data) : y0z[i]
11754
+ );
10854
11755
  }
10855
11756
  }
10856
11757
  if (buffer)
@@ -10906,7 +11807,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
10906
11807
  var pie = function() {
10907
11808
  var value = identity$7, sortValues = descending$1, sort = null, startAngle = constant$10(0), endAngle = constant$10(tau$4), padAngle = constant$10(0);
10908
11809
  function pie2(data) {
10909
- var i, n = data.length, j, k2, sum2 = 0, index2 = new Array(n), arcs = new Array(n), a0 = +startAngle.apply(this, arguments), da = Math.min(tau$4, Math.max(-tau$4, endAngle.apply(this, arguments) - a0)), a1, p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)), pa = p * (da < 0 ? -1 : 1), v;
11810
+ var i, n = data.length, j, k2, sum2 = 0, index2 = new Array(n), arcs = new Array(n), a0 = +startAngle.apply(this, arguments), da = Math.min(
11811
+ tau$4,
11812
+ Math.max(-tau$4, endAngle.apply(this, arguments) - a0)
11813
+ ), a1, p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)), pa = p * (da < 0 ? -1 : 1), v;
10910
11814
  for (i = 0; i < n; ++i) {
10911
11815
  if ((v = arcs[index2[i] = i] = +value(data[i], i, data)) > 0) {
10912
11816
  sum2 += v;
@@ -11033,7 +11937,13 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11033
11937
  var buffer, argv = slice$6.call(arguments), s2 = source.apply(this, argv), t = target.apply(this, argv);
11034
11938
  if (!context)
11035
11939
  context = buffer = path();
11036
- curve(context, +x$$1.apply(this, (argv[0] = s2, argv)), +y$$1.apply(this, argv), +x$$1.apply(this, (argv[0] = t, argv)), +y$$1.apply(this, argv));
11940
+ curve(
11941
+ context,
11942
+ +x$$1.apply(this, (argv[0] = s2, argv)),
11943
+ +y$$1.apply(this, argv),
11944
+ +x$$1.apply(this, (argv[0] = t, argv)),
11945
+ +y$$1.apply(this, argv)
11946
+ );
11037
11947
  if (buffer)
11038
11948
  return context = null, buffer + "" || null;
11039
11949
  }
@@ -11168,15 +12078,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11168
12078
  context.closePath();
11169
12079
  }
11170
12080
  };
11171
- var symbols = [
11172
- circle$2,
11173
- cross$2,
11174
- diamond,
11175
- square,
11176
- star,
11177
- triangle,
11178
- wye
11179
- ];
12081
+ var symbols = [circle$2, cross$2, diamond, square, star, triangle, wye];
11180
12082
  var symbol = function() {
11181
12083
  var type2 = constant$10(circle$2), size = constant$10(64), context = null;
11182
12084
  function symbol2() {
@@ -11248,7 +12150,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11248
12150
  break;
11249
12151
  case 2:
11250
12152
  this._point = 3;
11251
- this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
12153
+ this._context.lineTo(
12154
+ (5 * this._x0 + this._x1) / 6,
12155
+ (5 * this._y0 + this._y1) / 6
12156
+ );
11252
12157
  default:
11253
12158
  point$2(this, x2, y2);
11254
12159
  break;
@@ -11278,8 +12183,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11278
12183
  break;
11279
12184
  }
11280
12185
  case 2: {
11281
- this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);
11282
- this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);
12186
+ this._context.moveTo(
12187
+ (this._x2 + 2 * this._x3) / 3,
12188
+ (this._y2 + 2 * this._y3) / 3
12189
+ );
12190
+ this._context.lineTo(
12191
+ (this._x3 + 2 * this._x2) / 3,
12192
+ (this._y3 + 2 * this._y2) / 3
12193
+ );
11283
12194
  this._context.closePath();
11284
12195
  break;
11285
12196
  }
@@ -11305,7 +12216,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11305
12216
  case 2:
11306
12217
  this._point = 3;
11307
12218
  this._x4 = x2, this._y4 = y2;
11308
- this._context.moveTo((this._x0 + 4 * this._x1 + x2) / 6, (this._y0 + 4 * this._y1 + y2) / 6);
12219
+ this._context.moveTo(
12220
+ (this._x0 + 4 * this._x1 + x2) / 6,
12221
+ (this._y0 + 4 * this._y1 + y2) / 6
12222
+ );
11309
12223
  break;
11310
12224
  default:
11311
12225
  point$2(this, x2, y2);
@@ -11632,7 +12546,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11632
12546
  x2 = +x2, y2 = +y2;
11633
12547
  if (this._point) {
11634
12548
  var x23 = this._x2 - x2, y23 = this._y2 - y2;
11635
- this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
12549
+ this._l23_a = Math.sqrt(
12550
+ this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)
12551
+ );
11636
12552
  }
11637
12553
  switch (this._point) {
11638
12554
  case 0:
@@ -11698,7 +12614,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11698
12614
  x2 = +x2, y2 = +y2;
11699
12615
  if (this._point) {
11700
12616
  var x23 = this._x2 - x2, y23 = this._y2 - y2;
11701
- this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
12617
+ this._l23_a = Math.sqrt(
12618
+ this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)
12619
+ );
11702
12620
  }
11703
12621
  switch (this._point) {
11704
12622
  case 0:
@@ -11756,7 +12674,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11756
12674
  x2 = +x2, y2 = +y2;
11757
12675
  if (this._point) {
11758
12676
  var x23 = this._x2 - x2, y23 = this._y2 - y2;
11759
- this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
12677
+ this._l23_a = Math.sqrt(
12678
+ this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)
12679
+ );
11760
12680
  }
11761
12681
  switch (this._point) {
11762
12682
  case 0:
@@ -11827,7 +12747,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11827
12747
  }
11828
12748
  function point$5(that, t02, t12) {
11829
12749
  var x02 = that._x0, y02 = that._y0, x12 = that._x1, y12 = that._y1, dx = (x12 - x02) / 3;
11830
- that._context.bezierCurveTo(x02 + dx, y02 + dx * t02, x12 - dx, y12 - dx * t12, x12, y12);
12750
+ that._context.bezierCurveTo(
12751
+ x02 + dx,
12752
+ y02 + dx * t02,
12753
+ x12 - dx,
12754
+ y12 - dx * t12,
12755
+ x12,
12756
+ y12
12757
+ );
11831
12758
  }
11832
12759
  function MonotoneX(context) {
11833
12760
  this._context = context;
@@ -11934,7 +12861,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
11934
12861
  } else {
11935
12862
  var px = controlPoints(x2), py = controlPoints(y2);
11936
12863
  for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {
11937
- this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x2[i1], y2[i1]);
12864
+ this._context.bezierCurveTo(
12865
+ px[0][i0],
12866
+ py[0][i0],
12867
+ px[1][i0],
12868
+ py[1][i0],
12869
+ x2[i1],
12870
+ y2[i1]
12871
+ );
11938
12872
  }
11939
12873
  }
11940
12874
  }
@@ -12179,7 +13113,12 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
12179
13113
  this._ = null;
12180
13114
  }
12181
13115
  function RedBlackNode(node) {
12182
- node.U = node.C = node.L = node.R = node.P = node.N = null;
13116
+ node.U = // parent node
13117
+ node.C = // color - true for red, false for black
13118
+ node.L = // left node
13119
+ node.R = // right node
13120
+ node.P = // previous node
13121
+ node.N = null;
12183
13122
  }
12184
13123
  RedBlackTree.prototype = {
12185
13124
  constructor: RedBlackTree,
@@ -12616,13 +13555,22 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
12616
13555
  iHalfedge = 0, nHalfedges = halfedges.length;
12617
13556
  while (iHalfedge < nHalfedges) {
12618
13557
  end2 = cellHalfedgeEnd(cell, edges[halfedges[iHalfedge]]), endX = end2[0], endY = end2[1];
12619
- start2 = cellHalfedgeStart(cell, edges[halfedges[++iHalfedge % nHalfedges]]), startX = start2[0], startY = start2[1];
13558
+ start2 = cellHalfedgeStart(
13559
+ cell,
13560
+ edges[halfedges[++iHalfedge % nHalfedges]]
13561
+ ), startX = start2[0], startY = start2[1];
12620
13562
  if (Math.abs(endX - startX) > epsilon$4 || Math.abs(endY - startY) > epsilon$4) {
12621
- halfedges.splice(iHalfedge, 0, edges.push(createBorderEdge(
12622
- site,
12623
- end2,
12624
- Math.abs(endX - x02) < epsilon$4 && y12 - endY > epsilon$4 ? [x02, Math.abs(startX - x02) < epsilon$4 ? startY : y12] : Math.abs(endY - y12) < epsilon$4 && x12 - endX > epsilon$4 ? [Math.abs(startY - y12) < epsilon$4 ? startX : x12, y12] : Math.abs(endX - x12) < epsilon$4 && endY - y02 > epsilon$4 ? [x12, Math.abs(startX - x12) < epsilon$4 ? startY : y02] : Math.abs(endY - y02) < epsilon$4 && endX - x02 > epsilon$4 ? [Math.abs(startY - y02) < epsilon$4 ? startX : x02, y02] : null
12625
- )) - 1);
13563
+ halfedges.splice(
13564
+ iHalfedge,
13565
+ 0,
13566
+ edges.push(
13567
+ createBorderEdge(
13568
+ site,
13569
+ end2,
13570
+ Math.abs(endX - x02) < epsilon$4 && y12 - endY > epsilon$4 ? [x02, Math.abs(startX - x02) < epsilon$4 ? startY : y12] : Math.abs(endY - y12) < epsilon$4 && x12 - endX > epsilon$4 ? [Math.abs(startY - y12) < epsilon$4 ? startX : x12, y12] : Math.abs(endX - x12) < epsilon$4 && endY - y02 > epsilon$4 ? [x12, Math.abs(startX - x12) < epsilon$4 ? startY : y02] : Math.abs(endY - y02) < epsilon$4 && endX - x02 > epsilon$4 ? [Math.abs(startY - y02) < epsilon$4 ? startX : x02, y02] : null
13571
+ )
13572
+ ) - 1
13573
+ );
12626
13574
  ++nHalfedges;
12627
13575
  }
12628
13576
  }
@@ -12834,7 +13782,9 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
12834
13782
  return lfocx;
12835
13783
  var hl = lfocx - rfocx, aby2 = 1 / pby2 - 1 / plby2, b = hl / plby2;
12836
13784
  if (aby2)
12837
- return (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;
13785
+ return (-b + Math.sqrt(
13786
+ b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2)
13787
+ )) / aby2 + rfocx;
12838
13788
  return (rfocx + lfocx) / 2;
12839
13789
  }
12840
13790
  function rightBreakPoint(arc2, directrix) {
@@ -12949,12 +13899,18 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
12949
13899
  var voronoi = function() {
12950
13900
  var x$$1 = x$4, y$$1 = y$4, extent2 = null;
12951
13901
  function voronoi2(data) {
12952
- return new Diagram(data.map(function(d, i) {
12953
- var s2 = [Math.round(x$$1(d, i, data) / epsilon$4) * epsilon$4, Math.round(y$$1(d, i, data) / epsilon$4) * epsilon$4];
12954
- s2.index = i;
12955
- s2.data = d;
12956
- return s2;
12957
- }), extent2);
13902
+ return new Diagram(
13903
+ data.map(function(d, i) {
13904
+ var s2 = [
13905
+ Math.round(x$$1(d, i, data) / epsilon$4) * epsilon$4,
13906
+ Math.round(y$$1(d, i, data) / epsilon$4) * epsilon$4
13907
+ ];
13908
+ s2.index = i;
13909
+ s2.data = d;
13910
+ return s2;
13911
+ }),
13912
+ extent2
13913
+ );
12958
13914
  }
12959
13915
  voronoi2.polygons = function(data) {
12960
13916
  return voronoi2(data).polygons();
@@ -12972,10 +13928,19 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
12972
13928
  return arguments.length ? (y$$1 = typeof _ === "function" ? _ : constant$11(+_), voronoi2) : y$$1;
12973
13929
  };
12974
13930
  voronoi2.extent = function(_) {
12975
- return arguments.length ? (extent2 = _ == null ? null : [[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]], voronoi2) : extent2 && [[extent2[0][0], extent2[0][1]], [extent2[1][0], extent2[1][1]]];
13931
+ return arguments.length ? (extent2 = _ == null ? null : [
13932
+ [+_[0][0], +_[0][1]],
13933
+ [+_[1][0], +_[1][1]]
13934
+ ], voronoi2) : extent2 && [
13935
+ [extent2[0][0], extent2[0][1]],
13936
+ [extent2[1][0], extent2[1][1]]
13937
+ ];
12976
13938
  };
12977
13939
  voronoi2.size = function(_) {
12978
- return arguments.length ? (extent2 = _ == null ? null : [[0, 0], [+_[0], +_[1]]], voronoi2) : extent2 && [extent2[1][0] - extent2[0][0], extent2[1][1] - extent2[0][1]];
13940
+ return arguments.length ? (extent2 = _ == null ? null : [
13941
+ [0, 0],
13942
+ [+_[0], +_[1]]
13943
+ ], voronoi2) : extent2 && [extent2[1][0] - extent2[0][0], extent2[1][1] - extent2[0][1]];
12979
13944
  };
12980
13945
  return voronoi2;
12981
13946
  };
@@ -13055,7 +14020,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13055
14020
  w = e.clientWidth;
13056
14021
  h = e.clientHeight;
13057
14022
  }
13058
- return [[0, 0], [w, h]];
14023
+ return [
14024
+ [0, 0],
14025
+ [w, h]
14026
+ ];
13059
14027
  }
13060
14028
  function defaultTransform() {
13061
14029
  return this.__zoom || identity$8;
@@ -13074,7 +14042,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13074
14042
  );
13075
14043
  }
13076
14044
  var zoom = function() {
13077
- var filter = defaultFilter$2, extent2 = defaultExtent$1, constrain = defaultConstrain, wheelDelta = defaultWheelDelta, touchable = defaultTouchable$1, scaleExtent = [0, Infinity], translateExtent = [[-Infinity, -Infinity], [Infinity, Infinity]], duration = 250, interpolate2 = interpolateZoom, gestures = [], listeners = dispatch("start", "zoom", "end"), touchstarting, touchending, touchDelay = 500, wheelDelay = 150, clickDistance2 = 0;
14045
+ var filter = defaultFilter$2, extent2 = defaultExtent$1, constrain = defaultConstrain, wheelDelta = defaultWheelDelta, touchable = defaultTouchable$1, scaleExtent = [0, Infinity], translateExtent = [
14046
+ [-Infinity, -Infinity],
14047
+ [Infinity, Infinity]
14048
+ ], duration = 250, interpolate2 = interpolateZoom, gestures = [], listeners = dispatch("start", "zoom", "end"), touchstarting, touchending, touchDelay = 500, wheelDelay = 150, clickDistance2 = 0;
13078
14049
  function zoom2(selection2) {
13079
14050
  selection2.property("__zoom", defaultTransform).on("wheel.zoom", wheeled).on("mousedown.zoom", mousedowned).on("dblclick.zoom", dblclicked).filter(touchable).on("touchstart.zoom", touchstarted).on("touchmove.zoom", touchmoved).on("touchend.zoom touchcancel.zoom", touchended).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
13080
14051
  }
@@ -13085,7 +14056,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13085
14056
  schedule2(collection, transform$$1);
13086
14057
  } else {
13087
14058
  selection2.interrupt().each(function() {
13088
- gesture(this, arguments).start().zoom(null, typeof transform$$1 === "function" ? transform$$1.apply(this, arguments) : transform$$1).end();
14059
+ gesture(this, arguments).start().zoom(
14060
+ null,
14061
+ typeof transform$$1 === "function" ? transform$$1.apply(this, arguments) : transform$$1
14062
+ ).end();
13089
14063
  });
13090
14064
  }
13091
14065
  };
@@ -13103,19 +14077,27 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13103
14077
  };
13104
14078
  zoom2.translateBy = function(selection2, x2, y2) {
13105
14079
  zoom2.transform(selection2, function() {
13106
- return constrain(this.__zoom.translate(
13107
- typeof x2 === "function" ? x2.apply(this, arguments) : x2,
13108
- typeof y2 === "function" ? y2.apply(this, arguments) : y2
13109
- ), extent2.apply(this, arguments), translateExtent);
14080
+ return constrain(
14081
+ this.__zoom.translate(
14082
+ typeof x2 === "function" ? x2.apply(this, arguments) : x2,
14083
+ typeof y2 === "function" ? y2.apply(this, arguments) : y2
14084
+ ),
14085
+ extent2.apply(this, arguments),
14086
+ translateExtent
14087
+ );
13110
14088
  });
13111
14089
  };
13112
14090
  zoom2.translateTo = function(selection2, x2, y2) {
13113
14091
  zoom2.transform(selection2, function() {
13114
14092
  var e = extent2.apply(this, arguments), t = this.__zoom, p = centroid2(e);
13115
- return constrain(identity$8.translate(p[0], p[1]).scale(t.k).translate(
13116
- typeof x2 === "function" ? -x2.apply(this, arguments) : -x2,
13117
- typeof y2 === "function" ? -y2.apply(this, arguments) : -y2
13118
- ), e, translateExtent);
14093
+ return constrain(
14094
+ identity$8.translate(p[0], p[1]).scale(t.k).translate(
14095
+ typeof x2 === "function" ? -x2.apply(this, arguments) : -x2,
14096
+ typeof y2 === "function" ? -y2.apply(this, arguments) : -y2
14097
+ ),
14098
+ e,
14099
+ translateExtent
14100
+ );
13119
14101
  });
13120
14102
  };
13121
14103
  function scale(transform$$1, k2) {
@@ -13127,7 +14109,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13127
14109
  return x2 === transform$$1.x && y2 === transform$$1.y ? transform$$1 : new Transform(transform$$1.k, x2, y2);
13128
14110
  }
13129
14111
  function centroid2(extent3) {
13130
- return [(+extent3[0][0] + +extent3[1][0]) / 2, (+extent3[0][1] + +extent3[1][1]) / 2];
14112
+ return [
14113
+ (+extent3[0][0] + +extent3[1][0]) / 2,
14114
+ (+extent3[0][1] + +extent3[1][1]) / 2
14115
+ ];
13131
14116
  }
13132
14117
  function schedule2(transition2, transform$$1, center2) {
13133
14118
  transition2.on("start.zoom", function() {
@@ -13135,7 +14120,10 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13135
14120
  }).on("interrupt.zoom end.zoom", function() {
13136
14121
  gesture(this, arguments).end();
13137
14122
  }).tween("zoom", function() {
13138
- var that = this, args = arguments, g = gesture(that, args), e = extent2.apply(that, args), p = center2 || centroid2(e), w = Math.max(e[1][0] - e[0][0], e[1][1] - e[0][1]), a2 = that.__zoom, b = typeof transform$$1 === "function" ? transform$$1.apply(that, args) : transform$$1, i = interpolate2(a2.invert(p).concat(w / a2.k), b.invert(p).concat(w / b.k));
14123
+ var that = this, args = arguments, g = gesture(that, args), e = extent2.apply(that, args), p = center2 || centroid2(e), w = Math.max(e[1][0] - e[0][0], e[1][1] - e[0][1]), a2 = that.__zoom, b = typeof transform$$1 === "function" ? transform$$1.apply(that, args) : transform$$1, i = interpolate2(
14124
+ a2.invert(p).concat(w / a2.k),
14125
+ b.invert(p).concat(w / b.k)
14126
+ );
13139
14127
  return function(t) {
13140
14128
  if (t === 1)
13141
14129
  t = b;
@@ -13190,13 +14178,24 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13190
14178
  return this;
13191
14179
  },
13192
14180
  emit: function(type2) {
13193
- customEvent(new ZoomEvent(zoom2, type2, this.that.__zoom), listeners.apply, listeners, [type2, this.that, this.args]);
14181
+ customEvent(
14182
+ new ZoomEvent(zoom2, type2, this.that.__zoom),
14183
+ listeners.apply,
14184
+ listeners,
14185
+ [type2, this.that, this.args]
14186
+ );
13194
14187
  }
13195
14188
  };
13196
14189
  function wheeled() {
13197
14190
  if (!filter.apply(this, arguments))
13198
14191
  return;
13199
- var g = gesture(this, arguments), t = this.__zoom, k2 = Math.max(scaleExtent[0], Math.min(scaleExtent[1], t.k * Math.pow(2, wheelDelta.apply(this, arguments)))), p = mouse(this);
14192
+ var g = gesture(this, arguments), t = this.__zoom, k2 = Math.max(
14193
+ scaleExtent[0],
14194
+ Math.min(
14195
+ scaleExtent[1],
14196
+ t.k * Math.pow(2, wheelDelta.apply(this, arguments))
14197
+ )
14198
+ ), p = mouse(this);
13200
14199
  if (g.wheel) {
13201
14200
  if (g.mouse[0][0] !== p[0] || g.mouse[0][1] !== p[1]) {
13202
14201
  g.mouse[1] = t.invert(g.mouse[0] = p);
@@ -13211,7 +14210,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13211
14210
  }
13212
14211
  noevent$2();
13213
14212
  g.wheel = setTimeout(wheelidled, wheelDelay);
13214
- g.zoom("mouse", constrain(translate(scale(t, k2), g.mouse[0], g.mouse[1]), g.extent, translateExtent));
14213
+ g.zoom(
14214
+ "mouse",
14215
+ constrain(
14216
+ translate(scale(t, k2), g.mouse[0], g.mouse[1]),
14217
+ g.extent,
14218
+ translateExtent
14219
+ )
14220
+ );
13215
14221
  function wheelidled() {
13216
14222
  g.wheel = null;
13217
14223
  g.end();
@@ -13232,7 +14238,14 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13232
14238
  var dx = exports2.event.clientX - x02, dy = exports2.event.clientY - y02;
13233
14239
  g.moved = dx * dx + dy * dy > clickDistance2;
13234
14240
  }
13235
- g.zoom("mouse", constrain(translate(g.that.__zoom, g.mouse[0] = mouse(g.that), g.mouse[1]), g.extent, translateExtent));
14241
+ g.zoom(
14242
+ "mouse",
14243
+ constrain(
14244
+ translate(g.that.__zoom, g.mouse[0] = mouse(g.that), g.mouse[1]),
14245
+ g.extent,
14246
+ translateExtent
14247
+ )
14248
+ );
13236
14249
  }
13237
14250
  function mouseupped() {
13238
14251
  v.on("mousemove.zoom mouseup.zoom", null);
@@ -13244,7 +14257,11 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13244
14257
  function dblclicked() {
13245
14258
  if (!filter.apply(this, arguments))
13246
14259
  return;
13247
- var t02 = this.__zoom, p02 = mouse(this), p1 = t02.invert(p02), k1 = t02.k * (exports2.event.shiftKey ? 0.5 : 2), t12 = constrain(translate(scale(t02, k1), p02, p1), extent2.apply(this, arguments), translateExtent);
14260
+ var t02 = this.__zoom, p02 = mouse(this), p1 = t02.invert(p02), k1 = t02.k * (exports2.event.shiftKey ? 0.5 : 2), t12 = constrain(
14261
+ translate(scale(t02, k1), p02, p1),
14262
+ extent2.apply(this, arguments),
14263
+ translateExtent
14264
+ );
13248
14265
  noevent$2();
13249
14266
  if (duration > 0)
13250
14267
  select(this).transition().duration(duration).call(schedule2, t12, p02);
@@ -13338,13 +14355,19 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13338
14355
  return arguments.length ? (touchable = typeof _ === "function" ? _ : constant$12(!!_), zoom2) : touchable;
13339
14356
  };
13340
14357
  zoom2.extent = function(_) {
13341
- return arguments.length ? (extent2 = typeof _ === "function" ? _ : constant$12([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), zoom2) : extent2;
14358
+ return arguments.length ? (extent2 = typeof _ === "function" ? _ : constant$12([
14359
+ [+_[0][0], +_[0][1]],
14360
+ [+_[1][0], +_[1][1]]
14361
+ ]), zoom2) : extent2;
13342
14362
  };
13343
14363
  zoom2.scaleExtent = function(_) {
13344
14364
  return arguments.length ? (scaleExtent[0] = +_[0], scaleExtent[1] = +_[1], zoom2) : [scaleExtent[0], scaleExtent[1]];
13345
14365
  };
13346
14366
  zoom2.translateExtent = function(_) {
13347
- return arguments.length ? (translateExtent[0][0] = +_[0][0], translateExtent[1][0] = +_[1][0], translateExtent[0][1] = +_[0][1], translateExtent[1][1] = +_[1][1], zoom2) : [[translateExtent[0][0], translateExtent[0][1]], [translateExtent[1][0], translateExtent[1][1]]];
14367
+ return arguments.length ? (translateExtent[0][0] = +_[0][0], translateExtent[1][0] = +_[1][0], translateExtent[0][1] = +_[0][1], translateExtent[1][1] = +_[1][1], zoom2) : [
14368
+ [translateExtent[0][0], translateExtent[0][1]],
14369
+ [translateExtent[1][0], translateExtent[1][1]]
14370
+ ];
13348
14371
  };
13349
14372
  zoom2.constrain = function(_) {
13350
14373
  return arguments.length ? (constrain = _, zoom2) : constrain;
@@ -13762,6 +14785,7 @@ import { r as requireJszip_min } from "./jszip.min.50449320.js";
13762
14785
  Object.defineProperty(exports2, "__esModule", { value: true });
13763
14786
  });
13764
14787
  var jszip_minExports = requireJszip_min();
14788
+ const JSZip = /* @__PURE__ */ getDefaultExportFromCjs(jszip_minExports);
13765
14789
  let _order = 1;
13766
14790
  function t_xml(S) {
13767
14791
  const openBracket = "<";
@@ -13896,224 +14920,6 @@ function simplefy(children) {
13896
14920
  }
13897
14921
  return node;
13898
14922
  }
13899
- const round = Math.round;
13900
- class Rgb {
13901
- constructor(col) {
13902
- __publicField(this, "r");
13903
- __publicField(this, "g");
13904
- __publicField(this, "b");
13905
- this.r = col[0];
13906
- this.g = col[1];
13907
- this.b = col[2];
13908
- }
13909
- toString() {
13910
- return `rgb(${this.r},${this.g},${this.b})`;
13911
- }
13912
- }
13913
- class Rgba extends Rgb {
13914
- constructor(col) {
13915
- super(col);
13916
- __publicField(this, "a");
13917
- this.a = col[3];
13918
- }
13919
- toString() {
13920
- return `rgba(${this.r},${this.g},${this.b},${this.a})`;
13921
- }
13922
- }
13923
- class Hsl {
13924
- constructor(col) {
13925
- __publicField(this, "h");
13926
- __publicField(this, "s");
13927
- __publicField(this, "l");
13928
- this.h = col[0];
13929
- this.s = col[1];
13930
- this.l = col[2];
13931
- }
13932
- toString() {
13933
- return `hsl(${this.h},${this.s}%,${this.l}%)`;
13934
- }
13935
- }
13936
- class Hsla extends Hsl {
13937
- constructor(col) {
13938
- super(col);
13939
- __publicField(this, "a");
13940
- this.a = col[3];
13941
- }
13942
- toString() {
13943
- return `hsla(${this.h},${this.s}%,${this.l}%,${this.a})`;
13944
- }
13945
- }
13946
- class Color {
13947
- constructor(r, g = 0, b = 0, a = 1) {
13948
- __publicField(this, "r");
13949
- __publicField(this, "g");
13950
- __publicField(this, "b");
13951
- __publicField(this, "a");
13952
- __publicField(this, "rgb");
13953
- __publicField(this, "rgba");
13954
- __publicField(this, "hex");
13955
- __publicField(this, "hsl");
13956
- __publicField(this, "hsla");
13957
- __publicField(this, "h");
13958
- __publicField(this, "s");
13959
- __publicField(this, "l");
13960
- if (typeof r === "string") {
13961
- let str = r;
13962
- if (str.charAt(0) !== "#") {
13963
- str = "#" + str;
13964
- }
13965
- if (str.length < 7) {
13966
- str = "#" + str[1] + str[1] + str[2] + str[2] + str[3] + str[3];
13967
- }
13968
- [r, g, b] = hexToRgb(str);
13969
- } else if (r instanceof Array) {
13970
- a = r[3] || a;
13971
- b = r[2];
13972
- g = r[1];
13973
- r = r[0];
13974
- }
13975
- this.r = Number(r);
13976
- this.g = Number(g);
13977
- this.b = Number(b);
13978
- this.a = a;
13979
- this.rgb = new Rgb([this.r, this.g, this.b]);
13980
- this.rgba = new Rgba([this.r, this.g, this.b, this.a]);
13981
- this.hex = rgbToHex(this.r, this.g, this.b);
13982
- this.hsl = new Hsl(rgbToHsl(this.r, this.g, this.b));
13983
- this.h = this.hsl.h;
13984
- this.s = this.hsl.s;
13985
- this.l = this.hsl.l;
13986
- this.hsla = new Hsla([this.h, this.s, this.l, this.a]);
13987
- }
13988
- setHue(newHue) {
13989
- this.h = newHue;
13990
- this.hsl.h = newHue;
13991
- this.hsla.h = newHue;
13992
- this.updateFromHsl();
13993
- }
13994
- setSat(newSat) {
13995
- this.s = newSat;
13996
- this.hsl.s = newSat;
13997
- this.hsla.s = newSat;
13998
- this.updateFromHsl();
13999
- }
14000
- setLum(newLum) {
14001
- this.l = newLum;
14002
- this.hsl.l = newLum;
14003
- this.hsla.l = newLum;
14004
- this.updateFromHsl();
14005
- }
14006
- setAlpha(newAlpha) {
14007
- this.a = newAlpha;
14008
- this.hsla.a = newAlpha;
14009
- this.rgba.a = newAlpha;
14010
- }
14011
- updateFromHsl() {
14012
- this.rgb = new Rgb(hslToRgb(this.h, this.s, this.l));
14013
- this.r = this.rgb.r;
14014
- this.g = this.rgb.g;
14015
- this.b = this.rgb.b;
14016
- this.rgba.r = this.rgb.r;
14017
- this.rgba.g = this.rgb.g;
14018
- this.rgba.b = this.rgb.b;
14019
- this.hex = rgbToHex([this.r, this.g, this.b]);
14020
- }
14021
- }
14022
- const hexToRgb = function(hex) {
14023
- const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
14024
- return result ? [
14025
- parseInt(result[1], 16),
14026
- parseInt(result[2], 16),
14027
- parseInt(result[3], 16)
14028
- ] : null;
14029
- };
14030
- const componentToHex = function(c) {
14031
- const hex = c.toString(16);
14032
- return hex.length === 1 ? "0" + hex : hex;
14033
- };
14034
- const rgbToHex = function(r, g = 0, b = 0) {
14035
- if (r instanceof Array) {
14036
- b = r[2];
14037
- g = r[1];
14038
- r = r[0];
14039
- }
14040
- return "#" + componentToHex(r) + componentToHex(g) + componentToHex(b);
14041
- };
14042
- const rgbToHsl = function(r, g = 0, b = 0) {
14043
- if (r instanceof Array) {
14044
- b = r[2];
14045
- g = r[1];
14046
- r = r[0];
14047
- }
14048
- let s, l, d, h = 0;
14049
- r /= 255;
14050
- g /= 255;
14051
- b /= 255;
14052
- const max = Math.max(r, g, b);
14053
- const min = Math.min(r, g, b);
14054
- l = (max + min) / 2;
14055
- if (max === min) {
14056
- h = s = 0;
14057
- } else {
14058
- d = max - min;
14059
- s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
14060
- switch (max) {
14061
- case r:
14062
- h = (g - b) / d + (g < b ? 6 : 0);
14063
- break;
14064
- case g:
14065
- h = (b - r) / d + 2;
14066
- break;
14067
- case b:
14068
- h = (r - g) / d + 4;
14069
- break;
14070
- }
14071
- h /= 6;
14072
- }
14073
- h = round(h * 360);
14074
- s = round(s * 100);
14075
- l = round(l * 100);
14076
- return [h, s, l];
14077
- };
14078
- const hue2rgb = function(p, q, t) {
14079
- if (t < 0) {
14080
- t += 1;
14081
- }
14082
- if (t > 1) {
14083
- t -= 1;
14084
- }
14085
- if (t < 1 / 6) {
14086
- return p + (q - p) * 6 * t;
14087
- }
14088
- if (t < 1 / 2) {
14089
- return q;
14090
- }
14091
- if (t < 2 / 3) {
14092
- return p + (q - p) * (2 / 3 - t) * 6;
14093
- }
14094
- return p;
14095
- };
14096
- const hslToRgb = function(h, s, l) {
14097
- if (h instanceof Array) {
14098
- l = h[2];
14099
- s = h[1];
14100
- h = h[0];
14101
- }
14102
- h = Number(h) / 360;
14103
- s = Number(s) / 100;
14104
- l = Number(l) / 100;
14105
- let r, g, b, q, p;
14106
- if (s === 0) {
14107
- r = g = b = l;
14108
- } else {
14109
- q = l < 0.5 ? l * (1 + s) : l + s - l * s;
14110
- p = 2 * l - q;
14111
- r = hue2rgb(p, q, h + 1 / 3);
14112
- g = hue2rgb(p, q, h);
14113
- b = hue2rgb(p, q, h - 1 / 3);
14114
- }
14115
- return [round(r * 255), round(g * 255), round(b * 255)];
14116
- };
14117
14923
  function base64ArrayBuffer(arrayBuff) {
14118
14924
  const buff = new Uint8Array(arrayBuff);
14119
14925
  let text = "";
@@ -14153,7 +14959,7 @@ function processPptx(setOnMessage, postMessage2) {
14153
14959
  });
14154
14960
  async function processPPTX(data) {
14155
14961
  var _a;
14156
- const zip = await jszip_minExports.loadAsync(data);
14962
+ const zip = await JSZip.loadAsync(data);
14157
14963
  const dateBefore = Date.now();
14158
14964
  if (zip.file("docProps/thumbnail.jpeg")) {
14159
14965
  const pptxThumbImg = await ((_a = zip.file("docProps/thumbnail.jpeg")) == null ? void 0 : _a.async("base64"));
@@ -14397,7 +15203,10 @@ function processPptx(setOnMessage, postMessage2) {
14397
15203
  slideMasterContent,
14398
15204
  warpObj
14399
15205
  );
14400
- let result = "<section style='width:" + slideSize.width + "px; height:" + slideSize.height + "px;" + bgColor + "'>";
15206
+ const slideSizeWidth = Math.min(slideSize.width, document.body.clientWidth);
15207
+ const base = slideSize.width / slideSizeWidth;
15208
+ const slideSizeHeight = slideSize.height / base;
15209
+ let result = "<section style='width:" + slideSizeWidth + "px; height:" + slideSizeHeight + "px;" + bgColor + "'>";
14401
15210
  for (const nodeKey in nodes) {
14402
15211
  if (nodes[nodeKey].constructor === Array) {
14403
15212
  for (let i = 0; i < nodes[nodeKey].length; i++) {
@@ -15736,7 +16545,7 @@ function processPptx(setOnMessage, postMessage2) {
15736
16545
  }
15737
16546
  bullet += "'>" + buImg + " </span>";
15738
16547
  } else {
15739
- bullet = "<span style='margin-left: " + 328600 * 96 / 914400 * lvl + "px; margin-right: " + 0 + "px;'></span>";
16548
+ bullet = "<span style='margin-left: " + 328600 * 96 / 914400 * lvl + "px; margin-right: 0px;'></span>";
15740
16549
  }
15741
16550
  return bullet;
15742
16551
  }
@@ -17227,7 +18036,7 @@ function processPptx(setOnMessage, postMessage2) {
17227
18036
  const lum = Number(
17228
18037
  defBultColorVals["lum"].indexOf("%") !== -1 ? defBultColorVals["lum"].split("%").shift() : defBultColorVals["lum"]
17229
18038
  ) / 100;
17230
- const hsl2rgb = hslToRgb2(hue, sat, lum);
18039
+ const hsl2rgb = hslToRgb(hue, sat, lum);
17231
18040
  color = toHex(hsl2rgb.r) + toHex(hsl2rgb.g) + toHex(hsl2rgb.b);
17232
18041
  } else if (node["a:sysClr"] !== void 0) {
17233
18042
  const sysClr = getTextByPathList(node, ["a:sysClr", "attrs", "lastClr"]);
@@ -17244,7 +18053,7 @@ function processPptx(setOnMessage, postMessage2) {
17244
18053
  }
17245
18054
  return hex;
17246
18055
  }
17247
- function hslToRgb2(hue, sat, light) {
18056
+ function hslToRgb(hue, sat, light) {
17248
18057
  let t2;
17249
18058
  hue = hue / 60;
17250
18059
  if (light <= 0.5) {
@@ -19105,17 +19914,29 @@ dimple.chart = function(svg, data) {
19105
19914
  };
19106
19915
  this.defaultColors = [
19107
19916
  new dimple.color("#80B1D3"),
19917
+ // Blue
19108
19918
  new dimple.color("#FB8072"),
19919
+ // Red
19109
19920
  new dimple.color("#FDB462"),
19921
+ // Orange
19110
19922
  new dimple.color("#B3DE69"),
19923
+ // Green
19111
19924
  new dimple.color("#FFED6F"),
19925
+ // Yellow
19112
19926
  new dimple.color("#BC80BD"),
19927
+ // Purple
19113
19928
  new dimple.color("#8DD3C7"),
19929
+ // Turquoise
19114
19930
  new dimple.color("#CCEBC5"),
19931
+ // Pale Blue
19115
19932
  new dimple.color("#FFFFB3"),
19933
+ // Pale Yellow
19116
19934
  new dimple.color("#BEBADA"),
19935
+ // Lavender
19117
19936
  new dimple.color("#FCCDE5"),
19937
+ // Pink
19118
19938
  new dimple.color("#D9D9D9")
19939
+ // Grey
19119
19940
  ];
19120
19941
  this.draw = function(duration, noDataChange) {
19121
19942
  duration = duration || 0;
@@ -19778,7 +20599,9 @@ dimple.series = function(chart, categoryFields, xAxis, yAxis, zAxis, colorAxis,
19778
20599
  };
19779
20600
  this._dropLineOrigin = function() {
19780
20601
  var xIndex = 0, yIndex = 0, coord = {
20602
+ // The x co-ordinate for a y-axis drop line
19781
20603
  x: null,
20604
+ // The y co-ordinate for an x-axis drop line
19782
20605
  y: null
19783
20606
  }, firstOrig = {
19784
20607
  x: null,
@@ -20032,9 +20855,13 @@ dimple.aggregateMethod.sum = function(lhs, rhs) {
20032
20855
  return lhs.value + rhs.value;
20033
20856
  };
20034
20857
  dimple.plot.area = {
20858
+ // By default the values are stacked
20035
20859
  stacked: true,
20860
+ // This is a grouped plot meaning many points are treated as one series value
20036
20861
  grouped: true,
20862
+ // The axis positions affecting the area series
20037
20863
  supportedAxes: ["x", "y", "c"],
20864
+ // Draw the axis
20038
20865
  draw: function(chart, series, duration) {
20039
20866
  var data = series._positionData, areaData = [], theseShapes = null, className = "dimple-series-" + chart.series.indexOf(series), firstAgg = series.x._hasCategories() || series.y._hasCategories() ? 0 : 1, interpolation, graded = false, i, j, k, key, keyString, rowIndex, entered, updated, removed, orderedSeriesArray, catPoints = {}, allPoints = [], points, finalPointArray = [], basePoints, basePoint, cat, catVal, group, p, b, l, lIndex, lastAngle, catCoord, valCoord, onEnter = function() {
20040
20867
  return function(e, shape, chart2, series2) {
@@ -20137,6 +20964,7 @@ dimple.plot.area = {
20137
20964
  area: {},
20138
20965
  entry: {},
20139
20966
  exit: {},
20967
+ // Group refers to groupings along the category axis. If there are groupings it will be recorded, otherwise all is used as a default
20140
20968
  group: catCoord && data[i][catCoord + "Field"] && data[i][catCoord + "Field"].length >= 2 ? data[i][catCoord + "Field"][0] : "All"
20141
20969
  });
20142
20970
  }
@@ -20320,9 +21148,13 @@ dimple.plot.area = {
20320
21148
  }
20321
21149
  };
20322
21150
  dimple.plot.bar = {
21151
+ // By default the bar series is stacked if there are series categories
20323
21152
  stacked: true,
21153
+ // This is not a grouped plot meaning that one point is treated as one series value
20324
21154
  grouped: false,
21155
+ // The axes which will affect the bar chart - not z
20325
21156
  supportedAxes: ["x", "y", "c"],
21157
+ // Draw the chart
20326
21158
  draw: function(chart, series, duration) {
20327
21159
  var chartData = series._positionData, theseShapes = null, classes = ["dimple-series-" + chart.series.indexOf(series), "dimple-bar"], entered, updated, removed, xFloat = !series._isStacked() && series.x._hasMeasure(), yFloat = !series._isStacked() && series.y._hasMeasure(), cat = "none";
20328
21160
  if (series.x._hasCategories() && series.y._hasCategories()) {
@@ -20430,9 +21262,13 @@ dimple.plot.bar = {
20430
21262
  }
20431
21263
  };
20432
21264
  dimple.plot.bubble = {
21265
+ // By default the bubble values are not stacked
20433
21266
  stacked: false,
21267
+ // This is not a grouped plot meaning that one point is treated as one series value
20434
21268
  grouped: false,
21269
+ // The axis positions affecting the bubble series
20435
21270
  supportedAxes: ["x", "y", "z", "c"],
21271
+ // Draw the axis
20436
21272
  draw: function(chart, series, duration) {
20437
21273
  var chartData = series._positionData, theseShapes = null, classes = [
20438
21274
  "dimple-series-" + chart.series.indexOf(series),
@@ -20503,9 +21339,13 @@ dimple.plot.bubble = {
20503
21339
  }
20504
21340
  };
20505
21341
  dimple.plot.line = {
21342
+ // By default the values are not stacked
20506
21343
  stacked: false,
21344
+ // This is a grouped plot meaning many points are treated as one series value
20507
21345
  grouped: true,
21346
+ // The axis positions affecting the line series
20508
21347
  supportedAxes: ["x", "y", "c"],
21348
+ // Draw the axis
20509
21349
  draw: function(chart, series, duration) {
20510
21350
  var data = series._positionData, lineData = [], theseShapes = null, className = "dimple-series-" + chart.series.indexOf(series), firstAgg = series.x._hasCategories() || series.y._hasCategories() ? 0 : 1, interpolation, graded = false, i, j, k, key, keyString, rowIndex, entered, updated, removed, orderedSeriesArray, onEnter = function() {
20511
21351
  return function(e, shape, chart2, series2) {
@@ -20695,9 +21535,13 @@ dimple.plot.line = {
20695
21535
  }
20696
21536
  };
20697
21537
  dimple.plot.pie = {
21538
+ // By default the bar series is stacked if there are series categories
20698
21539
  stacked: false,
21540
+ // This is not a grouped plot meaning that one point is treated as one series value
20699
21541
  grouped: false,
21542
+ // The axes which will affect the bar chart - not z
20700
21543
  supportedAxes: ["x", "y", "c", "z", "p"],
21544
+ // Draw the chart
20701
21545
  draw: function(chart, series, duration) {
20702
21546
  var chartData = series._positionData, theseShapes = null, classes = ["dimple-series-" + chart.series.indexOf(series), "dimple-pie"], entered, updated, removed, getOuterBase = function(d) {
20703
21547
  var oR;
@@ -21254,6 +22098,7 @@ dimple._getSeriesSortPredicate = function(chart, series, orderedArray) {
21254
22098
  };
21255
22099
  };
21256
22100
  dimple._helpers = {
22101
+ // Calculate the centre x position
21257
22102
  cx: function(d, chart, series) {
21258
22103
  var returnCx = 0;
21259
22104
  if (series.x.measure !== null && series.x.measure !== void 0) {
@@ -21265,6 +22110,7 @@ dimple._helpers = {
21265
22110
  }
21266
22111
  return returnCx;
21267
22112
  },
22113
+ // Calculate the centre y position
21268
22114
  cy: function(d, chart, series) {
21269
22115
  var returnCy = 0;
21270
22116
  if (series.y.measure !== null && series.y.measure !== void 0) {
@@ -21276,6 +22122,7 @@ dimple._helpers = {
21276
22122
  }
21277
22123
  return returnCy;
21278
22124
  },
22125
+ // Calculate the radius
21279
22126
  r: function(d, chart, series) {
21280
22127
  var returnR = 0, scaleFactor = 1;
21281
22128
  if (series.z === null || series.z === void 0) {
@@ -21292,6 +22139,7 @@ dimple._helpers = {
21292
22139
  }
21293
22140
  return returnR;
21294
22141
  },
22142
+ // Calculate the x gap for bar type charts
21295
22143
  xGap: function(chart, series) {
21296
22144
  var returnXGap = 0;
21297
22145
  if ((series.x.measure === null || series.x.measure === void 0) && series.barGap > 0) {
@@ -21299,6 +22147,7 @@ dimple._helpers = {
21299
22147
  }
21300
22148
  return returnXGap;
21301
22149
  },
22150
+ // Calculate the x gap for clusters within bar type charts
21302
22151
  xClusterGap: function(d, chart, series) {
21303
22152
  var returnXClusterGap = 0;
21304
22153
  if (series.x.categoryFields !== null && series.x.categoryFields !== void 0 && series.x.categoryFields.length >= 2 && series.clusterBarGap > 0 && !series.x._hasMeasure()) {
@@ -21306,6 +22155,7 @@ dimple._helpers = {
21306
22155
  }
21307
22156
  return returnXClusterGap;
21308
22157
  },
22158
+ // Calculate the y gap for bar type charts
21309
22159
  yGap: function(chart, series) {
21310
22160
  var returnYGap = 0;
21311
22161
  if ((series.y.measure === null || series.y.measure === void 0) && series.barGap > 0) {
@@ -21313,6 +22163,7 @@ dimple._helpers = {
21313
22163
  }
21314
22164
  return returnYGap;
21315
22165
  },
22166
+ // Calculate the y gap for clusters within bar type charts
21316
22167
  yClusterGap: function(d, chart, series) {
21317
22168
  var returnYClusterGap = 0;
21318
22169
  if (series.y.categoryFields !== null && series.y.categoryFields !== void 0 && series.y.categoryFields.length >= 2 && series.clusterBarGap > 0 && !series.y._hasMeasure()) {
@@ -21320,6 +22171,7 @@ dimple._helpers = {
21320
22171
  }
21321
22172
  return returnYClusterGap;
21322
22173
  },
22174
+ // Calculate the top left x position for bar type charts
21323
22175
  x: function(d, chart, series) {
21324
22176
  var returnX = 0;
21325
22177
  if (series.x._hasTimeField()) {
@@ -21331,6 +22183,7 @@ dimple._helpers = {
21331
22183
  }
21332
22184
  return returnX;
21333
22185
  },
22186
+ // Calculate the top left y position for bar type charts
21334
22187
  y: function(d, chart, series) {
21335
22188
  var returnY = 0;
21336
22189
  if (series.y._hasTimeField()) {
@@ -21342,6 +22195,7 @@ dimple._helpers = {
21342
22195
  }
21343
22196
  return returnY;
21344
22197
  },
22198
+ // Calculate the width for bar type charts
21345
22199
  width: function(d, chart, series) {
21346
22200
  var returnWidth = 0;
21347
22201
  if (series.x.measure !== null && series.x.measure !== void 0) {
@@ -21355,6 +22209,7 @@ dimple._helpers = {
21355
22209
  }
21356
22210
  return returnWidth;
21357
22211
  },
22212
+ // Calculate the height for bar type charts
21358
22213
  height: function(d, chart, series) {
21359
22214
  var returnHeight = 0;
21360
22215
  if (series.y._hasTimeField()) {
@@ -21368,6 +22223,7 @@ dimple._helpers = {
21368
22223
  }
21369
22224
  return returnHeight;
21370
22225
  },
22226
+ // Calculate the opacity for series
21371
22227
  opacity: function(d, chart, series) {
21372
22228
  var returnOpacity = 0;
21373
22229
  if (series.c !== null && series.c !== void 0) {
@@ -21377,6 +22233,7 @@ dimple._helpers = {
21377
22233
  }
21378
22234
  return returnOpacity;
21379
22235
  },
22236
+ // Calculate the fill coloring for series
21380
22237
  fill: function(d, chart, series) {
21381
22238
  var returnFill = 0;
21382
22239
  if (series.c !== null && series.c !== void 0) {
@@ -21386,6 +22243,7 @@ dimple._helpers = {
21386
22243
  }
21387
22244
  return returnFill;
21388
22245
  },
22246
+ // Calculate the stroke coloring for series
21389
22247
  stroke: function(d, chart, series) {
21390
22248
  var stroke = 0;
21391
22249
  if (series.c !== null && series.c !== void 0) {
@@ -21395,6 +22253,7 @@ dimple._helpers = {
21395
22253
  }
21396
22254
  return stroke;
21397
22255
  },
22256
+ // Calculate the class for the series
21398
22257
  css: function(d, chart) {
21399
22258
  return chart.getClass(d.aggField.slice(-1)[0]);
21400
22259
  }
@@ -21807,7 +22666,7 @@ const renderPptx = (options) => {
21807
22666
  if (typeof window !== "undefined") {
21808
22667
  const { pptx, resultElement, thumbElement } = options;
21809
22668
  const wrapper = document.createElement("div");
21810
- wrapper.setAttribute("class", "pptx-wrapper");
22669
+ wrapper.setAttribute("class", "r-preview-pptx-main");
21811
22670
  resultElement.innerHTML = "";
21812
22671
  resultElement.appendChild(wrapper);
21813
22672
  let isDone = false;
@@ -21852,6 +22711,7 @@ const renderPptx = (options) => {
21852
22711
  };
21853
22712
  const worker = {
21854
22713
  postMessage
22714
+ // terminate,
21855
22715
  };
21856
22716
  processPptx((func) => {
21857
22717
  worker.postMessage = func;
@@ -22158,32 +23018,32 @@ const renderPptx = (options) => {
22158
23018
  }
22159
23019
  const hebrew2Minus = archaicNumbers([
22160
23020
  [1e3, ""],
22161
- [400, "\u05EA"],
22162
- [300, "\u05E9"],
22163
- [200, "\u05E8"],
22164
- [100, "\u05E7"],
22165
- [90, "\u05E6"],
22166
- [80, "\u05E4"],
22167
- [70, "\u05E2"],
22168
- [60, "\u05E1"],
22169
- [50, "\u05E0"],
22170
- [40, "\u05DE"],
22171
- [30, "\u05DC"],
22172
- [20, "\u05DB"],
22173
- [10, "\u05D9"],
22174
- [9, "\u05D8"],
22175
- [8, "\u05D7"],
22176
- [7, "\u05D6"],
22177
- [6, "\u05D5"],
22178
- [5, "\u05D4"],
22179
- [4, "\u05D3"],
22180
- [3, "\u05D2"],
22181
- [2, "\u05D1"],
22182
- [1, "\u05D0"],
22183
- [/יה/, "\u05D8\u05F4\u05D5"],
22184
- [/יו/, "\u05D8\u05F4\u05D6"],
22185
- [/([א-ת])([א-ת])$/, "$1\u05F4$2"],
22186
- [/^([א-ת])$/, "$1\u05F3"]
23021
+ [400, "ת"],
23022
+ [300, "ש"],
23023
+ [200, "ר"],
23024
+ [100, "ק"],
23025
+ [90, "צ"],
23026
+ [80, "פ"],
23027
+ [70, "ע"],
23028
+ [60, "ס"],
23029
+ [50, "נ"],
23030
+ [40, "מ"],
23031
+ [30, "ל"],
23032
+ [20, "כ"],
23033
+ [10, "י"],
23034
+ [9, "ט"],
23035
+ [8, "ח"],
23036
+ [7, "ז"],
23037
+ [6, "ו"],
23038
+ [5, "ה"],
23039
+ [4, "ד"],
23040
+ [3, "ג"],
23041
+ [2, "ב"],
23042
+ [1, "א"],
23043
+ [/יה/, "ט״ו"],
23044
+ [/יו/, "ט״ז"],
23045
+ [/([א-ת])([א-ת])$/, "$1״$2"],
23046
+ [/^([א-ת])$/, "$1׳"]
22187
23047
  ]);
22188
23048
  function archaicNumbers(arr) {
22189
23049
  return {