kaabalah 2.0.4 → 2.1.1
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/astrology/index.d.mts +11 -6
- package/dist/astrology/index.d.ts +11 -6
- package/dist/astrology/index.js +35 -3470
- package/dist/astrology/index.js.map +1 -1
- package/dist/astrology/index.mjs +3 -3460
- package/dist/astrology/index.mjs.map +1 -1
- package/dist/chunk-2TUXWMP5.js +47 -0
- package/dist/chunk-2TUXWMP5.js.map +1 -0
- package/dist/chunk-AD7T42HJ.js +4 -0
- package/dist/chunk-AD7T42HJ.js.map +1 -0
- package/dist/chunk-AV7WBVPS.mjs +3362 -0
- package/dist/chunk-AV7WBVPS.mjs.map +1 -0
- package/dist/chunk-L3TS24DH.js +6456 -0
- package/dist/chunk-L3TS24DH.js.map +1 -0
- package/dist/chunk-PY5SMMJB.mjs +41 -0
- package/dist/chunk-PY5SMMJB.mjs.map +1 -0
- package/dist/chunk-Q4N3V34Y.mjs +800 -0
- package/dist/chunk-Q4N3V34Y.mjs.map +1 -0
- package/dist/chunk-RFSO3JRG.mjs +3 -0
- package/dist/chunk-RFSO3JRG.mjs.map +1 -0
- package/dist/chunk-RGMSQCP5.js +163 -0
- package/dist/chunk-RGMSQCP5.js.map +1 -0
- package/dist/chunk-S3BZNG6Y.mjs +6419 -0
- package/dist/chunk-S3BZNG6Y.mjs.map +1 -0
- package/dist/chunk-SZXDOHKV.js +3371 -0
- package/dist/chunk-SZXDOHKV.js.map +1 -0
- package/dist/chunk-UXQDJUG6.js +804 -0
- package/dist/chunk-UXQDJUG6.js.map +1 -0
- package/dist/chunk-W7GBKP5K.mjs +159 -0
- package/dist/chunk-W7GBKP5K.mjs.map +1 -0
- package/dist/chunk-Y4DMTARN.js +233 -0
- package/dist/chunk-Y4DMTARN.js.map +1 -0
- package/dist/chunk-ZH3SBEH6.mjs +231 -0
- package/dist/chunk-ZH3SBEH6.mjs.map +1 -0
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +142 -6482
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +4 -6434
- package/dist/core/index.mjs.map +1 -1
- package/dist/gematria/index.d.mts +1 -1
- package/dist/gematria/index.d.ts +1 -1
- package/dist/gematria/index.js +8 -6599
- package/dist/gematria/index.js.map +1 -1
- package/dist/gematria/index.mjs +4 -6583
- package/dist/gematria/index.mjs.map +1 -1
- package/dist/ifa/index.js +6 -27
- package/dist/ifa/index.js.map +1 -1
- package/dist/ifa/index.mjs +5 -3
- package/dist/ifa/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +205 -11122
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -11077
- package/dist/index.mjs.map +1 -1
- package/dist/numerology/index.js +17 -184
- package/dist/numerology/index.js.map +1 -1
- package/dist/numerology/index.mjs +3 -160
- package/dist/numerology/index.mjs.map +1 -1
- package/dist/{registry-CCPfn46N.d.mts → registry-BoqJvsPr.d.mts} +1 -1
- package/dist/{registry-CCPfn46N.d.ts → registry-BoqJvsPr.d.ts} +1 -1
- package/dist/swisseph-YPVN5VCI.wasm +0 -0
- package/dist/swisseph.js +30 -0
- package/dist/swisseph.wasm +0 -0
- package/dist/tarot/index.js +17 -825
- package/dist/tarot/index.js.map +1 -1
- package/dist/tarot/index.mjs +3 -801
- package/dist/tarot/index.mjs.map +1 -1
- package/dist/wasm/build/swisseph-YPVN5VCI.wasm +0 -0
- package/dist/wasm/build/swisseph.js +30 -0
- package/dist/wasm/build/swisseph.wasm +0 -0
- package/package.json +6 -2
- package/wasm/build/swisseph-YPVN5VCI.wasm +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tarot/index.ts"],"names":[],"mappings":";AA0CO,IAAM,WAA6B,GAAA;AAAA,EACxC,iBAAA;AAAA,EACA,uBAAA;AAAA,EACA,gBAAA;AAAA,EACA,gBA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AA;AAUA,eAAsB,iBACpB,KACA,EAAA,oBAAA,GAAgC,OAChC,YAAuB,GAAA,CAAA,EACvB,eAAuB,GACD,EAAA;AACtB,EAAA,IAAI,aAAgB,GAAA,YAAA,CAAa,CAAC,GAAG,KAAK,CAAC,CAAA;AAE3C,EAAA,IAAI,oBAAsB,EAAA;AACxB,IAAA,MAAM,SAAY,GAAA,IAAA,CAAK,KAAM,CAAA,aAAA,CAAc,SAAS,CAAC,CAAA;AACrD,IAAgB,aAAA,GAAA;AAAA,MACd,GAAG,aAAA,CACA,KAAM,CAAA,CAAA,EAAG,SAAS,CAAA,CAClB,GAAI,CAAA,CAAA,IAAA,MAAS,EAAE,GAAG,IAAM,EAAA,UAAA,EAAY,MAAO,CAAA,CAAA;AAAA,MAC9C,GAAG,aAAc,CAAA,KAAA,CAAM,SAAS;AAAA,KAClC;AAAA;AAGF,EAAA,KAAA,IAAS,CAAI,GAAA,CAAA,EAAG,CAAI,GAAA,YAAA,EAAc,CAAK,EAAA,EAAA;AACrC,IAAA,aAAA,GAAgB,aAAa,aAAa,CAAA;AAC1C,IAAA,MAAM,MAAM,YAAY,CAAA;AAAA;AAG1B,EAAO,OAAA,aAAA;AACT","file":"chunk-Q4N3V34Y.mjs","sourcesContent":["/**\n * Tarot interpretation functions\n */\n\nexport type Deck = \"papus_pt\" | \"papus\" | \"mythic\" | \"egyptian\" | \"rider-waite\"\n\nexport type MajorArcana =\n | \"01_the_magician\"\n | \"02_the_high_priestess\"\n | \"03_the_empress\"\n | \"04_the_emperor\"\n | \"05_the_hierophant\"\n | \"06_the_lover\"\n | \"07_the_chariot\"\n | \"08_justice\"\n | \"09_the_hermit\"\n | \"10_the_wheel_of_fortune\"\n | \"11_strength\"\n | \"12_the_hanged_man\"\n | \"13_death\"\n | \"14_temperance\"\n | \"15_the_devil\"\n | \"16_the_house_of_god\"\n | \"17_the_star\"\n | \"18_the_moon\"\n | \"19_the_sun\"\n | \"20_judgement\"\n | \"21_the_fool\"\n | \"22_the_world\"\n\nexport type TarotCard = {\n number: number\n tarotCard: string\n tarotCardFilename: string\n egyptianCardName?: string\n meaning: string\n type: \"major\" | \"minor\" | \"daat+royalship\"\n deck: string\n suit?: string\n isInverted?: boolean\n}\n\nexport const majorArcana: MajorArcana[] = [\n \"01_the_magician\",\n \"02_the_high_priestess\",\n \"03_the_empress\",\n \"04_the_emperor\",\n \"05_the_hierophant\",\n \"06_the_lover\",\n \"07_the_chariot\",\n \"08_justice\",\n \"09_the_hermit\",\n \"10_the_wheel_of_fortune\",\n \"11_strength\",\n \"12_the_hanged_man\",\n \"13_death\",\n \"14_temperance\",\n \"15_the_devil\",\n \"16_the_house_of_god\",\n \"17_the_star\",\n \"18_the_moon\",\n \"19_the_sun\",\n \"20_judgement\",\n \"21_the_fool\",\n \"22_the_world\"\n]\n\nexport const ARKANNUS: TarotCard[] = [\n // Major Arcana (1-22)\n {\n number: 1,\n tarotCard: \"The Magician\",\n tarotCardFilename: \"01_the_magician\",\n meaning: \"Abracadabra, the power to create reality through voice\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 2,\n tarotCard: \"The High Priestess\",\n tarotCardFilename: \"02_the_high_priestess\",\n meaning:\n \"Intuition, the power to rewrite your book of life improving your life every instant\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 3,\n tarotCard: \"The Empress\",\n tarotCardFilename: \"03_the_empress\",\n meaning: \"Adaptation, the power to geometrize through emotions\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 4,\n tarotCard: \"The Emperor\",\n tarotCardFilename: \"04_the_emperor\",\n meaning: \"Authority, the power to mark your territory with the sacred fire\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 5,\n tarotCard: \"The Hierophant\",\n tarotCardFilename: \"05_the_hierophant\",\n meaning:\n \"Magnetism, the power to ritualize life and circulate the quintessence\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 6,\n tarotCard: \"The Lover\",\n tarotCardFilename: \"06_the_lover\",\n meaning:\n \"Dichotomy, stay on the middle path by being neither a victim nor a villain\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 7,\n tarotCard: \"The Chariot\",\n tarotCardFilename: \"07_the_chariot\",\n meaning: \"Merkaabah, take control and build your merkaabah (mind vehicle)\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 8,\n tarotCard: \"Justice\",\n tarotCardFilename: \"08_justice\",\n meaning: \"Justice, be just with yourself to be just with others\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 9,\n tarotCard: \"The Hermit\",\n tarotCardFilename: \"09_the_hermit\",\n meaning: \"Introspection, seek within, retreat\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 10,\n tarotCard: \"The Wheel of Fortune\",\n tarotCardFilename: \"10_the_wheel_of_fortune\",\n meaning:\n \"Loops, extroversion, break the great wheel and ascend, seek externally\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 11,\n tarotCard: \"Strength\",\n tarotCardFilename: \"11_strength\",\n meaning: \"The strength of your subconscious, unity brings strength\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 12,\n tarotCard: \"The Hanged Man\",\n tarotCardFilename: \"12_the_hanged_man\",\n meaning: \"Make valid sacrifices, adopt a new perspective\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 13,\n tarotCard: \"Death\",\n tarotCardFilename: \"13_death\",\n meaning: \"Death, renovation, kill that which kills your soul\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 14,\n tarotCard: \"Temperance\",\n tarotCardFilename: \"14_temperance\",\n meaning: \"Balance, harmonize differences\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 15,\n tarotCard: \"The Devil\",\n tarotCardFilename: \"15_the_devil\",\n meaning:\n \"Indecision between vice and virtue, transmute weakness and passions into strengths\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 16,\n tarotCard: \"The Tower\",\n tarotCardFilename: \"16_the_house_of_god\",\n meaning:\n \"Separation, destruction, separate from what's harmful and connect with what's helpful, make room for the new\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 17,\n tarotCard: \"The Star\",\n tarotCardFilename: \"17_the_star\",\n meaning:\n \"Fecundation, ecology, ecstasy, hope, renew yourself to maintain help, act according to your spiritual purpose\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 18,\n tarotCard: \"The Moon\",\n tarotCardFilename: \"18_the_moon\",\n meaning:\n \"Hidden enemies, be vigilant, recognize where you're self sabotaging\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 19,\n tarotCard: \"The Sun\",\n tarotCardFilename: \"19_the_sun\",\n meaning:\n \"Be conscious of your alchemical band, transmute money into knowledge and vice versa\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 20,\n tarotCard: \"Judgment\",\n tarotCardFilename: \"20_judgement\",\n meaning: \"Make retrospectives and learn from mistakes and successes\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 21,\n tarotCard: \"The Fool\",\n tarotCardFilename: \"21_the_fool\",\n meaning: \"Stop walking in circles, create connections of knowledge\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 22,\n tarotCard: \"The World\",\n tarotCardFilename: \"22_the_world\",\n meaning: \"Win the world, start acting on the world of causes\",\n type: \"major\",\n deck: \"mythic\"\n },\n\n // Da'at Royalship - Wands (23-26)\n {\n number: 23,\n tarotCard: \"King of Wands\",\n tarotCardFilename: \"king_wands\",\n egyptianCardName: \"The Laborer\",\n meaning: \"Get's the best out of every one, Idealism, Magnanimity\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 24,\n tarotCard: \"Queen of Wands\",\n tarotCardFilename: \"queen_wands\",\n egyptianCardName: \"The Weaver\",\n meaning:\n \"Hold the line while the king goes to work, Preserve what was conquered\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 25,\n tarotCard: \"Knight of Wands\",\n tarotCardFilename: \"knight_wands\",\n egyptianCardName: \"The Argonaut\",\n meaning: \"Dreams that become reality\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 26,\n tarotCard: \"Page of Wands\",\n tarotCardFilename: \"page_wands\",\n egyptianCardName: \"The Prodigy\",\n meaning: \"Don't rush, the precipitations are the doors to failure\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n\n // Minor Arcana - Wands (27-36)\n {\n number: 27,\n tarotCard: \"Ace of Wands\",\n tarotCardFilename: \"ace_wands\",\n egyptianCardName: \"The Unexpected\",\n meaning: \"Ignite the flames of ideals, Trust in your inner divinity\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 28,\n tarotCard: \"Two of Wands\",\n tarotCardFilename: \"2_wands\",\n egyptianCardName: \"Uncertainty\",\n meaning: \"Formulate a strategy to use your own talents\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 29,\n tarotCard: \"Three of Wands\",\n tarotCardFilename: \"3_wands\",\n egyptianCardName: \"Domesticity\",\n meaning: \"Keep going despite losing something apparently important\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 30,\n tarotCard: \"Four of Wands\",\n tarotCardFilename: \"4_wands\",\n egyptianCardName: \"Exchange\",\n meaning: \"Work in teams\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 31,\n tarotCard: \"Five of Wands\",\n tarotCardFilename: \"5_wands\",\n egyptianCardName: \"Impediment\",\n meaning: \"Strengthen the root chakra, overcome internal fears\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 32,\n tarotCard: \"Six of Wands\",\n tarotCardFilename: \"6_wands\",\n egyptianCardName: \"Magnificence\",\n meaning: \"External victory, internal lack of internal self realization\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 33,\n tarotCard: \"Seven of Wands\",\n tarotCardFilename: \"7_wands\",\n egyptianCardName: \"Alliance\",\n meaning: \"Face competitors in an ethical and loyal way\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 34,\n tarotCard: \"Eight of Wands\",\n tarotCardFilename: \"8_wands\",\n egyptianCardName: \"Innovation\",\n meaning: \"Travel to the center of peace and intelligence\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 35,\n tarotCard: \"Nine of Wands\",\n tarotCardFilename: \"9_wands\",\n egyptianCardName: \"Desolation\",\n meaning: \"Obstacle that precedes total victory, gather hidden forces\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n {\n number: 36,\n tarotCard: \"Ten of Wands\",\n tarotCardFilename: \"10_wands\",\n egyptianCardName: \"Initiation\",\n meaning:\n \"Get out of apathy, create a new tree of life using the Lightning Path\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"wands\"\n },\n\n // Da'at Royalship - Cups (37-40)\n {\n number: 37,\n tarotCard: \"King of Cups\",\n tarotCardFilename: \"king_cups\",\n egyptianCardName: \"Art and Science\",\n meaning:\n \"Stop hurting yourself (related to The Lover), heals everyone and forgets about yourself, balm for your own wound\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 38,\n tarotCard: \"Queen of Cups\",\n tarotCardFilename: \"queen_cups\",\n egyptianCardName: \"Duplicity\",\n meaning: \"Work with subtlety, positive challenges\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 39,\n tarotCard: \"Knight of Cups\",\n tarotCardFilename: \"knight_cups\",\n egyptianCardName: \"Testimony\",\n meaning: \"Alternative healing\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 40,\n tarotCard: \"Page of Cups\",\n tarotCardFilename: \"page_cups\",\n egyptianCardName: \"Premonition\",\n meaning: \"Increase of self-esteem, emotional courage\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n\n // Minor Arcana - Cups (41-50)\n {\n number: 41,\n tarotCard: \"Ace of Cups\",\n tarotCardFilename: \"ace_cups\",\n egyptianCardName: \"Dissension\",\n meaning: \"Renewal or new affection, alternative treatment for health\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 42,\n tarotCard: \"Two of Cups\",\n tarotCardFilename: \"2_cups\",\n egyptianCardName: \"Preeminence\",\n meaning: \"Do not poison yourself or the other person\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 43,\n tarotCard: \"Three of Cups\",\n tarotCardFilename: \"3_cups\",\n egyptianCardName: \"Delusion\",\n meaning: \"Harmony between instinct and emotion, Be discreet\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 44,\n tarotCard: \"Four of Cups\",\n tarotCardFilename: \"4_cups\",\n egyptianCardName: \"Expressiveness\",\n meaning: \"Abundance in emotional life, do not listen to slander\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 45,\n tarotCard: \"Five of Cups\",\n tarotCardFilename: \"5_cups\",\n egyptianCardName: \"Regeneration\",\n meaning: \"Do not break your spiritual commitment (your purpose)\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 46,\n tarotCard: \"Six of Cups\",\n tarotCardFilename: \"6_cups\",\n egyptianCardName: \"Patrimony\",\n meaning: \"Do not have self-pity\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 47,\n tarotCard: \"Seven of Cups\",\n tarotCardFilename: \"7_cups\",\n egyptianCardName: \"Conjecture\",\n meaning: \"Gestations, related to The Star\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 48,\n tarotCard: \"Eight of Cups\",\n tarotCardFilename: \"8_cups\",\n egyptianCardName: \"Consummation\",\n meaning: \"Reflect on your emotional life after 18 hours\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 49,\n tarotCard: \"Nine of Cups\",\n tarotCardFilename: \"9_cups\",\n egyptianCardName: \"Versatility\",\n meaning: \"Reconciliations and forgiveness\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n {\n number: 50,\n tarotCard: \"Ten of Cups\",\n tarotCardFilename: \"10_cups\",\n egyptianCardName: \"Attraction\",\n meaning: \"Marriage of the spirit with the soul, Alchemical Weddings\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"cups\"\n },\n\n // Da'at Royalship - Swords (51-54)\n {\n number: 51,\n tarotCard: \"King of Swords\",\n tarotCardFilename: \"king_swords\",\n egyptianCardName: \"Advice\",\n meaning: \"Actions of victorious strategies\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 52,\n tarotCard: \"Queen of Swords\",\n tarotCardFilename: \"queen_swords\",\n egyptianCardName: \"Premeditation\",\n meaning: \"Supremacy of the feminine, related to Justice\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 53,\n tarotCard: \"Knight of Swords\",\n tarotCardFilename: \"knight_swords\",\n egyptianCardName: \"Hostility\",\n meaning: \"Joint victorious actions\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 54,\n tarotCard: \"Page of Swords\",\n tarotCardFilename: \"page_swords\",\n egyptianCardName: \"Examination\",\n meaning: \"Follow your intuition\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n\n // Minor Arcana - Swords (55-64)\n {\n number: 55,\n tarotCard: \"Ace of Swords\",\n tarotCardFilename: \"ace_swords\",\n egyptianCardName: \"Contrition\",\n meaning: \"Conflicts before victory\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 56,\n tarotCard: \"Two of Swords\",\n tarotCardFilename: \"2_swords\",\n egyptianCardName: \"Pilgrimage\",\n meaning: \"Traumas and conflicts to be overcome\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 57,\n tarotCard: \"Three of Swords\",\n tarotCardFilename: \"3_swords\",\n egyptianCardName: \"Rivalry\",\n meaning: \"Death of yang, Fire, tendencies to depression\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 58,\n tarotCard: \"Four of Swords\",\n tarotCardFilename: \"4_swords\",\n egyptianCardName: \"Meditation\",\n meaning: \"Reflection, related to The Hermit\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 59,\n tarotCard: \"Five of Swords\",\n tarotCardFilename: \"5_swords\",\n egyptianCardName: \"Revelation\",\n meaning: \"Healthy self-challenge, Self-demands\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 60,\n tarotCard: \"Six of Swords\",\n tarotCardFilename: \"6_swords\",\n egyptianCardName: \"Evolution\",\n meaning: \"External daily strategies, Future perspectives\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 61,\n tarotCard: \"Seven of Swords\",\n tarotCardFilename: \"7_swords\",\n egyptianCardName: \"Solitude\",\n meaning: \"Internal nocturnal strategies, related to The Hermit\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 62,\n tarotCard: \"Eight of Swords\",\n tarotCardFilename: \"8_swords\",\n egyptianCardName: \"Proscription\",\n meaning: \"Appeal to superior forces, Internal and external conflicts\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 63,\n tarotCard: \"Nine of Swords\",\n tarotCardFilename: \"9_swords\",\n egyptianCardName: \"Communion\",\n meaning: \"The problems being imagined will never happen\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n {\n number: 64,\n tarotCard: \"Ten of Swords\",\n tarotCardFilename: \"10_swords\",\n egyptianCardName: \"Vehemence\",\n meaning: \"Death and rebirth, related to Death and The Tower\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"swords\"\n },\n\n // Da'at Royalship - Pentacles (65-68)\n {\n number: 65,\n tarotCard: \"King of Pentacles\",\n tarotCardFilename: \"king_pentacles\",\n egyptianCardName: \"Apprenticeship\",\n meaning: \"Turns everything into gold\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 66,\n tarotCard: \"Queen of Pentacles\",\n tarotCardFilename: \"queen_pentacles\",\n egyptianCardName: \"Perplexity\",\n meaning: \"Act with diplomacy\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 67,\n tarotCard: \"Knight of Pentacles\",\n tarotCardFilename: \"knight_pentacles\",\n egyptianCardName: \"Veneration\",\n meaning: \"Invest into new things\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 68,\n tarotCard: \"Page of Pentacles\",\n tarotCardFilename: \"page_pentacles\",\n egyptianCardName: \"Speculation\",\n meaning: \"Prudence in the material life\",\n type: \"daat+royalship\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n\n // Minor Arcana - Pentacles (69-78)\n {\n number: 69,\n tarotCard: \"Ace of Pentacles\",\n tarotCardFilename: \"ace_pentacles\",\n egyptianCardName: \"The Unforeseen\",\n meaning:\n \"Rebirth through a single material goal, Form clear material goals\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 70,\n tarotCard: \"Two of Pentacles\",\n tarotCardFilename: \"2_pentacles\",\n egyptianCardName: \"Cooperation\",\n meaning:\n \"Light forming shadows, Duality asking for synthesis in the trinity, Don't put all the eggs in the same basket\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 71,\n tarotCard: \"Three of Pentacles\",\n tarotCardFilename: \"3_pentacles\",\n egyptianCardName: \"Avarice\",\n meaning:\n \"Light forming sound, Establish balance through the trinity becoming a great dispenser, Verbalize what should be done, Do not settle for the first results\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 72,\n tarotCard: \"Four of Pentacles\",\n tarotCardFilename: \"4_pentacles\",\n egyptianCardName: \"Purification\",\n meaning: \"Avoid avarice / greed\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 73,\n tarotCard: \"Five of Pentacles\",\n tarotCardFilename: \"5_pentacles\",\n egyptianCardName: \"Love and Desire\",\n meaning:\n \"Only order will bring progress, Do not kick the barn without having something concrete in front of you\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 74,\n tarotCard: \"Six of Pentacles\",\n tarotCardFilename: \"6_pentacles\",\n egyptianCardName: \"Offering\",\n meaning: \"Act with prudence\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 75,\n tarotCard: \"Seven of Pentacles\",\n tarotCardFilename: \"7_pentacles\",\n egyptianCardName: \"Generosity\",\n meaning: \"Don't boast about your proposal or project\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 76,\n tarotCard: \"Eight of Pentacles\",\n tarotCardFilename: \"8_pentacles\",\n egyptianCardName: \"The Provider\",\n meaning: \"Keep doing what you always did\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 77,\n tarotCard: \"Nine of Pentacles\",\n tarotCardFilename: \"9_pentacles\",\n egyptianCardName: \"Confusion\",\n meaning: \"Work with what you like and earn something with it\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n },\n {\n number: 78,\n tarotCard: \"Ten of Pentacles\",\n tarotCardFilename: \"10_pentacles\",\n egyptianCardName: \"Rebirth\",\n meaning: \"Prosperity, Prosperous inheritance\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n }\n]\n\n\nconst sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms))\n\nconst shuffleArray = <T,>(array: T[]): T[] => {\n const newArray = [...array]\n for (let i = newArray.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1));\n\n [newArray[i], newArray[j]] = [newArray[j], newArray[i]];\n }\n return newArray\n}\n\n/**\n * Shuffles a deck of tarot cards and optionally includes inverted cards\n * @param cards - Array of tarot cards to shuffle\n * @param includeInvertedCards - Whether to include inverted cards in the shuffle\n * @param shuffleCount - Number of times to shuffle the deck (default: 6)\n * @param shuffleDelay - Delay between shuffles in milliseconds (default: 300)\n * @returns Promise that resolves to the shuffled deck\n */\nexport async function shuffleTarotDeck(\n cards: TarotCard[],\n includeInvertedCards: boolean = false,\n shuffleCount: number = 6,\n shuffleDelay: number = 300\n): Promise<TarotCard[]> {\n let shuffledCards = shuffleArray([...cards]);\n\n if (includeInvertedCards) {\n const halfIndex = Math.floor(shuffledCards.length / 2);\n shuffledCards = [\n ...shuffledCards\n .slice(0, halfIndex)\n .map(card => ({ ...card, isInverted: true })),\n ...shuffledCards.slice(halfIndex)\n ];\n }\n\n for (let i = 0; i < shuffleCount; i++) {\n shuffledCards = shuffleArray(shuffledCards);\n await sleep(shuffleDelay);\n }\n\n return shuffledCards;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-RFSO3JRG.mjs"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/numerology/index.ts
|
|
4
|
+
function calculateLifePath(birthDate) {
|
|
5
|
+
const dateString = birthDate.toISOString().split("T")[0];
|
|
6
|
+
const dateWithoutDashes = dateString.replace(/-/g, "");
|
|
7
|
+
let sum = dateWithoutDashes.split("").reduce((total, digit) => {
|
|
8
|
+
return total + parseInt(digit, 10);
|
|
9
|
+
}, 0);
|
|
10
|
+
while (sum > 9 && sum !== 11 && sum !== 22 && sum !== 33) {
|
|
11
|
+
sum = sum.toString().split("").reduce((total, digit) => {
|
|
12
|
+
return total + parseInt(digit, 10);
|
|
13
|
+
}, 0);
|
|
14
|
+
}
|
|
15
|
+
return sum;
|
|
16
|
+
}
|
|
17
|
+
var CYCLE_MEANINGS = [
|
|
18
|
+
{
|
|
19
|
+
"title": "Learning",
|
|
20
|
+
"shortDescription": "A period for assertive action and learning through direct experience.",
|
|
21
|
+
"personalDescription": "This period emphasizes assertive action and learning through direct experience. Utilize personal influence to seek favors, loans, or recognition from influential individuals such as government officials or community leaders. Ideal for enhancing personal reputation and prestige, keeping in mind that all actions carry consequences.",
|
|
22
|
+
"businessDescription": "Ideal for promotional activities aimed at building goodwill, public recognition, and securing endorsements from prominent individuals. Prioritize the company's image and reputation over immediate profits.",
|
|
23
|
+
"astrologySign": "Aries (Actions Have Consequences)"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"title": "Hard Work",
|
|
27
|
+
"shortDescription": "A time for diligent effort and adaptability to temporary changes.",
|
|
28
|
+
"personalDescription": "A period where diligent effort and adaptability are crucial. Suitable for temporary changes such as moving homes, short trips, or career shifts. Avoid long-term commitments or significant investments unless carefully formalized.",
|
|
29
|
+
"businessDescription": "Ideal for short-term experiments, temporary staffing adjustments, and forming beneficial business connections. Steer clear of verbal agreements or long-term commitments unless formally documented. Flexibility leads to progress.",
|
|
30
|
+
"astrologySign": "Taurus (Stop Being Stubborn)"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "Friendship",
|
|
34
|
+
"shortDescription": "A dynamic phase for ambitious projects and strengthening relationships.",
|
|
35
|
+
"personalDescription": "A dynamic and energetic phase ideal for initiating ambitious projects requiring persistence and physical strength. Effective communication strengthens relationships, but impulsiveness should be avoided to prevent conflicts.",
|
|
36
|
+
"businessDescription": "Ideal for expansion, energetic ventures, and assertive promotional activities. Excellent for debt collection but avoid legal conflicts. Maintain vigilance against accidents and disputes while leveraging strong communication.",
|
|
37
|
+
"astrologySign": "Gemini (Communication is Power)"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "Opportunities",
|
|
41
|
+
"shortDescription": "An intellectually fertile time for creativity and quick decision-making.",
|
|
42
|
+
"personalDescription": "An intellectually fertile phase ideal for creative projects, innovation, and quick decision-making. Beware of deception, especially concerning documents or agreements. Foster mental growth and create valuable connections, but remain cautious.",
|
|
43
|
+
"businessDescription": "Perfect for launching impactful marketing campaigns and securing new agreements. Excellent for promotional activities and intellectual creativity, but carefully scrutinize documents to avoid fraud.",
|
|
44
|
+
"astrologySign": "Cancer (Nurture Mental Growth)"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"title": "Tears/Decision",
|
|
48
|
+
"shortDescription": "The most prosperous phase for financial resolution and spiritual advancement.",
|
|
49
|
+
"personalDescription": "The most prosperous phase of the year, suitable for resolving financial issues, starting long journeys, and advancing spiritually. Interact with influential figures, manage debts, and engage in expansive social activities. Keep ego and selfishness balanced for optimal outcomes.",
|
|
50
|
+
"businessDescription": "A prime time for investments, financial growth, global promotion, debt collection, and favorable legal outcomes. Emphasize fairness and generosity to enhance business success.",
|
|
51
|
+
"astrologySign": "Leo (Balance Ego and Generosity)"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"title": "Triple Blessing",
|
|
55
|
+
"shortDescription": "Perfect for pleasures, social activities, and creative pursuits.",
|
|
56
|
+
"personalDescription": "Ideal for enjoying pleasures, social activities, artistic endeavors, and short travels. Favorable for romantic interactions, relaxation, and creative pursuits. Organize personal life to balance enjoyment and refinement effectively.",
|
|
57
|
+
"businessDescription": "Excellent time for promoting luxury products, arts, entertainment, and speculative investments. Ideal for forming friendly business alliances and strategic partnerships.",
|
|
58
|
+
"astrologySign": "Virgo (Organize Your Pleasures)"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"title": "Rest",
|
|
62
|
+
"shortDescription": "A period of rest, introspection, and preparation for renewal.",
|
|
63
|
+
"personalDescription": "A critical period of rest, introspection, and cautious preparation for renewal. Avoid initiating new ventures and instead focus on completing pending matters, managing legal affairs carefully, and protecting existing resources. Balance and patience are essential.",
|
|
64
|
+
"businessDescription": "Period to conserve resources, avoid major expansions, and carefully manage internal restructuring. Postpone significant new ventures until the next cycle. Act diplomatically and cautiously to ensure stability.",
|
|
65
|
+
"astrologySign": "Libra (Seek Balance and Reconstruction)"
|
|
66
|
+
}
|
|
67
|
+
];
|
|
68
|
+
var addDays = (date, days) => {
|
|
69
|
+
const result = new Date(date);
|
|
70
|
+
result.setDate(result.getDate() + days);
|
|
71
|
+
return result;
|
|
72
|
+
};
|
|
73
|
+
var getMostRecentStartDate = (startDate, today) => {
|
|
74
|
+
const startMonth = startDate.getMonth();
|
|
75
|
+
const startDay = startDate.getDate();
|
|
76
|
+
let recentStart = new Date(today.getFullYear(), startMonth, startDay);
|
|
77
|
+
if (recentStart > today) {
|
|
78
|
+
recentStart = new Date(today.getFullYear() - 1, startMonth, startDay);
|
|
79
|
+
}
|
|
80
|
+
return recentStart;
|
|
81
|
+
};
|
|
82
|
+
var calculateCycles = (startDate, today) => {
|
|
83
|
+
const mostRecentStart = getMostRecentStartDate(startDate, today);
|
|
84
|
+
const cycleLength = 52;
|
|
85
|
+
const isFutureDate = startDate > today;
|
|
86
|
+
let currentYearlyCycle = null;
|
|
87
|
+
let currentAgeCycle = null;
|
|
88
|
+
const ageCycles = [];
|
|
89
|
+
const yearlyCycles = [];
|
|
90
|
+
if (!isFutureDate) {
|
|
91
|
+
const birthYear = startDate.getFullYear();
|
|
92
|
+
const currentYear = today.getFullYear();
|
|
93
|
+
const ageInYears = currentYear - birthYear;
|
|
94
|
+
currentAgeCycle = Math.floor(ageInYears / 7) % 7 + 1;
|
|
95
|
+
for (let i = 0; i < 7; i++) {
|
|
96
|
+
const cycleStart = new Date(birthYear + i * 7, startDate.getMonth(), startDate.getDate());
|
|
97
|
+
const cycle = i + 1;
|
|
98
|
+
const isCurrentCycle = cycle === currentAgeCycle;
|
|
99
|
+
if (isCurrentCycle) {
|
|
100
|
+
const yearsSinceBirth = ageInYears;
|
|
101
|
+
const yearWithinAgeCycle = yearsSinceBirth % 7;
|
|
102
|
+
currentYearlyCycle = yearWithinAgeCycle + 1;
|
|
103
|
+
for (let j = 0; j < 7; j++) {
|
|
104
|
+
const ageCycleStartYear = birthYear + Math.floor(ageInYears / 7) * 7;
|
|
105
|
+
const yearlyCycleStart = new Date(ageCycleStartYear + j, startDate.getMonth(), startDate.getDate());
|
|
106
|
+
const yearlyCycle = j + 1;
|
|
107
|
+
const isCurrentYearlyCycle = yearlyCycle === currentYearlyCycle;
|
|
108
|
+
yearlyCycles.push({
|
|
109
|
+
number: yearlyCycle,
|
|
110
|
+
description: CYCLE_MEANINGS[j],
|
|
111
|
+
isActive: isCurrentYearlyCycle,
|
|
112
|
+
cycleStart: yearlyCycleStart
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
ageCycles.push({
|
|
117
|
+
number: cycle,
|
|
118
|
+
description: CYCLE_MEANINGS[i],
|
|
119
|
+
isActive: isCurrentCycle,
|
|
120
|
+
cycleStart
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
const monthlyCycles = [];
|
|
125
|
+
for (let i = 0; i < 7; i++) {
|
|
126
|
+
const cycleStart = addDays(mostRecentStart, i * cycleLength);
|
|
127
|
+
monthlyCycles.push({
|
|
128
|
+
number: i + 1,
|
|
129
|
+
description: CYCLE_MEANINGS[i],
|
|
130
|
+
isActive: false,
|
|
131
|
+
cycleStart
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
let currentMonthlyCycle = null;
|
|
135
|
+
let daysInMonthlyCycle = 0;
|
|
136
|
+
for (let i = 0; i < 7; i++) {
|
|
137
|
+
const cycleStart = addDays(mostRecentStart, i * cycleLength);
|
|
138
|
+
const nextCycleStart = i < 6 ? addDays(mostRecentStart, (i + 1) * cycleLength) : addDays(mostRecentStart, 366);
|
|
139
|
+
if (today >= cycleStart && today < nextCycleStart) {
|
|
140
|
+
currentMonthlyCycle = i + 1;
|
|
141
|
+
daysInMonthlyCycle = Math.floor((today.getTime() - cycleStart.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
|
|
142
|
+
monthlyCycles[i].isActive = true;
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
const totalDays = Math.floor((today.getTime() - mostRecentStart.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
|
|
147
|
+
return {
|
|
148
|
+
yearlyCycles,
|
|
149
|
+
ageCycles,
|
|
150
|
+
monthlyCycles,
|
|
151
|
+
currentYearlyCycle,
|
|
152
|
+
currentAgeCycle,
|
|
153
|
+
currentMonthlyCycle,
|
|
154
|
+
daysInMonthlyCycle,
|
|
155
|
+
totalDays
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
exports.CYCLE_MEANINGS = CYCLE_MEANINGS;
|
|
160
|
+
exports.calculateCycles = calculateCycles;
|
|
161
|
+
exports.calculateLifePath = calculateLifePath;
|
|
162
|
+
//# sourceMappingURL=chunk-RGMSQCP5.js.map
|
|
163
|
+
//# sourceMappingURL=chunk-RGMSQCP5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/numerology/index.ts"],"names":[],"mappings":";;;AASO,SAAS,kBAAkB,SAAyB,EAAA;AACzD,EAAA,MAAM,aAAa,SAAU,CAAA,WAAA,GAAc,KAAM,CAAA,GAAG,EAAE,CAAC,CAAA;AACvD,EAAA,MAAM,iBAAoB,GAAA,UAAA,CAAW,OAAQ,CAAA,IAAA,EAAM,EAAE,CAAA;AAGrD,EAAI,IAAA,GAAA,GAAM,kBAAkB,KAAM,CAAA,EAAE,EAAE,MAAO,CAAA,CAAC,OAAO,KAAU,KAAA;AAC7D,IAAO,OAAA,KAAA,GAAQ,QAAS,CAAA,KAAA,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I,GAAA,CAAA,IAAK,WAAW,CAAA,GAAI,OAAQ,CAAA,eAAA,EAAiB,GAAG,CAAA;AAC7G,IAAI,IAAA,KAAA,IAAS,UAAc,IAAA,KAAA,GAAQ,cAAgB,EAAA;AACjD,MAAA,mBAAA,GAAsB,CAAI,GAAA,CAAA;AAC1B,MAAA,kBAAA,GAAqB,IAAK,CAAA,KAAA,CAAA,CAAO,KAAM,CAAA,OAAA,EAAY,GAAA,UAAA,CAAW,OAAQ,EAAA,KAAM,GAAO,GAAA,EAAA,GAAK,EAAK,GAAA,EAAA,CAAG,CAAI,GAAA,CAAA;AACpG,MAAc,aAAA,CAAA,CAAC,EAAE,QAAW,GAAA,IAAA;AAC5B,MAAA;AAAA;AACF;AAGF,EAAA,MAAM,SAAY,GAAA,IAAA,CAAK,KAAO,CAAA,CAAA,KAAA,CAAM,OAAQ,EAAA,GAAI,eAAgB,CAAA,OAAA,EAAc,KAAA,GAAA,GAAO,EAAK,GAAA,EAAA,GAAK,GAAG,CAAI,GAAA,CAAA;AAEtG,EAAO,OAAA;AAAA,IACL,YAAA;AAAA,IACA,SAAA;AAAA,IACA,aAAA;AAAA,IACA,kBAAA;AAAA,IACA,eAAA;AAAA,IACA,mBAAA;AAAA,IACA,kBAAA;AAAA,IACA;AAAA,GACF;AACF","file":"chunk-RGMSQCP5.js","sourcesContent":["/**\n * Numerology calculations\n */\n\n/**\n * Calculate the life path number based on a birth date\n * @param birthDate - Birth date as a Date object\n * @returns Life path number (1-9, 11, 22, or 33)\n */\nexport function calculateLifePath(birthDate: Date): number {\n const dateString = birthDate.toISOString().split('T')[0]; // YYYY-MM-DD\n const dateWithoutDashes = dateString.replace(/-/g, '');\n \n // Initial sum of all digits\n let sum = dateWithoutDashes.split('').reduce((total, digit) => {\n return total + parseInt(digit, 10);\n }, 0);\n \n // Reduce to a single digit or master number\n while (sum > 9 && sum !== 11 && sum !== 22 && sum !== 33) {\n sum = sum.toString().split('').reduce((total, digit) => {\n return total + parseInt(digit, 10);\n }, 0);\n }\n \n return sum;\n}\n\n\nexport const CYCLE_MEANINGS = [\n {\n \"title\": \"Learning\",\n \"shortDescription\": \"A period for assertive action and learning through direct experience.\",\n \"personalDescription\": \"This period emphasizes assertive action and learning through direct experience. Utilize personal influence to seek favors, loans, or recognition from influential individuals such as government officials or community leaders. Ideal for enhancing personal reputation and prestige, keeping in mind that all actions carry consequences.\",\n \"businessDescription\": \"Ideal for promotional activities aimed at building goodwill, public recognition, and securing endorsements from prominent individuals. Prioritize the company's image and reputation over immediate profits.\",\n \"astrologySign\": \"Aries (Actions Have Consequences)\"\n },\n {\n \"title\": \"Hard Work\",\n \"shortDescription\": \"A time for diligent effort and adaptability to temporary changes.\",\n \"personalDescription\": \"A period where diligent effort and adaptability are crucial. Suitable for temporary changes such as moving homes, short trips, or career shifts. Avoid long-term commitments or significant investments unless carefully formalized.\",\n \"businessDescription\": \"Ideal for short-term experiments, temporary staffing adjustments, and forming beneficial business connections. Steer clear of verbal agreements or long-term commitments unless formally documented. Flexibility leads to progress.\",\n \"astrologySign\": \"Taurus (Stop Being Stubborn)\"\n },\n {\n \"title\": \"Friendship\",\n \"shortDescription\": \"A dynamic phase for ambitious projects and strengthening relationships.\",\n \"personalDescription\": \"A dynamic and energetic phase ideal for initiating ambitious projects requiring persistence and physical strength. Effective communication strengthens relationships, but impulsiveness should be avoided to prevent conflicts.\",\n \"businessDescription\": \"Ideal for expansion, energetic ventures, and assertive promotional activities. Excellent for debt collection but avoid legal conflicts. Maintain vigilance against accidents and disputes while leveraging strong communication.\",\n \"astrologySign\": \"Gemini (Communication is Power)\"\n },\n {\n \"title\": \"Opportunities\",\n \"shortDescription\": \"An intellectually fertile time for creativity and quick decision-making.\",\n \"personalDescription\": \"An intellectually fertile phase ideal for creative projects, innovation, and quick decision-making. Beware of deception, especially concerning documents or agreements. Foster mental growth and create valuable connections, but remain cautious.\",\n \"businessDescription\": \"Perfect for launching impactful marketing campaigns and securing new agreements. Excellent for promotional activities and intellectual creativity, but carefully scrutinize documents to avoid fraud.\",\n \"astrologySign\": \"Cancer (Nurture Mental Growth)\"\n },\n {\n \"title\": \"Tears/Decision\",\n \"shortDescription\": \"The most prosperous phase for financial resolution and spiritual advancement.\",\n \"personalDescription\": \"The most prosperous phase of the year, suitable for resolving financial issues, starting long journeys, and advancing spiritually. Interact with influential figures, manage debts, and engage in expansive social activities. Keep ego and selfishness balanced for optimal outcomes.\",\n \"businessDescription\": \"A prime time for investments, financial growth, global promotion, debt collection, and favorable legal outcomes. Emphasize fairness and generosity to enhance business success.\",\n \"astrologySign\": \"Leo (Balance Ego and Generosity)\"\n },\n {\n \"title\": \"Triple Blessing\",\n \"shortDescription\": \"Perfect for pleasures, social activities, and creative pursuits.\",\n \"personalDescription\": \"Ideal for enjoying pleasures, social activities, artistic endeavors, and short travels. Favorable for romantic interactions, relaxation, and creative pursuits. Organize personal life to balance enjoyment and refinement effectively.\",\n \"businessDescription\": \"Excellent time for promoting luxury products, arts, entertainment, and speculative investments. Ideal for forming friendly business alliances and strategic partnerships.\",\n \"astrologySign\": \"Virgo (Organize Your Pleasures)\"\n },\n {\n \"title\": \"Rest\",\n \"shortDescription\": \"A period of rest, introspection, and preparation for renewal.\",\n \"personalDescription\": \"A critical period of rest, introspection, and cautious preparation for renewal. Avoid initiating new ventures and instead focus on completing pending matters, managing legal affairs carefully, and protecting existing resources. Balance and patience are essential.\",\n \"businessDescription\": \"Period to conserve resources, avoid major expansions, and carefully manage internal restructuring. Postpone significant new ventures until the next cycle. Act diplomatically and cautiously to ensure stability.\",\n \"astrologySign\": \"Libra (Seek Balance and Reconstruction)\"\n }\n];\n\nexport interface Cycle {\n number: number;\n description: {\n title: string;\n shortDescription: string;\n personalDescription: string;\n businessDescription: string;\n astrologySign: string;\n };\n isActive?: boolean;\n cycleStart?: Date;\n}\n\nexport interface CycleInfo {\n yearlyCycles: Cycle[];\n ageCycles: Cycle[];\n monthlyCycles: Cycle[];\n currentYearlyCycle: number | null;\n currentAgeCycle: number | null;\n currentMonthlyCycle: number | null;\n daysInMonthlyCycle: number;\n totalDays: number;\n}\n\n// Add days to a date\nconst addDays = (date: Date, days: number) => {\n const result = new Date(date);\n result.setDate(result.getDate() + days);\n return result;\n};\n\n// Find the most recent anniversary of the start date\nconst getMostRecentStartDate = (startDate: Date, today: Date) => {\n const startMonth = startDate.getMonth();\n const startDay = startDate.getDate();\n let recentStart = new Date(today.getFullYear(), startMonth, startDay);\n if (recentStart > today) {\n recentStart = new Date(today.getFullYear() - 1, startMonth, startDay);\n }\n return recentStart;\n};\n\n// Calculate cycles (annual and monthly)\nexport const calculateCycles = (startDate: Date, today: Date): CycleInfo => {\n const mostRecentStart = getMostRecentStartDate(startDate, today);\n const cycleLength = 52; // Fixed cycle length for monthly cycles\n\n // Skip annual cycle calculation if start date is in the future\n const isFutureDate = startDate > today;\n let currentYearlyCycle = null;\n let currentAgeCycle = null;\n const ageCycles: Cycle[] = [];\n const yearlyCycles: Cycle[] = [];\n if (!isFutureDate) {\n const birthYear = startDate.getFullYear();\n const currentYear = today.getFullYear();\n const ageInYears = currentYear - birthYear;\n currentAgeCycle = (Math.floor(ageInYears / 7) % 7) + 1;\n for (let i = 0; i < 7; i++) {\n // cycle start for year is which year it started\n const cycleStart = new Date(birthYear + (i * 7), startDate.getMonth(), startDate.getDate());\n\n const cycle = i + 1;\n const isCurrentCycle = cycle === currentAgeCycle;\n\n if (isCurrentCycle) {\n // Calculate yearly cycles within the current age cycle\n // The yearly cycle is based on the person's exact age in years\n // For example, if someone is 6 years old, they're in the 1st age cycle (0-7 years) and the 6th yearly cycle\n const yearsSinceBirth = ageInYears;\n const yearWithinAgeCycle = yearsSinceBirth % 7; // 0-6 representing which year within the current age cycle\n currentYearlyCycle = yearWithinAgeCycle + 1; // Convert to 1-7 range\n \n for (let j = 0; j < 7; j++) {\n // Calculate the start date for each yearly cycle within the current age cycle\n const ageCycleStartYear = birthYear + (Math.floor(ageInYears / 7) * 7); // Start year of current age cycle\n const yearlyCycleStart = new Date(ageCycleStartYear + j, startDate.getMonth(), startDate.getDate());\n const yearlyCycle = j + 1;\n \n const isCurrentYearlyCycle = yearlyCycle === currentYearlyCycle;\n \n yearlyCycles.push({\n number: yearlyCycle,\n description: CYCLE_MEANINGS[j],\n isActive: isCurrentYearlyCycle,\n cycleStart: yearlyCycleStart\n });\n }\n }\n\n ageCycles.push({\n number: cycle,\n description: CYCLE_MEANINGS[i],\n isActive: isCurrentCycle,\n cycleStart,\n });\n }\n }\n\n // Monthly cycles (relative to start date)\n const monthlyCycles: Cycle[] = [];\n for (let i = 0; i < 7; i++) {\n const cycleStart = addDays(mostRecentStart, i * cycleLength);\n \n monthlyCycles.push({\n number: i + 1,\n description: CYCLE_MEANINGS[i],\n isActive: false,\n cycleStart: cycleStart\n });\n }\n\n // Find current monthly cycle\n let currentMonthlyCycle = null;\n let daysInMonthlyCycle = 0;\n for (let i = 0; i < 7; i++) {\n const cycleStart = addDays(mostRecentStart, i * cycleLength);\n const nextCycleStart = i < 6 ? addDays(mostRecentStart, (i + 1) * cycleLength) : addDays(mostRecentStart, 366);\n if (today >= cycleStart && today < nextCycleStart) {\n currentMonthlyCycle = i + 1;\n daysInMonthlyCycle = Math.floor((today.getTime() - cycleStart.getTime()) / (1000 * 60 * 60 * 24)) + 1;\n monthlyCycles[i].isActive = true;\n break;\n }\n }\n\n const totalDays = Math.floor((today.getTime() - mostRecentStart.getTime()) / (1000 * 60 * 60 * 24)) + 1;\n\n return {\n yearlyCycles,\n ageCycles,\n monthlyCycles,\n currentYearlyCycle,\n currentAgeCycle,\n currentMonthlyCycle,\n daysInMonthlyCycle,\n totalDays\n };\n};"]}
|