@nocobase/app 1.3.39-beta → 1.4.0-alpha

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 (103) hide show
  1. package/client/.umirc.ts +12 -14
  2. package/client/src/pages/index.tsx +3 -0
  3. package/dist/client/4607.bae81918.async.js +1 -0
  4. package/dist/client/5617.d114c98c.async.js +78 -0
  5. package/dist/client/5721.ee2b0cf3.async.js +7 -0
  6. package/dist/client/index.html +2 -1
  7. package/dist/client/index.html.tpl +2 -1
  8. package/dist/client/npm._at_ant-design.e1f1f4b0.async.js +110 -0
  9. package/dist/client/{npm._at_antv.5ea2df50.async.js → npm._at_antv.56fcebdf.async.js} +5 -5
  10. package/dist/client/npm._at_budibase.113c5b6a.async.js +36 -0
  11. package/dist/client/npm._at_dnd-kit.2fac5dde.async.js +9 -0
  12. package/dist/client/npm._at_emotion.6969cd50.async.js +2 -0
  13. package/dist/client/npm._at_formily.b1a03e41.async.js +96 -0
  14. package/dist/client/npm._at_formulajs.ff63776b.async.js +1 -0
  15. package/dist/client/npm._at_rc-component.43f95f42.async.js +5 -0
  16. package/dist/client/npm._at_remix-run.9a0418a9.async.js +2 -0
  17. package/dist/client/npm.ahooks.b416801a.async.js +6 -0
  18. package/dist/client/npm.antd-style.ecb45bdd.async.js +1 -0
  19. package/dist/client/npm.antd.732d7b9d.async.js +476 -0
  20. package/dist/client/npm.axios.c42e25ff.async.js +11 -0
  21. package/dist/client/npm.bignumber.js.cb49cd48.async.js +1 -0
  22. package/dist/client/npm.buffer.6f3eca94.async.js +1 -0
  23. package/dist/client/npm.cytoscape.cba0c14d.async.js +5 -0
  24. package/dist/client/{npm.d3-selection.e2684be8.async.js → npm.d3-selection.15d6ab5b.async.js} +1 -1
  25. package/dist/client/npm.d3-shape.b48fc404.async.js +1 -0
  26. package/dist/client/{npm.d3-transition.83e0f431.async.js → npm.d3-transition.5fd82a9c.async.js} +1 -1
  27. package/dist/client/{npm.dayjs.f4357565.async.js → npm.dayjs.0a5fd152.async.js} +1 -1
  28. package/dist/client/{npm.decimal.js.bb6d6d2e.async.js → npm.decimal.js.19391b1c.async.js} +1 -1
  29. package/dist/client/npm.dompurify.d5071c22.async.js +3 -0
  30. package/dist/client/{npm.elkjs.d0ff4db1.async.js → npm.elkjs.f35a7d45.async.js} +4 -4
  31. package/dist/client/npm.gl-matrix.d851d654.async.js +1 -0
  32. package/dist/client/{npm.handlebars.c04806e7.async.js → npm.handlebars.ade4c4fe.async.js} +5 -5
  33. package/dist/client/{npm.highlight.js.4213abe5.async.js → npm.highlight.js.8a8320c8.async.js} +1 -1
  34. package/dist/client/{npm.html-tokenize.360bb6e8.async.js → npm.html-tokenize.a6d58ae7.async.js} +1 -1
  35. package/dist/client/npm.htmlparser2.27ad86bc.async.js +2 -0
  36. package/dist/client/npm.i18next.98bb572b.async.js +1 -0
  37. package/dist/client/npm.json5.d58066fd.async.js +14 -0
  38. package/dist/client/npm.jstat.733c0b2c.async.js +1 -0
  39. package/dist/client/{npm.layout-base.49e322a0.async.js → npm.layout-base.0bdb6d00.async.js} +1 -1
  40. package/dist/client/npm.lodash-es.c06b3dd5.async.js +1 -0
  41. package/dist/client/npm.lodash.0ff318b3.async.js +37 -0
  42. package/dist/client/npm.markdown-it.5b35f93d.async.js +15 -0
  43. package/dist/client/npm.mathjs.fd97f3b7.async.js +52 -0
  44. package/dist/client/npm.mermaid.defd0c88.async.js +1529 -0
  45. package/dist/client/npm.moment.36abbf2c.async.js +4 -0
  46. package/dist/client/npm.picomatch.7a2f1314.async.js +1 -0
  47. package/dist/client/npm.postcss.2ccf11ae.async.js +27 -0
  48. package/dist/client/{npm.quill.e91b3c12.async.js → npm.quill.9d4c2cd1.async.js} +7 -7
  49. package/dist/client/{npm.rc-menu.2e06b9c3.async.js → npm.rc-menu.adf5ade6.async.js} +1 -1
  50. package/dist/client/npm.rc-picker.ef8a3e8b.async.js +1 -0
  51. package/dist/client/{npm.rc-select.13236fb8.async.js → npm.rc-select.7c36e54e.async.js} +2 -2
  52. package/dist/client/{npm.rc-table.de3dd762.async.js → npm.rc-table.a153e021.async.js} +1 -1
  53. package/dist/client/npm.rc-tree.f61b7d87.async.js +1 -0
  54. package/dist/client/npm.rc-util.23a9b855.async.js +18 -0
  55. package/dist/client/npm.react-dom.b9fb5fd7.async.js +11 -0
  56. package/dist/client/npm.react-image-lightbox.727d3218.async.js +3 -0
  57. package/dist/client/npm.react-router-dom.832efba3.async.js +1 -0
  58. package/dist/client/npm.readable-stream.6e743f2a.async.js +1 -0
  59. package/dist/client/p__index.89314c11.async.js +1533 -0
  60. package/dist/client/umi.9e319d79.js +21 -0
  61. package/lib/index.js +11 -3
  62. package/package.json +6 -6
  63. package/src/index.ts +12 -9
  64. package/dist/client/4607.6d585996.async.js +0 -1
  65. package/dist/client/5721.cf90e884.async.js +0 -8
  66. package/dist/client/6718.1e7fe05d.async.js +0 -66
  67. package/dist/client/npm._at_ant-design.4fe52a2f.async.js +0 -110
  68. package/dist/client/npm._at_dnd-kit.01a3ad70.async.js +0 -6
  69. package/dist/client/npm._at_emotion.0c6b11eb.async.js +0 -2
  70. package/dist/client/npm._at_formily.f9d0b213.async.js +0 -101
  71. package/dist/client/npm._at_formulajs.fe3f9fca.async.js +0 -1
  72. package/dist/client/npm._at_rc-component.086dbf23.async.js +0 -5
  73. package/dist/client/npm._at_remix-run.55137b87.async.js +0 -3
  74. package/dist/client/npm.ahooks.c3df4eb6.async.js +0 -6
  75. package/dist/client/npm.antd-style.47ebbe31.async.js +0 -1
  76. package/dist/client/npm.antd.91188318.async.js +0 -476
  77. package/dist/client/npm.axios.f696c6e5.async.js +0 -2
  78. package/dist/client/npm.bignumber.js.70d3d7e8.async.js +0 -1
  79. package/dist/client/npm.buffer.9cce4593.async.js +0 -1
  80. package/dist/client/npm.cytoscape.39239e7b.async.js +0 -5
  81. package/dist/client/npm.d3-shape.3660138b.async.js +0 -1
  82. package/dist/client/npm.dompurify.93b5a130.async.js +0 -3
  83. package/dist/client/npm.gl-matrix.31b80e16.async.js +0 -1
  84. package/dist/client/npm.htmlparser2.cbbea4c4.async.js +0 -2
  85. package/dist/client/npm.i18next.eee0fc0f.async.js +0 -1
  86. package/dist/client/npm.json5.87aca70f.async.js +0 -14
  87. package/dist/client/npm.jstat.657c7dba.async.js +0 -1
  88. package/dist/client/npm.lodash-es.5eff0420.async.js +0 -1
  89. package/dist/client/npm.lodash.0f9322fa.async.js +0 -37
  90. package/dist/client/npm.markdown-it.5875530c.async.js +0 -15
  91. package/dist/client/npm.mathjs.d8df2940.async.js +0 -53
  92. package/dist/client/npm.mermaid.7057e144.async.js +0 -1530
  93. package/dist/client/npm.moment.3c26e672.async.js +0 -4
  94. package/dist/client/npm.postcss.368fceaf.async.js +0 -28
  95. package/dist/client/npm.rc-picker.218fa2cc.async.js +0 -1
  96. package/dist/client/npm.rc-tree.bdb9cee8.async.js +0 -1
  97. package/dist/client/npm.rc-util.87a2c212.async.js +0 -18
  98. package/dist/client/npm.react-dom.6236e62b.async.js +0 -11
  99. package/dist/client/npm.react-image-lightbox.0e0cf81f.async.js +0 -3
  100. package/dist/client/npm.react-router-dom.06c80c5d.async.js +0 -2
  101. package/dist/client/npm.readable-stream.41117b5f.async.js +0 -1
  102. package/dist/client/p__index.4ee03ea9.async.js +0 -1509
  103. package/dist/client/umi.99c57684.js +0 -22
package/lib/index.js CHANGED
@@ -7,11 +7,19 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
 
10
+ var __defProp = Object.defineProperty;
11
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
10
12
  var import_server = require("@nocobase/server");
11
13
  var import_config = require("./config");
