kaabalah 1.1.6 → 2.0.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/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2037 -1559
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +2026 -1538
- package/dist/core/index.mjs.map +1 -1
- package/dist/gematria/index.d.mts +18 -16
- package/dist/gematria/index.d.ts +18 -16
- package/dist/gematria/index.js +2132 -1612
- package/dist/gematria/index.js.map +1 -1
- package/dist/gematria/index.mjs +2132 -1612
- package/dist/gematria/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2220 -1681
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2210 -1661
- package/dist/index.mjs.map +1 -1
- package/dist/registry-BQH4yZIX.d.mts +338 -0
- package/dist/registry-BQH4yZIX.d.ts +338 -0
- package/package.json +1 -1
- package/dist/registry-CuSy8I3z.d.mts +0 -516
- package/dist/registry-CuSy8I3z.d.ts +0 -516
package/dist/index.mjs
CHANGED
|
@@ -363,19 +363,19 @@ var require_swisseph = __commonJS({
|
|
|
363
363
|
var dependenciesFulfilled = null;
|
|
364
364
|
var runDependencyTracking = {};
|
|
365
365
|
var runDependencyWatcher = null;
|
|
366
|
-
function getUniqueRunDependency(
|
|
367
|
-
var orig =
|
|
366
|
+
function getUniqueRunDependency(id2) {
|
|
367
|
+
var orig = id2;
|
|
368
368
|
while (1) {
|
|
369
|
-
if (!runDependencyTracking[
|
|
370
|
-
|
|
369
|
+
if (!runDependencyTracking[id2]) return id2;
|
|
370
|
+
id2 = orig + Math.random();
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function addRunDependency(
|
|
373
|
+
function addRunDependency(id2) {
|
|
374
374
|
runDependencies++;
|
|
375
375
|
Module["monitorRunDependencies"]?.(runDependencies);
|
|
376
|
-
if (
|
|
377
|
-
assert(!runDependencyTracking[
|
|
378
|
-
runDependencyTracking[
|
|
376
|
+
if (id2) {
|
|
377
|
+
assert(!runDependencyTracking[id2]);
|
|
378
|
+
runDependencyTracking[id2] = 1;
|
|
379
379
|
if (runDependencyWatcher === null && typeof setInterval != "undefined") {
|
|
380
380
|
runDependencyWatcher = setInterval(() => {
|
|
381
381
|
if (ABORT) {
|
|
@@ -400,12 +400,12 @@ var require_swisseph = __commonJS({
|
|
|
400
400
|
err("warning: run dependency added without ID");
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function removeRunDependency(
|
|
403
|
+
function removeRunDependency(id2) {
|
|
404
404
|
runDependencies--;
|
|
405
405
|
Module["monitorRunDependencies"]?.(runDependencies);
|
|
406
|
-
if (
|
|
407
|
-
assert(runDependencyTracking[
|
|
408
|
-
delete runDependencyTracking[
|
|
406
|
+
if (id2) {
|
|
407
|
+
assert(runDependencyTracking[id2]);
|
|
408
|
+
delete runDependencyTracking[id2];
|
|
409
409
|
} else {
|
|
410
410
|
err("warning: run dependency removed without ID");
|
|
411
411
|
}
|
|
@@ -3340,9 +3340,9 @@ async function calculatePlanetaryPositions(date) {
|
|
|
3340
3340
|
saturn: 6 /* SATURN */
|
|
3341
3341
|
};
|
|
3342
3342
|
const positions = {};
|
|
3343
|
-
for (const [name,
|
|
3343
|
+
for (const [name, id2] of Object.entries(planets)) {
|
|
3344
3344
|
try {
|
|
3345
|
-
positions[name] = swissEph.calculatePlanetPosition(julday,
|
|
3345
|
+
positions[name] = swissEph.calculatePlanetPosition(julday, id2);
|
|
3346
3346
|
} catch (error) {
|
|
3347
3347
|
throw new Error(`Failed to calculate position for ${name}: ${error}`);
|
|
3348
3348
|
}
|
|
@@ -3453,6 +3453,23 @@ function getZodiacPosition(longitude) {
|
|
|
3453
3453
|
};
|
|
3454
3454
|
}
|
|
3455
3455
|
|
|
3456
|
+
// src/core/systems/hermetic-qabalah.ts
|
|
3457
|
+
var hermetic_qabalah_exports = {};
|
|
3458
|
+
__export(hermetic_qabalah_exports, {
|
|
3459
|
+
BRIDGES: () => BRIDGES,
|
|
3460
|
+
LOADERS: () => LOADERS,
|
|
3461
|
+
SYSTEM: () => SYSTEM,
|
|
3462
|
+
UNLOADERS: () => UNLOADERS,
|
|
3463
|
+
loadColors: () => loadColors,
|
|
3464
|
+
loadHermeticQabalah: () => loadHermeticQabalah,
|
|
3465
|
+
loadMusicalNotes: () => loadMusicalNotes,
|
|
3466
|
+
loadWesternAstrology: () => loadWesternAstrology,
|
|
3467
|
+
unloadColors: () => unloadColors,
|
|
3468
|
+
unloadHermeticQabalah: () => unloadHermeticQabalah,
|
|
3469
|
+
unloadMusicalNotes: () => unloadMusicalNotes,
|
|
3470
|
+
unloadWesternAstrology: () => unloadWesternAstrology
|
|
3471
|
+
});
|
|
3472
|
+
|
|
3456
3473
|
// src/core/constants.ts
|
|
3457
3474
|
var FOUR_WORLDS = {
|
|
3458
3475
|
ATZILUTH: "Atziluth",
|
|
@@ -3460,6 +3477,12 @@ var FOUR_WORLDS = {
|
|
|
3460
3477
|
YETZIRAH: "Yetzirah",
|
|
3461
3478
|
ASSIAH: "Assiah"
|
|
3462
3479
|
};
|
|
3480
|
+
var FOUR_WORLDS_DATA = {
|
|
3481
|
+
ATZILUTH: { englishName: "World of Emanation" },
|
|
3482
|
+
BRIAH: { englishName: "World of Creation" },
|
|
3483
|
+
YETZIRAH: { englishName: "World of Formation" },
|
|
3484
|
+
ASSIAH: { englishName: "World of Action" }
|
|
3485
|
+
};
|
|
3463
3486
|
var SPHERES = {
|
|
3464
3487
|
KETHER: "Kether",
|
|
3465
3488
|
CHOKHMAH: "Chokhmah",
|
|
@@ -3474,17 +3497,17 @@ var SPHERES = {
|
|
|
3474
3497
|
MALKUTH: "Malkuth"
|
|
3475
3498
|
};
|
|
3476
3499
|
var SPHERES_DATA = {
|
|
3477
|
-
KETHER: {
|
|
3478
|
-
CHOKHMAH: {
|
|
3479
|
-
BINAH: {
|
|
3480
|
-
CHESED: {
|
|
3481
|
-
GEBURAH: {
|
|
3482
|
-
TIPHARETH: {
|
|
3483
|
-
NETZACH: {
|
|
3484
|
-
HOD: {
|
|
3485
|
-
YESOD: {
|
|
3486
|
-
MALKUTH: {
|
|
3487
|
-
DAATH: {
|
|
3500
|
+
KETHER: { hebrewSpelling: "\u05DB\u05EA\u05E8", englishName: "Crown" },
|
|
3501
|
+
CHOKHMAH: { hebrewSpelling: "\u05D7\u05DB\u05DE\u05D4", englishName: "Wisdom" },
|
|
3502
|
+
BINAH: { hebrewSpelling: "\u05D1\u05D9\u05E0\u05D4", englishName: "Understanding" },
|
|
3503
|
+
CHESED: { hebrewSpelling: "\u05D7\u05E1\u05D3", englishName: "Mercy" },
|
|
3504
|
+
GEBURAH: { hebrewSpelling: "\u05D2\u05D1\u05D5\u05E8\u05D4", englishName: "Severity" },
|
|
3505
|
+
TIPHARETH: { hebrewSpelling: "\u05EA\u05E4\u05D0\u05E8\u05EA", englishName: "Beauty" },
|
|
3506
|
+
NETZACH: { hebrewSpelling: "\u05E0\u05E6\u05D7", englishName: "Victory" },
|
|
3507
|
+
HOD: { hebrewSpelling: "\u05D4\u05D5\u05D3", englishName: "Splendor" },
|
|
3508
|
+
YESOD: { hebrewSpelling: "\u05D9\u05E1\u05D5\u05D3", englishName: "Foundation" },
|
|
3509
|
+
MALKUTH: { hebrewSpelling: "\u05DE\u05DC\u05DB\u05D5\u05EA", englishName: "Kingdom" },
|
|
3510
|
+
DAATH: { hebrewSpelling: "\u05D3\u05E2\u05EA", englishName: "Knowledge" }
|
|
3488
3511
|
};
|
|
3489
3512
|
var PLANETS = {
|
|
3490
3513
|
EARTH: "Earth",
|
|
@@ -3667,6 +3690,43 @@ var LATIN_LETTERS = {
|
|
|
3667
3690
|
\u00C7: "\xC7",
|
|
3668
3691
|
\u00C3: "\xC3"
|
|
3669
3692
|
};
|
|
3693
|
+
var LATIN_LETTERS_DATA = {
|
|
3694
|
+
A: { isVowel: true },
|
|
3695
|
+
B: { isVowel: false },
|
|
3696
|
+
C: { isVowel: false },
|
|
3697
|
+
D: { isVowel: false },
|
|
3698
|
+
E: { isVowel: true },
|
|
3699
|
+
F: { isVowel: false },
|
|
3700
|
+
G: { isVowel: false },
|
|
3701
|
+
H: { isVowel: false },
|
|
3702
|
+
I: { isVowel: true },
|
|
3703
|
+
J: { isVowel: false },
|
|
3704
|
+
K: { isVowel: false },
|
|
3705
|
+
L: { isVowel: false },
|
|
3706
|
+
M: { isVowel: false },
|
|
3707
|
+
N: { isVowel: false },
|
|
3708
|
+
O: { isVowel: true },
|
|
3709
|
+
P: { isVowel: false },
|
|
3710
|
+
Q: { isVowel: false },
|
|
3711
|
+
R: { isVowel: false },
|
|
3712
|
+
S: { isVowel: false },
|
|
3713
|
+
T: { isVowel: false },
|
|
3714
|
+
U: { isVowel: true },
|
|
3715
|
+
V: { isVowel: false },
|
|
3716
|
+
W: { isVowel: true },
|
|
3717
|
+
X: { isVowel: false },
|
|
3718
|
+
Y: { isVowel: true },
|
|
3719
|
+
Z: { isVowel: false },
|
|
3720
|
+
PH: { isVowel: false },
|
|
3721
|
+
TS: { isVowel: false },
|
|
3722
|
+
TZ: { isVowel: false },
|
|
3723
|
+
TH: { isVowel: false },
|
|
3724
|
+
CH: { isVowel: false },
|
|
3725
|
+
SH: { isVowel: false },
|
|
3726
|
+
KH: { isVowel: false },
|
|
3727
|
+
\u00C7: { isVowel: false },
|
|
3728
|
+
\u00C3: { isVowel: true }
|
|
3729
|
+
};
|
|
3670
3730
|
var HEBREW_LETTERS = {
|
|
3671
3731
|
ALEPH: "Aleph",
|
|
3672
3732
|
BETH: "Beth",
|
|
@@ -3912,58 +3972,58 @@ var TAROT_ARKANNUS = {
|
|
|
3912
3972
|
QUEEN_OF_WANDS: "Queen of Wands",
|
|
3913
3973
|
KNIGHT_OF_WANDS: "Knight of Wands",
|
|
3914
3974
|
PAGE_OF_WANDS: "Page of Wands",
|
|
3915
|
-
ACE_OF_WANDS: "Ace of Wands",
|
|
3916
|
-
TWO_OF_WANDS: "Two of Wands",
|
|
3917
|
-
THREE_OF_WANDS: "Three of Wands",
|
|
3918
|
-
FOUR_OF_WANDS: "Four of Wands",
|
|
3919
|
-
FIVE_OF_WANDS: "Five of Wands",
|
|
3920
|
-
SIX_OF_WANDS: "Six of Wands",
|
|
3921
|
-
SEVEN_OF_WANDS: "Seven of Wands",
|
|
3922
|
-
EIGHT_OF_WANDS: "Eight of Wands",
|
|
3923
|
-
NINE_OF_WANDS: "Nine of Wands",
|
|
3924
3975
|
TEN_OF_WANDS: "Ten of Wands",
|
|
3976
|
+
NINE_OF_WANDS: "Nine of Wands",
|
|
3977
|
+
EIGHT_OF_WANDS: "Eight of Wands",
|
|
3978
|
+
SEVEN_OF_WANDS: "Seven of Wands",
|
|
3979
|
+
SIX_OF_WANDS: "Six of Wands",
|
|
3980
|
+
FIVE_OF_WANDS: "Five of Wands",
|
|
3981
|
+
FOUR_OF_WANDS: "Four of Wands",
|
|
3982
|
+
THREE_OF_WANDS: "Three of Wands",
|
|
3983
|
+
TWO_OF_WANDS: "Two of Wands",
|
|
3984
|
+
ACE_OF_WANDS: "Ace of Wands",
|
|
3925
3985
|
KING_OF_CUPS: "King of Cups",
|
|
3926
3986
|
QUEEN_OF_CUPS: "Queen of Cups",
|
|
3927
3987
|
KNIGHT_OF_CUPS: "Knight of Cups",
|
|
3928
3988
|
PAGE_OF_CUPS: "Page of Cups",
|
|
3929
|
-
ACE_OF_CUPS: "Ace of Cups",
|
|
3930
|
-
TWO_OF_CUPS: "Two of Cups",
|
|
3931
|
-
THREE_OF_CUPS: "Three of Cups",
|
|
3932
|
-
FOUR_OF_CUPS: "Four of Cups",
|
|
3933
|
-
FIVE_OF_CUPS: "Five of Cups",
|
|
3934
|
-
SIX_OF_CUPS: "Six of Cups",
|
|
3935
|
-
SEVEN_OF_CUPS: "Seven of Cups",
|
|
3936
|
-
EIGHT_OF_CUPS: "Eight of Cups",
|
|
3937
|
-
NINE_OF_CUPS: "Nine of Cups",
|
|
3938
3989
|
TEN_OF_CUPS: "Ten of Cups",
|
|
3990
|
+
NINE_OF_CUPS: "Nine of Cups",
|
|
3991
|
+
EIGHT_OF_CUPS: "Eight of Cups",
|
|
3992
|
+
SEVEN_OF_CUPS: "Seven of Cups",
|
|
3993
|
+
SIX_OF_CUPS: "Six of Cups",
|
|
3994
|
+
FIVE_OF_CUPS: "Five of Cups",
|
|
3995
|
+
FOUR_OF_CUPS: "Four of Cups",
|
|
3996
|
+
THREE_OF_CUPS: "Three of Cups",
|
|
3997
|
+
TWO_OF_CUPS: "Two of Cups",
|
|
3998
|
+
ACE_OF_CUPS: "Ace of Cups",
|
|
3939
3999
|
KING_OF_SWORDS: "King of Swords",
|
|
3940
4000
|
QUEEN_OF_SWORDS: "Queen of Swords",
|
|
3941
4001
|
KNIGHT_OF_SWORDS: "Knight of Swords",
|
|
3942
4002
|
PAGE_OF_SWORDS: "Page of Swords",
|
|
3943
|
-
ACE_OF_SWORDS: "Ace of Swords",
|
|
3944
|
-
TWO_OF_SWORDS: "Two of Swords",
|
|
3945
|
-
THREE_OF_SWORDS: "Three of Swords",
|
|
3946
|
-
FOUR_OF_SWORDS: "Four of Swords",
|
|
3947
|
-
FIVE_OF_SWORDS: "Five of Swords",
|
|
3948
|
-
SIX_OF_SWORDS: "Six of Swords",
|
|
3949
|
-
SEVEN_OF_SWORDS: "Seven of Swords",
|
|
3950
|
-
EIGHT_OF_SWORDS: "Eight of Swords",
|
|
3951
|
-
NINE_OF_SWORDS: "Nine of Swords",
|
|
3952
4003
|
TEN_OF_SWORDS: "Ten of Swords",
|
|
4004
|
+
NINE_OF_SWORDS: "Nine of Swords",
|
|
4005
|
+
EIGHT_OF_SWORDS: "Eight of Swords",
|
|
4006
|
+
SEVEN_OF_SWORDS: "Seven of Swords",
|
|
4007
|
+
SIX_OF_SWORDS: "Six of Swords",
|
|
4008
|
+
FIVE_OF_SWORDS: "Five of Swords",
|
|
4009
|
+
FOUR_OF_SWORDS: "Four of Swords",
|
|
4010
|
+
THREE_OF_SWORDS: "Three of Swords",
|
|
4011
|
+
TWO_OF_SWORDS: "Two of Swords",
|
|
4012
|
+
ACE_OF_SWORDS: "Ace of Swords",
|
|
3953
4013
|
KING_OF_PENTACLES: "King of Pentacles",
|
|
3954
4014
|
QUEEN_OF_PENTACLES: "Queen of Pentacles",
|
|
3955
4015
|
KNIGHT_OF_PENTACLES: "Knight of Pentacles",
|
|
3956
4016
|
PAGE_OF_PENTACLES: "Page of Pentacles",
|
|
3957
|
-
|
|
3958
|
-
TWO_OF_PENTACLES: "Two of Pentacles",
|
|
3959
|
-
THREE_OF_PENTACLES: "Three of Pentacles",
|
|
3960
|
-
FOUR_OF_PENTACLES: "Four of Pentacles",
|
|
3961
|
-
FIVE_OF_PENTACLES: "Five of Pentacles",
|
|
3962
|
-
SIX_OF_PENTACLES: "Six of Pentacles",
|
|
3963
|
-
SEVEN_OF_PENTACLES: "Seven of Pentacles",
|
|
3964
|
-
EIGHT_OF_PENTACLES: "Eight of Pentacles",
|
|
4017
|
+
TEN_OF_PENTACLES: "Ten of Pentacles",
|
|
3965
4018
|
NINE_OF_PENTACLES: "Nine of Pentacles",
|
|
3966
|
-
|
|
4019
|
+
EIGHT_OF_PENTACLES: "Eight of Pentacles",
|
|
4020
|
+
SEVEN_OF_PENTACLES: "Seven of Pentacles",
|
|
4021
|
+
SIX_OF_PENTACLES: "Six of Pentacles",
|
|
4022
|
+
FIVE_OF_PENTACLES: "Five of Pentacles",
|
|
4023
|
+
FOUR_OF_PENTACLES: "Four of Pentacles",
|
|
4024
|
+
THREE_OF_PENTACLES: "Three of Pentacles",
|
|
4025
|
+
TWO_OF_PENTACLES: "Two of Pentacles",
|
|
4026
|
+
ACE_OF_PENTACLES: "Ace of Pentacles"
|
|
3967
4027
|
};
|
|
3968
4028
|
var TAROT_DECKS = {
|
|
3969
4029
|
PAPUS_KAABALISTIC: "Papus Kaabalistic",
|
|
@@ -5392,518 +5452,725 @@ var COLORS_DATA = {
|
|
|
5392
5452
|
}
|
|
5393
5453
|
};
|
|
5394
5454
|
|
|
5455
|
+
// src/core/types.ts
|
|
5456
|
+
var KaabalahTypes = /* @__PURE__ */ ((KaabalahTypes2) => {
|
|
5457
|
+
KaabalahTypes2["SPHERE"] = "sphere";
|
|
5458
|
+
KaabalahTypes2["PATH"] = "path";
|
|
5459
|
+
KaabalahTypes2["WORLD"] = "world";
|
|
5460
|
+
return KaabalahTypes2;
|
|
5461
|
+
})(KaabalahTypes || {});
|
|
5462
|
+
var LetterTypes = /* @__PURE__ */ ((LetterTypes2) => {
|
|
5463
|
+
LetterTypes2["HEBREW_LETTER"] = "hebrewLetter";
|
|
5464
|
+
LetterTypes2["LATIN_LETTER"] = "latinLetter";
|
|
5465
|
+
LetterTypes2["SANSKRIT_LETTER"] = "sanskritLetter";
|
|
5466
|
+
LetterTypes2["ARCHEOMETER_LETTER"] = "archeometerLetter";
|
|
5467
|
+
return LetterTypes2;
|
|
5468
|
+
})(LetterTypes || {});
|
|
5469
|
+
var WesternAstrologyTypes = /* @__PURE__ */ ((WesternAstrologyTypes2) => {
|
|
5470
|
+
WesternAstrologyTypes2["PLANET"] = "planet";
|
|
5471
|
+
WesternAstrologyTypes2["WESTERN_ZODIAC_SIGN"] = "westernZodiacSign";
|
|
5472
|
+
WesternAstrologyTypes2["WESTERN_ELEMENT"] = "westernElement";
|
|
5473
|
+
return WesternAstrologyTypes2;
|
|
5474
|
+
})(WesternAstrologyTypes || {});
|
|
5475
|
+
var TarotTypes = /* @__PURE__ */ ((TarotTypes2) => {
|
|
5476
|
+
TarotTypes2["TAROT_ARK_ANNU"] = "tarotArkAnnu";
|
|
5477
|
+
TarotTypes2["TAROT_SUIT"] = "tarotSuit";
|
|
5478
|
+
return TarotTypes2;
|
|
5479
|
+
})(TarotTypes || {});
|
|
5480
|
+
var TantraTypes = /* @__PURE__ */ ((TantraTypes2) => {
|
|
5481
|
+
TantraTypes2["CHAKRA"] = "chakra";
|
|
5482
|
+
TantraTypes2["SUBTLE_BODY"] = "subtleBody";
|
|
5483
|
+
return TantraTypes2;
|
|
5484
|
+
})(TantraTypes || {});
|
|
5485
|
+
var NumerologyTypes = /* @__PURE__ */ ((NumerologyTypes2) => {
|
|
5486
|
+
NumerologyTypes2["NUMBER"] = "number";
|
|
5487
|
+
return NumerologyTypes2;
|
|
5488
|
+
})(NumerologyTypes || {});
|
|
5489
|
+
var MiscTypes = /* @__PURE__ */ ((MiscTypes2) => {
|
|
5490
|
+
MiscTypes2["COLOR"] = "color";
|
|
5491
|
+
MiscTypes2["MUSICAL_NOTE"] = "musicalNote";
|
|
5492
|
+
MiscTypes2["UNCATEGORIZED"] = "uncategorized";
|
|
5493
|
+
return MiscTypes2;
|
|
5494
|
+
})(MiscTypes || {});
|
|
5495
|
+
var id = (type, value) => `${type}:${value}`;
|
|
5496
|
+
var parseId = (nodeId) => {
|
|
5497
|
+
const parsedId = nodeId.split(":");
|
|
5498
|
+
if (parsedId.length !== 2) {
|
|
5499
|
+
throw new Error(`Invalid node id: ${nodeId}`);
|
|
5500
|
+
}
|
|
5501
|
+
return parsedId[1];
|
|
5502
|
+
};
|
|
5503
|
+
var BaseNode = class {
|
|
5504
|
+
constructor({ id: idValue, type, data, name }) {
|
|
5505
|
+
this.id = id(type, idValue);
|
|
5506
|
+
this.type = type;
|
|
5507
|
+
this.data = data;
|
|
5508
|
+
this._name = name;
|
|
5509
|
+
}
|
|
5510
|
+
get name() {
|
|
5511
|
+
return this._name ?? parseId(this.id);
|
|
5512
|
+
}
|
|
5513
|
+
};
|
|
5514
|
+
|
|
5395
5515
|
// src/core/systems/hermetic-qabalah.ts
|
|
5396
|
-
var hermetic_qabalah_exports = {};
|
|
5397
|
-
__export(hermetic_qabalah_exports, {
|
|
5398
|
-
BRIDGES: () => BRIDGES,
|
|
5399
|
-
LOADERS: () => LOADERS,
|
|
5400
|
-
SYSTEM: () => SYSTEM,
|
|
5401
|
-
UNLOADERS: () => UNLOADERS,
|
|
5402
|
-
loadColors: () => loadColors,
|
|
5403
|
-
loadHermeticQabalah: () => loadHermeticQabalah,
|
|
5404
|
-
loadMusicalNotes: () => loadMusicalNotes,
|
|
5405
|
-
loadWesternAstrology: () => loadWesternAstrology,
|
|
5406
|
-
unloadColors: () => unloadColors,
|
|
5407
|
-
unloadHermeticQabalah: () => unloadHermeticQabalah,
|
|
5408
|
-
unloadMusicalNotes: () => unloadMusicalNotes,
|
|
5409
|
-
unloadWesternAstrology: () => unloadWesternAstrology
|
|
5410
|
-
});
|
|
5411
5516
|
var SYSTEM = "hermetic-qabalah";
|
|
5412
5517
|
function loadHermeticQabalah(tree) {
|
|
5413
|
-
const
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5518
|
+
const spheres = [
|
|
5519
|
+
{ sphere: SPHERES.KETHER, data: {
|
|
5520
|
+
...SPHERES_DATA.KETHER,
|
|
5521
|
+
divineName: "Eheieh",
|
|
5522
|
+
archangelicName: "Metraton",
|
|
5523
|
+
angelicName: "Chayouth Ha-Qadesh",
|
|
5524
|
+
mundaneName: "Rashith Ha-Gilgalim"
|
|
5525
|
+
}, relatedNumber: 1 },
|
|
5526
|
+
{ sphere: SPHERES.CHOKHMAH, data: {
|
|
5527
|
+
...SPHERES_DATA.CHOKHMAH,
|
|
5528
|
+
divineName: "Yahve El Yah",
|
|
5529
|
+
archangelicName: "Raziel",
|
|
5530
|
+
angelicName: "Auphanim",
|
|
5531
|
+
mundaneName: "Mazloth"
|
|
5532
|
+
}, relatedNumber: 2 },
|
|
5533
|
+
{ sphere: SPHERES.BINAH, data: {
|
|
5534
|
+
...SPHERES_DATA.BINAH,
|
|
5535
|
+
divineName: "Yahve Elohim",
|
|
5536
|
+
archangelicName: "Tzaphqiel",
|
|
5537
|
+
angelicName: "Aralim",
|
|
5538
|
+
mundaneName: "Shabbathai"
|
|
5539
|
+
}, relatedNumber: 3 },
|
|
5540
|
+
{ sphere: SPHERES.DAATH, data: SPHERES_DATA.DAATH, relatedNumber: 11 },
|
|
5541
|
+
{ sphere: SPHERES.CHESED, data: {
|
|
5542
|
+
...SPHERES_DATA.CHESED,
|
|
5543
|
+
divineName: "El",
|
|
5544
|
+
archangelicName: "Tzadqiel",
|
|
5545
|
+
angelicName: "Chasmalim",
|
|
5546
|
+
mundaneName: "Tzedeq"
|
|
5547
|
+
}, relatedNumber: 4 },
|
|
5548
|
+
{ sphere: SPHERES.GEBURAH, data: {
|
|
5549
|
+
...SPHERES_DATA.GEBURAH,
|
|
5550
|
+
divineName: "Elohim Gibor",
|
|
5551
|
+
archangelicName: "Kamael",
|
|
5552
|
+
angelicName: "Seraphim",
|
|
5553
|
+
mundaneName: "Madim"
|
|
5554
|
+
}, relatedNumber: 5 },
|
|
5555
|
+
{ sphere: SPHERES.TIPHARETH, data: {
|
|
5556
|
+
...SPHERES_DATA.TIPHARETH,
|
|
5557
|
+
divineName: "Yahve Eloah Ve-Daath",
|
|
5558
|
+
archangelicName: "Raphael",
|
|
5559
|
+
angelicName: "Melekim",
|
|
5560
|
+
mundaneName: "Shemesh"
|
|
5561
|
+
}, relatedNumber: 6 },
|
|
5562
|
+
{ sphere: SPHERES.NETZACH, data: {
|
|
5563
|
+
...SPHERES_DATA.NETZACH,
|
|
5564
|
+
divineName: "Yahve Tzabaoth",
|
|
5565
|
+
archangelicName: "Haniel",
|
|
5566
|
+
angelicName: "Elohim",
|
|
5567
|
+
mundaneName: "Nogah"
|
|
5568
|
+
}, relatedNumber: 7 },
|
|
5569
|
+
{ sphere: SPHERES.HOD, data: {
|
|
5570
|
+
...SPHERES_DATA.HOD,
|
|
5571
|
+
divineName: "Elohim Tzabaoth",
|
|
5572
|
+
archangelicName: "Mikael",
|
|
5573
|
+
angelicName: "Beni Elohim",
|
|
5574
|
+
mundaneName: "Kokab"
|
|
5575
|
+
}, relatedNumber: 8 },
|
|
5576
|
+
{ sphere: SPHERES.YESOD, data: {
|
|
5577
|
+
...SPHERES_DATA.YESOD,
|
|
5578
|
+
divineName: "Shadai El Chai",
|
|
5579
|
+
archangelicName: "Gabriel",
|
|
5580
|
+
angelicName: "Kerubim",
|
|
5581
|
+
mundaneName: "Levanah"
|
|
5582
|
+
}, relatedNumber: 9 },
|
|
5583
|
+
{ sphere: SPHERES.MALKUTH, data: {
|
|
5584
|
+
...SPHERES_DATA.MALKUTH,
|
|
5585
|
+
divineName: "Adonai Malek",
|
|
5586
|
+
archangelicName: "Sandalphon",
|
|
5587
|
+
angelicName: "Ashim",
|
|
5588
|
+
mundaneName: "Olam Yesodot"
|
|
5589
|
+
}, relatedNumber: 10 }
|
|
5590
|
+
];
|
|
5591
|
+
const sphereIds = {};
|
|
5592
|
+
for (const sphere of spheres) {
|
|
5593
|
+
sphereIds[sphere.sphere] = tree.addSphere(sphere);
|
|
5594
|
+
}
|
|
5595
|
+
const worldsWithElements = [
|
|
5596
|
+
{ id: FOUR_WORLDS.ATZILUTH, data: FOUR_WORLDS_DATA.ATZILUTH, element: WESTERN_ELEMENTS.FIRE },
|
|
5597
|
+
{ id: FOUR_WORLDS.BRIAH, data: FOUR_WORLDS_DATA.BRIAH, element: WESTERN_ELEMENTS.WATER },
|
|
5598
|
+
{ id: FOUR_WORLDS.YETZIRAH, data: FOUR_WORLDS_DATA.YETZIRAH, element: WESTERN_ELEMENTS.AIR },
|
|
5599
|
+
{ id: FOUR_WORLDS.ASSIAH, data: FOUR_WORLDS_DATA.ASSIAH, element: WESTERN_ELEMENTS.EARTH }
|
|
5600
|
+
];
|
|
5601
|
+
for (const world of worldsWithElements) {
|
|
5602
|
+
const worldId = tree.upsertNode(new BaseNode({
|
|
5603
|
+
id: world.id,
|
|
5604
|
+
type: "world" /* WORLD */,
|
|
5605
|
+
data: world.data
|
|
5606
|
+
}));
|
|
5607
|
+
const elementId = tree.upsertNode(new BaseNode({
|
|
5608
|
+
id: world.element,
|
|
5609
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
5610
|
+
}));
|
|
5611
|
+
tree.link(worldId, elementId);
|
|
5612
|
+
}
|
|
5613
|
+
const paths = [
|
|
5614
|
+
{
|
|
5615
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
5616
|
+
rightSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
5617
|
+
relatedNumber: MELKITZEDEKI_PATHS.KETHER_CHOKHMAH,
|
|
5618
|
+
letters: [
|
|
5619
|
+
{ letter: LATIN_LETTERS.A, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.A },
|
|
5620
|
+
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.ALEPH }
|
|
5621
|
+
]
|
|
5622
|
+
},
|
|
5623
|
+
{
|
|
5624
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
5625
|
+
rightSphere: sphereIds[SPHERES.BINAH],
|
|
5626
|
+
relatedNumber: MELKITZEDEKI_PATHS.KETHER_BINAH,
|
|
5627
|
+
letters: [
|
|
5628
|
+
{ letter: LATIN_LETTERS.B, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.B },
|
|
5629
|
+
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.BETH }
|
|
5630
|
+
]
|
|
5631
|
+
},
|
|
5632
|
+
{
|
|
5633
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
5634
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5635
|
+
relatedNumber: MELKITZEDEKI_PATHS.KETHER_TIPHARETH,
|
|
5636
|
+
letters: [
|
|
5637
|
+
{ letter: LATIN_LETTERS.G, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.G },
|
|
5638
|
+
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.GIMEL }
|
|
5639
|
+
]
|
|
5640
|
+
},
|
|
5641
|
+
{
|
|
5642
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
5643
|
+
rightSphere: sphereIds[SPHERES.BINAH],
|
|
5644
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHOKHMAH_BINAH,
|
|
5645
|
+
letters: [
|
|
5646
|
+
{ letter: LATIN_LETTERS.D, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.D },
|
|
5647
|
+
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.DALET }
|
|
5648
|
+
]
|
|
5649
|
+
},
|
|
5650
|
+
{
|
|
5651
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
5652
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5653
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHOKHMAH_TIPHARETH,
|
|
5654
|
+
letters: [
|
|
5655
|
+
{ letter: LATIN_LETTERS.E, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.E },
|
|
5656
|
+
{ letter: LATIN_LETTERS.\u00C3, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.\u00C3 },
|
|
5657
|
+
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.HE }
|
|
5658
|
+
]
|
|
5659
|
+
},
|
|
5660
|
+
{
|
|
5661
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
5662
|
+
rightSphere: sphereIds[SPHERES.CHESED],
|
|
5663
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHOKHMAH_CHESED,
|
|
5664
|
+
letters: [
|
|
5665
|
+
{ letter: LATIN_LETTERS.V, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.V },
|
|
5666
|
+
{ letter: LATIN_LETTERS.U, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.U },
|
|
5667
|
+
{ letter: LATIN_LETTERS.W, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.W },
|
|
5668
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.O },
|
|
5669
|
+
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.VAV }
|
|
5670
|
+
]
|
|
5671
|
+
},
|
|
5672
|
+
{
|
|
5673
|
+
leftSphere: sphereIds[SPHERES.BINAH],
|
|
5674
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5675
|
+
relatedNumber: MELKITZEDEKI_PATHS.BINAH_TIPHARETH,
|
|
5676
|
+
letters: [
|
|
5677
|
+
{ letter: LATIN_LETTERS.Z, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Z },
|
|
5678
|
+
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
5679
|
+
]
|
|
5680
|
+
},
|
|
5681
|
+
{
|
|
5682
|
+
leftSphere: sphereIds[SPHERES.BINAH],
|
|
5683
|
+
rightSphere: sphereIds[SPHERES.GEBURAH],
|
|
5684
|
+
relatedNumber: MELKITZEDEKI_PATHS.BINAH_GEBURAH,
|
|
5685
|
+
letters: [
|
|
5686
|
+
{ letter: LATIN_LETTERS.H, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.H },
|
|
5687
|
+
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.HET }
|
|
5688
|
+
]
|
|
5689
|
+
},
|
|
5690
|
+
{
|
|
5691
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
5692
|
+
rightSphere: sphereIds[SPHERES.GEBURAH],
|
|
5693
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHESED_GEBURAH,
|
|
5694
|
+
letters: [
|
|
5695
|
+
{ letter: LATIN_LETTERS.T, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.T },
|
|
5696
|
+
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TET }
|
|
5697
|
+
]
|
|
5698
|
+
},
|
|
5699
|
+
{
|
|
5700
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
5701
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5702
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHESED_TIPHARETH,
|
|
5703
|
+
letters: [
|
|
5704
|
+
{ letter: LATIN_LETTERS.I, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.I },
|
|
5705
|
+
{ letter: LATIN_LETTERS.Y, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Y },
|
|
5706
|
+
{ letter: LATIN_LETTERS.J, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.J },
|
|
5707
|
+
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.YOD }
|
|
5708
|
+
]
|
|
5490
5709
|
},
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5710
|
+
{
|
|
5711
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
5712
|
+
rightSphere: sphereIds[SPHERES.NETZACH],
|
|
5713
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHESED_NETZACH,
|
|
5714
|
+
letters: [
|
|
5715
|
+
{ letter: LATIN_LETTERS.C, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.C },
|
|
5716
|
+
{ letter: HEBREW_LETTERS.KAPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.KAPH }
|
|
5717
|
+
]
|
|
5495
5718
|
},
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5719
|
+
{
|
|
5720
|
+
leftSphere: sphereIds[SPHERES.GEBURAH],
|
|
5721
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5722
|
+
relatedNumber: MELKITZEDEKI_PATHS.GEBURAH_TIPHARETH,
|
|
5723
|
+
letters: [
|
|
5724
|
+
{ letter: LATIN_LETTERS.L, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.L },
|
|
5725
|
+
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.LAMED }
|
|
5726
|
+
]
|
|
5500
5727
|
},
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5728
|
+
{
|
|
5729
|
+
leftSphere: sphereIds[SPHERES.GEBURAH],
|
|
5730
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
5731
|
+
relatedNumber: MELKITZEDEKI_PATHS.GEBURAH_HOD,
|
|
5732
|
+
letters: [
|
|
5733
|
+
{ letter: LATIN_LETTERS.M, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.M },
|
|
5734
|
+
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.MEM }
|
|
5735
|
+
]
|
|
5736
|
+
},
|
|
5737
|
+
{
|
|
5738
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5739
|
+
rightSphere: sphereIds[SPHERES.NETZACH],
|
|
5740
|
+
relatedNumber: MELKITZEDEKI_PATHS.TIPHARETH_NETZACH,
|
|
5741
|
+
letters: [
|
|
5742
|
+
{ letter: LATIN_LETTERS.N, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.N },
|
|
5743
|
+
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.NUN }
|
|
5744
|
+
]
|
|
5745
|
+
},
|
|
5746
|
+
{
|
|
5747
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5748
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
5749
|
+
relatedNumber: MELKITZEDEKI_PATHS.TIPHARETH_YESOD,
|
|
5750
|
+
letters: [
|
|
5751
|
+
{ letter: LATIN_LETTERS.S, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.S },
|
|
5752
|
+
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.\u00C7 },
|
|
5753
|
+
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
5754
|
+
]
|
|
5755
|
+
},
|
|
5756
|
+
{
|
|
5757
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
5758
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
5759
|
+
relatedNumber: MELKITZEDEKI_PATHS.TIPHARETH_HOD,
|
|
5760
|
+
letters: [
|
|
5761
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.O },
|
|
5762
|
+
{ letter: HEBREW_LETTERS.AYIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.AYIN }
|
|
5763
|
+
]
|
|
5764
|
+
},
|
|
5765
|
+
{
|
|
5766
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
5767
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
5768
|
+
relatedNumber: MELKITZEDEKI_PATHS.NETZACH_HOD,
|
|
5769
|
+
letters: [
|
|
5770
|
+
{ letter: LATIN_LETTERS.P, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.P },
|
|
5771
|
+
{ letter: LATIN_LETTERS.F, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.F },
|
|
5772
|
+
{ letter: LATIN_LETTERS.PH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.PH },
|
|
5773
|
+
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.PE }
|
|
5774
|
+
]
|
|
5775
|
+
},
|
|
5776
|
+
{
|
|
5777
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
5778
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
5779
|
+
relatedNumber: MELKITZEDEKI_PATHS.NETZACH_YESOD,
|
|
5780
|
+
letters: [
|
|
5781
|
+
{ letter: LATIN_LETTERS.TS, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TS },
|
|
5782
|
+
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TZ },
|
|
5783
|
+
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TSADI }
|
|
5784
|
+
]
|
|
5785
|
+
},
|
|
5786
|
+
{
|
|
5787
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
5788
|
+
rightSphere: sphereIds[SPHERES.MALKUTH],
|
|
5789
|
+
relatedNumber: MELKITZEDEKI_PATHS.NETZACH_MALKUTH,
|
|
5790
|
+
letters: [
|
|
5791
|
+
{ letter: LATIN_LETTERS.K, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.K },
|
|
5792
|
+
{ letter: LATIN_LETTERS.Q, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Q },
|
|
5793
|
+
{ letter: LATIN_LETTERS.KH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.KH },
|
|
5794
|
+
{ letter: HEBREW_LETTERS.QOPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.QOPH }
|
|
5795
|
+
]
|
|
5796
|
+
},
|
|
5797
|
+
{
|
|
5798
|
+
leftSphere: sphereIds[SPHERES.HOD],
|
|
5799
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
5800
|
+
relatedNumber: MELKITZEDEKI_PATHS.HOD_YESOD,
|
|
5801
|
+
letters: [
|
|
5802
|
+
{ letter: LATIN_LETTERS.R, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.R },
|
|
5803
|
+
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.RESH }
|
|
5804
|
+
]
|
|
5805
|
+
},
|
|
5806
|
+
{
|
|
5807
|
+
leftSphere: sphereIds[SPHERES.HOD],
|
|
5808
|
+
rightSphere: sphereIds[SPHERES.MALKUTH],
|
|
5809
|
+
relatedNumber: MELKITZEDEKI_PATHS.HOD_MALKUTH,
|
|
5810
|
+
letters: [
|
|
5811
|
+
{ letter: LATIN_LETTERS.CH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.CH },
|
|
5812
|
+
{ letter: LATIN_LETTERS.SH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.SH },
|
|
5813
|
+
{ letter: LATIN_LETTERS.X, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.X },
|
|
5814
|
+
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.SHIN }
|
|
5815
|
+
]
|
|
5816
|
+
},
|
|
5817
|
+
{
|
|
5818
|
+
leftSphere: sphereIds[SPHERES.YESOD],
|
|
5819
|
+
rightSphere: sphereIds[SPHERES.MALKUTH],
|
|
5820
|
+
relatedNumber: MELKITZEDEKI_PATHS.YESOD_MALKUTH,
|
|
5821
|
+
letters: [
|
|
5822
|
+
{ letter: LATIN_LETTERS.TH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TH },
|
|
5823
|
+
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TAV }
|
|
5824
|
+
]
|
|
5505
5825
|
}
|
|
5506
|
-
|
|
5507
|
-
for (const
|
|
5508
|
-
tree.
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5826
|
+
];
|
|
5827
|
+
for (const path of paths) {
|
|
5828
|
+
const pathId = tree.addPath({
|
|
5829
|
+
leftSphere: path.leftSphere,
|
|
5830
|
+
rightSphere: path.rightSphere,
|
|
5831
|
+
relatedNumber: path.relatedNumber
|
|
5832
|
+
});
|
|
5833
|
+
tree.addLetters({
|
|
5834
|
+
path: pathId,
|
|
5835
|
+
letters: path.letters
|
|
5836
|
+
});
|
|
5512
5837
|
}
|
|
5513
|
-
const path11 = tree.addPath(kether, chokhmah, MELKITZEDEKI_PATHS.KETHER_CHOKHMAH);
|
|
5514
|
-
const path12 = tree.addPath(kether, binah, MELKITZEDEKI_PATHS.KETHER_BINAH);
|
|
5515
|
-
const path13 = tree.addPath(kether, tiphareth, MELKITZEDEKI_PATHS.KETHER_TIPHARETH);
|
|
5516
|
-
const path14 = tree.addPath(chokhmah, binah, MELKITZEDEKI_PATHS.CHOKHMAH_BINAH);
|
|
5517
|
-
const path15 = tree.addPath(chokhmah, tiphareth, MELKITZEDEKI_PATHS.CHOKHMAH_TIPHARETH);
|
|
5518
|
-
const path16 = tree.addPath(chokhmah, chesed, MELKITZEDEKI_PATHS.CHOKHMAH_CHESED);
|
|
5519
|
-
const path17 = tree.addPath(binah, tiphareth, MELKITZEDEKI_PATHS.BINAH_TIPHARETH);
|
|
5520
|
-
const path18 = tree.addPath(binah, geburah, MELKITZEDEKI_PATHS.BINAH_GEBURAH);
|
|
5521
|
-
const path19 = tree.addPath(chesed, geburah, MELKITZEDEKI_PATHS.CHESED_GEBURAH);
|
|
5522
|
-
const path20 = tree.addPath(chesed, tiphareth, MELKITZEDEKI_PATHS.CHESED_TIPHARETH);
|
|
5523
|
-
const path21 = tree.addPath(chesed, netzach, MELKITZEDEKI_PATHS.CHESED_NETZACH);
|
|
5524
|
-
const path22 = tree.addPath(geburah, tiphareth, MELKITZEDEKI_PATHS.GEBURAH_TIPHARETH);
|
|
5525
|
-
const path23 = tree.addPath(geburah, hod, MELKITZEDEKI_PATHS.GEBURAH_HOD);
|
|
5526
|
-
const path24 = tree.addPath(tiphareth, netzach, MELKITZEDEKI_PATHS.TIPHARETH_NETZACH);
|
|
5527
|
-
const path25 = tree.addPath(tiphareth, yesod, MELKITZEDEKI_PATHS.TIPHARETH_YESOD);
|
|
5528
|
-
const path26 = tree.addPath(tiphareth, hod, MELKITZEDEKI_PATHS.TIPHARETH_HOD);
|
|
5529
|
-
const path27 = tree.addPath(netzach, hod, MELKITZEDEKI_PATHS.NETZACH_HOD);
|
|
5530
|
-
const path28 = tree.addPath(netzach, yesod, MELKITZEDEKI_PATHS.NETZACH_YESOD);
|
|
5531
|
-
const path29 = tree.addPath(netzach, malkuth, MELKITZEDEKI_PATHS.NETZACH_MALKUTH);
|
|
5532
|
-
const path30 = tree.addPath(hod, yesod, MELKITZEDEKI_PATHS.HOD_YESOD);
|
|
5533
|
-
const path31 = tree.addPath(hod, malkuth, MELKITZEDEKI_PATHS.HOD_MALKUTH);
|
|
5534
|
-
const path32 = tree.addPath(yesod, malkuth, MELKITZEDEKI_PATHS.YESOD_MALKUTH);
|
|
5535
|
-
tree.addLetters(path11, [
|
|
5536
|
-
{ letter: LATIN_LETTERS.A, type: "latinLetter" },
|
|
5537
|
-
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ALEPH }
|
|
5538
|
-
]);
|
|
5539
|
-
tree.addLetters(path12, [
|
|
5540
|
-
{ letter: LATIN_LETTERS.B, type: "latinLetter" },
|
|
5541
|
-
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.BETH }
|
|
5542
|
-
]);
|
|
5543
|
-
tree.addLetters(path13, [
|
|
5544
|
-
{ letter: LATIN_LETTERS.G, type: "latinLetter" },
|
|
5545
|
-
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.GIMEL }
|
|
5546
|
-
]);
|
|
5547
|
-
tree.addLetters(path14, [
|
|
5548
|
-
{ letter: LATIN_LETTERS.D, type: "latinLetter" },
|
|
5549
|
-
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.DALET }
|
|
5550
|
-
]);
|
|
5551
|
-
tree.addLetters(path15, [
|
|
5552
|
-
{ letter: LATIN_LETTERS.E, type: "latinLetter" },
|
|
5553
|
-
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HE }
|
|
5554
|
-
]);
|
|
5555
|
-
tree.addLetters(path16, [
|
|
5556
|
-
{ letter: LATIN_LETTERS.V, type: "latinLetter" },
|
|
5557
|
-
{ letter: LATIN_LETTERS.U, type: "latinLetter" },
|
|
5558
|
-
{ letter: LATIN_LETTERS.W, type: "latinLetter" },
|
|
5559
|
-
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
5560
|
-
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.VAV }
|
|
5561
|
-
]);
|
|
5562
|
-
tree.addLetters(path17, [
|
|
5563
|
-
{ letter: LATIN_LETTERS.Z, type: "latinLetter" },
|
|
5564
|
-
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
5565
|
-
]);
|
|
5566
|
-
tree.addLetters(path18, [
|
|
5567
|
-
{ letter: LATIN_LETTERS.H, type: "latinLetter" },
|
|
5568
|
-
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HET }
|
|
5569
|
-
]);
|
|
5570
|
-
tree.addLetters(path19, [
|
|
5571
|
-
{ letter: LATIN_LETTERS.T, type: "latinLetter" },
|
|
5572
|
-
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TET }
|
|
5573
|
-
]);
|
|
5574
|
-
tree.addLetters(path20, [
|
|
5575
|
-
{ letter: LATIN_LETTERS.I, type: "latinLetter" },
|
|
5576
|
-
{ letter: LATIN_LETTERS.J, type: "latinLetter" },
|
|
5577
|
-
{ letter: LATIN_LETTERS.Y, type: "latinLetter" },
|
|
5578
|
-
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.YOD }
|
|
5579
|
-
]);
|
|
5580
|
-
tree.addLetters(path21, [
|
|
5581
|
-
{ letter: LATIN_LETTERS.C, type: "latinLetter" },
|
|
5582
|
-
{ letter: HEBREW_LETTERS.KAPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.KAPH }
|
|
5583
|
-
]);
|
|
5584
|
-
tree.addLetters(path22, [
|
|
5585
|
-
{ letter: LATIN_LETTERS.L, type: "latinLetter" },
|
|
5586
|
-
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.LAMED }
|
|
5587
|
-
]);
|
|
5588
|
-
tree.addLetters(path23, [
|
|
5589
|
-
{ letter: LATIN_LETTERS.M, type: "latinLetter" },
|
|
5590
|
-
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.MEM }
|
|
5591
|
-
]);
|
|
5592
|
-
tree.addLetters(path24, [
|
|
5593
|
-
{ letter: LATIN_LETTERS.N, type: "latinLetter" },
|
|
5594
|
-
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.NUN }
|
|
5595
|
-
]);
|
|
5596
|
-
tree.addLetters(path25, [
|
|
5597
|
-
{ letter: LATIN_LETTERS.S, type: "latinLetter" },
|
|
5598
|
-
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" },
|
|
5599
|
-
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
5600
|
-
]);
|
|
5601
|
-
tree.addLetters(path26, [
|
|
5602
|
-
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
5603
|
-
{ letter: HEBREW_LETTERS.AYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.AYIN }
|
|
5604
|
-
]);
|
|
5605
|
-
tree.addLetters(path27, [
|
|
5606
|
-
{ letter: LATIN_LETTERS.P, type: "latinLetter" },
|
|
5607
|
-
{ letter: LATIN_LETTERS.F, type: "latinLetter" },
|
|
5608
|
-
{ letter: LATIN_LETTERS.PH, type: "latinLetter" },
|
|
5609
|
-
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.PE }
|
|
5610
|
-
]);
|
|
5611
|
-
tree.addLetters(path28, [
|
|
5612
|
-
{ letter: LATIN_LETTERS.TS, type: "latinLetter" },
|
|
5613
|
-
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" },
|
|
5614
|
-
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TSADI }
|
|
5615
|
-
]);
|
|
5616
|
-
tree.addLetters(path29, [
|
|
5617
|
-
{ letter: LATIN_LETTERS.K, type: "latinLetter" },
|
|
5618
|
-
{ letter: LATIN_LETTERS.Q, type: "latinLetter" },
|
|
5619
|
-
{ letter: LATIN_LETTERS.KH, type: "latinLetter" },
|
|
5620
|
-
{ letter: HEBREW_LETTERS.QOPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.QOPH }
|
|
5621
|
-
]);
|
|
5622
|
-
tree.addLetters(path30, [
|
|
5623
|
-
{ letter: LATIN_LETTERS.R, type: "latinLetter" },
|
|
5624
|
-
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.RESH }
|
|
5625
|
-
]);
|
|
5626
|
-
tree.addLetters(path31, [
|
|
5627
|
-
{ letter: LATIN_LETTERS.CH, type: "latinLetter" },
|
|
5628
|
-
{ letter: LATIN_LETTERS.SH, type: "latinLetter" },
|
|
5629
|
-
{ letter: LATIN_LETTERS.X, type: "latinLetter" },
|
|
5630
|
-
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SHIN }
|
|
5631
|
-
]);
|
|
5632
|
-
tree.addLetters(path32, [
|
|
5633
|
-
{ letter: LATIN_LETTERS.TH, type: "latinLetter" },
|
|
5634
|
-
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TAV }
|
|
5635
|
-
]);
|
|
5636
5838
|
return tree;
|
|
5637
5839
|
}
|
|
5638
5840
|
function unloadHermeticQabalah(tree) {
|
|
5639
5841
|
const spheres = Object.values(SPHERES);
|
|
5640
5842
|
for (let i = 0; i < spheres.length; i++) {
|
|
5641
|
-
tree.removeNode(spheres[i]);
|
|
5843
|
+
tree.removeNode(id("sphere" /* SPHERE */, spheres[i]));
|
|
5642
5844
|
}
|
|
5643
5845
|
const paths = Object.values(MELKITZEDEKI_PATHS);
|
|
5644
5846
|
for (let i = 0; i < paths.length; i++) {
|
|
5645
|
-
tree.removeNode(
|
|
5847
|
+
tree.removeNode(id("path" /* PATH */, paths[i]));
|
|
5646
5848
|
}
|
|
5647
5849
|
}
|
|
5648
5850
|
function loadColors(tree) {
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5851
|
+
const sphereColors = [
|
|
5852
|
+
{ sphere: SPHERES.KETHER, worldColors: [
|
|
5853
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "splendor", data: {
|
|
5854
|
+
colorDescription: "Splendor",
|
|
5855
|
+
colorNames: ["transparent"],
|
|
5856
|
+
colorHexCodes: ["#ffffff"]
|
|
5857
|
+
} } },
|
|
5858
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "white-splendor", data: {
|
|
5859
|
+
colorDescription: "White splendor, pure",
|
|
5860
|
+
colorNames: ["white"],
|
|
5861
|
+
colorHexCodes: ["#ffffff"]
|
|
5862
|
+
} } },
|
|
5863
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "white-splendor", data: {
|
|
5864
|
+
colorDescription: "White splendor, pure",
|
|
5865
|
+
colorNames: ["white"],
|
|
5866
|
+
colorHexCodes: ["#ffffff"]
|
|
5867
|
+
} } },
|
|
5868
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "white-speckled-gold", data: {
|
|
5869
|
+
colorDescription: "White speckled with gold",
|
|
5870
|
+
colorNames: ["white", "gold"],
|
|
5871
|
+
colorHexCodes: ["#ffffff", "#FFD700"]
|
|
5872
|
+
} } }
|
|
5873
|
+
] },
|
|
5874
|
+
{ sphere: SPHERES.CHOKHMAH, worldColors: [
|
|
5875
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "blue", data: {
|
|
5876
|
+
colorDescription: "Smooth blue, pure",
|
|
5877
|
+
colorNames: COLORS_DATA.BLUE.colorNames,
|
|
5878
|
+
colorHexCodes: COLORS_DATA.BLUE.colorHexCodes
|
|
5879
|
+
} } },
|
|
5880
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "grey", data: {
|
|
5881
|
+
colorDescription: "Grey",
|
|
5882
|
+
colorNames: ["grey"],
|
|
5883
|
+
colorHexCodes: ["#808080"]
|
|
5884
|
+
} } },
|
|
5885
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "grey-iridescent", data: {
|
|
5886
|
+
colorDescription: "Pearl grey iridescent",
|
|
5887
|
+
colorNames: ["grey", "iridescent"],
|
|
5888
|
+
colorHexCodes: ["#808080", "#EDBBE7"]
|
|
5889
|
+
} } },
|
|
5890
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "white-speckled-red-blue-yellow", data: {
|
|
5891
|
+
colorDescription: "White speckled with red, blue and yellow",
|
|
5892
|
+
colorNames: ["white", ...COLORS_DATA.RED.colorNames, ...COLORS_DATA.BLUE.colorNames, ...COLORS_DATA.YELLOW.colorNames],
|
|
5893
|
+
colorHexCodes: ["#FFFFFF", ...COLORS_DATA.RED.colorHexCodes, ...COLORS_DATA.BLUE.colorHexCodes, ...COLORS_DATA.YELLOW.colorHexCodes]
|
|
5894
|
+
} } }
|
|
5895
|
+
] },
|
|
5896
|
+
{ sphere: SPHERES.BINAH, worldColors: [
|
|
5897
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "crimson", data: {
|
|
5898
|
+
colorDescription: "Crimson",
|
|
5899
|
+
colorNames: ["crimson"],
|
|
5900
|
+
colorHexCodes: ["#DC143C"]
|
|
5901
|
+
} } },
|
|
5902
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "black", data: {
|
|
5903
|
+
colorDescription: "Black",
|
|
5904
|
+
colorNames: ["black"],
|
|
5905
|
+
colorHexCodes: ["#000000"]
|
|
5906
|
+
} } },
|
|
5907
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "dark-brown", data: {
|
|
5908
|
+
colorDescription: "Dark brown",
|
|
5909
|
+
colorNames: ["dark-brown"],
|
|
5910
|
+
colorHexCodes: ["#422E29"]
|
|
5911
|
+
} } },
|
|
5912
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "grey-speckled-pink", data: {
|
|
5913
|
+
colorDescription: "Grey speckled with pink",
|
|
5914
|
+
colorNames: ["grey", "pink"],
|
|
5915
|
+
colorHexCodes: ["#808080", "#FFC0CB"]
|
|
5916
|
+
} } }
|
|
5917
|
+
] },
|
|
5918
|
+
{ sphere: SPHERES.DAATH, worldColors: [
|
|
5919
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "lavender", data: {
|
|
5920
|
+
colorDescription: "Lavender",
|
|
5921
|
+
colorNames: ["lavender"],
|
|
5922
|
+
colorHexCodes: ["#E6E6FA"]
|
|
5923
|
+
} } },
|
|
5924
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "dark-grey", data: {
|
|
5925
|
+
colorDescription: "Dark grey",
|
|
5926
|
+
colorNames: ["dark-grey"],
|
|
5927
|
+
colorHexCodes: ["#808080"]
|
|
5928
|
+
} } },
|
|
5929
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "pure-violet", data: {
|
|
5930
|
+
colorDescription: "Pure violet",
|
|
5931
|
+
colorNames: ["violet"],
|
|
5932
|
+
colorHexCodes: ["#8F00FF"]
|
|
5933
|
+
} } },
|
|
5934
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "grey-speckled-gold", data: {
|
|
5935
|
+
colorDescription: "Grey speckled with gold",
|
|
5936
|
+
colorNames: ["grey", "gold"],
|
|
5937
|
+
colorHexCodes: ["#808080", "#FFD700"]
|
|
5938
|
+
} } }
|
|
5939
|
+
] },
|
|
5940
|
+
{ sphere: SPHERES.CHESED, worldColors: [
|
|
5941
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "intense-violet", data: {
|
|
5942
|
+
colorDescription: "Intense violet",
|
|
5943
|
+
colorNames: ["intense-violet"],
|
|
5944
|
+
colorHexCodes: ["#9400D3"]
|
|
5945
|
+
} } },
|
|
5946
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "blue", data: {
|
|
5947
|
+
colorDescription: "Blue",
|
|
5948
|
+
colorNames: ["blue"],
|
|
5949
|
+
colorHexCodes: ["#0000FF"]
|
|
5950
|
+
} } },
|
|
5951
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "intense-purple", data: {
|
|
5952
|
+
colorDescription: "Intense purple",
|
|
5953
|
+
colorNames: ["intense-purple"],
|
|
5954
|
+
colorHexCodes: ["#800080"]
|
|
5955
|
+
} } },
|
|
5956
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "intense-blue-speckled-yellow", data: {
|
|
5957
|
+
colorDescription: "Intense blue speckled with yellow",
|
|
5958
|
+
colorNames: ["intense-blue", ...COLORS_DATA.YELLOW.colorNames],
|
|
5959
|
+
colorHexCodes: ["#0000FF", ...COLORS_DATA.YELLOW.colorHexCodes]
|
|
5960
|
+
} } }
|
|
5961
|
+
] },
|
|
5962
|
+
{ sphere: SPHERES.GEBURAH, worldColors: [
|
|
5963
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: COLORS.ORANGE, data: COLORS_DATA.ORANGE } },
|
|
5964
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "scarlet-red", data: {
|
|
5965
|
+
colorDescription: "Scarlet red",
|
|
5966
|
+
colorNames: ["scarlet-red"],
|
|
5967
|
+
colorHexCodes: ["#FF2400"]
|
|
5968
|
+
} } },
|
|
5969
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "bright-scarlet", data: {
|
|
5970
|
+
colorDescription: "Bright scarlet",
|
|
5971
|
+
colorNames: ["bright-scarlet"],
|
|
5972
|
+
colorHexCodes: ["#FF2400"]
|
|
5973
|
+
} } },
|
|
5974
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "red-speckled-black", data: {
|
|
5975
|
+
colorDescription: "Red speckled with black",
|
|
5976
|
+
colorNames: [...COLORS_DATA.RED.colorNames, "black"],
|
|
5977
|
+
colorHexCodes: [...COLORS_DATA.RED.colorHexCodes, "#000000"]
|
|
5978
|
+
} } }
|
|
5979
|
+
] },
|
|
5980
|
+
{ sphere: SPHERES.TIPHARETH, worldColors: [
|
|
5981
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "gold-yellow", data: {
|
|
5982
|
+
colorDescription: "Gold yellow",
|
|
5983
|
+
colorNames: ["gold-yellow"],
|
|
5984
|
+
colorHexCodes: ["#FFD700"]
|
|
5985
|
+
} } },
|
|
5986
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "rose-pink", data: {
|
|
5987
|
+
colorDescription: "Rose pink",
|
|
5988
|
+
colorNames: ["rose-pink"],
|
|
5989
|
+
colorHexCodes: ["#FFC0CB"]
|
|
5990
|
+
} } },
|
|
5991
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "salmon-pink-reddish-carmine-amber-brown-mixed", data: {
|
|
5992
|
+
colorDescription: "Salmon pink, reddish carmine, amber, brown, mixed",
|
|
5993
|
+
colorNames: ["salmon-pink", "reddish-carmine", "amber", "brown", "mixed"],
|
|
5994
|
+
colorHexCodes: ["#FF9999", "#960018", "#996515"]
|
|
5995
|
+
} } },
|
|
5996
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "gold-speckled-green", data: {
|
|
5997
|
+
colorDescription: "Gold speckled with green",
|
|
5998
|
+
colorNames: ["gold", "green"],
|
|
5999
|
+
colorHexCodes: ["#FFD700", "#BDB76B"]
|
|
6000
|
+
} } }
|
|
6001
|
+
] },
|
|
6002
|
+
{ sphere: SPHERES.NETZACH, worldColors: [
|
|
6003
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "amber", data: {
|
|
6004
|
+
colorDescription: "Amber",
|
|
6005
|
+
colorNames: ["amber"],
|
|
6006
|
+
colorHexCodes: ["#FFBF00"]
|
|
6007
|
+
} } },
|
|
6008
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "emerald-green", data: {
|
|
6009
|
+
colorDescription: "Emerald green",
|
|
6010
|
+
colorNames: ["emerald-green"],
|
|
6011
|
+
colorHexCodes: ["#50C878"]
|
|
6012
|
+
} } },
|
|
6013
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "bright-yellowish-green", data: {
|
|
6014
|
+
colorDescription: "Bright yellowish green",
|
|
6015
|
+
colorNames: ["bright-yellowish-green"],
|
|
6016
|
+
colorHexCodes: ["#98FB98"]
|
|
6017
|
+
} } },
|
|
6018
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "olive-green-speckled-gold", data: {
|
|
6019
|
+
colorDescription: "Olive green speckled with gold",
|
|
6020
|
+
colorNames: ["olive-green", "gold"],
|
|
6021
|
+
colorHexCodes: ["#BAB86C", "#FFD700"]
|
|
6022
|
+
} } }
|
|
6023
|
+
] },
|
|
6024
|
+
{ sphere: SPHERES.HOD, worldColors: [
|
|
6025
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "violet-purple", data: {
|
|
6026
|
+
colorDescription: "Violet-purple",
|
|
6027
|
+
colorNames: ["violet-purple"],
|
|
6028
|
+
colorHexCodes: ["#9B30FF"]
|
|
6029
|
+
} } },
|
|
6030
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "orange", data: {
|
|
6031
|
+
colorDescription: "Orange",
|
|
6032
|
+
colorNames: ["orange"],
|
|
6033
|
+
colorHexCodes: ["#FFA500"]
|
|
6034
|
+
} } },
|
|
6035
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "red-purple", data: {
|
|
6036
|
+
colorDescription: "Red-purple",
|
|
6037
|
+
colorNames: ["red-purple"],
|
|
6038
|
+
colorHexCodes: ["#C71585"]
|
|
6039
|
+
} } },
|
|
6040
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "yellowish-black-speckled-with-white", data: {
|
|
6041
|
+
colorDescription: "Yellowish black speckled with white",
|
|
6042
|
+
colorNames: ["yellowish-black-speckled-with-white"],
|
|
6043
|
+
colorHexCodes: ["#2B2B1B", "#FFFFFF"]
|
|
6044
|
+
} } }
|
|
6045
|
+
] },
|
|
6046
|
+
{ sphere: SPHERES.YESOD, worldColors: [
|
|
6047
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: "indigo", data: {
|
|
6048
|
+
colorDescription: "Indigo",
|
|
6049
|
+
colorNames: ["indigo"],
|
|
6050
|
+
colorHexCodes: ["#4B0082"]
|
|
6051
|
+
} } },
|
|
6052
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: COLORS.VIOLET, data: COLORS_DATA.VIOLET } },
|
|
6053
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "purple", data: {
|
|
6054
|
+
colorDescription: "Purple",
|
|
6055
|
+
colorNames: ["purple"],
|
|
6056
|
+
colorHexCodes: ["#800080"]
|
|
6057
|
+
} } },
|
|
6058
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "citrine-speckled-blue", data: {
|
|
6059
|
+
colorDescription: "Citrine speckled with blue",
|
|
6060
|
+
colorNames: ["citrine-speckled-blue"],
|
|
6061
|
+
colorHexCodes: ["#E4D00A", "#1E90FF"]
|
|
6062
|
+
} } }
|
|
6063
|
+
] },
|
|
6064
|
+
{ sphere: SPHERES.MALKUTH, worldColors: [
|
|
6065
|
+
{ world: FOUR_WORLDS.ATZILUTH, color: { id: COLORS.YELLOW, data: COLORS_DATA.YELLOW } },
|
|
6066
|
+
{ world: FOUR_WORLDS.BRIAH, color: { id: "brown", data: {
|
|
6067
|
+
colorDescription: "Made up of the colors of earth, which is created from the 4 elements. Brown can be used to represent it, but, usually it is represented in a pizza-like pattern, starting with Olive on top, and going clockwise with Yellow, Black and Red, all with slightly less saturation.",
|
|
6068
|
+
colorNames: ["brown", "olive", "yellow", "black", "red"],
|
|
6069
|
+
colorHexCodes: ["#422E29", "#BAB86C", "#FFF659", "#000000", "#FF5454"]
|
|
6070
|
+
} } },
|
|
6071
|
+
{ world: FOUR_WORLDS.YETZIRAH, color: { id: "olive-green", data: {
|
|
6072
|
+
colorDescription: "Olive green",
|
|
6073
|
+
colorNames: ["olive-green"],
|
|
6074
|
+
colorHexCodes: ["#BAB86C"]
|
|
6075
|
+
} } },
|
|
6076
|
+
{ world: FOUR_WORLDS.ASSIAH, color: { id: "black", data: {
|
|
6077
|
+
colorDescription: "Black",
|
|
6078
|
+
colorNames: ["black"],
|
|
6079
|
+
colorHexCodes: ["#000000"]
|
|
6080
|
+
} } }
|
|
6081
|
+
] }
|
|
6082
|
+
];
|
|
6083
|
+
for (const sphereColor of sphereColors) {
|
|
6084
|
+
const sphereId = id("sphere" /* SPHERE */, sphereColor.sphere);
|
|
6085
|
+
for (const worldColor of sphereColor.worldColors) {
|
|
6086
|
+
const colorId = tree.upsertNode(new BaseNode({
|
|
6087
|
+
id: id("color" /* COLOR */, worldColor.color.id),
|
|
6088
|
+
type: "color" /* COLOR */,
|
|
6089
|
+
data: worldColor.color.data
|
|
6090
|
+
}));
|
|
6091
|
+
tree.link(sphereId, colorId);
|
|
6092
|
+
tree.link(colorId, id("world" /* WORLD */, worldColor.world));
|
|
6093
|
+
}
|
|
6094
|
+
}
|
|
5849
6095
|
return tree;
|
|
5850
6096
|
}
|
|
5851
6097
|
function unloadColors(tree) {
|
|
5852
|
-
const
|
|
5853
|
-
for (let i = 0; i <
|
|
5854
|
-
tree.removeNode(
|
|
6098
|
+
const sphereColors = Object.values(SPHERES).flatMap((sphere) => tree.related(id("sphere" /* SPHERE */, sphere), "color" /* COLOR */).map((color) => color.id));
|
|
6099
|
+
for (let i = 0; i < sphereColors.length; i++) {
|
|
6100
|
+
tree.removeNode(sphereColors[i]);
|
|
5855
6101
|
}
|
|
5856
6102
|
}
|
|
5857
6103
|
function loadMusicalNotes(tree) {
|
|
5858
|
-
|
|
5859
|
-
note: "The Sound of the
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
note: "
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
note: "Do",
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
note: "Sol",
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
6104
|
+
const musicalNotes = [
|
|
6105
|
+
{ sphere: SPHERES.KETHER, note: "The Sound of the Spheres", noteData: {
|
|
6106
|
+
note: "The Sound of the Spheres",
|
|
6107
|
+
noteDescription: "The sound of the spheres"
|
|
6108
|
+
} },
|
|
6109
|
+
{ sphere: SPHERES.CHOKHMAH, note: "Mantras", noteData: {
|
|
6110
|
+
note: "Mantra",
|
|
6111
|
+
noteDescription: "All sounds considered devotional mantras"
|
|
6112
|
+
} },
|
|
6113
|
+
{ sphere: SPHERES.BINAH, note: MUSICAL_NOTES.SI, noteData: MUSICAL_NOTES_DATA.SI },
|
|
6114
|
+
{ sphere: SPHERES.CHESED, note: MUSICAL_NOTES.LA, noteData: MUSICAL_NOTES_DATA.LA },
|
|
6115
|
+
{ sphere: SPHERES.GEBURAH, note: "Do-treble", noteData: {
|
|
6116
|
+
note: "Do",
|
|
6117
|
+
noteDescription: "C (Do), in the treble clef"
|
|
6118
|
+
} },
|
|
6119
|
+
{ sphere: SPHERES.TIPHARETH, note: "Sol-treble", noteData: {
|
|
6120
|
+
note: "Sol",
|
|
6121
|
+
noteDescription: "G (Sol), in the treble clef"
|
|
6122
|
+
} },
|
|
6123
|
+
{ sphere: SPHERES.NETZACH, note: MUSICAL_NOTES.DO, noteData: MUSICAL_NOTES_DATA.DO },
|
|
6124
|
+
{ sphere: SPHERES.HOD, note: MUSICAL_NOTES.MI, noteData: MUSICAL_NOTES_DATA.MI },
|
|
6125
|
+
{ sphere: SPHERES.YESOD, note: MUSICAL_NOTES.MI, noteData: MUSICAL_NOTES_DATA.MI },
|
|
6126
|
+
{ sphere: SPHERES.MALKUTH, note: MUSICAL_NOTES.FA, noteData: MUSICAL_NOTES_DATA.FA }
|
|
6127
|
+
];
|
|
6128
|
+
for (const musicalNote of musicalNotes) {
|
|
6129
|
+
const sphereId = id("sphere" /* SPHERE */, musicalNote.sphere);
|
|
6130
|
+
const noteId = tree.upsertNode(new BaseNode({
|
|
6131
|
+
id: id("musicalNote" /* MUSICAL_NOTE */, musicalNote.note),
|
|
6132
|
+
type: "musicalNote" /* MUSICAL_NOTE */,
|
|
6133
|
+
data: musicalNote.noteData
|
|
6134
|
+
}));
|
|
6135
|
+
tree.link(sphereId, noteId);
|
|
6136
|
+
}
|
|
5880
6137
|
return tree;
|
|
5881
6138
|
}
|
|
5882
6139
|
function unloadMusicalNotes(tree) {
|
|
5883
|
-
const
|
|
5884
|
-
for (let i = 0; i <
|
|
5885
|
-
tree.removeNode(
|
|
6140
|
+
const sphereNotes = Object.values(SPHERES).flatMap((sphere) => tree.related(id("sphere" /* SPHERE */, sphere), "musicalNote" /* MUSICAL_NOTE */).map((color) => color.id));
|
|
6141
|
+
for (let i = 0; i < sphereNotes.length; i++) {
|
|
6142
|
+
tree.removeNode(sphereNotes[i]);
|
|
5886
6143
|
}
|
|
5887
6144
|
}
|
|
5888
6145
|
var linkColorsAndSounds = (t) => {
|
|
5889
6146
|
return t;
|
|
5890
6147
|
};
|
|
5891
6148
|
var loadWesternAstrology = (tree) => {
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
6149
|
+
const planets = [
|
|
6150
|
+
{ sphere: SPHERES.KETHER, planet: PLANETS.NEPTUNE },
|
|
6151
|
+
{ sphere: SPHERES.CHOKHMAH, planet: PLANETS.URANUS },
|
|
6152
|
+
{ sphere: SPHERES.BINAH, planet: PLANETS.SATURN },
|
|
6153
|
+
{ sphere: SPHERES.DAATH, planet: PLANETS.PLUTO },
|
|
6154
|
+
{ sphere: SPHERES.CHESED, planet: PLANETS.JUPITER },
|
|
6155
|
+
{ sphere: SPHERES.GEBURAH, planet: PLANETS.MARS },
|
|
6156
|
+
{ sphere: SPHERES.TIPHARETH, planet: PLANETS.SUN },
|
|
6157
|
+
{ sphere: SPHERES.NETZACH, planet: PLANETS.VENUS },
|
|
6158
|
+
{ sphere: SPHERES.HOD, planet: PLANETS.MERCURY },
|
|
6159
|
+
{ sphere: SPHERES.YESOD, planet: PLANETS.MOON },
|
|
6160
|
+
{ sphere: SPHERES.MALKUTH, planet: PLANETS.EARTH }
|
|
6161
|
+
];
|
|
6162
|
+
for (const planet of planets) {
|
|
6163
|
+
const sphereId = id("sphere" /* SPHERE */, planet.sphere);
|
|
6164
|
+
const planetId = tree.upsertNode(new BaseNode({
|
|
6165
|
+
id: id("planet" /* PLANET */, planet.planet),
|
|
6166
|
+
type: "planet" /* PLANET */
|
|
6167
|
+
}));
|
|
6168
|
+
tree.link(sphereId, planetId);
|
|
6169
|
+
}
|
|
5903
6170
|
return tree;
|
|
5904
6171
|
};
|
|
5905
6172
|
var unloadWesternAstrology = (tree) => {
|
|
5906
|
-
const planets = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "planet").map((planet) => planet.id));
|
|
6173
|
+
const planets = Object.values(SPHERES).flatMap((sphere) => tree.related(id("sphere" /* SPHERE */, sphere), "planet" /* PLANET */).map((planet) => planet.id));
|
|
5907
6174
|
for (let i = 0; i < planets.length; i++) {
|
|
5908
6175
|
tree.removeNode(planets[i]);
|
|
5909
6176
|
}
|
|
@@ -5948,770 +6215,915 @@ __export(kaabalah_exports, {
|
|
|
5948
6215
|
});
|
|
5949
6216
|
var SYSTEM2 = "kaabalah";
|
|
5950
6217
|
var loadKaabalah = (tree) => {
|
|
5951
|
-
const
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
6218
|
+
const spheres = [
|
|
6219
|
+
{ sphere: SPHERES.KETHER, data: SPHERES_DATA.KETHER, relatedNumber: 1 },
|
|
6220
|
+
{ sphere: SPHERES.CHOKHMAH, data: SPHERES_DATA.CHOKHMAH, relatedNumber: 2 },
|
|
6221
|
+
{ sphere: SPHERES.BINAH, data: SPHERES_DATA.BINAH, relatedNumber: 3 },
|
|
6222
|
+
{ sphere: SPHERES.DAATH, data: SPHERES_DATA.DAATH, relatedNumber: 11 },
|
|
6223
|
+
{ sphere: SPHERES.CHESED, data: SPHERES_DATA.CHESED, relatedNumber: 4 },
|
|
6224
|
+
{ sphere: SPHERES.GEBURAH, data: SPHERES_DATA.GEBURAH, relatedNumber: 5 },
|
|
6225
|
+
{ sphere: SPHERES.TIPHARETH, data: SPHERES_DATA.TIPHARETH, relatedNumber: 6 },
|
|
6226
|
+
{ sphere: SPHERES.NETZACH, data: SPHERES_DATA.NETZACH, relatedNumber: 7 },
|
|
6227
|
+
{ sphere: SPHERES.HOD, data: SPHERES_DATA.HOD, relatedNumber: 8 },
|
|
6228
|
+
{ sphere: SPHERES.YESOD, data: SPHERES_DATA.YESOD, relatedNumber: 9 },
|
|
6229
|
+
{ sphere: SPHERES.MALKUTH, data: SPHERES_DATA.MALKUTH, relatedNumber: 10 }
|
|
6230
|
+
];
|
|
6231
|
+
const sphereIds = {};
|
|
6232
|
+
for (const sphere of spheres) {
|
|
6233
|
+
sphereIds[sphere.sphere] = tree.addSphere(sphere);
|
|
6234
|
+
}
|
|
6235
|
+
const worldsWithElements = [
|
|
6236
|
+
{ id: FOUR_WORLDS.ATZILUTH, data: FOUR_WORLDS_DATA.ATZILUTH, element: WESTERN_ELEMENTS.FIRE },
|
|
6237
|
+
{ id: FOUR_WORLDS.BRIAH, data: FOUR_WORLDS_DATA.BRIAH, element: WESTERN_ELEMENTS.WATER },
|
|
6238
|
+
{ id: FOUR_WORLDS.YETZIRAH, data: FOUR_WORLDS_DATA.YETZIRAH, element: WESTERN_ELEMENTS.AIR },
|
|
6239
|
+
{ id: FOUR_WORLDS.ASSIAH, data: FOUR_WORLDS_DATA.ASSIAH, element: WESTERN_ELEMENTS.EARTH }
|
|
6240
|
+
];
|
|
6241
|
+
for (const world of worldsWithElements) {
|
|
6242
|
+
const worldId = tree.upsertNode(new BaseNode({
|
|
6243
|
+
id: world.id,
|
|
6244
|
+
type: "world" /* WORLD */,
|
|
6245
|
+
data: world.data
|
|
6246
|
+
}));
|
|
6247
|
+
const elementId = tree.upsertNode(new BaseNode({
|
|
6248
|
+
id: world.element,
|
|
6249
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
6250
|
+
}));
|
|
6251
|
+
tree.link(worldId, elementId);
|
|
6252
|
+
}
|
|
6253
|
+
const paths = [
|
|
6254
|
+
{
|
|
6255
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
6256
|
+
rightSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
6257
|
+
relatedNumber: MELKITZEDEKI_PATHS.KETHER_CHOKHMAH,
|
|
6258
|
+
data: {
|
|
6259
|
+
meaning: "Crown's wisdom"
|
|
6260
|
+
},
|
|
6261
|
+
letters: [
|
|
6262
|
+
{ letter: LATIN_LETTERS.A, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.A },
|
|
6263
|
+
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.ALEPH }
|
|
6264
|
+
]
|
|
6265
|
+
},
|
|
6266
|
+
{
|
|
6267
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
6268
|
+
rightSphere: sphereIds[SPHERES.BINAH],
|
|
6269
|
+
relatedNumber: MELKITZEDEKI_PATHS.KETHER_BINAH,
|
|
6270
|
+
data: {
|
|
6271
|
+
meaning: "Transparency's intelligence"
|
|
6272
|
+
},
|
|
6273
|
+
letters: [
|
|
6274
|
+
{ letter: LATIN_LETTERS.B, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.B },
|
|
6275
|
+
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.BETH }
|
|
6276
|
+
]
|
|
6277
|
+
},
|
|
6278
|
+
{
|
|
6279
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
6280
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6281
|
+
relatedNumber: MELKITZEDEKI_PATHS.KETHER_TIPHARETH,
|
|
6282
|
+
data: {
|
|
6283
|
+
meaning: "Great Ark Tekton (architect)"
|
|
6284
|
+
},
|
|
6285
|
+
letters: [
|
|
6286
|
+
{ letter: LATIN_LETTERS.G, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.G },
|
|
6287
|
+
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.GIMEL }
|
|
6288
|
+
]
|
|
6289
|
+
},
|
|
6290
|
+
{
|
|
6291
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
6292
|
+
rightSphere: sphereIds[SPHERES.BINAH],
|
|
6293
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHOKHMAH_BINAH,
|
|
6294
|
+
data: {
|
|
6295
|
+
meaning: "Light's wisdom that becomes sound"
|
|
6296
|
+
},
|
|
6297
|
+
letters: [
|
|
6298
|
+
{ letter: LATIN_LETTERS.D, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.D },
|
|
6299
|
+
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.DALET }
|
|
6300
|
+
]
|
|
5968
6301
|
},
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
6302
|
+
{
|
|
6303
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
6304
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6305
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHOKHMAH_TIPHARETH,
|
|
6306
|
+
data: {
|
|
6307
|
+
meaning: "Light reaching equilibrium"
|
|
6308
|
+
},
|
|
6309
|
+
letters: [
|
|
6310
|
+
{ letter: LATIN_LETTERS.E, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.E },
|
|
6311
|
+
{ letter: LATIN_LETTERS.\u00C3, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.\u00C3 },
|
|
6312
|
+
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.HE }
|
|
6313
|
+
]
|
|
6314
|
+
},
|
|
6315
|
+
{
|
|
6316
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
6317
|
+
rightSphere: sphereIds[SPHERES.CHESED],
|
|
6318
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHOKHMAH_CHESED,
|
|
6319
|
+
data: {
|
|
6320
|
+
meaning: "Expansive light"
|
|
6321
|
+
},
|
|
6322
|
+
letters: [
|
|
6323
|
+
{ letter: LATIN_LETTERS.V, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.V },
|
|
6324
|
+
{ letter: LATIN_LETTERS.U, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.U },
|
|
6325
|
+
{ letter: LATIN_LETTERS.W, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.W },
|
|
6326
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.O },
|
|
6327
|
+
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.VAV }
|
|
6328
|
+
]
|
|
6329
|
+
},
|
|
6330
|
+
{
|
|
6331
|
+
leftSphere: sphereIds[SPHERES.BINAH],
|
|
6332
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6333
|
+
relatedNumber: MELKITZEDEKI_PATHS.BINAH_TIPHARETH,
|
|
6334
|
+
data: {
|
|
6335
|
+
meaning: "Vibration that balances"
|
|
6336
|
+
},
|
|
6337
|
+
letters: [
|
|
6338
|
+
{ letter: LATIN_LETTERS.Z, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Z },
|
|
6339
|
+
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
6340
|
+
]
|
|
6341
|
+
},
|
|
6342
|
+
{
|
|
6343
|
+
leftSphere: sphereIds[SPHERES.BINAH],
|
|
6344
|
+
rightSphere: sphereIds[SPHERES.GEBURAH],
|
|
6345
|
+
relatedNumber: MELKITZEDEKI_PATHS.BINAH_GEBURAH,
|
|
6346
|
+
data: {
|
|
6347
|
+
meaning: "Vibration that becomes dual"
|
|
6348
|
+
},
|
|
6349
|
+
letters: [
|
|
6350
|
+
{ letter: LATIN_LETTERS.H, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.H },
|
|
6351
|
+
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.HET }
|
|
6352
|
+
]
|
|
5973
6353
|
},
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
6354
|
+
{
|
|
6355
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
6356
|
+
rightSphere: sphereIds[SPHERES.GEBURAH],
|
|
6357
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHESED_GEBURAH,
|
|
6358
|
+
data: {
|
|
6359
|
+
meaning: "Expansion towards duality"
|
|
6360
|
+
},
|
|
6361
|
+
letters: [
|
|
6362
|
+
{ letter: LATIN_LETTERS.T, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.T },
|
|
6363
|
+
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TET }
|
|
6364
|
+
]
|
|
6365
|
+
},
|
|
6366
|
+
{
|
|
6367
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
6368
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6369
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHESED_TIPHARETH,
|
|
6370
|
+
data: {
|
|
6371
|
+
meaning: "Expansion of equilibrium"
|
|
6372
|
+
},
|
|
6373
|
+
letters: [
|
|
6374
|
+
{ letter: LATIN_LETTERS.I, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.I },
|
|
6375
|
+
{ letter: LATIN_LETTERS.Y, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Y },
|
|
6376
|
+
{ letter: LATIN_LETTERS.J, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.J },
|
|
6377
|
+
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.YOD }
|
|
6378
|
+
]
|
|
6379
|
+
},
|
|
6380
|
+
{
|
|
6381
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
6382
|
+
rightSphere: sphereIds[SPHERES.NETZACH],
|
|
6383
|
+
relatedNumber: MELKITZEDEKI_PATHS.CHESED_NETZACH,
|
|
6384
|
+
data: {
|
|
6385
|
+
meaning: "Expansion of victory"
|
|
6386
|
+
},
|
|
6387
|
+
letters: [
|
|
6388
|
+
{ letter: LATIN_LETTERS.C, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.C },
|
|
6389
|
+
{ letter: HEBREW_LETTERS.KAPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.KAPH }
|
|
6390
|
+
]
|
|
6391
|
+
},
|
|
6392
|
+
{
|
|
6393
|
+
leftSphere: sphereIds[SPHERES.GEBURAH],
|
|
6394
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6395
|
+
relatedNumber: MELKITZEDEKI_PATHS.GEBURAH_TIPHARETH,
|
|
6396
|
+
data: {
|
|
6397
|
+
meaning: "Harmonizing duality"
|
|
6398
|
+
},
|
|
6399
|
+
letters: [
|
|
6400
|
+
{ letter: LATIN_LETTERS.L, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.L },
|
|
6401
|
+
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.LAMED }
|
|
6402
|
+
]
|
|
5978
6403
|
},
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
6404
|
+
{
|
|
6405
|
+
leftSphere: sphereIds[SPHERES.GEBURAH],
|
|
6406
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
6407
|
+
relatedNumber: MELKITZEDEKI_PATHS.GEBURAH_HOD,
|
|
6408
|
+
data: {
|
|
6409
|
+
meaning: "Duality from above with duality from below"
|
|
6410
|
+
},
|
|
6411
|
+
letters: [
|
|
6412
|
+
{ letter: LATIN_LETTERS.M, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.M },
|
|
6413
|
+
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.MEM }
|
|
6414
|
+
]
|
|
6415
|
+
},
|
|
6416
|
+
{
|
|
6417
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6418
|
+
rightSphere: sphereIds[SPHERES.NETZACH],
|
|
6419
|
+
relatedNumber: MELKITZEDEKI_PATHS.TIPHARETH_NETZACH,
|
|
6420
|
+
data: {
|
|
6421
|
+
meaning: "Illumination of victory"
|
|
6422
|
+
},
|
|
6423
|
+
letters: [
|
|
6424
|
+
{ letter: LATIN_LETTERS.N, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.N },
|
|
6425
|
+
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.NUN }
|
|
6426
|
+
]
|
|
6427
|
+
},
|
|
6428
|
+
{
|
|
6429
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6430
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
6431
|
+
relatedNumber: MELKITZEDEKI_PATHS.TIPHARETH_YESOD,
|
|
6432
|
+
data: {
|
|
6433
|
+
meaning: "Illumination of foundations (secrets)"
|
|
6434
|
+
},
|
|
6435
|
+
letters: [
|
|
6436
|
+
{ letter: LATIN_LETTERS.S, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.S },
|
|
6437
|
+
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.\u00C7 },
|
|
6438
|
+
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
6439
|
+
]
|
|
6440
|
+
},
|
|
6441
|
+
{
|
|
6442
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
6443
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
6444
|
+
relatedNumber: MELKITZEDEKI_PATHS.TIPHARETH_HOD,
|
|
6445
|
+
data: {
|
|
6446
|
+
meaning: "Illumination of reasons"
|
|
6447
|
+
},
|
|
6448
|
+
letters: [
|
|
6449
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.O },
|
|
6450
|
+
{ letter: HEBREW_LETTERS.AYIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.AYIN }
|
|
6451
|
+
]
|
|
6452
|
+
},
|
|
6453
|
+
{
|
|
6454
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
6455
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
6456
|
+
relatedNumber: MELKITZEDEKI_PATHS.NETZACH_HOD,
|
|
6457
|
+
data: {
|
|
6458
|
+
meaning: "Reason of emotions"
|
|
6459
|
+
},
|
|
6460
|
+
letters: [
|
|
6461
|
+
{ letter: LATIN_LETTERS.P, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.P },
|
|
6462
|
+
{ letter: LATIN_LETTERS.F, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.F },
|
|
6463
|
+
{ letter: LATIN_LETTERS.PH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.PH },
|
|
6464
|
+
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.PE }
|
|
6465
|
+
]
|
|
6466
|
+
},
|
|
6467
|
+
{
|
|
6468
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
6469
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
6470
|
+
relatedNumber: MELKITZEDEKI_PATHS.NETZACH_YESOD,
|
|
6471
|
+
data: {
|
|
6472
|
+
meaning: "Victory of inner emptiness"
|
|
6473
|
+
},
|
|
6474
|
+
letters: [
|
|
6475
|
+
{ letter: LATIN_LETTERS.TS, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TS },
|
|
6476
|
+
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TZ },
|
|
6477
|
+
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TSADI }
|
|
6478
|
+
]
|
|
6479
|
+
},
|
|
6480
|
+
{
|
|
6481
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
6482
|
+
rightSphere: sphereIds[SPHERES.MALKUTH],
|
|
6483
|
+
relatedNumber: MELKITZEDEKI_PATHS.NETZACH_MALKUTH,
|
|
6484
|
+
data: {
|
|
6485
|
+
meaning: "Victory over matter"
|
|
6486
|
+
},
|
|
6487
|
+
letters: [
|
|
6488
|
+
{ letter: LATIN_LETTERS.K, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.K },
|
|
6489
|
+
{ letter: LATIN_LETTERS.Q, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Q },
|
|
6490
|
+
{ letter: LATIN_LETTERS.KH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.KH },
|
|
6491
|
+
{ letter: HEBREW_LETTERS.QOPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.QOPH }
|
|
6492
|
+
]
|
|
6493
|
+
},
|
|
6494
|
+
{
|
|
6495
|
+
leftSphere: sphereIds[SPHERES.HOD],
|
|
6496
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
6497
|
+
relatedNumber: MELKITZEDEKI_PATHS.HOD_YESOD,
|
|
6498
|
+
data: {
|
|
6499
|
+
meaning: "Reason of foundations"
|
|
6500
|
+
},
|
|
6501
|
+
letters: [
|
|
6502
|
+
{ letter: LATIN_LETTERS.R, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.R },
|
|
6503
|
+
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.RESH }
|
|
6504
|
+
]
|
|
6505
|
+
},
|
|
6506
|
+
{
|
|
6507
|
+
leftSphere: sphereIds[SPHERES.HOD],
|
|
6508
|
+
rightSphere: sphereIds[SPHERES.MALKUTH],
|
|
6509
|
+
relatedNumber: MELKITZEDEKI_PATHS.HOD_MALKUTH,
|
|
6510
|
+
data: {
|
|
6511
|
+
meaning: "Reason conquering the world"
|
|
6512
|
+
},
|
|
6513
|
+
letters: [
|
|
6514
|
+
{ letter: LATIN_LETTERS.CH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.CH },
|
|
6515
|
+
{ letter: LATIN_LETTERS.SH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.SH },
|
|
6516
|
+
{ letter: LATIN_LETTERS.X, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.X },
|
|
6517
|
+
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.SHIN }
|
|
6518
|
+
]
|
|
6519
|
+
},
|
|
6520
|
+
{
|
|
6521
|
+
leftSphere: sphereIds[SPHERES.YESOD],
|
|
6522
|
+
rightSphere: sphereIds[SPHERES.MALKUTH],
|
|
6523
|
+
relatedNumber: MELKITZEDEKI_PATHS.YESOD_MALKUTH,
|
|
6524
|
+
data: {
|
|
6525
|
+
meaning: "Filling the inner emptiness of the world"
|
|
6526
|
+
},
|
|
6527
|
+
letters: [
|
|
6528
|
+
{ letter: LATIN_LETTERS.TH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TH },
|
|
6529
|
+
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TAV }
|
|
6530
|
+
]
|
|
5983
6531
|
}
|
|
5984
|
-
|
|
5985
|
-
for (const
|
|
5986
|
-
tree.
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
6532
|
+
];
|
|
6533
|
+
for (const path of paths) {
|
|
6534
|
+
const pathId = tree.addPath({
|
|
6535
|
+
leftSphere: path.leftSphere,
|
|
6536
|
+
rightSphere: path.rightSphere,
|
|
6537
|
+
relatedNumber: path.relatedNumber,
|
|
6538
|
+
data: path.data
|
|
6539
|
+
});
|
|
6540
|
+
tree.addLetters({
|
|
6541
|
+
path: pathId,
|
|
6542
|
+
letters: path.letters
|
|
6543
|
+
});
|
|
5990
6544
|
}
|
|
5991
|
-
const path11 = tree.addPath(kether, chokhmah, MELKITZEDEKI_PATHS.KETHER_CHOKHMAH, {
|
|
5992
|
-
meaning: "Crown's wisdom"
|
|
5993
|
-
});
|
|
5994
|
-
const path12 = tree.addPath(kether, binah, MELKITZEDEKI_PATHS.KETHER_BINAH, {
|
|
5995
|
-
meaning: "Transparency's intelligence"
|
|
5996
|
-
});
|
|
5997
|
-
const path13 = tree.addPath(kether, tiphareth, MELKITZEDEKI_PATHS.KETHER_TIPHARETH, {
|
|
5998
|
-
meaning: "Great Ark Tekton (architect)"
|
|
5999
|
-
});
|
|
6000
|
-
const path14 = tree.addPath(chokhmah, binah, MELKITZEDEKI_PATHS.CHOKHMAH_BINAH, {
|
|
6001
|
-
meaning: "Light's wisdom that becomes sound"
|
|
6002
|
-
});
|
|
6003
|
-
const path15 = tree.addPath(chokhmah, tiphareth, MELKITZEDEKI_PATHS.CHOKHMAH_TIPHARETH, {
|
|
6004
|
-
meaning: "Light reaching equilibrium"
|
|
6005
|
-
});
|
|
6006
|
-
const path16 = tree.addPath(chokhmah, chesed, MELKITZEDEKI_PATHS.CHOKHMAH_CHESED, {
|
|
6007
|
-
meaning: "Expansive light"
|
|
6008
|
-
});
|
|
6009
|
-
const path17 = tree.addPath(binah, tiphareth, MELKITZEDEKI_PATHS.BINAH_TIPHARETH, {
|
|
6010
|
-
meaning: "Vibration that balances"
|
|
6011
|
-
});
|
|
6012
|
-
const path18 = tree.addPath(binah, geburah, MELKITZEDEKI_PATHS.BINAH_GEBURAH, {
|
|
6013
|
-
meaning: "Vibration that becomes dual"
|
|
6014
|
-
});
|
|
6015
|
-
const path19 = tree.addPath(chesed, geburah, MELKITZEDEKI_PATHS.CHESED_GEBURAH, {
|
|
6016
|
-
meaning: "Expansion towards duality"
|
|
6017
|
-
});
|
|
6018
|
-
const path20 = tree.addPath(chesed, tiphareth, MELKITZEDEKI_PATHS.CHESED_TIPHARETH, {
|
|
6019
|
-
meaning: "Expansion of equilibrium"
|
|
6020
|
-
});
|
|
6021
|
-
const path21 = tree.addPath(chesed, netzach, MELKITZEDEKI_PATHS.CHESED_NETZACH, {
|
|
6022
|
-
meaning: "Expansion of victory"
|
|
6023
|
-
});
|
|
6024
|
-
const path22 = tree.addPath(geburah, tiphareth, MELKITZEDEKI_PATHS.GEBURAH_TIPHARETH, {
|
|
6025
|
-
meaning: "Harmonizing duality"
|
|
6026
|
-
});
|
|
6027
|
-
const path23 = tree.addPath(geburah, hod, MELKITZEDEKI_PATHS.GEBURAH_HOD, {
|
|
6028
|
-
meaning: "Duality from above with duality from below"
|
|
6029
|
-
});
|
|
6030
|
-
const path24 = tree.addPath(tiphareth, netzach, MELKITZEDEKI_PATHS.TIPHARETH_NETZACH, {
|
|
6031
|
-
meaning: "Illumination of victory"
|
|
6032
|
-
});
|
|
6033
|
-
const path25 = tree.addPath(tiphareth, yesod, MELKITZEDEKI_PATHS.TIPHARETH_YESOD, {
|
|
6034
|
-
meaning: "Illumination of foundations (secrets)"
|
|
6035
|
-
});
|
|
6036
|
-
const path26 = tree.addPath(tiphareth, hod, MELKITZEDEKI_PATHS.TIPHARETH_HOD, {
|
|
6037
|
-
meaning: "Illumination of reasons"
|
|
6038
|
-
});
|
|
6039
|
-
const path27 = tree.addPath(netzach, hod, MELKITZEDEKI_PATHS.NETZACH_HOD, {
|
|
6040
|
-
meaning: "Reason of emotions"
|
|
6041
|
-
});
|
|
6042
|
-
const path28 = tree.addPath(netzach, yesod, MELKITZEDEKI_PATHS.NETZACH_YESOD, {
|
|
6043
|
-
meaning: "Victory of inner emptiness"
|
|
6044
|
-
});
|
|
6045
|
-
const path29 = tree.addPath(netzach, malkuth, MELKITZEDEKI_PATHS.NETZACH_MALKUTH, {
|
|
6046
|
-
meaning: "Victory over matter"
|
|
6047
|
-
});
|
|
6048
|
-
const path30 = tree.addPath(hod, yesod, MELKITZEDEKI_PATHS.HOD_YESOD, {
|
|
6049
|
-
meaning: "Reason of foundations"
|
|
6050
|
-
});
|
|
6051
|
-
const path31 = tree.addPath(hod, malkuth, MELKITZEDEKI_PATHS.HOD_MALKUTH, {
|
|
6052
|
-
meaning: "Reason conquering the world"
|
|
6053
|
-
});
|
|
6054
|
-
const path32 = tree.addPath(yesod, malkuth, MELKITZEDEKI_PATHS.YESOD_MALKUTH, {
|
|
6055
|
-
meaning: "Filling the inner emptiness of the world"
|
|
6056
|
-
});
|
|
6057
|
-
tree.addLetters(path11, [
|
|
6058
|
-
{ letter: LATIN_LETTERS.A, type: "latinLetter" },
|
|
6059
|
-
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ALEPH }
|
|
6060
|
-
]);
|
|
6061
|
-
tree.addLetters(path12, [
|
|
6062
|
-
{ letter: LATIN_LETTERS.B, type: "latinLetter" },
|
|
6063
|
-
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.BETH }
|
|
6064
|
-
]);
|
|
6065
|
-
tree.addLetters(path13, [
|
|
6066
|
-
{ letter: LATIN_LETTERS.G, type: "latinLetter" },
|
|
6067
|
-
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.GIMEL }
|
|
6068
|
-
]);
|
|
6069
|
-
tree.addLetters(path14, [
|
|
6070
|
-
{ letter: LATIN_LETTERS.D, type: "latinLetter" },
|
|
6071
|
-
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.DALET }
|
|
6072
|
-
]);
|
|
6073
|
-
tree.addLetters(path15, [
|
|
6074
|
-
{ letter: LATIN_LETTERS.E, type: "latinLetter" },
|
|
6075
|
-
{ letter: LATIN_LETTERS.\u00C3, type: "latinLetter" },
|
|
6076
|
-
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HE }
|
|
6077
|
-
]);
|
|
6078
|
-
tree.addLetters(path16, [
|
|
6079
|
-
{ letter: LATIN_LETTERS.V, type: "latinLetter" },
|
|
6080
|
-
{ letter: LATIN_LETTERS.U, type: "latinLetter" },
|
|
6081
|
-
{ letter: LATIN_LETTERS.W, type: "latinLetter" },
|
|
6082
|
-
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
6083
|
-
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.VAV }
|
|
6084
|
-
]);
|
|
6085
|
-
tree.addLetters(path17, [
|
|
6086
|
-
{ letter: LATIN_LETTERS.Z, type: "latinLetter" },
|
|
6087
|
-
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
6088
|
-
]);
|
|
6089
|
-
tree.addLetters(path18, [
|
|
6090
|
-
{ letter: LATIN_LETTERS.H, type: "latinLetter" },
|
|
6091
|
-
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HET }
|
|
6092
|
-
]);
|
|
6093
|
-
tree.addLetters(path19, [
|
|
6094
|
-
{ letter: LATIN_LETTERS.T, type: "latinLetter" },
|
|
6095
|
-
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TET }
|
|
6096
|
-
]);
|
|
6097
|
-
tree.addLetters(path20, [
|
|
6098
|
-
{ letter: LATIN_LETTERS.I, type: "latinLetter" },
|
|
6099
|
-
{ letter: LATIN_LETTERS.Y, type: "latinLetter" },
|
|
6100
|
-
{ letter: LATIN_LETTERS.J, type: "latinLetter" },
|
|
6101
|
-
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.YOD }
|
|
6102
|
-
]);
|
|
6103
|
-
tree.addLetters(path21, [
|
|
6104
|
-
{ letter: LATIN_LETTERS.C, type: "latinLetter" },
|
|
6105
|
-
{ letter: HEBREW_LETTERS.KAPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.KAPH }
|
|
6106
|
-
]);
|
|
6107
|
-
tree.addLetters(path22, [
|
|
6108
|
-
{ letter: LATIN_LETTERS.L, type: "latinLetter" },
|
|
6109
|
-
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.LAMED }
|
|
6110
|
-
]);
|
|
6111
|
-
tree.addLetters(path23, [
|
|
6112
|
-
{ letter: LATIN_LETTERS.M, type: "latinLetter" },
|
|
6113
|
-
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.MEM }
|
|
6114
|
-
]);
|
|
6115
|
-
tree.addLetters(path24, [
|
|
6116
|
-
{ letter: LATIN_LETTERS.N, type: "latinLetter" },
|
|
6117
|
-
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.NUN }
|
|
6118
|
-
]);
|
|
6119
|
-
tree.addLetters(path25, [
|
|
6120
|
-
{ letter: LATIN_LETTERS.S, type: "latinLetter" },
|
|
6121
|
-
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" },
|
|
6122
|
-
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
6123
|
-
]);
|
|
6124
|
-
tree.addLetters(path26, [
|
|
6125
|
-
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
6126
|
-
{ letter: HEBREW_LETTERS.AYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.AYIN }
|
|
6127
|
-
]);
|
|
6128
|
-
tree.addLetters(path27, [
|
|
6129
|
-
{ letter: LATIN_LETTERS.P, type: "latinLetter" },
|
|
6130
|
-
{ letter: LATIN_LETTERS.F, type: "latinLetter" },
|
|
6131
|
-
{ letter: LATIN_LETTERS.PH, type: "latinLetter" },
|
|
6132
|
-
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.PE }
|
|
6133
|
-
]);
|
|
6134
|
-
tree.addLetters(path28, [
|
|
6135
|
-
{ letter: LATIN_LETTERS.TS, type: "latinLetter" },
|
|
6136
|
-
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" },
|
|
6137
|
-
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TSADI }
|
|
6138
|
-
]);
|
|
6139
|
-
tree.addLetters(path29, [
|
|
6140
|
-
{ letter: LATIN_LETTERS.K, type: "latinLetter" },
|
|
6141
|
-
{ letter: LATIN_LETTERS.Q, type: "latinLetter" },
|
|
6142
|
-
{ letter: LATIN_LETTERS.KH, type: "latinLetter" },
|
|
6143
|
-
{ letter: HEBREW_LETTERS.QOPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.QOPH }
|
|
6144
|
-
]);
|
|
6145
|
-
tree.addLetters(path30, [
|
|
6146
|
-
{ letter: LATIN_LETTERS.R, type: "latinLetter" },
|
|
6147
|
-
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.RESH }
|
|
6148
|
-
]);
|
|
6149
|
-
tree.addLetters(path31, [
|
|
6150
|
-
{ letter: LATIN_LETTERS.CH, type: "latinLetter" },
|
|
6151
|
-
{ letter: LATIN_LETTERS.SH, type: "latinLetter" },
|
|
6152
|
-
{ letter: LATIN_LETTERS.X, type: "latinLetter" },
|
|
6153
|
-
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SHIN }
|
|
6154
|
-
]);
|
|
6155
|
-
tree.addLetters(path32, [
|
|
6156
|
-
{ letter: LATIN_LETTERS.TH, type: "latinLetter" },
|
|
6157
|
-
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TAV }
|
|
6158
|
-
]);
|
|
6159
6545
|
return tree;
|
|
6160
6546
|
};
|
|
6161
6547
|
var unloadKaabalah = (tree) => {
|
|
6162
6548
|
const spheres = Object.values(SPHERES);
|
|
6163
6549
|
for (let i = 0; i < spheres.length; i++) {
|
|
6164
|
-
tree.removeNode(spheres[i]);
|
|
6550
|
+
tree.removeNode(id("sphere" /* SPHERE */, spheres[i]));
|
|
6165
6551
|
}
|
|
6166
6552
|
const paths = Object.values(MELKITZEDEKI_PATHS);
|
|
6167
6553
|
for (let i = 0; i < paths.length; i++) {
|
|
6168
|
-
tree.removeNode(
|
|
6554
|
+
tree.removeNode(id("path" /* PATH */, paths[i]));
|
|
6169
6555
|
}
|
|
6170
6556
|
};
|
|
6171
6557
|
var loadColors2 = (tree) => {
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
id:
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
colorDescription: "Amber",
|
|
6314
|
-
colorNames: ["amber"],
|
|
6315
|
-
colorHexCodes: ["#FF7F00"]
|
|
6316
|
-
});
|
|
6317
|
-
tree.addPathColor(path19, "greenish-yellow", {
|
|
6318
|
-
colorDescription: "Greenish yellow",
|
|
6319
|
-
colorNames: ["greenish yellow"],
|
|
6320
|
-
colorHexCodes: ["#D4FB19"]
|
|
6321
|
-
});
|
|
6322
|
-
tree.addPathColor(path20, "white", {
|
|
6323
|
-
colorDescription: "White",
|
|
6324
|
-
colorNames: ["white"],
|
|
6325
|
-
colorHexCodes: ["#FFFFFF"]
|
|
6326
|
-
});
|
|
6327
|
-
tree.addPathColor(path21, COLORS.BLUE, COLORS_DATA.BLUE);
|
|
6328
|
-
tree.addPathColor(path22, "emerald-green", {
|
|
6329
|
-
colorDescription: "Emerald green",
|
|
6330
|
-
colorNames: ["emerald green"],
|
|
6331
|
-
colorHexCodes: ["#50C878"]
|
|
6332
|
-
});
|
|
6333
|
-
tree.addPathColor(path23, "light-blue", {
|
|
6334
|
-
colorDescription: "Light blue",
|
|
6335
|
-
colorNames: ["light blue"],
|
|
6336
|
-
colorHexCodes: ["#ADD8E6"]
|
|
6337
|
-
});
|
|
6338
|
-
tree.addPathColor(path24, "blueish-green", {
|
|
6339
|
-
colorDescription: "Greenish blue",
|
|
6340
|
-
colorNames: ["greenish blue"],
|
|
6341
|
-
colorHexCodes: ["#00ECA3"]
|
|
6342
|
-
});
|
|
6343
|
-
tree.addPathColor(path25, COLORS.BLUE, COLORS_DATA.BLUE);
|
|
6344
|
-
tree.addPathColor(path26, "indigo", {
|
|
6345
|
-
colorDescription: "Indigo",
|
|
6346
|
-
colorNames: ["indigo"],
|
|
6347
|
-
colorHexCodes: ["#4B0082"]
|
|
6348
|
-
});
|
|
6349
|
-
tree.addPathColor(path27, COLORS.RED, COLORS_DATA.RED);
|
|
6350
|
-
tree.addPathColor(path28, "violet", {
|
|
6351
|
-
colorDescription: "Violet",
|
|
6352
|
-
colorNames: ["violet"],
|
|
6353
|
-
colorHexCodes: ["#8A2BE2"]
|
|
6354
|
-
});
|
|
6355
|
-
tree.addPathColor(path29, "crimson", {
|
|
6356
|
-
colorDescription: "Crimson",
|
|
6357
|
-
colorNames: ["crimson"],
|
|
6358
|
-
colorHexCodes: ["#DC143C"]
|
|
6359
|
-
});
|
|
6360
|
-
tree.addPathColor(path30, COLORS.ORANGE, COLORS_DATA.ORANGE);
|
|
6361
|
-
tree.addPathColor(path31, COLORS.RED, COLORS_DATA.RED);
|
|
6362
|
-
tree.addPathColor(path32, "dark-grey", {
|
|
6363
|
-
colorDescription: "Dark grey",
|
|
6364
|
-
colorNames: ["dark grey"],
|
|
6365
|
-
colorHexCodes: ["#A9A9A9"]
|
|
6366
|
-
});
|
|
6558
|
+
const colors = Object.values(COLORS);
|
|
6559
|
+
for (let i = 0; i < colors.length; i++) {
|
|
6560
|
+
tree.upsertNode(new BaseNode({
|
|
6561
|
+
id: colors[i],
|
|
6562
|
+
type: "color" /* COLOR */,
|
|
6563
|
+
data: COLORS_DATA[colors[i]]
|
|
6564
|
+
}));
|
|
6565
|
+
}
|
|
6566
|
+
const spheresWithColors = [
|
|
6567
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.KETHER), color: "crystal", colorData: {
|
|
6568
|
+
colorDescription: "Transparent, clear, crystal-like. All the colors mixed, on their purest, most saint form",
|
|
6569
|
+
colorNames: ["transparent"],
|
|
6570
|
+
colorHexCodes: ["#cccccc"]
|
|
6571
|
+
} },
|
|
6572
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.CHOKHMAH), color: "iridescent", colorData: {
|
|
6573
|
+
colorDescription: "All the colors, in a iridescent manner. Can also be represented by all the other sphere colors in a pizza-like pattern, starting with Tiphereth on top, and going clockwise following the spheres on the right and left columns.",
|
|
6574
|
+
colorNames: ["iridescent", "yellow", "blue", "green", "purple", "orange", "red"],
|
|
6575
|
+
colorHexCodes: ["#EDBBE7", "#FFF50F", "#0000FF", "#14FF00", "#8F00FF", "#FFA800", "#FF0000"]
|
|
6576
|
+
} },
|
|
6577
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.BINAH), color: "black", colorData: {
|
|
6578
|
+
colorDescription: "All the colors mixed, on their lowest vibration.",
|
|
6579
|
+
colorNames: ["black"],
|
|
6580
|
+
colorHexCodes: ["#000000"]
|
|
6581
|
+
} },
|
|
6582
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.DAATH), color: "white", colorData: {
|
|
6583
|
+
colorDescription: "All the colors mixed, on their highest vibration. Can also be represented by an yin-yang pattern.",
|
|
6584
|
+
colorNames: ["white"],
|
|
6585
|
+
colorHexCodes: ["#FFFFFF"]
|
|
6586
|
+
} },
|
|
6587
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.CHESED), color: COLORS.BLUE, colorData: COLORS_DATA.BLUE },
|
|
6588
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.GEBURAH), color: COLORS.RED, colorData: COLORS_DATA.RED },
|
|
6589
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.TIPHARETH), color: COLORS.YELLOW, colorData: COLORS_DATA.YELLOW },
|
|
6590
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.NETZACH), color: COLORS.GREEN, colorData: COLORS_DATA.GREEN },
|
|
6591
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.HOD), color: COLORS.ORANGE, colorData: COLORS_DATA.ORANGE },
|
|
6592
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.YESOD), color: "purple", colorData: {
|
|
6593
|
+
colorDescription: "Purple",
|
|
6594
|
+
colorNames: ["purple"],
|
|
6595
|
+
colorHexCodes: ["#8F00FF"]
|
|
6596
|
+
} },
|
|
6597
|
+
{ sphere: id("sphere" /* SPHERE */, SPHERES.MALKUTH), color: "malkuth", colorData: {
|
|
6598
|
+
colorDescription: "Made up of the colors of earth, which is created from the 4 elements. Brown can be used to represent it, but, usually it is represented in a pizza-like pattern, starting with Yellow on top, and going clockwise with Green, Brown and Red, all with slightly less saturation.",
|
|
6599
|
+
colorNames: ["unsaturated yellow", "unsaturated green", "unsaturated brown", "unsaturated red"],
|
|
6600
|
+
colorHexCodes: ["#FFF659", "#70FF6E", "#422E29", "#FF5454"]
|
|
6601
|
+
} }
|
|
6602
|
+
];
|
|
6603
|
+
for (const sphereWithColor of spheresWithColors) {
|
|
6604
|
+
const colorId = tree.upsertNode(new BaseNode({
|
|
6605
|
+
id: sphereWithColor.color,
|
|
6606
|
+
type: "color" /* COLOR */,
|
|
6607
|
+
data: sphereWithColor.colorData
|
|
6608
|
+
}));
|
|
6609
|
+
tree.link(sphereWithColor.sphere, colorId);
|
|
6610
|
+
}
|
|
6611
|
+
const pathsWithColors = [
|
|
6612
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_CHOKHMAH), color: "gold", colorData: {
|
|
6613
|
+
colorDescription: "Gold",
|
|
6614
|
+
colorNames: ["gold"],
|
|
6615
|
+
colorHexCodes: ["#FFD700"]
|
|
6616
|
+
} },
|
|
6617
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_BINAH), color: COLORS.YELLOW, colorData: COLORS_DATA.YELLOW },
|
|
6618
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_TIPHARETH), color: "grey", colorData: {
|
|
6619
|
+
colorDescription: "Grey",
|
|
6620
|
+
colorNames: ["grey"],
|
|
6621
|
+
colorHexCodes: ["#808080"]
|
|
6622
|
+
} },
|
|
6623
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_BINAH), color: "greenish-blue", colorData: {
|
|
6624
|
+
colorDescription: "Greenish blue",
|
|
6625
|
+
colorNames: ["greenish blue"],
|
|
6626
|
+
colorHexCodes: ["#5F9EA0"]
|
|
6627
|
+
} },
|
|
6628
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_TIPHARETH), color: COLORS.RED, colorData: COLORS_DATA.RED },
|
|
6629
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_CHESED), color: "orange-red", colorData: {
|
|
6630
|
+
colorDescription: "Orange-red",
|
|
6631
|
+
colorNames: ["Orange-red"],
|
|
6632
|
+
colorHexCodes: ["#FF4500"]
|
|
6633
|
+
} },
|
|
6634
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.BINAH_TIPHARETH), color: COLORS.ORANGE, colorData: COLORS_DATA.ORANGE },
|
|
6635
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.BINAH_GEBURAH), color: "amber", colorData: {
|
|
6636
|
+
colorDescription: "Amber",
|
|
6637
|
+
colorNames: ["amber"],
|
|
6638
|
+
colorHexCodes: ["#FF7F00"]
|
|
6639
|
+
} },
|
|
6640
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_GEBURAH), color: "greenish-yellow", colorData: {
|
|
6641
|
+
colorDescription: "Greenish yellow",
|
|
6642
|
+
colorNames: ["greenish yellow"],
|
|
6643
|
+
colorHexCodes: ["#D4FB19"]
|
|
6644
|
+
} },
|
|
6645
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_TIPHARETH), color: "white", colorData: {
|
|
6646
|
+
colorDescription: "White",
|
|
6647
|
+
colorNames: ["white"],
|
|
6648
|
+
colorHexCodes: ["#FFFFFF"]
|
|
6649
|
+
} },
|
|
6650
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_NETZACH), color: COLORS.BLUE, colorData: COLORS_DATA.BLUE },
|
|
6651
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.GEBURAH_TIPHARETH), color: "emerald-green", colorData: {
|
|
6652
|
+
colorDescription: "Emerald green",
|
|
6653
|
+
colorNames: ["emerald green"],
|
|
6654
|
+
colorHexCodes: ["#50C878"]
|
|
6655
|
+
} },
|
|
6656
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.GEBURAH_HOD), color: "light-blue", colorData: {
|
|
6657
|
+
colorDescription: "Light blue",
|
|
6658
|
+
colorNames: ["light blue"],
|
|
6659
|
+
colorHexCodes: ["#ADD8E6"]
|
|
6660
|
+
} },
|
|
6661
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_NETZACH), color: "blueish-green", colorData: {
|
|
6662
|
+
colorDescription: "Greenish blue",
|
|
6663
|
+
colorNames: ["greenish blue"],
|
|
6664
|
+
colorHexCodes: ["#00ECA3"]
|
|
6665
|
+
} },
|
|
6666
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_YESOD), color: COLORS.BLUE, colorData: COLORS_DATA.BLUE },
|
|
6667
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_HOD), color: "indigo", colorData: {
|
|
6668
|
+
colorDescription: "Indigo",
|
|
6669
|
+
colorNames: ["indigo"],
|
|
6670
|
+
colorHexCodes: ["#4B0082"]
|
|
6671
|
+
} },
|
|
6672
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_HOD), color: COLORS.RED, colorData: COLORS_DATA.RED },
|
|
6673
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_YESOD), color: "violet", colorData: {
|
|
6674
|
+
colorDescription: "Violet",
|
|
6675
|
+
colorNames: ["violet"],
|
|
6676
|
+
colorHexCodes: ["#8A2BE2"]
|
|
6677
|
+
} },
|
|
6678
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_MALKUTH), color: "crimson", colorData: {
|
|
6679
|
+
colorDescription: "Crimson",
|
|
6680
|
+
colorNames: ["crimson"],
|
|
6681
|
+
colorHexCodes: ["#DC143C"]
|
|
6682
|
+
} },
|
|
6683
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.HOD_YESOD), color: COLORS.ORANGE, colorData: COLORS_DATA.ORANGE },
|
|
6684
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.HOD_MALKUTH), color: COLORS.RED, colorData: COLORS_DATA.RED },
|
|
6685
|
+
{ path: id("path" /* PATH */, MELKITZEDEKI_PATHS.YESOD_MALKUTH), color: "dark-grey", colorData: {
|
|
6686
|
+
colorDescription: "Dark grey",
|
|
6687
|
+
colorNames: ["dark grey"],
|
|
6688
|
+
colorHexCodes: ["#A9A9A9"]
|
|
6689
|
+
} }
|
|
6690
|
+
];
|
|
6691
|
+
for (const pathWithColor of pathsWithColors) {
|
|
6692
|
+
const colorId = tree.upsertNode(new BaseNode({
|
|
6693
|
+
id: pathWithColor.color,
|
|
6694
|
+
type: "color" /* COLOR */,
|
|
6695
|
+
data: pathWithColor.colorData
|
|
6696
|
+
}));
|
|
6697
|
+
tree.link(pathWithColor.path, colorId);
|
|
6698
|
+
}
|
|
6367
6699
|
return tree;
|
|
6368
6700
|
};
|
|
6369
6701
|
var unloadColors2 = (tree) => {
|
|
6370
|
-
const colors = Object.values(
|
|
6702
|
+
const colors = Object.values(COLORS);
|
|
6371
6703
|
for (let i = 0; i < colors.length; i++) {
|
|
6372
|
-
tree.removeNode(colors[i]);
|
|
6704
|
+
tree.removeNode(id("color" /* COLOR */, colors[i]));
|
|
6705
|
+
}
|
|
6706
|
+
const sphereColors = Object.values(SPHERES).flatMap((sphere) => tree.related(id("sphere" /* SPHERE */, sphere), "color" /* COLOR */).map((color) => color.id));
|
|
6707
|
+
for (let i = 0; i < sphereColors.length; i++) {
|
|
6708
|
+
tree.removeNode(sphereColors[i]);
|
|
6373
6709
|
}
|
|
6374
|
-
const
|
|
6375
|
-
for (let i = 0; i <
|
|
6376
|
-
tree.removeNode(
|
|
6710
|
+
const pathColors = Object.values(MELKITZEDEKI_PATHS).flatMap((path) => tree.related(id("path" /* PATH */, path), "color" /* COLOR */).map((color) => color.id));
|
|
6711
|
+
for (let i = 0; i < pathColors.length; i++) {
|
|
6712
|
+
tree.removeNode(pathColors[i]);
|
|
6377
6713
|
}
|
|
6378
6714
|
};
|
|
6379
6715
|
var loadMusicalNotes2 = (tree) => {
|
|
6380
|
-
const
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
}
|
|
6390
|
-
const
|
|
6391
|
-
id:
|
|
6392
|
-
type: "musicalNote"
|
|
6393
|
-
data:
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
tree.
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
});
|
|
6425
|
-
tree.upsertNode({
|
|
6426
|
-
id: `note:${MUSICAL_NOTES.LA}`,
|
|
6427
|
-
type: "musicalNote",
|
|
6428
|
-
data: MUSICAL_NOTES_DATA.LA
|
|
6429
|
-
});
|
|
6430
|
-
tree.upsertNode({
|
|
6431
|
-
id: `note:${MUSICAL_NOTES.LA_SHARP}`,
|
|
6432
|
-
type: "musicalNote",
|
|
6433
|
-
data: MUSICAL_NOTES_DATA.LA_SHARP
|
|
6434
|
-
});
|
|
6435
|
-
const siId = tree.upsertNode({
|
|
6436
|
-
id: `note:${MUSICAL_NOTES.SI}`,
|
|
6437
|
-
type: "musicalNote",
|
|
6438
|
-
data: MUSICAL_NOTES_DATA.SI
|
|
6439
|
-
});
|
|
6440
|
-
tree.link(SPHERES.KETHER, doId);
|
|
6441
|
-
tree.link(SPHERES.CHOKHMAH, reId);
|
|
6442
|
-
tree.link(SPHERES.BINAH, miId);
|
|
6443
|
-
tree.addMusicalNote(SPHERES.DAATH, "1st interval", {
|
|
6444
|
-
note: "Interval",
|
|
6445
|
-
noteDescription: "An interval"
|
|
6446
|
-
});
|
|
6447
|
-
tree.link(SPHERES.CHESED, faId);
|
|
6448
|
-
tree.link(SPHERES.GEBURAH, solId);
|
|
6449
|
-
tree.addMusicalNote(SPHERES.TIPHARETH, "The Thing-in-itself", {
|
|
6450
|
-
note: "The Thing-in-itself",
|
|
6451
|
-
noteDescription: "The central point of equilibrium; another interval"
|
|
6452
|
-
});
|
|
6453
|
-
tree.link(SPHERES.NETZACH, siId);
|
|
6454
|
-
tree.addMusicalNote(SPHERES.YESOD, "2nd interval", {
|
|
6455
|
-
note: "Interval",
|
|
6456
|
-
noteDescription: "An interval"
|
|
6457
|
-
});
|
|
6458
|
-
tree.link(SPHERES.MALKUTH, doId);
|
|
6716
|
+
const musicalNotes = Object.values(MUSICAL_NOTES);
|
|
6717
|
+
const musicalNotesIds = {};
|
|
6718
|
+
for (let i = 0; i < musicalNotes.length; i++) {
|
|
6719
|
+
const musicalNoteId = tree.upsertNode(new BaseNode({
|
|
6720
|
+
id: musicalNotes[i],
|
|
6721
|
+
type: "musicalNote" /* MUSICAL_NOTE */,
|
|
6722
|
+
data: MUSICAL_NOTES_DATA[musicalNotes[i]]
|
|
6723
|
+
}));
|
|
6724
|
+
musicalNotesIds[musicalNotes[i]] = musicalNoteId;
|
|
6725
|
+
}
|
|
6726
|
+
const firstIntervalId = tree.upsertNode(new BaseNode({
|
|
6727
|
+
id: "1st interval",
|
|
6728
|
+
type: "musicalNote" /* MUSICAL_NOTE */,
|
|
6729
|
+
data: {
|
|
6730
|
+
note: "Interval",
|
|
6731
|
+
noteDescription: "An interval"
|
|
6732
|
+
}
|
|
6733
|
+
}));
|
|
6734
|
+
const theThingCreatedId = tree.upsertNode(new BaseNode({
|
|
6735
|
+
id: "The thing created",
|
|
6736
|
+
type: "musicalNote" /* MUSICAL_NOTE */,
|
|
6737
|
+
data: {
|
|
6738
|
+
note: "The thing created",
|
|
6739
|
+
noteDescription: "The thing created"
|
|
6740
|
+
}
|
|
6741
|
+
}));
|
|
6742
|
+
const secondIntervalId = tree.upsertNode(new BaseNode({
|
|
6743
|
+
id: "2nd interval",
|
|
6744
|
+
type: "musicalNote" /* MUSICAL_NOTE */,
|
|
6745
|
+
data: {
|
|
6746
|
+
note: "Interval",
|
|
6747
|
+
noteDescription: "An interval"
|
|
6748
|
+
}
|
|
6749
|
+
}));
|
|
6750
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.KETHER), musicalNotesIds[MUSICAL_NOTES.DO]);
|
|
6751
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.CHOKHMAH), musicalNotesIds[MUSICAL_NOTES.RE]);
|
|
6752
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.BINAH), musicalNotesIds[MUSICAL_NOTES.MI]);
|
|
6753
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.DAATH), firstIntervalId);
|
|
6754
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.CHESED), musicalNotesIds[MUSICAL_NOTES.FA]);
|
|
6755
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.GEBURAH), musicalNotesIds[MUSICAL_NOTES.SOL]);
|
|
6756
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.TIPHARETH), theThingCreatedId);
|
|
6757
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.NETZACH), musicalNotesIds[MUSICAL_NOTES.SI]);
|
|
6758
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.YESOD), secondIntervalId);
|
|
6759
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.MALKUTH), musicalNotesIds[MUSICAL_NOTES.DO]);
|
|
6459
6760
|
return tree;
|
|
6460
6761
|
};
|
|
6461
6762
|
var unloadMusicalNotes2 = (tree) => {
|
|
6462
|
-
const notes = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "musicalNote").map((note) => note.id));
|
|
6763
|
+
const notes = Object.values(SPHERES).flatMap((sphere) => tree.related(id("sphere" /* SPHERE */, sphere), "musicalNote" /* MUSICAL_NOTE */).map((note) => note.id));
|
|
6463
6764
|
for (let i = 0; i < notes.length; i++) {
|
|
6464
6765
|
tree.removeNode(notes[i]);
|
|
6465
6766
|
}
|
|
6466
6767
|
};
|
|
6467
6768
|
var linkColorsAndSounds2 = (tree) => {
|
|
6468
|
-
if (!tree.loadedParts.includes("colors")
|
|
6469
|
-
throw new Error("
|
|
6769
|
+
if (!tree.loadedParts.includes("colors") || !tree.loadedParts.includes("music")) {
|
|
6770
|
+
throw new Error("Both parts must be loaded for a bridge to happen");
|
|
6771
|
+
}
|
|
6772
|
+
const noteColors = [
|
|
6773
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.DO), color: id("color" /* COLOR */, COLORS.GREEN) },
|
|
6774
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.DO_SHARP), color: id("color" /* COLOR */, COLORS.SPRING_GREEN) },
|
|
6775
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.RE), color: id("color" /* COLOR */, COLORS.CYAN) },
|
|
6776
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.RE_SHARP), color: id("color" /* COLOR */, COLORS.AZURE) },
|
|
6777
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.MI), color: id("color" /* COLOR */, COLORS.BLUE) },
|
|
6778
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.FA), color: id("color" /* COLOR */, COLORS.VIOLET) },
|
|
6779
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.FA_SHARP), color: id("color" /* COLOR */, COLORS.MAGENTA) },
|
|
6780
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.SOL), color: id("color" /* COLOR */, COLORS.ROSE) },
|
|
6781
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.SOL_SHARP), color: id("color" /* COLOR */, COLORS.RED) },
|
|
6782
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.LA), color: id("color" /* COLOR */, COLORS.ORANGE) },
|
|
6783
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.LA_SHARP), color: id("color" /* COLOR */, COLORS.YELLOW) },
|
|
6784
|
+
{ note: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.SI), color: id("color" /* COLOR */, COLORS.CHARTREUSE_GREEN) }
|
|
6785
|
+
];
|
|
6786
|
+
for (const { note, color } of noteColors) {
|
|
6787
|
+
tree.link(note, color);
|
|
6470
6788
|
}
|
|
6471
|
-
tree.link(`note:${MUSICAL_NOTES.DO}`, `color:${COLORS.GREEN}`);
|
|
6472
|
-
tree.link(`note:${MUSICAL_NOTES.DO_SHARP}`, `color:${COLORS.SPRING_GREEN}`);
|
|
6473
|
-
tree.link(`note:${MUSICAL_NOTES.RE}`, `color:${COLORS.CYAN}`);
|
|
6474
|
-
tree.link(`note:${MUSICAL_NOTES.RE_SHARP}`, `color:${COLORS.AZURE}`);
|
|
6475
|
-
tree.link(`note:${MUSICAL_NOTES.MI}`, `color:${COLORS.BLUE}`);
|
|
6476
|
-
tree.link(`note:${MUSICAL_NOTES.FA}`, `color:${COLORS.VIOLET}`);
|
|
6477
|
-
tree.link(`note:${MUSICAL_NOTES.FA_SHARP}`, `color:${COLORS.MAGENTA}`);
|
|
6478
|
-
tree.link(`note:${MUSICAL_NOTES.SOL}`, `color:${COLORS.ROSE}`);
|
|
6479
|
-
tree.link(`note:${MUSICAL_NOTES.SOL_SHARP}`, `color:${COLORS.RED}`);
|
|
6480
|
-
tree.link(`note:${MUSICAL_NOTES.LA}`, `color:${COLORS.ORANGE}`);
|
|
6481
|
-
tree.link(`note:${MUSICAL_NOTES.LA_SHARP}`, `color:${COLORS.YELLOW}`);
|
|
6482
|
-
tree.link(`note:${MUSICAL_NOTES.SI}`, `color:${COLORS.CHARTREUSE_GREEN}`);
|
|
6483
6789
|
return tree;
|
|
6484
6790
|
};
|
|
6485
6791
|
var linkSoundsAndWesternAstrology = (tree) => {
|
|
6486
|
-
if (!tree.loadedParts.includes("westernAstrology")
|
|
6792
|
+
if (!tree.loadedParts.includes("westernAstrology") || !tree.loadedParts.includes("music")) {
|
|
6487
6793
|
throw new Error("At least one of the parts must be loaded for a bridge to happen");
|
|
6488
6794
|
}
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6795
|
+
const astrologySignsSounds = [
|
|
6796
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.VIRGO), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.DO) },
|
|
6797
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.LIBRA), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.DO_SHARP) },
|
|
6798
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.SCORPIO), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.RE) },
|
|
6799
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.SAGITTARIUS), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.RE_SHARP) },
|
|
6800
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.CAPRICORN), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.MI) },
|
|
6801
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.AQUARIUS), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.FA) },
|
|
6802
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.PISCES), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.FA_SHARP) },
|
|
6803
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.ARIES), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.SOL) },
|
|
6804
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.TAURUS), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.SOL_SHARP) },
|
|
6805
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.GEMINI), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.LA) },
|
|
6806
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.CANCER), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.LA_SHARP) },
|
|
6807
|
+
{ sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.LEO), sound: id("musicalNote" /* MUSICAL_NOTE */, MUSICAL_NOTES.SI) }
|
|
6808
|
+
];
|
|
6809
|
+
for (const { sign, sound } of astrologySignsSounds) {
|
|
6810
|
+
tree.link(sign, sound);
|
|
6811
|
+
}
|
|
6501
6812
|
return tree;
|
|
6502
6813
|
};
|
|
6503
6814
|
var linkColorsAndWesternAstrology = (tree) => {
|
|
6504
|
-
if (!tree.loadedParts.includes("colors")
|
|
6505
|
-
throw new Error("
|
|
6815
|
+
if (!tree.loadedParts.includes("colors") || !tree.loadedParts.includes("westernAstrology")) {
|
|
6816
|
+
throw new Error("Both parts must be loaded for a bridge to happen");
|
|
6817
|
+
}
|
|
6818
|
+
const astrologySignsColors = [
|
|
6819
|
+
{ color: id("color" /* COLOR */, COLORS.RED), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.TAURUS) },
|
|
6820
|
+
{ color: id("color" /* COLOR */, COLORS.ORANGE), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.GEMINI) },
|
|
6821
|
+
{ color: id("color" /* COLOR */, COLORS.YELLOW), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.CANCER) },
|
|
6822
|
+
{ color: id("color" /* COLOR */, COLORS.CHARTREUSE_GREEN), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.LEO) },
|
|
6823
|
+
{ color: id("color" /* COLOR */, COLORS.GREEN), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.VIRGO) },
|
|
6824
|
+
{ color: id("color" /* COLOR */, COLORS.SPRING_GREEN), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.LIBRA) },
|
|
6825
|
+
{ color: id("color" /* COLOR */, COLORS.CYAN), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.SCORPIO) },
|
|
6826
|
+
{ color: id("color" /* COLOR */, COLORS.AZURE), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.SAGITTARIUS) },
|
|
6827
|
+
{ color: id("color" /* COLOR */, COLORS.BLUE), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.CAPRICORN) },
|
|
6828
|
+
{ color: id("color" /* COLOR */, COLORS.VIOLET), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.AQUARIUS) },
|
|
6829
|
+
{ color: id("color" /* COLOR */, COLORS.MAGENTA), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.PISCES) },
|
|
6830
|
+
{ color: id("color" /* COLOR */, COLORS.ROSE), sign: id("westernZodiacSign" /* WESTERN_ZODIAC_SIGN */, WESTERN_ZODIAC_SIGNS.ARIES) }
|
|
6831
|
+
];
|
|
6832
|
+
for (const { color, sign } of astrologySignsColors) {
|
|
6833
|
+
tree.link(color, sign);
|
|
6506
6834
|
}
|
|
6507
|
-
tree.link(`color:${COLORS.RED}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.TAURUS}`);
|
|
6508
|
-
tree.link(`color:${COLORS.ORANGE}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.GEMINI}`);
|
|
6509
|
-
tree.link(`color:${COLORS.YELLOW}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.CANCER}`);
|
|
6510
|
-
tree.link(`color:${COLORS.CHARTREUSE_GREEN}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.LEO}`);
|
|
6511
|
-
tree.link(`color:${COLORS.GREEN}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.VIRGO}`);
|
|
6512
|
-
tree.link(`color:${COLORS.SPRING_GREEN}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.LIBRA}`);
|
|
6513
|
-
tree.link(`color:${COLORS.CYAN}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.SCORPIO}`);
|
|
6514
|
-
tree.link(`color:${COLORS.AZURE}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.SAGITTARIUS}`);
|
|
6515
|
-
tree.link(`color:${COLORS.BLUE}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.CAPRICORN}`);
|
|
6516
|
-
tree.link(`color:${COLORS.VIOLET}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.AQUARIUS}`);
|
|
6517
|
-
tree.link(`color:${COLORS.MAGENTA}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.PISCES}`);
|
|
6518
|
-
tree.link(`color:${COLORS.ROSE}`, `westernZodiacSign:${WESTERN_ZODIAC_SIGNS.ARIES}`);
|
|
6519
6835
|
return tree;
|
|
6520
6836
|
};
|
|
6521
6837
|
var loadWesternAstrology2 = (tree) => {
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
tree.
|
|
6532
|
-
tree.
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
const
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
tree.
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
tree.addWesternAstrologySign(
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
tree.addWesternAstrologySign(
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
tree.
|
|
6575
|
-
|
|
6576
|
-
|
|
6838
|
+
const planets = Object.values(PLANETS);
|
|
6839
|
+
const planetsIds = {};
|
|
6840
|
+
for (const planet of planets) {
|
|
6841
|
+
const planetId = tree.upsertNode(new BaseNode({
|
|
6842
|
+
id: planet,
|
|
6843
|
+
type: "planet" /* PLANET */
|
|
6844
|
+
}));
|
|
6845
|
+
planetsIds[planet] = planetId;
|
|
6846
|
+
}
|
|
6847
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.KETHER), planetsIds[PLANETS.NEPTUNE]);
|
|
6848
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.CHOKHMAH), planetsIds[PLANETS.URANUS]);
|
|
6849
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.BINAH), planetsIds[PLANETS.SATURN]);
|
|
6850
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.DAATH), planetsIds[PLANETS.PLUTO]);
|
|
6851
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.CHESED), planetsIds[PLANETS.JUPITER]);
|
|
6852
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.GEBURAH), planetsIds[PLANETS.MARS]);
|
|
6853
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.TIPHARETH), planetsIds[PLANETS.SUN]);
|
|
6854
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.NETZACH), planetsIds[PLANETS.VENUS]);
|
|
6855
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.HOD), planetsIds[PLANETS.MERCURY]);
|
|
6856
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.YESOD), planetsIds[PLANETS.MOON]);
|
|
6857
|
+
tree.link(id("sphere" /* SPHERE */, SPHERES.MALKUTH), planetsIds[PLANETS.EARTH]);
|
|
6858
|
+
const air = tree.upsertNode(new BaseNode({
|
|
6859
|
+
id: WESTERN_ELEMENTS.AIR,
|
|
6860
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
6861
|
+
}));
|
|
6862
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_CHOKHMAH), air);
|
|
6863
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_BINAH), planetsIds[PLANETS.MOON]);
|
|
6864
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_TIPHARETH), planetsIds[PLANETS.VENUS]);
|
|
6865
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_BINAH), planetsIds[PLANETS.JUPITER]);
|
|
6866
|
+
tree.addWesternAstrologySign({
|
|
6867
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_TIPHARETH),
|
|
6868
|
+
sign: WESTERN_ZODIAC_SIGNS.ARIES,
|
|
6869
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.ARIES,
|
|
6870
|
+
relatedNumber: 1
|
|
6871
|
+
});
|
|
6872
|
+
tree.addWesternAstrologySign({
|
|
6873
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_CHESED),
|
|
6874
|
+
sign: WESTERN_ZODIAC_SIGNS.TAURUS,
|
|
6875
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.TAURUS,
|
|
6876
|
+
relatedNumber: 2
|
|
6877
|
+
});
|
|
6878
|
+
tree.addWesternAstrologySign({
|
|
6879
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.BINAH_TIPHARETH),
|
|
6880
|
+
sign: WESTERN_ZODIAC_SIGNS.GEMINI,
|
|
6881
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.GEMINI,
|
|
6882
|
+
relatedNumber: 3
|
|
6883
|
+
});
|
|
6884
|
+
tree.addWesternAstrologySign({
|
|
6885
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.BINAH_GEBURAH),
|
|
6886
|
+
sign: WESTERN_ZODIAC_SIGNS.CANCER,
|
|
6887
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.CANCER,
|
|
6888
|
+
relatedNumber: 4
|
|
6889
|
+
});
|
|
6890
|
+
tree.addWesternAstrologySign({
|
|
6891
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_GEBURAH),
|
|
6892
|
+
sign: WESTERN_ZODIAC_SIGNS.LEO,
|
|
6893
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.LEO,
|
|
6894
|
+
relatedNumber: 5
|
|
6895
|
+
});
|
|
6896
|
+
tree.addWesternAstrologySign({
|
|
6897
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_TIPHARETH),
|
|
6898
|
+
sign: WESTERN_ZODIAC_SIGNS.VIRGO,
|
|
6899
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.VIRGO,
|
|
6900
|
+
relatedNumber: 6
|
|
6901
|
+
});
|
|
6902
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_NETZACH), planetsIds[PLANETS.MARS]);
|
|
6903
|
+
tree.addWesternAstrologySign({
|
|
6904
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.GEBURAH_TIPHARETH),
|
|
6905
|
+
sign: WESTERN_ZODIAC_SIGNS.LIBRA,
|
|
6906
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.LIBRA,
|
|
6907
|
+
relatedNumber: 7
|
|
6908
|
+
});
|
|
6909
|
+
const water = tree.upsertNode(new BaseNode({
|
|
6910
|
+
id: WESTERN_ELEMENTS.WATER,
|
|
6911
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
6912
|
+
}));
|
|
6913
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.GEBURAH_HOD), water);
|
|
6914
|
+
tree.addWesternAstrologySign({
|
|
6915
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_NETZACH),
|
|
6916
|
+
sign: WESTERN_ZODIAC_SIGNS.SCORPIO,
|
|
6917
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.SCORPIO,
|
|
6918
|
+
relatedNumber: 8
|
|
6919
|
+
});
|
|
6920
|
+
tree.addWesternAstrologySign({
|
|
6921
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_YESOD),
|
|
6922
|
+
sign: WESTERN_ZODIAC_SIGNS.SAGITTARIUS,
|
|
6923
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.SAGITTARIUS,
|
|
6924
|
+
relatedNumber: 9
|
|
6925
|
+
});
|
|
6926
|
+
tree.addWesternAstrologySign({
|
|
6927
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_HOD),
|
|
6928
|
+
sign: WESTERN_ZODIAC_SIGNS.CAPRICORN,
|
|
6929
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.CAPRICORN,
|
|
6930
|
+
relatedNumber: 10
|
|
6931
|
+
});
|
|
6932
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_HOD), planetsIds[PLANETS.MERCURY]);
|
|
6933
|
+
tree.addWesternAstrologySign({
|
|
6934
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_YESOD),
|
|
6935
|
+
sign: WESTERN_ZODIAC_SIGNS.AQUARIUS,
|
|
6936
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.AQUARIUS,
|
|
6937
|
+
relatedNumber: 11
|
|
6938
|
+
});
|
|
6939
|
+
tree.addWesternAstrologySign({
|
|
6940
|
+
path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_MALKUTH),
|
|
6941
|
+
sign: WESTERN_ZODIAC_SIGNS.PISCES,
|
|
6942
|
+
data: WESTERN_ZODIAC_SIGNS_DATA.PISCES,
|
|
6943
|
+
relatedNumber: 12
|
|
6944
|
+
});
|
|
6945
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.HOD_YESOD), planetsIds[PLANETS.SATURN]);
|
|
6946
|
+
const fire = tree.upsertNode(new BaseNode({
|
|
6947
|
+
id: WESTERN_ELEMENTS.FIRE,
|
|
6948
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
6949
|
+
}));
|
|
6950
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.HOD_MALKUTH), fire);
|
|
6951
|
+
tree.link(id("path" /* PATH */, MELKITZEDEKI_PATHS.YESOD_MALKUTH), planetsIds[PLANETS.SUN]);
|
|
6577
6952
|
return tree;
|
|
6578
6953
|
};
|
|
6579
6954
|
var unloadWesternAstrology2 = (tree) => {
|
|
6580
|
-
const planets = Object.values(SPHERES).flatMap((planet) => tree.related(planet, "planet").map((planet2) => planet2.id));
|
|
6955
|
+
const planets = Object.values(SPHERES).flatMap((planet) => tree.related(id("sphere" /* SPHERE */, planet), "planet" /* PLANET */).map((planet2) => planet2.id));
|
|
6581
6956
|
for (let i = 0; i < planets.length; i++) {
|
|
6582
6957
|
tree.removeNode(planets[i]);
|
|
6583
6958
|
}
|
|
6584
|
-
const elements =
|
|
6959
|
+
const elements = [];
|
|
6960
|
+
const zodiacSigns = [];
|
|
6961
|
+
for (const path of Object.values(MELKITZEDEKI_PATHS)) {
|
|
6962
|
+
elements.push(...tree.related(id("path" /* PATH */, path), "westernElement" /* WESTERN_ELEMENT */).map((element) => element.id));
|
|
6963
|
+
zodiacSigns.push(...tree.related(id("path" /* PATH */, path), "westernZodiacSign" /* WESTERN_ZODIAC_SIGN */).map((sign) => sign.id));
|
|
6964
|
+
}
|
|
6585
6965
|
for (let i = 0; i < elements.length; i++) {
|
|
6586
6966
|
tree.removeNode(elements[i]);
|
|
6587
6967
|
}
|
|
6588
|
-
const zodiacSigns = Object.values(MELKITZEDEKI_PATHS).flatMap((path) => tree.related(`path:${path}`, "westernZodiacSign").map((sign) => sign.id));
|
|
6589
6968
|
for (let i = 0; i < zodiacSigns.length; i++) {
|
|
6590
6969
|
tree.removeNode(zodiacSigns[i]);
|
|
6591
6970
|
}
|
|
6592
6971
|
};
|
|
6593
6972
|
var loadTarot = (tree) => {
|
|
6594
|
-
const
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
const
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6973
|
+
const majorArkAnnus = [
|
|
6974
|
+
{ id: TAROT_ARKANNUS.THE_MAGICIAN, data: TAROT_ARKANNUS_DATA.THE_MAGICIAN, relatedNumber: 1, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_CHOKHMAH) },
|
|
6975
|
+
{ id: TAROT_ARKANNUS.THE_HIGH_PRIESTESS, data: TAROT_ARKANNUS_DATA.THE_HIGH_PRIESTESS, relatedNumber: 2, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_BINAH) },
|
|
6976
|
+
{ id: TAROT_ARKANNUS.THE_EMPRESS, data: TAROT_ARKANNUS_DATA.THE_EMPRESS, relatedNumber: 3, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.KETHER_TIPHARETH) },
|
|
6977
|
+
{ id: TAROT_ARKANNUS.THE_EMPEROR, data: TAROT_ARKANNUS_DATA.THE_EMPEROR, relatedNumber: 4, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_BINAH) },
|
|
6978
|
+
{ id: TAROT_ARKANNUS.THE_HIEROPHANT, data: TAROT_ARKANNUS_DATA.THE_HIEROPHANT, relatedNumber: 5, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_TIPHARETH) },
|
|
6979
|
+
{ id: TAROT_ARKANNUS.THE_LOVER, data: TAROT_ARKANNUS_DATA.THE_LOVER, relatedNumber: 6, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHOKHMAH_CHESED) },
|
|
6980
|
+
{ id: TAROT_ARKANNUS.THE_CHARIOT, data: TAROT_ARKANNUS_DATA.THE_CHARIOT, relatedNumber: 7, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.BINAH_TIPHARETH) },
|
|
6981
|
+
{ id: TAROT_ARKANNUS.JUSTICE, data: TAROT_ARKANNUS_DATA.JUSTICE, relatedNumber: 8, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.BINAH_GEBURAH) },
|
|
6982
|
+
{ id: TAROT_ARKANNUS.THE_HERMIT, data: TAROT_ARKANNUS_DATA.THE_HERMIT, relatedNumber: 9, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_GEBURAH) },
|
|
6983
|
+
{ id: TAROT_ARKANNUS.THE_WHEEL_OF_FORTUNE, data: TAROT_ARKANNUS_DATA.THE_WHEEL_OF_FORTUNE, relatedNumber: 10, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_TIPHARETH) },
|
|
6984
|
+
{ id: TAROT_ARKANNUS.STRENGTH, data: TAROT_ARKANNUS_DATA.STRENGTH, relatedNumber: 11, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.CHESED_NETZACH) },
|
|
6985
|
+
{ id: TAROT_ARKANNUS.THE_HANGED_MAN, data: TAROT_ARKANNUS_DATA.THE_HANGED_MAN, relatedNumber: 12, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.GEBURAH_TIPHARETH) },
|
|
6986
|
+
{ id: TAROT_ARKANNUS.DEATH, data: TAROT_ARKANNUS_DATA.DEATH, relatedNumber: 13, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.GEBURAH_HOD) },
|
|
6987
|
+
{ id: TAROT_ARKANNUS.TEMPERANCE, data: TAROT_ARKANNUS_DATA.TEMPERANCE, relatedNumber: 14, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_NETZACH) },
|
|
6988
|
+
{ id: TAROT_ARKANNUS.THE_DEVIL, data: TAROT_ARKANNUS_DATA.THE_DEVIL, relatedNumber: 15, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_YESOD) },
|
|
6989
|
+
{ id: TAROT_ARKANNUS.THE_TOWER, data: TAROT_ARKANNUS_DATA.THE_TOWER, relatedNumber: 16, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.TIPHARETH_HOD) },
|
|
6990
|
+
{ id: TAROT_ARKANNUS.THE_STAR, data: TAROT_ARKANNUS_DATA.THE_STAR, relatedNumber: 17, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_HOD) },
|
|
6991
|
+
{ id: TAROT_ARKANNUS.THE_MOON, data: TAROT_ARKANNUS_DATA.THE_MOON, relatedNumber: 18, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_YESOD) },
|
|
6992
|
+
{ id: TAROT_ARKANNUS.THE_SUN, data: TAROT_ARKANNUS_DATA.THE_SUN, relatedNumber: 19, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.NETZACH_MALKUTH) },
|
|
6993
|
+
{ id: TAROT_ARKANNUS.JUDGMENT, data: TAROT_ARKANNUS_DATA.JUDGMENT, relatedNumber: 20, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.HOD_YESOD) },
|
|
6994
|
+
{ id: TAROT_ARKANNUS.THE_FOOL, data: TAROT_ARKANNUS_DATA.THE_FOOL, relatedNumber: 21, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.HOD_MALKUTH) },
|
|
6995
|
+
{ id: TAROT_ARKANNUS.THE_WORLD, data: TAROT_ARKANNUS_DATA.THE_WORLD, relatedNumber: 22, path: id("path" /* PATH */, MELKITZEDEKI_PATHS.YESOD_MALKUTH) }
|
|
6996
|
+
];
|
|
6997
|
+
const majorArkAnnusIds = {};
|
|
6998
|
+
for (let i = 0; i < majorArkAnnus.length; i++) {
|
|
6999
|
+
const arkAnnu = majorArkAnnus[i];
|
|
7000
|
+
majorArkAnnusIds[arkAnnu.id] = tree.addTarotArkAnnu({
|
|
7001
|
+
node: arkAnnu.path,
|
|
7002
|
+
tarotArkAnnu: arkAnnu.id,
|
|
7003
|
+
data: arkAnnu.data,
|
|
7004
|
+
relatedNumber: arkAnnu.relatedNumber
|
|
7005
|
+
});
|
|
7006
|
+
}
|
|
7007
|
+
const westernElements = [
|
|
7008
|
+
{ id: WESTERN_ELEMENTS.EARTH, arkAnnu: majorArkAnnusIds[TAROT_ARKANNUS.THE_MAGICIAN] },
|
|
7009
|
+
{ id: WESTERN_ELEMENTS.AIR, arkAnnu: majorArkAnnusIds[TAROT_ARKANNUS.THE_HIGH_PRIESTESS] },
|
|
7010
|
+
{ id: WESTERN_ELEMENTS.WATER, arkAnnu: majorArkAnnusIds[TAROT_ARKANNUS.THE_EMPRESS] },
|
|
7011
|
+
{ id: WESTERN_ELEMENTS.FIRE, arkAnnu: majorArkAnnusIds[TAROT_ARKANNUS.THE_EMPEROR] },
|
|
7012
|
+
{ id: WESTERN_ELEMENTS.ETHER, arkAnnu: majorArkAnnusIds[TAROT_ARKANNUS.THE_HIEROPHANT] }
|
|
7013
|
+
];
|
|
7014
|
+
const westernElementsIds = {};
|
|
7015
|
+
for (const element of westernElements) {
|
|
7016
|
+
const elementId = tree.upsertNode(new BaseNode({
|
|
7017
|
+
id: element.id,
|
|
7018
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
7019
|
+
}));
|
|
7020
|
+
westernElementsIds[element.id] = elementId;
|
|
7021
|
+
}
|
|
7022
|
+
const suits = [
|
|
7023
|
+
{ id: TAROT_SUITS.WANDS, element: westernElementsIds[WESTERN_ELEMENTS.FIRE] },
|
|
7024
|
+
{ id: TAROT_SUITS.CUPS, element: westernElementsIds[WESTERN_ELEMENTS.WATER] },
|
|
7025
|
+
{ id: TAROT_SUITS.SWORDS, element: westernElementsIds[WESTERN_ELEMENTS.AIR] },
|
|
7026
|
+
{ id: TAROT_SUITS.PENTACLES, element: westernElementsIds[WESTERN_ELEMENTS.EARTH] }
|
|
7027
|
+
];
|
|
7028
|
+
const suitsIds = {};
|
|
7029
|
+
for (const suit of suits) {
|
|
7030
|
+
const suitId = tree.upsertNode(new BaseNode({
|
|
7031
|
+
id: suit.id,
|
|
7032
|
+
type: "tarotSuit" /* TAROT_SUIT */
|
|
7033
|
+
}));
|
|
7034
|
+
suitsIds[suit.id] = suitId;
|
|
7035
|
+
tree.link(suitId, suit.element);
|
|
7036
|
+
}
|
|
7037
|
+
const courtArkAnnus = [
|
|
7038
|
+
{ id: TAROT_ARKANNUS.KING_OF_WANDS, data: TAROT_ARKANNUS_DATA.KING_OF_WANDS, relatedNumber: 23, suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7039
|
+
{ id: TAROT_ARKANNUS.QUEEN_OF_WANDS, data: TAROT_ARKANNUS_DATA.QUEEN_OF_WANDS, relatedNumber: 24, suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7040
|
+
{ id: TAROT_ARKANNUS.KNIGHT_OF_WANDS, data: TAROT_ARKANNUS_DATA.KNIGHT_OF_WANDS, relatedNumber: 25, suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7041
|
+
{ id: TAROT_ARKANNUS.PAGE_OF_WANDS, data: TAROT_ARKANNUS_DATA.PAGE_OF_WANDS, relatedNumber: 26, suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7042
|
+
{ id: TAROT_ARKANNUS.KING_OF_CUPS, data: TAROT_ARKANNUS_DATA.KING_OF_CUPS, relatedNumber: 37, suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7043
|
+
{ id: TAROT_ARKANNUS.QUEEN_OF_CUPS, data: TAROT_ARKANNUS_DATA.QUEEN_OF_CUPS, relatedNumber: 38, suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7044
|
+
{ id: TAROT_ARKANNUS.KNIGHT_OF_CUPS, data: TAROT_ARKANNUS_DATA.KNIGHT_OF_CUPS, relatedNumber: 39, suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7045
|
+
{ id: TAROT_ARKANNUS.PAGE_OF_CUPS, data: TAROT_ARKANNUS_DATA.PAGE_OF_CUPS, relatedNumber: 40, suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7046
|
+
{ id: TAROT_ARKANNUS.KING_OF_SWORDS, data: TAROT_ARKANNUS_DATA.KING_OF_SWORDS, relatedNumber: 51, suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7047
|
+
{ id: TAROT_ARKANNUS.QUEEN_OF_SWORDS, data: TAROT_ARKANNUS_DATA.QUEEN_OF_SWORDS, relatedNumber: 52, suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7048
|
+
{ id: TAROT_ARKANNUS.KNIGHT_OF_SWORDS, data: TAROT_ARKANNUS_DATA.KNIGHT_OF_SWORDS, relatedNumber: 53, suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7049
|
+
{ id: TAROT_ARKANNUS.PAGE_OF_SWORDS, data: TAROT_ARKANNUS_DATA.PAGE_OF_SWORDS, relatedNumber: 54, suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7050
|
+
{ id: TAROT_ARKANNUS.KING_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.KING_OF_PENTACLES, relatedNumber: 65, suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7051
|
+
{ id: TAROT_ARKANNUS.QUEEN_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.QUEEN_OF_PENTACLES, relatedNumber: 66, suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7052
|
+
{ id: TAROT_ARKANNUS.KNIGHT_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.KNIGHT_OF_PENTACLES, relatedNumber: 67, suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7053
|
+
{ id: TAROT_ARKANNUS.PAGE_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.PAGE_OF_PENTACLES, relatedNumber: 68, suit: suitsIds[TAROT_SUITS.PENTACLES] }
|
|
7054
|
+
];
|
|
7055
|
+
for (const courtArkAnnu of courtArkAnnus) {
|
|
7056
|
+
tree.addTarotArkAnnu({
|
|
7057
|
+
node: id("sphere" /* SPHERE */, SPHERES.DAATH),
|
|
7058
|
+
tarotArkAnnu: courtArkAnnu.id,
|
|
7059
|
+
data: courtArkAnnu.data,
|
|
7060
|
+
relatedNumber: courtArkAnnu.relatedNumber,
|
|
7061
|
+
suit: courtArkAnnu.suit
|
|
7062
|
+
});
|
|
7063
|
+
}
|
|
7064
|
+
const minorArkAnnus = [
|
|
7065
|
+
{ id: TAROT_ARKANNUS.TEN_OF_WANDS, data: TAROT_ARKANNUS_DATA.TEN_OF_WANDS, relatedNumber: 27, sphere: id("sphere" /* SPHERE */, SPHERES.MALKUTH), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7066
|
+
{ id: TAROT_ARKANNUS.NINE_OF_WANDS, data: TAROT_ARKANNUS_DATA.NINE_OF_WANDS, relatedNumber: 28, sphere: id("sphere" /* SPHERE */, SPHERES.YESOD), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7067
|
+
{ id: TAROT_ARKANNUS.EIGHT_OF_WANDS, data: TAROT_ARKANNUS_DATA.EIGHT_OF_WANDS, relatedNumber: 29, sphere: id("sphere" /* SPHERE */, SPHERES.HOD), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7068
|
+
{ id: TAROT_ARKANNUS.SEVEN_OF_WANDS, data: TAROT_ARKANNUS_DATA.SEVEN_OF_WANDS, relatedNumber: 30, sphere: id("sphere" /* SPHERE */, SPHERES.NETZACH), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7069
|
+
{ id: TAROT_ARKANNUS.SIX_OF_WANDS, data: TAROT_ARKANNUS_DATA.SIX_OF_WANDS, relatedNumber: 31, sphere: id("sphere" /* SPHERE */, SPHERES.TIPHARETH), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7070
|
+
{ id: TAROT_ARKANNUS.FIVE_OF_WANDS, data: TAROT_ARKANNUS_DATA.FIVE_OF_WANDS, relatedNumber: 32, sphere: id("sphere" /* SPHERE */, SPHERES.GEBURAH), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7071
|
+
{ id: TAROT_ARKANNUS.FOUR_OF_WANDS, data: TAROT_ARKANNUS_DATA.FOUR_OF_WANDS, relatedNumber: 33, sphere: id("sphere" /* SPHERE */, SPHERES.CHESED), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7072
|
+
{ id: TAROT_ARKANNUS.THREE_OF_WANDS, data: TAROT_ARKANNUS_DATA.THREE_OF_WANDS, relatedNumber: 34, sphere: id("sphere" /* SPHERE */, SPHERES.BINAH), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7073
|
+
{ id: TAROT_ARKANNUS.TWO_OF_WANDS, data: TAROT_ARKANNUS_DATA.TWO_OF_WANDS, relatedNumber: 35, sphere: id("sphere" /* SPHERE */, SPHERES.CHOKHMAH), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7074
|
+
{ id: TAROT_ARKANNUS.ACE_OF_WANDS, data: TAROT_ARKANNUS_DATA.ACE_OF_WANDS, relatedNumber: 36, sphere: id("sphere" /* SPHERE */, SPHERES.KETHER), suit: suitsIds[TAROT_SUITS.WANDS] },
|
|
7075
|
+
{ id: TAROT_ARKANNUS.TEN_OF_CUPS, data: TAROT_ARKANNUS_DATA.TEN_OF_CUPS, relatedNumber: 41, sphere: id("sphere" /* SPHERE */, SPHERES.MALKUTH), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7076
|
+
{ id: TAROT_ARKANNUS.NINE_OF_CUPS, data: TAROT_ARKANNUS_DATA.NINE_OF_CUPS, relatedNumber: 42, sphere: id("sphere" /* SPHERE */, SPHERES.YESOD), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7077
|
+
{ id: TAROT_ARKANNUS.EIGHT_OF_CUPS, data: TAROT_ARKANNUS_DATA.EIGHT_OF_CUPS, relatedNumber: 43, sphere: id("sphere" /* SPHERE */, SPHERES.HOD), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7078
|
+
{ id: TAROT_ARKANNUS.SEVEN_OF_CUPS, data: TAROT_ARKANNUS_DATA.SEVEN_OF_CUPS, relatedNumber: 44, sphere: id("sphere" /* SPHERE */, SPHERES.NETZACH), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7079
|
+
{ id: TAROT_ARKANNUS.SIX_OF_CUPS, data: TAROT_ARKANNUS_DATA.SIX_OF_CUPS, relatedNumber: 45, sphere: id("sphere" /* SPHERE */, SPHERES.TIPHARETH), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7080
|
+
{ id: TAROT_ARKANNUS.FIVE_OF_CUPS, data: TAROT_ARKANNUS_DATA.FIVE_OF_CUPS, relatedNumber: 46, sphere: id("sphere" /* SPHERE */, SPHERES.GEBURAH), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7081
|
+
{ id: TAROT_ARKANNUS.FOUR_OF_CUPS, data: TAROT_ARKANNUS_DATA.FOUR_OF_CUPS, relatedNumber: 47, sphere: id("sphere" /* SPHERE */, SPHERES.CHESED), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7082
|
+
{ id: TAROT_ARKANNUS.THREE_OF_CUPS, data: TAROT_ARKANNUS_DATA.THREE_OF_CUPS, relatedNumber: 48, sphere: id("sphere" /* SPHERE */, SPHERES.BINAH), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7083
|
+
{ id: TAROT_ARKANNUS.TWO_OF_CUPS, data: TAROT_ARKANNUS_DATA.TWO_OF_CUPS, relatedNumber: 49, sphere: id("sphere" /* SPHERE */, SPHERES.CHOKHMAH), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7084
|
+
{ id: TAROT_ARKANNUS.ACE_OF_CUPS, data: TAROT_ARKANNUS_DATA.ACE_OF_CUPS, relatedNumber: 50, sphere: id("sphere" /* SPHERE */, SPHERES.KETHER), suit: suitsIds[TAROT_SUITS.CUPS] },
|
|
7085
|
+
{ id: TAROT_ARKANNUS.TEN_OF_SWORDS, data: TAROT_ARKANNUS_DATA.TEN_OF_SWORDS, relatedNumber: 55, sphere: id("sphere" /* SPHERE */, SPHERES.MALKUTH), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7086
|
+
{ id: TAROT_ARKANNUS.NINE_OF_SWORDS, data: TAROT_ARKANNUS_DATA.NINE_OF_SWORDS, relatedNumber: 56, sphere: id("sphere" /* SPHERE */, SPHERES.YESOD), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7087
|
+
{ id: TAROT_ARKANNUS.EIGHT_OF_SWORDS, data: TAROT_ARKANNUS_DATA.EIGHT_OF_SWORDS, relatedNumber: 57, sphere: id("sphere" /* SPHERE */, SPHERES.HOD), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7088
|
+
{ id: TAROT_ARKANNUS.SEVEN_OF_SWORDS, data: TAROT_ARKANNUS_DATA.SEVEN_OF_SWORDS, relatedNumber: 58, sphere: id("sphere" /* SPHERE */, SPHERES.NETZACH), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7089
|
+
{ id: TAROT_ARKANNUS.SIX_OF_SWORDS, data: TAROT_ARKANNUS_DATA.SIX_OF_SWORDS, relatedNumber: 59, sphere: id("sphere" /* SPHERE */, SPHERES.TIPHARETH), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7090
|
+
{ id: TAROT_ARKANNUS.FIVE_OF_SWORDS, data: TAROT_ARKANNUS_DATA.FIVE_OF_SWORDS, relatedNumber: 60, sphere: id("sphere" /* SPHERE */, SPHERES.GEBURAH), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7091
|
+
{ id: TAROT_ARKANNUS.FOUR_OF_SWORDS, data: TAROT_ARKANNUS_DATA.FOUR_OF_SWORDS, relatedNumber: 61, sphere: id("sphere" /* SPHERE */, SPHERES.CHESED), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7092
|
+
{ id: TAROT_ARKANNUS.THREE_OF_SWORDS, data: TAROT_ARKANNUS_DATA.THREE_OF_SWORDS, relatedNumber: 62, sphere: id("sphere" /* SPHERE */, SPHERES.BINAH), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7093
|
+
{ id: TAROT_ARKANNUS.TWO_OF_SWORDS, data: TAROT_ARKANNUS_DATA.TWO_OF_SWORDS, relatedNumber: 63, sphere: id("sphere" /* SPHERE */, SPHERES.CHOKHMAH), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7094
|
+
{ id: TAROT_ARKANNUS.ACE_OF_SWORDS, data: TAROT_ARKANNUS_DATA.ACE_OF_SWORDS, relatedNumber: 64, sphere: id("sphere" /* SPHERE */, SPHERES.KETHER), suit: suitsIds[TAROT_SUITS.SWORDS] },
|
|
7095
|
+
{ id: TAROT_ARKANNUS.TEN_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.TEN_OF_PENTACLES, relatedNumber: 69, sphere: id("sphere" /* SPHERE */, SPHERES.MALKUTH), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7096
|
+
{ id: TAROT_ARKANNUS.NINE_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.NINE_OF_PENTACLES, relatedNumber: 70, sphere: id("sphere" /* SPHERE */, SPHERES.YESOD), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7097
|
+
{ id: TAROT_ARKANNUS.EIGHT_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.EIGHT_OF_PENTACLES, relatedNumber: 71, sphere: id("sphere" /* SPHERE */, SPHERES.HOD), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7098
|
+
{ id: TAROT_ARKANNUS.SEVEN_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.SEVEN_OF_PENTACLES, relatedNumber: 72, sphere: id("sphere" /* SPHERE */, SPHERES.NETZACH), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7099
|
+
{ id: TAROT_ARKANNUS.SIX_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.SIX_OF_PENTACLES, relatedNumber: 73, sphere: id("sphere" /* SPHERE */, SPHERES.TIPHARETH), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7100
|
+
{ id: TAROT_ARKANNUS.FIVE_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.FIVE_OF_PENTACLES, relatedNumber: 74, sphere: id("sphere" /* SPHERE */, SPHERES.GEBURAH), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7101
|
+
{ id: TAROT_ARKANNUS.FOUR_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.FOUR_OF_PENTACLES, relatedNumber: 75, sphere: id("sphere" /* SPHERE */, SPHERES.CHESED), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7102
|
+
{ id: TAROT_ARKANNUS.THREE_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.THREE_OF_PENTACLES, relatedNumber: 76, sphere: id("sphere" /* SPHERE */, SPHERES.BINAH), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7103
|
+
{ id: TAROT_ARKANNUS.TWO_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.TWO_OF_PENTACLES, relatedNumber: 77, sphere: id("sphere" /* SPHERE */, SPHERES.CHOKHMAH), suit: suitsIds[TAROT_SUITS.PENTACLES] },
|
|
7104
|
+
{ id: TAROT_ARKANNUS.ACE_OF_PENTACLES, data: TAROT_ARKANNUS_DATA.ACE_OF_PENTACLES, relatedNumber: 78, sphere: id("sphere" /* SPHERE */, SPHERES.KETHER), suit: suitsIds[TAROT_SUITS.PENTACLES] }
|
|
7105
|
+
];
|
|
7106
|
+
for (const minorArkAnnu of minorArkAnnus) {
|
|
7107
|
+
tree.addTarotArkAnnu({
|
|
7108
|
+
node: minorArkAnnu.sphere,
|
|
7109
|
+
tarotArkAnnu: minorArkAnnu.id,
|
|
7110
|
+
data: minorArkAnnu.data,
|
|
7111
|
+
relatedNumber: minorArkAnnu.relatedNumber,
|
|
7112
|
+
suit: minorArkAnnu.suit
|
|
7113
|
+
});
|
|
7114
|
+
}
|
|
6703
7115
|
return tree;
|
|
6704
7116
|
};
|
|
6705
7117
|
var unloadTarot = (tree) => {
|
|
6706
|
-
const suits = Object.values(WESTERN_ELEMENTS).flatMap((element) => tree.related(
|
|
7118
|
+
const suits = Object.values(WESTERN_ELEMENTS).flatMap((element) => tree.related(id("westernElement" /* WESTERN_ELEMENT */, element), "tarotSuit" /* TAROT_SUIT */).map((suit) => suit.id));
|
|
6707
7119
|
for (let i = 0; i < suits.length; i++) {
|
|
6708
7120
|
tree.removeNode(suits[i]);
|
|
6709
7121
|
}
|
|
6710
|
-
const majorArkAnnus = Object.values(MELKITZEDEKI_PATHS).flatMap((path) => tree.related(
|
|
7122
|
+
const majorArkAnnus = Object.values(MELKITZEDEKI_PATHS).flatMap((path) => tree.related(id("path" /* PATH */, path), "tarotArkAnnu" /* TAROT_ARK_ANNU */).map((arkannus) => arkannus.id));
|
|
6711
7123
|
for (let i = 0; i < majorArkAnnus.length; i++) {
|
|
6712
7124
|
tree.removeNode(majorArkAnnus[i]);
|
|
6713
7125
|
}
|
|
6714
|
-
const minorArkAnnus = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "tarotArkAnnu").map((arkannus) => arkannus.id));
|
|
7126
|
+
const minorArkAnnus = Object.values(SPHERES).flatMap((sphere) => tree.related(id("sphere" /* SPHERE */, sphere), "tarotArkAnnu" /* TAROT_ARK_ANNU */).map((arkannus) => arkannus.id));
|
|
6715
7127
|
for (let i = 0; i < minorArkAnnus.length; i++) {
|
|
6716
7128
|
tree.removeNode(minorArkAnnus[i]);
|
|
6717
7129
|
}
|
|
@@ -6761,178 +7173,274 @@ __export(lurianic_kabbalah_exports, {
|
|
|
6761
7173
|
});
|
|
6762
7174
|
var SYSTEM3 = "lurianic-kabbalah";
|
|
6763
7175
|
function loadLurianicKabbalah(tree) {
|
|
6764
|
-
const
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
7176
|
+
const spheres = [
|
|
7177
|
+
{ sphere: SPHERES.KETHER, data: SPHERES_DATA.KETHER, relatedNumber: 1 },
|
|
7178
|
+
{ sphere: SPHERES.CHOKHMAH, data: SPHERES_DATA.CHOKHMAH, relatedNumber: 2 },
|
|
7179
|
+
{ sphere: SPHERES.BINAH, data: SPHERES_DATA.BINAH, relatedNumber: 3 },
|
|
7180
|
+
{ sphere: SPHERES.CHESED, data: SPHERES_DATA.CHESED, relatedNumber: 4 },
|
|
7181
|
+
{ sphere: SPHERES.GEBURAH, data: SPHERES_DATA.GEBURAH, relatedNumber: 5 },
|
|
7182
|
+
{ sphere: SPHERES.TIPHARETH, data: SPHERES_DATA.TIPHARETH, relatedNumber: 6 },
|
|
7183
|
+
{ sphere: SPHERES.NETZACH, data: SPHERES_DATA.NETZACH, relatedNumber: 7 },
|
|
7184
|
+
{ sphere: SPHERES.HOD, data: SPHERES_DATA.HOD, relatedNumber: 8 },
|
|
7185
|
+
{ sphere: SPHERES.YESOD, data: SPHERES_DATA.YESOD, relatedNumber: 9 },
|
|
7186
|
+
{ sphere: SPHERES.MALKUTH, data: SPHERES_DATA.MALKUTH, relatedNumber: 10 }
|
|
7187
|
+
];
|
|
7188
|
+
const sphereIds = {};
|
|
7189
|
+
for (const sphere of spheres) {
|
|
7190
|
+
sphereIds[sphere.sphere] = tree.addSphere(sphere);
|
|
7191
|
+
}
|
|
7192
|
+
const worldsWithElements = [
|
|
7193
|
+
{ id: FOUR_WORLDS.ATZILUTH, data: FOUR_WORLDS_DATA.ATZILUTH, element: WESTERN_ELEMENTS.FIRE },
|
|
7194
|
+
{ id: FOUR_WORLDS.BRIAH, data: FOUR_WORLDS_DATA.BRIAH, element: WESTERN_ELEMENTS.WATER },
|
|
7195
|
+
{ id: FOUR_WORLDS.YETZIRAH, data: FOUR_WORLDS_DATA.YETZIRAH, element: WESTERN_ELEMENTS.AIR },
|
|
7196
|
+
{ id: FOUR_WORLDS.ASSIAH, data: FOUR_WORLDS_DATA.ASSIAH, element: WESTERN_ELEMENTS.EARTH }
|
|
7197
|
+
];
|
|
7198
|
+
for (const world of worldsWithElements) {
|
|
7199
|
+
const worldId = tree.upsertNode(new BaseNode({
|
|
7200
|
+
id: world.id,
|
|
7201
|
+
type: "world" /* WORLD */,
|
|
7202
|
+
data: world.data
|
|
7203
|
+
}));
|
|
7204
|
+
const elementId = tree.upsertNode(new BaseNode({
|
|
7205
|
+
id: world.element,
|
|
7206
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
7207
|
+
}));
|
|
7208
|
+
tree.link(worldId, elementId);
|
|
7209
|
+
}
|
|
7210
|
+
const paths = [
|
|
7211
|
+
{
|
|
7212
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
7213
|
+
rightSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
7214
|
+
relatedNumber: LURIANIC_PATHS.KETHER_CHOKHMAH,
|
|
7215
|
+
letters: [
|
|
7216
|
+
{ letter: LATIN_LETTERS.E, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.E },
|
|
7217
|
+
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.HE }
|
|
7218
|
+
]
|
|
6780
7219
|
},
|
|
6781
|
-
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
7220
|
+
{
|
|
7221
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
7222
|
+
rightSphere: sphereIds[SPHERES.BINAH],
|
|
7223
|
+
relatedNumber: LURIANIC_PATHS.KETHER_BINAH,
|
|
7224
|
+
letters: [
|
|
7225
|
+
{ letter: LATIN_LETTERS.V, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.V },
|
|
7226
|
+
{ letter: LATIN_LETTERS.U, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.U },
|
|
7227
|
+
{ letter: LATIN_LETTERS.W, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.W },
|
|
7228
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.O },
|
|
7229
|
+
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.VAV }
|
|
7230
|
+
]
|
|
6785
7231
|
},
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
7232
|
+
{
|
|
7233
|
+
leftSphere: sphereIds[SPHERES.KETHER],
|
|
7234
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7235
|
+
relatedNumber: LURIANIC_PATHS.KETHER_TIPHARETH,
|
|
7236
|
+
letters: [
|
|
7237
|
+
{ letter: LATIN_LETTERS.D, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.D },
|
|
7238
|
+
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.DALET }
|
|
7239
|
+
]
|
|
6790
7240
|
},
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6794
|
-
|
|
7241
|
+
{
|
|
7242
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
7243
|
+
rightSphere: sphereIds[SPHERES.BINAH],
|
|
7244
|
+
relatedNumber: LURIANIC_PATHS.CHOKHMAH_BINAH,
|
|
7245
|
+
letters: [
|
|
7246
|
+
{ letter: LATIN_LETTERS.CH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.CH },
|
|
7247
|
+
{ letter: LATIN_LETTERS.SH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.SH },
|
|
7248
|
+
{ letter: LATIN_LETTERS.X, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.X },
|
|
7249
|
+
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.SHIN }
|
|
7250
|
+
]
|
|
7251
|
+
},
|
|
7252
|
+
{
|
|
7253
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
7254
|
+
rightSphere: sphereIds[SPHERES.CHESED],
|
|
7255
|
+
relatedNumber: LURIANIC_PATHS.CHOKHMAH_CHESED,
|
|
7256
|
+
letters: [
|
|
7257
|
+
{ letter: LATIN_LETTERS.Z, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Z },
|
|
7258
|
+
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
7259
|
+
]
|
|
7260
|
+
},
|
|
7261
|
+
{
|
|
7262
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
7263
|
+
rightSphere: sphereIds[SPHERES.GEBURAH],
|
|
7264
|
+
relatedNumber: LURIANIC_PATHS.CHOKHMAH_GEBURAH,
|
|
7265
|
+
letters: [
|
|
7266
|
+
{ letter: LATIN_LETTERS.T, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.T },
|
|
7267
|
+
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TET }
|
|
7268
|
+
]
|
|
7269
|
+
},
|
|
7270
|
+
{
|
|
7271
|
+
leftSphere: sphereIds[SPHERES.CHOKHMAH],
|
|
7272
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7273
|
+
relatedNumber: LURIANIC_PATHS.CHOKHMAH_TIPHARETH,
|
|
7274
|
+
letters: [
|
|
7275
|
+
{ letter: LATIN_LETTERS.B, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.B },
|
|
7276
|
+
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.BETH }
|
|
7277
|
+
]
|
|
7278
|
+
},
|
|
7279
|
+
{
|
|
7280
|
+
leftSphere: sphereIds[SPHERES.BINAH],
|
|
7281
|
+
rightSphere: sphereIds[SPHERES.CHESED],
|
|
7282
|
+
relatedNumber: LURIANIC_PATHS.BINAH_CHESED,
|
|
7283
|
+
letters: [
|
|
7284
|
+
{ letter: LATIN_LETTERS.H, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.H },
|
|
7285
|
+
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.HET }
|
|
7286
|
+
]
|
|
7287
|
+
},
|
|
7288
|
+
{
|
|
7289
|
+
leftSphere: sphereIds[SPHERES.BINAH],
|
|
7290
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7291
|
+
relatedNumber: LURIANIC_PATHS.BINAH_TIPHARETH,
|
|
7292
|
+
letters: [
|
|
7293
|
+
{ letter: LATIN_LETTERS.I, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.I },
|
|
7294
|
+
{ letter: LATIN_LETTERS.J, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.J },
|
|
7295
|
+
{ letter: LATIN_LETTERS.Y, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Y },
|
|
7296
|
+
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.YOD }
|
|
7297
|
+
]
|
|
7298
|
+
},
|
|
7299
|
+
{
|
|
7300
|
+
leftSphere: sphereIds[SPHERES.BINAH],
|
|
7301
|
+
rightSphere: sphereIds[SPHERES.GEBURAH],
|
|
7302
|
+
relatedNumber: LURIANIC_PATHS.BINAH_GEBURAH,
|
|
7303
|
+
letters: [
|
|
7304
|
+
{ letter: LATIN_LETTERS.G, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.G },
|
|
7305
|
+
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.GIMEL }
|
|
7306
|
+
]
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
7310
|
+
rightSphere: sphereIds[SPHERES.GEBURAH],
|
|
7311
|
+
relatedNumber: LURIANIC_PATHS.CHESED_GEBURAH,
|
|
7312
|
+
letters: [
|
|
7313
|
+
{ letter: LATIN_LETTERS.A, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.A },
|
|
7314
|
+
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.ALEPH }
|
|
7315
|
+
]
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
7319
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7320
|
+
relatedNumber: LURIANIC_PATHS.CHESED_TIPHARETH,
|
|
7321
|
+
letters: [
|
|
7322
|
+
{ letter: LATIN_LETTERS.L, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.L },
|
|
7323
|
+
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.LAMED }
|
|
7324
|
+
]
|
|
7325
|
+
},
|
|
7326
|
+
{
|
|
7327
|
+
leftSphere: sphereIds[SPHERES.CHESED],
|
|
7328
|
+
rightSphere: sphereIds[SPHERES.NETZACH],
|
|
7329
|
+
relatedNumber: LURIANIC_PATHS.CHESED_NETZACH,
|
|
7330
|
+
letters: [
|
|
7331
|
+
{ letter: LATIN_LETTERS.C, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.C },
|
|
7332
|
+
{ letter: HEBREW_LETTERS.KAPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.KAPH }
|
|
7333
|
+
]
|
|
7334
|
+
},
|
|
7335
|
+
{
|
|
7336
|
+
leftSphere: sphereIds[SPHERES.GEBURAH],
|
|
7337
|
+
rightSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7338
|
+
relatedNumber: LURIANIC_PATHS.GEBURAH_TIPHARETH,
|
|
7339
|
+
letters: [
|
|
7340
|
+
{ letter: LATIN_LETTERS.N, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.N },
|
|
7341
|
+
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.NUN }
|
|
7342
|
+
]
|
|
7343
|
+
},
|
|
7344
|
+
{
|
|
7345
|
+
leftSphere: sphereIds[SPHERES.GEBURAH],
|
|
7346
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
7347
|
+
relatedNumber: LURIANIC_PATHS.GEBURAH_HOD,
|
|
7348
|
+
letters: [
|
|
7349
|
+
{ letter: LATIN_LETTERS.P, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.P },
|
|
7350
|
+
{ letter: LATIN_LETTERS.F, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.F },
|
|
7351
|
+
{ letter: LATIN_LETTERS.PH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.PH },
|
|
7352
|
+
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.PE }
|
|
7353
|
+
]
|
|
7354
|
+
},
|
|
7355
|
+
{
|
|
7356
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7357
|
+
rightSphere: sphereIds[SPHERES.NETZACH],
|
|
7358
|
+
relatedNumber: LURIANIC_PATHS.TIPHARETH_NETZACH,
|
|
7359
|
+
letters: [
|
|
7360
|
+
{ letter: LATIN_LETTERS.S, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.S },
|
|
7361
|
+
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.\u00C7 },
|
|
7362
|
+
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
7363
|
+
]
|
|
7364
|
+
},
|
|
7365
|
+
{
|
|
7366
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7367
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
7368
|
+
relatedNumber: LURIANIC_PATHS.TIPHARETH_YESOD,
|
|
7369
|
+
letters: [
|
|
7370
|
+
{ letter: LATIN_LETTERS.R, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.R },
|
|
7371
|
+
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.RESH }
|
|
7372
|
+
]
|
|
7373
|
+
},
|
|
7374
|
+
{
|
|
7375
|
+
leftSphere: sphereIds[SPHERES.TIPHARETH],
|
|
7376
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
7377
|
+
relatedNumber: LURIANIC_PATHS.TIPHARETH_HOD,
|
|
7378
|
+
letters: [
|
|
7379
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.O },
|
|
7380
|
+
{ letter: HEBREW_LETTERS.AYIN, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.AYIN }
|
|
7381
|
+
]
|
|
7382
|
+
},
|
|
7383
|
+
{
|
|
7384
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
7385
|
+
rightSphere: sphereIds[SPHERES.HOD],
|
|
7386
|
+
relatedNumber: LURIANIC_PATHS.NETZACH_HOD,
|
|
7387
|
+
letters: [
|
|
7388
|
+
{ letter: LATIN_LETTERS.M, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.M },
|
|
7389
|
+
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.MEM }
|
|
7390
|
+
]
|
|
7391
|
+
},
|
|
7392
|
+
{
|
|
7393
|
+
leftSphere: sphereIds[SPHERES.NETZACH],
|
|
7394
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
7395
|
+
relatedNumber: LURIANIC_PATHS.NETZACH_YESOD,
|
|
7396
|
+
letters: [
|
|
7397
|
+
{ letter: LATIN_LETTERS.TS, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TS },
|
|
7398
|
+
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TZ },
|
|
7399
|
+
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TSADI }
|
|
7400
|
+
]
|
|
7401
|
+
},
|
|
7402
|
+
{
|
|
7403
|
+
leftSphere: sphereIds[SPHERES.HOD],
|
|
7404
|
+
rightSphere: sphereIds[SPHERES.YESOD],
|
|
7405
|
+
relatedNumber: LURIANIC_PATHS.HOD_YESOD,
|
|
7406
|
+
letters: [
|
|
7407
|
+
{ letter: LATIN_LETTERS.K, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.K },
|
|
7408
|
+
{ letter: LATIN_LETTERS.Q, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.Q },
|
|
7409
|
+
{ letter: LATIN_LETTERS.KH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.KH },
|
|
7410
|
+
{ letter: HEBREW_LETTERS.QOPH, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.QOPH }
|
|
7411
|
+
]
|
|
7412
|
+
},
|
|
7413
|
+
{
|
|
7414
|
+
leftSphere: sphereIds[SPHERES.YESOD],
|
|
7415
|
+
rightSphere: sphereIds[SPHERES.MALKUTH],
|
|
7416
|
+
relatedNumber: LURIANIC_PATHS.YESOD_MALKUTH,
|
|
7417
|
+
letters: [
|
|
7418
|
+
{ letter: LATIN_LETTERS.TH, type: "latinLetter" /* LATIN_LETTER */, data: LATIN_LETTERS_DATA.TH },
|
|
7419
|
+
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter" /* HEBREW_LETTER */, data: HEBREW_LETTERS_DATA.TAV }
|
|
7420
|
+
]
|
|
6795
7421
|
}
|
|
6796
|
-
|
|
6797
|
-
for (const
|
|
6798
|
-
tree.
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
7422
|
+
];
|
|
7423
|
+
for (const path of paths) {
|
|
7424
|
+
const pathId = tree.addPath({
|
|
7425
|
+
leftSphere: path.leftSphere,
|
|
7426
|
+
rightSphere: path.rightSphere,
|
|
7427
|
+
relatedNumber: path.relatedNumber
|
|
7428
|
+
});
|
|
7429
|
+
tree.addLetters({
|
|
7430
|
+
path: pathId,
|
|
7431
|
+
letters: path.letters
|
|
7432
|
+
});
|
|
6802
7433
|
}
|
|
6803
|
-
const path11 = tree.addPath(kether, chokhmah, LURIANIC_PATHS.KETHER_CHOKHMAH);
|
|
6804
|
-
const path12 = tree.addPath(kether, binah, LURIANIC_PATHS.KETHER_BINAH);
|
|
6805
|
-
const path13 = tree.addPath(kether, tiphareth, LURIANIC_PATHS.KETHER_TIPHARETH);
|
|
6806
|
-
const path14 = tree.addPath(chokhmah, binah, LURIANIC_PATHS.CHOKHMAH_BINAH);
|
|
6807
|
-
const path15 = tree.addPath(chokhmah, geburah, LURIANIC_PATHS.CHOKHMAH_GEBURAH);
|
|
6808
|
-
const path16 = tree.addPath(chokhmah, tiphareth, LURIANIC_PATHS.CHOKHMAH_TIPHARETH);
|
|
6809
|
-
const path17 = tree.addPath(chokhmah, chesed, LURIANIC_PATHS.CHOKHMAH_CHESED);
|
|
6810
|
-
const path18 = tree.addPath(binah, chesed, LURIANIC_PATHS.BINAH_CHESED);
|
|
6811
|
-
const path19 = tree.addPath(binah, tiphareth, LURIANIC_PATHS.BINAH_TIPHARETH);
|
|
6812
|
-
const path20 = tree.addPath(binah, geburah, LURIANIC_PATHS.BINAH_GEBURAH);
|
|
6813
|
-
const path21 = tree.addPath(chesed, geburah, LURIANIC_PATHS.CHESED_GEBURAH);
|
|
6814
|
-
const path22 = tree.addPath(chesed, tiphareth, LURIANIC_PATHS.CHESED_TIPHARETH);
|
|
6815
|
-
const path23 = tree.addPath(chesed, netzach, LURIANIC_PATHS.CHESED_NETZACH);
|
|
6816
|
-
const path24 = tree.addPath(geburah, tiphareth, LURIANIC_PATHS.GEBURAH_TIPHARETH);
|
|
6817
|
-
const path25 = tree.addPath(geburah, hod, LURIANIC_PATHS.GEBURAH_HOD);
|
|
6818
|
-
const path26 = tree.addPath(tiphareth, netzach, LURIANIC_PATHS.TIPHARETH_NETZACH);
|
|
6819
|
-
const path27 = tree.addPath(tiphareth, yesod, LURIANIC_PATHS.TIPHARETH_YESOD);
|
|
6820
|
-
const path28 = tree.addPath(tiphareth, hod, LURIANIC_PATHS.TIPHARETH_HOD);
|
|
6821
|
-
const path29 = tree.addPath(netzach, hod, LURIANIC_PATHS.NETZACH_HOD);
|
|
6822
|
-
const path30 = tree.addPath(netzach, yesod, LURIANIC_PATHS.NETZACH_YESOD);
|
|
6823
|
-
const path31 = tree.addPath(hod, yesod, LURIANIC_PATHS.HOD_YESOD);
|
|
6824
|
-
const path32 = tree.addPath(yesod, malkuth, LURIANIC_PATHS.YESOD_MALKUTH);
|
|
6825
|
-
tree.addLetters(path11, [
|
|
6826
|
-
{ letter: LATIN_LETTERS.E, type: "latinLetter" },
|
|
6827
|
-
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HE }
|
|
6828
|
-
]);
|
|
6829
|
-
tree.addLetters(path12, [
|
|
6830
|
-
{ letter: LATIN_LETTERS.V, type: "latinLetter" },
|
|
6831
|
-
{ letter: LATIN_LETTERS.U, type: "latinLetter" },
|
|
6832
|
-
{ letter: LATIN_LETTERS.W, type: "latinLetter" },
|
|
6833
|
-
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
6834
|
-
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.VAV }
|
|
6835
|
-
]);
|
|
6836
|
-
tree.addLetters(path13, [
|
|
6837
|
-
{ letter: LATIN_LETTERS.D, type: "latinLetter" },
|
|
6838
|
-
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.DALET }
|
|
6839
|
-
]);
|
|
6840
|
-
tree.addLetters(path14, [
|
|
6841
|
-
{ letter: LATIN_LETTERS.CH, type: "latinLetter" },
|
|
6842
|
-
{ letter: LATIN_LETTERS.SH, type: "latinLetter" },
|
|
6843
|
-
{ letter: LATIN_LETTERS.X, type: "latinLetter" },
|
|
6844
|
-
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SHIN }
|
|
6845
|
-
]);
|
|
6846
|
-
tree.addLetters(path15, [
|
|
6847
|
-
{ letter: LATIN_LETTERS.Z, type: "latinLetter" },
|
|
6848
|
-
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
6849
|
-
]);
|
|
6850
|
-
tree.addLetters(path16, [
|
|
6851
|
-
{ letter: LATIN_LETTERS.T, type: "latinLetter" },
|
|
6852
|
-
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TET }
|
|
6853
|
-
]);
|
|
6854
|
-
tree.addLetters(path17, [
|
|
6855
|
-
{ letter: LATIN_LETTERS.B, type: "latinLetter" },
|
|
6856
|
-
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.BETH }
|
|
6857
|
-
]);
|
|
6858
|
-
tree.addLetters(path18, [
|
|
6859
|
-
{ letter: LATIN_LETTERS.H, type: "latinLetter" },
|
|
6860
|
-
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HET }
|
|
6861
|
-
]);
|
|
6862
|
-
tree.addLetters(path19, [
|
|
6863
|
-
{ letter: LATIN_LETTERS.I, type: "latinLetter" },
|
|
6864
|
-
{ letter: LATIN_LETTERS.J, type: "latinLetter" },
|
|
6865
|
-
{ letter: LATIN_LETTERS.Y, type: "latinLetter" },
|
|
6866
|
-
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.YOD }
|
|
6867
|
-
]);
|
|
6868
|
-
tree.addLetters(path20, [
|
|
6869
|
-
{ letter: LATIN_LETTERS.G, type: "latinLetter" },
|
|
6870
|
-
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.GIMEL }
|
|
6871
|
-
]);
|
|
6872
|
-
tree.addLetters(path21, [
|
|
6873
|
-
{ letter: LATIN_LETTERS.A, type: "latinLetter" },
|
|
6874
|
-
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ALEPH }
|
|
6875
|
-
]);
|
|
6876
|
-
tree.addLetters(path22, [
|
|
6877
|
-
{ letter: LATIN_LETTERS.L, type: "latinLetter" },
|
|
6878
|
-
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.LAMED }
|
|
6879
|
-
]);
|
|
6880
|
-
tree.addLetters(path23, [
|
|
6881
|
-
{ letter: LATIN_LETTERS.C, type: "latinLetter" },
|
|
6882
|
-
{ letter: HEBREW_LETTERS.KAPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.KAPH }
|
|
6883
|
-
]);
|
|
6884
|
-
tree.addLetters(path24, [
|
|
6885
|
-
{ letter: LATIN_LETTERS.N, type: "latinLetter" },
|
|
6886
|
-
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.NUN }
|
|
6887
|
-
]);
|
|
6888
|
-
tree.addLetters(path25, [
|
|
6889
|
-
{ letter: LATIN_LETTERS.P, type: "latinLetter" },
|
|
6890
|
-
{ letter: LATIN_LETTERS.F, type: "latinLetter" },
|
|
6891
|
-
{ letter: LATIN_LETTERS.PH, type: "latinLetter" },
|
|
6892
|
-
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.PE }
|
|
6893
|
-
]);
|
|
6894
|
-
tree.addLetters(path26, [
|
|
6895
|
-
{ letter: LATIN_LETTERS.S, type: "latinLetter" },
|
|
6896
|
-
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" },
|
|
6897
|
-
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
6898
|
-
]);
|
|
6899
|
-
tree.addLetters(path27, [
|
|
6900
|
-
{ letter: LATIN_LETTERS.R, type: "latinLetter" },
|
|
6901
|
-
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.RESH }
|
|
6902
|
-
]);
|
|
6903
|
-
tree.addLetters(path28, [
|
|
6904
|
-
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
6905
|
-
{ letter: HEBREW_LETTERS.AYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.AYIN }
|
|
6906
|
-
]);
|
|
6907
|
-
tree.addLetters(path29, [
|
|
6908
|
-
{ letter: LATIN_LETTERS.M, type: "latinLetter" },
|
|
6909
|
-
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.MEM }
|
|
6910
|
-
]);
|
|
6911
|
-
tree.addLetters(path30, [
|
|
6912
|
-
{ letter: LATIN_LETTERS.TS, type: "latinLetter" },
|
|
6913
|
-
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" },
|
|
6914
|
-
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TSADI }
|
|
6915
|
-
]);
|
|
6916
|
-
tree.addLetters(path31, [
|
|
6917
|
-
{ letter: LATIN_LETTERS.K, type: "latinLetter" },
|
|
6918
|
-
{ letter: LATIN_LETTERS.Q, type: "latinLetter" },
|
|
6919
|
-
{ letter: LATIN_LETTERS.KH, type: "latinLetter" },
|
|
6920
|
-
{ letter: HEBREW_LETTERS.QOPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.QOPH }
|
|
6921
|
-
]);
|
|
6922
|
-
tree.addLetters(path32, [
|
|
6923
|
-
{ letter: LATIN_LETTERS.TH, type: "latinLetter" },
|
|
6924
|
-
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TAV }
|
|
6925
|
-
]);
|
|
6926
7434
|
return tree;
|
|
6927
7435
|
}
|
|
6928
7436
|
function unloadLurianicKabbalah(tree) {
|
|
6929
7437
|
const spheres = Object.values(SPHERES);
|
|
6930
7438
|
for (let i = 0; i < spheres.length; i++) {
|
|
6931
|
-
tree.removeNode(spheres[i]);
|
|
7439
|
+
tree.removeNode(id("sphere" /* SPHERE */, spheres[i]));
|
|
6932
7440
|
}
|
|
6933
7441
|
const paths = Object.values(LURIANIC_PATHS);
|
|
6934
7442
|
for (let i = 0; i < paths.length; i++) {
|
|
6935
|
-
tree.removeNode(
|
|
7443
|
+
tree.removeNode(id("path" /* PATH */, paths[i]));
|
|
6936
7444
|
}
|
|
6937
7445
|
}
|
|
6938
7446
|
var LOADERS3 = {
|
|
@@ -7115,6 +7623,9 @@ var TreeOfLife = class {
|
|
|
7115
7623
|
upsertNode(node) {
|
|
7116
7624
|
if (this.nodes.has(node.id)) {
|
|
7117
7625
|
const existingNode = this.nodes.get(node.id);
|
|
7626
|
+
if (existingNode.type !== node.type) {
|
|
7627
|
+
throw new Error("node with existing id but different type already exists");
|
|
7628
|
+
}
|
|
7118
7629
|
const updatedData = { ...existingNode.data, ...node.data };
|
|
7119
7630
|
this.nodes.set(node.id, { ...existingNode, data: updatedData });
|
|
7120
7631
|
return node.id;
|
|
@@ -7122,8 +7633,8 @@ var TreeOfLife = class {
|
|
|
7122
7633
|
this.nodes.set(node.id, node);
|
|
7123
7634
|
return node.id;
|
|
7124
7635
|
}
|
|
7125
|
-
getNode(
|
|
7126
|
-
return this.nodes.get(
|
|
7636
|
+
getNode(id2) {
|
|
7637
|
+
return this.nodes.get(id2);
|
|
7127
7638
|
}
|
|
7128
7639
|
getNodes() {
|
|
7129
7640
|
return [...this.nodes.values()];
|
|
@@ -7157,28 +7668,37 @@ var TreeOfLife = class {
|
|
|
7157
7668
|
* @param nodeType - the node type to filter the relations by
|
|
7158
7669
|
* @returns the current node and all its direct relations
|
|
7159
7670
|
*/
|
|
7160
|
-
related(
|
|
7161
|
-
if (!this.nodes.has(
|
|
7671
|
+
related(id2, nodeType) {
|
|
7672
|
+
if (!this.nodes.has(id2)) {
|
|
7162
7673
|
return [];
|
|
7163
7674
|
}
|
|
7164
|
-
const
|
|
7165
|
-
const relations = this.adjacent.get(id);
|
|
7675
|
+
const relations = this.adjacent.get(id2);
|
|
7166
7676
|
if (!relations) {
|
|
7167
|
-
return
|
|
7677
|
+
return [];
|
|
7168
7678
|
}
|
|
7169
|
-
const
|
|
7170
|
-
return nodeType ?
|
|
7679
|
+
const relatedNodes = [...relations].map((i) => this.nodes.get(i));
|
|
7680
|
+
return nodeType ? relatedNodes.filter((n) => n.type === nodeType) : relatedNodes;
|
|
7681
|
+
}
|
|
7682
|
+
/**
|
|
7683
|
+
* Sugar for `related(id, type)[0]`
|
|
7684
|
+
* @param id - the id of the node to get the related node for
|
|
7685
|
+
* @param type - the type of the node to get the related node for
|
|
7686
|
+
* @returns the related node
|
|
7687
|
+
*/
|
|
7688
|
+
relatedFirst(id2, type) {
|
|
7689
|
+
const related = this.related(id2, type);
|
|
7690
|
+
return related?.[0];
|
|
7171
7691
|
}
|
|
7172
7692
|
/**
|
|
7173
7693
|
* Gets all the types of nodes that are directly connected to the given node
|
|
7174
7694
|
* @param id - the id of the node to get related types for
|
|
7175
7695
|
* @returns array of node types that are directly connected
|
|
7176
7696
|
*/
|
|
7177
|
-
relatedTypes(
|
|
7178
|
-
if (!this.nodes.has(
|
|
7697
|
+
relatedTypes(id2) {
|
|
7698
|
+
if (!this.nodes.has(id2)) {
|
|
7179
7699
|
return [];
|
|
7180
7700
|
}
|
|
7181
|
-
return [...new Set([...this.adjacent.get(
|
|
7701
|
+
return [...new Set([...this.adjacent.get(id2).values()].map((nodeId) => this.nodes.get(nodeId).type))];
|
|
7182
7702
|
}
|
|
7183
7703
|
/**
|
|
7184
7704
|
* BFS up to depth k, optional type filter for the result set
|
|
@@ -7187,10 +7707,10 @@ var TreeOfLife = class {
|
|
|
7187
7707
|
* @param type - the type of the nodes to filter the result set by
|
|
7188
7708
|
* @returns the current node and all its extended relations
|
|
7189
7709
|
*/
|
|
7190
|
-
walk(
|
|
7191
|
-
const visitedNodes = /* @__PURE__ */ new Set([
|
|
7710
|
+
walk(id2, depth = 1, type) {
|
|
7711
|
+
const visitedNodes = /* @__PURE__ */ new Set([id2]);
|
|
7192
7712
|
const foundNodes = [];
|
|
7193
|
-
let queue = [[
|
|
7713
|
+
let queue = [[id2, 0]];
|
|
7194
7714
|
while (queue.length > 0) {
|
|
7195
7715
|
const [current, currentDepth] = queue.shift();
|
|
7196
7716
|
if (currentDepth >= depth) {
|
|
@@ -7202,8 +7722,8 @@ var TreeOfLife = class {
|
|
|
7202
7722
|
continue;
|
|
7203
7723
|
}
|
|
7204
7724
|
visitedNodes.add(neighbor);
|
|
7205
|
-
foundNodes.push(this.nodes.get(neighbor));
|
|
7206
7725
|
queue.push([neighbor, currentDepth + 1]);
|
|
7726
|
+
foundNodes.push(this.nodes.get(neighbor));
|
|
7207
7727
|
}
|
|
7208
7728
|
}
|
|
7209
7729
|
return type ? foundNodes.filter((n) => n.type === type) : foundNodes;
|
|
@@ -7212,40 +7732,36 @@ var TreeOfLife = class {
|
|
|
7212
7732
|
* Removes a node and all its relations from the graph, cleaning up adjacency sets.
|
|
7213
7733
|
* @param id - the id of the node to remove
|
|
7214
7734
|
*/
|
|
7215
|
-
removeNode(
|
|
7216
|
-
if (!this.nodes.has(
|
|
7217
|
-
const neighbors = this.adjacent.get(
|
|
7735
|
+
removeNode(id2) {
|
|
7736
|
+
if (!this.nodes.has(id2)) return;
|
|
7737
|
+
const neighbors = this.adjacent.get(id2);
|
|
7218
7738
|
if (neighbors) {
|
|
7219
7739
|
for (const neighbor of neighbors) {
|
|
7220
7740
|
const set = this.adjacent.get(neighbor);
|
|
7221
7741
|
if (!set) {
|
|
7222
7742
|
continue;
|
|
7223
7743
|
}
|
|
7224
|
-
set.delete(
|
|
7744
|
+
set.delete(id2);
|
|
7225
7745
|
if (set.size === 0) {
|
|
7226
7746
|
this.adjacent.delete(neighbor);
|
|
7227
|
-
} else {
|
|
7228
|
-
this.adjacent.set(neighbor, set);
|
|
7229
7747
|
}
|
|
7230
7748
|
}
|
|
7231
7749
|
}
|
|
7232
|
-
this.adjacent.delete(
|
|
7233
|
-
this.nodes.delete(
|
|
7750
|
+
this.adjacent.delete(id2);
|
|
7751
|
+
this.nodes.delete(id2);
|
|
7234
7752
|
}
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
if (
|
|
7244
|
-
|
|
7245
|
-
this.upsertNode(node);
|
|
7753
|
+
addNumber({
|
|
7754
|
+
number,
|
|
7755
|
+
nodeId
|
|
7756
|
+
}) {
|
|
7757
|
+
const numberId = this.upsertNode(new BaseNode({
|
|
7758
|
+
id: number,
|
|
7759
|
+
type: "number" /* NUMBER */
|
|
7760
|
+
}));
|
|
7761
|
+
if (nodeId) {
|
|
7762
|
+
this.link(nodeId, numberId);
|
|
7246
7763
|
}
|
|
7247
|
-
|
|
7248
|
-
return target;
|
|
7764
|
+
return numberId;
|
|
7249
7765
|
}
|
|
7250
7766
|
/**
|
|
7251
7767
|
* Adds a sphere (sephirah) to the tree with its Hebrew and English names
|
|
@@ -7253,17 +7769,18 @@ var TreeOfLife = class {
|
|
|
7253
7769
|
* @param data - the sphere's Hebrew and English names
|
|
7254
7770
|
* @returns the sphere's id
|
|
7255
7771
|
*/
|
|
7256
|
-
addSphere(
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
const
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7772
|
+
addSphere({
|
|
7773
|
+
sphere,
|
|
7774
|
+
data,
|
|
7775
|
+
relatedNumber
|
|
7776
|
+
}) {
|
|
7777
|
+
const sphereId = this.upsertNode(new BaseNode({
|
|
7778
|
+
id: sphere,
|
|
7779
|
+
type: "sphere" /* SPHERE */,
|
|
7780
|
+
data
|
|
7781
|
+
}));
|
|
7782
|
+
this.addNumber({ number: relatedNumber, nodeId: sphereId });
|
|
7783
|
+
return sphereId;
|
|
7267
7784
|
}
|
|
7268
7785
|
/**
|
|
7269
7786
|
* Adds a path between two spheres with its associated number
|
|
@@ -7272,116 +7789,97 @@ var TreeOfLife = class {
|
|
|
7272
7789
|
* @param relatedNumber - the number associated with this path
|
|
7273
7790
|
* @returns the path's id
|
|
7274
7791
|
*/
|
|
7275
|
-
addPath(
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7792
|
+
addPath({
|
|
7793
|
+
leftSphere,
|
|
7794
|
+
rightSphere,
|
|
7795
|
+
relatedNumber,
|
|
7796
|
+
data
|
|
7797
|
+
}) {
|
|
7798
|
+
const pathId = this.upsertNode(new BaseNode({
|
|
7799
|
+
id: relatedNumber,
|
|
7800
|
+
type: "path" /* PATH */,
|
|
7801
|
+
data: {
|
|
7802
|
+
...data ?? {},
|
|
7803
|
+
from: leftSphere,
|
|
7804
|
+
to: rightSphere
|
|
7805
|
+
}
|
|
7806
|
+
}));
|
|
7280
7807
|
const numberOfSpheres = 10;
|
|
7281
7808
|
const pathNumber = relatedNumber + numberOfSpheres;
|
|
7282
|
-
this.upsertNode({ id: pathId, type: "path", data });
|
|
7283
7809
|
this.link(leftSphere, pathId);
|
|
7284
7810
|
this.link(rightSphere, pathId);
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
if (!this.nodes.has(firstNumberId)) {
|
|
7288
|
-
this.upsertNode({ id: firstNumberId, type: "number" });
|
|
7289
|
-
}
|
|
7290
|
-
if (!this.nodes.has(secondNumberId)) {
|
|
7291
|
-
this.upsertNode({ id: secondNumberId, type: "number" });
|
|
7292
|
-
}
|
|
7293
|
-
this.link(pathId, firstNumberId);
|
|
7294
|
-
this.link(pathId, secondNumberId);
|
|
7811
|
+
this.addNumber({ number: relatedNumber, nodeId: pathId });
|
|
7812
|
+
this.addNumber({ number: pathNumber, nodeId: pathId });
|
|
7295
7813
|
return pathId;
|
|
7296
7814
|
}
|
|
7297
|
-
addLetters(
|
|
7815
|
+
addLetters({
|
|
7816
|
+
path,
|
|
7817
|
+
letters
|
|
7818
|
+
}) {
|
|
7298
7819
|
for (const letter of letters) {
|
|
7299
|
-
const letterId =
|
|
7300
|
-
|
|
7301
|
-
|
|
7820
|
+
const letterId = this.upsertNode(new BaseNode({
|
|
7821
|
+
id: letter.letter,
|
|
7822
|
+
type: letter.type,
|
|
7823
|
+
data: letter.data
|
|
7824
|
+
}));
|
|
7825
|
+
this.link(path, letterId);
|
|
7826
|
+
if (letter.type === "hebrewLetter" /* HEBREW_LETTER */) {
|
|
7302
7827
|
const data = letter.data;
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
this.
|
|
7828
|
+
if (!data) {
|
|
7829
|
+
continue;
|
|
7830
|
+
}
|
|
7831
|
+
this.addNumber({ number: data.gematriaValue, nodeId: letterId });
|
|
7832
|
+
if (data.gematriaValueWhenEnding) {
|
|
7833
|
+
this.addNumber({ number: data.gematriaValueWhenEnding, nodeId: letterId });
|
|
7309
7834
|
}
|
|
7310
7835
|
}
|
|
7311
7836
|
}
|
|
7312
7837
|
}
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
this.
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
const colorId = `color:${color}`;
|
|
7327
|
-
this.correspond(path, colorId, "color", data);
|
|
7328
|
-
return colorId;
|
|
7329
|
-
}
|
|
7330
|
-
addMusicalNote(id, note, data) {
|
|
7331
|
-
const noteId = `note:${note}`;
|
|
7332
|
-
this.correspond(id, noteId, "musicalNote", data);
|
|
7333
|
-
return noteId;
|
|
7334
|
-
}
|
|
7335
|
-
addWesternAstrologyPlanet(sphereOrPath, planet, data) {
|
|
7336
|
-
const planetId = `planet:${planet}`;
|
|
7337
|
-
this.correspond(sphereOrPath, planetId, "planet", data);
|
|
7338
|
-
return planetId;
|
|
7339
|
-
}
|
|
7340
|
-
addWesternAstrologySign(path, sign, data, relatedNumber) {
|
|
7341
|
-
const signId = `westernZodiacSign:${sign}`;
|
|
7342
|
-
this.correspond(path, signId, "westernZodiacSign", data);
|
|
7343
|
-
const numberId = `num:${relatedNumber}`;
|
|
7344
|
-
if (!this.nodes.has(numberId)) {
|
|
7345
|
-
this.upsertNode({ id: numberId, type: "number" });
|
|
7346
|
-
}
|
|
7347
|
-
this.link(signId, numberId);
|
|
7838
|
+
addWesternAstrologySign({
|
|
7839
|
+
path,
|
|
7840
|
+
sign,
|
|
7841
|
+
data,
|
|
7842
|
+
relatedNumber
|
|
7843
|
+
}) {
|
|
7844
|
+
const signId = this.upsertNode(new BaseNode({
|
|
7845
|
+
id: sign,
|
|
7846
|
+
type: "westernZodiacSign" /* WESTERN_ZODIAC_SIGN */,
|
|
7847
|
+
data
|
|
7848
|
+
}));
|
|
7849
|
+
this.link(path, signId);
|
|
7850
|
+
this.addNumber({ number: relatedNumber, nodeId: signId });
|
|
7348
7851
|
if (data.element) {
|
|
7349
|
-
const elementId =
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
}
|
|
7852
|
+
const elementId = this.upsertNode(new BaseNode({
|
|
7853
|
+
id: data.element,
|
|
7854
|
+
type: "westernElement" /* WESTERN_ELEMENT */
|
|
7855
|
+
}));
|
|
7353
7856
|
this.link(signId, elementId);
|
|
7354
7857
|
}
|
|
7355
7858
|
return signId;
|
|
7356
7859
|
}
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
this.
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
}
|
|
7369
|
-
this.link(
|
|
7860
|
+
addTarotArkAnnu({
|
|
7861
|
+
node,
|
|
7862
|
+
tarotArkAnnu,
|
|
7863
|
+
data,
|
|
7864
|
+
relatedNumber,
|
|
7865
|
+
suit
|
|
7866
|
+
}) {
|
|
7867
|
+
const tarotArkAnnuId = this.upsertNode(new BaseNode({
|
|
7868
|
+
id: tarotArkAnnu,
|
|
7869
|
+
type: "tarotArkAnnu" /* TAROT_ARK_ANNU */,
|
|
7870
|
+
data
|
|
7871
|
+
}));
|
|
7872
|
+
this.link(node, tarotArkAnnuId);
|
|
7873
|
+
this.addNumber({ number: relatedNumber, nodeId: tarotArkAnnuId });
|
|
7370
7874
|
if (suit) {
|
|
7371
|
-
this.
|
|
7875
|
+
const suitId = this.upsertNode(new BaseNode({
|
|
7876
|
+
id: suit,
|
|
7877
|
+
type: "tarotSuit" /* TAROT_SUIT */
|
|
7878
|
+
}));
|
|
7879
|
+
this.link(tarotArkAnnuId, suitId);
|
|
7372
7880
|
}
|
|
7373
7881
|
return tarotArkAnnuId;
|
|
7374
7882
|
}
|
|
7375
|
-
addTarotSuit(suit, relatedElement) {
|
|
7376
|
-
const suitId = `suit:${suit}`;
|
|
7377
|
-
this.upsertNode({ id: suitId, type: "tarotSuit" });
|
|
7378
|
-
const elementId = `westernElement:${relatedElement}`;
|
|
7379
|
-
if (!this.nodes.has(elementId)) {
|
|
7380
|
-
this.upsertNode({ id: elementId, type: "westernElement" });
|
|
7381
|
-
}
|
|
7382
|
-
this.link(suitId, `westernElement:${relatedElement}`);
|
|
7383
|
-
return suitId;
|
|
7384
|
-
}
|
|
7385
7883
|
};
|
|
7386
7884
|
|
|
7387
7885
|
// src/core/factory.ts
|
|
@@ -7398,6 +7896,15 @@ function createTree(opts = {
|
|
|
7398
7896
|
}
|
|
7399
7897
|
|
|
7400
7898
|
// src/gematria/index.ts
|
|
7899
|
+
var DIGRAPHS = /* @__PURE__ */ new Set([
|
|
7900
|
+
LATIN_LETTERS.PH,
|
|
7901
|
+
LATIN_LETTERS.TS,
|
|
7902
|
+
LATIN_LETTERS.TZ,
|
|
7903
|
+
LATIN_LETTERS.SH,
|
|
7904
|
+
LATIN_LETTERS.CH,
|
|
7905
|
+
LATIN_LETTERS.TH,
|
|
7906
|
+
LATIN_LETTERS.KH
|
|
7907
|
+
]);
|
|
7401
7908
|
var reduceToSingleDigitWithSteps = (num) => {
|
|
7402
7909
|
const steps = [num];
|
|
7403
7910
|
let currentNum = num;
|
|
@@ -7410,141 +7917,193 @@ var reduceToSingleDigitWithSteps = (num) => {
|
|
|
7410
7917
|
finalValue: currentNum
|
|
7411
7918
|
};
|
|
7412
7919
|
};
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7920
|
+
function normalizeLetter(letter) {
|
|
7921
|
+
if (letter.toUpperCase() === "\xC3") return "\xC3";
|
|
7922
|
+
if (letter.toUpperCase() === "\xC7") return "\xC7";
|
|
7923
|
+
return letter.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
|
|
7924
|
+
}
|
|
7925
|
+
function getLetterMapping({
|
|
7926
|
+
tree,
|
|
7927
|
+
letterId,
|
|
7928
|
+
isStarting
|
|
7929
|
+
}) {
|
|
7930
|
+
if (isStarting && parseId(letterId) === "O") {
|
|
7931
|
+
return tree.getNode(id("hebrewLetter" /* HEBREW_LETTER */, HEBREW_LETTERS.AYIN));
|
|
7419
7932
|
}
|
|
7420
|
-
|
|
7421
|
-
|
|
7933
|
+
return tree.walk(letterId, 2, "hebrewLetter" /* HEBREW_LETTER */).at(0);
|
|
7934
|
+
}
|
|
7935
|
+
function processLetter(tree, letters, i) {
|
|
7936
|
+
const letter = normalizeLetter(letters[i]).toLocaleUpperCase();
|
|
7937
|
+
const nextLetter = letters[i + 1] ? normalizeLetter(letters[i + 1]).toLocaleLowerCase() : "";
|
|
7938
|
+
const combinedLetter = letter + nextLetter;
|
|
7939
|
+
if (DIGRAPHS.has(combinedLetter)) {
|
|
7940
|
+
const isEnding2 = i > 0 && i === letters.length - 2;
|
|
7941
|
+
const latinLetterId2 = id("latinLetter" /* LATIN_LETTER */, combinedLetter);
|
|
7942
|
+
const mapping2 = getLetterMapping({ tree, letterId: latinLetterId2, isStarting: false });
|
|
7943
|
+
if (!mapping2?.data) {
|
|
7944
|
+
return { skipNext: false };
|
|
7945
|
+
}
|
|
7946
|
+
const useWhenEndingValue2 = isEnding2 && mapping2.data.gematriaValueWhenEnding !== void 0 && mapping2.data.characterWhenEnding !== void 0;
|
|
7947
|
+
return {
|
|
7948
|
+
result: {
|
|
7949
|
+
latinLetterId: latinLetterId2,
|
|
7950
|
+
value: useWhenEndingValue2 ? mapping2.data.gematriaValueWhenEnding : mapping2.data.gematriaValue,
|
|
7951
|
+
hebrewCharacter: useWhenEndingValue2 ? mapping2.data.characterWhenEnding : mapping2.data.character,
|
|
7952
|
+
hebrewLetterId: mapping2.id,
|
|
7953
|
+
isVowel: false
|
|
7954
|
+
},
|
|
7955
|
+
skipNext: true
|
|
7956
|
+
};
|
|
7422
7957
|
}
|
|
7423
|
-
const
|
|
7424
|
-
const
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7958
|
+
const isStarting = i === 0;
|
|
7959
|
+
const latinLetterId = id("latinLetter" /* LATIN_LETTER */, letter);
|
|
7960
|
+
const mapping = getLetterMapping({ tree, letterId: latinLetterId, isStarting });
|
|
7961
|
+
if (!mapping?.data) {
|
|
7962
|
+
return { skipNext: false };
|
|
7963
|
+
}
|
|
7964
|
+
const isEnding = i > 0 && i === letters.length - 1;
|
|
7965
|
+
const latinLetter = tree.getNode(latinLetterId);
|
|
7966
|
+
const useWhenEndingValue = isEnding && mapping.data.gematriaValueWhenEnding !== void 0 && mapping.data.characterWhenEnding !== void 0;
|
|
7967
|
+
return {
|
|
7968
|
+
result: {
|
|
7969
|
+
latinLetterId,
|
|
7970
|
+
value: useWhenEndingValue ? mapping.data.gematriaValueWhenEnding : mapping.data.gematriaValue,
|
|
7971
|
+
hebrewCharacter: useWhenEndingValue ? mapping.data.characterWhenEnding : mapping.data.character,
|
|
7972
|
+
hebrewLetterId: mapping.id,
|
|
7973
|
+
isVowel: latinLetter?.data?.isVowel ?? false
|
|
7974
|
+
},
|
|
7975
|
+
skipNext: false
|
|
7432
7976
|
};
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
consonantsSum += value;
|
|
7453
|
-
i++;
|
|
7454
|
-
continue;
|
|
7455
|
-
}
|
|
7456
|
-
}
|
|
7457
|
-
let mapping;
|
|
7458
|
-
const latinLetterId = `letter:${letter}`;
|
|
7459
|
-
const isStarting = i === 0;
|
|
7460
|
-
if (isStarting && letter === "O") {
|
|
7461
|
-
mapping = tree.getNode(`letter:${HEBREW_LETTERS.AYIN}`);
|
|
7462
|
-
} else {
|
|
7463
|
-
mapping = tree.walk(latinLetterId, 2, "hebrewLetter").at(0);
|
|
7464
|
-
}
|
|
7465
|
-
const isEnding = i > 0 && i === letters.length - 1;
|
|
7466
|
-
if (mapping?.data) {
|
|
7467
|
-
let value = mapping.data.gematriaValue;
|
|
7468
|
-
let hebrewCharacter = mapping.data.character;
|
|
7469
|
-
if (isEnding && mapping.data.gematriaValueWhenEnding !== void 0 && mapping.data.characterWhenEnding !== void 0) {
|
|
7470
|
-
value = mapping.data.gematriaValueWhenEnding;
|
|
7471
|
-
hebrewCharacter = mapping.data.characterWhenEnding;
|
|
7472
|
-
}
|
|
7473
|
-
includedGematriaValues.add(value);
|
|
7474
|
-
includedLetters.push({ latinLetterId, value, hebrewLetterId: mapping.id, hebrewCharacter, isVowel: isVowel(letter) });
|
|
7475
|
-
if (isVowel(letter)) {
|
|
7476
|
-
vowelsSum += value;
|
|
7477
|
-
} else {
|
|
7478
|
-
consonantsSum += value;
|
|
7479
|
-
}
|
|
7480
|
-
}
|
|
7977
|
+
}
|
|
7978
|
+
function processWord(word, tree) {
|
|
7979
|
+
const letters = word.split("");
|
|
7980
|
+
let i = 0;
|
|
7981
|
+
let wordState = {
|
|
7982
|
+
letters: [],
|
|
7983
|
+
vowelsSum: 0,
|
|
7984
|
+
consonantsSum: 0,
|
|
7985
|
+
includedGematriaValues: /* @__PURE__ */ new Set()
|
|
7986
|
+
};
|
|
7987
|
+
while (i < letters.length) {
|
|
7988
|
+
const { result, skipNext } = processLetter(tree, letters, i);
|
|
7989
|
+
if (result) {
|
|
7990
|
+
wordState = {
|
|
7991
|
+
letters: [...wordState.letters, result],
|
|
7992
|
+
vowelsSum: wordState.vowelsSum + (result.isVowel ? result.value : 0),
|
|
7993
|
+
consonantsSum: wordState.consonantsSum + (result.isVowel ? 0 : result.value),
|
|
7994
|
+
includedGematriaValues: /* @__PURE__ */ new Set([...wordState.includedGematriaValues, result.value])
|
|
7995
|
+
};
|
|
7481
7996
|
}
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7997
|
+
i += skipNext ? 2 : 1;
|
|
7998
|
+
}
|
|
7999
|
+
return wordState;
|
|
8000
|
+
}
|
|
8001
|
+
function calculateLetterPercentages(word, tree, prev) {
|
|
8002
|
+
const letters = word.split("");
|
|
8003
|
+
const letterCount = letters.length;
|
|
8004
|
+
let vowelsCount = 0;
|
|
8005
|
+
let consonantsCount = 0;
|
|
8006
|
+
const newLetters = { ...prev.letters };
|
|
8007
|
+
for (const letter of new Set(letters)) {
|
|
8008
|
+
const occurrences = letters.filter((l) => l === letter).length;
|
|
8009
|
+
const latinLetter = tree.getNode(id("latinLetter" /* LATIN_LETTER */, letter));
|
|
8010
|
+
newLetters[letter] = occurrences / letterCount * 100;
|
|
8011
|
+
if (latinLetter?.data?.isVowel) {
|
|
8012
|
+
vowelsCount += occurrences;
|
|
8013
|
+
} else {
|
|
8014
|
+
consonantsCount += occurrences;
|
|
7497
8015
|
}
|
|
7498
8016
|
}
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
8017
|
+
return {
|
|
8018
|
+
percentageOfVowels: vowelsCount / letterCount * 100,
|
|
8019
|
+
percentageOfConsonants: consonantsCount / letterCount * 100,
|
|
8020
|
+
letters: newLetters
|
|
8021
|
+
};
|
|
8022
|
+
}
|
|
8023
|
+
function getMissingGematriaValues(tree, includedGematriaValues) {
|
|
7504
8024
|
const missingGematriaValues = [];
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
hebrewLetterId,
|
|
7523
|
-
whenEnding: true
|
|
7524
|
-
});
|
|
7525
|
-
}
|
|
8025
|
+
for (const hebrewLetter of Object.values(HEBREW_LETTERS)) {
|
|
8026
|
+
const hebrewLetterId = id("hebrewLetter" /* HEBREW_LETTER */, hebrewLetter);
|
|
8027
|
+
const hebrewLetterNode = tree.getNode(hebrewLetterId);
|
|
8028
|
+
if (!hebrewLetterNode?.data) continue;
|
|
8029
|
+
if (!includedGematriaValues.has(hebrewLetterNode.data.gematriaValue)) {
|
|
8030
|
+
missingGematriaValues.push({
|
|
8031
|
+
value: hebrewLetterNode.data.gematriaValue,
|
|
8032
|
+
hebrewLetterId,
|
|
8033
|
+
whenEnding: false
|
|
8034
|
+
});
|
|
8035
|
+
}
|
|
8036
|
+
if (hebrewLetterNode.data.gematriaValueWhenEnding && !includedGematriaValues.has(hebrewLetterNode.data.gematriaValueWhenEnding)) {
|
|
8037
|
+
missingGematriaValues.push({
|
|
8038
|
+
value: hebrewLetterNode.data.gematriaValueWhenEnding,
|
|
8039
|
+
hebrewLetterId,
|
|
8040
|
+
whenEnding: true
|
|
8041
|
+
});
|
|
7526
8042
|
}
|
|
7527
|
-
missingGematriaValues.sort((a, b) => a.value - b.value);
|
|
7528
8043
|
}
|
|
8044
|
+
missingGematriaValues.sort((a, b) => a.value - b.value);
|
|
8045
|
+
return missingGematriaValues;
|
|
8046
|
+
}
|
|
8047
|
+
var calculateGematria = (phrase, options = {
|
|
8048
|
+
missing: false,
|
|
8049
|
+
percentages: false
|
|
8050
|
+
}, tree) => {
|
|
8051
|
+
if (!tree) {
|
|
8052
|
+
tree = createTree({ system: SYSTEM2, parts: [] });
|
|
8053
|
+
}
|
|
8054
|
+
const words = phrase.toUpperCase().trim().split(" ");
|
|
8055
|
+
const initialState = {
|
|
8056
|
+
includedLetters: [],
|
|
8057
|
+
vowelsSum: 0,
|
|
8058
|
+
consonantsSum: 0,
|
|
8059
|
+
includedGematriaValues: /* @__PURE__ */ new Set()
|
|
8060
|
+
};
|
|
8061
|
+
const finalState = words.reduce((state, word) => {
|
|
8062
|
+
const wordResult = processWord(word, tree);
|
|
8063
|
+
return {
|
|
8064
|
+
includedLetters: [...state.includedLetters, ...wordResult.letters],
|
|
8065
|
+
vowelsSum: state.vowelsSum + wordResult.vowelsSum,
|
|
8066
|
+
consonantsSum: state.consonantsSum + wordResult.consonantsSum,
|
|
8067
|
+
includedGematriaValues: /* @__PURE__ */ new Set([
|
|
8068
|
+
...Array.from(state.includedGematriaValues),
|
|
8069
|
+
...Array.from(wordResult.includedGematriaValues)
|
|
8070
|
+
])
|
|
8071
|
+
};
|
|
8072
|
+
}, initialState);
|
|
8073
|
+
let letterPercentages = {
|
|
8074
|
+
percentageOfVowels: 0,
|
|
8075
|
+
percentageOfConsonants: 0,
|
|
8076
|
+
letters: {}
|
|
8077
|
+
};
|
|
8078
|
+
if (options?.percentages) {
|
|
8079
|
+
letterPercentages = words.reduce((acc, word) => {
|
|
8080
|
+
return calculateLetterPercentages(word, tree, acc);
|
|
8081
|
+
}, letterPercentages);
|
|
8082
|
+
}
|
|
8083
|
+
;
|
|
8084
|
+
const vowelsReduction = reduceToSingleDigitWithSteps(finalState.vowelsSum);
|
|
8085
|
+
const consonantsReduction = reduceToSingleDigitWithSteps(finalState.consonantsSum);
|
|
8086
|
+
const synthesisReduction = reduceToSingleDigitWithSteps(finalState.vowelsSum + finalState.consonantsSum);
|
|
8087
|
+
const missingGematriaValues = options?.missing ? getMissingGematriaValues(tree, finalState.includedGematriaValues) : void 0;
|
|
7529
8088
|
return {
|
|
7530
8089
|
vowels: {
|
|
7531
|
-
originalSum: vowelsSum,
|
|
8090
|
+
originalSum: finalState.vowelsSum,
|
|
7532
8091
|
reductionSteps: vowelsReduction.steps,
|
|
7533
8092
|
finalValue: vowelsReduction.finalValue
|
|
7534
8093
|
},
|
|
7535
8094
|
consonants: {
|
|
7536
|
-
originalSum: consonantsSum,
|
|
8095
|
+
originalSum: finalState.consonantsSum,
|
|
7537
8096
|
reductionSteps: consonantsReduction.steps,
|
|
7538
8097
|
finalValue: consonantsReduction.finalValue
|
|
7539
8098
|
},
|
|
7540
8099
|
synthesis: {
|
|
7541
|
-
originalSum: vowelsSum + consonantsSum,
|
|
8100
|
+
originalSum: finalState.vowelsSum + finalState.consonantsSum,
|
|
7542
8101
|
reductionSteps: synthesisReduction.steps,
|
|
7543
8102
|
finalValue: synthesisReduction.finalValue
|
|
7544
8103
|
},
|
|
7545
|
-
includedLetters,
|
|
7546
|
-
missingGematriaValues
|
|
7547
|
-
letterPercentages: options?.
|
|
8104
|
+
includedLetters: finalState.includedLetters,
|
|
8105
|
+
missingGematriaValues,
|
|
8106
|
+
letterPercentages: options?.percentages ? letterPercentages : void 0
|
|
7548
8107
|
};
|
|
7549
8108
|
};
|
|
7550
8109
|
|
|
@@ -8502,32 +9061,20 @@ async function shuffleTarotDeck(cards, includeInvertedCards = false, shuffleCoun
|
|
|
8502
9061
|
}
|
|
8503
9062
|
export {
|
|
8504
9063
|
ARKANNUS,
|
|
8505
|
-
|
|
8506
|
-
COLORS_DATA,
|
|
9064
|
+
BaseNode,
|
|
8507
9065
|
CYCLE_MEANINGS,
|
|
8508
9066
|
CalcFlag,
|
|
8509
|
-
FOUR_WORLDS,
|
|
8510
|
-
HEBREW_LETTERS,
|
|
8511
|
-
HEBREW_LETTERS_DATA,
|
|
8512
9067
|
HouseSystem,
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
MUSICAL_NOTES_DATA,
|
|
8518
|
-
PLANETS,
|
|
9068
|
+
KaabalahTypes,
|
|
9069
|
+
LetterTypes,
|
|
9070
|
+
MiscTypes,
|
|
9071
|
+
NumerologyTypes,
|
|
8519
9072
|
Planet,
|
|
8520
|
-
SPHERES,
|
|
8521
|
-
SPHERES_DATA,
|
|
8522
9073
|
SYSTEMS,
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
TAROT_DECKS,
|
|
8526
|
-
TAROT_SUITS,
|
|
9074
|
+
TantraTypes,
|
|
9075
|
+
TarotTypes,
|
|
8527
9076
|
TreeOfLife,
|
|
8528
|
-
|
|
8529
|
-
WESTERN_ZODIAC_SIGNS,
|
|
8530
|
-
WESTERN_ZODIAC_SIGNS_DATA,
|
|
9077
|
+
WesternAstrologyTypes,
|
|
8531
9078
|
calculateCycles,
|
|
8532
9079
|
calculateGematria,
|
|
8533
9080
|
calculateLifePath,
|
|
@@ -8537,7 +9084,9 @@ export {
|
|
|
8537
9084
|
getBirthChart,
|
|
8538
9085
|
getSwissEph,
|
|
8539
9086
|
getZodiacPosition,
|
|
9087
|
+
id,
|
|
8540
9088
|
majorArcana,
|
|
9089
|
+
parseId,
|
|
8541
9090
|
shuffleTarotDeck
|
|
8542
9091
|
};
|
|
8543
9092
|
//# sourceMappingURL=index.mjs.map
|