kaabalah 2.1.1 → 2.1.3
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/{chunk-S3BZNG6Y.mjs → chunk-3LUQXNH6.mjs} +17 -17
- package/dist/chunk-3LUQXNH6.mjs.map +1 -0
- package/dist/{chunk-ZH3SBEH6.mjs → chunk-5ISXTWFX.mjs} +9 -4
- package/dist/chunk-5ISXTWFX.mjs.map +1 -0
- package/dist/{chunk-L3TS24DH.js → chunk-7CAIYKIO.js} +17 -17
- package/dist/chunk-7CAIYKIO.js.map +1 -0
- package/dist/{chunk-Y4DMTARN.js → chunk-JJ76YVMI.js} +24 -19
- package/dist/chunk-JJ76YVMI.js.map +1 -0
- package/dist/core/index.js +36 -36
- package/dist/core/index.mjs +1 -1
- package/dist/gematria/index.js +3 -3
- package/dist/gematria/index.mjs +2 -2
- package/dist/index.js +38 -38
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-L3TS24DH.js.map +0 -1
- package/dist/chunk-S3BZNG6Y.mjs.map +0 -1
- package/dist/chunk-Y4DMTARN.js.map +0 -1
- package/dist/chunk-ZH3SBEH6.mjs.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7CAIYKIO_js = require('./chunk-7CAIYKIO.js');
|
|
4
4
|
|
|
5
5
|
// src/gematria/index.ts
|
|
6
6
|
var DIGRAPHS = /* @__PURE__ */ new Set([
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
chunk7CAIYKIO_js.LATIN_LETTERS.PH,
|
|
8
|
+
chunk7CAIYKIO_js.LATIN_LETTERS.TS,
|
|
9
|
+
chunk7CAIYKIO_js.LATIN_LETTERS.TZ,
|
|
10
|
+
chunk7CAIYKIO_js.LATIN_LETTERS.SH,
|
|
11
|
+
chunk7CAIYKIO_js.LATIN_LETTERS.CH,
|
|
12
|
+
chunk7CAIYKIO_js.LATIN_LETTERS.TH,
|
|
13
|
+
chunk7CAIYKIO_js.LATIN_LETTERS.KH
|
|
14
14
|
]);
|
|
15
15
|
var reduceToSingleDigitWithSteps = (num) => {
|
|
16
16
|
const steps = [num];
|
|
@@ -24,6 +24,11 @@ var reduceToSingleDigitWithSteps = (num) => {
|
|
|
24
24
|
finalValue: currentNum
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
+
var getLastArkAnnuStep = (steps) => {
|
|
28
|
+
if (steps.length === 0) return 0;
|
|
29
|
+
const step = steps.sort((a, b) => b - a).find((step2) => step2 <= 22);
|
|
30
|
+
return step ?? steps.at(-1) ?? 0;
|
|
31
|
+
};
|
|
27
32
|
function normalizeLetter(letter) {
|
|
28
33
|
if (letter.toUpperCase() === "\xC3") return "\xC3";
|
|
29
34
|
if (letter.toUpperCase() === "\xC7") return "\xC7";
|
|
@@ -34,8 +39,8 @@ function getLetterMapping({
|
|
|
34
39
|
letterId,
|
|
35
40
|
isStarting
|
|
36
41
|
}) {
|
|
37
|
-
if (isStarting &&
|
|
38
|
-
return tree.getNode(
|
|
42
|
+
if (isStarting && chunk7CAIYKIO_js.parseId(letterId) === "O") {
|
|
43
|
+
return tree.getNode(chunk7CAIYKIO_js.id("hebrewLetter" /* HEBREW_LETTER */, chunk7CAIYKIO_js.HEBREW_LETTERS.AYIN));
|
|
39
44
|
}
|
|
40
45
|
return tree.walk(letterId, 2, "hebrewLetter" /* HEBREW_LETTER */).at(0);
|
|
41
46
|
}
|
|
@@ -45,7 +50,7 @@ function processLetter(tree, letters, i) {
|
|
|
45
50
|
const combinedLetter = letter + nextLetter;
|
|
46
51
|
if (DIGRAPHS.has(combinedLetter)) {
|
|
47
52
|
const isEnding2 = i > 0 && i === letters.length - 2;
|
|
48
|
-
const latinLetterId2 =
|
|
53
|
+
const latinLetterId2 = chunk7CAIYKIO_js.id("latinLetter" /* LATIN_LETTER */, combinedLetter);
|
|
49
54
|
const mapping2 = getLetterMapping({
|
|
50
55
|
tree,
|
|
51
56
|
letterId: latinLetterId2,
|
|
@@ -67,7 +72,7 @@ function processLetter(tree, letters, i) {
|
|
|
67
72
|
};
|
|
68
73
|
}
|
|
69
74
|
const isStarting = i === 0;
|
|
70
|
-
const latinLetterId =
|
|
75
|
+
const latinLetterId = chunk7CAIYKIO_js.id("latinLetter" /* LATIN_LETTER */, letter);
|
|
71
76
|
const mapping = getLetterMapping({
|
|
72
77
|
tree,
|
|
73
78
|
letterId: latinLetterId,
|
|
@@ -124,7 +129,7 @@ function calculateLetterPercentages(word, tree, prev) {
|
|
|
124
129
|
const newLetters = { ...prev.letters };
|
|
125
130
|
for (const letter of new Set(letters)) {
|
|
126
131
|
const occurrences = letters.filter((l) => l === letter).length;
|
|
127
|
-
const latinLetter = tree.getNode(
|
|
132
|
+
const latinLetter = tree.getNode(chunk7CAIYKIO_js.id("latinLetter" /* LATIN_LETTER */, letter));
|
|
128
133
|
newLetters[letter] = occurrences / letterCount * 100;
|
|
129
134
|
if (latinLetter?.data?.isVowel) {
|
|
130
135
|
vowelsCount += occurrences;
|
|
@@ -140,8 +145,8 @@ function calculateLetterPercentages(word, tree, prev) {
|
|
|
140
145
|
}
|
|
141
146
|
function getMissingGematriaValues(tree, includedGematriaValues) {
|
|
142
147
|
const missingGematriaValues = [];
|
|
143
|
-
for (const hebrewLetter of Object.values(
|
|
144
|
-
const hebrewLetterId =
|
|
148
|
+
for (const hebrewLetter of Object.values(chunk7CAIYKIO_js.HEBREW_LETTERS)) {
|
|
149
|
+
const hebrewLetterId = chunk7CAIYKIO_js.id("hebrewLetter" /* HEBREW_LETTER */, hebrewLetter);
|
|
145
150
|
const hebrewLetterNode = tree.getNode(hebrewLetterId);
|
|
146
151
|
if (!hebrewLetterNode?.data) continue;
|
|
147
152
|
if (!includedGematriaValues.has(hebrewLetterNode.data.gematriaValue)) {
|
|
@@ -167,7 +172,7 @@ var calculateGematria = (phrase, options = {
|
|
|
167
172
|
percentages: false
|
|
168
173
|
}, tree) => {
|
|
169
174
|
if (!tree) {
|
|
170
|
-
tree =
|
|
175
|
+
tree = chunk7CAIYKIO_js.createTree({ system: chunk7CAIYKIO_js.SYSTEM, parts: [] });
|
|
171
176
|
}
|
|
172
177
|
const words = phrase.toUpperCase().trim().split(" ");
|
|
173
178
|
const initialState = {
|
|
@@ -203,7 +208,7 @@ var calculateGematria = (phrase, options = {
|
|
|
203
208
|
finalState.consonantsSum
|
|
204
209
|
);
|
|
205
210
|
const synthesisReduction = reduceToSingleDigitWithSteps(
|
|
206
|
-
|
|
211
|
+
getLastArkAnnuStep(vowelsReduction.steps) + getLastArkAnnuStep(consonantsReduction.steps)
|
|
207
212
|
);
|
|
208
213
|
const missingGematriaValues = options?.missing ? getMissingGematriaValues(tree, finalState.includedGematriaValues) : void 0;
|
|
209
214
|
return {
|
|
@@ -229,5 +234,5 @@ var calculateGematria = (phrase, options = {
|
|
|
229
234
|
};
|
|
230
235
|
|
|
231
236
|
exports.calculateGematria = calculateGematria;
|
|
232
|
-
//# sourceMappingURL=chunk-
|
|
233
|
-
//# sourceMappingURL=chunk-
|
|
237
|
+
//# sourceMappingURL=chunk-JJ76YVMI.js.map
|
|
238
|
+
//# sourceMappingURL=chunk-JJ76YVMI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/gematria/index.ts"],"names":["LATIN_LETTERS","step","parseId","id","HEBREW_LETTERS","isEnding","latinLetterId","mapping","useWhenEndingValue","createTree","SYSTEM"],"mappings":";;;;;AAMA,IAAM,QAAA,uBAAe,GAAY,CAAA;AAAA,EAC/BA,8BAAc,CAAA,EAAA;AAAA,EACdA,8BAAc,CAAA,EAAA;AAAA,EACdA,8BAAc,CAAA,EAAA;AAAA,EACdA,8BAAc,CAAA,EAAA;AAAA,EACdA,8BAAc,CAAA,EAAA;AAAA,EACdA,8BAAc,CAAA,EAAA;AAAA,EACdA,8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AA,MACN,aAAa,UAAW,CAAA,SAAA;AAAA,MACxB,gBAAgB,eAAgB,CAAA,KAAA;AAAA,MAChC,YAAY,eAAgB,CAAA;AAAA,KAC9B;AAAA,IACA,UAAY,EAAA;AAAA,MACV,aAAa,UAAW,CAAA,aAAA;AAAA,MACxB,gBAAgB,mBAAoB,CAAA,KAAA;AAAA,MACpC,YAAY,mBAAoB,CAAA;AAAA,KAClC;AAAA,IACA,SAAW,EAAA;AAAA,MACT,WAAA,EAAa,UAAW,CAAA,SAAA,GAAY,UAAW,CAAA,aAAA;AAAA,MAC/C,gBAAgB,kBAAmB,CAAA,KAAA;AAAA,MACnC,YAAY,kBAAmB,CAAA;AAAA,KACjC;AAAA,IACA,iBAAiB,UAAW,CAAA,eAAA;AAAA,IAC5B,qBAAA;AAAA,IACA,iBAAA,EAAmB,OAAS,EAAA,WAAA,GAAc,iBAAoB,GAAA;AAAA,GAChE;AACF","file":"chunk-JJ76YVMI.js","sourcesContent":["import { HEBREW_LETTERS, LATIN_LETTERS } from \"../core/constants\";\nimport { createTree } from \"../core/factory\";\nimport { SYSTEM as KAABALAH_SYSTEM } from \"../core/systems/kaabalah\";\nimport { TreeOfLife } from \"../core/tree-of-life\";\nimport { id, LetterTypes, Node, NodeId, parseId } from \"../core/types\";\n\nconst DIGRAPHS = new Set<string>([\n LATIN_LETTERS.PH,\n LATIN_LETTERS.TS,\n LATIN_LETTERS.TZ,\n LATIN_LETTERS.SH,\n LATIN_LETTERS.CH,\n LATIN_LETTERS.TH,\n LATIN_LETTERS.KH,\n]);\n\nconst reduceToSingleDigitWithSteps = (num: number) => {\n const steps = [num];\n let currentNum = num;\n\n while (currentNum > 9) {\n currentNum = String(currentNum)\n .split(\"\")\n .reduce((acc, digit) => acc + parseInt(digit), 0);\n steps.push(currentNum);\n }\n\n return {\n steps,\n finalValue: currentNum,\n };\n};\n\nconst getLastArkAnnuStep = (steps: number[]) => {\n if (steps.length === 0) return 0;\n\n // reverse sort to get the last step\n const step = steps.sort((a, b) => b - a).find((step) => step <= 22);\n\n return step ?? steps.at(-1) ?? 0;\n}\n\ninterface LetterResult {\n latinLetterId: NodeId<LetterTypes.LATIN_LETTER>;\n value: number;\n hebrewLetterId: NodeId<LetterTypes.HEBREW_LETTER>;\n hebrewCharacter: string;\n isVowel: boolean;\n}\n\ninterface WordResult {\n letters: LetterResult[];\n vowelsSum: number;\n consonantsSum: number;\n includedGematriaValues: Set<number>;\n}\n\ninterface GematriaState {\n includedLetters: LetterResult[];\n vowelsSum: number;\n consonantsSum: number;\n includedGematriaValues: Set<number>;\n}\n\ninterface LetterPercentages {\n percentageOfVowels: number;\n percentageOfConsonants: number;\n letters: Record<string, number>;\n}\n\nfunction normalizeLetter(letter: string): string {\n if (letter.toUpperCase() === \"Ã\") return \"Ã\";\n if (letter.toUpperCase() === \"Ç\") return \"Ç\";\n\n return letter.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\");\n}\n\nfunction getLetterMapping({\n tree,\n letterId,\n isStarting,\n}: {\n tree: TreeOfLife;\n letterId: NodeId<LetterTypes.LATIN_LETTER>;\n isStarting: boolean;\n}): Node<LetterTypes.HEBREW_LETTER> | undefined {\n if (isStarting && parseId(letterId) === \"O\") {\n return tree.getNode(id(LetterTypes.HEBREW_LETTER, HEBREW_LETTERS.AYIN));\n }\n\n return tree.walk(letterId, 2, LetterTypes.HEBREW_LETTER).at(0);\n}\n\nfunction processLetter(\n tree: TreeOfLife,\n letters: string[],\n i: number\n): { result?: LetterResult; skipNext: boolean } {\n const letter = normalizeLetter(letters[i]).toLocaleUpperCase();\n const nextLetter = letters[i + 1]\n ? normalizeLetter(letters[i + 1]).toLocaleLowerCase()\n : \"\";\n const combinedLetter = letter + nextLetter;\n\n if (DIGRAPHS.has(combinedLetter)) {\n const isEnding = i > 0 && i === letters.length - 2;\n const latinLetterId = id(LetterTypes.LATIN_LETTER, combinedLetter);\n const mapping = getLetterMapping({\n tree,\n letterId: latinLetterId,\n isStarting: false,\n });\n\n if (!mapping?.data) {\n return { skipNext: false };\n }\n\n const useWhenEndingValue =\n isEnding &&\n mapping.data.gematriaValueWhenEnding !== undefined &&\n mapping.data.characterWhenEnding !== undefined;\n\n return {\n result: {\n latinLetterId,\n value: useWhenEndingValue\n ? mapping.data.gematriaValueWhenEnding!\n : mapping.data.gematriaValue,\n hebrewCharacter: useWhenEndingValue\n ? mapping.data.characterWhenEnding!\n : mapping.data.character,\n hebrewLetterId: mapping.id,\n isVowel: false,\n },\n skipNext: true,\n };\n }\n\n const isStarting = i === 0;\n const latinLetterId = id(LetterTypes.LATIN_LETTER, letter);\n const mapping = getLetterMapping({\n tree,\n letterId: latinLetterId,\n isStarting,\n });\n\n if (!mapping?.data) {\n return { skipNext: false };\n }\n\n const isEnding = i > 0 && i === letters.length - 1;\n const latinLetter = tree.getNode(latinLetterId);\n const useWhenEndingValue =\n isEnding &&\n mapping.data.gematriaValueWhenEnding !== undefined &&\n mapping.data.characterWhenEnding !== undefined;\n\n return {\n result: {\n latinLetterId,\n value: useWhenEndingValue\n ? mapping.data.gematriaValueWhenEnding!\n : mapping.data.gematriaValue,\n hebrewCharacter: useWhenEndingValue\n ? mapping.data.characterWhenEnding!\n : mapping.data.character,\n hebrewLetterId: mapping.id,\n isVowel: latinLetter?.data?.isVowel ?? false,\n },\n skipNext: false,\n };\n}\n\nfunction processWord(word: string, tree: TreeOfLife): WordResult {\n const letters = word.split(\"\");\n let i = 0;\n\n let wordState: WordResult = {\n letters: [],\n vowelsSum: 0,\n consonantsSum: 0,\n includedGematriaValues: new Set(),\n };\n\n while (i < letters.length) {\n const { result, skipNext } = processLetter(tree, letters, i);\n\n if (result) {\n wordState = {\n letters: [...wordState.letters, result],\n vowelsSum: wordState.vowelsSum + (result.isVowel ? result.value : 0),\n consonantsSum:\n wordState.consonantsSum + (result.isVowel ? 0 : result.value),\n includedGematriaValues: new Set([\n ...wordState.includedGematriaValues,\n result.value,\n ]),\n };\n }\n\n i += skipNext ? 2 : 1;\n }\n\n return wordState;\n}\n\nfunction calculateLetterPercentages(\n word: string,\n tree: TreeOfLife,\n prev: LetterPercentages\n): LetterPercentages {\n const letters = word.split(\"\");\n const letterCount = letters.length;\n\n let vowelsCount = 0;\n let consonantsCount = 0;\n\n const newLetters = { ...prev.letters };\n\n for (const letter of new Set(letters)) {\n const occurrences = letters.filter((l) => l === letter).length;\n const latinLetter = tree.getNode(id(LetterTypes.LATIN_LETTER, letter));\n newLetters[letter] = (occurrences / letterCount) * 100;\n\n if (latinLetter?.data?.isVowel) {\n vowelsCount += occurrences;\n } else {\n consonantsCount += occurrences;\n }\n }\n return {\n percentageOfVowels: (vowelsCount / letterCount) * 100,\n percentageOfConsonants: (consonantsCount / letterCount) * 100,\n letters: newLetters,\n };\n}\n\nfunction getMissingGematriaValues(\n tree: TreeOfLife,\n includedGematriaValues: Set<number>\n) {\n const missingGematriaValues: {\n value: number;\n hebrewLetterId: NodeId<LetterTypes.HEBREW_LETTER>;\n whenEnding: boolean;\n }[] = [];\n\n for (const hebrewLetter of Object.values(HEBREW_LETTERS)) {\n const hebrewLetterId = id(LetterTypes.HEBREW_LETTER, hebrewLetter);\n const hebrewLetterNode = tree.getNode(hebrewLetterId);\n\n if (!hebrewLetterNode?.data) continue;\n\n if (!includedGematriaValues.has(hebrewLetterNode.data.gematriaValue)) {\n missingGematriaValues.push({\n value: hebrewLetterNode.data.gematriaValue,\n hebrewLetterId,\n whenEnding: false,\n });\n }\n\n if (\n hebrewLetterNode.data.gematriaValueWhenEnding &&\n !includedGematriaValues.has(hebrewLetterNode.data.gematriaValueWhenEnding)\n ) {\n missingGematriaValues.push({\n value: hebrewLetterNode.data.gematriaValueWhenEnding,\n hebrewLetterId,\n whenEnding: true,\n });\n }\n }\n\n missingGematriaValues.sort((a, b) => a.value - b.value);\n\n return missingGematriaValues;\n}\n\nexport const calculateGematria = (\n phrase: string,\n options: {\n missing?: boolean;\n percentages?: boolean;\n } = {\n missing: false,\n percentages: false,\n },\n tree?: TreeOfLife\n) => {\n if (!tree) {\n // todo: study the possibility of pre-calculating the mappings\n tree = createTree({ system: KAABALAH_SYSTEM, parts: [] });\n }\n const words = phrase.toUpperCase().trim().split(\" \");\n\n const initialState: GematriaState = {\n includedLetters: [],\n vowelsSum: 0,\n consonantsSum: 0,\n includedGematriaValues: new Set(),\n };\n\n const finalState = words.reduce<GematriaState>((state, word) => {\n const wordResult = processWord(word, tree);\n\n return {\n includedLetters: [...state.includedLetters, ...wordResult.letters],\n vowelsSum: state.vowelsSum + wordResult.vowelsSum,\n consonantsSum: state.consonantsSum + wordResult.consonantsSum,\n includedGematriaValues: new Set([\n ...Array.from(state.includedGematriaValues),\n ...Array.from(wordResult.includedGematriaValues),\n ]),\n };\n }, initialState);\n\n let letterPercentages: LetterPercentages = {\n percentageOfVowels: 0,\n percentageOfConsonants: 0,\n letters: {},\n };\n\n if (options?.percentages) {\n letterPercentages = words.reduce<LetterPercentages>((acc, word) => {\n return calculateLetterPercentages(word, tree, acc);\n }, letterPercentages);\n }\n\n const vowelsReduction = reduceToSingleDigitWithSteps(finalState.vowelsSum);\n const consonantsReduction = reduceToSingleDigitWithSteps(\n finalState.consonantsSum\n );\n const synthesisReduction = reduceToSingleDigitWithSteps(\n getLastArkAnnuStep(vowelsReduction.steps) + getLastArkAnnuStep(consonantsReduction.steps)\n );\n\n const missingGematriaValues = options?.missing\n ? getMissingGematriaValues(tree, finalState.includedGematriaValues)\n : undefined;\n\n return {\n vowels: {\n originalSum: finalState.vowelsSum,\n reductionSteps: vowelsReduction.steps,\n finalValue: vowelsReduction.finalValue,\n },\n consonants: {\n originalSum: finalState.consonantsSum,\n reductionSteps: consonantsReduction.steps,\n finalValue: consonantsReduction.finalValue,\n },\n synthesis: {\n originalSum: finalState.vowelsSum + finalState.consonantsSum,\n reductionSteps: synthesisReduction.steps,\n finalValue: synthesisReduction.finalValue,\n },\n includedLetters: finalState.includedLetters,\n missingGematriaValues,\n letterPercentages: options?.percentages ? letterPercentages : undefined,\n };\n};\n"]}
|
package/dist/core/index.js
CHANGED
|
@@ -1,150 +1,150 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-AD7T42HJ.js');
|
|
4
|
-
var
|
|
4
|
+
var chunk7CAIYKIO_js = require('../chunk-7CAIYKIO.js');
|
|
5
5
|
require('../chunk-2TUXWMP5.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "BaseNode", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk7CAIYKIO_js.BaseNode; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "COLORS", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk7CAIYKIO_js.COLORS; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "COLORS_DATA", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk7CAIYKIO_js.COLORS_DATA; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "FOUR_WORLDS", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk7CAIYKIO_js.FOUR_WORLDS; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "FOUR_WORLDS_DATA", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk7CAIYKIO_js.FOUR_WORLDS_DATA; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "HEBREW_LETTERS", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk7CAIYKIO_js.HEBREW_LETTERS; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "HEBREW_LETTERS_DATA", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk7CAIYKIO_js.HEBREW_LETTERS_DATA; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "KaabalahTypes", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk7CAIYKIO_js.KaabalahTypes; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "LATIN_LETTERS", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk7CAIYKIO_js.LATIN_LETTERS; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "LATIN_LETTERS_DATA", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk7CAIYKIO_js.LATIN_LETTERS_DATA; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "LURIANIC_PATHS", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk7CAIYKIO_js.LURIANIC_PATHS; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "LetterTypes", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk7CAIYKIO_js.LetterTypes; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "MELKITZEDEKI_PATHS", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk7CAIYKIO_js.MELKITZEDEKI_PATHS; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "MUSICAL_NOTES", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk7CAIYKIO_js.MUSICAL_NOTES; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "MUSICAL_NOTES_DATA", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk7CAIYKIO_js.MUSICAL_NOTES_DATA; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "MiscTypes", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk7CAIYKIO_js.MiscTypes; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "NumerologyTypes", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk7CAIYKIO_js.NumerologyTypes; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "PLANETS", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk7CAIYKIO_js.PLANETS; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "SPHERES", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk7CAIYKIO_js.SPHERES; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "SPHERES_DATA", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk7CAIYKIO_js.SPHERES_DATA; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "SYSTEMS", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk7CAIYKIO_js.SYSTEMS; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "TAROT_ARKANNUS", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_ARKANNUS; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "TAROT_ARKANNUS_DATA", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_ARKANNUS_DATA; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "TAROT_DECKS", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_DECKS; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "TAROT_SUITS", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_SUITS; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "TantraTypes", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk7CAIYKIO_js.TantraTypes; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "TarotTypes", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk7CAIYKIO_js.TarotTypes; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "TreeOfLife", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk7CAIYKIO_js.TreeOfLife; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "WESTERN_ELEMENTS", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk7CAIYKIO_js.WESTERN_ELEMENTS; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "WESTERN_ZODIAC_SIGNS", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk7CAIYKIO_js.WESTERN_ZODIAC_SIGNS; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "WESTERN_ZODIAC_SIGNS_DATA", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk7CAIYKIO_js.WESTERN_ZODIAC_SIGNS_DATA; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "WesternAstrologyTypes", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk7CAIYKIO_js.WesternAstrologyTypes; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "createTree", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk7CAIYKIO_js.createTree; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "id", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk7CAIYKIO_js.id; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "parseId", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunk7CAIYKIO_js.parseId; }
|
|
148
148
|
});
|
|
149
149
|
//# sourceMappingURL=index.js.map
|
|
150
150
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-RFSO3JRG.mjs';
|
|
2
|
-
export { BaseNode, COLORS, COLORS_DATA, FOUR_WORLDS, FOUR_WORLDS_DATA, HEBREW_LETTERS, HEBREW_LETTERS_DATA, KaabalahTypes, LATIN_LETTERS, LATIN_LETTERS_DATA, LURIANIC_PATHS, LetterTypes, MELKITZEDEKI_PATHS, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ELEMENTS, WESTERN_ZODIAC_SIGNS, WESTERN_ZODIAC_SIGNS_DATA, WesternAstrologyTypes, createTree, id, parseId } from '../chunk-
|
|
2
|
+
export { BaseNode, COLORS, COLORS_DATA, FOUR_WORLDS, FOUR_WORLDS_DATA, HEBREW_LETTERS, HEBREW_LETTERS_DATA, KaabalahTypes, LATIN_LETTERS, LATIN_LETTERS_DATA, LURIANIC_PATHS, LetterTypes, MELKITZEDEKI_PATHS, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ELEMENTS, WESTERN_ZODIAC_SIGNS, WESTERN_ZODIAC_SIGNS_DATA, WesternAstrologyTypes, createTree, id, parseId } from '../chunk-3LUQXNH6.mjs';
|
|
3
3
|
import '../chunk-PY5SMMJB.mjs';
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
package/dist/gematria/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkJJ76YVMI_js = require('../chunk-JJ76YVMI.js');
|
|
4
|
+
require('../chunk-7CAIYKIO.js');
|
|
5
5
|
require('../chunk-2TUXWMP5.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "calculateGematria", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkJJ76YVMI_js.calculateGematria; }
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
package/dist/gematria/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { calculateGematria } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { calculateGematria } from '../chunk-5ISXTWFX.mjs';
|
|
2
|
+
import '../chunk-3LUQXNH6.mjs';
|
|
3
3
|
import '../chunk-PY5SMMJB.mjs';
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkSZXDOHKV_js = require('./chunk-SZXDOHKV.js');
|
|
4
4
|
require('./chunk-AD7T42HJ.js');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkJJ76YVMI_js = require('./chunk-JJ76YVMI.js');
|
|
6
|
+
var chunk7CAIYKIO_js = require('./chunk-7CAIYKIO.js');
|
|
7
7
|
var chunkRGMSQCP5_js = require('./chunk-RGMSQCP5.js');
|
|
8
8
|
var chunkUXQDJUG6_js = require('./chunk-UXQDJUG6.js');
|
|
9
9
|
require('./chunk-2TUXWMP5.js');
|
|
@@ -44,147 +44,147 @@ Object.defineProperty(exports, "getZodiacPosition", {
|
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "calculateGematria", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkJJ76YVMI_js.calculateGematria; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "BaseNode", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk7CAIYKIO_js.BaseNode; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "COLORS", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk7CAIYKIO_js.COLORS; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "COLORS_DATA", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk7CAIYKIO_js.COLORS_DATA; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "FOUR_WORLDS", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk7CAIYKIO_js.FOUR_WORLDS; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "FOUR_WORLDS_DATA", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk7CAIYKIO_js.FOUR_WORLDS_DATA; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "HEBREW_LETTERS", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk7CAIYKIO_js.HEBREW_LETTERS; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "HEBREW_LETTERS_DATA", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk7CAIYKIO_js.HEBREW_LETTERS_DATA; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "KaabalahTypes", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk7CAIYKIO_js.KaabalahTypes; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "LATIN_LETTERS", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk7CAIYKIO_js.LATIN_LETTERS; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "LATIN_LETTERS_DATA", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk7CAIYKIO_js.LATIN_LETTERS_DATA; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "LURIANIC_PATHS", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk7CAIYKIO_js.LURIANIC_PATHS; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "LetterTypes", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk7CAIYKIO_js.LetterTypes; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "MELKITZEDEKI_PATHS", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk7CAIYKIO_js.MELKITZEDEKI_PATHS; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "MUSICAL_NOTES", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk7CAIYKIO_js.MUSICAL_NOTES; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "MUSICAL_NOTES_DATA", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk7CAIYKIO_js.MUSICAL_NOTES_DATA; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "MiscTypes", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk7CAIYKIO_js.MiscTypes; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "NumerologyTypes", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk7CAIYKIO_js.NumerologyTypes; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "PLANETS", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk7CAIYKIO_js.PLANETS; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "SPHERES", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk7CAIYKIO_js.SPHERES; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "SPHERES_DATA", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk7CAIYKIO_js.SPHERES_DATA; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "SYSTEMS", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk7CAIYKIO_js.SYSTEMS; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "TAROT_ARKANNUS", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_ARKANNUS; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "TAROT_ARKANNUS_DATA", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_ARKANNUS_DATA; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "TAROT_DECKS", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_DECKS; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "TAROT_SUITS", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunk7CAIYKIO_js.TAROT_SUITS; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "TantraTypes", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunk7CAIYKIO_js.TantraTypes; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "TarotTypes", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunk7CAIYKIO_js.TarotTypes; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "TreeOfLife", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunk7CAIYKIO_js.TreeOfLife; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "WESTERN_ELEMENTS", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunk7CAIYKIO_js.WESTERN_ELEMENTS; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "WESTERN_ZODIAC_SIGNS", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunk7CAIYKIO_js.WESTERN_ZODIAC_SIGNS; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "WESTERN_ZODIAC_SIGNS_DATA", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunk7CAIYKIO_js.WESTERN_ZODIAC_SIGNS_DATA; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "WesternAstrologyTypes", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunk7CAIYKIO_js.WesternAstrologyTypes; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "createTree", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunk7CAIYKIO_js.createTree; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "id", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunk7CAIYKIO_js.id; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "parseId", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunk7CAIYKIO_js.parseId; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "CYCLE_MEANINGS", {
|
|
190
190
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { CalcFlag, HouseSystem, Planet, closeSwissEph, formatDegreeMinutes, getBirthChart, getSwissEph, getZodiacPosition } from './chunk-AV7WBVPS.mjs';
|
|
2
2
|
import './chunk-RFSO3JRG.mjs';
|
|
3
|
-
export { calculateGematria } from './chunk-
|
|
4
|
-
export { BaseNode, COLORS, COLORS_DATA, FOUR_WORLDS, FOUR_WORLDS_DATA, HEBREW_LETTERS, HEBREW_LETTERS_DATA, KaabalahTypes, LATIN_LETTERS, LATIN_LETTERS_DATA, LURIANIC_PATHS, LetterTypes, MELKITZEDEKI_PATHS, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ELEMENTS, WESTERN_ZODIAC_SIGNS, WESTERN_ZODIAC_SIGNS_DATA, WesternAstrologyTypes, createTree, id, parseId } from './chunk-
|
|
3
|
+
export { calculateGematria } from './chunk-5ISXTWFX.mjs';
|
|
4
|
+
export { BaseNode, COLORS, COLORS_DATA, FOUR_WORLDS, FOUR_WORLDS_DATA, HEBREW_LETTERS, HEBREW_LETTERS_DATA, KaabalahTypes, LATIN_LETTERS, LATIN_LETTERS_DATA, LURIANIC_PATHS, LetterTypes, MELKITZEDEKI_PATHS, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ELEMENTS, WESTERN_ZODIAC_SIGNS, WESTERN_ZODIAC_SIGNS_DATA, WesternAstrologyTypes, createTree, id, parseId } from './chunk-3LUQXNH6.mjs';
|
|
5
5
|
export { CYCLE_MEANINGS, calculateCycles, calculateLifePath } from './chunk-W7GBKP5K.mjs';
|
|
6
6
|
export { ARKANNUS, majorArcana, shuffleTarotDeck } from './chunk-Q4N3V34Y.mjs';
|
|
7
7
|
import './chunk-PY5SMMJB.mjs';
|