12
- (0, import_config.getConfig)().then((config) => {
13
- return import_server.Gateway.getInstance().run({
14
+ async function initializeGateway() {
15
+ await (0, import_server.runPluginStaticImports)();
16
+ const config = await (0, import_config.getConfig)();
17
+ await import_server.Gateway.getInstance().run({
14
18
  mainAppOptions: config
15
19
  });
16
- }).catch((e) => {
20
+ }
21
+ __name(initializeGateway, "initializeGateway");
22
+ initializeGateway().catch((e) => {
23
+ console.error(e);
24
+ process.exit(1);
17
25
  });
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@nocobase/app",
3
- "version": "1.3.39-beta",
3
+ "version": "1.4.0-alpha",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0",
6
6
  "main": "./lib/index.js",
7
7
  "types": "./lib/index.d.ts",
8
8
  "dependencies": {
9
- "@nocobase/database": "1.3.39-beta",
10
- "@nocobase/preset-nocobase": "1.3.39-beta",
11
- "@nocobase/server": "1.3.39-beta"
9
+ "@nocobase/database": "1.4.0-alpha",
10
+ "@nocobase/preset-nocobase": "1.4.0-alpha",
11
+ "@nocobase/server": "1.4.0-alpha"
12
12
  },
13
13
  "devDependencies": {
14
- "@nocobase/client": "1.3.39-beta"
14
+ "@nocobase/client": "1.4.0-alpha"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/nocobase/nocobase.git",
19
19
  "directory": "packages/core/app"
20
20
  },
21
- "gitHead": "68daadf8575cddf9eeb09a1a672f9baf7aabe67a"
21
+ "gitHead": "f097a2bddec152522b5645bd5d451f4c866d2060"
22
22
  }
package/src/index.ts CHANGED
@@ -7,15 +7,18 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
 
10
- import { Gateway } from '@nocobase/server';
10
+ import { Gateway, runPluginStaticImports } from '@nocobase/server';
11
11
  import { getConfig } from './config';
12
12
 
13
- getConfig()
14
- .then((config) => {
15
- return Gateway.getInstance().run({
16
- mainAppOptions: config,
17
- });
18
- })
19
- .catch((e) => {
20
- // console.error(e);
13
+ async function initializeGateway() {
14
+ await runPluginStaticImports();
15
+ const config = await getConfig();
16
+ await Gateway.getInstance().run({
17
+ mainAppOptions: config,
21
18
  });
19
+ }
20
+
21
+ initializeGateway().catch((e) => {
22
+ console.error(e);
23
+ process.exit(1);
24
+ });
@@ -1 +0,0 @@
1
- (self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4607],{84182:function(V,K,W){(function(T,y){V.exports=y(W(82241))})(this,function(B){return function(T){var y={};function l(o){if(y[o])return y[o].exports;var n=y[o]={i:o,l:!1,exports:{}};return T[o].call(n.exports,n,n.exports,l),n.l=!0,n.exports}return l.m=T,l.c=y,l.i=function(o){return o},l.d=function(o,n,u){l.o(o,n)||Object.defineProperty(o,n,{configurable:!1,enumerable:!0,get:u})},l.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return l.d(n,"a",n),n},l.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)},l.p="",l(l.s=7)}([function(T,y){T.exports=B},function(T,y,l){"use strict";var o=l(0).FDLayoutConstants;function n(){}for(var u in o)n[u]=o[u];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=o.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TREE_REDUCTION_ON_INCREMENTAL=!1,T.exports=n},function(T,y,l){"use strict";var o=l(0).FDLayoutEdge;function n(O,v,L){o.call(this,O,v,L)}n.prototype=Object.create(o.prototype);for(var u in o)n[u]=o[u];T.exports=n},function(T,y,l){"use strict";var o=l(0).LGraph;function n(O,v,L){o.call(this,O,v,L)}n.prototype=Object.create(o.prototype);for(var u in o)n[u]=o[u];T.exports=n},function(T,y,l){"use strict";var o=l(0).LGraphManager;function n(O){o.call(this,O)}n.prototype=Object.create(o.prototype);for(var u in o)n[u]=o[u];T.exports=n},function(T,y,l){"use strict";var o=l(0).FDLayoutNode,n=l(0).IMath;function u(v,L,N,F){o.call(this,v,L,N,F)}u.prototype=Object.create(o.prototype);for(var O in o)u[O]=o[O];u.prototype.move=function(){var v=this.graphManager.getLayout();this.displacementX=v.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=v.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>v.coolingFactor*v.maxNodeDisplacement&&(this.displacementX=v.coolingFactor*v.maxNodeDisplacement*n.sign(this.displacementX)),Math.abs(this.displacementY)>v.coolingFactor*v.maxNodeDisplacement&&(this.displacementY=v.coolingFactor*v.maxNodeDisplacement*n.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),v.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},u.prototype.propogateDisplacementToChildren=function(v,L){for(var N=this.getChild().getNodes(),F,H=0;H<N.length;H++)F=N[H],F.getChild()==null?(F.moveBy(v,L),F.displacementX+=v,F.displacementY+=L):F.propogateDisplacementToChildren(v,L)},u.prototype.setPred1=function(v){this.pred1=v},u.prototype.getPred1=function(){return pred1},u.prototype.getPred2=function(){return pred2},u.prototype.setNext=function(v){this.next=v},u.prototype.getNext=function(){return next},u.prototype.setProcessed=function(v){this.processed=v},u.prototype.isProcessed=function(){return processed},T.exports=u},function(T,y,l){"use strict";var o=l(0).FDLayout,n=l(4),u=l(3),O=l(5),v=l(2),L=l(1),N=l(0).FDLayoutConstants,F=l(0).LayoutConstants,H=l(0).Point,P=l(0).PointD,Z=l(0).Layout,Y=l(0).Integer,A=l(0).IGeometry,c=l(0).LGraph,C=l(0).Transform;function d(){o.call(this),this.toBeTiled={}}d.prototype=Object.create(o.prototype);for(var D in o)d[D]=o[D];d.prototype.newGraphManager=function(){var t=new n(this);return this.graphManager=t,t},d.prototype.newGraph=function(t){return new u(null,this.graphManager,t)},d.prototype.newNode=function(t){return new O(this.graphManager,t)},d.prototype.newEdge=function(t){return new v(null,null,t)},d.prototype.initParameters=function(){o.prototype.initParameters.call(this,arguments),this.isSubLayout||(L.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=L.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=L.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=N.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=N.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=N.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=N.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=N.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=N.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/N.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=N.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},d.prototype.layout=function(){var t=F.DEFAULT_CREATE_BENDS_AS_NEEDED;return t&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},d.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(L.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var r=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(s){return r.has(s)});this.graphManager.setAllNodesToApplyGravitation(e)}}else{var t=this.getFlatForest();if(t.length>0)this.positionNodesRadially(t);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var r=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(i){return r.has(i)});this.graphManager.setAllNodesToApplyGravitation(e),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%N.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),r=this.nodesWithGravity.filter(function(a){return t.has(a)});this.graphManager.setAllNodesToApplyGravitation(r),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=N.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=N.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var e=!this.isTreeGrowing&&!this.isGrowthFinished,i=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(e,i),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),r={},e=0;e<t.length;e++){var i=t[e].rect,a=t[e].id;r[a]={id:a,x:i.getCenterX(),y:i.getCenterY(),w:i.width,h:i.height}}return r},d.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if(N.ANIMATE==="during")this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},d.prototype.calculateNodesToApplyGravitationTo=function(){var t=[],r,e=this.graphManager.getGraphs(),i=e.length,a;for(a=0;a<i;a++)r=e[a],r.updateConnected(),r.isConnected||(t=t.concat(r.getNodes()));return t},d.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var r=new Set,e;for(e=0;e<t.length;e++){var i=t[e];if(!r.has(i)){var a=i.getSource(),s=i.getTarget();if(a==s)i.getBendpoints().push(new P),i.getBendpoints().push(new P),this.createDummyNodesForBendpoints(i),r.add(i);else{var h=[];if(h=h.concat(a.getEdgeListToNode(s)),h=h.concat(s.getEdgeListToNode(a)),!r.has(h[0])){if(h.length>1){var g;for(g=0;g<h.length;g++){var p=h[g];p.getBendpoints().push(new P),this.createDummyNodesForBendpoints(p)}}h.forEach(function(R){r.add(R)})}}}if(r.size==t.length)break}},d.prototype.positionNodesRadially=function(t){for(var r=new H(0,0),e=Math.ceil(Math.sqrt(t.length)),i=0,a=0,s=0,h=new P(0,0),g=0;g<t.length;g++){g%e==0&&(s=0,a=i,g!=0&&(a+=L.DEFAULT_COMPONENT_SEPERATION),i=0);var p=t[g],R=Z.findCenterOfTree(p);r.x=s,r.y=a,h=d.radialLayout(p,R,r),h.y>i&&(i=Math.floor(h.y)),s=Math.floor(h.x+L.DEFAULT_COMPONENT_SEPERATION)}this.transform(new P(F.WORLD_CENTER_X-h.x/2,F.WORLD_CENTER_Y-h.y/2))},d.radialLayout=function(t,r,e){var i=Math.max(this.maxDiagonalInTree(t),L.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(r,null,0,359,0,i);var a=c.calculateBounds(t),s=new C;s.setDeviceOrgX(a.getMinX()),s.setDeviceOrgY(a.getMinY()),s.setWorldOrgX(e.x),s.setWorldOrgY(e.y);for(var h=0;h<t.length;h++){var g=t[h];g.transform(s)}var p=new P(a.getMaxX(),a.getMaxY());return s.inverseTransformPoint(p)},d.branchRadialLayout=function(t,r,e,i,a,s){var h=(i-e+1)/2;h<0&&(h+=180);var g=(h+e)%360,p=g*A.TWO_PI/360,R=Math.cos(p),w=a*Math.cos(p),I=a*Math.sin(p);t.setCenter(w,I);var f=[];f=f.concat(t.getEdges());var E=f.length;r!=null&&E--;for(var G=0,M=f.length,U,m=t.getEdgesBetween(r);m.length>1;){var S=m[0];m.splice(0,1);var X=f.indexOf(S);X>=0&&f.splice(X,1),M--,E--}r!=null?U=(f.indexOf(m[0])+1)%M:U=0;for(var x=Math.abs(i-e)/E,b=U;G!=E;b=++b%M){var j=f[b].getOtherEnd(t);if(j!=r){var Q=(e+G*x)%360,k=(Q+x)%360;d.branchRadialLayout(j,t,Q,k,a+s,s),G++}}},d.maxDiagonalInTree=function(t){for(var r=Y.MIN_VALUE,e=0;e<t.length;e++){var i=t[e],a=i.getDiagonal();a>r&&(r=a)}return r},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var t=this,r={};this.memberGroups={},this.idToDummyNode={};for(var e=[],i=this.graphManager.getAllNodes(),a=0;a<i.length;a++){var s=i[a],h=s.getParent();this.getNodeDegreeWithChildren(s)===0&&(h.id==null||!this.getToBeTiled(h))&&e.push(s)}for(var a=0;a<e.length;a++){var s=e[a],g=s.getParent().id;typeof r[g]=="undefined"&&(r[g]=[]),r[g]=r[g].concat(s)}Object.keys(r).forEach(function(p){if(r[p].length>1){var R="DummyCompound_"+p;t.memberGroups[R]=r[p];var w=r[p][0].getParent(),I=new O(t.graphManager);I.id=R,I.paddingLeft=w.paddingLeft||0,I.paddingRight=w.paddingRight||0,I.paddingBottom=w.paddingBottom||0,I.paddingTop=w.paddingTop||0,t.idToDummyNode[R]=I;var f=t.getGraphManager().add(t.newGraph(),I),E=w.getChild();E.add(I);for(var G=0;G<r[p].length;G++){var M=r[p][G];E.remove(M),f.add(M)}}})},d.prototype.clearCompounds=function(){var t={},r={};this.performDFSOnCompounds();for(var e=0;e<this.compoundOrder.length;e++)r[this.compoundOrder[e].id]=this.compoundOrder[e],t[this.compoundOrder[e].id]=[].concat(this.compoundOrder[e].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[e].getChild()),this.compoundOrder[e].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,r)},d.prototype.clearZeroDegreeMembers=function(){var t=this,r=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(e){var i=t.idToDummyNode[e];r[e]=t.tileNodes(t.memberGroups[e],i.paddingLeft+i.paddingRight),i.rect.width=r[e].width,i.rect.height=r[e].height})},d.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var r=this.compoundOrder[t],e=r.id,i=r.paddingLeft,a=r.paddingTop;this.adjustLocations(this.tiledMemberPack[e],r.rect.x,r.rect.y,i,a)}},d.prototype.repopulateZeroDegreeMembers=function(){var t=this,r=this.tiledZeroDegreePack;Object.keys(r).forEach(function(e){var i=t.idToDummyNode[e],a=i.paddingLeft,s=i.paddingTop;t.adjustLocations(r[e],i.rect.x,i.rect.y,a,s)})},d.prototype.getToBeTiled=function(t){var r=t.id;if(this.toBeTiled[r]!=null)return this.toBeTiled[r];var e=t.getChild();if(e==null)return this.toBeTiled[r]=!1,!1;for(var i=e.getNodes(),a=0;a<i.length;a++){var s=i[a];if(this.getNodeDegree(s)>0)return this.toBeTiled[r]=!1,!1;if(s.getChild()==null){this.toBeTiled[s.id]=!1;continue}if(!this.getToBeTiled(s))return this.toBeTiled[r]=!1,!1}return this.toBeTiled[r]=!0,!0},d.prototype.getNodeDegree=function(t){for(var r=t.id,e=t.getEdges(),i=0,a=0;a<e.length;a++){var s=e[a];s.getSource().id!==s.getTarget().id&&(i=i+1)}return i},d.prototype.getNodeDegreeWithChildren=function(t){var r=this.getNodeDegree(t);if(t.getChild()==null)return r;for(var e=t.getChild().getNodes(),i=0;i<e.length;i++){var a=e[i];r+=this.getNodeDegreeWithChildren(a)}return r},d.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},d.prototype.fillCompexOrderByDFS=function(t){for(var r=0;r<t.length;r++){var e=t[r];e.getChild()!=null&&this.fillCompexOrderByDFS(e.getChild().getNodes()),this.getToBeTiled(e)&&this.compoundOrder.push(e)}},d.prototype.adjustLocations=function(t,r,e,i,a){r+=i,e+=a;for(var s=r,h=0;h<t.rows.length;h++){var g=t.rows[h];r=s;for(var p=0,R=0;R<g.length;R++){var w=g[R];w.rect.x=r,w.rect.y=e,r+=w.rect.width+t.horizontalPadding,w.rect.height>p&&(p=w.rect.height)}e+=p+t.verticalPadding}},d.prototype.tileCompoundMembers=function(t,r){var e=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(i){var a=r[i];e.tiledMemberPack[i]=e.tileNodes(t[i],a.paddingLeft+a.paddingRight),a.rect.width=e.tiledMemberPack[i].width,a.rect.height=e.tiledMemberPack[i].height})},d.prototype.tileNodes=function(t,r){var e=L.TILING_PADDING_VERTICAL,i=L.TILING_PADDING_HORIZONTAL,a={rows:[],rowWidth:[],rowHeight:[],width:0,height:r,verticalPadding:e,horizontalPadding:i};t.sort(function(g,p){return g.rect.width*g.rect.height>p.rect.width*p.rect.height?-1:g.rect.width*g.rect.height<p.rect.width*p.rect.height?1:0});for(var s=0;s<t.length;s++){var h=t[s];a.rows.length==0?this.insertNodeToRow(a,h,0,r):this.canAddHorizontal(a,h.rect.width,h.rect.height)?this.insertNodeToRow(a,h,this.getShortestRowIndex(a),r):this.insertNodeToRow(a,h,a.rows.length,r),this.shiftToLastRow(a)}return a},d.prototype.insertNodeToRow=function(t,r,e,i){var a=i;if(e==t.rows.length){var s=[];t.rows.push(s),t.rowWidth.push(a),t.rowHeight.push(0)}var h=t.rowWidth[e]+r.rect.width;t.rows[e].length>0&&(h+=t.horizontalPadding),t.rowWidth[e]=h,t.width<h&&(t.width=h);var g=r.rect.height;e>0&&(g+=t.verticalPadding);var p=0;g>t.rowHeight[e]&&(p=t.rowHeight[e],t.rowHeight[e]=g,p=t.rowHeight[e]-p),t.height+=p,t.rows[e].push(r)},d.prototype.getShortestRowIndex=function(t){for(var r=-1,e=Number.MAX_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]<e&&(r=i,e=t.rowWidth[i]);return r},d.prototype.getLongestRowIndex=function(t){for(var r=-1,e=Number.MIN_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]>e&&(r=i,e=t.rowWidth[i]);return r},d.prototype.canAddHorizontal=function(t,r,e){var i=this.getShortestRowIndex(t);if(i<0)return!0;var a=t.rowWidth[i];if(a+t.horizontalPadding+r<=t.width)return!0;var s=0;t.rowHeight[i]<e&&i>0&&(s=e+t.verticalPadding-t.rowHeight[i]);var h;t.width-a>=r+t.horizontalPadding?h=(t.height+s)/(a+r+t.horizontalPadding):h=(t.height+s)/t.width,s=e+t.verticalPadding;var g;return t.width<r?g=(t.height+s)/r:g=(t.height+s)/t.width,g<1&&(g=1/g),h<1&&(h=1/h),h<g},d.prototype.shiftToLastRow=function(t){var r=this.getLongestRowIndex(t),e=t.rowWidth.length-1,i=t.rows[r],a=i[i.length-1],s=a.width+t.horizontalPadding;if(t.width-t.rowWidth[e]>s&&r!=e){i.splice(-1,1),t.rows[e].push(a),t.rowWidth[r]=t.rowWidth[r]-s,t.rowWidth[e]=t.rowWidth[e]+s,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var h=Number.MIN_VALUE,g=0;g<i.length;g++)i[g].height>h&&(h=i[g].height);r>0&&(h+=t.verticalPadding);var p=t.rowHeight[r]+t.rowHeight[e];t.rowHeight[r]=h,t.rowHeight[e]<a.height+t.verticalPadding&&(t.rowHeight[e]=a.height+t.verticalPadding);var R=t.rowHeight[r]+t.rowHeight[e];t.height+=R-p,this.shiftToLastRow(t)}},d.prototype.tilingPreLayout=function(){L.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},d.prototype.tilingPostLayout=function(){L.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},d.prototype.reduceTrees=function(){for(var t=[],r=!0,e;r;){var i=this.graphManager.getAllNodes(),a=[];r=!1;for(var s=0;s<i.length;s++)e=i[s],e.getEdges().length==1&&!e.getEdges()[0].isInterGraph&&e.getChild()==null&&(a.push([e,e.getEdges()[0],e.getOwner()]),r=!0);if(r==!0){for(var h=[],g=0;g<a.length;g++)a[g][0].getEdges().length==1&&(h.push(a[g]),a[g][0].getOwner().remove(a[g][0]));t.push(h),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=t},d.prototype.growTree=function(t){for(var r=t.length,e=t[r-1],i,a=0;a<e.length;a++)i=e[a],this.findPlaceforPrunedNode(i),i[2].add(i[0]),i[2].add(i[1],i[1].source,i[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},d.prototype.findPlaceforPrunedNode=function(t){var r,e,i=t[0];i==t[1].source?e=t[1].target:e=t[1].source;var a=e.startX,s=e.finishX,h=e.startY,g=e.finishY,p=0,R=0,w=0,I=0,f=[p,w,R,I];if(h>0)for(var E=a;E<=s;E++)f[0]+=this.grid[E][h-1].length+this.grid[E][h].length-1;if(s<this.grid.length-1)for(var E=h;E<=g;E++)f[1]+=this.grid[s+1][E].length+this.grid[s][E].length-1;if(g<this.grid[0].length-1)for(var E=a;E<=s;E++)f[2]+=this.grid[E][g+1].length+this.grid[E][g].length-1;if(a>0)for(var E=h;E<=g;E++)f[3]+=this.grid[a-1][E].length+this.grid[a][E].length-1;for(var G=Y.MAX_VALUE,M,U,m=0;m<f.length;m++)f[m]<G?(G=f[m],M=1,U=m):f[m]==G&&M++;if(M==3&&G==0)f[0]==0&&f[1]==0&&f[2]==0?r=1:f[0]==0&&f[1]==0&&f[3]==0?r=0:f[0]==0&&f[2]==0&&f[3]==0?r=3:f[1]==0&&f[2]==0&&f[3]==0&&(r=2);else if(M==2&&G==0){var S=Math.floor(Math.random()*2);f[0]==0&&f[1]==0?S==0?r=0:r=1:f[0]==0&&f[2]==0?S==0?r=0:r=2:f[0]==0&&f[3]==0?S==0?r=0:r=3:f[1]==0&&f[2]==0?S==0?r=1:r=2:f[1]==0&&f[3]==0?S==0?r=1:r=3:S==0?r=2:r=3}else if(M==4&&G==0){var S=Math.floor(Math.random()*4);r=S}else r=U;r==0?i.setCenter(e.getCenterX(),e.getCenterY()-e.getHeight()/2-N.DEFAULT_EDGE_LENGTH-i.getHeight()/2):r==1?i.setCenter(e.getCenterX()+e.getWidth()/2+N.DEFAULT_EDGE_LENGTH+i.getWidth()/2,e.getCenterY()):r==2?i.setCenter(e.getCenterX(),e.getCenterY()+e.getHeight()/2+N.DEFAULT_EDGE_LENGTH+i.getHeight()/2):i.setCenter(e.getCenterX()-e.getWidth()/2-N.DEFAULT_EDGE_LENGTH-i.getWidth()/2,e.getCenterY())},T.exports=d},function(T,y,l){"use strict";var o={};o.layoutBase=l(0),o.CoSEConstants=l(1),o.CoSEEdge=l(2),o.CoSEGraph=l(3),o.CoSEGraphManager=l(4),o.CoSELayout=l(6),o.CoSENode=l(5),T.exports=o}])})},14607:function(V,K,W){(function(T,y){V.exports=y(W(84182))})(this,function(B){return function(T){var y={};function l(o){if(y[o])return y[o].exports;var n=y[o]={i:o,l:!1,exports:{}};return T[o].call(n.exports,n,n.exports,l),n.l=!0,n.exports}return l.m=T,l.c=y,l.i=function(o){return o},l.d=function(o,n,u){l.o(o,n)||Object.defineProperty(o,n,{configurable:!1,enumerable:!0,get:u})},l.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return l.d(n,"a",n),n},l.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)},l.p="",l(l.s=1)}([function(T,y){T.exports=B},function(T,y,l){"use strict";var o=l(0).layoutBase.LayoutConstants,n=l(0).layoutBase.FDLayoutConstants,u=l(0).CoSEConstants,O=l(0).CoSELayout,v=l(0).CoSENode,L=l(0).layoutBase.PointD,N=l(0).layoutBase.DimensionD,F={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function H(A,c){var C={};for(var d in A)C[d]=A[d];for(var d in c)C[d]=c[d];return C}function P(A){this.options=H(F,A),Z(this.options)}var Z=function(c){c.nodeRepulsion!=null&&(u.DEFAULT_REPULSION_STRENGTH=n.DEFAULT_REPULSION_STRENGTH=c.nodeRepulsion),c.idealEdgeLength!=null&&(u.DEFAULT_EDGE_LENGTH=n.DEFAULT_EDGE_LENGTH=c.idealEdgeLength),c.edgeElasticity!=null&&(u.DEFAULT_SPRING_STRENGTH=n.DEFAULT_SPRING_STRENGTH=c.edgeElasticity),c.nestingFactor!=null&&(u.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.nestingFactor),c.gravity!=null&&(u.DEFAULT_GRAVITY_STRENGTH=n.DEFAULT_GRAVITY_STRENGTH=c.gravity),c.numIter!=null&&(u.MAX_ITERATIONS=n.MAX_ITERATIONS=c.numIter),c.gravityRange!=null&&(u.DEFAULT_GRAVITY_RANGE_FACTOR=n.DEFAULT_GRAVITY_RANGE_FACTOR=c.gravityRange),c.gravityCompound!=null&&(u.DEFAULT_COMPOUND_GRAVITY_STRENGTH=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.gravityCompound),c.gravityRangeCompound!=null&&(u.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.gravityRangeCompound),c.initialEnergyOnIncremental!=null&&(u.DEFAULT_COOLING_FACTOR_INCREMENTAL=n.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.initialEnergyOnIncremental),c.quality=="draft"?o.QUALITY=0:c.quality=="proof"?o.QUALITY=2:o.QUALITY=1,u.NODE_DIMENSIONS_INCLUDE_LABELS=n.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=c.nodeDimensionsIncludeLabels,u.DEFAULT_INCREMENTAL=n.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!c.randomize,u.ANIMATE=n.ANIMATE=o.ANIMATE=c.animate,u.TILE=c.tile,u.TILING_PADDING_VERTICAL=typeof c.tilingPaddingVertical=="function"?c.tilingPaddingVertical.call():c.tilingPaddingVertical,u.TILING_PADDING_HORIZONTAL=typeof c.tilingPaddingHorizontal=="function"?c.tilingPaddingHorizontal.call():c.tilingPaddingHorizontal};P.prototype.run=function(){var A,c,C=this.options,d=this.idToLNode={},D=this.layout=new O,t=this;t.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var r=D.newGraphManager();this.gm=r;var e=this.options.eles.nodes(),i=this.options.eles.edges();this.root=r.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(e),D);for(var a=0;a<i.length;a++){var s=i[a],h=this.idToLNode[s.data("source")],g=this.idToLNode[s.data("target")];if(h!==g&&h.getEdgesBetween(g).length==0){var p=r.add(D.newEdge(),h,g);p.id=s.id()}}var R=function(f,E){typeof f=="number"&&(f=E);var G=f.data("id"),M=t.idToLNode[G];return{x:M.getRect().getCenterX(),y:M.getRect().getCenterY()}},w=function I(){for(var f=function(){C.fit&&C.cy.fit(C.eles,C.padding),A||(A=!0,t.cy.one("layoutready",C.ready),t.cy.trigger({type:"layoutready",layout:t}))},E=t.options.refresh,G,M=0;M<E&&!G;M++)G=t.stopped||t.layout.tick();if(G){D.checkLayoutSuccess()&&!D.isSubLayout&&D.doPostLayout(),D.tilingPostLayout&&D.tilingPostLayout(),D.isLayoutFinished=!0,t.options.eles.nodes().positions(R),f(),t.cy.one("layoutstop",t.options.stop),t.cy.trigger({type:"layoutstop",layout:t}),c&&cancelAnimationFrame(c),A=!1;return}var U=t.layout.getPositionsData();C.eles.nodes().positions(function(m,S){if(typeof m=="number"&&(m=S),!m.isParent()){for(var X=m.id(),x=U[X],b=m;x==null&&(x=U[b.data("parent")]||U["DummyCompound_"+b.data("parent")],U[X]=x,b=b.parent()[0],b!=null););return x!=null?{x:x.x,y:x.y}:{x:m.position("x"),y:m.position("y")}}}),f(),c=requestAnimationFrame(I)};return D.addListener("layoutstarted",function(){t.options.animate==="during"&&(c=requestAnimationFrame(w))}),D.runLayout(),this.options.animate!=="during"&&(t.options.eles.nodes().not(":parent").layoutPositions(t,t.options,R),A=!1),this},P.prototype.getTopMostNodes=function(A){for(var c={},C=0;C<A.length;C++)c[A[C].id()]=!0;var d=A.filter(function(D,t){typeof D=="number"&&(D=t);for(var r=D.parent()[0];r!=null;){if(c[r.id()])return!1;r=r.parent()[0]}return!0});return d},P.prototype.processChildrenList=function(A,c,C){for(var d=c.length,D=0;D<d;D++){var t=c[D],r=t.children(),e,i=t.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(t.outerWidth()!=null&&t.outerHeight()!=null?e=A.add(new v(C.graphManager,new L(t.position("x")-i.w/2,t.position("y")-i.h/2),new N(parseFloat(i.w),parseFloat(i.h)))):e=A.add(new v(this.graphManager)),e.id=t.data("id"),e.paddingLeft=parseInt(t.css("padding")),e.paddingTop=parseInt(t.css("padding")),e.paddingRight=parseInt(t.css("padding")),e.paddingBottom=parseInt(t.css("padding")),this.options.nodeDimensionsIncludeLabels&&t.isParent()){var a=t.boundingBox({includeLabels:!0,includeNodes:!1}).w,s=t.boundingBox({includeLabels:!0,includeNodes:!1}).h,h=t.css("text-halign");e.labelWidth=a,e.labelHeight=s,e.labelPos=h}if(this.idToLNode[t.data("id")]=e,isNaN(e.rect.x)&&(e.rect.x=0),isNaN(e.rect.y)&&(e.rect.y=0),r!=null&&r.length>0){var g;g=C.getGraphManager().add(C.newGraph(),e),this.processChildrenList(g,r,C)}}},P.prototype.stop=function(){return this.stopped=!0,this};var Y=function(c){c("layout","cose-bilkent",P)};typeof cytoscape!="undefined"&&Y(cytoscape),T.exports=Y}])})}}]);
@@ -1,8 +0,0 @@
1
- !(function(){var Qe=Math.pow;(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[5721],{17967:function(It,et){"use strict";var tt;tt={value:!0},et.Nm=et.Rq=void 0;var ot=/^([^\w]*)(javascript|data|vbscript)/im,ft=/&#(\w+)(^\w|;)?/g,it=/&(newline|tab);/gi,H=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,q=/^.+(:|&colon;)/gim,I=[".","/"];et.Rq="about:blank";function Y(y){return I.indexOf(y[0])>-1}function S(y){var c=y.replace(H,"");return c.replace(ft,function(C,k){return String.fromCharCode(k)})}function d(y){if(!y)return et.Rq;var c=S(y).replace(it,"").replace(H,"").trim();if(!c)return et.Rq;if(Y(c))return c;var C=c.match(q);if(!C)return c;var k=C[0];return ot.test(k)?et.Rq:c}et.Nm=d},34138:function(It,et,tt){const ot=tt(77869);function ft(d){try{return d()}catch(y){return!1}}const it=d=>d&&Object.entries(d).map(([y,c])=>{ot.registerLanguage(y,c)}),H=(d,y)=>ft(()=>ot.highlight(y||"plaintext",d,!0).value)||"",q=(d,y)=>y?H(d,y):ft(()=>ot.highlightAuto(d).value)||"",I=d=>function(...y){return d.apply(this,y).replace('<code class="','<code class="hljs ').replace("<code>",'<code class="hljs">')};function Y(d,y,c,C){const k=y[c],U=y[c+1];let L;if(U&&U.type==="text"){const wt=/^{:?\.([^}]+)}/.exec(U.content);wt&&(L=wt[1],U.content=U.content.slice(wt[0].length))}const bt=C.highlight(k.content,L);return`<code${L?` class="${C.langPrefix}${d.utils.escapeHtml(L)}"`:""}>${bt}</code>`}const S=(d,y)=>{y=Object.assign({},S.defaults,y),it(y.register),d.options.highlight=y.auto?q:H,d.renderer.rules.fence=I(d.renderer.rules.fence),y.code&&(d.renderer.rules.code_block=I(d.renderer.rules.code_block)),y.inline&&(d.renderer.rules.code_inline=Y.bind(null,d))};S.defaults={auto:!0,code:!0,inline:!1},It.exports=S},35748:function(It,et,tt){"use strict";const d="-",y=/^xn--/,c=/[^\0-\x7F]/,C=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},U=36-1,L=Math.floor,bt=String.fromCharCode;function mt(p){throw new RangeError(k[p])}function wt(p,l){const W=[];let Z=p.length;for(;Z--;)W[Z]=l(p[Z]);return W}function _t(p,l){const W=p.split("@");let Z="";W.length>1&&(Z=W[0]+"@",p=W[1]),p=p.replace(C,".");const at=p.split("."),J=wt(at,l).join(".");return Z+J}function P(p){const l=[];let W=0;const Z=p.length;for(;W<Z;){const at=p.charCodeAt(W++);if(at>=55296&&at<=56319&&W<Z){const J=p.charCodeAt(W++);(J&64512)==56320?l.push(((at&1023)<<10)+(J&1023)+65536):(l.push(at),W--)}else l.push(at)}return l}const E=p=>String.fromCodePoint(...p),w=function(p){return p>=48&&p<58?26+(p-48):p>=65&&p<91?p-65:p>=97&&p<123?p-97:36},K=function(p,l){return p+22+75*(p<26)-((l!=0)<<5)},Ct=function(p,l,W){let Z=0;for(p=W?L(p/700):p>>1,p+=L(p/l);p>U*26>>1;Z+=36)p=L(p/U);return L(Z+(U+1)*p/(p+38))},gt=function(p){const l=[],W=p.length;let Z=0,at=128,J=72,kt=p.lastIndexOf(d);kt<0&&(kt=0);for(let pt=0;pt<kt;++pt)p.charCodeAt(pt)>=128&&mt("not-basic"),l.push(p.charCodeAt(pt));for(let pt=kt>0?kt+1:0;pt<W;){const Pt=Z;for(let Et=1,zt=36;;zt+=36){pt>=W&&mt("invalid-input");const Kt=w(p.charCodeAt(pt++));Kt>=36&&mt("invalid-input"),Kt>L((2147483647-Z)/Et)&&mt("overflow"),Z+=Kt*Et;const Wt=zt<=J?1:zt>=J+26?26:zt-J;if(Kt<Wt)break;const tn=36-Wt;Et>L(2147483647/tn)&&mt("overflow"),Et*=tn}const Vt=l.length+1;J=Ct(Z-Pt,Vt,Pt==0),L(Z/Vt)>2147483647-at&&mt("overflow"),at+=L(Z/Vt),Z%=Vt,l.splice(Z++,0,at)}return String.fromCodePoint(...l)},v=function(p){const l=[];p=P(p);const W=p.length;let Z=128,at=0,J=72;for(const Pt of p)Pt<128&&l.push(bt(Pt));const kt=l.length;let pt=kt;for(kt&&l.push(d);pt<W;){let Pt=2147483647;for(const Et of p)Et>=Z&&Et<Pt&&(Pt=Et);const Vt=pt+1;Pt-Z>L((2147483647-at)/Vt)&&mt("overflow"),at+=(Pt-Z)*Vt,Z=Pt;for(const Et of p)if(Et<Z&&++at>2147483647&&mt("overflow"),Et===Z){let zt=at;for(let Kt=36;;Kt+=36){const Wt=Kt<=J?1:Kt>=J+26?26:Kt-J;if(zt<Wt)break;const tn=zt-Wt,Jt=36-Wt;l.push(bt(K(Wt+tn%Jt,0))),zt=L(tn/Jt)}l.push(bt(K(zt,0))),J=Ct(at,Vt,pt===kt),at=0,++pt}++at,++Z}return l.join("")},lt={version:"2.3.1",ucs2:{decode:P,encode:E},decode:gt,encode:v,toASCII:function(p){return _t(p,function(l){return c.test(l)?"xn--"+v(l):l})},toUnicode:function(p){return _t(p,function(l){return y.test(l)?gt(l.slice(4).toLowerCase()):l})}};et.ZP=lt},18464:function(It,et,tt){"use strict";function ot(ft){for(var it=[],H=1;H<arguments.length;H++)it[H-1]=arguments[H];var q=Array.from(typeof ft=="string"?[ft]:ft);q[q.length-1]=q[q.length-1].replace(/\r?\n([\t ]*)$/,"");var I=q.reduce(function(d,y){var c=y.match(/\n([\t ]+|(?!\s).)/g);return c?d.concat(c.map(function(C){var k,U;return(U=(k=C.match(/[\t ]/g))===null||k===void 0?void 0:k.length)!==null&&U!==void 0?U:0})):d},[]);if(I.length){var Y=new RegExp(`
2
- [ ]{`+Math.min.apply(Math,I)+"}","g");q=q.map(function(d){return d.replace(Y,`
3
- `)})}q[0]=q[0].replace(/^\r?\n/,"");var S=q[0];return it.forEach(function(d,y){var c=S.match(/(?:^|\n)( *)$/),C=c?c[1]:"",k=d;typeof d=="string"&&d.includes(`
4
- `)&&(k=String(d).split(`
5
- `).map(function(U,L){return L===0?U:""+C+U}).join(`
6
- `)),S+=k+q[y+1]}),S}et.C=ot},17049:function(It,et){"use strict";var tt={value:function(){}};function ot(){for(var I=0,Y=arguments.length,S={},d;I<Y;++I){if(!(d=arguments[I]+"")||d in S||/[\s.]/.test(d))throw new Error("illegal type: "+d);S[d]=[]}return new ft(S)}function ft(I){this._=I}function it(I,Y){return I.trim().split(/^|\s+/).map(function(S){var d="",y=S.indexOf(".");if(y>=0&&(d=S.slice(y+1),S=S.slice(0,y)),S&&!Y.hasOwnProperty(S))throw new Error("unknown type: "+S);return{type:S,name:d}})}ft.prototype=ot.prototype={constructor:ft,on:function(Y,S){var d=this._,y=it(Y+"",d),c,C=-1,k=y.length;if(arguments.length<2){for(;++C<k;)if((c=(Y=y[C]).type)&&(c=H(d[c],Y.name)))return c;return}if(S!=null&&typeof S!="function")throw new Error("invalid callback: "+S);for(;++C<k;)if(c=(Y=y[C]).type)d[c]=q(d[c],Y.name,S);else if(S==null)for(c in d)d[c]=q(d[c],Y.name,null);return this},copy:function(){var Y={},S=this._;for(var d in S)Y[d]=S[d].slice();return new ft(Y)},call:function(Y,S){if((c=arguments.length-2)>0)for(var d=new Array(c),y=0,c,C;y<c;++y)d[y]=arguments[y+2];if(!this._.hasOwnProperty(Y))throw new Error("unknown type: "+Y);for(C=this._[Y],y=0,c=C.length;y<c;++y)C[y].value.apply(S,d)},apply:function(Y,S,d){if(!this._.hasOwnProperty(Y))throw new Error("unknown type: "+Y);for(var y=this._[Y],c=0,C=y.length;c<C;++c)y[c].value.apply(S,d)}};function H(I,Y){for(var S=0,d=I.length,y;S<d;++S)if((y=I[S]).name===Y)return y.value}function q(I,Y,S){for(var d=0,y=I.length;d<y;++d)if(I[d].name===Y){I[d]=tt,I=I.slice(0,d).concat(I.slice(d+1));break}return S!=null&&I.push({name:Y,value:S}),I}et.Z=ot},60898:function(It,et,tt){"use strict";tt.d(et,{Y:function(){return d},w:function(){return y}});var ot=tt(79848),ft=180/Math.PI,it={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function H(c,C,k,U,L,bt){var mt,wt,_t;return(mt=Math.sqrt(c*c+C*C))&&(c/=mt,C/=mt),(_t=c*k+C*U)&&(k-=c*_t,U-=C*_t),(wt=Math.sqrt(k*k+U*U))&&(k/=wt,U/=wt,_t/=wt),c*U<C*k&&(c=-c,C=-C,_t=-_t,mt=-mt),{translateX:L,translateY:bt,rotate:Math.atan2(C,c)*ft,skewX:Math.atan(_t)*ft,scaleX:mt,scaleY:wt}}var q;function I(c){var C=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(c+"");return C.isIdentity?it:H(C.a,C.b,C.c,C.d,C.e,C.f)}function Y(c){return c==null||(q||(q=document.createElementNS("http://www.w3.org/2000/svg","g")),q.setAttribute("transform",c),!(c=q.transform.baseVal.consolidate()))?it:(c=c.matrix,H(c.a,c.b,c.c,c.d,c.e,c.f))}function S(c,C,k,U){function L(P){return P.length?P.pop()+" ":""}function bt(P,E,w,K,Ct,gt){if(P!==w||E!==K){var v=Ct.push("translate(",null,C,null,k);gt.push({i:v-4,x:(0,ot.Z)(P,w)},{i:v-2,x:(0,ot.Z)(E,K)})}else(w||K)&&Ct.push("translate("+w+C+K+k)}function mt(P,E,w,K){P!==E?(P-E>180?E+=360:E-P>180&&(P+=360),K.push({i:w.push(L(w)+"rotate(",null,U)-2,x:(0,ot.Z)(P,E)})):E&&w.push(L(w)+"rotate("+E+U)}function wt(P,E,w,K){P!==E?K.push({i:w.push(L(w)+"skewX(",null,U)-2,x:(0,ot.Z)(P,E)}):E&&w.push(L(w)+"skewX("+E+U)}function _t(P,E,w,K,Ct,gt){if(P!==w||E!==K){var v=Ct.push(L(Ct)+"scale(",null,",",null,")");gt.push({i:v-4,x:(0,ot.Z)(P,w)},{i:v-2,x:(0,ot.Z)(E,K)})}else(w!==1||K!==1)&&Ct.push(L(Ct)+"scale("+w+","+K+")")}return function(P,E){var w=[],K=[];return P=c(P),E=c(E),bt(P.translateX,P.translateY,E.translateX,E.translateY,w,K),mt(P.rotate,E.rotate,w,K),wt(P.skewX,E.skewX,w,K),_t(P.scaleX,P.scaleY,E.scaleX,E.scaleY,w,K),P=E=null,function(Ct){for(var gt=-1,v=K.length,z;++gt<v;)w[(z=K[gt]).i]=z.x(Ct);return w.join("")}}}var d=S(I,"px, ","px)","deg)"),y=S(Y,", ",")",")")},2067:function(It,et,tt){"use strict";tt.d(et,{tw:function(){return it}});function ot(H){return H*H*H}function ft(H){return--H*H*H+1}function it(H){return((H*=2)<=1?H*H*H:(H-=2)*H*H+2)/2}},79906:function(It,et,tt){"use strict";tt.d(et,{y$:function(){return Y}});const ot=Math.PI,ft=2*ot,it=1e-6,H=ft-it;function q(y){this._+=y[0];for(let c=1,C=y.length;c<C;++c)this._+=arguments[c]+y[c]}function I(y){let c=Math.floor(y);if(!(c>=0))throw new Error(`invalid digits: ${y}`);if(c>15)return q;const C=Qe(10,c);return function(k){this._+=k[0];for(let U=1,L=k.length;U<L;++U)this._+=Math.round(arguments[U]*C)/C+k[U]}}class Y{constructor(c){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=c==null?q:I(c)}moveTo(c,C){this._append`M${this._x0=this._x1=+c},${this._y0=this._y1=+C}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(c,C){this._append`L${this._x1=+c},${this._y1=+C}`}quadraticCurveTo(c,C,k,U){this._append`Q${+c},${+C},${this._x1=+k},${this._y1=+U}`}bezierCurveTo(c,C,k,U,L,bt){this._append`C${+c},${+C},${+k},${+U},${this._x1=+L},${this._y1=+bt}`}arcTo(c,C,k,U,L){if(c=+c,C=+C,k=+k,U=+U,L=+L,L<0)throw new Error(`negative radius: ${L}`);let bt=this._x1,mt=this._y1,wt=k-c,_t=U-C,P=bt-c,E=mt-C,w=P*P+E*E;if(this._x1===null)this._append`M${this._x1=c},${this._y1=C}`;else if(w>it)if(!(Math.abs(E*wt-_t*P)>it)||!L)this._append`L${this._x1=c},${this._y1=C}`;else{let K=k-bt,Ct=U-mt,gt=wt*wt+_t*_t,v=K*K+Ct*Ct,z=Math.sqrt(gt),st=Math.sqrt(w),lt=L*Math.tan((ot-Math.acos((gt+w-v)/(2*z*st)))/2),p=lt/st,l=lt/z;Math.abs(p-1)>it&&this._append`L${c+p*P},${C+p*E}`,this._append`A${L},${L},0,0,${+(E*K>P*Ct)},${this._x1=c+l*wt},${this._y1=C+l*_t}`}}arc(c,C,k,U,L,bt){if(c=+c,C=+C,k=+k,bt=!!bt,k<0)throw new Error(`negative radius: ${k}`);let mt=k*Math.cos(U),wt=k*Math.sin(U),_t=c+mt,P=C+wt,E=1^bt,w=bt?U-L:L-U;this._x1===null?this._append`M${_t},${P}`:(Math.abs(this._x1-_t)>it||Math.abs(this._y1-P)>it)&&this._append`L${_t},${P}`,k&&(w<0&&(w=w%ft+ft),w>H?this._append`A${k},${k},0,1,${E},${c-mt},${C-wt}A${k},${k},0,1,${E},${this._x1=_t},${this._y1=P}`:w>it&&this._append`A${k},${k},0,${+(w>=ot)},${E},${this._x1=c+k*Math.cos(L)},${this._y1=C+k*Math.sin(L)}`)}rect(c,C,k,U){this._append`M${this._x0=this._x1=+c},${this._y0=this._y1=+C}h${k=+k}v${+U}h${-k}Z`}toString(){return this._}}function S(){return new Y}S.prototype=Y.prototype;function d(y=3){return new Y(+y)}},76084:function(It,et,tt){"use strict";tt.d(et,{Z:function(){return ft}});var ot=tt(91739);function ft(it,H,q){var I=new ot.B7;return H=H==null?0:+H,I.restart(Y=>{I.stop(),it(Y+H)},H,q),I}},91739:function(It,et,tt){"use strict";tt.d(et,{B7:function(){return U},HT:function(){return L},zO:function(){return C}});var ot=0,ft=0,it=0,H=1e3,q,I,Y=0,S=0,d=0,y=typeof performance=="object"&&performance.now?performance:Date,c=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(E){setTimeout(E,17)};function C(){return S||(c(k),S=y.now()+d)}function k(){S=0}function U(){this._call=this._time=this._next=null}U.prototype=L.prototype={constructor:U,restart:function(E,w,K){if(typeof E!="function")throw new TypeError("callback is not a function");K=(K==null?C():+K)+(w==null?0:+w),!this._next&&I!==this&&(I?I._next=this:q=this,I=this),this._call=E,this._time=K,P()},stop:function(){this._call&&(this._call=null,this._time=1/0,P())}};function L(E,w,K){var Ct=new U;return Ct.restart(E,w,K),Ct}function bt(){C(),++ot;for(var E=q,w;E;)(w=S-E._time)>=0&&E._call.call(void 0,w),E=E._next;--ot}function mt(){S=(Y=y.now())+d,ot=ft=0;try{bt()}finally{ot=0,_t(),S=0}}function wt(){var E=y.now(),w=E-Y;w>H&&(d-=w,Y=E)}function _t(){for(var E,w=q,K,Ct=1/0;w;)w._call?(Ct>w._time&&(Ct=w._time),E=w,w=w._next):(K=w._next,w._next=null,w=E?E._next=K:q=K);I=E,P(Ct)}function P(E){if(!ot){ft&&(ft=clearTimeout(ft));var w=E-S;w>24?(E<1/0&&(ft=setTimeout(mt,E-y.now()-d)),it&&(it=clearInterval(it))):(it||(Y=y.now(),it=setInterval(wt,H)),ot=1,c(mt))}}},23198:function(It,et,tt){"use strict";tt.d(et,{Nb1:function(){return Tt.Nb},LLu:function(){return mt},F5q:function(){return L},$0Z:function(){return Tt.$0},Dts:function(){return Tt.Dt},WQY:function(){return Tt.WQ},qpX:function(){return Tt.qp},u93:function(){return Tt.u9},tFB:function(){return Tt.tF},YY7:function(){return Tt.YY},OvA:function(){return Tt.Ov},dCK:function(){return Tt.dC},zgE:function(){return Tt.zg},fGX:function(){return Tt.fG},$m7:function(){return Tt.$m},c_6:function(){return Tt.c_},fxm:function(){return Tt.fx},FdL:function(){return Tt.Fd},ak_:function(){return Tt.ak},SxZ:function(){return Tt.Sx},eA_:function(){return Tt.eA},jsv:function(){return Tt.js},iJ:function(){return Tt.iJ},JHv:function(){return ru},jvg:function(){return Tt.jv},Fp7:function(){return ot},VV$:function(){return ft},ve8:function(){return Tt.ve},BYU:function(){return Ce},PKp:function(){return Me},Xf:function(){return Rr},Ys:function(){return Ve.Ys},td_:function(){return Ve.td},YPS:function(){return qe},rr1:function(){return pn},i$Z:function(){return ie},WQD:function(){return zn},Z_i:function(){return Yn},F0B:function(){return Nn},NGh:function(){return xn}});function ot(t,n){let e;if(n===void 0)for(const u of t)u!=null&&(e<u||e===void 0&&u>=u)&&(e=u);else{let u=-1;for(let s of t)(s=n(s,++u,t))!=null&&(e<s||e===void 0&&s>=s)&&(e=s)}return e}function ft(t,n){let e;if(n===void 0)for(const u of t)u!=null&&(e>u||e===void 0&&u>=u)&&(e=u);else{let u=-1;for(let s of t)(s=n(s,++u,t))!=null&&(e>s||e===void 0&&s>=s)&&(e=s)}return e}function it(t){return t}var H=1,q=2,I=3,Y=4,S=1e-6;function d(t){return"translate("+t+",0)"}function y(t){return"translate(0,"+t+")"}function c(t){return n=>+t(n)}function C(t,n){return n=Math.max(0,t.bandwidth()-n*2)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function k(){return!this.__axis}function U(t,n){var e=[],u=null,s=null,i=6,o=6,D=3,g=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,a=t===H||t===Y?-1:1,B=t===Y||t===q?"x":"y",G=t===H||t===I?d:y;function M(R){var jt=u==null?n.ticks?n.ticks.apply(n,e):n.domain():u,Qt=s==null?n.tickFormat?n.tickFormat.apply(n,e):it:s,F=Math.max(i,0)+D,h=n.range(),O=+h[0]+g,A=+h[h.length-1]+g,j=(n.bandwidth?C:c)(n.copy(),g),rt=R.selection?R.selection():R,_=rt.selectAll(".domain").data([null]),ct=rt.selectAll(".tick").data(jt,n).order(),Ft=ct.exit(),Yt=ct.enter().append("g").attr("class","tick"),dt=ct.select("line"),xt=ct.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),ct=ct.merge(Yt),dt=dt.merge(Yt.append("line").attr("stroke","currentColor").attr(B+"2",a*i)),xt=xt.merge(Yt.append("text").attr("fill","currentColor").attr(B,a*F).attr("dy",t===H?"0em":t===I?"0.71em":"0.32em")),R!==rt&&(_=_.transition(R),ct=ct.transition(R),dt=dt.transition(R),xt=xt.transition(R),Ft=Ft.transition(R).attr("opacity",S).attr("transform",function(Ut){return isFinite(Ut=j(Ut))?G(Ut+g):this.getAttribute("transform")}),Yt.attr("opacity",S).attr("transform",function(Ut){var Mt=this.parentNode.__axis;return G((Mt&&isFinite(Mt=Mt(Ut))?Mt:j(Ut))+g)})),Ft.remove(),_.attr("d",t===Y||t===q?o?"M"+a*o+","+O+"H"+g+"V"+A+"H"+a*o:"M"+g+","+O+"V"+A:o?"M"+O+","+a*o+"V"+g+"H"+A+"V"+a*o:"M"+O+","+g+"H"+A),ct.attr("opacity",1).attr("transform",function(Ut){return G(j(Ut)+g)}),dt.attr(B+"2",a*i),xt.attr(B,a*F).text(Qt),rt.filter(k).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===q?"start":t===Y?"end":"middle"),rt.each(function(){this.__axis=j})}return M.scale=function(R){return arguments.length?(n=R,M):n},M.ticks=function(){return e=Array.from(arguments),M},M.tickArguments=function(R){return arguments.length?(e=R==null?[]:Array.from(R),M):e.slice()},M.tickValues=function(R){return arguments.length?(u=R==null?null:Array.from(R),M):u&&u.slice()},M.tickFormat=function(R){return arguments.length?(s=R,M):s},M.tickSize=function(R){return arguments.length?(i=o=+R,M):i},M.tickSizeInner=function(R){return arguments.length?(i=+R,M):i},M.tickSizeOuter=function(R){return arguments.length?(o=+R,M):o},M.tickPadding=function(R){return arguments.length?(D=+R,M):D},M.offset=function(R){return arguments.length?(g=+R,M):g},M}function L(t){return U(H,t)}function bt(t){return U(q,t)}function mt(t){return U(I,t)}function wt(t){return U(Y,t)}var _t=tt(60829),P={name:"drag"},E={name:"space"},w={name:"handle"},K={name:"center"};const{abs:Ct,max:gt,min:v}=Math;function z(t){return[+t[0],+t[1]]}function st(t){return[z(t[0]),z(t[1])]}var lt={name:"x",handles:["w","e"].map(pt),input:function(t,n){return t==null?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},p={name:"y",handles:["n","s"].map(pt),input:function(t,n){return t==null?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},l={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(pt),input:function(t){return t==null?null:st(t)},output:function(t){return t}},W={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Z={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},at={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},J={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},kt={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function pt(t){return{type:t}}function Pt(t){return!t.ctrlKey&&!t.button}function Vt(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Et(){return navigator.maxTouchPoints||"ontouchstart"in this}function zt(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Kt(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Wt(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function tn(){return cn(lt)}function Jt(){return cn(p)}function hn(){return cn(l)}function cn(t){var n=Vt,e=Pt,u=Et,s=!0,i=dispatch("start","brush","end"),o=6,D;function g(F){var h=F.property("__brush",Qt).selectAll(".overlay").data([pt("overlay")]);h.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",W.overlay).merge(h).each(function(){var A=zt(this).extent;select(this).attr("x",A[0][0]).attr("y",A[0][1]).attr("width",A[1][0]-A[0][0]).attr("height",A[1][1]-A[0][1])}),F.selectAll(".selection").data([pt("selection")]).enter().append("rect").attr("class","selection").attr("cursor",W.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var O=F.selectAll(".handle").data(t.handles,function(A){return A.type});O.exit().remove(),O.enter().append("rect").attr("class",function(A){return"handle handle--"+A.type}).attr("cursor",function(A){return W[A.type]}),F.each(a).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",M).filter(u).on("touchstart.brush",M).on("touchmove.brush",R).on("touchend.brush touchcancel.brush",jt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}g.move=function(F,h,O){F.tween?F.on("start.brush",function(A){B(this,arguments).beforestart().start(A)}).on("interrupt.brush end.brush",function(A){B(this,arguments).end(A)}).tween("brush",function(){var A=this,j=A.__brush,rt=B(A,arguments),_=j.selection,ct=t.input(typeof h=="function"?h.apply(this,arguments):h,j.extent),Ft=interpolate(_,ct);function Yt(dt){j.selection=dt===1&&ct===null?null:Ft(dt),a.call(A),rt.brush()}return _!==null&&ct!==null?Yt:Yt(1)}):F.each(function(){var A=this,j=arguments,rt=A.__brush,_=t.input(typeof h=="function"?h.apply(A,j):h,rt.extent),ct=B(A,j).beforestart();interrupt(A),rt.selection=_===null?null:_,a.call(A),ct.start(O).brush(O).end(O)})},g.clear=function(F,h){g.move(F,null,h)};function a(){var F=select(this),h=zt(this).selection;h?(F.selectAll(".selection").style("display",null).attr("x",h[0][0]).attr("y",h[0][1]).attr("width",h[1][0]-h[0][0]).attr("height",h[1][1]-h[0][1]),F.selectAll(".handle").style("display",null).attr("x",function(O){return O.type[O.type.length-1]==="e"?h[1][0]-o/2:h[0][0]-o/2}).attr("y",function(O){return O.type[0]==="s"?h[1][1]-o/2:h[0][1]-o/2}).attr("width",function(O){return O.type==="n"||O.type==="s"?h[1][0]-h[0][0]+o:o}).attr("height",function(O){return O.type==="e"||O.type==="w"?h[1][1]-h[0][1]+o:o})):F.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function B(F,h,O){var A=F.__brush.emitter;return A&&(!O||!A.clean)?A:new G(F,h,O)}function G(F,h,O){this.that=F,this.args=h,this.state=F.__brush,this.active=0,this.clean=O}G.prototype={beforestart:function(){return++this.active===1&&(this.state.emitter=this,this.starting=!0),this},start:function(F,h){return this.starting?(this.starting=!1,this.emit("start",F,h)):this.emit("brush",F),this},brush:function(F,h){return this.emit("brush",F,h),this},end:function(F,h){return--this.active===0&&(delete this.state.emitter,this.emit("end",F,h)),this},emit:function(F,h,O){var A=select(this.that).datum();i.call(F,this.that,new BrushEvent(F,{sourceEvent:h,target:g,selection:t.output(this.state.selection),mode:O,dispatch:i}),A)}};function M(F){if(D&&!F.touches||!e.apply(this,arguments))return;var h=this,O=F.target.__data__.type,A=(s&&F.metaKey?O="overlay":O)==="selection"?P:s&&F.altKey?K:w,j=t===p?null:J[O],rt=t===lt?null:kt[O],_=zt(h),ct=_.extent,Ft=_.selection,Yt=ct[0][0],dt,xt,Ut=ct[0][1],Mt,r,T=ct[1][0],f,x,X=ct[1][1],$,N,Q=0,nt=0,Ot,At=j&&rt&&s&&F.shiftKey,Zt,Lt,vt=Array.from(F.touches||[F],V=>{const St=V.identifier;return V=pointer(V,h),V.point0=V.slice(),V.identifier=St,V});interrupt(h);var Ht=B(h,arguments,!0).beforestart();if(O==="overlay"){Ft&&(Ot=!0);const V=[vt[0],vt[1]||vt[0]];_.selection=Ft=[[dt=t===p?Yt:v(V[0][0],V[1][0]),Mt=t===lt?Ut:v(V[0][1],V[1][1])],[f=t===p?T:gt(V[0][0],V[1][0]),$=t===lt?X:gt(V[0][1],V[1][1])]],vt.length>1&&Bt(F)}else dt=Ft[0][0],Mt=Ft[0][1],f=Ft[1][0],$=Ft[1][1];xt=dt,r=Mt,x=f,N=$;var b=select(h).attr("pointer-events","none"),ut=b.selectAll(".overlay").attr("cursor",W[O]);if(F.touches)Ht.moved=m,Ht.ended=yt;else{var ht=select(F.view).on("mousemove.brush",m,!0).on("mouseup.brush",yt,!0);s&&ht.on("keydown.brush",Xt,!0).on("keyup.brush",Rt,!0),dragDisable(F.view)}a.call(h),Ht.start(F,A.name);function m(V){for(const St of V.changedTouches||[V])for(const An of vt)An.identifier===St.identifier&&(An.cur=pointer(St,h));if(At&&!Zt&&!Lt&&vt.length===1){const St=vt[0];Ct(St.cur[0]-St[0])>Ct(St.cur[1]-St[1])?Lt=!0:Zt=!0}for(const St of vt)St.cur&&(St[0]=St.cur[0],St[1]=St.cur[1]);Ot=!0,noevent(V),Bt(V)}function Bt(V){const St=vt[0],An=St.point0;var an;switch(Q=St[0]-An[0],nt=St[1]-An[1],A){case E:case P:{j&&(Q=gt(Yt-dt,v(T-f,Q)),xt=dt+Q,x=f+Q),rt&&(nt=gt(Ut-Mt,v(X-$,nt)),r=Mt+nt,N=$+nt);break}case w:{vt[1]?(j&&(xt=gt(Yt,v(T,vt[0][0])),x=gt(Yt,v(T,vt[1][0])),j=1),rt&&(r=gt(Ut,v(X,vt[0][1])),N=gt(Ut,v(X,vt[1][1])),rt=1)):(j<0?(Q=gt(Yt-dt,v(T-dt,Q)),xt=dt+Q,x=f):j>0&&(Q=gt(Yt-f,v(T-f,Q)),xt=dt,x=f+Q),rt<0?(nt=gt(Ut-Mt,v(X-Mt,nt)),r=Mt+nt,N=$):rt>0&&(nt=gt(Ut-$,v(X-$,nt)),r=Mt,N=$+nt));break}case K:{j&&(xt=gt(Yt,v(T,dt-Q*j)),x=gt(Yt,v(T,f+Q*j))),rt&&(r=gt(Ut,v(X,Mt-nt*rt)),N=gt(Ut,v(X,$+nt*rt)));break}}x<xt&&(j*=-1,an=dt,dt=f,f=an,an=xt,xt=x,x=an,O in Z&&ut.attr("cursor",W[O=Z[O]])),N<r&&(rt*=-1,an=Mt,Mt=$,$=an,an=r,r=N,N=an,O in at&&ut.attr("cursor",W[O=at[O]])),_.selection&&(Ft=_.selection),Zt&&(xt=Ft[0][0],x=Ft[1][0]),Lt&&(r=Ft[0][1],N=Ft[1][1]),(Ft[0][0]!==xt||Ft[0][1]!==r||Ft[1][0]!==x||Ft[1][1]!==N)&&(_.selection=[[xt,r],[x,N]],a.call(h),Ht.brush(V,A.name))}function yt(V){if(nopropagation(V),V.touches){if(V.touches.length)return;D&&clearTimeout(D),D=setTimeout(function(){D=null},500)}else dragEnable(V.view,Ot),ht.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);b.attr("pointer-events","all"),ut.attr("cursor",W.overlay),_.selection&&(Ft=_.selection),Kt(Ft)&&(_.selection=null,a.call(h)),Ht.end(V,A.name)}function Xt(V){switch(V.keyCode){case 16:{At=j&&rt;break}case 18:{A===w&&(j&&(f=x-Q*j,dt=xt+Q*j),rt&&($=N-nt*rt,Mt=r+nt*rt),A=K,Bt(V));break}case 32:{(A===w||A===K)&&(j<0?f=x-Q:j>0&&(dt=xt-Q),rt<0?$=N-nt:rt>0&&(Mt=r-nt),A=E,ut.attr("cursor",W.selection),Bt(V));break}default:return}noevent(V)}function Rt(V){switch(V.keyCode){case 16:{At&&(Zt=Lt=At=!1,Bt(V));break}case 18:{A===K&&(j<0?f=x:j>0&&(dt=xt),rt<0?$=N:rt>0&&(Mt=r),A=w,Bt(V));break}case 32:{A===E&&(V.altKey?(j&&(f=x-Q*j,dt=xt+Q*j),rt&&($=N-nt*rt,Mt=r+nt*rt),A=K):(j<0?f=x:j>0&&(dt=xt),rt<0?$=N:rt>0&&(Mt=r),A=w),ut.attr("cursor",W[O]),Bt(V));break}default:return}noevent(V)}}function R(F){B(this,arguments).moved(F)}function jt(F){B(this,arguments).ended(F)}function Qt(){var F=this.__brush||{selection:null};return F.extent=st(n.apply(this,arguments)),F.dim=t,F}return g.extent=function(F){return arguments.length?(n=typeof F=="function"?F:constant(st(F)),g):n},g.filter=function(F){return arguments.length?(e=typeof F=="function"?F:constant(!!F),g):e},g.touchable=function(F){return arguments.length?(u=typeof F=="function"?F:constant(!!F),g):u},g.handleSize=function(F){return arguments.length?(o=+F,g):o},g.keyModifiers=function(F){return arguments.length?(s=!!F,g):s},g.on=function(){var F=i.on.apply(i,arguments);return F===i?g:F},g}function Ge(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Je(t,n){return fetch(t,n).then(Ge)}function Zn(t){return(n,e)=>Je(n,e).then(u=>new DOMParser().parseFromString(u,t))}var ti=Zn("application/xml"),ni=Zn("text/html"),qe=Zn("image/svg+xml"),Tn=tt(9546),vn=tt(96683),tu=Math.PI/180,nu=180/Math.PI,kn=18,oe=.96422,se=1,ae=.82521,ce=4/29,mn=6/29,le=3*mn*mn,eu=mn*mn*mn;function fe(t){if(t instanceof qt)return new qt(t.l,t.a,t.b,t.opacity);if(t instanceof nn)return me(t);t instanceof vn.Ss||(t=(0,vn.SU)(t));var n=Pn(t.r),e=Pn(t.g),u=Pn(t.b),s=Hn((.2225045*n+.7168786*e+.0606169*u)/se),i,o;return n===e&&e===u?i=o=s:(i=Hn((.4360747*n+.3850649*e+.1430804*u)/oe),o=Hn((.0139322*n+.0971045*e+.7141733*u)/ae)),new qt(116*s-16,500*(i-s),200*(s-o),t.opacity)}function ei(t,n){return new qt(t,0,0,n==null?1:n)}function uu(t,n,e,u){return arguments.length===1?fe(t):new qt(t,n,e,u==null?1:u)}function qt(t,n,e,u){this.l=+t,this.a=+n,this.b=+e,this.opacity=+u}(0,Tn.Z)(qt,uu,(0,Tn.l)(vn.Il,{brighter:function(n){return new qt(this.l+kn*(n==null?1:n),this.a,this.b,this.opacity)},darker:function(n){return new qt(this.l-kn*(n==null?1:n),this.a,this.b,this.opacity)},rgb:function(){var n=(this.l+16)/116,e=isNaN(this.a)?n:n+this.a/500,u=isNaN(this.b)?n:n-this.b/200;return e=oe*On(e),n=se*On(n),u=ae*On(u),new vn.Ss(Ln(3.1338561*e-1.6168667*n-.4906146*u),Ln(-.9787684*e+1.9161415*n+.033454*u),Ln(.0719453*e-.2289914*n+1.4052427*u),this.opacity)}}));function Hn(t){return t>eu?Math.pow(t,1/3):t/le+ce}function On(t){return t>mn?t*t*t:le*(t-ce)}function Ln(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Pn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function he(t){if(t instanceof nn)return new nn(t.h,t.c,t.l,t.opacity);if(t instanceof qt||(t=fe(t)),t.a===0&&t.b===0)return new nn(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*nu;return new nn(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ui(t,n,e,u){return arguments.length===1?he(t):new nn(e,n,t,u==null?1:u)}function Wn(t,n,e,u){return arguments.length===1?he(t):new nn(t,n,e,u==null?1:u)}function nn(t,n,e,u){this.h=+t,this.c=+n,this.l=+e,this.opacity=+u}function me(t){if(isNaN(t.h))return new qt(t.l,0,0,t.opacity);var n=t.h*tu;return new qt(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}(0,Tn.Z)(nn,Wn,(0,Tn.l)(vn.Il,{brighter:function(n){return new nn(this.h,this.c,this.l+kn*(n==null?1:n),this.opacity)},darker:function(n){return new nn(this.h,this.c,this.l-kn*(n==null?1:n),this.opacity)},rgb:function(){return me(this).rgb()}}));var wn=tt(5312);function De(t){return function(n,e){var u=t((n=Wn(n)).h,(e=Wn(e)).h),s=(0,wn.ZP)(n.c,e.c),i=(0,wn.ZP)(n.l,e.l),o=(0,wn.ZP)(n.opacity,e.opacity);return function(D){return n.h=u(D),n.c=s(D),n.l=i(D),n.opacity=o(D),n+""}}}var ru=De(wn.wx),ri=De(wn.ZP);const iu=Math.sqrt(50),ou=Math.sqrt(10),su=Math.sqrt(2);function Bn(t,n,e){const u=(n-t)/Math.max(0,e),s=Math.floor(Math.log10(u)),i=u/Math.pow(10,s),o=i>=iu?10:i>=ou?5:i>=su?2:1;let D,g,a;return s<0?(a=Math.pow(10,-s)/o,D=Math.round(t*a),g=Math.round(n*a),D/a<t&&++D,g/a>n&&--g,a=-a):(a=Math.pow(10,s)*o,D=Math.round(t/a),g=Math.round(n/a),D*a<t&&++D,g*a>n&&--g),g<D&&.5<=e&&e<2?Bn(t,n,e*2):[D,g,a]}function au(t,n,e){if(n=+n,t=+t,e=+e,!(e>0))return[];if(t===n)return[t];const u=n<t,[s,i,o]=u?Bn(n,t,e):Bn(t,n,e);if(!(i>=s))return[];const D=i-s+1,g=new Array(D);if(u)if(o<0)for(let a=0;a<D;++a)g[a]=(i-a)/-o;else for(let a=0;a<D;++a)g[a]=(i-a)*o;else if(o<0)for(let a=0;a<D;++a)g[a]=(s+a)/-o;else for(let a=0;a<D;++a)g[a]=(s+a)*o;return g}function Xn(t,n,e){return n=+n,t=+t,e=+e,Bn(t,n,e)[2]}function Rn(t,n,e){n=+n,t=+t,e=+e;const u=n<t,s=u?Xn(n,t,e):Xn(t,n,e);return(u?-1:1)*(s<0?1/-s:s)}function Sn(t,n){return t==null||n==null?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function cu(t,n){return t==null||n==null?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function jn(t){let n,e,u;t.length!==2?(n=Sn,e=(D,g)=>Sn(t(D),g),u=(D,g)=>t(D)-g):(n=t===Sn||t===cu?t:lu,e=t,u=t);function s(D,g,a=0,B=D.length){if(a<B){if(n(g,g)!==0)return B;do{const G=a+B>>>1;e(D[G],g)<0?a=G+1:B=G}while(a<B)}return a}function i(D,g,a=0,B=D.length){if(a<B){if(n(g,g)!==0)return B;do{const G=a+B>>>1;e(D[G],g)<=0?a=G+1:B=G}while(a<B)}return a}function o(D,g,a=0,B=D.length){const G=s(D,g,a,B-1);return G>a&&u(D[G-1],g)>-u(D[G],g)?G-1:G}return{left:s,center:o,right:i}}function lu(){return 0}function fu(t){return t===null?NaN:+t}function*ii(t,n){if(n===void 0)for(let e of t)e!=null&&(e=+e)>=e&&(yield e);else{let e=-1;for(let u of t)(u=n(u,++e,t))!=null&&(u=+u)>=u&&(yield u)}}const ge=jn(Sn),hu=ge.right,oi=ge.left,si=jn(fu).center;var mu=hu,Du=tt(11730),gu=tt(79848);function pu(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Fu(t){return function(){return t}}function du(t){return+t}var pe=[0,1];function Dn(t){return t}function Vn(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Fu(isNaN(n)?NaN:.5)}function yu(t,n){var e;return t>n&&(e=t,t=n,n=e),function(u){return Math.max(t,Math.min(n,u))}}function Cu(t,n,e){var u=t[0],s=t[1],i=n[0],o=n[1];return s<u?(u=Vn(s,u),i=e(o,i)):(u=Vn(u,s),i=e(i,o)),function(D){return i(u(D))}}function vu(t,n,e){var u=Math.min(t.length,n.length)-1,s=new Array(u),i=new Array(u),o=-1;for(t[u]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++o<u;)s[o]=Vn(t[o],t[o+1]),i[o]=e(n[o],n[o+1]);return function(D){var g=mu(t,D,1,u)-1;return i[g](s[g](D))}}function Fe(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function wu(){var t=pe,n=pe,e=Du.Z,u,s,i,o=Dn,D,g,a;function B(){var M=Math.min(t.length,n.length);return o!==Dn&&(o=yu(t[0],t[M-1])),D=M>2?vu:Cu,g=a=null,G}function G(M){return M==null||isNaN(M=+M)?i:(g||(g=D(t.map(u),n,e)))(u(o(M)))}return G.invert=function(M){return o(s((a||(a=D(n,t.map(u),gu.Z)))(M)))},G.domain=function(M){return arguments.length?(t=Array.from(M,du),B()):t.slice()},G.range=function(M){return arguments.length?(n=Array.from(M),B()):n.slice()},G.rangeRound=function(M){return n=Array.from(M),e=pu,B()},G.clamp=function(M){return arguments.length?(o=M?!0:Dn,B()):o!==Dn},G.interpolate=function(M){return arguments.length?(e=M,B()):e},G.unknown=function(M){return arguments.length?(i=M,G):i},function(M,R){return u=M,s=R,B()}}function de(){return wu()(Dn,Dn)}function Kn(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t);break}return this}function ai(t,n){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof n=="function"?this.interpolator(n):this.range(n);break}}return this}var _u=tt(42035),_n=tt(65368);function xu(t,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor((0,_n.Z)(n)/3)))*3-(0,_n.Z)(Math.abs(t)))}var ye=tt(19799);function Eu(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,(0,_n.Z)(n)-(0,_n.Z)(t))+1}function Mu(t){return Math.max(0,-(0,_n.Z)(Math.abs(t)))}function bu(t,n,e,u){var s=Rn(t,n,e),i;switch(u=(0,_u.Z)(u==null?",f":u),u.type){case"s":{var o=Math.max(Math.abs(t),Math.abs(n));return u.precision==null&&!isNaN(i=xu(s,o))&&(u.precision=i),(0,ye.jH)(u,o)}case"":case"e":case"g":case"p":case"r":{u.precision==null&&!isNaN(i=Eu(s,Math.max(Math.abs(t),Math.abs(n))))&&(u.precision=i-(u.type==="e"));break}case"f":case"%":{u.precision==null&&!isNaN(i=Mu(s))&&(u.precision=i-(u.type==="%")*2);break}}return(0,ye.WU)(u)}function Au(t){var n=t.domain;return t.ticks=function(e){var u=n();return au(u[0],u[u.length-1],e==null?10:e)},t.tickFormat=function(e,u){var s=n();return bu(s[0],s[s.length-1],e==null?10:e,u)},t.nice=function(e){e==null&&(e=10);var u=n(),s=0,i=u.length-1,o=u[s],D=u[i],g,a,B=10;for(D<o&&(a=o,o=D,D=a,a=s,s=i,i=a);B-- >0;){if(a=Xn(o,D,e),a===g)return u[s]=o,u[i]=D,n(u);if(a>0)o=Math.floor(o/a)*a,D=Math.ceil(D/a)*a;else if(a<0)o=Math.ceil(o*a)/a,D=Math.floor(D*a)/a;else break;g=a}return t},t}function Ce(){var t=de();return t.copy=function(){return Fe(t,Ce())},Kn.apply(t,arguments),Au(t)}class ve extends Map{constructor(n,e=xe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),n!=null)for(const[u,s]of n)this.set(u,s)}get(n){return super.get(Qn(this,n))}has(n){return super.has(Qn(this,n))}set(n,e){return super.set(we(this,n),e)}delete(n){return super.delete(_e(this,n))}}class ci extends null{constructor(n,e=xe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),n!=null)for(const u of n)this.add(u)}has(n){return super.has(Qn(this,n))}add(n){return super.add(we(this,n))}delete(n){return super.delete(_e(this,n))}}function Qn({_intern:t,_key:n},e){const u=n(e);return t.has(u)?t.get(u):e}function we({_intern:t,_key:n},e){const u=n(e);return t.has(u)?t.get(u):(t.set(u,e),e)}function _e({_intern:t,_key:n},e){const u=n(e);return t.has(u)&&(e=t.get(u),t.delete(u)),e}function xe(t){return t!==null&&typeof t=="object"?t.valueOf():t}const Ee=Symbol("implicit");function Me(){var t=new ve,n=[],e=[],u=Ee;function s(i){let o=t.get(i);if(o===void 0){if(u!==Ee)return u;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return s.domain=function(i){if(!arguments.length)return n.slice();n=[],t=new ve;for(const o of i)t.has(o)||t.set(o,n.push(o)-1);return s},s.range=function(i){return arguments.length?(e=Array.from(i),s):e.slice()},s.unknown=function(i){return arguments.length?(u=i,s):u},s.copy=function(){return Me(n,e).unknown(u)},Kn.apply(s,arguments),s}const en=1e3,Gt=en*60,un=Gt*60,rn=un*24,Gn=rn*7,be=rn*30,Jn=rn*365,qn=new Date,te=new Date;function $t(t,n,e,u){function s(i){return t(i=arguments.length===0?new Date:new Date(+i)),i}return s.floor=i=>(t(i=new Date(+i)),i),s.ceil=i=>(t(i=new Date(i-1)),n(i,1),t(i),i),s.round=i=>{const o=s(i),D=s.ceil(i);return i-o<D-i?o:D},s.offset=(i,o)=>(n(i=new Date(+i),o==null?1:Math.floor(o)),i),s.range=(i,o,D)=>{const g=[];if(i=s.ceil(i),D=D==null?1:Math.floor(D),!(i<o)||!(D>0))return g;let a;do g.push(a=new Date(+i)),n(i,D),t(i);while(a<i&&i<o);return g},s.filter=i=>$t(o=>{if(o>=o)for(;t(o),!i(o);)o.setTime(o-1)},(o,D)=>{if(o>=o)if(D<0)for(;++D<=0;)for(;n(o,-1),!i(o););else for(;--D>=0;)for(;n(o,1),!i(o););}),e&&(s.count=(i,o)=>(qn.setTime(+i),te.setTime(+o),t(qn),t(te),Math.floor(e(qn,te))),s.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?s.filter(u?o=>u(o)%i===0:o=>s.count(0,o)%i===0):s)),s}const Un=$t(()=>{},(t,n)=>{t.setTime(+t+n)},(t,n)=>n-t);Un.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?$t(n=>{n.setTime(Math.floor(n/t)*t)},(n,e)=>{n.setTime(+n+e*t)},(n,e)=>(e-n)/t):Un);const li=Un.range,gn=$t(t=>{t.setTime(t-t.getMilliseconds())},(t,n)=>{t.setTime(+t+n*en)},(t,n)=>(n-t)/en,t=>t.getUTCSeconds()),fi=gn.range,Yn=$t(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*en)},(t,n)=>{t.setTime(+t+n*Gt)},(t,n)=>(n-t)/Gt,t=>t.getMinutes()),hi=Yn.range,Ae=$t(t=>{t.setUTCSeconds(0,0)},(t,n)=>{t.setTime(+t+n*Gt)},(t,n)=>(n-t)/Gt,t=>t.getUTCMinutes()),mi=Ae.range,zn=$t(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*en-t.getMinutes()*Gt)},(t,n)=>{t.setTime(+t+n*un)},(t,n)=>(n-t)/un,t=>t.getHours()),Di=zn.range,Te=$t(t=>{t.setUTCMinutes(0,0,0)},(t,n)=>{t.setTime(+t+n*un)},(t,n)=>(n-t)/un,t=>t.getUTCHours()),gi=Te.range,pn=$t(t=>t.setHours(0,0,0,0),(t,n)=>t.setDate(t.getDate()+n),(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Gt)/rn,t=>t.getDate()-1),pi=pn.range,ne=$t(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/rn,t=>t.getUTCDate()-1),Fi=ne.range,ke=$t(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/rn,t=>Math.floor(t/rn)),di=ke.range;function ln(t){return $t(n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},(n,e)=>{n.setDate(n.getDate()+e*7)},(n,e)=>(e-n-(e.getTimezoneOffset()-n.getTimezoneOffset())*Gt)/Gn)}const xn=ln(0),$n=ln(1),Tu=ln(2),ku=ln(3),Fn=ln(4),Bu=ln(5),Su=ln(6),yi=xn.range,Ci=$n.range,vi=Tu.range,wi=ku.range,_i=Fn.range,xi=Bu.range,Ei=Su.range;function fn(t){return $t(n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},(n,e)=>{n.setUTCDate(n.getUTCDate()+e*7)},(n,e)=>(e-n)/Gn)}const ee=fn(0),In=fn(1),Uu=fn(2),Yu=fn(3),dn=fn(4),zu=fn(5),$u=fn(6),Mi=ee.range,bi=In.range,Ai=Uu.range,Ti=Yu.range,ki=dn.range,Bi=zu.range,Si=$u.range,Nn=$t(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,n)=>{t.setMonth(t.getMonth()+n)},(t,n)=>n.getMonth()-t.getMonth()+(n.getFullYear()-t.getFullYear())*12,t=>t.getMonth()),Ui=Nn.range,Be=$t(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)},(t,n)=>n.getUTCMonth()-t.getUTCMonth()+(n.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth()),Yi=Be.range,on=$t(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n)},(t,n)=>n.getFullYear()-t.getFullYear(),t=>t.getFullYear());on.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:$t(n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},(n,e)=>{n.setFullYear(n.getFullYear()+e*t)});const zi=on.range,sn=$t(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)},(t,n)=>n.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());sn.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:$t(n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},(n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)});const $i=sn.range;function Se(t,n,e,u,s,i){const o=[[gn,1,en],[gn,5,5*en],[gn,15,15*en],[gn,30,30*en],[i,1,Gt],[i,5,5*Gt],[i,15,15*Gt],[i,30,30*Gt],[s,1,un],[s,3,3*un],[s,6,6*un],[s,12,12*un],[u,1,rn],[u,2,2*rn],[e,1,Gn],[n,1,be],[n,3,3*be],[t,1,Jn]];function D(a,B,G){const M=B<a;M&&([a,B]=[B,a]);const R=G&&typeof G.range=="function"?G:g(a,B,G),jt=R?R.range(a,+B+1):[];return M?jt.reverse():jt}function g(a,B,G){const M=Math.abs(B-a)/G,R=jn(([,,F])=>F).right(o,M);if(R===o.length)return t.every(Rn(a/Jn,B/Jn,G));if(R===0)return Un.every(Math.max(Rn(a,B,G),1));const[jt,Qt]=o[M/o[R-1][2]<o[R][2]/M?R-1:R];return jt.every(Qt)}return[D,g]}const[Ii,Ni]=Se(sn,Be,ee,ke,Te,Ae),[Iu,Nu]=Se(on,Nn,xn,pn,zn,Yn);function ue(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function re(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function En(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function Zu(t){var n=t.dateTime,e=t.date,u=t.time,s=t.periods,i=t.days,o=t.shortDays,D=t.months,g=t.shortMonths,a=Mn(s),B=bn(s),G=Mn(i),M=bn(i),R=Mn(o),jt=bn(o),Qt=Mn(D),F=bn(D),h=Mn(g),O=bn(g),A={a:x,A:X,b:$,B:N,c:null,d:Ne,e:Ne,f:ar,g:dr,G:Cr,H:ir,I:or,j:sr,L:Ze,m:cr,M:lr,p:Q,q:nt,Q:Xe,s:Re,S:fr,u:hr,U:mr,V:Dr,w:gr,W:pr,x:null,X:null,y:Fr,Y:yr,Z:vr,"%":We},j={a:Ot,A:At,b:Zt,B:Lt,c:null,d:Oe,e:Oe,f:Er,g:zr,G:Ir,H:wr,I:_r,j:xr,L:Le,m:Mr,M:br,p:vt,q:Ht,Q:Xe,s:Re,S:Ar,u:Tr,U:kr,V:Br,w:Sr,W:Ur,x:null,X:null,y:Yr,Y:$r,Z:Nr,"%":We},rt={a:dt,A:xt,b:Ut,B:Mt,c:r,d:$e,e:$e,f:nr,g:ze,G:Ye,H:Ie,I:Ie,j:Gu,L:tr,m:Qu,M:Ju,p:Yt,q:Ku,Q:ur,s:rr,S:qu,u:Wu,U:Xu,V:Ru,w:Pu,W:ju,x:T,X:f,y:ze,Y:Ye,Z:Vu,"%":er};A.x=_(e,A),A.X=_(u,A),A.c=_(n,A),j.x=_(e,j),j.X=_(u,j),j.c=_(n,j);function _(b,ut){return function(ht){var m=[],Bt=-1,yt=0,Xt=b.length,Rt,V,St;for(ht instanceof Date||(ht=new Date(+ht));++Bt<Xt;)b.charCodeAt(Bt)===37&&(m.push(b.slice(yt,Bt)),(V=Ue[Rt=b.charAt(++Bt)])!=null?Rt=b.charAt(++Bt):V=Rt==="e"?" ":"0",(St=ut[Rt])&&(Rt=St(ht,V)),m.push(Rt),yt=Bt+1);return m.push(b.slice(yt,Bt)),m.join("")}}function ct(b,ut){return function(ht){var m=En(1900,void 0,1),Bt=Ft(m,b,ht+="",0),yt,Xt;if(Bt!=ht.length)return null;if("Q"in m)return new Date(m.Q);if("s"in m)return new Date(m.s*1e3+("L"in m?m.L:0));if(ut&&!("Z"in m)&&(m.Z=0),"p"in m&&(m.H=m.H%12+m.p*12),m.m===void 0&&(m.m="q"in m?m.q:0),"V"in m){if(m.V<1||m.V>53)return null;"w"in m||(m.w=1),"Z"in m?(yt=re(En(m.y,0,1)),Xt=yt.getUTCDay(),yt=Xt>4||Xt===0?In.ceil(yt):In(yt),yt=ne.offset(yt,(m.V-1)*7),m.y=yt.getUTCFullYear(),m.m=yt.getUTCMonth(),m.d=yt.getUTCDate()+(m.w+6)%7):(yt=ue(En(m.y,0,1)),Xt=yt.getDay(),yt=Xt>4||Xt===0?$n.ceil(yt):$n(yt),yt=pn.offset(yt,(m.V-1)*7),m.y=yt.getFullYear(),m.m=yt.getMonth(),m.d=yt.getDate()+(m.w+6)%7)}else("W"in m||"U"in m)&&("w"in m||(m.w="u"in m?m.u%7:"W"in m?1:0),Xt="Z"in m?re(En(m.y,0,1)).getUTCDay():ue(En(m.y,0,1)).getDay(),m.m=0,m.d="W"in m?(m.w+6)%7+m.W*7-(Xt+5)%7:m.w+m.U*7-(Xt+6)%7);return"Z"in m?(m.H+=m.Z/100|0,m.M+=m.Z%100,re(m)):ue(m)}}function Ft(b,ut,ht,m){for(var Bt=0,yt=ut.length,Xt=ht.length,Rt,V;Bt<yt;){if(m>=Xt)return-1;if(Rt=ut.charCodeAt(Bt++),Rt===37){if(Rt=ut.charAt(Bt++),V=rt[Rt in Ue?ut.charAt(Bt++):Rt],!V||(m=V(b,ht,m))<0)return-1}else if(Rt!=ht.charCodeAt(m++))return-1}return m}function Yt(b,ut,ht){var m=a.exec(ut.slice(ht));return m?(b.p=B.get(m[0].toLowerCase()),ht+m[0].length):-1}function dt(b,ut,ht){var m=R.exec(ut.slice(ht));return m?(b.w=jt.get(m[0].toLowerCase()),ht+m[0].length):-1}function xt(b,ut,ht){var m=G.exec(ut.slice(ht));return m?(b.w=M.get(m[0].toLowerCase()),ht+m[0].length):-1}function Ut(b,ut,ht){var m=h.exec(ut.slice(ht));return m?(b.m=O.get(m[0].toLowerCase()),ht+m[0].length):-1}function Mt(b,ut,ht){var m=Qt.exec(ut.slice(ht));return m?(b.m=F.get(m[0].toLowerCase()),ht+m[0].length):-1}function r(b,ut,ht){return Ft(b,n,ut,ht)}function T(b,ut,ht){return Ft(b,e,ut,ht)}function f(b,ut,ht){return Ft(b,u,ut,ht)}function x(b){return o[b.getDay()]}function X(b){return i[b.getDay()]}function $(b){return g[b.getMonth()]}function N(b){return D[b.getMonth()]}function Q(b){return s[+(b.getHours()>=12)]}function nt(b){return 1+~~(b.getMonth()/3)}function Ot(b){return o[b.getUTCDay()]}function At(b){return i[b.getUTCDay()]}function Zt(b){return g[b.getUTCMonth()]}function Lt(b){return D[b.getUTCMonth()]}function vt(b){return s[+(b.getUTCHours()>=12)]}function Ht(b){return 1+~~(b.getUTCMonth()/3)}return{format:function(b){var ut=_(b+="",A);return ut.toString=function(){return b},ut},parse:function(b){var ut=ct(b+="",!1);return ut.toString=function(){return b},ut},utcFormat:function(b){var ut=_(b+="",j);return ut.toString=function(){return b},ut},utcParse:function(b){var ut=ct(b+="",!0);return ut.toString=function(){return b},ut}}}var Ue={"-":"",_:" ",0:"0"},Nt=/^\s*\d+/,Hu=/^%/,Ou=/[\\^$*+?|[\]().{}]/g;function Dt(t,n,e){var u=t<0?"-":"",s=(u?-t:t)+"",i=s.length;return u+(i<e?new Array(e-i+1).join(n)+s:s)}function Lu(t){return t.replace(Ou,"\\$&")}function Mn(t){return new RegExp("^(?:"+t.map(Lu).join("|")+")","i")}function bn(t){return new Map(t.map((n,e)=>[n.toLowerCase(),e]))}function Pu(t,n,e){var u=Nt.exec(n.slice(e,e+1));return u?(t.w=+u[0],e+u[0].length):-1}function Wu(t,n,e){var u=Nt.exec(n.slice(e,e+1));return u?(t.u=+u[0],e+u[0].length):-1}function Xu(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.U=+u[0],e+u[0].length):-1}function Ru(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.V=+u[0],e+u[0].length):-1}function ju(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.W=+u[0],e+u[0].length):-1}function Ye(t,n,e){var u=Nt.exec(n.slice(e,e+4));return u?(t.y=+u[0],e+u[0].length):-1}function ze(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.y=+u[0]+(+u[0]>68?1900:2e3),e+u[0].length):-1}function Vu(t,n,e){var u=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return u?(t.Z=u[1]?0:-(u[2]+(u[3]||"00")),e+u[0].length):-1}function Ku(t,n,e){var u=Nt.exec(n.slice(e,e+1));return u?(t.q=u[0]*3-3,e+u[0].length):-1}function Qu(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.m=u[0]-1,e+u[0].length):-1}function $e(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.d=+u[0],e+u[0].length):-1}function Gu(t,n,e){var u=Nt.exec(n.slice(e,e+3));return u?(t.m=0,t.d=+u[0],e+u[0].length):-1}function Ie(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.H=+u[0],e+u[0].length):-1}function Ju(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.M=+u[0],e+u[0].length):-1}function qu(t,n,e){var u=Nt.exec(n.slice(e,e+2));return u?(t.S=+u[0],e+u[0].length):-1}function tr(t,n,e){var u=Nt.exec(n.slice(e,e+3));return u?(t.L=+u[0],e+u[0].length):-1}function nr(t,n,e){var u=Nt.exec(n.slice(e,e+6));return u?(t.L=Math.floor(u[0]/1e3),e+u[0].length):-1}function er(t,n,e){var u=Hu.exec(n.slice(e,e+1));return u?e+u[0].length:-1}function ur(t,n,e){var u=Nt.exec(n.slice(e));return u?(t.Q=+u[0],e+u[0].length):-1}function rr(t,n,e){var u=Nt.exec(n.slice(e));return u?(t.s=+u[0],e+u[0].length):-1}function Ne(t,n){return Dt(t.getDate(),n,2)}function ir(t,n){return Dt(t.getHours(),n,2)}function or(t,n){return Dt(t.getHours()%12||12,n,2)}function sr(t,n){return Dt(1+pn.count(on(t),t),n,3)}function Ze(t,n){return Dt(t.getMilliseconds(),n,3)}function ar(t,n){return Ze(t,n)+"000"}function cr(t,n){return Dt(t.getMonth()+1,n,2)}function lr(t,n){return Dt(t.getMinutes(),n,2)}function fr(t,n){return Dt(t.getSeconds(),n,2)}function hr(t){var n=t.getDay();return n===0?7:n}function mr(t,n){return Dt(xn.count(on(t)-1,t),n,2)}function He(t){var n=t.getDay();return n>=4||n===0?Fn(t):Fn.ceil(t)}function Dr(t,n){return t=He(t),Dt(Fn.count(on(t),t)+(on(t).getDay()===4),n,2)}function gr(t){return t.getDay()}function pr(t,n){return Dt($n.count(on(t)-1,t),n,2)}function Fr(t,n){return Dt(t.getFullYear()%100,n,2)}function dr(t,n){return t=He(t),Dt(t.getFullYear()%100,n,2)}function yr(t,n){return Dt(t.getFullYear()%1e4,n,4)}function Cr(t,n){var e=t.getDay();return t=e>=4||e===0?Fn(t):Fn.ceil(t),Dt(t.getFullYear()%1e4,n,4)}function vr(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Dt(n/60|0,"0",2)+Dt(n%60,"0",2)}function Oe(t,n){return Dt(t.getUTCDate(),n,2)}function wr(t,n){return Dt(t.getUTCHours(),n,2)}function _r(t,n){return Dt(t.getUTCHours()%12||12,n,2)}function xr(t,n){return Dt(1+ne.count(sn(t),t),n,3)}function Le(t,n){return Dt(t.getUTCMilliseconds(),n,3)}function Er(t,n){return Le(t,n)+"000"}function Mr(t,n){return Dt(t.getUTCMonth()+1,n,2)}function br(t,n){return Dt(t.getUTCMinutes(),n,2)}function Ar(t,n){return Dt(t.getUTCSeconds(),n,2)}function Tr(t){var n=t.getUTCDay();return n===0?7:n}function kr(t,n){return Dt(ee.count(sn(t)-1,t),n,2)}function Pe(t){var n=t.getUTCDay();return n>=4||n===0?dn(t):dn.ceil(t)}function Br(t,n){return t=Pe(t),Dt(dn.count(sn(t),t)+(sn(t).getUTCDay()===4),n,2)}function Sr(t){return t.getUTCDay()}function Ur(t,n){return Dt(In.count(sn(t)-1,t),n,2)}function Yr(t,n){return Dt(t.getUTCFullYear()%100,n,2)}function zr(t,n){return t=Pe(t),Dt(t.getUTCFullYear()%100,n,2)}function $r(t,n){return Dt(t.getUTCFullYear()%1e4,n,4)}function Ir(t,n){var e=t.getUTCDay();return t=e>=4||e===0?dn(t):dn.ceil(t),Dt(t.getUTCFullYear()%1e4,n,4)}function Nr(){return"+0000"}function We(){return"%"}function Xe(t){return+t}function Re(t){return Math.floor(+t/1e3)}var yn,ie,Zr,Hr,Or;Lr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Lr(t){return yn=Zu(t),ie=yn.format,Zr=yn.parse,Hr=yn.utcFormat,Or=yn.utcParse,yn}function Pr(t,n){t=t.slice();var e=0,u=t.length-1,s=t[e],i=t[u],o;return i<s&&(o=e,e=u,u=o,o=s,s=i,i=o),t[e]=n.floor(s),t[u]=n.ceil(i),t}function Wr(t){return new Date(t)}function Xr(t){return t instanceof Date?+t:+new Date(+t)}function je(t,n,e,u,s,i,o,D,g,a){var B=de(),G=B.invert,M=B.domain,R=a(".%L"),jt=a(":%S"),Qt=a("%I:%M"),F=a("%I %p"),h=a("%a %d"),O=a("%b %d"),A=a("%B"),j=a("%Y");function rt(_){return(g(_)<_?R:D(_)<_?jt:o(_)<_?Qt:i(_)<_?F:u(_)<_?s(_)<_?h:O:e(_)<_?A:j)(_)}return B.invert=function(_){return new Date(G(_))},B.domain=function(_){return arguments.length?M(Array.from(_,Xr)):M().map(Wr)},B.ticks=function(_){var ct=M();return t(ct[0],ct[ct.length-1],_==null?10:_)},B.tickFormat=function(_,ct){return ct==null?rt:a(ct)},B.nice=function(_){var ct=M();return(!_||typeof _.range!="function")&&(_=n(ct[0],ct[ct.length-1],_==null?10:_)),_?M(Pr(ct,_)):B},B.copy=function(){return Fe(B,je(t,n,e,u,s,i,o,D,g,a))},B}function Rr(){return Kn.apply(je(Iu,Nu,on,Nn,xn,pn,zn,Yn,gn,ie).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Ve=tt(18320),Tt=tt(38100);function Cn(t,n,e){this.k=t,this.x=n,this.y=e}Cn.prototype={constructor:Cn,scale:function(t){return t===1?this:new Cn(this.k*t,this.x,this.y)},translate:function(t,n){return t===0&n===0?this:new Cn(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var jr=new Cn(1,0,0);Vr.prototype=Cn.prototype;function Vr(t){for(;!t.__zoom;)if(!(t=t.parentNode))return jr;return t.__zoom}function Kr(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function Qr(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function Ke(){return this.__zoom||identity}function Gr(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Jr(){return navigator.maxTouchPoints||"ontouchstart"in this}function qr(t,n,e){var u=t.invertX(n[0][0])-e[0][0],s=t.invertX(n[1][0])-e[1][0],i=t.invertY(n[0][1])-e[0][1],o=t.invertY(n[1][1])-e[1][1];return t.translate(s>u?(u+s)/2:Math.min(0,u)||Math.max(0,s),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function Zi(){var t=Kr,n=Qr,e=qr,u=Gr,s=Jr,i=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],D=250,g=interpolateZoom,a=dispatch("start","zoom","end"),B,G,M,R=500,jt=150,Qt=0,F=10;function h(r){r.property("__zoom",Ke).on("wheel.zoom",Ft,{passive:!1}).on("mousedown.zoom",Yt).on("dblclick.zoom",dt).filter(s).on("touchstart.zoom",xt).on("touchmove.zoom",Ut).on("touchend.zoom touchcancel.zoom",Mt).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}h.transform=function(r,T,f,x){var X=r.selection?r.selection():r;X.property("__zoom",Ke),r!==X?rt(r,T,f,x):X.interrupt().each(function(){_(this,arguments).event(x).start().zoom(null,typeof T=="function"?T.apply(this,arguments):T).end()})},h.scaleBy=function(r,T,f,x){h.scaleTo(r,function(){var X=this.__zoom.k,$=typeof T=="function"?T.apply(this,arguments):T;return X*$},f,x)},h.scaleTo=function(r,T,f,x){h.transform(r,function(){var X=n.apply(this,arguments),$=this.__zoom,N=f==null?j(X):typeof f=="function"?f.apply(this,arguments):f,Q=$.invert(N),nt=typeof T=="function"?T.apply(this,arguments):T;return e(A(O($,nt),N,Q),X,o)},f,x)},h.translateBy=function(r,T,f,x){h.transform(r,function(){return e(this.__zoom.translate(typeof T=="function"?T.apply(this,arguments):T,typeof f=="function"?f.apply(this,arguments):f),n.apply(this,arguments),o)},null,x)},h.translateTo=function(r,T,f,x,X){h.transform(r,function(){var $=n.apply(this,arguments),N=this.__zoom,Q=x==null?j($):typeof x=="function"?x.apply(this,arguments):x;return e(identity.translate(Q[0],Q[1]).scale(N.k).translate(typeof T=="function"?-T.apply(this,arguments):-T,typeof f=="function"?-f.apply(this,arguments):-f),$,o)},x,X)};function O(r,T){return T=Math.max(i[0],Math.min(i[1],T)),T===r.k?r:new Transform(T,r.x,r.y)}function A(r,T,f){var x=T[0]-f[0]*r.k,X=T[1]-f[1]*r.k;return x===r.x&&X===r.y?r:new Transform(r.k,x,X)}function j(r){return[(+r[0][0]+ +r[1][0])/2,(+r[0][1]+ +r[1][1])/2]}function rt(r,T,f,x){r.on("start.zoom",function(){_(this,arguments).event(x).start()}).on("interrupt.zoom end.zoom",function(){_(this,arguments).event(x).end()}).tween("zoom",function(){var X=this,$=arguments,N=_(X,$).event(x),Q=n.apply(X,$),nt=f==null?j(Q):typeof f=="function"?f.apply(X,$):f,Ot=Math.max(Q[1][0]-Q[0][0],Q[1][1]-Q[0][1]),At=X.__zoom,Zt=typeof T=="function"?T.apply(X,$):T,Lt=g(At.invert(nt).concat(Ot/At.k),Zt.invert(nt).concat(Ot/Zt.k));return function(vt){if(vt===1)vt=Zt;else{var Ht=Lt(vt),b=Ot/Ht[2];vt=new Transform(b,nt[0]-Ht[0]*b,nt[1]-Ht[1]*b)}N.zoom(null,vt)}})}function _(r,T,f){return!f&&r.__zooming||new ct(r,T)}function ct(r,T){this.that=r,this.args=T,this.active=0,this.sourceEvent=null,this.extent=n.apply(r,T),this.taps=0}ct.prototype={event:function(r){return r&&(this.sourceEvent=r),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(r,T){return this.mouse&&r!=="mouse"&&(this.mouse[1]=T.invert(this.mouse[0])),this.touch0&&r!=="touch"&&(this.touch0[1]=T.invert(this.touch0[0])),this.touch1&&r!=="touch"&&(this.touch1[1]=T.invert(this.touch1[0])),this.that.__zoom=T,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(r){var T=select(this.that).datum();a.call(r,this.that,new ZoomEvent(r,{sourceEvent:this.sourceEvent,target:h,type:r,transform:this.that.__zoom,dispatch:a}),T)}};function Ft(r,...T){if(!t.apply(this,arguments))return;var f=_(this,T).event(r),x=this.__zoom,X=Math.max(i[0],Math.min(i[1],x.k*Math.pow(2,u.apply(this,arguments)))),$=pointer(r);if(f.wheel)(f.mouse[0][0]!==$[0]||f.mouse[0][1]!==$[1])&&(f.mouse[1]=x.invert(f.mouse[0]=$)),clearTimeout(f.wheel);else{if(x.k===X)return;f.mouse=[$,x.invert($)],interrupt(this),f.start()}noevent(r),f.wheel=setTimeout(N,jt),f.zoom("mouse",e(A(O(x,X),f.mouse[0],f.mouse[1]),f.extent,o));function N(){f.wheel=null,f.end()}}function Yt(r,...T){if(M||!t.apply(this,arguments))return;var f=r.currentTarget,x=_(this,T,!0).event(r),X=select(r.view).on("mousemove.zoom",nt,!0).on("mouseup.zoom",Ot,!0),$=pointer(r,f),N=r.clientX,Q=r.clientY;dragDisable(r.view),nopropagation(r),x.mouse=[$,this.__zoom.invert($)],interrupt(this),x.start();function nt(At){if(noevent(At),!x.moved){var Zt=At.clientX-N,Lt=At.clientY-Q;x.moved=Zt*Zt+Lt*Lt>Qt}x.event(At).zoom("mouse",e(A(x.that.__zoom,x.mouse[0]=pointer(At,f),x.mouse[1]),x.extent,o))}function Ot(At){X.on("mousemove.zoom mouseup.zoom",null),dragEnable(At.view,x.moved),noevent(At),x.event(At).end()}}function dt(r,...T){if(t.apply(this,arguments)){var f=this.__zoom,x=pointer(r.changedTouches?r.changedTouches[0]:r,this),X=f.invert(x),$=f.k*(r.shiftKey?.5:2),N=e(A(O(f,$),x,X),n.apply(this,T),o);noevent(r),D>0?select(this).transition().duration(D).call(rt,N,x,r):select(this).call(h.transform,N,x,r)}}function xt(r,...T){if(t.apply(this,arguments)){var f=r.touches,x=f.length,X=_(this,T,r.changedTouches.length===x).event(r),$,N,Q,nt;for(nopropagation(r),N=0;N<x;++N)Q=f[N],nt=pointer(Q,this),nt=[nt,this.__zoom.invert(nt),Q.identifier],X.touch0?!X.touch1&&X.touch0[2]!==nt[2]&&(X.touch1=nt,X.taps=0):(X.touch0=nt,$=!0,X.taps=1+!!B);B&&(B=clearTimeout(B)),$&&(X.taps<2&&(G=nt[0],B=setTimeout(function(){B=null},R)),interrupt(this),X.start())}}function Ut(r,...T){if(this.__zooming){var f=_(this,T).event(r),x=r.changedTouches,X=x.length,$,N,Q,nt;for(noevent(r),$=0;$<X;++$)N=x[$],Q=pointer(N,this),f.touch0&&f.touch0[2]===N.identifier?f.touch0[0]=Q:f.touch1&&f.touch1[2]===N.identifier&&(f.touch1[0]=Q);if(N=f.that.__zoom,f.touch1){var Ot=f.touch0[0],At=f.touch0[1],Zt=f.touch1[0],Lt=f.touch1[1],vt=(vt=Zt[0]-Ot[0])*vt+(vt=Zt[1]-Ot[1])*vt,Ht=(Ht=Lt[0]-At[0])*Ht+(Ht=Lt[1]-At[1])*Ht;N=O(N,Math.sqrt(vt/Ht)),Q=[(Ot[0]+Zt[0])/2,(Ot[1]+Zt[1])/2],nt=[(At[0]+Lt[0])/2,(At[1]+Lt[1])/2]}else if(f.touch0)Q=f.touch0[0],nt=f.touch0[1];else return;f.zoom("touch",e(A(N,Q,nt),f.extent,o))}}function Mt(r,...T){if(this.__zooming){var f=_(this,T).event(r),x=r.changedTouches,X=x.length,$,N;for(nopropagation(r),M&&clearTimeout(M),M=setTimeout(function(){M=null},R),$=0;$<X;++$)N=x[$],f.touch0&&f.touch0[2]===N.identifier?delete f.touch0:f.touch1&&f.touch1[2]===N.identifier&&delete f.touch1;if(f.touch1&&!f.touch0&&(f.touch0=f.touch1,delete f.touch1),f.touch0)f.touch0[1]=this.__zoom.invert(f.touch0[0]);else if(f.end(),f.taps===2&&(N=pointer(N,this),Math.hypot(G[0]-N[0],G[1]-N[1])<F)){var Q=select(this).on("dblclick.zoom");Q&&Q.apply(this,arguments)}}}return h.wheelDelta=function(r){return arguments.length?(u=typeof r=="function"?r:constant(+r),h):u},h.filter=function(r){return arguments.length?(t=typeof r=="function"?r:constant(!!r),h):t},h.touchable=function(r){return arguments.length?(s=typeof r=="function"?r:constant(!!r),h):s},h.extent=function(r){return arguments.length?(n=typeof r=="function"?r:constant([[+r[0][0],+r[0][1]],[+r[1][0],+r[1][1]]]),h):n},h.scaleExtent=function(r){return arguments.length?(i[0]=+r[0],i[1]=+r[1],h):[i[0],i[1]]},h.translateExtent=function(r){return arguments.length?(o[0][0]=+r[0][0],o[1][0]=+r[1][0],o[0][1]=+r[0][1],o[1][1]=+r[1][1],h):[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},h.constrain=function(r){return arguments.length?(e=r,h):e},h.duration=function(r){return arguments.length?(D=+r,h):D},h.interpolate=function(r){return arguments.length?(g=r,h):g},h.on=function(){var r=a.on.apply(a,arguments);return r===a?h:r},h.clickDistance=function(r){return arguments.length?(Qt=(r=+r)*r,h):Math.sqrt(Qt)},h.tapDistance=function(r){return arguments.length?(F=+r,h):F},h}},8782:function(It,et,tt){"use strict";tt.r(et),tt.d(et,{decode:function(){return H},encode:function(){return S},format:function(){return d},parse:function(){return gt}});const ot={};function ft(v){let z=ot[v];if(z)return z;z=ot[v]=[];for(let st=0;st<128;st++){const lt=String.fromCharCode(st);z.push(lt)}for(let st=0;st<v.length;st++){const lt=v.charCodeAt(st);z[lt]="%"+("0"+lt.toString(16).toUpperCase()).slice(-2)}return z}function it(v,z){typeof z!="string"&&(z=it.defaultChars);const st=ft(z);return v.replace(/(%[a-f0-9]{2})+/gi,function(lt){let p="";for(let l=0,W=lt.length;l<W;l+=3){const Z=parseInt(lt.slice(l+1,l+3),16);if(Z<128){p+=st[Z];continue}if((Z&224)===192&&l+3<W){const at=parseInt(lt.slice(l+4,l+6),16);if((at&192)===128){const J=Z<<6&1984|at&63;J<128?p+="\uFFFD\uFFFD":p+=String.fromCharCode(J),l+=3;continue}}if((Z&240)===224&&l+6<W){const at=parseInt(lt.slice(l+4,l+6),16),J=parseInt(lt.slice(l+7,l+9),16);if((at&192)===128&&(J&192)===128){const kt=Z<<12&61440|at<<6&4032|J&63;kt<2048||kt>=55296&&kt<=57343?p+="\uFFFD\uFFFD\uFFFD":p+=String.fromCharCode(kt),l+=6;continue}}if((Z&248)===240&&l+9<W){const at=parseInt(lt.slice(l+4,l+6),16),J=parseInt(lt.slice(l+7,l+9),16),kt=parseInt(lt.slice(l+10,l+12),16);if((at&192)===128&&(J&192)===128&&(kt&192)===128){let pt=Z<<18&1835008|at<<12&258048|J<<6&4032|kt&63;pt<65536||pt>1114111?p+="\uFFFD\uFFFD\uFFFD\uFFFD":(pt-=65536,p+=String.fromCharCode(55296+(pt>>10),56320+(pt&1023))),l+=9;continue}}p+="\uFFFD"}return p})}it.defaultChars=";/?:@&=+$,#",it.componentChars="";var H=it;const q={};function I(v){let z=q[v];if(z)return z;z=q[v]=[];for(let st=0;st<128;st++){const lt=String.fromCharCode(st);/^[0-9a-z]$/i.test(lt)?z.push(lt):z.push("%"+("0"+st.toString(16).toUpperCase()).slice(-2))}for(let st=0;st<v.length;st++)z[v.charCodeAt(st)]=v[st];return z}function Y(v,z,st){typeof z!="string"&&(st=z,z=Y.defaultChars),typeof st=="undefined"&&(st=!0);const lt=I(z);let p="";for(let l=0,W=v.length;l<W;l++){const Z=v.charCodeAt(l);if(st&&Z===37&&l+2<W&&/^[0-9a-f]{2}$/i.test(v.slice(l+1,l+3))){p+=v.slice(l,l+3),l+=2;continue}if(Z<128){p+=lt[Z];continue}if(Z>=55296&&Z<=57343){if(Z>=55296&&Z<=56319&&l+1<W){const at=v.charCodeAt(l+1);if(at>=56320&&at<=57343){p+=encodeURIComponent(v[l]+v[l+1]),l++;continue}}p+="%EF%BF%BD";continue}p+=encodeURIComponent(v[l])}return p}Y.defaultChars=";/?:@&=+$,-_.!~*'()#",Y.componentChars="-_.!~*'()";var S=Y;function d(v){let z="";return z+=v.protocol||"",z+=v.slashes?"//":"",z+=v.auth?v.auth+"@":"",v.hostname&&v.hostname.indexOf(":")!==-1?z+="["+v.hostname+"]":z+=v.hostname||"",z+=v.port?":"+v.port:"",z+=v.pathname||"",z+=v.search||"",z+=v.hash||"",z}function y(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const c=/^([a-z0-9.+-]+:)/i,C=/:[0-9]*$/,k=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,U=["<",">",'"',"`"," ","\r",`
7
- `," "],L=["{","}","|","\\","^","`"].concat(U),bt=["'"].concat(L),mt=["%","/","?",";","#"].concat(bt),wt=["/","?","#"],_t=255,P=/^[+a-z0-9A-Z_-]{0,63}$/,E=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,w={javascript:!0,"javascript:":!0},K={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ct(v,z){if(v&&v instanceof y)return v;const st=new y;return st.parse(v,z),st}y.prototype.parse=function(v,z){let st,lt,p,l=v;if(l=l.trim(),!z&&v.split("#").length===1){const J=k.exec(l);if(J)return this.pathname=J[1],J[2]&&(this.search=J[2]),this}let W=c.exec(l);if(W&&(W=W[0],st=W.toLowerCase(),this.protocol=W,l=l.substr(W.length)),(z||W||l.match(/^\/\/[^@\/]+@[^@\/]+/))&&(p=l.substr(0,2)==="//",p&&!(W&&w[W])&&(l=l.substr(2),this.slashes=!0)),!w[W]&&(p||W&&!K[W])){let J=-1;for(let Et=0;Et<wt.length;Et++)lt=l.indexOf(wt[Et]),lt!==-1&&(J===-1||lt<J)&&(J=lt);let kt,pt;J===-1?pt=l.lastIndexOf("@"):pt=l.lastIndexOf("@",J),pt!==-1&&(kt=l.slice(0,pt),l=l.slice(pt+1),this.auth=kt),J=-1;for(let Et=0;Et<mt.length;Et++)lt=l.indexOf(mt[Et]),lt!==-1&&(J===-1||lt<J)&&(J=lt);J===-1&&(J=l.length),l[J-1]===":"&&J--;const Pt=l.slice(0,J);l=l.slice(J),this.parseHost(Pt),this.hostname=this.hostname||"";const Vt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Vt){const Et=this.hostname.split(/\./);for(let zt=0,Kt=Et.length;zt<Kt;zt++){const Wt=Et[zt];if(Wt&&!Wt.match(P)){let tn="";for(let Jt=0,hn=Wt.length;Jt<hn;Jt++)Wt.charCodeAt(Jt)>127?tn+="x":tn+=Wt[Jt];if(!tn.match(P)){const Jt=Et.slice(0,zt),hn=Et.slice(zt+1),cn=Wt.match(E);cn&&(Jt.push(cn[1]),hn.unshift(cn[2])),hn.length&&(l=hn.join(".")+l),this.hostname=Jt.join(".");break}}}}this.hostname.length>_t&&(this.hostname=""),Vt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const Z=l.indexOf("#");Z!==-1&&(this.hash=l.substr(Z),l=l.slice(0,Z));const at=l.indexOf("?");return at!==-1&&(this.search=l.substr(at),l=l.slice(0,at)),l&&(this.pathname=l),K[st]&&this.hostname&&!this.pathname&&(this.pathname=""),this},y.prototype.parseHost=function(v){let z=C.exec(v);z&&(z=z[0],z!==":"&&(this.port=z.substr(1)),v=v.substr(0,v.length-z.length)),v&&(this.hostname=v)};var gt=Ct},51106:function(It,et){"use strict";et.Z=/[\0-\x1F\x7F-\x9F]/},53837:function(It,et){"use strict";et.Z=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},34083:function(It,et){"use strict";et.Z=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/},18766:function(It,et){"use strict";et.Z=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},34632:function(It,et,tt){"use strict";tt.r(et),tt.d(et,{Any:function(){return ot.Z},Cc:function(){return ft.Z},Cf:function(){return it},P:function(){return H.Z},S:function(){return q.Z},Z:function(){return I.Z}});var ot=tt(63420),ft=tt(51106),it=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,H=tt(53837),q=tt(34083),I=tt(18766)},63420:function(It,et){"use strict";et.Z=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}]);
8
- }());