kaabalah 6.16.0 → 6.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -6
- package/dist/astrology/index.d.mts +3423 -148
- package/dist/astrology/index.d.ts +3423 -148
- package/dist/astrology/index.js +849 -59
- package/dist/astrology/index.mjs +4 -2
- package/dist/{chunk-MWLSSRHL.mjs → chunk-4BKDSA7L.mjs} +3 -4
- package/dist/chunk-4BKDSA7L.mjs.map +1 -0
- package/dist/chunk-4WVN4RMM.mjs +1139 -0
- package/dist/chunk-4WVN4RMM.mjs.map +1 -0
- package/dist/{chunk-J5Y325TG.mjs → chunk-4ZFY3GBP.mjs} +2210 -3
- package/dist/chunk-4ZFY3GBP.mjs.map +1 -0
- package/dist/{chunk-LQVHJ3VY.mjs → chunk-54QDLBID.mjs} +41 -41
- package/dist/{chunk-LQVHJ3VY.mjs.map → chunk-54QDLBID.mjs.map} +1 -1
- package/dist/{chunk-PBBF5DKC.js → chunk-6SBCBVTZ.js} +21 -21
- package/dist/{chunk-WP5MRAYG.mjs → chunk-COEM6U4V.mjs} +3 -4
- package/dist/chunk-COEM6U4V.mjs.map +1 -0
- package/dist/{chunk-3JMY4U4S.mjs → chunk-DBRPCQRR.mjs} +245 -211
- package/dist/chunk-DBRPCQRR.mjs.map +1 -0
- package/dist/{chunk-WRF3EORB.js → chunk-DCJYTCJZ.js} +16 -17
- package/dist/chunk-DCJYTCJZ.js.map +1 -0
- package/dist/{chunk-UO2RQQZO.mjs → chunk-DK2VS36Z.mjs} +2 -2
- package/dist/{chunk-HEZCZXQC.js → chunk-E353GPHE.js} +16 -16
- package/dist/{chunk-6LZOAU6E.js → chunk-GDJSVV46.js} +272 -241
- package/dist/chunk-GDJSVV46.js.map +1 -0
- package/dist/{chunk-Z3JZ5DZN.mjs → chunk-IZBM4CPN.mjs} +2 -2
- package/dist/chunk-J3WVI5Y3.mjs +16280 -0
- package/dist/chunk-J3WVI5Y3.mjs.map +1 -0
- package/dist/{chunk-7OWGGDRF.js → chunk-JFRVH3TD.js} +2288 -80
- package/dist/chunk-JFRVH3TD.js.map +1 -0
- package/dist/chunk-MZBY6G5S.js +1182 -0
- package/dist/chunk-MZBY6G5S.js.map +1 -0
- package/dist/{chunk-7JWBIAUF.mjs → chunk-NS5AXNEW.mjs} +3 -3
- package/dist/chunk-QU4RKOBD.js +16536 -0
- package/dist/chunk-QU4RKOBD.js.map +1 -0
- package/dist/{chunk-CMXTZKWW.js → chunk-UCNBHGIY.js} +157 -157
- package/dist/{chunk-CMXTZKWW.js.map → chunk-UCNBHGIY.js.map} +1 -1
- package/dist/{chunk-BKFHIKFY.js → chunk-XRSK74V5.js} +179 -180
- package/dist/chunk-XRSK74V5.js.map +1 -0
- package/dist/{chunk-2IC6H3FI.js → chunk-YVLKVB6W.js} +52 -52
- package/dist/cli.js +27609 -11656
- package/dist/cli.js.map +1 -1
- package/dist/core/index.js +56 -57
- package/dist/core/index.mjs +2 -3
- package/dist/core-B3_-9yli.d.mts +279 -0
- package/dist/core-cWIQtely.d.ts +279 -0
- package/dist/gematria/index.js +7 -8
- package/dist/gematria/index.mjs +2 -3
- package/dist/iching/index.d.mts +37 -37
- package/dist/iching/index.d.ts +37 -37
- package/dist/iching/index.js +46 -47
- package/dist/iching/index.mjs +3 -4
- package/dist/index.d.mts +139 -2
- package/dist/index.d.ts +139 -2
- package/dist/index.js +1422 -301
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +190 -10
- package/dist/index.mjs.map +1 -1
- package/dist/numerology/index.d.mts +437 -252
- package/dist/numerology/index.d.ts +437 -252
- package/dist/numerology/index.js +108 -28
- package/dist/numerology/index.mjs +4 -4
- package/dist/schedule-types-DsR1_guG.d.mts +200 -0
- package/dist/schedule-types-DsR1_guG.d.ts +200 -0
- package/dist/semantic/index.d.mts +10 -9
- package/dist/semantic/index.d.ts +10 -9
- package/dist/semantic/index.js +41 -41
- package/dist/semantic/index.mjs +8 -8
- package/dist/swisseph.node-734BKSOZ.js +10 -0
- package/dist/swisseph.node-734BKSOZ.js.map +1 -0
- package/dist/swisseph.node-TDPYTBSS.mjs +8 -0
- package/dist/swisseph.node-TDPYTBSS.mjs.map +1 -0
- package/dist/tarot/index.js +30 -31
- package/dist/tarot/index.mjs +3 -4
- package/dist/visual/index.d.mts +1 -0
- package/dist/visual/index.d.ts +1 -0
- package/dist/visual/index.js +46 -47
- package/dist/visual/index.mjs +3 -4
- package/dist/wasm/build/swisseph.node-734BKSOZ.js +10 -0
- package/dist/wasm/build/swisseph.node-734BKSOZ.js.map +1 -0
- package/dist/wasm/build/swisseph.node-TDPYTBSS.mjs +8 -0
- package/dist/wasm/build/swisseph.node-TDPYTBSS.mjs.map +1 -0
- package/package.json +4 -2
- package/dist/chunk-3JMY4U4S.mjs.map +0 -1
- package/dist/chunk-3QN5V3DP.js +0 -4737
- package/dist/chunk-3QN5V3DP.js.map +0 -1
- package/dist/chunk-6LZOAU6E.js.map +0 -1
- package/dist/chunk-7OWGGDRF.js.map +0 -1
- package/dist/chunk-BKFHIKFY.js.map +0 -1
- package/dist/chunk-IT7GZ337.mjs +0 -4679
- package/dist/chunk-IT7GZ337.mjs.map +0 -1
- package/dist/chunk-J5Y325TG.mjs.map +0 -1
- package/dist/chunk-JY4QC6FR.js +0 -2214
- package/dist/chunk-JY4QC6FR.js.map +0 -1
- package/dist/chunk-MWLSSRHL.mjs.map +0 -1
- package/dist/chunk-RUE6NTVT.mjs +0 -2211
- package/dist/chunk-RUE6NTVT.mjs.map +0 -1
- package/dist/chunk-WP5MRAYG.mjs.map +0 -1
- package/dist/chunk-WRF3EORB.js.map +0 -1
- package/dist/swisseph.node-53QCJWTI.mjs +0 -3471
- package/dist/swisseph.node-53QCJWTI.mjs.map +0 -1
- package/dist/swisseph.node-CGBZTQ5N.js +0 -3473
- package/dist/swisseph.node-CGBZTQ5N.js.map +0 -1
- package/dist/swisseph.node-GPVFDOB6.wasm +0 -0
- package/dist/wasm/build/swisseph.node-53QCJWTI.mjs +0 -3471
- package/dist/wasm/build/swisseph.node-53QCJWTI.mjs.map +0 -1
- package/dist/wasm/build/swisseph.node-CGBZTQ5N.js +0 -3473
- package/dist/wasm/build/swisseph.node-CGBZTQ5N.js.map +0 -1
- package/dist/wasm/build/swisseph.node-GPVFDOB6.wasm +0 -0
- /package/dist/{chunk-PBBF5DKC.js.map → chunk-6SBCBVTZ.js.map} +0 -0
- /package/dist/{chunk-2IC6H3FI.js.map → chunk-DK2VS36Z.mjs.map} +0 -0
- /package/dist/{chunk-7JWBIAUF.mjs.map → chunk-E353GPHE.js.map} +0 -0
- /package/dist/{chunk-Z3JZ5DZN.mjs.map → chunk-IZBM4CPN.mjs.map} +0 -0
- /package/dist/{chunk-HEZCZXQC.js.map → chunk-NS5AXNEW.mjs.map} +0 -0
- /package/dist/{chunk-UO2RQQZO.mjs.map → chunk-YVLKVB6W.js.map} +0 -0
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJFRVH3TD_js = require('./chunk-JFRVH3TD.js');
|
|
4
4
|
var chunkICUDGCYX_js = require('./chunk-ICUDGCYX.js');
|
|
5
5
|
|
|
6
6
|
// src/core/topology.ts
|
|
7
7
|
var TREE_TOPOLOGY_SPHERE_NAMES = [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
chunkJFRVH3TD_js.SPHERES.KETHER,
|
|
9
|
+
chunkJFRVH3TD_js.SPHERES.CHOKHMAH,
|
|
10
|
+
chunkJFRVH3TD_js.SPHERES.BINAH,
|
|
11
|
+
chunkJFRVH3TD_js.SPHERES.DAATH,
|
|
12
|
+
chunkJFRVH3TD_js.SPHERES.CHESED,
|
|
13
|
+
chunkJFRVH3TD_js.SPHERES.GEBURAH,
|
|
14
|
+
chunkJFRVH3TD_js.SPHERES.TIPHARETH,
|
|
15
|
+
chunkJFRVH3TD_js.SPHERES.NETZACH,
|
|
16
|
+
chunkJFRVH3TD_js.SPHERES.HOD,
|
|
17
|
+
chunkJFRVH3TD_js.SPHERES.YESOD,
|
|
18
|
+
chunkJFRVH3TD_js.SPHERES.MALKUTH
|
|
19
19
|
];
|
|
20
20
|
var TREE_TOPOLOGY_SPHERE_IDS = TREE_TOPOLOGY_SPHERE_NAMES.map(
|
|
21
|
-
(name) =>
|
|
21
|
+
(name) => chunkJFRVH3TD_js.id("sphere" /* SPHERE */, name)
|
|
22
22
|
);
|
|
23
23
|
var TREE_TOPOLOGY_PATH_IDS = Array.from(
|
|
24
24
|
{ length: 22 },
|
|
25
|
-
(_, index) =>
|
|
25
|
+
(_, index) => chunkJFRVH3TD_js.id("path" /* PATH */, index + 1)
|
|
26
26
|
);
|
|
27
27
|
var TREE_TOPOLOGY_SPHERE_NUMBERS = {
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
28
|
+
[chunkJFRVH3TD_js.SPHERES.KETHER]: 1,
|
|
29
|
+
[chunkJFRVH3TD_js.SPHERES.CHOKHMAH]: 2,
|
|
30
|
+
[chunkJFRVH3TD_js.SPHERES.BINAH]: 3,
|
|
31
|
+
[chunkJFRVH3TD_js.SPHERES.DAATH]: 11,
|
|
32
|
+
[chunkJFRVH3TD_js.SPHERES.CHESED]: 4,
|
|
33
|
+
[chunkJFRVH3TD_js.SPHERES.GEBURAH]: 5,
|
|
34
|
+
[chunkJFRVH3TD_js.SPHERES.TIPHARETH]: 6,
|
|
35
|
+
[chunkJFRVH3TD_js.SPHERES.NETZACH]: 7,
|
|
36
|
+
[chunkJFRVH3TD_js.SPHERES.HOD]: 8,
|
|
37
|
+
[chunkJFRVH3TD_js.SPHERES.YESOD]: 9,
|
|
38
|
+
[chunkJFRVH3TD_js.SPHERES.MALKUTH]: 10
|
|
39
39
|
};
|
|
40
40
|
var TREE_TOPOLOGY_LIGHTNING_SPHERE_NAMES = [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
chunkJFRVH3TD_js.SPHERES.KETHER,
|
|
42
|
+
chunkJFRVH3TD_js.SPHERES.CHOKHMAH,
|
|
43
|
+
chunkJFRVH3TD_js.SPHERES.BINAH,
|
|
44
|
+
chunkJFRVH3TD_js.SPHERES.CHESED,
|
|
45
|
+
chunkJFRVH3TD_js.SPHERES.GEBURAH,
|
|
46
|
+
chunkJFRVH3TD_js.SPHERES.TIPHARETH,
|
|
47
|
+
chunkJFRVH3TD_js.SPHERES.NETZACH,
|
|
48
|
+
chunkJFRVH3TD_js.SPHERES.HOD,
|
|
49
|
+
chunkJFRVH3TD_js.SPHERES.YESOD,
|
|
50
|
+
chunkJFRVH3TD_js.SPHERES.MALKUTH
|
|
51
51
|
];
|
|
52
52
|
var topologyCache = /* @__PURE__ */ new Map();
|
|
53
53
|
function isNodeType(node, type) {
|
|
@@ -60,7 +60,7 @@ function clonePathData(data) {
|
|
|
60
60
|
return { ...data };
|
|
61
61
|
}
|
|
62
62
|
function parsePathNumber(pathId) {
|
|
63
|
-
const parsed = Number.parseInt(
|
|
63
|
+
const parsed = Number.parseInt(chunkJFRVH3TD_js.parseId(pathId), 10);
|
|
64
64
|
if (!Number.isInteger(parsed)) {
|
|
65
65
|
throw new Error(`Invalid tree path id: ${pathId}`);
|
|
66
66
|
}
|
|
@@ -156,7 +156,7 @@ var TreeTopology = class {
|
|
|
156
156
|
}
|
|
157
157
|
getSpheres(options = {}) {
|
|
158
158
|
const includeDaath = options.includeDaath ?? true;
|
|
159
|
-
return includeDaath ? [...this.spheres] : this.spheres.filter((sphere) => sphere.name !==
|
|
159
|
+
return includeDaath ? [...this.spheres] : this.spheres.filter((sphere) => sphere.name !== chunkJFRVH3TD_js.SPHERES.DAATH);
|
|
160
160
|
}
|
|
161
161
|
getPrimarySpheres() {
|
|
162
162
|
return this.getSpheres({ includeDaath: false });
|
|
@@ -298,19 +298,19 @@ function getTreeTopology(options = {}) {
|
|
|
298
298
|
if (cached)
|
|
299
299
|
return cached;
|
|
300
300
|
}
|
|
301
|
-
const tree = options.tree ??
|
|
301
|
+
const tree = options.tree ?? chunkJFRVH3TD_js.createTree({ system });
|
|
302
302
|
const spheres = [];
|
|
303
303
|
for (const sphereId of TREE_TOPOLOGY_SPHERE_IDS) {
|
|
304
304
|
const sphereNode = tree.getNode(sphereId);
|
|
305
305
|
if (!sphereNode) {
|
|
306
306
|
continue;
|
|
307
307
|
}
|
|
308
|
-
const name =
|
|
308
|
+
const name = chunkJFRVH3TD_js.parseId(sphereId);
|
|
309
309
|
spheres.push({
|
|
310
310
|
id: sphereId,
|
|
311
311
|
name,
|
|
312
312
|
number: TREE_TOPOLOGY_SPHERE_NUMBERS[name],
|
|
313
|
-
role: name ===
|
|
313
|
+
role: name === chunkJFRVH3TD_js.SPHERES.DAATH ? "hidden" : "sephirah",
|
|
314
314
|
data: cloneSphereData(sphereNode.data)
|
|
315
315
|
});
|
|
316
316
|
}
|
|
@@ -359,8 +359,8 @@ function cloneNode(node) {
|
|
|
359
359
|
function cloneEdge(edge) {
|
|
360
360
|
return Object.freeze({
|
|
361
361
|
...edge,
|
|
362
|
-
metadata:
|
|
363
|
-
sources: edge.sources.map(
|
|
362
|
+
metadata: chunkJFRVH3TD_js.cloneMetadata(edge.metadata),
|
|
363
|
+
sources: edge.sources.map(chunkJFRVH3TD_js.cloneSource)
|
|
364
364
|
});
|
|
365
365
|
}
|
|
366
366
|
function cloneNote(note) {
|
|
@@ -433,7 +433,7 @@ function createGraphData(descriptor, nodes, edges, notes) {
|
|
|
433
433
|
noteIdsByNodeId.set(clonedNote.target.nodeId, nodeNoteIds);
|
|
434
434
|
continue;
|
|
435
435
|
}
|
|
436
|
-
const edgeId =
|
|
436
|
+
const edgeId = chunkJFRVH3TD_js.makeCorrespondenceId(
|
|
437
437
|
clonedNote.target.left,
|
|
438
438
|
clonedNote.target.right
|
|
439
439
|
);
|
|
@@ -532,7 +532,7 @@ function applyOverlays(base, overlays) {
|
|
|
532
532
|
`Overlay ${overlay.id} references unknown nodes in ${correspondence.left} <-> ${correspondence.right}`
|
|
533
533
|
);
|
|
534
534
|
}
|
|
535
|
-
const edgeId =
|
|
535
|
+
const edgeId = chunkJFRVH3TD_js.makeCorrespondenceId(
|
|
536
536
|
correspondence.left,
|
|
537
537
|
correspondence.right
|
|
538
538
|
);
|
|
@@ -558,7 +558,7 @@ function applyOverlays(base, overlays) {
|
|
|
558
558
|
id: edgeId,
|
|
559
559
|
left: correspondence.left,
|
|
560
560
|
right: correspondence.right,
|
|
561
|
-
metadata:
|
|
561
|
+
metadata: chunkJFRVH3TD_js.cloneMetadata(correspondence.metadata),
|
|
562
562
|
sources: [overlaySource]
|
|
563
563
|
})
|
|
564
564
|
);
|
|
@@ -568,8 +568,8 @@ function applyOverlays(base, overlays) {
|
|
|
568
568
|
edgeId,
|
|
569
569
|
cloneEdge({
|
|
570
570
|
...existingEdge,
|
|
571
|
-
metadata:
|
|
572
|
-
sources:
|
|
571
|
+
metadata: chunkJFRVH3TD_js.mergeMetadata(existingEdge.metadata, correspondence.metadata),
|
|
572
|
+
sources: chunkJFRVH3TD_js.mergeSources(existingEdge.sources, overlaySource)
|
|
573
573
|
})
|
|
574
574
|
);
|
|
575
575
|
}
|
|
@@ -587,7 +587,7 @@ function applyOverlays(base, overlays) {
|
|
|
587
587
|
return nodesById.has(note.target.nodeId);
|
|
588
588
|
}
|
|
589
589
|
return edgesById.has(
|
|
590
|
-
|
|
590
|
+
chunkJFRVH3TD_js.makeCorrespondenceId(note.target.left, note.target.right)
|
|
591
591
|
);
|
|
592
592
|
});
|
|
593
593
|
return {
|
|
@@ -671,7 +671,7 @@ var TreeWorkspace = class {
|
|
|
671
671
|
);
|
|
672
672
|
}
|
|
673
673
|
getEdge(left, right) {
|
|
674
|
-
return this.graph.edgesById.get(
|
|
674
|
+
return this.graph.edgesById.get(chunkJFRVH3TD_js.makeCorrespondenceId(left, right));
|
|
675
675
|
}
|
|
676
676
|
getEdges(nodeId) {
|
|
677
677
|
if (!nodeId) {
|
|
@@ -686,7 +686,7 @@ var TreeWorkspace = class {
|
|
|
686
686
|
if (target.kind === "node") {
|
|
687
687
|
return (this.graph.noteIdsByNodeId.get(target.nodeId) ?? []).map((noteId) => this.graph.notesById.get(noteId)).filter((note) => Boolean(note));
|
|
688
688
|
}
|
|
689
|
-
const edgeId =
|
|
689
|
+
const edgeId = chunkJFRVH3TD_js.makeCorrespondenceId(target.left, target.right);
|
|
690
690
|
return (this.graph.noteIdsByCorrespondenceId.get(edgeId) ?? []).map((noteId) => this.graph.notesById.get(noteId)).filter((note) => Boolean(note));
|
|
691
691
|
}
|
|
692
692
|
getCorrespondences(nodeId, options = {}) {
|
|
@@ -806,7 +806,7 @@ function getCanonicalTree(opts = {
|
|
|
806
806
|
if (cachedTree) {
|
|
807
807
|
return cachedTree;
|
|
808
808
|
}
|
|
809
|
-
const tree =
|
|
809
|
+
const tree = chunkJFRVH3TD_js.createTree({
|
|
810
810
|
system: opts.system,
|
|
811
811
|
parts
|
|
812
812
|
});
|
|
@@ -1597,4 +1597,4 @@ exports.getTreeDescription = getTreeDescription;
|
|
|
1597
1597
|
exports.getTreeNodeDescriptions = getTreeNodeDescriptions;
|
|
1598
1598
|
exports.getTreeTopology = getTreeTopology;
|
|
1599
1599
|
//# sourceMappingURL=out.js.map
|
|
1600
|
-
//# sourceMappingURL=chunk-
|
|
1600
|
+
//# sourceMappingURL=chunk-YVLKVB6W.js.map
|