@dpuse/dpuse-tool-d3-visualiser 1.0.112 → 1.0.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +125 -124
- package/dist/{array-Cv4-2llb.js → array-CpxKKsZm.js} +2 -4
- package/dist/{array-Cv4-2llb.js.map → array-CpxKKsZm.js.map} +1 -1
- package/dist/{chordDiagram-BG0jW2g9.js → chordDiagram-Dbu2uT_s.js} +80 -155
- package/dist/{chordDiagram-BG0jW2g9.js.map → chordDiagram-Dbu2uT_s.js.map} +1 -1
- package/dist/dpuse-tool-d3-visualiser.es.js +7 -8
- package/dist/{erdDiagram-CHPY-zaP.js → erdDiagram-DKsqCN08.js} +78 -65
- package/dist/erdDiagram-DKsqCN08.js.map +1 -0
- package/dist/{hierarchy-CDFAetye.js → hierarchy-DU9LihDu.js} +14 -28
- package/dist/{hierarchy-CDFAetye.js.map → hierarchy-DU9LihDu.js.map} +1 -1
- package/dist/{linear-DytAYqu2.js → linear-CNetDix0.js} +37 -72
- package/dist/{linear-DytAYqu2.js.map → linear-CNetDix0.js.map} +1 -1
- package/dist/{link-BfoIl3p5.js → link-CAkrxHYd.js} +4 -6
- package/dist/{link-BfoIl3p5.js.map → link-CAkrxHYd.js.map} +1 -1
- package/dist/{networkDiagram-XI0c9kJR.js → networkDiagram-BiCPMNf8.js} +36 -70
- package/dist/{networkDiagram-XI0c9kJR.js.map → networkDiagram-BiCPMNf8.js.map} +1 -1
- package/dist/{palette-Ca7C6aNE.js → palette-D5DTPmuA.js} +2 -4
- package/dist/{palette-Ca7C6aNE.js.map → palette-D5DTPmuA.js.map} +1 -1
- package/dist/{point-DSPrfIZi.js → point-_U9MxSuk.js} +3 -6
- package/dist/{point-DSPrfIZi.js.map → point-_U9MxSuk.js.map} +1 -1
- package/dist/{sankeyDiagram-w2TGSqb7.js → sankeyDiagram-DcI-D1uh.js} +10 -17
- package/dist/sankeyDiagram-DcI-D1uh.js.map +1 -0
- package/dist/{select-Bs4oiNEZ.js → select-SZKizDc7.js} +48 -94
- package/dist/{select-Bs4oiNEZ.js.map → select-SZKizDc7.js.map} +1 -1
- package/dist/shipped-packages.json +2 -2
- package/dist/{src-Bo8my4B8.js → src-DAMkWOaT.js} +40 -78
- package/dist/{src-Bo8my4B8.js.map → src-DAMkWOaT.js.map} +1 -1
- package/dist/{string-iJh48M7Y.js → string-BzfQLSds.js} +7 -14
- package/dist/{string-iJh48M7Y.js.map → string-BzfQLSds.js.map} +1 -1
- package/dist/{tanStackCharts-LPqRQGD9.js → tanStackCharts-5HHGfe6p.js} +812 -879
- package/dist/tanStackCharts-5HHGfe6p.js.map +1 -0
- package/dist/{treeDiagram-C798R8hL.js → treeDiagram-fmrYqvXl.js} +5 -7
- package/dist/{treeDiagram-C798R8hL.js.map → treeDiagram-fmrYqvXl.js.map} +1 -1
- package/package.json +16 -15
- package/dist/erdDiagram-CHPY-zaP.js.map +0 -1
- package/dist/sankeyDiagram-w2TGSqb7.js.map +0 -1
- package/dist/tanStackCharts-LPqRQGD9.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-Bs4oiNEZ.js","names":["namespaces","namespace","selector","selectorAll","matcher","sparse","constant","sparse","namespace","defaultView","creator","creator","selector","defaultView","selection_select","selection_selectAll","selection_selectChild","selection_selectChildren","selection_filter","selection_data","selection_enter","selection_exit","selection_join","selection_merge","selection_order","selection_sort","selection_call","selection_nodes","selection_node","selection_size","selection_empty","selection_each","selection_attr","selection_style","selection_property","selection_classed","selection_text","selection_html","selection_raise","selection_lower","selection_append","selection_insert","selection_remove","selection_clone","selection_datum","selection_on","selection_dispatch","selection_iterator","namespaces_default","namespace_default","prefix","i","name","creatorInherit","document","uri","creatorFixed","fullname","creator_default","none","selector_default","selector","select_default$1","select","groups","m","subgroups","j","group","n","subgroup","node","subnode","Selection","array","x","empty","selectorAll_default","arrayAll","selectAll_default","parents","matcher_default","childMatcher","find","childFind","match","childFirst","selectChild_default","filter","children","childrenFilter","selectChildren_default","filter_default","sparse_default","update","enter_default","EnterNode","parent","datum","child","next","constant_default","bindIndex","groupLength","dataLength","data","bindKey","nodeByKeyValue","keyValues","keyValue","key","data_default","bind","value","enter","exit","arraylike","enterGroup","updateGroup","i0","i1","previous","exit_default","join_default","onenter","onupdate","onexit","merge_default","selection","context","groups0","groups1","m0","m1","merges","group0","group1","merge","order_default","sort_default","compare","ascending","compareNode","a","b","sortgroups","sortgroup","call_default","callback","nodes_default","node_default","size_default","size","empty_default","each_default","attrRemove","attrRemoveNS","attrConstant","attrConstantNS","attrFunction","v","attrFunctionNS","attr_default","window_default","styleRemove","styleConstant","priority","styleFunction","style_default","styleValue","propertyRemove","propertyConstant","propertyFunction","property_default","classArray","string","classList","ClassList","classedAdd","list","names","classedRemove","classedTrue","classedFalse","classedFunction","classed_default","textRemove","textConstant","textFunction","text_default","htmlRemove","htmlConstant","htmlFunction","html_default","raise","raise_default","lower","lower_default","append_default","create","constantNull","insert_default","before","remove","remove_default","selection_cloneShallow","clone","selection_cloneDeep","clone_default","deep","datum_default","contextListener","event","parseTypenames","typenames","t","onRemove","on","o","typename","onAdd","listener","options","on_default","dispatchEvent","window","type","params","dispatchConstant","dispatchFunction","dispatch_default","iterator_default","root","selection_selection","select_default"],"sources":["../node_modules/d3-selection/src/namespaces.js","../node_modules/d3-selection/src/namespace.js","../node_modules/d3-selection/src/creator.js","../node_modules/d3-selection/src/selector.js","../node_modules/d3-selection/src/selection/select.js","../node_modules/d3-selection/src/array.js","../node_modules/d3-selection/src/selectorAll.js","../node_modules/d3-selection/src/selection/selectAll.js","../node_modules/d3-selection/src/matcher.js","../node_modules/d3-selection/src/selection/selectChild.js","../node_modules/d3-selection/src/selection/selectChildren.js","../node_modules/d3-selection/src/selection/filter.js","../node_modules/d3-selection/src/selection/sparse.js","../node_modules/d3-selection/src/selection/enter.js","../node_modules/d3-selection/src/constant.js","../node_modules/d3-selection/src/selection/data.js","../node_modules/d3-selection/src/selection/exit.js","../node_modules/d3-selection/src/selection/join.js","../node_modules/d3-selection/src/selection/merge.js","../node_modules/d3-selection/src/selection/order.js","../node_modules/d3-selection/src/selection/sort.js","../node_modules/d3-selection/src/selection/call.js","../node_modules/d3-selection/src/selection/nodes.js","../node_modules/d3-selection/src/selection/node.js","../node_modules/d3-selection/src/selection/size.js","../node_modules/d3-selection/src/selection/empty.js","../node_modules/d3-selection/src/selection/each.js","../node_modules/d3-selection/src/selection/attr.js","../node_modules/d3-selection/src/window.js","../node_modules/d3-selection/src/selection/style.js","../node_modules/d3-selection/src/selection/property.js","../node_modules/d3-selection/src/selection/classed.js","../node_modules/d3-selection/src/selection/text.js","../node_modules/d3-selection/src/selection/html.js","../node_modules/d3-selection/src/selection/raise.js","../node_modules/d3-selection/src/selection/lower.js","../node_modules/d3-selection/src/selection/append.js","../node_modules/d3-selection/src/selection/insert.js","../node_modules/d3-selection/src/selection/remove.js","../node_modules/d3-selection/src/selection/clone.js","../node_modules/d3-selection/src/selection/datum.js","../node_modules/d3-selection/src/selection/on.js","../node_modules/d3-selection/src/selection/dispatch.js","../node_modules/d3-selection/src/selection/iterator.js","../node_modules/d3-selection/src/selection/index.js","../node_modules/d3-selection/src/select.js"],"sourcesContent":["export var xhtml = \"http://www.w3.org/1999/xhtml\";\n\nexport default {\n svg: \"http://www.w3.org/2000/svg\",\n xhtml: xhtml,\n xlink: \"http://www.w3.org/1999/xlink\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\"\n};\n","import namespaces from \"./namespaces.js\";\n\nexport default function(name) {\n var prefix = name += \"\", i = prefix.indexOf(\":\");\n if (i >= 0 && (prefix = name.slice(0, i)) !== \"xmlns\") name = name.slice(i + 1);\n return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name; // eslint-disable-line no-prototype-builtins\n}\n","import namespace from \"./namespace.js\";\nimport {xhtml} from \"./namespaces.js\";\n\nfunction creatorInherit(name) {\n return function() {\n var document = this.ownerDocument,\n uri = this.namespaceURI;\n return uri === xhtml && document.documentElement.namespaceURI === xhtml\n ? document.createElement(name)\n : document.createElementNS(uri, name);\n };\n}\n\nfunction creatorFixed(fullname) {\n return function() {\n return this.ownerDocument.createElementNS(fullname.space, fullname.local);\n };\n}\n\nexport default function(name) {\n var fullname = namespace(name);\n return (fullname.local\n ? creatorFixed\n : creatorInherit)(fullname);\n}\n","function none() {}\n\nexport default function(selector) {\n return selector == null ? none : function() {\n return this.querySelector(selector);\n };\n}\n","import {Selection} from \"./index.js\";\nimport selector from \"../selector.js\";\n\nexport default function(select) {\n if (typeof select !== \"function\") select = selector(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n if (\"__data__\" in node) subnode.__data__ = node.__data__;\n subgroup[i] = subnode;\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n","// Given something array like (or null), returns something that is strictly an\n// array. This is used to ensure that array-like objects passed to d3.selectAll\n// or selection.selectAll are converted into proper arrays when creating a\n// selection; we don’t ever want to create a selection backed by a live\n// HTMLCollection or NodeList. However, note that selection.selectAll will use a\n// static NodeList as a group, since it safely derived from querySelectorAll.\nexport default function array(x) {\n return x == null ? [] : Array.isArray(x) ? x : Array.from(x);\n}\n","function empty() {\n return [];\n}\n\nexport default function(selector) {\n return selector == null ? empty : function() {\n return this.querySelectorAll(selector);\n };\n}\n","import {Selection} from \"./index.js\";\nimport array from \"../array.js\";\nimport selectorAll from \"../selectorAll.js\";\n\nfunction arrayAll(select) {\n return function() {\n return array(select.apply(this, arguments));\n };\n}\n\nexport default function(select) {\n if (typeof select === \"function\") select = arrayAll(select);\n else select = selectorAll(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n subgroups.push(select.call(node, node.__data__, i, group));\n parents.push(node);\n }\n }\n }\n\n return new Selection(subgroups, parents);\n}\n","export default function(selector) {\n return function() {\n return this.matches(selector);\n };\n}\n\nexport function childMatcher(selector) {\n return function(node) {\n return node.matches(selector);\n };\n}\n\n","import {childMatcher} from \"../matcher.js\";\n\nvar find = Array.prototype.find;\n\nfunction childFind(match) {\n return function() {\n return find.call(this.children, match);\n };\n}\n\nfunction childFirst() {\n return this.firstElementChild;\n}\n\nexport default function(match) {\n return this.select(match == null ? childFirst\n : childFind(typeof match === \"function\" ? match : childMatcher(match)));\n}\n","import {childMatcher} from \"../matcher.js\";\n\nvar filter = Array.prototype.filter;\n\nfunction children() {\n return Array.from(this.children);\n}\n\nfunction childrenFilter(match) {\n return function() {\n return filter.call(this.children, match);\n };\n}\n\nexport default function(match) {\n return this.selectAll(match == null ? children\n : childrenFilter(typeof match === \"function\" ? match : childMatcher(match)));\n}\n","import {Selection} from \"./index.js\";\nimport matcher from \"../matcher.js\";\n\nexport default function(match) {\n if (typeof match !== \"function\") match = matcher(match);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n subgroup.push(node);\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n","export default function(update) {\n return new Array(update.length);\n}\n","import sparse from \"./sparse.js\";\nimport {Selection} from \"./index.js\";\n\nexport default function() {\n return new Selection(this._enter || this._groups.map(sparse), this._parents);\n}\n\nexport function EnterNode(parent, datum) {\n this.ownerDocument = parent.ownerDocument;\n this.namespaceURI = parent.namespaceURI;\n this._next = null;\n this._parent = parent;\n this.__data__ = datum;\n}\n\nEnterNode.prototype = {\n constructor: EnterNode,\n appendChild: function(child) { return this._parent.insertBefore(child, this._next); },\n insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },\n querySelector: function(selector) { return this._parent.querySelector(selector); },\n querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }\n};\n","export default function(x) {\n return function() {\n return x;\n };\n}\n","import {Selection} from \"./index.js\";\nimport {EnterNode} from \"./enter.js\";\nimport constant from \"../constant.js\";\n\nfunction bindIndex(parent, group, enter, update, exit, data) {\n var i = 0,\n node,\n groupLength = group.length,\n dataLength = data.length;\n\n // Put any non-null nodes that fit into update.\n // Put any null nodes into enter.\n // Put any remaining data into enter.\n for (; i < dataLength; ++i) {\n if (node = group[i]) {\n node.__data__ = data[i];\n update[i] = node;\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Put any non-null nodes that don’t fit into exit.\n for (; i < groupLength; ++i) {\n if (node = group[i]) {\n exit[i] = node;\n }\n }\n}\n\nfunction bindKey(parent, group, enter, update, exit, data, key) {\n var i,\n node,\n nodeByKeyValue = new Map,\n groupLength = group.length,\n dataLength = data.length,\n keyValues = new Array(groupLength),\n keyValue;\n\n // Compute the key for each node.\n // If multiple nodes have the same key, the duplicates are added to exit.\n for (i = 0; i < groupLength; ++i) {\n if (node = group[i]) {\n keyValues[i] = keyValue = key.call(node, node.__data__, i, group) + \"\";\n if (nodeByKeyValue.has(keyValue)) {\n exit[i] = node;\n } else {\n nodeByKeyValue.set(keyValue, node);\n }\n }\n }\n\n // Compute the key for each datum.\n // If there a node associated with this key, join and add it to update.\n // If there is not (or the key is a duplicate), add it to enter.\n for (i = 0; i < dataLength; ++i) {\n keyValue = key.call(parent, data[i], i, data) + \"\";\n if (node = nodeByKeyValue.get(keyValue)) {\n update[i] = node;\n node.__data__ = data[i];\n nodeByKeyValue.delete(keyValue);\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Add any remaining nodes that were not bound to data to exit.\n for (i = 0; i < groupLength; ++i) {\n if ((node = group[i]) && (nodeByKeyValue.get(keyValues[i]) === node)) {\n exit[i] = node;\n }\n }\n}\n\nfunction datum(node) {\n return node.__data__;\n}\n\nexport default function(value, key) {\n if (!arguments.length) return Array.from(this, datum);\n\n var bind = key ? bindKey : bindIndex,\n parents = this._parents,\n groups = this._groups;\n\n if (typeof value !== \"function\") value = constant(value);\n\n for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {\n var parent = parents[j],\n group = groups[j],\n groupLength = group.length,\n data = arraylike(value.call(parent, parent && parent.__data__, j, parents)),\n dataLength = data.length,\n enterGroup = enter[j] = new Array(dataLength),\n updateGroup = update[j] = new Array(dataLength),\n exitGroup = exit[j] = new Array(groupLength);\n\n bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);\n\n // Now connect the enter nodes to their following update node, such that\n // appendChild can insert the materialized enter node before this node,\n // rather than at the end of the parent node.\n for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {\n if (previous = enterGroup[i0]) {\n if (i0 >= i1) i1 = i0 + 1;\n while (!(next = updateGroup[i1]) && ++i1 < dataLength);\n previous._next = next || null;\n }\n }\n }\n\n update = new Selection(update, parents);\n update._enter = enter;\n update._exit = exit;\n return update;\n}\n\n// Given some data, this returns an array-like view of it: an object that\n// exposes a length property and allows numeric indexing. Note that unlike\n// selectAll, this isn’t worried about “live” collections because the resulting\n// array will only be used briefly while data is being bound. (It is possible to\n// cause the data to change while iterating by using a key function, but please\n// don’t; we’d rather avoid a gratuitous copy.)\nfunction arraylike(data) {\n return typeof data === \"object\" && \"length\" in data\n ? data // Array, TypedArray, NodeList, array-like\n : Array.from(data); // Map, Set, iterable, string, or anything else\n}\n","import sparse from \"./sparse.js\";\nimport {Selection} from \"./index.js\";\n\nexport default function() {\n return new Selection(this._exit || this._groups.map(sparse), this._parents);\n}\n","export default function(onenter, onupdate, onexit) {\n var enter = this.enter(), update = this, exit = this.exit();\n if (typeof onenter === \"function\") {\n enter = onenter(enter);\n if (enter) enter = enter.selection();\n } else {\n enter = enter.append(onenter + \"\");\n }\n if (onupdate != null) {\n update = onupdate(update);\n if (update) update = update.selection();\n }\n if (onexit == null) exit.remove(); else onexit(exit);\n return enter && update ? enter.merge(update).order() : update;\n}\n","import {Selection} from \"./index.js\";\n\nexport default function(context) {\n var selection = context.selection ? context.selection() : context;\n\n for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group0[i] || group1[i]) {\n merge[i] = node;\n }\n }\n }\n\n for (; j < m0; ++j) {\n merges[j] = groups0[j];\n }\n\n return new Selection(merges, this._parents);\n}\n","export default function() {\n\n for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {\n for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {\n if (node = group[i]) {\n if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);\n next = node;\n }\n }\n }\n\n return this;\n}\n","import {Selection} from \"./index.js\";\n\nexport default function(compare) {\n if (!compare) compare = ascending;\n\n function compareNode(a, b) {\n return a && b ? compare(a.__data__, b.__data__) : !a - !b;\n }\n\n for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n sortgroup[i] = node;\n }\n }\n sortgroup.sort(compareNode);\n }\n\n return new Selection(sortgroups, this._parents).order();\n}\n\nfunction ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n","export default function() {\n var callback = arguments[0];\n arguments[0] = this;\n callback.apply(null, arguments);\n return this;\n}\n","export default function() {\n return Array.from(this);\n}\n","export default function() {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {\n var node = group[i];\n if (node) return node;\n }\n }\n\n return null;\n}\n","export default function() {\n let size = 0;\n for (const node of this) ++size; // eslint-disable-line no-unused-vars\n return size;\n}\n","export default function() {\n return !this.node();\n}\n","export default function(callback) {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n if (node = group[i]) callback.call(node, node.__data__, i, group);\n }\n }\n\n return this;\n}\n","import namespace from \"../namespace.js\";\n\nfunction attrRemove(name) {\n return function() {\n this.removeAttribute(name);\n };\n}\n\nfunction attrRemoveNS(fullname) {\n return function() {\n this.removeAttributeNS(fullname.space, fullname.local);\n };\n}\n\nfunction attrConstant(name, value) {\n return function() {\n this.setAttribute(name, value);\n };\n}\n\nfunction attrConstantNS(fullname, value) {\n return function() {\n this.setAttributeNS(fullname.space, fullname.local, value);\n };\n}\n\nfunction attrFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttribute(name);\n else this.setAttribute(name, v);\n };\n}\n\nfunction attrFunctionNS(fullname, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttributeNS(fullname.space, fullname.local);\n else this.setAttributeNS(fullname.space, fullname.local, v);\n };\n}\n\nexport default function(name, value) {\n var fullname = namespace(name);\n\n if (arguments.length < 2) {\n var node = this.node();\n return fullname.local\n ? node.getAttributeNS(fullname.space, fullname.local)\n : node.getAttribute(fullname);\n }\n\n return this.each((value == null\n ? (fullname.local ? attrRemoveNS : attrRemove) : (typeof value === \"function\"\n ? (fullname.local ? attrFunctionNS : attrFunction)\n : (fullname.local ? attrConstantNS : attrConstant)))(fullname, value));\n}\n","export default function(node) {\n return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node\n || (node.document && node) // node is a Window\n || node.defaultView; // node is a Document\n}\n","import defaultView from \"../window.js\";\n\nfunction styleRemove(name) {\n return function() {\n this.style.removeProperty(name);\n };\n}\n\nfunction styleConstant(name, value, priority) {\n return function() {\n this.style.setProperty(name, value, priority);\n };\n}\n\nfunction styleFunction(name, value, priority) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.style.removeProperty(name);\n else this.style.setProperty(name, v, priority);\n };\n}\n\nexport default function(name, value, priority) {\n return arguments.length > 1\n ? this.each((value == null\n ? styleRemove : typeof value === \"function\"\n ? styleFunction\n : styleConstant)(name, value, priority == null ? \"\" : priority))\n : styleValue(this.node(), name);\n}\n\nexport function styleValue(node, name) {\n return node.style.getPropertyValue(name)\n || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);\n}\n","function propertyRemove(name) {\n return function() {\n delete this[name];\n };\n}\n\nfunction propertyConstant(name, value) {\n return function() {\n this[name] = value;\n };\n}\n\nfunction propertyFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) delete this[name];\n else this[name] = v;\n };\n}\n\nexport default function(name, value) {\n return arguments.length > 1\n ? this.each((value == null\n ? propertyRemove : typeof value === \"function\"\n ? propertyFunction\n : propertyConstant)(name, value))\n : this.node()[name];\n}\n","function classArray(string) {\n return string.trim().split(/^|\\s+/);\n}\n\nfunction classList(node) {\n return node.classList || new ClassList(node);\n}\n\nfunction ClassList(node) {\n this._node = node;\n this._names = classArray(node.getAttribute(\"class\") || \"\");\n}\n\nClassList.prototype = {\n add: function(name) {\n var i = this._names.indexOf(name);\n if (i < 0) {\n this._names.push(name);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n remove: function(name) {\n var i = this._names.indexOf(name);\n if (i >= 0) {\n this._names.splice(i, 1);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n contains: function(name) {\n return this._names.indexOf(name) >= 0;\n }\n};\n\nfunction classedAdd(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.add(names[i]);\n}\n\nfunction classedRemove(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.remove(names[i]);\n}\n\nfunction classedTrue(names) {\n return function() {\n classedAdd(this, names);\n };\n}\n\nfunction classedFalse(names) {\n return function() {\n classedRemove(this, names);\n };\n}\n\nfunction classedFunction(names, value) {\n return function() {\n (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);\n };\n}\n\nexport default function(name, value) {\n var names = classArray(name + \"\");\n\n if (arguments.length < 2) {\n var list = classList(this.node()), i = -1, n = names.length;\n while (++i < n) if (!list.contains(names[i])) return false;\n return true;\n }\n\n return this.each((typeof value === \"function\"\n ? classedFunction : value\n ? classedTrue\n : classedFalse)(names, value));\n}\n","function textRemove() {\n this.textContent = \"\";\n}\n\nfunction textConstant(value) {\n return function() {\n this.textContent = value;\n };\n}\n\nfunction textFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.textContent = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? textRemove : (typeof value === \"function\"\n ? textFunction\n : textConstant)(value))\n : this.node().textContent;\n}\n","function htmlRemove() {\n this.innerHTML = \"\";\n}\n\nfunction htmlConstant(value) {\n return function() {\n this.innerHTML = value;\n };\n}\n\nfunction htmlFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.innerHTML = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? htmlRemove : (typeof value === \"function\"\n ? htmlFunction\n : htmlConstant)(value))\n : this.node().innerHTML;\n}\n","function raise() {\n if (this.nextSibling) this.parentNode.appendChild(this);\n}\n\nexport default function() {\n return this.each(raise);\n}\n","function lower() {\n if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);\n}\n\nexport default function() {\n return this.each(lower);\n}\n","import creator from \"../creator.js\";\n\nexport default function(name) {\n var create = typeof name === \"function\" ? name : creator(name);\n return this.select(function() {\n return this.appendChild(create.apply(this, arguments));\n });\n}\n","import creator from \"../creator.js\";\nimport selector from \"../selector.js\";\n\nfunction constantNull() {\n return null;\n}\n\nexport default function(name, before) {\n var create = typeof name === \"function\" ? name : creator(name),\n select = before == null ? constantNull : typeof before === \"function\" ? before : selector(before);\n return this.select(function() {\n return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);\n });\n}\n","function remove() {\n var parent = this.parentNode;\n if (parent) parent.removeChild(this);\n}\n\nexport default function() {\n return this.each(remove);\n}\n","function selection_cloneShallow() {\n var clone = this.cloneNode(false), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nfunction selection_cloneDeep() {\n var clone = this.cloneNode(true), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nexport default function(deep) {\n return this.select(deep ? selection_cloneDeep : selection_cloneShallow);\n}\n","export default function(value) {\n return arguments.length\n ? this.property(\"__data__\", value)\n : this.node().__data__;\n}\n","function contextListener(listener) {\n return function(event) {\n listener.call(this, event, this.__data__);\n };\n}\n\nfunction parseTypenames(typenames) {\n return typenames.trim().split(/^|\\s+/).map(function(t) {\n var name = \"\", i = t.indexOf(\".\");\n if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n return {type: t, name: name};\n });\n}\n\nfunction onRemove(typename) {\n return function() {\n var on = this.__on;\n if (!on) return;\n for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {\n if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.options);\n } else {\n on[++i] = o;\n }\n }\n if (++i) on.length = i;\n else delete this.__on;\n };\n}\n\nfunction onAdd(typename, value, options) {\n return function() {\n var on = this.__on, o, listener = contextListener(value);\n if (on) for (var j = 0, m = on.length; j < m; ++j) {\n if ((o = on[j]).type === typename.type && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.options);\n this.addEventListener(o.type, o.listener = listener, o.options = options);\n o.value = value;\n return;\n }\n }\n this.addEventListener(typename.type, listener, options);\n o = {type: typename.type, name: typename.name, value: value, listener: listener, options: options};\n if (!on) this.__on = [o];\n else on.push(o);\n };\n}\n\nexport default function(typename, value, options) {\n var typenames = parseTypenames(typename + \"\"), i, n = typenames.length, t;\n\n if (arguments.length < 2) {\n var on = this.node().__on;\n if (on) for (var j = 0, m = on.length, o; j < m; ++j) {\n for (i = 0, o = on[j]; i < n; ++i) {\n if ((t = typenames[i]).type === o.type && t.name === o.name) {\n return o.value;\n }\n }\n }\n return;\n }\n\n on = value ? onAdd : onRemove;\n for (i = 0; i < n; ++i) this.each(on(typenames[i], value, options));\n return this;\n}\n","import defaultView from \"../window.js\";\n\nfunction dispatchEvent(node, type, params) {\n var window = defaultView(node),\n event = window.CustomEvent;\n\n if (typeof event === \"function\") {\n event = new event(type, params);\n } else {\n event = window.document.createEvent(\"Event\");\n if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;\n else event.initEvent(type, false, false);\n }\n\n node.dispatchEvent(event);\n}\n\nfunction dispatchConstant(type, params) {\n return function() {\n return dispatchEvent(this, type, params);\n };\n}\n\nfunction dispatchFunction(type, params) {\n return function() {\n return dispatchEvent(this, type, params.apply(this, arguments));\n };\n}\n\nexport default function(type, params) {\n return this.each((typeof params === \"function\"\n ? dispatchFunction\n : dispatchConstant)(type, params));\n}\n","export default function*() {\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n if (node = group[i]) yield node;\n }\n }\n}\n","import selection_select from \"./select.js\";\nimport selection_selectAll from \"./selectAll.js\";\nimport selection_selectChild from \"./selectChild.js\";\nimport selection_selectChildren from \"./selectChildren.js\";\nimport selection_filter from \"./filter.js\";\nimport selection_data from \"./data.js\";\nimport selection_enter from \"./enter.js\";\nimport selection_exit from \"./exit.js\";\nimport selection_join from \"./join.js\";\nimport selection_merge from \"./merge.js\";\nimport selection_order from \"./order.js\";\nimport selection_sort from \"./sort.js\";\nimport selection_call from \"./call.js\";\nimport selection_nodes from \"./nodes.js\";\nimport selection_node from \"./node.js\";\nimport selection_size from \"./size.js\";\nimport selection_empty from \"./empty.js\";\nimport selection_each from \"./each.js\";\nimport selection_attr from \"./attr.js\";\nimport selection_style from \"./style.js\";\nimport selection_property from \"./property.js\";\nimport selection_classed from \"./classed.js\";\nimport selection_text from \"./text.js\";\nimport selection_html from \"./html.js\";\nimport selection_raise from \"./raise.js\";\nimport selection_lower from \"./lower.js\";\nimport selection_append from \"./append.js\";\nimport selection_insert from \"./insert.js\";\nimport selection_remove from \"./remove.js\";\nimport selection_clone from \"./clone.js\";\nimport selection_datum from \"./datum.js\";\nimport selection_on from \"./on.js\";\nimport selection_dispatch from \"./dispatch.js\";\nimport selection_iterator from \"./iterator.js\";\n\nexport var root = [null];\n\nexport function Selection(groups, parents) {\n this._groups = groups;\n this._parents = parents;\n}\n\nfunction selection() {\n return new Selection([[document.documentElement]], root);\n}\n\nfunction selection_selection() {\n return this;\n}\n\nSelection.prototype = selection.prototype = {\n constructor: Selection,\n select: selection_select,\n selectAll: selection_selectAll,\n selectChild: selection_selectChild,\n selectChildren: selection_selectChildren,\n filter: selection_filter,\n data: selection_data,\n enter: selection_enter,\n exit: selection_exit,\n join: selection_join,\n merge: selection_merge,\n selection: selection_selection,\n order: selection_order,\n sort: selection_sort,\n call: selection_call,\n nodes: selection_nodes,\n node: selection_node,\n size: selection_size,\n empty: selection_empty,\n each: selection_each,\n attr: selection_attr,\n style: selection_style,\n property: selection_property,\n classed: selection_classed,\n text: selection_text,\n html: selection_html,\n raise: selection_raise,\n lower: selection_lower,\n append: selection_append,\n insert: selection_insert,\n remove: selection_remove,\n clone: selection_clone,\n datum: selection_datum,\n on: selection_on,\n dispatch: selection_dispatch,\n [Symbol.iterator]: selection_iterator\n};\n\nexport default selection;\n","import {Selection, root} from \"./selection/index.js\";\n\nexport default function(selector) {\n return typeof selector === \"string\"\n ? new Selection([[document.querySelector(selector)]], [document.documentElement])\n : new Selection([[selector]], root);\n}\n"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"mappings":"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,MAAMC;CACN,OAAOC;CACP,OAAOC;CACP,QAAQC;CACR,QAAQC;CACR,QAAQC;CACR,OAAOC;CACP,OAAOC;CACP,IAAIC;CACJ,UAAUC;EACT,OAAO,WAAWC;AACrB;;;ACrFA,SAAA2L,GAAwB,GAAU;CAChC,OAAO,OAAO7K,KAAa,WACrB,IAAIY,EAAU,CAAC,CAAC,SAAS,cAAcZ,CAAQ,CAAC,CAAC,GAAG,CAAC,SAAS,eAAe,CAAC,IAC9E,IAAIY,EAAU,CAAC,CAACZ,CAAQ,CAAC,GAAG2K,CAAI;AACxC"}
|
|
1
|
+
{"version":3,"file":"select-SZKizDc7.js","names":["namespaces","namespace","selector","selectorAll","matcher","sparse","constant","sparse","namespace","defaultView","creator","creator","selector","defaultView","selection_select","selection_selectAll","selection_selectChild","selection_selectChildren","selection_filter","selection_data","selection_enter","selection_exit","selection_join","selection_merge","selection_order","selection_sort","selection_call","selection_nodes","selection_node","selection_size","selection_empty","selection_each","selection_attr","selection_style","selection_property","selection_classed","selection_text","selection_html","selection_raise","selection_lower","selection_append","selection_insert","selection_remove","selection_clone","selection_datum","selection_on","selection_dispatch","selection_iterator","namespaces_default","namespace_default","prefix","i","name","creatorInherit","document","uri","creatorFixed","fullname","creator_default","none","selector_default","selector","select_default$1","select","groups","m","subgroups","j","group","n","subgroup","node","subnode","Selection","array","x","empty","selectorAll_default","arrayAll","selectAll_default","parents","matcher_default","childMatcher","find","childFind","match","childFirst","selectChild_default","filter","children","childrenFilter","selectChildren_default","filter_default","sparse_default","update","enter_default","EnterNode","parent","datum","child","next","constant_default","bindIndex","groupLength","dataLength","data","bindKey","nodeByKeyValue","keyValues","keyValue","key","data_default","bind","value","enter","exit","arraylike","enterGroup","updateGroup","i0","i1","previous","exit_default","join_default","onenter","onupdate","onexit","merge_default","selection","context","groups0","groups1","m0","m1","merges","group0","group1","merge","order_default","sort_default","compare","ascending","compareNode","a","b","sortgroups","sortgroup","call_default","callback","nodes_default","node_default","size_default","size","empty_default","each_default","attrRemove","attrRemoveNS","attrConstant","attrConstantNS","attrFunction","v","attrFunctionNS","attr_default","window_default","styleRemove","styleConstant","priority","styleFunction","style_default","styleValue","propertyRemove","propertyConstant","propertyFunction","property_default","classArray","string","classList","ClassList","classedAdd","list","names","classedRemove","classedTrue","classedFalse","classedFunction","classed_default","textRemove","textConstant","textFunction","text_default","htmlRemove","htmlConstant","htmlFunction","html_default","raise","raise_default","lower","lower_default","append_default","create","constantNull","insert_default","before","remove","remove_default","selection_cloneShallow","clone","selection_cloneDeep","clone_default","deep","datum_default","contextListener","event","parseTypenames","typenames","t","onRemove","on","o","typename","onAdd","listener","options","on_default","dispatchEvent","window","type","params","dispatchConstant","dispatchFunction","dispatch_default","iterator_default","root","selection_selection","select_default"],"sources":["../node_modules/d3-selection/src/namespaces.js","../node_modules/d3-selection/src/namespace.js","../node_modules/d3-selection/src/creator.js","../node_modules/d3-selection/src/selector.js","../node_modules/d3-selection/src/selection/select.js","../node_modules/d3-selection/src/array.js","../node_modules/d3-selection/src/selectorAll.js","../node_modules/d3-selection/src/selection/selectAll.js","../node_modules/d3-selection/src/matcher.js","../node_modules/d3-selection/src/selection/selectChild.js","../node_modules/d3-selection/src/selection/selectChildren.js","../node_modules/d3-selection/src/selection/filter.js","../node_modules/d3-selection/src/selection/sparse.js","../node_modules/d3-selection/src/selection/enter.js","../node_modules/d3-selection/src/constant.js","../node_modules/d3-selection/src/selection/data.js","../node_modules/d3-selection/src/selection/exit.js","../node_modules/d3-selection/src/selection/join.js","../node_modules/d3-selection/src/selection/merge.js","../node_modules/d3-selection/src/selection/order.js","../node_modules/d3-selection/src/selection/sort.js","../node_modules/d3-selection/src/selection/call.js","../node_modules/d3-selection/src/selection/nodes.js","../node_modules/d3-selection/src/selection/node.js","../node_modules/d3-selection/src/selection/size.js","../node_modules/d3-selection/src/selection/empty.js","../node_modules/d3-selection/src/selection/each.js","../node_modules/d3-selection/src/selection/attr.js","../node_modules/d3-selection/src/window.js","../node_modules/d3-selection/src/selection/style.js","../node_modules/d3-selection/src/selection/property.js","../node_modules/d3-selection/src/selection/classed.js","../node_modules/d3-selection/src/selection/text.js","../node_modules/d3-selection/src/selection/html.js","../node_modules/d3-selection/src/selection/raise.js","../node_modules/d3-selection/src/selection/lower.js","../node_modules/d3-selection/src/selection/append.js","../node_modules/d3-selection/src/selection/insert.js","../node_modules/d3-selection/src/selection/remove.js","../node_modules/d3-selection/src/selection/clone.js","../node_modules/d3-selection/src/selection/datum.js","../node_modules/d3-selection/src/selection/on.js","../node_modules/d3-selection/src/selection/dispatch.js","../node_modules/d3-selection/src/selection/iterator.js","../node_modules/d3-selection/src/selection/index.js","../node_modules/d3-selection/src/select.js"],"sourcesContent":["export var xhtml = \"http://www.w3.org/1999/xhtml\";\n\nexport default {\n svg: \"http://www.w3.org/2000/svg\",\n xhtml: xhtml,\n xlink: \"http://www.w3.org/1999/xlink\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\"\n};\n","import namespaces from \"./namespaces.js\";\n\nexport default function(name) {\n var prefix = name += \"\", i = prefix.indexOf(\":\");\n if (i >= 0 && (prefix = name.slice(0, i)) !== \"xmlns\") name = name.slice(i + 1);\n return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name; // eslint-disable-line no-prototype-builtins\n}\n","import namespace from \"./namespace.js\";\nimport {xhtml} from \"./namespaces.js\";\n\nfunction creatorInherit(name) {\n return function() {\n var document = this.ownerDocument,\n uri = this.namespaceURI;\n return uri === xhtml && document.documentElement.namespaceURI === xhtml\n ? document.createElement(name)\n : document.createElementNS(uri, name);\n };\n}\n\nfunction creatorFixed(fullname) {\n return function() {\n return this.ownerDocument.createElementNS(fullname.space, fullname.local);\n };\n}\n\nexport default function(name) {\n var fullname = namespace(name);\n return (fullname.local\n ? creatorFixed\n : creatorInherit)(fullname);\n}\n","function none() {}\n\nexport default function(selector) {\n return selector == null ? none : function() {\n return this.querySelector(selector);\n };\n}\n","import {Selection} from \"./index.js\";\nimport selector from \"../selector.js\";\n\nexport default function(select) {\n if (typeof select !== \"function\") select = selector(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n if (\"__data__\" in node) subnode.__data__ = node.__data__;\n subgroup[i] = subnode;\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n","// Given something array like (or null), returns something that is strictly an\n// array. This is used to ensure that array-like objects passed to d3.selectAll\n// or selection.selectAll are converted into proper arrays when creating a\n// selection; we don’t ever want to create a selection backed by a live\n// HTMLCollection or NodeList. However, note that selection.selectAll will use a\n// static NodeList as a group, since it safely derived from querySelectorAll.\nexport default function array(x) {\n return x == null ? [] : Array.isArray(x) ? x : Array.from(x);\n}\n","function empty() {\n return [];\n}\n\nexport default function(selector) {\n return selector == null ? empty : function() {\n return this.querySelectorAll(selector);\n };\n}\n","import {Selection} from \"./index.js\";\nimport array from \"../array.js\";\nimport selectorAll from \"../selectorAll.js\";\n\nfunction arrayAll(select) {\n return function() {\n return array(select.apply(this, arguments));\n };\n}\n\nexport default function(select) {\n if (typeof select === \"function\") select = arrayAll(select);\n else select = selectorAll(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n subgroups.push(select.call(node, node.__data__, i, group));\n parents.push(node);\n }\n }\n }\n\n return new Selection(subgroups, parents);\n}\n","export default function(selector) {\n return function() {\n return this.matches(selector);\n };\n}\n\nexport function childMatcher(selector) {\n return function(node) {\n return node.matches(selector);\n };\n}\n\n","import {childMatcher} from \"../matcher.js\";\n\nvar find = Array.prototype.find;\n\nfunction childFind(match) {\n return function() {\n return find.call(this.children, match);\n };\n}\n\nfunction childFirst() {\n return this.firstElementChild;\n}\n\nexport default function(match) {\n return this.select(match == null ? childFirst\n : childFind(typeof match === \"function\" ? match : childMatcher(match)));\n}\n","import {childMatcher} from \"../matcher.js\";\n\nvar filter = Array.prototype.filter;\n\nfunction children() {\n return Array.from(this.children);\n}\n\nfunction childrenFilter(match) {\n return function() {\n return filter.call(this.children, match);\n };\n}\n\nexport default function(match) {\n return this.selectAll(match == null ? children\n : childrenFilter(typeof match === \"function\" ? match : childMatcher(match)));\n}\n","import {Selection} from \"./index.js\";\nimport matcher from \"../matcher.js\";\n\nexport default function(match) {\n if (typeof match !== \"function\") match = matcher(match);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n subgroup.push(node);\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n","export default function(update) {\n return new Array(update.length);\n}\n","import sparse from \"./sparse.js\";\nimport {Selection} from \"./index.js\";\n\nexport default function() {\n return new Selection(this._enter || this._groups.map(sparse), this._parents);\n}\n\nexport function EnterNode(parent, datum) {\n this.ownerDocument = parent.ownerDocument;\n this.namespaceURI = parent.namespaceURI;\n this._next = null;\n this._parent = parent;\n this.__data__ = datum;\n}\n\nEnterNode.prototype = {\n constructor: EnterNode,\n appendChild: function(child) { return this._parent.insertBefore(child, this._next); },\n insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },\n querySelector: function(selector) { return this._parent.querySelector(selector); },\n querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }\n};\n","export default function(x) {\n return function() {\n return x;\n };\n}\n","import {Selection} from \"./index.js\";\nimport {EnterNode} from \"./enter.js\";\nimport constant from \"../constant.js\";\n\nfunction bindIndex(parent, group, enter, update, exit, data) {\n var i = 0,\n node,\n groupLength = group.length,\n dataLength = data.length;\n\n // Put any non-null nodes that fit into update.\n // Put any null nodes into enter.\n // Put any remaining data into enter.\n for (; i < dataLength; ++i) {\n if (node = group[i]) {\n node.__data__ = data[i];\n update[i] = node;\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Put any non-null nodes that don’t fit into exit.\n for (; i < groupLength; ++i) {\n if (node = group[i]) {\n exit[i] = node;\n }\n }\n}\n\nfunction bindKey(parent, group, enter, update, exit, data, key) {\n var i,\n node,\n nodeByKeyValue = new Map,\n groupLength = group.length,\n dataLength = data.length,\n keyValues = new Array(groupLength),\n keyValue;\n\n // Compute the key for each node.\n // If multiple nodes have the same key, the duplicates are added to exit.\n for (i = 0; i < groupLength; ++i) {\n if (node = group[i]) {\n keyValues[i] = keyValue = key.call(node, node.__data__, i, group) + \"\";\n if (nodeByKeyValue.has(keyValue)) {\n exit[i] = node;\n } else {\n nodeByKeyValue.set(keyValue, node);\n }\n }\n }\n\n // Compute the key for each datum.\n // If there a node associated with this key, join and add it to update.\n // If there is not (or the key is a duplicate), add it to enter.\n for (i = 0; i < dataLength; ++i) {\n keyValue = key.call(parent, data[i], i, data) + \"\";\n if (node = nodeByKeyValue.get(keyValue)) {\n update[i] = node;\n node.__data__ = data[i];\n nodeByKeyValue.delete(keyValue);\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Add any remaining nodes that were not bound to data to exit.\n for (i = 0; i < groupLength; ++i) {\n if ((node = group[i]) && (nodeByKeyValue.get(keyValues[i]) === node)) {\n exit[i] = node;\n }\n }\n}\n\nfunction datum(node) {\n return node.__data__;\n}\n\nexport default function(value, key) {\n if (!arguments.length) return Array.from(this, datum);\n\n var bind = key ? bindKey : bindIndex,\n parents = this._parents,\n groups = this._groups;\n\n if (typeof value !== \"function\") value = constant(value);\n\n for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {\n var parent = parents[j],\n group = groups[j],\n groupLength = group.length,\n data = arraylike(value.call(parent, parent && parent.__data__, j, parents)),\n dataLength = data.length,\n enterGroup = enter[j] = new Array(dataLength),\n updateGroup = update[j] = new Array(dataLength),\n exitGroup = exit[j] = new Array(groupLength);\n\n bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);\n\n // Now connect the enter nodes to their following update node, such that\n // appendChild can insert the materialized enter node before this node,\n // rather than at the end of the parent node.\n for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {\n if (previous = enterGroup[i0]) {\n if (i0 >= i1) i1 = i0 + 1;\n while (!(next = updateGroup[i1]) && ++i1 < dataLength);\n previous._next = next || null;\n }\n }\n }\n\n update = new Selection(update, parents);\n update._enter = enter;\n update._exit = exit;\n return update;\n}\n\n// Given some data, this returns an array-like view of it: an object that\n// exposes a length property and allows numeric indexing. Note that unlike\n// selectAll, this isn’t worried about “live” collections because the resulting\n// array will only be used briefly while data is being bound. (It is possible to\n// cause the data to change while iterating by using a key function, but please\n// don’t; we’d rather avoid a gratuitous copy.)\nfunction arraylike(data) {\n return typeof data === \"object\" && \"length\" in data\n ? data // Array, TypedArray, NodeList, array-like\n : Array.from(data); // Map, Set, iterable, string, or anything else\n}\n","import sparse from \"./sparse.js\";\nimport {Selection} from \"./index.js\";\n\nexport default function() {\n return new Selection(this._exit || this._groups.map(sparse), this._parents);\n}\n","export default function(onenter, onupdate, onexit) {\n var enter = this.enter(), update = this, exit = this.exit();\n if (typeof onenter === \"function\") {\n enter = onenter(enter);\n if (enter) enter = enter.selection();\n } else {\n enter = enter.append(onenter + \"\");\n }\n if (onupdate != null) {\n update = onupdate(update);\n if (update) update = update.selection();\n }\n if (onexit == null) exit.remove(); else onexit(exit);\n return enter && update ? enter.merge(update).order() : update;\n}\n","import {Selection} from \"./index.js\";\n\nexport default function(context) {\n var selection = context.selection ? context.selection() : context;\n\n for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group0[i] || group1[i]) {\n merge[i] = node;\n }\n }\n }\n\n for (; j < m0; ++j) {\n merges[j] = groups0[j];\n }\n\n return new Selection(merges, this._parents);\n}\n","export default function() {\n\n for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {\n for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {\n if (node = group[i]) {\n if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);\n next = node;\n }\n }\n }\n\n return this;\n}\n","import {Selection} from \"./index.js\";\n\nexport default function(compare) {\n if (!compare) compare = ascending;\n\n function compareNode(a, b) {\n return a && b ? compare(a.__data__, b.__data__) : !a - !b;\n }\n\n for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n sortgroup[i] = node;\n }\n }\n sortgroup.sort(compareNode);\n }\n\n return new Selection(sortgroups, this._parents).order();\n}\n\nfunction ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n","export default function() {\n var callback = arguments[0];\n arguments[0] = this;\n callback.apply(null, arguments);\n return this;\n}\n","export default function() {\n return Array.from(this);\n}\n","export default function() {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {\n var node = group[i];\n if (node) return node;\n }\n }\n\n return null;\n}\n","export default function() {\n let size = 0;\n for (const node of this) ++size; // eslint-disable-line no-unused-vars\n return size;\n}\n","export default function() {\n return !this.node();\n}\n","export default function(callback) {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n if (node = group[i]) callback.call(node, node.__data__, i, group);\n }\n }\n\n return this;\n}\n","import namespace from \"../namespace.js\";\n\nfunction attrRemove(name) {\n return function() {\n this.removeAttribute(name);\n };\n}\n\nfunction attrRemoveNS(fullname) {\n return function() {\n this.removeAttributeNS(fullname.space, fullname.local);\n };\n}\n\nfunction attrConstant(name, value) {\n return function() {\n this.setAttribute(name, value);\n };\n}\n\nfunction attrConstantNS(fullname, value) {\n return function() {\n this.setAttributeNS(fullname.space, fullname.local, value);\n };\n}\n\nfunction attrFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttribute(name);\n else this.setAttribute(name, v);\n };\n}\n\nfunction attrFunctionNS(fullname, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttributeNS(fullname.space, fullname.local);\n else this.setAttributeNS(fullname.space, fullname.local, v);\n };\n}\n\nexport default function(name, value) {\n var fullname = namespace(name);\n\n if (arguments.length < 2) {\n var node = this.node();\n return fullname.local\n ? node.getAttributeNS(fullname.space, fullname.local)\n : node.getAttribute(fullname);\n }\n\n return this.each((value == null\n ? (fullname.local ? attrRemoveNS : attrRemove) : (typeof value === \"function\"\n ? (fullname.local ? attrFunctionNS : attrFunction)\n : (fullname.local ? attrConstantNS : attrConstant)))(fullname, value));\n}\n","export default function(node) {\n return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node\n || (node.document && node) // node is a Window\n || node.defaultView; // node is a Document\n}\n","import defaultView from \"../window.js\";\n\nfunction styleRemove(name) {\n return function() {\n this.style.removeProperty(name);\n };\n}\n\nfunction styleConstant(name, value, priority) {\n return function() {\n this.style.setProperty(name, value, priority);\n };\n}\n\nfunction styleFunction(name, value, priority) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.style.removeProperty(name);\n else this.style.setProperty(name, v, priority);\n };\n}\n\nexport default function(name, value, priority) {\n return arguments.length > 1\n ? this.each((value == null\n ? styleRemove : typeof value === \"function\"\n ? styleFunction\n : styleConstant)(name, value, priority == null ? \"\" : priority))\n : styleValue(this.node(), name);\n}\n\nexport function styleValue(node, name) {\n return node.style.getPropertyValue(name)\n || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);\n}\n","function propertyRemove(name) {\n return function() {\n delete this[name];\n };\n}\n\nfunction propertyConstant(name, value) {\n return function() {\n this[name] = value;\n };\n}\n\nfunction propertyFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) delete this[name];\n else this[name] = v;\n };\n}\n\nexport default function(name, value) {\n return arguments.length > 1\n ? this.each((value == null\n ? propertyRemove : typeof value === \"function\"\n ? propertyFunction\n : propertyConstant)(name, value))\n : this.node()[name];\n}\n","function classArray(string) {\n return string.trim().split(/^|\\s+/);\n}\n\nfunction classList(node) {\n return node.classList || new ClassList(node);\n}\n\nfunction ClassList(node) {\n this._node = node;\n this._names = classArray(node.getAttribute(\"class\") || \"\");\n}\n\nClassList.prototype = {\n add: function(name) {\n var i = this._names.indexOf(name);\n if (i < 0) {\n this._names.push(name);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n remove: function(name) {\n var i = this._names.indexOf(name);\n if (i >= 0) {\n this._names.splice(i, 1);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n contains: function(name) {\n return this._names.indexOf(name) >= 0;\n }\n};\n\nfunction classedAdd(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.add(names[i]);\n}\n\nfunction classedRemove(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.remove(names[i]);\n}\n\nfunction classedTrue(names) {\n return function() {\n classedAdd(this, names);\n };\n}\n\nfunction classedFalse(names) {\n return function() {\n classedRemove(this, names);\n };\n}\n\nfunction classedFunction(names, value) {\n return function() {\n (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);\n };\n}\n\nexport default function(name, value) {\n var names = classArray(name + \"\");\n\n if (arguments.length < 2) {\n var list = classList(this.node()), i = -1, n = names.length;\n while (++i < n) if (!list.contains(names[i])) return false;\n return true;\n }\n\n return this.each((typeof value === \"function\"\n ? classedFunction : value\n ? classedTrue\n : classedFalse)(names, value));\n}\n","function textRemove() {\n this.textContent = \"\";\n}\n\nfunction textConstant(value) {\n return function() {\n this.textContent = value;\n };\n}\n\nfunction textFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.textContent = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? textRemove : (typeof value === \"function\"\n ? textFunction\n : textConstant)(value))\n : this.node().textContent;\n}\n","function htmlRemove() {\n this.innerHTML = \"\";\n}\n\nfunction htmlConstant(value) {\n return function() {\n this.innerHTML = value;\n };\n}\n\nfunction htmlFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.innerHTML = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? htmlRemove : (typeof value === \"function\"\n ? htmlFunction\n : htmlConstant)(value))\n : this.node().innerHTML;\n}\n","function raise() {\n if (this.nextSibling) this.parentNode.appendChild(this);\n}\n\nexport default function() {\n return this.each(raise);\n}\n","function lower() {\n if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);\n}\n\nexport default function() {\n return this.each(lower);\n}\n","import creator from \"../creator.js\";\n\nexport default function(name) {\n var create = typeof name === \"function\" ? name : creator(name);\n return this.select(function() {\n return this.appendChild(create.apply(this, arguments));\n });\n}\n","import creator from \"../creator.js\";\nimport selector from \"../selector.js\";\n\nfunction constantNull() {\n return null;\n}\n\nexport default function(name, before) {\n var create = typeof name === \"function\" ? name : creator(name),\n select = before == null ? constantNull : typeof before === \"function\" ? before : selector(before);\n return this.select(function() {\n return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);\n });\n}\n","function remove() {\n var parent = this.parentNode;\n if (parent) parent.removeChild(this);\n}\n\nexport default function() {\n return this.each(remove);\n}\n","function selection_cloneShallow() {\n var clone = this.cloneNode(false), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nfunction selection_cloneDeep() {\n var clone = this.cloneNode(true), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nexport default function(deep) {\n return this.select(deep ? selection_cloneDeep : selection_cloneShallow);\n}\n","export default function(value) {\n return arguments.length\n ? this.property(\"__data__\", value)\n : this.node().__data__;\n}\n","function contextListener(listener) {\n return function(event) {\n listener.call(this, event, this.__data__);\n };\n}\n\nfunction parseTypenames(typenames) {\n return typenames.trim().split(/^|\\s+/).map(function(t) {\n var name = \"\", i = t.indexOf(\".\");\n if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n return {type: t, name: name};\n });\n}\n\nfunction onRemove(typename) {\n return function() {\n var on = this.__on;\n if (!on) return;\n for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {\n if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.options);\n } else {\n on[++i] = o;\n }\n }\n if (++i) on.length = i;\n else delete this.__on;\n };\n}\n\nfunction onAdd(typename, value, options) {\n return function() {\n var on = this.__on, o, listener = contextListener(value);\n if (on) for (var j = 0, m = on.length; j < m; ++j) {\n if ((o = on[j]).type === typename.type && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.options);\n this.addEventListener(o.type, o.listener = listener, o.options = options);\n o.value = value;\n return;\n }\n }\n this.addEventListener(typename.type, listener, options);\n o = {type: typename.type, name: typename.name, value: value, listener: listener, options: options};\n if (!on) this.__on = [o];\n else on.push(o);\n };\n}\n\nexport default function(typename, value, options) {\n var typenames = parseTypenames(typename + \"\"), i, n = typenames.length, t;\n\n if (arguments.length < 2) {\n var on = this.node().__on;\n if (on) for (var j = 0, m = on.length, o; j < m; ++j) {\n for (i = 0, o = on[j]; i < n; ++i) {\n if ((t = typenames[i]).type === o.type && t.name === o.name) {\n return o.value;\n }\n }\n }\n return;\n }\n\n on = value ? onAdd : onRemove;\n for (i = 0; i < n; ++i) this.each(on(typenames[i], value, options));\n return this;\n}\n","import defaultView from \"../window.js\";\n\nfunction dispatchEvent(node, type, params) {\n var window = defaultView(node),\n event = window.CustomEvent;\n\n if (typeof event === \"function\") {\n event = new event(type, params);\n } else {\n event = window.document.createEvent(\"Event\");\n if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;\n else event.initEvent(type, false, false);\n }\n\n node.dispatchEvent(event);\n}\n\nfunction dispatchConstant(type, params) {\n return function() {\n return dispatchEvent(this, type, params);\n };\n}\n\nfunction dispatchFunction(type, params) {\n return function() {\n return dispatchEvent(this, type, params.apply(this, arguments));\n };\n}\n\nexport default function(type, params) {\n return this.each((typeof params === \"function\"\n ? dispatchFunction\n : dispatchConstant)(type, params));\n}\n","export default function*() {\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n if (node = group[i]) yield node;\n }\n }\n}\n","import selection_select from \"./select.js\";\nimport selection_selectAll from \"./selectAll.js\";\nimport selection_selectChild from \"./selectChild.js\";\nimport selection_selectChildren from \"./selectChildren.js\";\nimport selection_filter from \"./filter.js\";\nimport selection_data from \"./data.js\";\nimport selection_enter from \"./enter.js\";\nimport selection_exit from \"./exit.js\";\nimport selection_join from \"./join.js\";\nimport selection_merge from \"./merge.js\";\nimport selection_order from \"./order.js\";\nimport selection_sort from \"./sort.js\";\nimport selection_call from \"./call.js\";\nimport selection_nodes from \"./nodes.js\";\nimport selection_node from \"./node.js\";\nimport selection_size from \"./size.js\";\nimport selection_empty from \"./empty.js\";\nimport selection_each from \"./each.js\";\nimport selection_attr from \"./attr.js\";\nimport selection_style from \"./style.js\";\nimport selection_property from \"./property.js\";\nimport selection_classed from \"./classed.js\";\nimport selection_text from \"./text.js\";\nimport selection_html from \"./html.js\";\nimport selection_raise from \"./raise.js\";\nimport selection_lower from \"./lower.js\";\nimport selection_append from \"./append.js\";\nimport selection_insert from \"./insert.js\";\nimport selection_remove from \"./remove.js\";\nimport selection_clone from \"./clone.js\";\nimport selection_datum from \"./datum.js\";\nimport selection_on from \"./on.js\";\nimport selection_dispatch from \"./dispatch.js\";\nimport selection_iterator from \"./iterator.js\";\n\nexport var root = [null];\n\nexport function Selection(groups, parents) {\n this._groups = groups;\n this._parents = parents;\n}\n\nfunction selection() {\n return new Selection([[document.documentElement]], root);\n}\n\nfunction selection_selection() {\n return this;\n}\n\nSelection.prototype = selection.prototype = {\n constructor: Selection,\n select: selection_select,\n selectAll: selection_selectAll,\n selectChild: selection_selectChild,\n selectChildren: selection_selectChildren,\n filter: selection_filter,\n data: selection_data,\n enter: selection_enter,\n exit: selection_exit,\n join: selection_join,\n merge: selection_merge,\n selection: selection_selection,\n order: selection_order,\n sort: selection_sort,\n call: selection_call,\n nodes: selection_nodes,\n node: selection_node,\n size: selection_size,\n empty: selection_empty,\n each: selection_each,\n attr: selection_attr,\n style: selection_style,\n property: selection_property,\n classed: selection_classed,\n text: selection_text,\n html: selection_html,\n raise: selection_raise,\n lower: selection_lower,\n append: selection_append,\n insert: selection_insert,\n remove: selection_remove,\n clone: selection_clone,\n datum: selection_datum,\n on: selection_on,\n dispatch: selection_dispatch,\n [Symbol.iterator]: selection_iterator\n};\n\nexport default selection;\n","import {Selection, root} from \"./selection/index.js\";\n\nexport default function(selector) {\n return typeof selector === \"string\"\n ? new Selection([[document.querySelector(selector)]], [document.documentElement])\n : new Selection([[selector]], root);\n}\n"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"mappings":"AAEA,IAAAgD,IAAe;CACb,KAAK;CACE;CACP,OAAO;CACP,KAAK;CACL,OAAO;AACT;;ACNA,SAAAC,EAAwB,GAAM;CAC5B,IAAIC,IAAS,KAAQ,IAAIC,IAAID,EAAO,QAAQ,GAAG;CAE/C,OADIC,KAAK,MAAM,IAASC,EAAK,MAAM,GAAGD,CAAC,OAAO,YAAS,IAAOC,EAAK,MAAMD,IAAI,CAAC,IACvEnD,EAAW,eAAekD,CAAM,IAAI;EAAC,OAAOlD,EAAWkD;EAAS,O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@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packages": [
|
|
3
|
-
"@dagrejs/dagre@3.1.
|
|
3
|
+
"@dagrejs/dagre@3.1.3",
|
|
4
4
|
"@emotion/cache@11.14.0",
|
|
5
5
|
"@emotion/css@11.13.5",
|
|
6
6
|
"@emotion/hash@0.9.2",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@emotion/unitless@0.10.0",
|
|
11
11
|
"@emotion/utils@1.4.2",
|
|
12
12
|
"@juggle/resize-observer@3.4.0",
|
|
13
|
-
"@tanstack/charts@1.
|
|
13
|
+
"@tanstack/charts@1.1.0",
|
|
14
14
|
"@unovis/ts@1.7.1",
|
|
15
15
|
"d3-array@3.2.4",
|
|
16
16
|
"d3-chord@3.0.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a } from "./select-
|
|
2
|
-
import { a as o, n as s, r as c, t as l } from "./string-
|
|
3
|
-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a } from "./select-SZKizDc7.js";
|
|
2
|
+
import { a as o, n as s, r as c, t as l } from "./string-BzfQLSds.js";
|
|
3
|
+
// node_modules/d3-dispatch/src/dispatch.js
|
|
4
4
|
var u = { value: () => {} };
|
|
5
5
|
function d() {
|
|
6
6
|
for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
|
|
@@ -28,12 +28,12 @@ f.prototype = d.prototype = {
|
|
|
28
28
|
var n = this._, r = p(e + "", n), i, a = -1, o = r.length;
|
|
29
29
|
if (arguments.length < 2) {
|
|
30
30
|
for (; ++a < o;) if ((i = (e = r[a]).type) && (i = m(n[i], e.name))) return i;
|
|
31
|
-
|
|
31
|
+
} else {
|
|
32
|
+
if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
|
|
33
|
+
for (; ++a < o;) if (i = (e = r[a]).type) n[i] = h(n[i], e.name, t);
|
|
34
|
+
else if (t == null) for (i in n) n[i] = h(n[i], e.name, null);
|
|
35
|
+
return this;
|
|
32
36
|
}
|
|
33
|
-
if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
|
|
34
|
-
for (; ++a < o;) if (i = (e = r[a]).type) n[i] = h(n[i], e.name, t);
|
|
35
|
-
else if (t == null) for (i in n) n[i] = h(n[i], e.name, null);
|
|
36
|
-
return this;
|
|
37
37
|
},
|
|
38
38
|
copy: function() {
|
|
39
39
|
var e = {}, t = this._;
|
|
@@ -63,8 +63,7 @@ function h(e, t, n) {
|
|
|
63
63
|
value: n
|
|
64
64
|
}), e;
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
//#region node_modules/d3-timer/src/timer.js
|
|
66
|
+
// node_modules/d3-timer/src/timer.js
|
|
68
67
|
var g = 0, _ = 0, v = 0, y = 1e3, b, x, S = 0, C = 0, w = 0, T = typeof performance == "object" && performance.now ? performance : Date, E = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
69
68
|
setTimeout(e, 17);
|
|
70
69
|
};
|
|
@@ -115,16 +114,14 @@ function re() {
|
|
|
115
114
|
function j(e) {
|
|
116
115
|
g || (_ &&= clearTimeout(_), e - C > 24 ? (e < Infinity && (_ = setTimeout(A, e - T.now() - w)), v &&= clearInterval(v)) : (v ||= (S = T.now(), setInterval(ne, y)), g = 1, E(A)));
|
|
117
116
|
}
|
|
118
|
-
|
|
119
|
-
//#region node_modules/d3-timer/src/timeout.js
|
|
117
|
+
// node_modules/d3-timer/src/timeout.js
|
|
120
118
|
function M(e, t, n) {
|
|
121
119
|
var r = new O();
|
|
122
120
|
return t = t == null ? 0 : +t, r.restart((n) => {
|
|
123
121
|
r.stop(), e(n + t);
|
|
124
122
|
}, t, n), r;
|
|
125
123
|
}
|
|
126
|
-
|
|
127
|
-
//#region node_modules/d3-interpolate/src/transform/decompose.js
|
|
124
|
+
// node_modules/d3-interpolate/src/transform/decompose.js
|
|
128
125
|
var N = 180 / Math.PI, P = {
|
|
129
126
|
translateX: 0,
|
|
130
127
|
translateY: 0,
|
|
@@ -144,8 +141,7 @@ function F(e, t, n, r, i, a) {
|
|
|
144
141
|
scaleY: s
|
|
145
142
|
};
|
|
146
143
|
}
|
|
147
|
-
|
|
148
|
-
//#region node_modules/d3-interpolate/src/transform/parse.js
|
|
144
|
+
// node_modules/d3-interpolate/src/transform/parse.js
|
|
149
145
|
var I;
|
|
150
146
|
function L(e) {
|
|
151
147
|
let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
|
|
@@ -154,8 +150,7 @@ function L(e) {
|
|
|
154
150
|
function R(e) {
|
|
155
151
|
return e == null || (I ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), I.setAttribute("transform", e), !(e = I.transform.baseVal.consolidate())) ? P : (e = e.matrix, F(e.a, e.b, e.c, e.d, e.e, e.f));
|
|
156
152
|
}
|
|
157
|
-
|
|
158
|
-
//#region node_modules/d3-interpolate/src/transform/index.js
|
|
153
|
+
// node_modules/d3-interpolate/src/transform/index.js
|
|
159
154
|
function z(e, t, n, r) {
|
|
160
155
|
function i(e) {
|
|
161
156
|
return e.length ? e.pop() + " " : "";
|
|
@@ -267,30 +262,21 @@ function W(e, t, n) {
|
|
|
267
262
|
delete e.__transition;
|
|
268
263
|
}
|
|
269
264
|
}
|
|
270
|
-
|
|
271
|
-
//#region node_modules/d3-transition/src/interrupt.js
|
|
265
|
+
// node_modules/d3-transition/src/interrupt.js
|
|
272
266
|
function G(e, t) {
|
|
273
267
|
var n = e.__transition, r, i, a = !0, o;
|
|
274
268
|
if (n) {
|
|
275
|
-
for (o in t = t == null ? null : t + "", n)
|
|
276
|
-
if ((r = n[o]).name !== t) {
|
|
277
|
-
a = !1;
|
|
278
|
-
continue;
|
|
279
|
-
}
|
|
280
|
-
i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o];
|
|
281
|
-
}
|
|
269
|
+
for (o in t = t == null ? null : t + "", n) (r = n[o]).name === t ? (i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o]) : a = !1;
|
|
282
270
|
a && delete e.__transition;
|
|
283
271
|
}
|
|
284
272
|
}
|
|
285
|
-
|
|
286
|
-
//#region node_modules/d3-transition/src/selection/interrupt.js
|
|
273
|
+
// node_modules/d3-transition/src/selection/interrupt.js
|
|
287
274
|
function K(e) {
|
|
288
275
|
return this.each(function() {
|
|
289
276
|
G(this, e);
|
|
290
277
|
});
|
|
291
278
|
}
|
|
292
|
-
|
|
293
|
-
//#region node_modules/d3-transition/src/transition/tween.js
|
|
279
|
+
// node_modules/d3-transition/src/transition/tween.js
|
|
294
280
|
function ce(e, t) {
|
|
295
281
|
var n, r;
|
|
296
282
|
return function() {
|
|
@@ -341,14 +327,12 @@ function q(e, t, n) {
|
|
|
341
327
|
return U(e, r).value[t];
|
|
342
328
|
};
|
|
343
329
|
}
|
|
344
|
-
|
|
345
|
-
//#region node_modules/d3-transition/src/transition/interpolate.js
|
|
330
|
+
// node_modules/d3-transition/src/transition/interpolate.js
|
|
346
331
|
function J(e, t) {
|
|
347
332
|
var n;
|
|
348
333
|
return (typeof t == "number" ? s : t instanceof o ? c : (n = o(t)) ? (t = n, c) : l)(e, t);
|
|
349
334
|
}
|
|
350
|
-
|
|
351
|
-
//#region node_modules/d3-transition/src/transition/attr.js
|
|
335
|
+
// node_modules/d3-transition/src/transition/attr.js
|
|
352
336
|
function de(e) {
|
|
353
337
|
return function() {
|
|
354
338
|
this.removeAttribute(e);
|
|
@@ -391,8 +375,7 @@ function _e(e, t) {
|
|
|
391
375
|
var n = a(e), r = n === "transform" ? ae : J;
|
|
392
376
|
return this.attrTween(e, typeof t == "function" ? (n.local ? ge : he)(n, r, q(this, "attr." + e, t)) : t == null ? (n.local ? fe : de)(n) : (n.local ? me : pe)(n, r, t));
|
|
393
377
|
}
|
|
394
|
-
|
|
395
|
-
//#region node_modules/d3-transition/src/transition/attrTween.js
|
|
378
|
+
// node_modules/d3-transition/src/transition/attrTween.js
|
|
396
379
|
function ve(e, t) {
|
|
397
380
|
return function(n) {
|
|
398
381
|
this.setAttribute(e, t.call(this, n));
|
|
@@ -427,8 +410,7 @@ function Se(e, t) {
|
|
|
427
410
|
var r = a(e);
|
|
428
411
|
return this.tween(n, (r.local ? be : xe)(r, t));
|
|
429
412
|
}
|
|
430
|
-
|
|
431
|
-
//#region node_modules/d3-transition/src/transition/delay.js
|
|
413
|
+
// node_modules/d3-transition/src/transition/delay.js
|
|
432
414
|
function Ce(e, t) {
|
|
433
415
|
return function() {
|
|
434
416
|
V(this, e).delay = +t.apply(this, arguments);
|
|
@@ -443,8 +425,7 @@ function Te(e) {
|
|
|
443
425
|
var t = this._id;
|
|
444
426
|
return arguments.length ? this.each((typeof e == "function" ? Ce : we)(t, e)) : U(this.node(), t).delay;
|
|
445
427
|
}
|
|
446
|
-
|
|
447
|
-
//#region node_modules/d3-transition/src/transition/duration.js
|
|
428
|
+
// node_modules/d3-transition/src/transition/duration.js
|
|
448
429
|
function Ee(e, t) {
|
|
449
430
|
return function() {
|
|
450
431
|
H(this, e).duration = +t.apply(this, arguments);
|
|
@@ -459,8 +440,7 @@ function Oe(e) {
|
|
|
459
440
|
var t = this._id;
|
|
460
441
|
return arguments.length ? this.each((typeof e == "function" ? Ee : De)(t, e)) : U(this.node(), t).duration;
|
|
461
442
|
}
|
|
462
|
-
|
|
463
|
-
//#region node_modules/d3-transition/src/transition/ease.js
|
|
443
|
+
// node_modules/d3-transition/src/transition/ease.js
|
|
464
444
|
function ke(e, t) {
|
|
465
445
|
if (typeof t != "function") throw Error();
|
|
466
446
|
return function() {
|
|
@@ -471,8 +451,7 @@ function Ae(e) {
|
|
|
471
451
|
var t = this._id;
|
|
472
452
|
return arguments.length ? this.each(ke(t, e)) : U(this.node(), t).ease;
|
|
473
453
|
}
|
|
474
|
-
|
|
475
|
-
//#region node_modules/d3-transition/src/transition/easeVarying.js
|
|
454
|
+
// node_modules/d3-transition/src/transition/easeVarying.js
|
|
476
455
|
function je(e, t) {
|
|
477
456
|
return function() {
|
|
478
457
|
var n = t.apply(this, arguments);
|
|
@@ -484,23 +463,20 @@ function Me(e) {
|
|
|
484
463
|
if (typeof e != "function") throw Error();
|
|
485
464
|
return this.each(je(this._id, e));
|
|
486
465
|
}
|
|
487
|
-
|
|
488
|
-
//#region node_modules/d3-transition/src/transition/filter.js
|
|
466
|
+
// node_modules/d3-transition/src/transition/filter.js
|
|
489
467
|
function Ne(e) {
|
|
490
468
|
typeof e != "function" && (e = t(e));
|
|
491
469
|
for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) for (var o = n[a], s = o.length, c = i[a] = [], l, u = 0; u < s; ++u) (l = o[u]) && e.call(l, l.__data__, u, o) && c.push(l);
|
|
492
470
|
return new Z(i, this._parents, this._name, this._id);
|
|
493
471
|
}
|
|
494
|
-
|
|
495
|
-
//#region node_modules/d3-transition/src/transition/merge.js
|
|
472
|
+
// node_modules/d3-transition/src/transition/merge.js
|
|
496
473
|
function Pe(e) {
|
|
497
474
|
if (e._id !== this._id) throw Error();
|
|
498
475
|
for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
|
|
499
476
|
for (; s < r; ++s) o[s] = t[s];
|
|
500
477
|
return new Z(o, this._parents, this._name, this._id);
|
|
501
478
|
}
|
|
502
|
-
|
|
503
|
-
//#region node_modules/d3-transition/src/transition/on.js
|
|
479
|
+
// node_modules/d3-transition/src/transition/on.js
|
|
504
480
|
function Fe(e) {
|
|
505
481
|
return (e + "").trim().split(/^|\s+/).every(function(e) {
|
|
506
482
|
var t = e.indexOf(".");
|
|
@@ -518,8 +494,7 @@ function Le(e, t) {
|
|
|
518
494
|
var n = this._id;
|
|
519
495
|
return arguments.length < 2 ? U(this.node(), n).on.on(e) : this.each(Ie(n, e, t));
|
|
520
496
|
}
|
|
521
|
-
|
|
522
|
-
//#region node_modules/d3-transition/src/transition/remove.js
|
|
497
|
+
// node_modules/d3-transition/src/transition/remove.js
|
|
523
498
|
function Re(e) {
|
|
524
499
|
return function() {
|
|
525
500
|
var t = this.parentNode;
|
|
@@ -530,16 +505,14 @@ function Re(e) {
|
|
|
530
505
|
function ze() {
|
|
531
506
|
return this.on("end.remove", Re(this._id));
|
|
532
507
|
}
|
|
533
|
-
|
|
534
|
-
//#region node_modules/d3-transition/src/transition/select.js
|
|
508
|
+
// node_modules/d3-transition/src/transition/select.js
|
|
535
509
|
function Be(e) {
|
|
536
510
|
var t = this._name, n = this._id;
|
|
537
511
|
typeof e != "function" && (e = r(e));
|
|
538
512
|
for (var i = this._groups, a = i.length, o = Array(a), s = 0; s < a; ++s) for (var c = i[s], l = c.length, u = o[s] = Array(l), d, f, p = 0; p < l; ++p) (d = c[p]) && (f = e.call(d, d.__data__, p, c)) && ("__data__" in d && (f.__data__ = d.__data__), u[p] = f, B(u[p], t, n, p, u, U(d, n)));
|
|
539
513
|
return new Z(o, this._parents, t, n);
|
|
540
514
|
}
|
|
541
|
-
|
|
542
|
-
//#region node_modules/d3-transition/src/transition/selectAll.js
|
|
515
|
+
// node_modules/d3-transition/src/transition/selectAll.js
|
|
543
516
|
function Ve(t) {
|
|
544
517
|
var n = this._name, r = this._id;
|
|
545
518
|
typeof t != "function" && (t = e(t));
|
|
@@ -549,14 +522,12 @@ function Ve(t) {
|
|
|
549
522
|
}
|
|
550
523
|
return new Z(o, s, n, r);
|
|
551
524
|
}
|
|
552
|
-
|
|
553
|
-
//#region node_modules/d3-transition/src/transition/selection.js
|
|
525
|
+
// node_modules/d3-transition/src/transition/selection.js
|
|
554
526
|
var He = n.prototype.constructor;
|
|
555
527
|
function Ue() {
|
|
556
528
|
return new He(this._groups, this._parents);
|
|
557
529
|
}
|
|
558
|
-
|
|
559
|
-
//#region node_modules/d3-transition/src/transition/style.js
|
|
530
|
+
// node_modules/d3-transition/src/transition/style.js
|
|
560
531
|
function We(e, t) {
|
|
561
532
|
var n, r, a;
|
|
562
533
|
return function() {
|
|
@@ -594,8 +565,7 @@ function Je(e, t, n) {
|
|
|
594
565
|
var r = (e += "") == "transform" ? ie : J;
|
|
595
566
|
return t == null ? this.styleTween(e, We(e, r)).on("end.style." + e, Y(e)) : typeof t == "function" ? this.styleTween(e, Ke(e, r, q(this, "style." + e, t))).each(qe(this._id, e)) : this.styleTween(e, Ge(e, r, t), n).on("end.style." + e, null);
|
|
596
567
|
}
|
|
597
|
-
|
|
598
|
-
//#region node_modules/d3-transition/src/transition/styleTween.js
|
|
568
|
+
// node_modules/d3-transition/src/transition/styleTween.js
|
|
599
569
|
function Ye(e, t, n) {
|
|
600
570
|
return function(r) {
|
|
601
571
|
this.style.setProperty(e, t.call(this, r), n);
|
|
@@ -616,8 +586,7 @@ function Ze(e, t, n) {
|
|
|
616
586
|
if (typeof t != "function") throw Error();
|
|
617
587
|
return this.tween(r, Xe(e, t, n ?? ""));
|
|
618
588
|
}
|
|
619
|
-
|
|
620
|
-
//#region node_modules/d3-transition/src/transition/text.js
|
|
589
|
+
// node_modules/d3-transition/src/transition/text.js
|
|
621
590
|
function X(e) {
|
|
622
591
|
return function() {
|
|
623
592
|
this.textContent = e;
|
|
@@ -632,8 +601,7 @@ function Qe(e) {
|
|
|
632
601
|
function $e(e) {
|
|
633
602
|
return this.tween("text", typeof e == "function" ? Qe(q(this, "text", e)) : X(e == null ? "" : e + ""));
|
|
634
603
|
}
|
|
635
|
-
|
|
636
|
-
//#region node_modules/d3-transition/src/transition/textTween.js
|
|
604
|
+
// node_modules/d3-transition/src/transition/textTween.js
|
|
637
605
|
function et(e) {
|
|
638
606
|
return function(t) {
|
|
639
607
|
this.textContent = e.call(this, t);
|
|
@@ -654,8 +622,7 @@ function nt(e) {
|
|
|
654
622
|
if (typeof e != "function") throw Error();
|
|
655
623
|
return this.tween(t, tt(e));
|
|
656
624
|
}
|
|
657
|
-
|
|
658
|
-
//#region node_modules/d3-transition/src/transition/transition.js
|
|
625
|
+
// node_modules/d3-transition/src/transition/transition.js
|
|
659
626
|
function rt() {
|
|
660
627
|
for (var e = this._name, t = this._id, n = Q(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
|
|
661
628
|
var u = U(c, t);
|
|
@@ -668,8 +635,7 @@ function rt() {
|
|
|
668
635
|
}
|
|
669
636
|
return new Z(r, this._parents, e, n);
|
|
670
637
|
}
|
|
671
|
-
|
|
672
|
-
//#region node_modules/d3-transition/src/transition/end.js
|
|
638
|
+
// node_modules/d3-transition/src/transition/end.js
|
|
673
639
|
function it() {
|
|
674
640
|
var e, t, n = this, r = n._id, i = n.size();
|
|
675
641
|
return new Promise(function(a, o) {
|
|
@@ -682,8 +648,7 @@ function it() {
|
|
|
682
648
|
}), i === 0 && a();
|
|
683
649
|
});
|
|
684
650
|
}
|
|
685
|
-
|
|
686
|
-
//#region node_modules/d3-transition/src/transition/index.js
|
|
651
|
+
// node_modules/d3-transition/src/transition/index.js
|
|
687
652
|
var at = 0;
|
|
688
653
|
function Z(e, t, n, r) {
|
|
689
654
|
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
@@ -724,13 +689,11 @@ Z.prototype = {
|
|
|
724
689
|
end: it,
|
|
725
690
|
[Symbol.iterator]: $[Symbol.iterator]
|
|
726
691
|
};
|
|
727
|
-
|
|
728
|
-
//#region node_modules/d3-ease/src/cubic.js
|
|
692
|
+
// node_modules/d3-ease/src/cubic.js
|
|
729
693
|
function ot(e) {
|
|
730
694
|
return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
|
|
731
695
|
}
|
|
732
|
-
|
|
733
|
-
//#region node_modules/d3-transition/src/selection/transition.js
|
|
696
|
+
// node_modules/d3-transition/src/selection/transition.js
|
|
734
697
|
var st = {
|
|
735
698
|
time: null,
|
|
736
699
|
delay: 0,
|
|
@@ -748,5 +711,4 @@ function lt(e) {
|
|
|
748
711
|
return new Z(r, this._parents, e, t);
|
|
749
712
|
}
|
|
750
713
|
n.prototype.interrupt = K, n.prototype.transition = lt;
|
|
751
|
-
//#endregion
|
|
752
714
|
export { k as n, d as r, G as t };
|