kaabalah 6.13.0 → 6.14.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.
Files changed (41) hide show
  1. package/dist/chunk-4PVIDUPI.js +3809 -0
  2. package/dist/chunk-4PVIDUPI.js.map +1 -0
  3. package/dist/{chunk-MWHMP3LI.js → chunk-7C7VO76O.js} +437 -7
  4. package/dist/chunk-7C7VO76O.js.map +1 -0
  5. package/dist/{chunk-ZE2KPCHT.mjs → chunk-OZUEDZ4U.mjs} +76 -2
  6. package/dist/chunk-OZUEDZ4U.mjs.map +1 -0
  7. package/dist/{chunk-V5KXYFHZ.mjs → chunk-QQN54SLY.mjs} +427 -6
  8. package/dist/chunk-QQN54SLY.mjs.map +1 -0
  9. package/dist/chunk-WA52P72D.mjs +3781 -0
  10. package/dist/chunk-WA52P72D.mjs.map +1 -0
  11. package/dist/{chunk-5PZ7EB2E.js → chunk-XWVT3SI7.js} +77 -1
  12. package/dist/chunk-XWVT3SI7.js.map +1 -0
  13. package/dist/cli.js +1881 -13
  14. package/dist/cli.js.map +1 -1
  15. package/dist/{data-BXhkIF1M.d.ts → data-BRi5-xg_.d.ts} +9 -1
  16. package/dist/{data-2Hp_b3BD.d.mts → data-BoQrkrWX.d.mts} +9 -1
  17. package/dist/iching/index.d.mts +6 -1
  18. package/dist/iching/index.d.ts +6 -1
  19. package/dist/iching/index.js +42 -34
  20. package/dist/iching/index.mjs +1 -1
  21. package/dist/index.d.mts +4 -4
  22. package/dist/index.d.ts +4 -4
  23. package/dist/index.js +141 -77
  24. package/dist/index.mjs +3 -3
  25. package/dist/semantic/index.d.mts +209 -2
  26. package/dist/semantic/index.d.ts +209 -2
  27. package/dist/semantic/index.js +57 -21
  28. package/dist/semantic/index.mjs +2 -2
  29. package/dist/tarot/index.d.mts +58 -3
  30. package/dist/tarot/index.d.ts +58 -3
  31. package/dist/tarot/index.js +43 -23
  32. package/dist/tarot/index.mjs +1 -1
  33. package/package.json +1 -1
  34. package/dist/chunk-5PZ7EB2E.js.map +0 -1
  35. package/dist/chunk-GET23WEG.js +0 -2678
  36. package/dist/chunk-GET23WEG.js.map +0 -1
  37. package/dist/chunk-MWHMP3LI.js.map +0 -1
  38. package/dist/chunk-V5KXYFHZ.mjs.map +0 -1
  39. package/dist/chunk-WER5UY5M.mjs +0 -2655
  40. package/dist/chunk-WER5UY5M.mjs.map +0 -1
  41. package/dist/chunk-ZE2KPCHT.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/tarot/data.ts","../src/tarot/arkannus.ts","../src/tarot/majorScenes.json","../src/tarot/mythicMinors.json","../src/tarot/readingReference.json","../src/tarot/reference.ts","../src/tarot/mythicFigures.ts","../src/tarot/spreads.ts","../src/tarot/index.ts"],"names":["id"],"mappings":";;;;;;;;;AAMO,IAAM,wBAAqC;AAE3C,IAAM,iBAAiB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AACF;AAuCO,IAAM,cAA6B;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAIO,IAAM,eAA4B;AAAA;AAAA,EAEvC;AAAA,IACE,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,mBAAmB;AAAA,IACnB,SAAS;AAAA,IACT,cAAc;AAAA,IACd,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,mBAAmB;AAAA,IACnB,SACE;AAAA,IACF,cAAc;AAAA,IACd,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,mB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,kBAAkB,OAAO,QAAQ,CAAC;AAAA,EAChE;AAEA,MAAI,YAAY,QAAQ;AACtB,WAAO,MAAM,SAAS,IAAI,OAAO,OAAO,MAAM,CAAC;AAAA,EACjD;AAEA,MAAI,uBAAuB,QAAQ;AACjC,WAAO,MAAM,oBAAoB;AAAA,MAC/B,OAAO,kBAAkB,YAAY;AAAA,IACvC;AAAA,EACF;AAEA,SAAO,MAAM,kBAAkB,IAAI,OAAO,eAAe;AAC3D;AAEO,SAAS,8BACd,QACA,SAAsB,uBACkB;AACxC,QAAM,OAAO,+BAA+B,QAAQ,MAAM;AAE1D,MAAI,CAAC,MAAM;AACT,WAAO;AAAA,EACT;AAEA,QAAM,OAAO,2BAA2B,MAAM;AAE9C,UAAQ,KAAK,MAAM;AAAA,IACjB,KAAK;AACH,aAAO,gCAAgC,MAAM,IAAI;AAAA,IACnD,KAAK;AACH,aAAO,gCAAgC,MAAM,IAAI;AAAA,IACnD,KAAK;AACH,aAAO,gCAAgC,MAAM,IAAI;AAAA,EACrD;AACF;AAEO,SAAS,wBACd,QACuB;AACvB,QAAM,OAAO,oBAAoB,MAAM;AAEvC,MAAI,CAAC,MAAM;AACT,WAAO,CAAC;AAAA,EACV;AAEA,SAAO,oBAAoB;AAAA,IAAI,CAAC,SAC9B,yBAAyB,MAAM,IAAI;AAAA,EACrC;AACF;AAEO,SAAS,uBACd,QACA,QACiC;AACjC,QAAM,OAAO,oBAAoB,MAAM;AACvC,QAAM,OAAO,oBAAoB,KAAK,CAAC,cAAc,UAAU,OAAO,MAAM;AAE5E,MAAI,CAAC,QAAQ,CAAC,MAAM;AAClB,WAAO;AAAA,EACT;AAEA,SAAO,yBAAyB,MAAM,IAAI;AAC5C;AAEO,SAAS,qBACd,QACA,QACoB;AACpB,SAAO,uBAAuB,QAAQ,MAAM,GAAG;AACjD","sourcesContent":["import type { SystemKey } from \"../core\";\n\nexport type Deck = \"papus_pt\" | \"papus\" | \"mythic\" | \"egyptian\" | \"rider-waite\"\nexport type TarotDeckId = Deck;\nexport type TarotTreeId = SystemKey;\n\nexport const DEFAULT_TAROT_TREE_ID: TarotTreeId = \"kaabalah\";\n\nexport const TAROT_TREE_IDS = [\n \"kaabalah\",\n \"hermetic-qabalah\",\n \"lurianic-kabbalah\"\n] as const satisfies readonly TarotTreeId[];\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 papusMeaning?: string\n type: \"major\" | \"minor\" | \"daat+royalship\"\n deck: Deck\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\n// Base card catalog. The exported ARKANNUS list is normalized below so its\n// numbers always reflect the canonical kaabalah tree correspondences.\nexport const RAW_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 papusMeaning: \"Male inquirer.\",\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 papusMeaning: \"Female inquirer.\",\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 papusMeaning: \"Action. Initiative.\",\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 papusMeaning: \"Will.\",\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 papusMeaning: \"Inspiration.\",\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 papusMeaning: \"Love.\",\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 papusMeaning: \"Triumph. Providential protection.\",\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 papusMeaning: \"Justice.\",\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 papusMeaning: \"Prudence.\",\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 papusMeaning: \"Fortune. Destiny.\",\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 papusMeaning: \"Strength. Fortitude.\",\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 papusMeaning: \"Trials. Sacrifice.\",\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 papusMeaning: \"Death.\",\n type: \"major\",\n deck: \"mythic\"\n },\n {\n number: 14,\n tarotCard: \"Temperance\",\n tarotCardFilename: \"14_temperance\",\n meaning: \"Balance, harmonize differences\",\n papusMeaning: \"Temperance. Economy.\",\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 papusMeaning: \"Immense force. Illness.\",\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 papusMeaning: \"Ruin. Deception.\",\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 health, act according to your spiritual purpose\",\n papusMeaning: \"Hope.\",\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 papusMeaning: \"Hidden enemies. Danger.\",\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 papusMeaning: \"Material happiness. Lucky marriage.\",\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 papusMeaning: \"Change of position.\",\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 papusMeaning: \"Inconsiderate actions. Madness.\",\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 papusMeaning: \"Assured success.\",\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 papusMeaning:\n \"A dark man, a friend. He generally represents a married man, the father of a family.\",\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 papusMeaning:\n \"A dark woman, a friend. Represents a serious woman, a very good counsellor, often the mother of a family.\",\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 papusMeaning: \"A dark young man, a friend.\",\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 papusMeaning:\n \"A dark child, a friend. Also represents a message from a near relation.\",\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: \"Initiation\",\n meaning: \"Ignite the flames of ideals, Trust in your inner divinity\",\n papusMeaning: \"Commencement of an enterprise.\",\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: \"Desolation\",\n meaning: \"Formulate a strategy to use your own talents\",\n papusMeaning:\n \"Opposition to the commencement of the enterprise. The enterprise is commenced when an unexpected obstacle suddenly prevents its execution.\",\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: \"Innovation\",\n meaning: \"Keep going despite losing something apparently important\",\n papusMeaning:\n \"Realization of the commencement of the enterprise. The basis of the work is now definitely established, and the undertaking can be fearlessly continued.\",\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: \"Alliance\",\n meaning: \"Work in teams\",\n papusMeaning:\n \"Obstacles to the enterprise.\",\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: \"Magnificence\",\n meaning: \"Strengthen the root chakra, overcome internal fears\",\n papusMeaning: \"Opposition to the obstacles. Victory after surmounting them.\",\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: \"Impediment\",\n meaning: \"External victory, internal lack of internal self realization\",\n papusMeaning:\n \"Realization of the opposition. At last the obstacles succeed. Failure of the enterprise in the midst of its execution.\",\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: \"Exchange\",\n meaning: \"Face competitors in an ethical and loyal way\",\n papusMeaning: \"Certain success to the enterprise.\",\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: \"Domesticity\",\n meaning: \"Travel to the center of peace and intelligence\",\n papusMeaning:\n \"Opposition to its success. The enterprise will only partially succeed.\",\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: \"Uncertainty\",\n meaning: \"Obstacle that precedes total victory, gather hidden forces\",\n papusMeaning: \"Realization of success. Success is continued.\",\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: \"The Unexpected\",\n meaning:\n \"Get out of apathy, create a new tree of life using the Lightning Path\",\n papusMeaning: \"Uncertainty in the management of the enterprise.\",\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 papusMeaning:\n \"A fair man, a friend. This card also represents a barrister, judge, or ecclesiastic. It symbolizes a bachelor.\",\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 papusMeaning:\n \"A fair woman, a friend. The woman loved. The mistress.\",\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 papusMeaning:\n \"A young fair man, a friend. The young man loved. The lover.\",\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 papusMeaning: \"A fair child. A messenger. Birth.\",\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: \"Attraction\",\n meaning: \"Renewal or new affection, alternative treatment for health\",\n papusMeaning: \"Commencement of a love affair.\",\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: \"Versatility\",\n meaning: \"Do not poison yourself or the other person\",\n papusMeaning:\n \"Opposition to this commencement. Unimportant obstacles raised by one of the lovers.\",\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: \"Consummation\",\n meaning: \"Harmony between instinct and emotion, Be discreet\",\n papusMeaning:\n \"Realization of this commencement. The love is mutual.\",\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: \"Conjecture\",\n meaning: \"Abundance in emotional life, do not listen to slander\",\n papusMeaning:\n \"Serious obstacles to the love. They arise from other persons, not from the lovers.\",\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: \"Patrimony\",\n meaning: \"Do not break your spiritual commitment (your purpose)\",\n papusMeaning:\n \"Opposition to the obstacles. Victory over the obstacles after a struggle.\",\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: \"Regeneration\",\n meaning: \"Do not have self-pity\",\n papusMeaning:\n \"The obstacles triumph. Love destroyed in the midst of happiness. Widowhood.\",\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: \"Expressiveness\",\n meaning: \"Gestations, related to The Star\",\n papusMeaning: \"Success assured to the lovers.\",\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: \"Delusion\",\n meaning: \"Reflect on your emotional life after 18 hours\",\n papusMeaning:\n \"Partial failure of love. Love only partially succeeds.\",\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: \"Preeminence\",\n meaning: \"Reconciliations and forgiveness\",\n papusMeaning: \"Motherhood.\",\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: \"Dissension\",\n meaning: \"Marriage of the spirit with the soul, Alchemical Weddings\",\n papusMeaning:\n \"Uncertainty in the management of the love affair.\",\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 papusMeaning:\n \"A dark, bad man. He is a soldier, a powerful enemy, who must be distrusted.\",\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 papusMeaning:\n \"A dark wicked woman. The card also indicates her actions, gossip and calumnies.\",\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 papusMeaning:\n \"A young, dark man, an enemy. He is also a spy.\",\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 papusMeaning: \"A child, an enemy. Bad news. Delay.\",\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: \"Vehemence\",\n meaning: \"Conflicts before victory\",\n papusMeaning: \"Commencement of enmity.\",\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: \"Communion\",\n meaning: \"Traumas and conflicts to be overcome\",\n papusMeaning:\n \"Opposition to this commencement. The enmity does not last.\",\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: \"Proscription\",\n meaning: \"Death of yang, Fire, tendencies to depression\",\n papusMeaning: \"Realization of the enmity. Hatred.\",\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: \"Solitude\",\n meaning: \"Reflection, related to The Hermit\",\n papusMeaning: \"Opposition to the hatred. Success against the enemy.\",\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: \"Evolution\",\n meaning: \"Healthy self-challenge, Self-demands\",\n papusMeaning:\n \"Opposition to this opposition. The enemy triumphs at the moment one fancies the victory is secured.\",\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: \"Revelation\",\n meaning: \"External daily strategies, Future perspectives\",\n papusMeaning:\n \"Equilibrium of the opposition. The enemy is rendered powerless at last.\",\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: \"Meditation\",\n meaning: \"Internal nocturnal strategies, related to The Hermit\",\n papusMeaning: \"Success assured to the enemy.\",\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: \"Rivalry\",\n meaning: \"Appeal to superior forces, Internal and external conflicts\",\n papusMeaning:\n \"Partial opposition to this success. The enemy only partially triumphs.\",\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: \"Pilgrimage\",\n meaning: \"The problems being imagined will never happen\",\n papusMeaning: \"Certain duration of the hatred.\",\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: \"Contrition\",\n meaning: \"Death and rebirth, related to Death and The Tower\",\n papusMeaning: \"Uncertainty in the enmity.\",\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 papusMeaning: \"A fair man, inimical or indifferent.\",\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 papusMeaning: \"A fair woman, indifferent, or inimical.\",\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 papusMeaning: \"A young, fair man. A stranger. An arrival.\",\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 papusMeaning: \"A fair child. A messenger. A letter.\",\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: \"Rebirth\",\n meaning:\n \"Rebirth through a single material goal, Form clear material goals\",\n papusMeaning: \"Commencement of fortune. Inheritance. Gifts. Economy.\",\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: \"Confusion\",\n meaning:\n \"Light forming shadows, Duality asking for synthesis in the trinity, Don't put all the eggs in the same basket\",\n papusMeaning:\n \"Opposition to this commencement. Difficulty in well establishing the first landmarks of good fortune.\",\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: \"The Provider\",\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 papusMeaning:\n \"Realization of this commencement of fortune. A small sum.\",\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: \"Generosity\",\n meaning: \"Avoid avarice / greed\",\n papusMeaning: \"Opposition of fortune. Loss of money.\",\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: \"Offering\",\n meaning:\n \"Only order will bring progress, Do not kick the barn without having something concrete in front of you\",\n papusMeaning:\n \"Opposition to this opposition. A success coming which will balance the low.\",\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: \"Love and Desire\",\n meaning: \"Act with prudence\",\n papusMeaning: \"Realization of the opposition. Ruin.\",\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: \"Purification\",\n meaning: \"Don't boast about your proposal or project\",\n papusMeaning: \"Success assured. A large fortune.\",\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: \"Avarice\",\n meaning: \"Keep doing what you always did\",\n papusMeaning:\n \"Partial success. Great loss of money at the moment apparently of definitely securing the fortune.\",\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: \"Cooperation\",\n meaning: \"Work with what you like and earn something with it\",\n papusMeaning: \"Equilibrium of equilibrium. A durable fortune.\",\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: \"The Unforeseen\",\n meaning: \"Prosperity, Prosperous inheritance\",\n papusMeaning:\n \"Uncertainty in the fortune. Great success and great reverses.\",\n type: \"minor\",\n deck: \"egyptian\",\n suit: \"pentacles\"\n }\n]\n\nexport type TarotDescriptiveDeckKey =\n | \"PAPUS_KAABALISTIC\"\n | \"PAPUS_DIVINATORY\"\n | \"KIER_EGYPTIAN\";\n\nexport interface TarotDeckMetadata {\n id: TarotDeckId;\n label: string;\n}\n\nexport interface TarotDeckDescription {\n name?: string;\n meaning?: string;\n reversedMeaning?: string;\n keywords?: string[];\n /** Approved class-handout reference content, kept separate from the existing meaning. */\n scene?: TarotLocalizedText;\n divinatory?: TarotLocalizedText;\n figure?: TarotLocalizedText;\n}\n\nexport interface TarotLocalizedText {\n readonly en: string;\n readonly pt: string;\n}\n\nexport type TarotDeckConfig = TarotDeckMetadata & {\n descriptiveDataKey?: TarotDescriptiveDeckKey;\n};\n\nexport const TAROT_DECK_METADATA: readonly TarotDeckConfig[] = [\n {\n id: \"papus_pt\",\n label: \"Papus Kaabalistic\",\n descriptiveDataKey: \"PAPUS_KAABALISTIC\"\n },\n {\n id: \"papus\",\n label: \"Papus Divinatory\",\n descriptiveDataKey: \"PAPUS_DIVINATORY\"\n },\n {\n id: \"mythic\",\n label: \"Mythic\"\n },\n {\n id: \"egyptian\",\n label: \"Egyptian\",\n descriptiveDataKey: \"KIER_EGYPTIAN\"\n },\n {\n id: \"rider-waite\",\n label: \"Rider Waite\"\n }\n] as const;\n","import {\n getCanonicalTree,\n id,\n NumerologyTypes,\n parseId,\n TarotTypes,\n type NodeId,\n} from \"../core\";\nimport {\n DEFAULT_TAROT_TREE_ID,\n RAW_ARKANNUS,\n type TarotCard,\n type TarotTreeId,\n} from \"./data\";\n\nconst TAROT_TREE_PARTS: Partial<Record<TarotTreeId, readonly [\"tarot\"]>> = {\n kaabalah: [\"tarot\"]\n};\n\nexport function getTarotTreeWorkspace(treeId: TarotTreeId = DEFAULT_TAROT_TREE_ID) {\n const parts = TAROT_TREE_PARTS[treeId];\n\n if (!parts) {\n return undefined;\n }\n\n return getCanonicalTree({\n system: treeId,\n parts: [...parts]\n });\n}\n\nexport function getDirectTarotCardNumber(\n tarotArkAnnuId: NodeId<TarotTypes.TAROT_ARK_ANNU>,\n treeId: TarotTreeId = DEFAULT_TAROT_TREE_ID\n): number | undefined {\n const tree = getTarotTreeWorkspace(treeId);\n\n if (!tree) {\n return undefined;\n }\n\n const match = tree.getCorrespondences(tarotArkAnnuId, {\n type: NumerologyTypes.NUMBER,\n depth: 1,\n limit: 1\n })[0];\n\n if (!match) {\n return undefined;\n }\n\n return Number.parseInt(parseId(match.node.id), 10);\n}\n\nfunction buildDefaultArkannus(cards: TarotCard[]): TarotCard[] {\n const tree = getTarotTreeWorkspace(DEFAULT_TAROT_TREE_ID);\n const resolveNumber = (tarotCardName: string) => {\n if (!tree) {\n return undefined;\n }\n\n const match = tree.getCorrespondences(\n id(TarotTypes.TAROT_ARK_ANNU, tarotCardName),\n {\n type: NumerologyTypes.NUMBER,\n depth: 1,\n limit: 1\n }\n )[0];\n\n if (!match) {\n return undefined;\n }\n\n return Number.parseInt(parseId(match.node.id), 10);\n };\n\n return [...cards]\n .map((card) => ({\n ...card,\n number: resolveNumber(card.tarotCard) ?? card.number\n }))\n .sort((left, right) => {\n if (left.number !== right.number) {\n return left.number - right.number;\n }\n\n return left.tarotCard.localeCompare(right.tarotCard);\n });\n}\n\nexport const ARKANNUS: TarotCard[] = buildDefaultArkannus(RAW_ARKANNUS);\n","{\n \"source\": \"Mat's modulo 1 class handouts: the scene of each major card as three decks draw it (Papus, Egyptian, Mythic). Notes left out.\",\n \"cards\": {\n \"1\": {\n \"name\": \"The Magician\",\n \"pt\": {\n \"papus\": \"O Mago Criador está em pé, ou seja, traça com seu corpo uma linha vertical que simboliza a ação, sua postura indica verticalidade do ser humano, agora afastada da mera horizontalidade passiva. Formando entre corpo e mesa uma cruz. Seu cinto é composto de uma serpente que morde a sua própria cauda, símbolo da serpente Ouroboros e da eternidade, do eterno retorno ao começo original. Mesa do Mago tem a forma de um cubo, simbolizando no vértice de uma pirâmide invertida, inscrita no cubo. Sobre a mesa ou cubo vemos um cálice/taça, uma espada, uma moeda/escudo cunhada com a estrela de cinco pontas ou em algumas lâminas com a estrela de Salomão e aí então passa a significar o axioma de Hermes Trismegisto: \\\"assim como está embaixo está em cima\\\", Cristo: \\\"assim na terra como é nos céus\\\".\",\n \"egyptian\": \"O Mago está de pé, de perfil, com a serpente na fronte. Com uma mão ergue o espelho e com a outra aponta para a terra. Ao seu lado, sobre a mesa, estão o vaso, a espada e a moeda, e na base da mesa, uma íbis. Acima dele, os dois olhos e o falcão. Abaixo, a pedra cúbica sobre as águas. Ele tem nas mãos os instrumentos básicos, que significam os quatro setores fundamentais da vivência humana. O espelho representa o poder de transformar a natureza para suprir as suas necessidades. O vaso representa o coração, ou a Alma para os egípcios. A espada representa a necessidade humana de imprimir sua identidade. A moeda representa a busca da Beleza e do Saber. Na visão egípcia, eles utilizam a chave (palma de Hórus) para abrir o cubo e assim têm acesso aos instrumentos do mago, espelhando em sua cabeça o cérebro e mente.\",\n \"mythic\": \"A carta do Mago retrata um jovem esguio, de cabelos pretos encaracolados, de pé numa encruzilhada, de frente para nós. Está vestido para a estrada, com uma túnica branca curta e um manto de viagem vermelho. Com a mão esquerda aponta para o alto, em direção ao céu. Com a direita indica uma pedra achatada diante dele, no centro do encontro dos caminhos. Sobre a pedra estão reunidos quatro objetos: um cálice, uma espada, um bastão flamejante ou caduceu entrelaçado por duas serpentes, e um pentáculo. Atrás dele, uma paisagem de rochas e montes áridos. Na visão grega a mesa do mago está sobre uma pedra embrutecida que precisa ser esculpida através dos instrumentos para ter a forma divina.\"\n },\n \"en\": {\n \"papus\": \"The Creator Magician is standing, that is, he traces with his body a vertical line that symbolises action, his posture shows the verticality of the human being, now removed from mere passive horizontality. Forming a cross between body and table. His belt is made of a serpent that bites its own tail, symbol of the serpent Ouroboros and of eternity, of the eternal return to the original beginning. The Magician's table has the shape of a cube, symbolising at the vertex of an inverted pyramid, inscribed in the cube. On the table or cube we see a chalice/cup, a sword, a coin/shield stamped with the five-pointed star or, on some cards, with the star of Solomon, and then it comes to mean the axiom of Hermes Trismegistus: \\\"as it is below, so it is above\\\", Christ: \\\"on earth as it is in heaven\\\".\",\n \"egyptian\": \"The Magician stands in profile, the serpent on his brow. With one hand he raises the mirror and with the other he points to the earth. Beside him, on the table, are the vase, the sword and the coin, and on the base of the table, an ibis. Above him, the two eyes and the falcon. Below, the cubic stone upon the waters. He holds the basic instruments, which stand for the four fundamental sectors of human experience. The mirror represents the power to transform nature to meet your needs. The vase represents the heart, or the Soul for the Egyptians. The sword represents the human need to imprint one's identity. The coin represents the search for Beauty and Knowledge. In the Egyptian view, they use the key (palm of Horus) to open the cube and so gain access to the magician's instruments, mirroring in his head the brain and mind.\",\n \"mythic\": \"The card of the Magician portrays a wiry, slender young man with curling black hair, who stands facing us at a crossroads. He is dressed for the road in a short white tunic and a deep red travelling cloak. With his left hand he points upward toward heaven. With the right he gestures at a flat rock which lies before him at the centre of the convergence of roads. On the rock four objects are assembled: a chalice, a sword, a flaming wand or caduceus entwined by two snakes, and a pentacle. Behind him, a landscape of rocks and barren hills. In the Greek view the magician's table stands on a rough stone that needs to be carved by means of the instruments to take on the divine form.\"\n }\n },\n \"2\": {\n \"name\": \"The High Priestess\",\n \"pt\": {\n \"papus\": \"Uma figura feminina sentada entre duas colunas, sendo tais colunas símbolo dos dois pilares da árvore da vida, a dualidade que habita em todas as coisas. No tarot Kaabalístico as colunas estão ocultas por uma cortina que significa que vencendo a dualidade, o peregrino que deseja evoluir através do caminho do mago tem direito a descerrar com sua espada os véus que encobrem as dimensões (os véus de Ísis), para se perpetuar no Ark Annu seguinte. A Papisa traz sobre a cabeça um diadema composto por dois chifres tendo no interior dos mesmos um círculo vermelho representando a lua, símbolo da maternidade.\",\n \"egyptian\": \"Uma figura feminina sentada em seu quaternário inferior entre duas torres, folheando o livro da vida, as palavras de nosso DNA, desnudando o peito esquerdo que expressa a ideia da nutrição vinda das energias da via láctea (via do leite), o feminino de cima. Essa figura feminina também possui um véu de separação da nossa realidade até o cosmos dividido em sete camadas.\",\n \"mythic\": \"Uma figura feminina desce através dos 33 degraus da coluna vertebral para o submundo (subconsciência) e lá se depara com uma torre escura (antimatéria) e uma torre clara (matéria). Ela se veste de branco representando a pureza e em suas mãos a flor de narciso, que recebeu esse nome após Narciso se suicidar por amor de si mesmo. Seu buquê de narcisos forma 10 + 1, formando as esferas da árvore das vidas, cada flor possui 5 pétalas formando pentagramas que representam formas perfeitas dos humanos. Em sua outra mão ela tem uma romã/maçã que possui a cor vermelha por fora e dentro possui sua cor pura do branco, mostrando que a descida ao seu submundo dos desencarnados exige a vibração da glândula pineal, entre os dois lados cerebrais.\"\n },\n \"en\": {\n \"papus\": \"A female figure seated between two columns, these columns being a symbol of the two pillars of the tree of life, the duality that dwells in all things. In the Kaabalistic tarot the columns are hidden by a curtain, which means that by overcoming duality, the pilgrim who wishes to evolve along the magician's path has the right to draw back with his sword the veils that cover the dimensions (the veils of Isis), to carry on into the next Ark Annu. The Papess wears on her head a diadem made of two horns with a red circle inside them representing the moon, symbol of motherhood.\",\n \"egyptian\": \"A female figure seated in her lower quaternary between two towers, leafing through the book of life, the words of our DNA, baring the left breast, which expresses the idea of nourishment coming from the energies of the Milky Way (way of milk), the feminine from above. This female figure also has a veil separating our reality from the cosmos, divided into seven layers.\",\n \"mythic\": \"A female figure descends through the 33 steps of the spinal column to the underworld (subconsciousness) and there comes upon a dark tower (antimatter) and a light tower (matter). She dresses in white representing purity and in her hands the narcissus flower, which received this name after Narcissus killed himself for love of himself. Her bouquet of narcissi forms 10 + 1, forming the spheres of the tree of lives, each flower has 5 petals forming pentagrams that represent perfect forms of humans. In her other hand she has a pomegranate/apple that is red on the outside and inside has its pure colour of white, showing that the descent to her underworld of the disincarnate requires the vibration of the pineal gland, between the two sides of the brain.\"\n }\n },\n \"3\": {\n \"name\": \"The Empress\",\n \"pt\": {\n \"papus\": \"Uma mulher vestida de sol ou alada que traz em sua cabeça uma coroa (diadema) de 12 estrelas (em algumas lâminas 9 são expostas e três ocultas), tem em uma das mãos um cetro e na outra um escudo onde está estampada uma águia que traz pendurada no bico ou no pescoço a cruz solar. A Imperatriz encontra-se sentada sobre a pedra cúbica tendo a seus pés uma lua, assim está ligada com o feminino menor ou o feminino de baixo, associada a Iemanjá, também chamada imperatriz do mar. A Lua pisoteada pela Sacerdotisa converte-se então em Sol.\",\n \"egyptian\": \"Uma mulher coroada por 12 (1+2=3) estrelas que se referem aos 12 signos do zodíaco. Na forma egípcia temos a serpente na cabeça e a roupa é resplandecente, indicando a maestria do kundalini levantado. No braço direito temos o báculo do poder com o globo do poder na extremidade (Urânia-Vênus) e na mão esquerda a pomba, símbolo do Espírito Santo. Está sentada sobre uma pedra cúbica já trabalhada. Pisa sobre as águas da vida e sobre a Lua (ego lunar), indicando que Ghimel atua através da imaginação para se efetuar as cristalizações no mundo material.\",\n \"mythic\": \"Na forma grega uma bela mulher grávida, essa gravidez a fecundidade que ela está pronta para colocar para fora após seu período de maturação. Os longos cabelos castanhos marrom mostram sua forte ligação com as coisas da terra, em pé no meio de um campo de trigos para maturação e haver a grande colheita e assim a separação do joio e do trigo. Sua saia é urdida com muitas e diferentes plantas e a barra é feita de ramos de folhas de louro, em volta do pescoço, um colar de 12 pedras preciosas, as 12 insígnias zodiacais. Em sua cabeça uma coroa com um diadema (coroa) de castelos e torres que demonstra como ela construiu suas bases acima dos instintos, atrás dela um cenário de campos férteis onde uma queda d'água flui para o lago simbolizando a fertilidade que traz consigo mesmo.\"\n },\n \"en\": {\n \"papus\": \"A woman clothed with the sun, or winged, who wears on her head a crown (diadem) of 12 stars (on some cards 9 are shown and three hidden), holds in one hand a sceptre and in the other a shield stamped with an eagle that carries the solar cross hanging from its beak or its neck. The Empress is seated on the cubic stone with a moon at her feet, so she is linked with the lesser feminine or the feminine from below, associated with Iemanjá, also called empress of the sea. The Moon trodden by the Priestess then turns into the Sun.\",\n \"egyptian\": \"A woman crowned by 12 (1+2=3) stars that refer to the 12 signs of the zodiac. In the Egyptian form we have the serpent on the head and the clothing is resplendent, indicating mastery of the raised kundalini. On the right arm we have the staff of power with the globe of power at its tip (Urania-Venus) and in the left hand the dove, symbol of the Holy Spirit. She is seated on a cubic stone already worked. She treads on the waters of life and on the Moon (lunar ego), indicating that Ghimel acts through the imagination to bring about crystallisations in the material world.\",\n \"mythic\": \"In the Greek form a beautiful pregnant woman, this pregnancy the fruitfulness she is ready to bring out after her period of ripening. The long brown hair shows her strong bond with the things of the earth, standing in the middle of a field of wheat left to ripen so there can be the great harvest and so the separation of the chaff from the wheat. Her skirt is woven with many different plants and the hem is made of branches of laurel leaves, around her neck, a necklace of 12 precious stones, the 12 zodiacal insignia. On her head a crown with a diadem (crown) of castles and towers, which shows how she built her foundations above the instincts, behind her a setting of fertile fields where a waterfall flows into the lake, symbolising the fertility she carries with her.\"\n }\n },\n \"4\": {\n \"name\": \"The Emperor\",\n \"pt\": {\n \"papus\": \"Na lâmina Kaabalística o Imperador tem o pássaro contrário da Imperatriz, esses dois pássaros formam os querubins ungidos da arca da aliança ou arca de Anúbis. O Imperador usa na cabeça um capuz com a base formada por uma coroa, esse é o emblema do poder e da força. Como símbolo de mando, ele empunha o cetro de Ísis, a cruz ansata, mantida verticalmente em sua mão direita, enquanto a pedra cúbica sobre a qual se senta expressa seu domínio sobre a matéria. Seus pés estão cruzados, simbolizando os quatro pontos cardeais e as quatro estações do ano: primavera, verão, outono, inverno.\",\n \"egyptian\": \"O Imperador aparece sentado ou encostado sobre uma pedra cúbica perfeitamente trabalhada, ou seja, em posição estável, indicando um poder que emana da vontade, atributo masculino. De sua cabeça sobressai uma serpente, mais uma vez o símbolo da maestria. Na mão direita retém o báculo do poder. Em algumas cartas o báculo é terminado por uma cruz (quatro elementos, animais, idades, fases da Lua, estações do ano, etc.) e encimado por uma esfera ou círculo, símbolo do espírito sobre a matéria, em outras está invertido. No tarô egípcio, no interior da pedra há um gato e uma simbologia do elemento Fogo, em outras versões da lâmina aparece a ave fênix (que renasce das próprias cinzas: INRI, \\\"In Necis Renascor Integer\\\", \\\"na morte renascer intacto e puro\\\", o ego morre e daí nasce o Cristo).\",\n \"mythic\": \"Na lâmina mitológica Zeus tem a sua morada nos picos montanhosos porque é um deus de alturas mentais e espiritualistas e a sua vontade eleva-se acima da sujeição do corpo e das limitações da natureza. A águia é o emblema de Zeus por causa de sua agudez de visão e poder de alto voo, acima de qualquer outro pássaro, tal como um pássaro de rapina, ele também expressa o instinto agressivo e de conquista do deus. O raio é o símbolo de poder do Zeus, não somente em razão de sua onipotência, mas também porque ele ilumina o céu. Zeus é um deus de inspiração e de repentina visão criativa. O raio também simboliza a sua revelação da verdade.\"\n },\n \"en\": {\n \"papus\": \"On the Kaabalistic card the Emperor has the bird opposite to the Empress's, these two birds form the anointed cherubim of the ark of the covenant or ark of Anubis. The Emperor wears on his head a hood whose base is formed by a crown, this is the emblem of power and strength. As a symbol of command, he holds the sceptre of Isis, the ansate cross, kept upright in his right hand, while the cubic stone on which he sits expresses his dominion over matter. His feet are crossed, symbolising the four cardinal points and the four seasons of the year: spring, summer, autumn, winter.\",\n \"egyptian\": \"The Emperor appears seated on or leaning against a perfectly worked cubic stone, that is, in a stable position, indicating a power that flows from the will, a masculine attribute. From his head rises a serpent, once again the symbol of mastery. In his right hand he holds the staff of power. On some cards the staff ends in a cross (four elements, animals, ages, phases of the Moon, seasons of the year, etc.) and is topped by a sphere or circle, symbol of spirit over matter, on others it is inverted. In the Egyptian tarot, inside the stone there is a cat and a symbol of the element Fire, in other versions of the card the phoenix appears (which is reborn from its own ashes: INRI, \\\"In Necis Renascor Integer\\\", \\\"in death to be reborn intact and pure\\\", the ego dies and from there the Christ is born).\",\n \"mythic\": \"On the mythological card Zeus has his dwelling on the mountain peaks because he is a god of mental and spiritual heights and his will rises above the subjection of the body and the limitations of nature. The eagle is the emblem of Zeus because of its sharpness of sight and power of high flight, above any other bird, and like a bird of prey, it also expresses the god's aggressive and conquering instinct. The lightning bolt is the symbol of Zeus's power, not only because of his omnipotence, but also because it lights up the sky. Zeus is a god of inspiration and of sudden creative vision. The lightning bolt also symbolises his revelation of the truth.\"\n }\n },\n \"5\": {\n \"name\": \"The Hierophant\",\n \"pt\": {\n \"papus\": \"O iniciado de Ísis trajando as vestes eucarísticas vermelhas de um supremo pontífice, está o Papa ou Hierophante, sentado em um trono que fica entre os dois pilares dos opostos (Jakin e Boas). Sua mão está erguida numa bênção de suprema autoridade, o símbolo sacerdotal: o pentagrama esotérico, a estrela de cinco pontas utilizada para invocar anjos (três pontas para cima e duas para baixo). Sua mão esquerda empunha a cruz patriarcal dos 4 elementos, a cruz com três travessas representa o tríplice \\\"Linghan\\\" e indica que o iniciado levantou as serpentes nos sete corpos em três níveis, que corresponde um anjo com três pares de asas. A seus pés dois discípulos ajoelhados, que simbolizam as naturezas intelectual e de desejo do homem, ambas dedicadas ao serviço do amor e da graça divinos.\",\n \"egyptian\": \"Na lâmina egípcia vemos a figura do Hierarca com a máscara do chacal (quando oficiam, os mestres do Kharma se apresentam com esta máscara), vestido com uma malha de guerra e sustentando o báculo do poder em sua destra, nas águas da vida a balança com os dois pratos, do mérito e do demérito, tudo dando a ideia de justiça, de piedade e impiedade da Lei. O Hierarca do Ark Annu 5, o Chacal dos Chacais, é o chefe dos Arcontes do destino, ou seja, Anúbis, o Deus egípcio de cabeça de chacal com o qual é possível negociar o Kharma: pagar com boas obras ou com dor.\",\n \"mythic\": \"Na lâmina mitológica temos a caverna como no mito de Platão, que também é chamado de templo de Quíron, o centauro. Os dois pilares representam o pilar do egoísmo e o pilar do altruísmo, que era fundamental para recebermos os ensinos do Quíron (eu superior). O pergaminho enrolado é o livro da vida da Papisa enrolado em forma de cetro, fazendo a palavra ser viva, o Logus. Suas quatro patas mostram a ligação com o quaternário inferior e seu mudra traz a luz, linkando Mercúrio como filho de Júpiter (Hermes filho de Zeus), ou a expansão da fala.\"\n },\n \"en\": {\n \"papus\": \"The initiate of Isis wearing the red eucharistic vestments of a supreme pontiff, here is the Pope or Hierophant, seated on a throne that stands between the two pillars of the opposites (Jakin and Boaz). His hand is raised in a blessing of supreme authority, the priestly symbol: the esoteric pentagram, the five-pointed star used to invoke angels (three points up and two down). His left hand holds the patriarchal cross of the 4 elements, the cross with three bars represents the triple \\\"Linghan\\\" and indicates that the initiate has raised the serpents in the seven bodies on three levels, which corresponds to an angel with three pairs of wings. At his feet two kneeling disciples, who symbolise the intellectual nature and the desire nature of man, both devoted to the service of divine love and grace.\",\n \"egyptian\": \"On the Egyptian card we see the figure of the Hierarch with the mask of the jackal (when they officiate, the masters of Karma appear with this mask), dressed in a coat of war mail and holding the staff of power in his right hand, in the waters of life the scales with the two pans, of merit and demerit, all giving the idea of justice, of the mercy and the mercilessness of the Law. The Hierarch of Ark Annu 5, the Jackal of Jackals, is the chief of the Archons of destiny, that is, Anubis, the jackal-headed Egyptian God with whom it is possible to negotiate Karma: to pay with good works or with pain.\",\n \"mythic\": \"On the mythological card we have the cave as in Plato's myth, which is also called the temple of Chiron, the centaur. The two pillars represent the pillar of selfishness and the pillar of altruism, which was essential for us to receive the teachings of Chiron (the higher self). The rolled parchment is the Papess's book of life rolled into the shape of a sceptre, making the word alive, the Logos. His four legs show the link with the lower quaternary and his mudra brings the light, linking Mercury as son of Jupiter (Hermes son of Zeus), or the expansion of speech.\"\n }\n },\n \"6\": {\n \"name\": \"The Lover\",\n \"pt\": {\n \"papus\": \"A figura de um ser (o peregrino) entre outros dois seres (Eva e Lilith) em campo aberto, se acha perplexo ante as correntes antagônicas e não sabe como governá-las. Pede ajuda ao espiritual tendo flutuando acima de suas cabeças um anjo (Eros). Duas mulheres tocam seu ombro e sugerem o caminho que deverá trilhar. A mulher da direita exibe um círculo de ouro sobre a sua testa enquanto a da esquerda está meio largada e coroada com ramos (em algumas cartas esta ordem é trocada). As duas mulheres representam as duas colunas do templo de Ísis (Jakin e Boas) e personificam a virtude e o vício. Por cima dos três encontra-se um anjo, o cupido ou o Ark Annu da justiça, que mira sua flecha à mulher viciosa apontando o castigo (pode estar trocada em algumas cartas). Os braços cruzados da figura central, sobre o peito, é o símbolo da paixão transmutada em verdadeiro amor.\",\n \"egyptian\": \"No tarô egípcio o discípulo se encontra de pé nas águas da vida em frente a um triângulo negro invertido. Também forma um pentagrama com seus braços, mas como o braço esquerdo está sob o direito implica que está caído, daí seu pé estar direcionado para a medusa que está à sua esquerda. À sua direita encontra-se uma Mestra. Na parte superior o Ark Annu da Justiça ou Hierarca da Lei segura um arco que forma um triângulo com o vértice para cima e aponta com a sua flecha para a cabeça de Medusa (em algumas cartas aparece invertido) no intuito de cortá-la, sugerindo a indicação do melhor caminho a seguir. Então temos o triângulo invertido embaixo e o triângulo positivo em cima (arco), formando a Estrela de Davi. O indivíduo encontra-se entre os dois triângulos e tem de se decidir por um ou outro caminho: o da luz ou o das trevas.\",\n \"mythic\": \"Acontece uma aposta entre as deusas Athena, Hera e Afrodite para saber quem delas seria a mais bela, como não se chegava a lugar nenhum, Hermes sugeriu que fosse escolhido um humano aleatório e quem o humano escolhesse ficaria com o título de mais bela. O humano escolhido foi Páris, o príncipe de Troia. Athena, para o convencer e ficar com o título, lhe oferece uma espada, que simboliza o poder afiado da mente, a visão aguda e a assertividade que pertencem à esfera mental (a sabedoria), Afrodite lhe tenta convencer oferecendo o cálice do amor (a mulher mais bela do mundo), já a deusa Hera oferece o globo ou a moeda, que simboliza riquezas e poder no mundo material. Essa é uma analogia dos 4 corpos sutis inferiores, o quaternário inferior, e Páris após muito pensar decide escolher o presente de Afrodite.\"\n },\n \"en\": {\n \"papus\": \"The figure of a being (the pilgrim) between two other beings (Eve and Lilith) in an open field, he finds himself perplexed before the opposing currents and does not know how to govern them. He asks the spiritual for help, with an angel (Eros) floating above their heads. Two women touch his shoulder and suggest the path he should take. The woman on the right shows a circle of gold on her forehead while the one on the left is rather dishevelled and crowned with branches (on some cards this order is reversed). The two women represent the two columns of the temple of Isis (Jakin and Boaz) and personify virtue and vice. Above the three there is an angel, the cupid or the Ark Annu of justice, who aims his arrow at the woman of vice, pointing out the punishment (it may be reversed on some cards). The crossed arms of the central figure, over the chest, are the symbol of passion transmuted into true love.\",\n \"egyptian\": \"In the Egyptian tarot the disciple stands in the waters of life in front of an inverted black triangle. He also forms a pentagram with his arms, but as the left arm is under the right it implies that he is fallen, hence his foot being turned toward the medusa on his left. On his right there is a female Master. In the upper part the Ark Annu of Justice or Hierarch of the Law holds a bow that forms a triangle with its vertex upward and points his arrow at the head of Medusa (on some cards it appears inverted) with the aim of cutting it off, suggesting the indication of the best path to follow. So we have the inverted triangle below and the positive triangle above (the bow), forming the Star of David. The individual stands between the two triangles and has to decide for one path or the other: that of light or that of darkness.\",\n \"mythic\": \"A wager takes place among the goddesses Athena, Hera and Aphrodite to know which of them was the most beautiful, and as they were getting nowhere, Hermes suggested that a random human be chosen and whoever the human chose would keep the title of most beautiful. The human chosen was Paris, the prince of Troy. Athena, to convince him and keep the title, offers him a sword, which symbolises the sharp power of the mind, the keen sight and the assertiveness that belong to the mental sphere (wisdom), Aphrodite tries to convince him by offering the cup of love (the most beautiful woman in the world), while the goddess Hera offers the globe or the coin, which symbolises riches and power in the material world. This is an analogy of the 4 lower subtle bodies, the lower quaternary, and Paris after much thought decides to choose Aphrodite's gift.\"\n }\n },\n \"7\": {\n \"name\": \"The Chariot\",\n \"pt\": {\n \"papus\": \"Um trono móvel, um dossel, sustentado por quatro colunas e coberto por um manto estrelado na cor celeste arrastado por duas esfinges, sendo uma branca e a outra negra, que simbolizam a dualidade das forças astrais: as esfinges (princípios ativo e passivo) olham ou avançam cada uma para um lado oposto à outra. Sobre o carro avança um rei poderoso coroado com um círculo. Em algumas cartas há três pentagramas de ouro na coroa. O carro é puxado por duas esfinges, uma clara e uma escura, uma feminina e outra masculina, que representam os opostos da existência manifestada (matéria e antimatéria). O bastão da vontade mostra que doma as bestas dos opostos. O dossel estrelado e as luas crescentes sobre seus ombros mostram que conhece a força das influências celestes e que a utiliza. O carro possui quatro cantos indicando o quádruplo eu humano inferior.\",\n \"egyptian\": \"No tarô egípcio o Íntimo (Chessed) aparece triunfante, com a espada flamejante (sêmen transmutado) na mão direita (pilar esquerdo da árvore: destruição, justiça) e o báculo na esquerda (pilar direito da árvore: criação, misericórdia), posicionado no centro do carro, é puxado pelas forças masculinas e femininas (esfinges). A pedra cúbica está trabalhada. Importa que é preciso saber utilizar o báculo e a espada para se obter a vitória. A espada flamejante representa a vitória sobre os sete pecados capitais e a aquisição das sete virtudes simbolizadas pelos antigos como os sete planetas em seu aspecto positivo ou negativo.\",\n \"mythic\": \"Um homem de cabelos escuros, o Deus Ares, dirigindo uma carruagem de guerra em bronze e uma túnica cor vermelho sangue, em sua cintura ele carrega um escudo de bronze e, ao seu lado, uma grande lança. Ele segura as rédeas de dois cavalos, um branco e um escuro, que representam um grande potencial para o bem e para o mal, que puxam a carruagem em direções opostas. O cenário se passa em um deserto que demonstra uma falta de água, que simboliza os sentimentos e emoções (Ares e Afrodite, que possuem uma mútua atração cheia de conflitos), enquanto grandes nuvens ou véus de realidade escondem o outro lado.\"\n },\n \"en\": {\n \"papus\": \"A moving throne, a canopy, held up by four columns and covered by a starry mantle the colour of the sky, drawn by two sphinxes, one white and the other black, which symbolise the duality of the astral forces: the sphinxes (active and passive principles) look or move each toward the side opposite the other. On the chariot rides a mighty king crowned with a circle. On some cards there are three golden pentagrams on the crown. The chariot is pulled by two sphinxes, one light and one dark, one female and the other male, which represent the opposites of manifested existence (matter and antimatter). The staff of the will shows that he tames the beasts of the opposites. The starry canopy and the crescent moons on his shoulders show that he knows the force of the celestial influences and uses it. The chariot has four corners indicating the fourfold lower human self.\",\n \"egyptian\": \"In the Egyptian tarot the Innermost (Chesed) appears triumphant, with the flaming sword (transmuted semen) in the right hand (left pillar of the tree: destruction, justice) and the staff in the left (right pillar of the tree: creation, mercy), positioned at the centre of the chariot, it is pulled by the masculine and feminine forces (sphinxes). The cubic stone is worked. What matters is that one must know how to use the staff and the sword to obtain victory. The flaming sword represents victory over the seven deadly sins and the gaining of the seven virtues, symbolised by the ancients as the seven planets in their positive or negative aspect.\",\n \"mythic\": \"A dark-haired man, the God Ares, driving a bronze war chariot and a blood-red tunic, at his waist he carries a bronze shield and, at his side, a great spear. He holds the reins of two horses, one white and one dark, which represent a great potential for good and for evil, and which pull the chariot in opposite directions. The scene takes place in a desert that shows a lack of water, which symbolises feelings and emotions (Ares and Aphrodite, who have a mutual attraction full of conflict), while great clouds or veils of reality hide the other side.\"\n }\n },\n \"8\": {\n \"name\": \"Justice\",\n \"pt\": {\n \"papus\": \"Nesta carta encontramos uma mulher sentada entre as duas colunas do templo, Jakin-Netzah (corpo astral) e Boas-Hod (corpo mental), segura em uma das mãos (geralmente a direita: Chessed, firmeza) a espada, símbolo do discernimento e do elemento Ar, que apontada para cima simbolizando que precisamos ser retos nos pensamentos, palavras e obras e, na outra, a balança no ponto fiel, o que denota a ideia de precisão, equilíbrio e justiça. A figura da Papisa, rompendo as cortinas que velam o templo, se transforma na Deusa Themis (a Justiça), interceptando constantemente o Mago pelas encruzilhadas dos caminhos. No chão há um mosaico preto e branco, indicando as benesses e as severidades da lei equilibradas pela justiça, cujos julgamentos se farão sempre no interior da grande loja (réplica das iniciações egípcias).\",\n \"egyptian\": \"Na lâmina egípcia, a justiça está sobre 3 degraus, compostos com três cores reais simbolizando os 3 primeiros graus da iniciação universal. Os degraus também indicam que após o peregrino dar três voltas completas em torno de sua cabeça, ou ao redor do mundo, harmonizando os 3 poderes (Causa, Leis, Efeito), que ficam magnetizadas pelas nossas ações e, assim, criamos simpatias contra e a favor de nós mesmos. Acima da cabeça um dos símbolos de Ra.\",\n \"mythic\": \"A deusa da justiça Thena (Themis) ou Metis ou Athena está revestida de sua armadura (merkaabah), de um lado a espada erguida mostrando a justiça divina, e na outra mão uma balança que simboliza a capacidade de pesar uma coisa em comparação a outra para chegar em um juízo totalmente imparcial. A deusa Athena teria inventado o primeiro júri humano, a coruja remete à clareza de visão mesmo no escuro.\"\n },\n \"en\": {\n \"papus\": \"On this card we find a woman seated between the two columns of the temple, Jakin-Netzach (astral body) and Boaz-Hod (mental body), she holds in one hand (usually the right: Chesed, firmness) the sword, symbol of discernment and of the element Air, which pointed upward symbolises that we need to be upright in thoughts, words and deeds and, in the other, the scales at the point of balance, which conveys the idea of precision, equilibrium and justice. The figure of the Papess, tearing open the curtains that veil the temple, becomes the Goddess Themis (Justice), constantly intercepting the Magician at the crossroads of the paths. On the floor there is a black and white mosaic, indicating the favours and the severities of the law balanced by justice, whose judgments will always be made inside the great lodge (a replica of the Egyptian initiations).\",\n \"egyptian\": \"On the Egyptian card, justice stands on 3 steps, made up of three royal colours symbolising the first 3 degrees of universal initiation. The steps also indicate that after the pilgrim makes three complete turns around his head, or around the world, harmonising the 3 powers (Cause, Laws, Effect), which are magnetised by our actions and, in this way, we create sympathies against and in favour of ourselves. Above the head one of the symbols of Ra.\",\n \"mythic\": \"The goddess of justice Thena (Themis) or Metis or Athena is clad in her armour (merkaabah), on one side the raised sword showing divine justice, and in the other hand a pair of scales that symbolises the capacity to weigh one thing against another to reach a wholly impartial judgment. The goddess Athena is said to have invented the first human jury, the owl points to clarity of sight even in the dark.\"\n }\n },\n \"9\": {\n \"name\": \"The Hermit\",\n \"pt\": {\n \"papus\": \"Um sábio solitário, aparentemente de certa idade, com o corpo coberto por um manto, traz numa das mãos a lâmpada e na outra um bastão ou cajado (que em algumas lâminas tem 3 nós, simbolizando o triunfo espiritual, fruto da disciplina sobre os 3 veículos: o físico, o emocional e o mental). O ancião caminha apoiado em um cajado, cuja empunhadura tem a forma de ábaco, signo do cetro espiritual. Aos seus pés, uma serpente, símbolo do mal (neste caso especificamente), que não é temida, pois sabe ele retê-la sob seus pés, dominando-a com sabedoria. A lamparina ilumina seu espírito e suas moradas interiores, pois entende que somente possuindo sua própria luz interior poderá transmitir a claridade de seu espírito aos seus semelhantes. Normalmente, a capa da figura é cinza por fora, com forro azul.\",\n \"egyptian\": \"Na lâmina egípcia, o Eremita caminha sob o sol (do alvorecer) do meio-dia que emana 3 raios. Sob seus pés o círculo avermelhado representando o oculto, o sol da meia-noite ou ainda o poente, significando que o Eremita passa dias e noites em busca do autoconhecimento porque sabe que só através deste poderá sondar os mistérios do universo.\",\n \"mythic\": \"A carta do Eremita retrata um ancião de barba branca envolto em túnica cinza, tendo seu rosto meio encoberto por um capuz. Em sua mão direita, ele carrega uma lanterna que brilha em uma luz dourada, que também recebe o nome de lanterna de Chronnos / Cronos / Kronos, a luz da percepção do conhecimento, angariadas pela solidão e pela paciente espera que a lâmina do Eremita implica, na mão esquerda, uma foice, uma forma de lua crescente simbolizando as eternas flutuações e os ciclos do tempo. Um corvo está pousado em seu ombro, o famoso pássaro de Chronnos, pois se acredita que seja a encarnação do espírito do velho rei que morreu para abrir caminho para o novo ciclo. Atrás dele, um cenário frio e enevoado de montanhas cinzas sob um céu carregado e opressivo, os céus em que vivemos.\"\n },\n \"en\": {\n \"papus\": \"A solitary sage, apparently of a certain age, his body covered by a cloak, carries in one hand the lamp and in the other a staff or crook (which on some cards has 3 knots, symbolising spiritual triumph, the fruit of discipline over the 3 vehicles: the physical, the emotional and the mental). The old man walks leaning on a staff whose handle has the shape of an abacus, sign of the spiritual sceptre. At his feet, a serpent, symbol of evil (in this case specifically), which is not feared, for he knows how to hold it under his feet, mastering it with wisdom. The lamp lights his spirit and his inner dwellings, for he understands that only by having his own inner light can he pass on the clarity of his spirit to his fellow beings. Usually, the figure's cape is grey on the outside, with a blue lining.\",\n \"egyptian\": \"On the Egyptian card, the Hermit walks under the midday sun (the sun of dawn) that sends out 3 rays. Under his feet the reddish circle representing the hidden, the midnight sun or else the setting sun, meaning that the Hermit spends days and nights in search of self-knowledge because he knows that only through it can he probe the mysteries of the universe.\",\n \"mythic\": \"The Hermit card portrays an old man with a white beard wrapped in a grey tunic, his face half hidden by a hood. In his right hand, he carries a lantern that shines with a golden light, which is also called the lantern of Chronnos / Cronus / Kronos, the light of the perception of knowledge, gathered through the solitude and the patient waiting that the Hermit card implies, in his left hand, a sickle, a crescent moon shape symbolising the eternal fluctuations and the cycles of time. A crow is perched on his shoulder, the famous bird of Chronnos, for it is believed to be the incarnation of the spirit of the old king who died to make way for the new cycle. Behind him, a cold and misty setting of grey mountains under a heavy and oppressive sky, the skies we live in.\"\n }\n },\n \"10\": {\n \"name\": \"The Wheel of Fortune\",\n \"pt\": {\n \"papus\": \"No tarô Kaabalístico vemos um bastão com duas serpentes entrelaçadas que são símbolo do caduceu. Presa por uma haste invisível está a roda, que traz ao centro o Hexagrama. Ascendendo pelo lado direito da roda temos Hermanúbis evoluindo com corpo humano e cabeça de cão carregando o caduceu hermético alado. Em sentido descendente pelo lado esquerdo temos Tífon/Baphomet/Sobek com corpo de crocodilo, preso pelo rabo à Esfinge que, ativa e fixa, empunha a espada da justiça divina (Gueburah). Este Ark Annu lembra-nos que tudo que está embaixo poderá subir, e tudo que está em cima poderá cair. Na parte superior, a Esfinge, que em equilíbrio sobre a roda, representa a Mãe Natureza.\",\n \"egyptian\": \"Na lâmina egípcia Tífon tem corpo e cabeça de crocodilo, e Hermanúbis o corpo humano e a cabeça de íbis. Sob o caduceu estão duas serpentes subaquáticas e a esfinge paira fixa sobre a plataforma, empunhando o cajado dos patriarcas.\",\n \"mythic\": \"Três mulheres (Moiras) dentro de uma caverna escura, a primeira, jovem, tece em uma roda dourada, a segunda é elegante e madura, mede o comprimento de um fio entre as mãos, a terceira é de mais idade e segura um par de tesouras. No centro, entre elas, há uma roda dourada ao redor da qual quatro figuras humanas são colocadas em posições diferentes, a fórmula iniciática do tetragrama sagrado, da queda e redenção humana, formando uma dança das cadeiras até o estado angélico. Pela abertura da caverna um cenário com muito verde visível. A caverna nos ensina tanto o útero quanto a tumba para o qual ela retorna, o início e fim se tocando. As três Moiras (deusas do destino), Cloto fiava, Láquesis media e Átropos, cujo nome significa aquela que não pode ser evitada, cortava.\"\n },\n \"en\": {\n \"papus\": \"In the Kaabalistic tarot we see a staff with two entwined serpents, which are the symbol of the caduceus. Held by an invisible shaft is the wheel, which bears the Hexagram at its centre. Rising on the right side of the wheel we have Hermanubis, evolving, with a human body and a dog's head, carrying the winged Hermetic caduceus. Going down on the left side we have Typhon/Baphomet/Sobek with a crocodile's body, held by the tail to the Sphinx who, active and fixed, wields the sword of divine justice (Geburah). This Ark Annu reminds us that everything that is below may rise, and everything that is above may fall. In the upper part, the Sphinx, in balance on the wheel, represents Mother Nature.\",\n \"egyptian\": \"On the Egyptian card Typhon has the body and head of a crocodile, and Hermanubis the human body and the head of an ibis. Under the caduceus are two underwater serpents and the sphinx hovers fixed above the platform, holding the staff of the patriarchs.\",\n \"mythic\": \"Three women (the Moirai) inside a dark cave, the first, young, spins at a golden wheel, the second is elegant and mature, she measures the length of a thread between her hands, the third is older and holds a pair of scissors. In the centre, among them, there is a golden wheel around which four human figures are placed in different positions, the initiatory formula of the sacred tetragram, of the human fall and redemption, forming a game of musical chairs up to the angelic state. Through the opening of the cave a setting with much green can be seen. The cave teaches us both the womb and the tomb to which it returns, the beginning and the end touching. The three Moirai (goddesses of fate), Clotho spun, Lachesis measured and Atropos, whose name means she who cannot be avoided, cut.\"\n }\n },\n \"11\": {\n \"name\": \"Strength\",\n \"pt\": {\n \"papus\": \"A Papisa jovem coberta por um manto, tendo sobre a cabeça o símbolo do infinito (o santo 8). Junto a ela, um leão com mandíbulas entreabertas. As mãos da mulher encontram-se entre os dentes do leão, como se ela, sem dificuldades, estivesse abrindo ou fechando a boca da fera. Onde o feminino vence os instintos animalescos.\",\n \"egyptian\": \"Nas águas da vida está a Pedra Cúbica, dentro da pedra está a ave de rapina e sobre ela está a pomba do Espírito Santo. Essa ave está segurando a serpente da vida (kundalini) para através de sua garra a levar às alturas. No centro, uma mulher fecha as mandíbulas do leão furioso, indicando que esta é superior à violência. Na sua cabeça está uma coroa e da sua fronte assoma a serpente, indicando Maestria. O Leão é o elemento Fogo, também representa o ouro; antigamente os carros dos Reis eram puxados por leões e na sabedoria esotérica o carro de guerra, puxado por leões, simboliza os Corpos Solares.\",\n \"mythic\": \"A lâmina da força retrata um homem musculoso (Hércules/Sansão/Héracles) e poderoso com cabelos castanhos encaracolados, vestindo apenas uma tanga vermelha. Ele está embrenhado em uma luta selvagem com um leão, envolvendo seus fortes braços no pescoço do animal, no momento crítico ele está vencendo a luta. Rodeando os dois, as paredes rochosas de uma caverna escura, pela entrada da caverna é possível ver um cenário árido de colinas marrons. O leão somente pode ser conquistado com as mãos, ali não existem ferramentas feitas pelo homem ou qualquer atalho, mas unicamente os próprios recursos. Héracles veste a cor vermelho sangue de Ares, com o qual nos deparamos na carta da merkaabah, porque ele já aprendeu a lição de controlar sua agressividade, dirigindo-a para uma finalidade criativa.\"\n },\n \"en\": {\n \"papus\": \"The young Papess covered by a cloak, with the symbol of infinity (the holy 8) above her head. Beside her, a lion with its jaws half open. The woman's hands are between the lion's teeth, as if she, without difficulty, were opening or closing the beast's mouth. Where the feminine overcomes the animal instincts.\",\n \"egyptian\": \"In the waters of life is the Cubic Stone, inside the stone is the bird of prey and above it is the dove of the Holy Spirit. This bird is holding the serpent of life (kundalini) to carry it to the heights with its claw. In the centre, a woman closes the jaws of the furious lion, indicating that she is superior to violence. On her head is a crown and from her brow the serpent rises, indicating Mastery. The Lion is the element Fire, it also represents gold; in ancient times the chariots of Kings were pulled by lions and in esoteric wisdom the war chariot, pulled by lions, symbolises the Solar Bodies.\",\n \"mythic\": \"The Strength card portrays a muscular and powerful man (Hercules/Samson/Heracles) with curly brown hair, wearing only a red loincloth. He is locked in a savage struggle with a lion, wrapping his strong arms around the animal's neck, at the critical moment he is winning the fight. Surrounding the two, the rocky walls of a dark cave, through the cave's entrance it is possible to see an arid setting of brown hills. The lion can only be conquered with the hands, there are no man-made tools there nor any shortcut, but only one's own resources. Heracles wears the blood-red colour of Ares, whom we met in the card of the merkaabah, because he has already learned the lesson of controlling his aggression, directing it toward a creative purpose.\"\n }\n },\n \"12\": {\n \"name\": \"The Hanged Man\",\n \"pt\": {\n \"papus\": \"Uma figura masculina pendurada pelo pé esquerdo de cabeça para baixo entre o tronco de duas árvores na lâmina Kaabalística ou duas colunas na lâmina Egípcia. Suas mãos são amarradas nas costas ou atrás da cabeça. Suas vestes cobrem apenas a parte inferior do corpo. A cor da corda, o amarelo, indica que o enforcado pende, oscilando entre céus e terra, sua existência dependendo de um fio, a corda que o sustém (cordão de prata). No entanto, apesar de tão grave risco, ele permanece suspenso por amor à sua ideia ou propósitos, disposto a morrer por sua causa, como se pode notar na representação. Este se acha amarrado pelos braços às costas formando um triângulo invertido. A perna direita está cruzada com a esquerda resultando em uma cruz.\",\n \"egyptian\": \"Observa-se na figura Egípcia as moedas que lhe caem das mãos e que representam o material, em seu senso de valor, no plano espiritual, por serem de ouro significam a pureza do coração, transmutado em ouro pelas diversas provas. No tarô egípcio evidenciamos nas águas da vida uma representação que equivale à estrela de seis pontas que comanda os doze signos. O triângulo invertido bem como a cruz ao cruzar as pernas representa o domínio da matéria ou do sexo sobre a razão. O triângulo precisa ser invertido para ficar com a ponta para cima de modo que o homem (cruz embaixo: sexo) se ligue ao espírito (triângulo em cima), nossa trindade imortal, ou seja, o trabalho do apostolado consiste em fazer subirem as energias, combinar \\\"a ânsia sexual com o entusiasmo espiritual\\\".\",\n \"mythic\": \"A carta do enforcado retrata um homem maduro, de cabelos e barbas castanhos. Apesar de estar acorrentado em posição invertida, quase nu à beira de um precipício, ele ainda mantém uma expressão serena em seu rosto. Atrás dele, apresenta-se um cenário obscuro de rochas escarpadas, enquanto o sol do crepúsculo reflete um brilho sanguíneo em seu corpo e ilumina a sua cabeça, acima dele, uma águia se aproxima. O crepúsculo do sol sugere o decrescente brilho de luz da consciência e da vontade. A posição de Prometheus implica que a cabeça e a mente racional não estão mais no controle, tal como o crepúsculo do sol, a imagem simboliza a descida do espírito na escuridão do inconsciente, a árvore das mortes. O tormento de Prometheus é a imagem da perda da fé que, no ensino kaabalístico, é chamada de noite obscura da alma, na qual somente é possível esperar, sem uma confiante visão de como tudo irá terminar.\"\n },\n \"en\": {\n \"papus\": \"A male figure hanging by the left foot, head down, between the trunks of two trees on the Kaabalistic card or two columns on the Egyptian card. His hands are tied behind his back or behind his head. His clothes cover only the lower part of the body. The colour of the rope, yellow, indicates that the hanged man dangles, swinging between heaven and earth, his existence depending on a thread, the rope that holds him (the silver cord). Yet, in spite of so grave a risk, he remains suspended for love of his idea or purposes, willing to die for his cause, as can be seen in the image. He is bound by the arms behind his back, forming an inverted triangle. The right leg is crossed with the left, resulting in a cross.\",\n \"egyptian\": \"In the Egyptian figure one notes the coins that fall from his hands and that represent the material, in its sense of value, on the spiritual plane, being of gold they signify purity of heart, transmuted into gold by the many trials. In the Egyptian tarot we see in the waters of life a representation equivalent to the six-pointed star that commands the twelve signs. The inverted triangle, as well as the cross made by crossing the legs, represents the dominion of matter or of sex over reason. The triangle needs to be turned over so that its point is upward, so that man (cross below: sex) is joined to the spirit (triangle above), our immortal trinity, that is, the work of the apostolate consists in making the energies rise, combining \\\"sexual longing with spiritual enthusiasm\\\".\",\n \"mythic\": \"The Hanged Man card portrays a mature man, with brown hair and beard. Although he is chained upside down, almost naked at the edge of a precipice, he still keeps a serene expression on his face. Behind him lies a dark setting of jagged rocks, while the twilight sun casts a blood-red glow on his body and lights his head, above him, an eagle approaches. The twilight of the sun suggests the waning brightness of the light of consciousness and will. The position of Prometheus implies that the head and the rational mind are no longer in control, like the twilight of the sun, the image symbolises the descent of the spirit into the darkness of the unconscious, the tree of deaths. The torment of Prometheus is the image of the loss of faith which, in Kaabalistic teaching, is called the dark night of the soul, in which it is only possible to wait, without a confident view of how everything will end.\"\n }\n },\n \"13\": {\n \"name\": \"Death\",\n \"pt\": {\n \"papus\": \"O Ark Annu 13 nos fala da morte, da transformação da consciência, energia e matéria e do renascimento, mas a principal palavra-chave do Ark Annu é imortalidade. Na lâmina Kaabalística, a figura do esqueleto ceifando cabeças coroadas ou não, velhos e crianças. A foice quer dizer a sega, o corte, a ruptura do presente com o passado e a projeção para outro futuro, também chamado de reencarnação. O formato da foice é signo lunar, que diretamente faz referência ao deus da morte que corta o cordão de prata desconectando essência e fisicalidade.\",\n \"egyptian\": \"No tarô egípcio vemos um hierarca da Lei (senhor do Kharma) com uma foice a ceifar os ramos de trigo. Os molhos de trigo bem como as flores representam o renascimento, o trigo ceifado o fim. A gadanha é o símbolo do anjo da morte que nesta hora corta o fio da existência, o fio de prata (Antakarana) no último suspiro. Afirma-se que os moribundos conseguem ver a figura esquelética do anjo da morte quando faz seu trabalho, de acordo com as Leis cósmicas, e executam seu trabalho no momento preciso a cada indivíduo. As flores, o começo da vida; o trigo, o fim.\",\n \"mythic\": \"A lâmina da morte retrata uma figura envolta em uma túnica preta e seu rosto escondido por um elmo escuro, o elmo da invisibilidade. Suas mãos estão abertas para receber os presentes oferecidos pelos pequenos humanos que se ajoelham diante dela. Um deles lhe oferece uma coroa dourada: neocórtex. O terceiro, uma criança, oferece-lhe uma flor: córtex límbico. Outro, uma pilha de moedas: córtex reptiliano. Junto com a figura de Hades formam o quaternário inferior, os quatro corpos sutis. Atrás dessa figura sombria, flui um rio escuro. Do lado mais próximo do rio, a terra é seca e árida. Do outro lado, a terra verdejante é gradativamente iluminada pelo sol que está apenas surgindo no horizonte. O sol que surge no horizonte anuncia um novo futuro, mas as almas ajoelhadas diante de Hades ainda não o percebem.\"\n },\n \"en\": {\n \"papus\": \"Ark Annu 13 speaks to us of death, of the transformation of consciousness, energy and matter and of rebirth, but the main keyword of the Ark Annu is immortality. On the Kaabalistic card, the figure of the skeleton reaping heads, crowned or not, old people and children. The scythe means the reaping, the cut, the break of the present with the past and the projection toward another future, also called reincarnation. The shape of the scythe is a lunar sign, which refers directly to the god of death who cuts the silver cord, disconnecting essence and physicality.\",\n \"egyptian\": \"In the Egyptian tarot we see a hierarch of the Law (lord of Karma) with a scythe reaping the stalks of wheat. The sheaves of wheat as well as the flowers represent rebirth, the reaped wheat the end. The scythe is the symbol of the angel of death who at this hour cuts the thread of existence, the silver thread (Antakarana), at the last breath. It is said that the dying are able to see the skeletal figure of the angel of death as he does his work, in accordance with the cosmic Laws, and they carry out their work at the precise moment for each individual. The flowers, the beginning of life; the wheat, the end.\",\n \"mythic\": \"The Death card portrays a figure wrapped in a black tunic, its face hidden by a dark helmet, the helmet of invisibility. Its hands are open to receive the gifts offered by the small humans who kneel before it. One of them offers it a golden crown: neocortex. The third, a child, offers it a flower: limbic cortex. Another, a pile of coins: reptilian cortex. Together with the figure of Hades they form the lower quaternary, the four subtle bodies. Behind this sombre figure flows a dark river. On the nearer side of the river, the land is dry and barren. On the other side, the green land is gradually lit by the sun that is only just rising on the horizon. The sun rising on the horizon announces a new future, but the souls kneeling before Hades do not yet notice it.\"\n }\n },\n \"14\": {\n \"name\": \"Temperance\",\n \"pt\": {\n \"papus\": \"Uma figura humana passa um líquido de uma jarra ou taça para a outra. Tal gesto simboliza a harmonia dos mistos, equilíbrio das heterogenias. Suas vestes azuis e vermelhas significam as esferas de Gueburah e Chessed, as ligações da cauda à cabeça. Em algumas lâminas a figura surge em forma de um anjo andrógino, que além das duas taças ou jarros, uma de prata e outra de ouro, tem um pé na água e outro na terra, como sinal da atuação no mundo espiritual e físico. Das taças jorra uma luz líquida em forma de arco-íris.\",\n \"egyptian\": \"Nas águas da vida encontramos três flores e na do meio uma serpente que ascende, estas três flores representam: Sat, o Íntimo; Chit ou Budhi, a Alma Espiritual; e Ananda ou Manas, a Alma Humana. No centro o Anjo mostra-nos, na sua veste, a Tríade e o Quaternário (os 4 corpos de pecado). Na sua fronte brilha o Sol com 14 raios, 7 visíveis e 7 invisíveis; os visíveis representam os 7 planetas e os invisíveis os 7 chacras. O Anjo tem duas taças ou dois jarrões e com eles mistura dois elixires. Uma das taças é de ouro e contém o elixir vermelho, a outra é de prata e contém o elixir branco. Ambos produzem o elixir da longa vida.\",\n \"mythic\": \"A lâmina da temperança retrata uma linda e jovem mulher de cabelos pretos (Íris, mensageira de Hera, a contraparte feminina de Hermes), trajando túnicas com as cores do arco-íris, e asas com cores de várias tonalidades. Ela está com um dos pés dentro de um rio límpido e o outro sobre a terra seca. Ao longo das margens do rio crescem lírios vermelhos. Atrás dela, um arco-íris estende-se pelo céu. Em suas mãos ela segura dois cálices, um de ouro e outro de prata, e despeja água de um para outro. O arco-íris que aparece com o brilho do sol em meio a nuvens que se afastam simboliza a promessa e a renovação do relacionamento. Os cálices de ouro e prata referem-se ao sol e à lua, masculino e feminino, consciência e inconsciência, reunidos pelo fluxo do sentimento.\"\n },\n \"en\": {\n \"papus\": \"A human figure pours a liquid from one jug or cup into the other. This gesture symbolises the harmony of mixed things, the balance of unlike things. Its blue and red garments stand for the spheres of Geburah and Chesed, the links from the tail to the head. On some cards the figure appears in the form of an androgynous angel who, besides the two cups or jugs, one of silver and the other of gold, has one foot in the water and the other on land, as a sign of acting in the spiritual and the physical world. From the cups pours a liquid light in the form of a rainbow.\",\n \"egyptian\": \"In the waters of life we find three flowers and in the middle one a serpent that rises, these three flowers represent: Sat, the Innermost; Chit or Buddhi, the Spiritual Soul; and Ananda or Manas, the Human Soul. In the centre the Angel shows us, on its garment, the Triad and the Quaternary (the 4 bodies of sin). On its brow shines the Sun with 14 rays, 7 visible and 7 invisible; the visible ones represent the 7 planets and the invisible ones the 7 chakras. The Angel has two cups or two large jugs and with them mixes two elixirs. One of the cups is of gold and holds the red elixir, the other is of silver and holds the white elixir. Together they produce the elixir of long life.\",\n \"mythic\": \"The Temperance card portrays a beautiful young woman with black hair (Iris, messenger of Hera, the female counterpart of Hermes), wearing tunics in the colours of the rainbow, and wings in colours of many shades. She has one foot in a clear river and the other on dry land. Along the banks of the river grow red lilies. Behind her, a rainbow stretches across the sky. In her hands she holds two chalices, one of gold and the other of silver, and pours water from one to the other. The rainbow that appears with the brightness of the sun amid parting clouds symbolises the promise and the renewal of relationship. The chalices of gold and silver refer to the sun and the moon, masculine and feminine, consciousness and unconsciousness, brought together by the flow of feeling.\"\n }\n },\n \"15\": {\n \"name\": \"The Devil\",\n \"pt\": {\n \"papus\": \"Sobre um turbilhão de nuvens escuras, em cima de um círculo que simboliza o sol ou o próprio mundo, encontra-se a figura de Baphomet. Sua cabeça é de bode, tem um cavanhaque pontiagudo, orelhas laterais e do meio de seus chifres sai uma chama de fogo. Em algumas lâminas, o Baphomet encontra-se sentado sobre o cubo. Sua cabeça lembra um pentagrama invertido e no centro da testa apresenta um pentagrama no sentido vertical indicando a subida da energia Kundalini. Possuindo asas, tem os pés de bode cruzados e no seu plexo ascendente um caduceu. À frente desta imponente aparição, surge um casal desnudo (Adom e Hawah arquétipos) e unido por uma corrente que passa pelo pescoço da figura masculina, que se apresenta presa por essa região à corrente. A expressão de ambos, homem e mulher, é de prostração. Em algumas lâminas, o casal apresenta-se com as mãos atadas às costas.\",\n \"egyptian\": \"Na lâmina egípcia aparece a figura de Tífon, o deus titã, em pé com seios femininos, tendo em uma das mãos um cajado cuja extremidade superior lembra um animal caprino e na extremidade inferior uma meia-lua minguante. Na palma da outra mão carrega uma serpente Nahash. A palavra nesta lâmina é paixão. No meio da carta Tífon Baphomet se mostra sustentando em sua mão esquerda o cetro de poder que possui um V como ponto mais alto, esse V é o diabo, ou a aba de duas vias, e na sua mão direita uma Serpente que se eleva (kundalini). Como no bode de Mendes a mão direita é masculina e a esquerda feminina. Os seus seios indicam a condição de andrógino (não homossexual). Com o avental cobre-se a \\\"Sabedoria\\\" e do próprio avental aparece a cauda. Sua cara está disforme para representar os erros ou pecados.\",\n \"mythic\": \"A lâmina do Diabo retrata um sátiro, uma criatura metade homem e metade bode, dançando à música de uma siringe (flauta de sete tubos) que ele segura com sua mão esquerda. Com a mão direita ele segura duas correntes, cada uma presa a um colar ao redor do pescoço de figuras humanas nuas. As figuras, um homem e uma mulher, têm pequenos chifres como aqueles do sátiro. Apesar de suas mãos e pernas estarem livres para dançar, eles estão presos às suas correntes de medo e de fascinação pela música. Ao redor (ditames sociais), aparecem as paredes escuras da caverna. A caverna escura e sem porta implica que Pan mora no domínio mais inacessível do inconsciente. As figuras que dançam, se quisessem, estariam livres para tirar as correntes, pois suas mãos não estão amarradas. A sujeição ao Diabo é um assunto voluntário que a consciência pode libertar.\"\n },\n \"en\": {\n \"papus\": \"Above a whirl of dark clouds, on top of a circle that symbolises the sun or the world itself, stands the figure of Baphomet. Its head is a goat's, it has a pointed goatee, ears at the sides, and from between its horns comes a flame of fire. On some cards, Baphomet is seated on the cube. Its head recalls an inverted pentagram and in the centre of the forehead it shows an upright pentagram, indicating the rising of the Kundalini energy. Winged, it has its goat's feet crossed and a caduceus at its ascending plexus. In front of this imposing apparition appears a naked couple (the archetypal Adom and Hawah), joined by a chain that passes around the neck of the male figure, who is shown held to the chain at that point. The expression of both, man and woman, is one of prostration. On some cards, the couple appears with their hands tied behind their backs.\",\n \"egyptian\": \"On the Egyptian card appears the figure of Typhon, the titan god, standing with female breasts, holding in one hand a staff whose upper end recalls a goat-like animal and at the lower end a waning half moon. In the palm of the other hand he carries a serpent, Nahash. The word on this card is passion. In the middle of the card Typhon Baphomet is shown holding in his left hand the sceptre of power that has a V as its highest point, this V is the devil, or the two-way flap, and in his right hand a Serpent that rises (kundalini). As with the goat of Mendes, the right hand is masculine and the left feminine. His breasts indicate the condition of the androgyne (not homosexual). With the apron \\\"Wisdom\\\" is covered and from the apron itself the tail appears. His face is misshapen to represent errors or sins.\",\n \"mythic\": \"The Devil card portrays a satyr, a creature half man and half goat, dancing to the music of a syrinx (a flute of seven pipes) that he holds in his left hand. With his right hand he holds two chains, each fastened to a collar around the neck of naked human figures. The figures, a man and a woman, have small horns like those of the satyr. Although their hands and legs are free to dance, they are bound to their chains by fear and by fascination with the music. All around (social dictates) appear the dark walls of the cave. The dark, doorless cave implies that Pan dwells in the most inaccessible domain of the unconscious. The dancing figures, if they wished, would be free to take off the chains, for their hands are not tied. Subjection to the Devil is a voluntary matter that consciousness can release.\"\n }\n },\n \"16\": {\n \"name\": \"The Tower\",\n \"pt\": {\n \"papus\": \"Uma torre sem janelas de onde despencam dois homens, sendo que um deles tem a cabeça coroada, caem com a cabeça para baixo formando a posição de seus braços e pernas a letra hebraica Ayin, que tem analogia com o \\\"O\\\" do alfabeto latino, o outro sem coroa não forma símbolo gráfico algum. A torre em si representa as ambições construídas sobre premissas falsas. O raio quebra formas existentes, a fim de abrir espaço para os novos. Os tijolos têm a cor da carne, indicando que formam a morada dos homens (corpos), não uma construção vazia de vida, mas habitada pelo ser humano. Os dois personagens em queda simbolizam que se deve romper tanto com a soberba quanto com a falsa modéstia e que a lei cósmica é inalterável e constante em seu fluxo. Quando necessário fulmina tanto nobres quanto plebeus.\",\n \"egyptian\": \"Na lâmina egípcia, nas águas da vida (ondas eletromagnéticas), constatamos o Báculo do poder, o Bastão de autoridade e o Cilício (chicote) que representam a Fragilidade e em ambos os lados destes símbolos observamos duas serpentes, uma positiva e outra negativa. Da parte superior desce o Raio da Justiça Cósmica (o raio de Amom-Ra, Zeus) destruindo a torre a que os kaabalistas chamam a Torre de Babel. Duas personagens são precipitadas para o fundo do Abismo, uma à direita e outra à esquerda; ao caírem fazem o sinal da estrela flamígera invertida com os braços, as pernas e a cabeça para baixo, simbolizando a queda dos Bodhisattvas.\",\n \"mythic\": \"A carta da Torre retrata um edifício de pedra construído em um alto rochedo com vistas para o mar. Das profundezas das águas, surge uma figura poderosa e ameaçadora, com uma coroa de ouro sobre os cabelos castanhos embrenhados de algas e um rabo de peixe que pode ser visto entre as ondas furiosas. Ela aponta o seu tridente ao edifício, que é atingido por um raio e fendido. O mar espuma e o céu é preto e ameaçador, iluminado pelos relâmpagos de uma tempestade. O tridente é o atributo de poder de Poseydom / Poseidon, que reflete a meia-lua crescente, ligando ao domínio do inconsciente da noite. O surgimento do deus do mar sugere uma poderosa força instintual emergindo do inconsciente, mais forte do que os esforços da vontade de reprimi-la.\"\n },\n \"en\": {\n \"papus\": \"A tower without windows from which two men plunge, one of them with a crowned head, they fall head down, the position of their arms and legs forming the Hebrew letter Ayin, which is analogous to the \\\"O\\\" of the Latin alphabet, the other, without a crown, forms no graphic symbol at all. The tower itself represents ambitions built on false premises. The lightning bolt breaks existing forms in order to make room for new ones. The bricks are the colour of flesh, indicating that they form the dwelling of men (bodies), not a building empty of life, but one inhabited by the human being. The two falling figures symbolise that one must break with both pride and false modesty, and that the cosmic law is unalterable and constant in its flow. When necessary it strikes down nobles and commoners alike.\",\n \"egyptian\": \"On the Egyptian card, in the waters of life (electromagnetic waves), we find the Staff of power, the Rod of authority and the Scourge (whip), which represent Fragility, and on both sides of these symbols we see two serpents, one positive and the other negative. From the upper part descends the Ray of Cosmic Justice (the ray of Amun-Ra, Zeus), destroying the tower that the Kaabalists call the Tower of Babel. Two figures are hurled to the bottom of the Abyss, one to the right and the other to the left; as they fall they make the sign of the inverted flaming star with their arms, legs and head downward, symbolising the fall of the Bodhisattvas.\",\n \"mythic\": \"The Tower card portrays a stone building raised on a high crag overlooking the sea. From the depths of the waters rises a powerful and threatening figure, with a golden crown on brown hair tangled with seaweed and a fish's tail that can be seen among the raging waves. He points his trident at the building, which is struck by lightning and split. The sea foams and the sky is black and threatening, lit by the lightning of a storm. The trident is the attribute of power of Poseidon, which reflects the crescent moon, linking it to the domain of the unconscious of the night. The rising of the sea god suggests a powerful instinctual force emerging from the unconscious, stronger than the will's efforts to repress it.\"\n }\n },\n \"17\": {\n \"name\": \"The Star\",\n \"pt\": {\n \"papus\": \"Uma mulher nua em meio à natureza derrama água. Vertida das jarras, simboliza o líquido vivificante que enriquece as águas pantanosas e alimenta as terras desérticas. A rosa simboliza o amor. Este Ark Annu representa a fé e esperança sem limites.\",\n \"egyptian\": \"Nas águas da vida estão dois triângulos, o positivo e o negativo. No meio uma mulher rega a terra com os dois elixires (o masculino e o feminino), na sua cabeça está uma flor de lótus indicando que os seus chacras estão desenvolvidos. Na parte superior brilha a Estrela de Vênus com oito raios, simbolizando que depois das Iniciações de Fogo vêm as de Luz. Em algumas cartas egípcias há uma ave íbis ou uma borboleta pousando sobre uma flor, que simbolizam a alma que ultrapassa a existência terrenal, a lagarta que sai de seu casulo.\",\n \"mythic\": \"A carta da Estrela retrata uma jovem linda, de cabelos compridos e claros, ajoelhada diante de uma arca aberta da qual sai um enxame de criaturas voadoras que escurece o ambiente. Mas o olhar da jovem está fixo na estrela brilhante, em que pode ser vista uma figura feminina em brilhantes vestes brancas. A arca que Zeus envia para a humanidade por Pandora é como o fruto do Jardim do Éden, algo proibido, mas impossível de resistir. Ela contém o conhecimento da realidade da vida humana, o que significa a morte da ingenuidade e da fantasia infantil. Mas também contém o atributo mais precioso do espírito humano. Os insetos, diferentes das criaturas de sangue quente, estão distantes da consciência e do relacionamento.\"\n },\n \"en\": {\n \"papus\": \"A naked woman in the midst of nature pours out water. Poured from the jugs, it symbolises the life-giving liquid that enriches the marshy waters and feeds the desert lands. The rose symbolises love. This Ark Annu represents faith and hope without limits.\",\n \"egyptian\": \"In the waters of life are two triangles, the positive and the negative. In the middle a woman waters the earth with the two elixirs (the masculine and the feminine), on her head is a lotus flower indicating that her chakras are developed. In the upper part shines the Star of Venus with eight rays, symbolising that after the Initiations of Fire come those of Light. On some Egyptian cards there is an ibis or a butterfly alighting on a flower, which symbolise the soul that goes beyond earthly existence, the caterpillar that comes out of its cocoon.\",\n \"mythic\": \"The Star card portrays a beautiful young woman, with long fair hair, kneeling before an open chest from which comes a swarm of flying creatures that darkens the surroundings. But the young woman's gaze is fixed on the bright star, in which a female figure in shining white robes can be seen. The chest that Zeus sends to humanity through Pandora is like the fruit of the Garden of Eden, something forbidden, but impossible to resist. It contains the knowledge of the reality of human life, which means the death of naivety and of childish fantasy. But it also contains the most precious attribute of the human spirit. The insects, unlike warm-blooded creatures, are far from consciousness and from relationship.\"\n }\n },\n \"18\": {\n \"name\": \"The Moon\",\n \"pt\": {\n \"papus\": \"A luz da lua ilumina uma região árida, à qual se chega através de um tortuoso caminho. Este luar revela duas fortalezas ou duas pirâmides, uma clara e outra escura, como no caso da lâmina egípcia. Um lobo e um cachorro uivam para a lua. Um caranguejo ou escorpião emerge de uma poça negra e torna a mergulhar. No chão veem-se rastros líquidos que podem ser água ou sangue, símbolos da taça profanada. No símbolo do Ark Annu, o lobo é o símbolo do canino não domesticado, portanto potencial inimigo do homem e, o cão, o amigo fiel, porém os dois se unem para uivar para a lua (farinha do mesmo saco), conspirando contra o homem.\",\n \"egyptian\": \"Na lâmina egípcia vemos nas águas da vida um escorpião dentro de um triângulo invertido, no meio da carta há duas pirâmides: uma branca e outra negra, que simbolizam as energias positivas e negativas. Sob as pirâmides dois cães ou lobos, um branco e outro negro, ladram à Lua. O cão branco simboliza a amizade, o cão negro ou lobo os inimigos ou agregados psíquicos.\",\n \"mythic\": \"A carta da Lua retrata uma misteriosa figura feminina com três rostos, coroada com um diadema da Lua em suas três fases. O seu cabelo é prateado e ela veste uma longa túnica que flui em uma poça de água a seus pés. À sua frente, há um cão de três cabeças e na poça um caranguejo procura sair da água. Atrás dela, o céu é escuro e iluminado somente pela luminescência de sua coroa. As três faces de Hécate, como as três faces das Moiras, refletem as fases mutáveis da vida. Branco e prata, as cores dos cabelos e do traje de Hécate, são associados à lua, porque se acreditava que essas continham todas as cores em um estado nascente. O caranguejo é uma criatura que não pertence nem ao reino da terra nem ao da água, mas faz a sua morada entre um e outro.\"\n },\n \"en\": {\n \"papus\": \"The light of the moon illuminates an arid region, which is reached by a winding path. This moonlight reveals two fortresses or two pyramids, one light and the other dark, as in the case of the Egyptian card. A wolf and a dog howl at the moon. A crab or scorpion emerges from a black pool and dives back in. On the ground one sees liquid trails that may be water or blood, symbols of the profaned cup. In the symbol of the Ark Annu, the wolf is the symbol of the untamed canine, therefore a potential enemy of man, and the dog the faithful friend, yet the two join to howl at the moon (birds of a feather), conspiring against man.\",\n \"egyptian\": \"On the Egyptian card we see in the waters of life a scorpion inside an inverted triangle, in the middle of the card there are two pyramids: one white and the other black, which symbolise the positive and negative energies. Beneath the pyramids two dogs or wolves, one white and the other black, bark at the Moon. The white dog symbolises friendship, the black dog or wolf the enemies or psychic aggregates.\",\n \"mythic\": \"The Moon card portrays a mysterious female figure with three faces, crowned with a diadem of the Moon in its three phases. Her hair is silver and she wears a long tunic that flows into a pool of water at her feet. In front of her there is a three-headed dog, and in the pool a crab tries to leave the water. Behind her, the sky is dark and lit only by the glow of her crown. The three faces of Hecate, like the three faces of the Moirai, reflect the changing phases of life. White and silver, the colours of Hecate's hair and dress, are associated with the moon, because these were believed to contain all colours in a nascent state. The crab is a creature that belongs neither to the realm of land nor to that of water, but makes its home between one and the other.\"\n }\n },\n \"19\": {\n \"name\": \"The Sun\",\n \"pt\": {\n \"papus\": \"Um muro semicircular feito de cubos bem ajustados limita um gramado. O muro corresponde aos limites do paraíso: o muro que fecha a porta onde mora o mal. Duas crianças com cerca de 7 anos, de mãos dadas, caminham sobre o campo verde. O sol se levanta por trás do muro, banhando o pequeno casal. Em algumas lâminas, uma das crianças tenta pegar um raio de sol que se transforma numa moeda: a César o que é de César e a Cristus o que é de Cristus (ao material e ao espírito santificado). Todo o quadro sugere luz, liberdade, alegria, pureza, primavera, riqueza espiritual e material.\",\n \"egyptian\": \"No tarô egípcio, chamado de A Inspiração, nas águas da vida vislumbramos três flores que representam as Três Forças das quatro do quaternário inferior, força etérica, força astral e força mental inferior, também representa na alkimia o trabalho com o sal, o enxofre e o mercúrio. No meio da carta um casal de mãos dadas que têm em suas mãos a simbólica figura da cruz Tau egípcia (em algumas figuras falta este símbolo). No alto o Sol emitindo sete raios que estão relacionados aos sete espectros solares. Em ambos os casos vemos a figura masculina e feminina humana, o que indica o processo de transmutação e está relacionado à pedra filosofal. Este Ark Annu ensina-nos que por meio da transmutação alcançamos a Libertação Final.\",\n \"mythic\": \"A carta do Sol retrata um homem classicamente elegante e de porte atlético, cabelos loiros e com uma coroa de folhas de louro, portando em sua cabeça o disco dourado do Sol. Ele tem asas douradas e veste uma curta túnica branca. Em sua mão direita, ele segura um arco e uma aljava de flechas; com sua mão esquerda, ele segura uma lira. Ele está em pé entre duas colunas de um pórtico construído em pedras de um dourado pálido. Atrás dele, um cenário verde-dourado pontilhado de árvores de louro brilha sob um quente céu azul. Apolo curava os sofrimentos e os medos que lhe eram apresentados em forma de música. A música, expressão do deus Sol, transforma a escuridão em luz e significado. A coroa de louros era usada para homenagear os vencedores de torneios atléticos ou concursos artísticos, o espírito empreendedor e a coroa da vitória são ambos aspectos do deus sol.\"\n },\n \"en\": {\n \"papus\": \"A semicircular wall made of well-fitted cubes borders a lawn. The wall corresponds to the limits of paradise: the wall that closes the door where evil dwells. Two children about 7 years old, hand in hand, walk across the green field. The sun rises behind the wall, bathing the little couple. On some cards, one of the children tries to catch a ray of sun that turns into a coin: to Caesar what is Caesar's and to Christus what is Christus's (to the material and to the sanctified spirit). The whole picture suggests light, freedom, joy, purity, spring, spiritual and material wealth.\",\n \"egyptian\": \"In the Egyptian tarot, called The Inspiration, in the waters of life we glimpse three flowers that represent the Three Forces of the four of the lower quaternary, etheric force, astral force and lower mental force, it also represents in alchemy the work with salt, sulphur and mercury. In the middle of the card a couple hand in hand who hold in their hands the symbolic figure of the Egyptian Tau cross (in some images this symbol is missing). Above, the Sun sending out seven rays that are related to the seven solar spectra. In both cases we see the human male and female figure, which indicates the process of transmutation and is related to the philosopher's stone. This Ark Annu teaches us that by means of transmutation we reach the Final Liberation.\",\n \"mythic\": \"The Sun card portrays a classically elegant man of athletic build, fair-haired and with a crown of laurel leaves, bearing on his head the golden disc of the Sun. He has golden wings and wears a short white tunic. In his right hand, he holds a bow and a quiver of arrows; with his left hand, he holds a lyre. He stands between two columns of a portico built of pale golden stone. Behind him, a green-gold setting dotted with laurel trees shines under a warm blue sky. Apollo healed the sufferings and the fears that were brought to him in the form of music. Music, the expression of the Sun god, turns darkness into light and meaning. The laurel crown was used to honour the winners of athletic tournaments or artistic contests, the enterprising spirit and the crown of victory are both aspects of the sun god.\"\n }\n },\n \"20\": {\n \"name\": \"Judgment\",\n \"pt\": {\n \"papus\": \"Um anjo com expressão alegre faz soar uma trombeta. Três figuras humanas, um homem, uma mulher e uma criança, transmitem a sensação de alegria e alívio (aqui se faz presente a tríade sagrada da raça humana que, no caso de um casal sem filhos biológicos, o terceiro elemento passa a ser representado pelos seus frutos). Em algumas lâminas veem-se inúmeras figuras erguendo-se de sepulturas abertas em resposta ao clarinante chamado do anjo que, assoprando a sua trombeta embandeirada, aparece nos céus. As sepulturas flutuam nas águas das emoções, enquanto que as pessoas representam os compartimentos e as estruturas da mente.\",\n \"egyptian\": \"Na lâmina egípcia, o colibri humanoide, que simboliza o ser humano ressurrecto, paira sobre o corpo mumificado. Na lâmina egípcia, embaixo, na região das águas da vida, encontramos uma das colunas Jakin e Boas, onde permanece a coluna branca, símbolo da purificação. Acima da múmia sobrevoa uma águia com cabeça humana representando a alma no mundo dos espíritos. No meio está uma múmia, e dela escapa-se um \\\"Gavião\\\" com cabeça humana, voando para os mundos do Espírito, o qual representa a Alma. Sobre a cabeça do gavião e da múmia está um símbolo representativo da glândula pineal, indício de iluminação.\",\n \"mythic\": \"A carta do Julgamento retrata um jovem de cabelos pretos encaracolados, trajando uma túnica branca e um manto de viagem vermelho. Em sua cabeça, um elmo alado e, em seus pés, sandálias aladas. Em sua mão direita, ele segura o caduceu, a vara mágica entrelaçada por duas cobras. Aos seus lados e apenas visíveis, duas colunas, uma branca e outra preta. As escadas em que se encontra ascendem para uma porta pela qual é possível entrever um cenário verde no qual o Sol está apenas surgindo. Diante dele estão vários caixões gravados dos quais os mortos se levantam, estendendo-lhe seus braços e desfazendo-se de suas mortalhas. Novamente, as colunas brancas e pretas refletem a ambivalência do inconsciente com seus potenciais destrutivo e criativo.\"\n },\n \"en\": {\n \"papus\": \"An angel with a joyful expression sounds a trumpet. Three human figures, a man, a woman and a child, convey a feeling of joy and relief (here the sacred triad of the human race is present, in which, in the case of a couple without biological children, the third element comes to be represented by their fruits). On some cards one sees countless figures rising from open graves in answer to the clarion call of the angel who, blowing his bannered trumpet, appears in the heavens. The graves float on the waters of the emotions, while the people represent the compartments and the structures of the mind.\",\n \"egyptian\": \"On the Egyptian card, the humanoid hummingbird, which symbolises the resurrected human being, hovers over the mummified body. On the Egyptian card, below, in the region of the waters of life, we find one of the columns Jakin and Boaz, where the white column remains, symbol of purification. Above the mummy flies an eagle with a human head representing the soul in the world of spirits. In the middle is a mummy, and from it escapes a \\\"Hawk\\\" with a human head, flying to the worlds of the Spirit, which represents the Soul. Above the head of the hawk and of the mummy is a symbol representing the pineal gland, a sign of illumination.\",\n \"mythic\": \"The Judgment card portrays a young man with curly black hair, wearing a white tunic and a red travelling cloak. On his head, a winged helmet and, on his feet, winged sandals. In his right hand, he holds the caduceus, the magic wand entwined by two snakes. At his sides and barely visible, two columns, one white and the other black. The stairs on which he stands rise to a door through which it is possible to glimpse a green setting where the Sun is only just rising. Before him are several engraved coffins from which the dead rise, stretching out their arms to him and casting off their shrouds. Again, the white and black columns reflect the ambivalence of the unconscious with its destructive and creative potentials.\"\n }\n },\n \"21\": {\n \"name\": \"The Fool\",\n \"pt\": {\n \"papus\": \"Na lâmina Kaabalista, a figura é representada por um andarilho sem rumo que traz nos ombros um saco mal apoiado e em uma das mãos um cajado que não lhe serve nem de defesa, nem de guia, pois, além de estar a figura sendo mordida por um cachorro, ainda se dirige para o abismo. Em algumas lâminas o cachorro morde a perna do personagem que sangra (perde energia) e abutres o aguardam dentro do precipício. O cão que morde o pé do louco indica nitidamente que procede dessa forma para despertá-lo de sua insensatez, recorrendo à sensibilidade corporal para adverti-lo sobre o pouco que lhe resta de lucidez mental. O abismo que aguarda o louco declara, sem qualquer dúvida, que o pobre peregrino não sabe para onde vai, ignorando até que age assim por pura insensatez.\",\n \"egyptian\": \"No tarô egípcio vemos um trabalhador louco que anda sem rumo nem direção com uma bolsa de couro às costas na qual leva todos os seus vícios. Sua roupa também está em desalinho e deixa descobertos seus órgãos criadores. O louco está com o bastão dos patriarcas em uma mão e com a Cruz Ansata ou Tao na outra para defender-se. Um tigre seguindo-o morde-o constantemente sem que trate de se defender ou um crocodilo está com as fauces abertas na intenção de devorá-lo. O crocodilo é Seth, o Satã, o Eu psicológico, o Mim Próprio, sempre à espera daquele que se deixa cair para o devorar. Na parte superior há uma Lua negra e outra branca figurando as antíteses.\",\n \"mythic\": \"A lâmina do Louco, a primeira dos Ark Annus Maiores para os não iniciados e para os iniciados a lâmina 21, retrata um jovem selvagem vestido com retalhos de peles de animais e de diversas cores, dançando em abandono extático à beira de um precipício. Na cabeça, uma coroa de folhas de vinha sobre seus cabelos castanhos e um par de chifres na fronte, semelhantes aos de um bode. Seu olhar está voltado para o horizonte, onde o Sol (espírito) está apenas nascendo. Ao seu redor, uma paisagem árida com pedras marrons e cinzas. À sua esquerda, escondida pelas sombras da noite que se retira, está a entrada da caverna da qual saiu. Acima dela, em um galho seco, uma águia empoleirada. A águia é o pássaro de Zeus, o rei dos deuses, que protege o louco no momento em que se prepara para mergulhar no desconhecido.\"\n },\n \"en\": {\n \"papus\": \"On the Kaabalistic card, the figure is represented by an aimless wanderer who carries a badly balanced sack on his shoulders and in one hand a staff that serves him neither as defence nor as guide, for, besides the figure being bitten by a dog, he is still heading for the abyss. On some cards the dog bites the leg of the character, who bleeds (loses energy), and vultures wait for him inside the precipice. The dog that bites the fool's foot clearly shows that it does so to wake him from his folly, resorting to bodily feeling to warn him about the little mental lucidity he has left. The abyss that awaits the fool declares, without any doubt, that the poor pilgrim does not know where he is going, not even knowing that he acts this way out of pure folly.\",\n \"egyptian\": \"In the Egyptian tarot we see a mad worker who walks without aim or direction with a leather bag on his back in which he carries all his vices. His clothing is also in disarray and leaves his creative organs uncovered. The fool has the staff of the patriarchs in one hand and the Ansate Cross or Tao in the other to defend himself. A tiger following him bites him constantly without his trying to defend himself, or a crocodile has its jaws open, meaning to devour him. The crocodile is Seth, Satan, the psychological I, the Myself, always waiting for the one who lets himself fall in order to devour him. In the upper part there is a black Moon and a white one, standing for the antitheses.\",\n \"mythic\": \"The Fool card, the first of the Major Ark Annu for the uninitiated and for the initiated card 21, portrays a wild youth dressed in patches of animal skins of various colours, dancing in ecstatic abandon at the edge of a precipice. On his head, a crown of vine leaves on his brown hair and a pair of horns on his brow, like those of a goat. His gaze is turned to the horizon, where the Sun (spirit) is only just rising. Around him, an arid landscape with brown and grey stones. To his left, hidden by the shadows of the retreating night, is the entrance of the cave he came out of. Above it, on a dry branch, an eagle is perched. The eagle is the bird of Zeus, the king of the gods, who protects the fool at the moment he prepares to plunge into the unknown.\"\n }\n },\n \"22\": {\n \"name\": \"The World\",\n \"pt\": {\n \"papus\": \"Uma mulher nua que traz em cada uma das mãos um bastão, os quais estão no mesmo nível significando a superação da dualidade e o triunfo sobre o reino material e espiritual. De forma elíptica, contorna o corpo da mulher uma serpente que devora a si própria (Ouroboros), ladeando a serpente temos os 4 animais da esfinge, sendo: abaixo, Touro e Leão; acima, Homem/Gênio e Águia.\",\n \"egyptian\": \"Na lâmina egípcia vemos uma mulher tocando harpa sobre uma montanha e em cima de sua cabeça desfilam as 4 cabeças da Esfinge. O horizonte é representado por um círculo como se fosse um campo verde e ao mesmo tempo o Sol. Em relação à cabeça humana da Esfinge vemos a serpente de Hórus que significa consciência terrestre solar. Ainda na lâmina egípcia podemos observar cada um dos elementos da esfinge portando a chave Ankh (cruz ansata). Na carta egípcia os quatro animais aparecem como quatro efígies na parte superior com a cabeça dos quatro animais: Águia, Homem, Leão e Touro. A ressurreição é anunciada por uma harpa tocada por uma jovem com a cabeça de uma serpente na testa (símbolo da maestria). Nas águas da vida está a Cruz Swástica simbolizando o chacra Muladhara de 4 pétalas.\",\n \"mythic\": \"A carta do Mundo retrata uma serpente dourada enrolada na forma de um ovo que come a própria cauda. Dentro do círculo, uma estranha figura está dançando, metade homem e metade mulher, alada, com uma coroa de louros e segurando em cada uma das mãos uma vara dourada. Em volta da serpente, surgindo das nuvens, um cálice, uma espada, uma tocha e um pentáculo dourado. Os gregos ensinavam que a serpente do mundo, chamada ouro+boros (Nidhogg entre os nórdicos), tinha em si mesma os dois sexos, macho e fêmea, com a propriedade da autofecundação e da autoalimentação, era imortal e completa. Ela representa a mítica imagem tanto de deus quanto da natureza, que aqui é incorporada em um único símbolo. Os quatro símbolos que governam os quatro elementos, água, fogo, ar e terra, refletem os potenciais que aguardam o desenvolvimento da nova personalidade.\"\n },\n \"en\": {\n \"papus\": \"A naked woman who carries a staff in each hand, the two at the same level, meaning the overcoming of duality and the triumph over the material and spiritual realm. In an elliptical shape, a serpent that devours itself (Ouroboros) goes around the woman's body, and flanking the serpent we have the 4 animals of the sphinx, namely: below, Bull and Lion; above, Man/Genius and Eagle.\",\n \"egyptian\": \"On the Egyptian card we see a woman playing a harp on a mountain, and above her head the 4 heads of the Sphinx pass in a row. The horizon is represented by a circle as if it were a green field and at the same time the Sun. By the human head of the Sphinx we see the serpent of Horus, which means solar earthly consciousness. Also on the Egyptian card we can see each of the elements of the sphinx bearing the Ankh key (ansate cross). On the Egyptian card the four animals appear as four effigies in the upper part with the heads of the four animals: Eagle, Man, Lion and Bull. The resurrection is announced by a harp played by a young woman with the head of a serpent on her forehead (symbol of mastery). In the waters of life is the Swastika Cross, symbolising the 4-petalled Muladhara chakra.\",\n \"mythic\": \"The World card portrays a golden serpent coiled in the shape of an egg, eating its own tail. Inside the circle, a strange figure is dancing, half man and half woman, winged, with a crown of laurels and holding a golden wand in each hand. Around the serpent, rising from the clouds, a chalice, a sword, a torch and a golden pentacle. The Greeks taught that the serpent of the world, called ouro+boros (Nidhogg among the Norse), had in itself both sexes, male and female, with the power of self-fertilisation and self-nourishment, it was immortal and complete. It represents the mythic image of both god and nature, here embodied in a single symbol. The four symbols that govern the four elements, water, fire, air and earth, reflect the potentials that await the development of the new personality.\"\n }\n }\n }\n}\n","{\n \"source\": \"Mat's modulo 2 class handouts, aulas 7 to 10: the scene and the divinatory meaning of each Mythic Tarot minor. Keywords and notes left out.\",\n \"cards\": {\n \"23\": {\n \"name\": \"King of Wands\",\n \"pt\": {\n \"scene\": \"O rei Teseu, de Atenas, um dos companheiros de Jasão em sua aventura para reaver o Velocino de Ouro. O rei Teseu personifica o aspecto impulsivo, excitante, loquaz, mal-humorado e extremamente contaminador e impetuoso. Teseu é filho de Etra e do rei Egeu de Atenas, mas só sabe de sua origem aos 16 anos, quando então sai em busca de aventuras para reaver seu trono. Oferece-se em sacrifício para ser devorado pelo Minotauro. É a imagem do entusiasmo e do ardor que faz do ser um líder. O Rei de Paus reúne a nobreza inata e a força interior, tendo a convicção de que a humanidade sempre pode ser melhor do que é.\",\n \"divinatory\": \"Momento de a pessoa encontrar-se com aspectos da personalidade que vão gerar novas ideias, vendê-las aos outros e, consequentemente, promover mudanças na própria vida e na dos que a cercam. É o espírito de liderança, a crença de que se possui uma ideia melhor que vale a pena ser divulgada e trabalhada. Essa dimensão da vida pode aparecer sob a forma de uma pessoa impetuosa e impulsiva que entra em nosso contexto, alguém que realmente contamina os outros com a força de suas ideias, prenuncia a necessidade de desenvolver o próprio eu.\"\n },\n \"en\": {\n \"scene\": \"King Theseus of Athens, one of Jason's companions in his adventure to recover the Golden Fleece. King Theseus personifies the impulsive, exciting, talkative, bad-tempered and extremely contagious and impetuous aspect. Theseus is the son of Aethra and of King Aegeus of Athens, but he only learns of his origin at 16, when he sets out in search of adventures to recover his throne. He offers himself as a sacrifice to be devoured by the Minotaur. He is the image of the enthusiasm and ardor that make a person a leader. The King of Wands brings together innate nobility and inner strength, with the conviction that humanity can always be better than it is.\",\n \"divinatory\": \"A moment for the person to meet aspects of the personality that will generate new ideas, sell them to others and, as a result, bring about changes in their own life and in the lives of those around them. It is the spirit of leadership, the belief that one has a better idea that is worth spreading and working on. This dimension of life can appear in the form of an impetuous and impulsive person who enters our context, someone who truly infects others with the force of their ideas, and it foretells the need to develop one's own self.\"\n }\n },\n \"24\": {\n \"name\": \"Queen of Wands\",\n \"pt\": {\n \"scene\": \"Penélope, esposa de Ulisses de Ítaca. Ao nascer, Penélope foi jogada ao mar pelo pai, Ícaro. Foi resgatada por um bando de cisnes. Foi responsável pelo reino quando Ulisses partiu para a Guerra de Troia.\\n\\nA Rainha de Paus simboliza a fidelidade e a lealdade de sentimentos e a força da imaginação para manter objetivos. Não perde tempo correndo atrás do arco-íris, trata de se manter forte e segura, canalizando sua energia para as poucas coisas que lhe falam ao coração.\",\n \"divinatory\": \"Está na hora de a pessoa começar a oferecer aconchego, a ser constante e leal e manter o ideal que Penélope tão bem simboliza. Pode entrar na vida de uma pessoa como uma mulher ativa, atraente, cheia de vida e calor. Porém, se acontecer de uma pessoa assim entrar na vida de outra, não terá sido por acaso, mas prenuncia que a pessoa está prestes a encontrar esses atributos dentro de si.\"\n },\n \"en\": {\n \"scene\": \"Penelope, wife of Odysseus of Ithaca. At birth, Penelope was thrown into the sea by her father, Icarius. She was rescued by a flock of swans. She was responsible for the kingdom when Odysseus left for the Trojan War.\\n\\nThe Queen of Wands symbolizes fidelity and loyalty of feeling and the strength of imagination to hold on to goals. She does not waste time chasing the rainbow. She sees to staying strong and secure, channeling her energy into the few things that speak to her heart.\",\n \"divinatory\": \"It is time for the person to begin offering warmth, to be constant and loyal and to keep the ideal that Penelope symbolizes so well. She may enter a person's life as an active, attractive woman, full of life and warmth. However, if such a person happens to enter another's life, it will not have been by chance: it foretells that the person is about to find these attributes within.\"\n }\n },\n \"25\": {\n \"name\": \"Knight of Wands\",\n \"pt\": {\n \"scene\": \"Belerofonte, que domou o cavalo alado Pégaso, matou o monstro Quimera e que um dia, cheio de orgulho por seus feitos, quis subir com o cavalo até o Olimpo. Belerofonte teve de fugir de Corinto, por ter matado um tirano rival e depois seu próprio irmão. Como não tivesse cometido os crimes por maldade, ao chegar em Tirinto foi purificado pelo rei Preto. O Cavaleiro de Paus é o símbolo do desejo de novas aventuras.\",\n \"divinatory\": \"Indica que é chegado o momento de a pessoa desenvolver as qualidades exuberantes, aventureiras e voláteis contidas na figura de Belerofonte. O Cavaleiro de Paus se manifesta com uma mudança de casa, ou de emprego, porque a pessoa se sente muito limitada dentro de seu ambiente e precisa buscar horizontes mais amplos para poder atuar.\"\n },\n \"en\": {\n \"scene\": \"Bellerophon, who tamed the winged horse Pegasus, killed the monster Chimera and one day, full of pride in his deeds, wanted to ride the horse up to Olympus. Bellerophon had to flee Corinth for having killed a rival tyrant and then his own brother. Since he had not committed the crimes out of malice, on arriving in Tiryns he was purified by King Proetus. The Knight of Wands is the symbol of the desire for new adventures.\",\n \"divinatory\": \"It indicates that the moment has come for the person to develop the exuberant, adventurous and volatile qualities contained in the figure of Bellerophon. The Knight of Wands shows up as a change of home, or of job, because the person feels very limited within their surroundings and needs to seek wider horizons in order to act.\"\n }\n },\n \"26\": {\n \"name\": \"Page of Wands\",\n \"pt\": {\n \"scene\": \"Frixo em sua fuga para a Cólquida, montado no carneiro com pelo de ouro. Frixo, o Pajem de Paus, é a imagem dos primeiros lampejos de uma ideia, ou de um plano que frequentemente esbarra em dificuldades e pessoas mais realistas, que traduzem as obrigações e as responsabilidades da vida prática. O Pajem de Paus, o iniciador, pode não garantir o sucesso de algum projeto ou de uma ideia nova, e seus lampejos podem até ser classificados de tolos ou mesmo exagerados, mas é ele quem indica a direção da força da imaginação e quem diz que ainda existe muito mais a ser explorado.\",\n \"divinatory\": \"É chegada a hora de a pessoa identificar os lampejos criativos dentro de si. Momento que sempre se manifesta por meio de inquietação no trabalho, uma vaga sensação de insatisfação, mas que não chega a justificar uma mudança. Indica que a vida pode ser expandida de alguma forma. É importante encarar as fantasias com seriedade, pois representam os fios condutores de uma fonte de inspiração mais forte e necessitam ser estimuladas em vez de simplesmente catalogadas como uma fase não muito boa.\"\n },\n \"en\": {\n \"scene\": \"Phrixus in his flight to Colchis, riding the ram with the golden fleece. Phrixus, the Page of Wands, is the image of the first sparks of an idea, or of a plan that often runs into difficulties and more realistic people, who stand for the obligations and responsibilities of practical life. The Page of Wands, the initiator, may not guarantee the success of a project or of a new idea, and his sparks may even be called foolish or exaggerated, but he is the one who shows the direction of the force of imagination and who says that there is still much more to be explored.\",\n \"divinatory\": \"The time has come for the person to identify the creative sparks within. It is a moment that always shows itself through restlessness at work, a vague sense of dissatisfaction, though not enough to justify a change. It indicates that life can be expanded in some way. It is important to take the fantasies seriously, because they are the conducting threads of a stronger source of inspiration and need to be encouraged instead of simply filed away as a not very good phase.\"\n }\n },\n \"27\": {\n \"name\": \"Ten of Wands\",\n \"pt\": {\n \"scene\": \"Jasão, triste e pensativo, sentado à beira-mar, ao lado do Argo destroçado. Tendo voltado para Iolco triunfante, veste-se de forma real e tem a cabeça coroada. O Velocino de Ouro está a seus pés e se encontra cercado de dez bastões que lhe pesam sobre os ombros. Retrata um estado de opressão. Jasão conseguiu tudo que almejou, mas, no final, sua aparência é muito triste. Mostra um aspecto muito importante da imaginação ou do potencial criador, que ele não poderá funcionar mais se estiver sob o peso de responsabilidades materiais. À medida que o tempo passa, que o projeto se expande e consolida, o entusiasmo inicial tende a desaparecer. Mesmo chegando onde queria, esqueceu do arrojo e da coragem que o motivaram. A força volátil da imaginação não suporta ser contida em formas pesadas e estruturadas. O tédio e a depressão quase sempre acompanham a complementação de um trabalho criativo, então a imaginação deve se lançar em novos horizontes. A pessoa, tal como Jasão, se agarra firmemente à forma que construiu e sente uma espécie de opressão e cansaço sem nenhum motivo aparente. Talvez esse seja o momento de abrir mão da segurança e do concreto para que se possa despertar com um novo projeto, uma nova ideia e um novo jogo.\",\n \"divinatory\": \"Indica que a pessoa está sobrecarregada e oprimida por ter assumido mais responsabilidades do que deveria. A criação se perdeu no meio de muitas preocupações e o arrojo e a disposição para assumir riscos já não são tão evidentes. Algumas coisas precisam ser abandonadas para que o processo criativo possa se renovar e assim dar início a um novo ciclo.\"\n },\n \"en\": {\n \"scene\": \"Jason, sad and thoughtful, seated by the sea, beside the wrecked Argo. Having returned to Iolcus in triumph, he is dressed royally and his head is crowned. The Golden Fleece is at his feet and he is surrounded by ten wands that weigh on his shoulders. It portrays a state of oppression. Jason achieved everything he longed for, but in the end his appearance is very sad. It shows a very important aspect of the imagination or of creative potential, that it can no longer function if it is under the weight of material responsibilities. As time passes, as the project expands and consolidates, the initial enthusiasm tends to disappear. Even having arrived where he wanted, he has forgotten the boldness and courage that drove him. The volatile force of the imagination cannot bear being contained in heavy, structured forms. Boredom and depression almost always accompany the completion of a creative work, so the imagination must launch itself toward new horizons. The person, like Jason, clings firmly to the form they have built and feels a kind of oppression and weariness for no apparent reason. Perhaps this is the moment to let go of security and of the concrete, so that one can awaken with a new project, a new idea and a new game.\",\n \"divinatory\": \"It indicates that the person is overloaded and oppressed for having taken on more responsibilities than they should. Creation has been lost amid many worries, and the boldness and willingness to take risks are no longer so evident. Some things need to be abandoned so that the creative process can renew itself and so begin a new cycle.\"\n }\n },\n \"28\": {\n \"name\": \"Nine of Wands\",\n \"pt\": {\n \"scene\": \"Relata a última batalha de Jasão e dos Argonautas antes de atingirem o final de sua viagem, a passagem pelos rochedos que se chocam. Iolco aparece à distância. Esta é a carta da reserva de forças. O espantoso poder da imaginação que, quando pensamos não ter mais forças, vemos surgir novas ideias e obtemos a energia para superar mais um último desafio. Existe algo misterioso e estranho dentro de nós que pode surgir para enfrentar o desafio, quando somos colocados diante de um aspecto miraculoso e perturbador daquilo que chamamos de espírito criador do ser humano. Embora não possamos controlá-lo ou moldá-lo à nossa vontade, assim como tampouco os gregos podiam ordenar a Zeus que obedecesse aos ditames humanos, ele lá está para auxiliar, nos erguer do fundo do poço. Recebemos uma injeção de força, de esperança e de novas ideias, e obtemos a energia para que o objetivo final seja alcançado.\",\n \"divinatory\": \"Período em que, no ponto máximo da exaustão, surge ainda mais um desafio para impedir que alcancemos nossa meta. Mas, de alguma forma, conseguimos forças dentro de nós para enfrentar esse desafio. Essa força parece ser invocada tanto pela nossa necessidade quanto por nosso desejo, a despeito do cansaço, para que tentemos ainda mais uma vez.\"\n },\n \"en\": {\n \"scene\": \"It tells of the last battle of Jason and the Argonauts before they reach the end of their voyage, the passage through the clashing rocks. Iolcus appears in the distance. This is the card of reserves of strength. The astonishing power of the imagination: when we think we have no strength left, we see new ideas arise and we find the energy to overcome one last challenge. There is something mysterious and strange within us that can rise to meet the challenge, when we are placed before a miraculous and disturbing aspect of what we call the creative spirit of the human being. Although we cannot control it or shape it to our will, just as the Greeks could not order Zeus to obey human dictates, it is there to help, to lift us from the bottom of the well. We receive an injection of strength, of hope and of new ideas, and we find the energy for the final goal to be reached.\",\n \"divinatory\": \"A period in which, at the peak of exhaustion, yet one more challenge arises to keep us from reaching our goal. But somehow we find strength within ourselves to face this challenge. This strength seems to be summoned as much by our need as by our desire, despite the tiredness, so that we try once more.\"\n }\n },\n \"29\": {\n \"name\": \"Eight of Wands\",\n \"pt\": {\n \"scene\": \"A viagem de Jasão, saindo da Cólquida, depois de escapar do rei Aetes. O conflito estimula a mente, e se tivemos coragem para enfrentá-lo e superá-lo, poderemos desfrutar de um período de calmaria. Só se ganha confiança após superar obstáculos. Veja um time de futebol, quando ao final alguém marca um gol. A felicidade desse momento só é atingida pela aceitação do desafio, da competição e das dúvidas, das quais o time sai com força total. As pessoas precisam de restrições e do desafio sadio para poderem saborear a vitória.\",\n \"divinatory\": \"Indica um período de ação depois de muita espera e muita luta. Pode indicar também uma viagem, ou mesmo a reta final de um projeto, de um plano, ou de um ideal, no momento em que a imaginação corre solta depois de muita ansiedade e tensão.\"\n },\n \"en\": {\n \"scene\": \"Jason's voyage, leaving Colchis, after escaping King Aeetes. Conflict stimulates the mind, and if we have had the courage to face it and overcome it, we can enjoy a period of calm. Confidence is only gained after overcoming obstacles. Look at a football team when, at the end, someone scores a goal. The happiness of that moment is only reached by accepting the challenge, the competition and the doubts, from which the team comes out at full strength. People need restrictions and healthy challenge in order to savor victory.\",\n \"divinatory\": \"It indicates a period of action after much waiting and much struggle. It may also indicate a journey, or the final stretch of a project, a plan or an ideal, at the moment when the imagination runs free after much anxiety and tension.\"\n }\n },\n \"30\": {\n \"name\": \"Seven of Wands\",\n \"pt\": {\n \"scene\": \"A luta de Jasão e o rei Aetes da Cólquida. Héracles e Teseu lutam contra dois guerreiros que parecem saídos da goela do dragão. Nesta batalha, existe uma contenda de homens contra homens, ao contrário da luta contra a força alienígena do dragão (Ark Annu 5). O reconhecimento vindo com seis provoca a resposta inevitável que outra ou outras pessoas também estão se esforçando para conseguir a mesma ideia. A mensagem diz que não se deve repousar sob os louros da vitória, pois alguém pode surgir e roubá-los de nós. Problemas de inveja e competição são fatos reais que a pessoa tem que aceitar. A competição é companheira do sucesso e muitas vezes responsável pela desistência de um projeto, por medo de não se conseguir realizá-lo. O Sete de Paus traz o desafio de um grande teste para a autoconfiança. Quanto está disposto a lutar por algo que acabou de conseguir?\",\n \"divinatory\": \"Sugere uma batalha contra a imaginação do próximo, ou seja, a competição. A pessoa é desafiada a melhorar e a aperfeiçoar seus projetos perante o mundo e precisa aprender a valorizar o próprio instinto de competição e a própria ambição.\"\n },\n \"en\": {\n \"scene\": \"The fight between Jason and King Aeetes of Colchis. Heracles and Theseus fight two warriors who seem to have come out of the dragon's throat. In this battle there is a contest of men against men, unlike the fight against the alien force of the dragon (card 5). The recognition that came with the six provokes the inevitable response that another person, or others, are also striving to achieve the same idea. The message says that one must not rest on the laurels of victory, because someone may appear and steal them from us. Problems of envy and competition are real facts that the person has to accept. Competition is the companion of success and is often responsible for giving up on a project, out of fear of not managing to carry it out. The Seven of Wands brings the challenge of a great test of self-confidence. How far are you willing to fight for something you have just achieved?\",\n \"divinatory\": \"It suggests a battle against the imagination of others, that is, competition. The person is challenged to improve and perfect their projects before the world and needs to learn to value their own competitive instinct and their own ambition.\"\n }\n },\n \"31\": {\n \"name\": \"Six of Wands\",\n \"pt\": {\n \"scene\": \"Jasão vitorioso após a luta com o dragão. A experiência do sucesso, do reconhecimento público. O \\\"projeto\\\" foi aprovado, não apenas por aqueles que nos querem bem, mas também pelo mundo (o dragão). O reconhecimento público do projeto, que começou a partir de muita ansiedade e incerteza. Embora o ápice de um processo criativo, há desafios futuros, pois a inveja e a competição sempre surgem nos momentos de triunfo.\",\n \"divinatory\": \"A aclamação de alguma espécie. Pode tomar a forma de uma promoção, de uma reclassificação, ou mesmo do reconhecimento de algum trabalho intelectual.\"\n },\n \"en\": {\n \"scene\": \"Jason victorious after the fight with the dragon. The experience of success, of public recognition. The \\\"project\\\" has been approved, not only by those who wish us well, but also by the world (the dragon). The public recognition of the project, which began from much anxiety and uncertainty. Although it is the peak of a creative process, there are challenges ahead, because envy and competition always arise in moments of triumph.\",\n \"divinatory\": \"Acclaim of some kind. It may take the form of a promotion, of a regrading, or of the recognition of some intellectual work.\"\n }\n },\n \"32\": {\n \"name\": \"Five of Wands\",\n \"pt\": {\n \"scene\": \"A batalha de Jasão com o dragão que guarda o Velocino de Ouro. Junto a Jasão, Medeia, filha do rei da Cólquida, Aetes. Esta carta representa a batalha. O ideal que se choca com a realidade sob a forma do dragão, que representa as forças primitivas da terra que resistem às mudanças. Este dragão pode apresentar-se como dificuldades financeiras, insuficiência de aptidões, ou mesmo sob a forma do corpo físico que adoece. Problemas ocasionados pelo medo do fracasso ou por apatia. A luta representada pelo Cinco de Paus requer muito mais do que persistência e fidelidade a uma ideia. Requer um tipo de percepção instintiva do tempo e do funcionamento das leis naturais.\",\n \"divinatory\": \"Momento de lutar com a realidade material para atingir seu objetivo. Assuntos materiais podem começar a dar errado e deve-se dar atenção às solicitações e aos limites da realidade concreta. Se não, a pessoa pode cair em depressão e estado de apatia. Deve assumir compromissos com base na visão original.\"\n },\n \"en\": {\n \"scene\": \"Jason's battle with the dragon that guards the Golden Fleece. Beside Jason, Medea, daughter of the king of Colchis, Aeetes. This card represents the battle. The ideal that collides with reality in the form of the dragon, which represents the primitive forces of the earth that resist change. This dragon may appear as financial difficulties, a lack of skills, or even in the form of the physical body falling ill. Problems caused by fear of failure or by apathy. The struggle represented by the Five of Wands requires much more than persistence and fidelity to an idea. It requires a kind of instinctive perception of time and of how natural laws work.\",\n \"divinatory\": \"A moment to struggle with material reality in order to reach your goal. Material matters may begin to go wrong, and attention must be given to the demands and limits of concrete reality. If not, the person may fall into depression and a state of apathy. They must make commitments based on the original vision.\"\n }\n },\n \"33\": {\n \"name\": \"Four of Wands\",\n \"pt\": {\n \"scene\": \"Jasão e os Argonautas comemoram a construção do Argo. A colheita e recompensa. O desafio foi feito, e agora a pessoa se encontra pronta para receber a recompensa a que faz jus. Os benefícios aqui são mais sólidos. Os heróis representam as pessoas com quem podemos contar, os recursos internos que podemos acionar nesse estágio do processo de criação. Com uma tripulação coesa e forte, e com um navio construído à perfeição, a viagem de Jasão só pode ser bem-sucedida, assim como qualquer projeto que seja realizado nessas bases.\",\n \"divinatory\": \"Um período de recompensa pelos esforços. Os frutos que devem ser apreciados sem esquecer de que há novos desafios à frente, antes do final.\"\n },\n \"en\": {\n \"scene\": \"Jason and the Argonauts celebrate the building of the Argo. The harvest and reward. The challenge has been made, and now the person is ready to receive the reward they deserve. The benefits here are more solid. The heroes represent the people we can count on, the inner resources we can call on at this stage of the creative process. With a united and strong crew, and with a ship built to perfection, Jason's voyage can only succeed, as can any project carried out on these foundations.\",\n \"divinatory\": \"A period of reward for one's efforts. The fruits that should be enjoyed without forgetting that there are new challenges ahead, before the end.\"\n }\n },\n \"34\": {\n \"name\": \"Three of Wands\",\n \"pt\": {\n \"scene\": \"Jasão, já em Iolco, calçando apenas uma sandália, pois perdeu a outra ao atravessar o rio, conforme a previsão do oráculo. A seus pés, de joelhos, Pélias, em aparente humildade.\\n\\nO estágio inicial da complementação. Parece que está tudo bem, como acontece com o trabalho criativo em sua fase inicial. Entretanto, existe muito trabalho ainda e sempre novas ideias surgindo, detalhes que normalmente não são considerados no começo de um projeto. Esta carta significa um ponto alto atingido, mas que ainda existe muito para acontecer. A mensagem é a seguinte: aproveite ao máximo a satisfação do momento, porque você ainda não terminou o que tem para fazer.\",\n \"divinatory\": \"No nível divinatório significa o estágio inicial de um projeto ou ideal. As estacas iniciais foram fincadas, existe entusiasmo, otimismo e confiança no potencial. Contudo, ainda existe muito a ser realizado e novos planos devem ser postos em andamento antes que o objetivo final seja alcançado.\"\n },\n \"en\": {\n \"scene\": \"Jason, now in Iolcus, wearing only one sandal, since he lost the other crossing the river, as the oracle foretold. At his feet, kneeling, Pelias, in apparent humility.\\n\\nThe initial stage of completion. Everything seems to be fine, as happens with creative work in its early phase. However, there is still much work and new ideas are always arising, details that are not usually considered at the start of a project. This card means a high point has been reached, but that much is still to happen. The message is this: make the most of the satisfaction of the moment, because you have not yet finished what you have to do.\",\n \"divinatory\": \"At the divinatory level it means the initial stage of a project or ideal. The first stakes have been driven in, and there is enthusiasm, optimism and confidence in the potential. Yet much remains to be done, and new plans must be set in motion before the final goal is reached.\"\n }\n },\n \"35\": {\n \"name\": \"Two of Wands\",\n \"pt\": {\n \"scene\": \"Jasão na porta do centauro Quíron, antes de ir reclamar sua herança.\\n\\nO aventureiro e seu objetivo recém-concebido. A inquietude e a força indefinidas começam a tomar forma, embora sem visão de como será atingido. A descoberta de Jasão de sua origem. Início de aventuras. Jasão segura com firmeza os bastões que simbolizam o fogo da imaginação. Para atingir os objetivos e potenciais que são nossos por direito, é necessária visão e força para transformá-los em realidade.\",\n \"divinatory\": \"Indica a formulação de um novo projeto, de um objetivo ou de uma ideia. Mesmo em forma inacabada, essa ideia contém o potencial, sendo forte o bastante para levar a pessoa para fora de si mesma, em direção à aventura. Tudo depende da coragem em aceitar a nova ideia e tomá-la nas mãos, acreditando no poder da criação que originou a visão desse novo caminho.\\n\\nNo sentido divinatório, o Dois de Paus anuncia a formulação de uma nova meta, ideia, objetivo ou projeto criativo. Essa nova ideia pode não ser a forma final do futuro, mas tem muito potencial e é suficientemente atrativa para incentivar o indivíduo a sair dos seus presentes limites, impulsionando-o para uma nova iniciativa. Aqui tudo depende da coragem de o indivíduo assumir a nova ideia e ter fé naquela força criativa invisível que gerou a visão desse novo caminho.\"\n },\n \"en\": {\n \"scene\": \"Jason at the door of the centaur Chiron, before going to claim his inheritance.\\n\\nThe adventurer and his newly conceived goal. The undefined restlessness and force begin to take shape, though without a view of how it will be reached. Jason's discovery of his origin. The beginning of adventures. Jason firmly holds the wands that symbolize the fire of the imagination. To reach the goals and potentials that are ours by right, vision and strength are needed to turn them into reality.\",\n \"divinatory\": \"It indicates the formulation of a new project, of a goal or of an idea. Even in unfinished form, this idea holds the potential, being strong enough to carry the person out of themselves, toward adventure. Everything depends on the courage to accept the new idea and take it in hand, believing in the power of creation that gave rise to the vision of this new path.\\n\\nIn the divinatory sense, the Two of Wands announces the formulation of a new aim, idea, goal or creative project. This new idea may not be the final form of the future, but it has great potential and is attractive enough to encourage the individual to leave their present limits, driving them toward a new initiative. Here everything depends on the individual's courage to take on the new idea and to have faith in that invisible creative force that produced the vision of this new path.\"\n }\n },\n \"36\": {\n \"name\": \"Ace of Wands\",\n \"pt\": {\n \"scene\": \"Zeus, o rei dos deuses, vestindo a pele do Velocino de Ouro. A força da imaginação, que não pode ser medida e que, no entanto, é responsável por todos os esforços e trabalhos concretos de nossas vidas. A capacidade de vislumbrar um potencial futuro diferente e mais amplo que o presente. Sensação de inquietude e indicação de que a vida está se expandindo. A mesma motivação que incita Jasão em busca do Velocino. Esta carta indica o início de uma grande aventura em direção do mundo da imaginação e da criação.\",\n \"divinatory\": \"Anuncia a emergência de uma força criadora, embora ainda não definida em termos objetivos. A sensação de que algo novo pode e deve acontecer, a busca de um sonho.\"\n },\n \"en\": {\n \"scene\": \"Zeus, the king of the gods, wearing the skin of the Golden Fleece. The force of the imagination, which cannot be measured and which is nevertheless responsible for all the concrete efforts and works of our lives. The capacity to glimpse a potential future that is different from and wider than the present. A feeling of restlessness and a sign that life is expanding. The same motivation that drives Jason in search of the Fleece. This card indicates the beginning of a great adventure toward the world of imagination and creation.\",\n \"divinatory\": \"It announces the emergence of a creative force, though not yet defined in objective terms. The feeling that something new can and must happen, the pursuit of a dream.\"\n }\n },\n \"37\": {\n \"name\": \"King of Cups\",\n \"pt\": {\n \"scene\": \"A dinâmica da água, sempre em busca de relacionamentos e sempre disposta a guiar e ajudar. Orfeu, cantor, músico e poeta. Orfeu, filho do rei Eagro e de Calíope, uma das nove musas, é a imagem do ferido que cura, aquele que por sua bondade e compaixão consegue curar os outros, mas jamais cura as feridas de seu próprio coração. Aquele que coloca o relacionamento humano e o amor acima de qualquer coisa. Insatisfeito, infeliz, não confia em sua intuição, por isso é apresentado num trono junto à água, onde não tem coragem de mergulhar com medo de se afogar. A dificuldade de se entregar afetivamente.\",\n \"divinatory\": \"No nível divinatório é o momento de a pessoa experimentar um aspecto ambivalente da própria personalidade, ou seja, o conselheiro, o ouvinte. É chegado o momento de encarar realisticamente as suas próprias dimensões antes de estabelecer um vínculo real.\"\n },\n \"en\": {\n \"scene\": \"The dynamic of water, always seeking relationships and always willing to guide and help. Orpheus, singer, musician and poet. Orpheus, son of King Oeagrus and of Calliope, one of the nine muses, is the image of the wounded one who heals, he who through his kindness and compassion manages to heal others but never heals the wounds of his own heart. He who places human relationship and love above everything. Dissatisfied, unhappy, he does not trust his intuition, which is why he is shown on a throne beside the water, where he does not dare to dive for fear of drowning. The difficulty of giving oneself emotionally.\",\n \"divinatory\": \"At the divinatory level it is the moment for the person to experience an ambivalent aspect of their own personality, that is, the counselor, the listener. The moment has come to face one's own dimensions realistically before establishing a real bond.\"\n }\n },\n \"38\": {\n \"name\": \"Queen of Cups\",\n \"pt\": {\n \"scene\": \"A profundeza do elemento água. Helena, filha de Zeus e de Leda, por cuja beleza se iniciou a famosa Guerra de Troia. Esta carta encarna a força hipnótica do mundo feminino dos sentimentos. A história de Helena mostra que centenas de homens a desejaram, mas nenhum nunca soube quem era ela ou o que desejava. A Rainha de Copas é uma figura enigmática, distante e insondável, embora atraia problemas por onde quer que passe, pois aciona tudo aquilo que está escondido dentro dos outros, dando início a um processo conflitante sem fazer nada realmente. Pode ser interpretada como a imagem do inconsciente que leva a pessoa à crise, ao conflito, à paixão e ao destino por meio de seu incrível poder de sedução.\",\n \"divinatory\": \"No nível divinatório é o momento de a pessoa encontrar-se com o desconhecido mundo dos sentimentos. Para a mulher que não tem consciência da Helena dentro de si, a Rainha de Copas vem para dizer que é chegado o momento de conhecer sua feminilidade, mesmo que o catalisador seja \\\"a outra\\\". Para o homem que não tem consciência da própria alma, que se baseia na materialidade, vem para anunciar um aprofundamento de sua vida interior, não importando se o agente catalisador, no caso, é uma mulher real.\"\n },\n \"en\": {\n \"scene\": \"The depth of the element of water. Helen, daughter of Zeus and Leda, over whose beauty the famous Trojan War began. This card embodies the hypnotic force of the feminine world of feeling. Helen's story shows that hundreds of men desired her, but none ever knew who she was or what she wanted. The Queen of Cups is an enigmatic, distant and unfathomable figure, though she attracts trouble wherever she goes, because she sets off everything that is hidden inside others, starting a process of conflict without really doing anything. She can be read as the image of the unconscious that leads the person to crisis, to conflict, to passion and to destiny through her incredible power of seduction.\",\n \"divinatory\": \"At the divinatory level it is the moment for the person to meet the unknown world of feeling. For the woman who is not aware of the Helen within her, the Queen of Cups comes to say that the moment has come to know her femininity, even if the catalyst is \\\"the other woman\\\". For the man who is not aware of his own soul, who relies on materiality, she comes to announce a deepening of his inner life, whether or not the catalyzing agent, in this case, is a real woman.\"\n }\n },\n \"39\": {\n \"name\": \"Knight of Cups\",\n \"pt\": {\n \"scene\": \"Perseu, filho de Zeus e da mortal Dânae, vestindo uma armadura de escamas de prata, tendo na cabeça um elmo prateado, com cauda de peixe. Garboso, conduz seu cavalo por entre as águas de um riacho límpido. Na mão esquerda, carrega uma taça. A dimensão volátil e mutante do elemento água, assim como o riacho, pleno de vida e sempre em movimento. Perseu, o Cavaleiro de Copas, é a imagem do espírito romântico, o salvador das mulheres em perigo, o defensor de nobres ideais, aquele que procura pelo amor perfeito, as boas intenções, o idealismo. O sacrifício em nome de um ideal ou em nome das pessoas amadas. Esta carta ensina que o amor não deve ser tomado como um sentimento imaturo, ou mesmo ironizado.\",\n \"divinatory\": \"No nível divinatório, mostra que é tempo de a pessoa experimentar o amor. Indica proposta de casamento ou mesmo que é o momento de se apaixonar. Proposta de trabalho artístico ou envolvimento com ideais elevados.\"\n },\n \"en\": {\n \"scene\": \"Perseus, son of Zeus and the mortal Danae, wearing armor of silver scales, with a silver helmet on his head, with a fish tail. Elegant, he leads his horse through the waters of a clear stream. In his left hand he carries a cup. The volatile and changing dimension of the element of water, like the stream, full of life and always in motion. Perseus, the Knight of Cups, is the image of the romantic spirit, the rescuer of women in danger, the defender of noble ideals, the one who seeks perfect love, good intentions, idealism. Sacrifice in the name of an ideal or in the name of loved ones. This card teaches that love should not be taken as an immature feeling, or mocked.\",\n \"divinatory\": \"At the divinatory level, it shows that it is time for the person to experience love. It indicates a marriage proposal, or that it is the moment to fall in love. A proposal of artistic work or involvement with high ideals.\"\n }\n },\n \"40\": {\n \"name\": \"Page of Cups\",\n \"pt\": {\n \"scene\": \"Narciso, filho do deus-rio Cefiso e de uma ninfa, com cerca de 12 anos, olha atentamente para sua imagem refletida numa taça de ouro. Está absorvido com sua própria beleza. Esta carta mostra a sutileza do elemento água, suas mudanças e vulnerabilidades. O momento da descoberta de nós mesmos, de nosso próprio valor e do grau de autoestima. Depois da morte de algo, é necessário um sacrifício voluntário (suicídio de Narciso), um movimento real feito a partir da preocupação com relação à consciência de outras pessoas. Essa morte simbólica irá transformar a pessoa no cavaleiro, em que o sentimento vital poderá então fluir livremente de dentro para fora, e em direção aos outros.\",\n \"divinatory\": \"No nível divinatório, indícios de algo novo no plano afetivo, podendo mesmo ser um recomeço no mesmo relacionamento ou o nascimento de uma criança. A renovação na capacidade de amar, que começa com o amor-próprio, após um período de sofrimento e exílio voluntários.\"\n },\n \"en\": {\n \"scene\": \"Narcissus, son of the river god Cephissus and of a nymph, about 12 years old, gazes intently at his image reflected in a golden cup. He is absorbed in his own beauty. This card shows the subtlety of the element of water, its changes and vulnerabilities. The moment of discovering ourselves, our own worth and our degree of self-esteem. After the death of something, a voluntary sacrifice is needed (the suicide of Narcissus), a real movement made out of concern for the awareness of other people. This symbolic death will turn the person into the knight, in whom vital feeling can then flow freely from the inside out, and toward others.\",\n \"divinatory\": \"At the divinatory level, signs of something new in the emotional sphere, which may even be a fresh start in the same relationship or the birth of a child. The renewal of the capacity to love, which begins with self-love, after a period of voluntary suffering and exile.\"\n }\n },\n \"41\": {\n \"name\": \"Ten of Cups\",\n \"pt\": {\n \"scene\": \"Psiquê está sendo elevada à condição divina, para poder entrar no universo dos deuses na companhia do marido. Estão de volta ao palácio de Eros. Esta carta mostra o estado de felicidade permanente. A promessa do Ás de Copas cumprida no dez. Importante: nem todos os relacionamentos conseguem atingir o êxtase o tempo todo, mas deve-se continuar tentando.\",\n \"divinatory\": \"No nível divinatório indica um período de muito contentamento e de harmonia permanente nos domínios do coração.\"\n },\n \"en\": {\n \"scene\": \"Psyche is being raised to divine status, so that she can enter the universe of the gods in her husband's company. They are back in the palace of Eros. This card shows the state of permanent happiness. The promise of the Ace of Cups fulfilled in the ten. Important: not all relationships manage to reach ecstasy all the time, but one should keep trying.\",\n \"divinatory\": \"At the divinatory level it indicates a period of great contentment and of permanent harmony in the realms of the heart.\"\n }\n },\n \"42\": {\n \"name\": \"Nine of Cups\",\n \"pt\": {\n \"scene\": \"Psiquê é resgatada da escuridão e trazida de volta a Eros. Juntos, celebram o reencontro com taças de ouro. À direita, Afrodite celebra, levantando uma taça, e aos pés da montanha as demais 6 taças estão colocadas formando uma pirâmide. A satisfação e a realização de um sonho efetivo. O segundo encontro. Representa a viagem interna até o compromisso com os próprios valores emocionais, transformando-se numa viagem externa e interna simultaneamente.\",\n \"divinatory\": \"No nível divinatório indica um período de satisfação e alegrias, de realizações de sonhos e projetos. A recompensa pelos esforços empreendidos e serve para validar os relacionamentos afetivos.\"\n },\n \"en\": {\n \"scene\": \"Psyche is rescued from the darkness and brought back to Eros. Together they celebrate their reunion with golden cups. On the right, Aphrodite celebrates, raising a cup, and at the foot of the mountain the other 6 cups are set in the shape of a pyramid. The satisfaction and fulfillment of an actual dream. The second meeting. It represents the inner journey to commitment to one's own emotional values, becoming an outer and inner journey at the same time.\",\n \"divinatory\": \"At the divinatory level it indicates a period of satisfaction and joys, of dreams and projects fulfilled. The reward for the efforts made, and it serves to validate emotional relationships.\"\n }\n },\n \"43\": {\n \"name\": \"Eight of Cups\",\n \"pt\": {\n \"scene\": \"Psiquê desempenha a última tarefa imposta por Afrodite: penetra no mundo das trevas para buscar o creme de beleza de Perséfone. As oito taças apresentam-se colocadas em forma de pirâmides. O estágio mais doloroso de um relacionamento. Nada mais pode ser feito. É necessário mudar, desistir, começar de novo. A morte e a transformação de nossas antigas atitudes e esperanças. Submissão a algo muito maior que a própria vontade, a vontade divina.\",\n \"divinatory\": \"No nível divinatório implica a necessidade de desistir de alguma coisa. Encarar os fatos, o futuro não pode ser manipulado.\"\n },\n \"en\": {\n \"scene\": \"Psyche carries out the last task imposed by Aphrodite: she enters the world of darkness to fetch Persephone's beauty cream. The eight cups are set in the shape of pyramids. The most painful stage of a relationship. Nothing more can be done. It is necessary to change, to give up, to start again. The death and transformation of our old attitudes and hopes. Submission to something far greater than one's own will, the divine will.\",\n \"divinatory\": \"At the divinatory level it implies the need to give something up. Face the facts, the future cannot be manipulated.\"\n }\n },\n \"44\": {\n \"name\": \"Seven of Cups\",\n \"pt\": {\n \"scene\": \"Afrodite encontra-se em confronto com Psiquê, dando-lhe tarefas que terá de executar para reconquistar Eros. Psiquê, ajoelhada, reconhece o poder da deusa. O surgimento de novas perspectivas e de um futuro em que tudo será possível é a consequência natural do rompimento interno que ocorreu no Ark Annu anterior, aceitar as limitações da realidade.\",\n \"divinatory\": \"No nível divinatório indica uma situação emocional em que existem muitas possibilidades aparentes, mas a pessoa precisa optar e agir de forma realista para que suas potencialidades possam se manifestar.\"\n },\n \"en\": {\n \"scene\": \"Aphrodite confronts Psyche, giving her tasks she will have to carry out to win Eros back. Psyche, kneeling, acknowledges the power of the goddess. The emergence of new prospects and of a future in which everything will be possible is the natural consequence of the inner break that took place in the previous card, accepting the limitations of reality.\",\n \"divinatory\": \"At the divinatory level it indicates an emotional situation in which there are many apparent possibilities, but the person needs to choose and act realistically so that their potential can show itself.\"\n }\n },\n \"45\": {\n \"name\": \"Six of Cups\",\n \"pt\": {\n \"scene\": \"Psiquê se encontra sentada num rochedo. Na mão esquerda segura uma taça cujo conteúdo contempla. Na mão direita, os restos de seu buquê de noiva. No chão, cinco taças. A quietude, a calma e a serenidade que quase sempre acontecem depois de uma crise. O abandono dos sonhos irreais e das falsas expectativas. Após a autorrecriminação, o Seis de Copas representa uma virada positiva na longa jornada para alcançar o objetivo.\",\n \"divinatory\": \"No nível divinatório, possibilidades do retorno do relacionamento. Representa a renovação de uma direção ao presente. Nostalgia, mas o passado pode conduzir ao futuro e o sonho é algo que pode ser realizado.\"\n },\n \"en\": {\n \"scene\": \"Psyche is seated on a rock. In her left hand she holds a cup whose contents she contemplates. In her right hand, the remains of her bridal bouquet. On the ground, five cups. The quiet, calm and serenity that almost always come after a crisis. The abandoning of unreal dreams and false expectations. After self-reproach, the Six of Cups represents a positive turn in the long journey toward the goal.\",\n \"divinatory\": \"At the divinatory level, possibilities of the relationship returning. It represents the renewal of a direction toward the present. Nostalgia, but the past can lead to the future and the dream is something that can be realized.\"\n }\n },\n \"46\": {\n \"name\": \"Five of Cups\",\n \"pt\": {\n \"scene\": \"A consequência da traição de Psiquê, quebrando a promessa feita ao marido, acendendo uma lâmpada para ver-lhe o rosto. Ela se encontra desesperada, tentando alcançar Eros. Quatro taças se apresentam viradas e seu conteúdo derramado, e uma ainda continua em pé, indicando a necessidade de disciplina.\",\n \"divinatory\": \"No sentido divinatório representa remorso. O ato de traição deu lugar à tristeza e ao arrependimento. Indício de separação, mas não um rompimento definitivo.\"\n },\n \"en\": {\n \"scene\": \"The consequence of Psyche's betrayal, breaking the promise made to her husband, lighting a lamp to see his face. She is in despair, trying to reach Eros. Four cups are overturned and their contents spilled, and one still stands, indicating the need for discipline.\",\n \"divinatory\": \"In the divinatory sense it represents remorse. The act of betrayal has given way to sadness and regret. A sign of separation, but not a final break.\"\n }\n },\n \"47\": {\n \"name\": \"Four of Cups\",\n \"pt\": {\n \"scene\": \"Psiquê, já esposa, encontra-se no palácio de Eros. Está rodeada pelas irmãs invejosas, uma de preto e outra de vermelho. Observa-se que elas estão dizendo maldades aos seus ouvidos. Perguntaram por que ele se mantém oculto, distante da luz e do sol, aparecendo apenas à noite? O Quatro de Copas simboliza toda abundância da vida afetiva, toda multiplicidade de situações que você poderá recriar. As 4 taças vêm para preencher as insatisfações físicas e emocionais.\",\n \"divinatory\": \"No nível divinatório é o período de insatisfação, de tédio, dentro de um relacionamento.\"\n },\n \"en\": {\n \"scene\": \"Psyche, now a wife, is in the palace of Eros. She is surrounded by her envious sisters, one in black and the other in red. They can be seen whispering spiteful things in her ears. They asked why he keeps himself hidden, far from the light and the sun, appearing only at night? The Four of Cups symbolizes all the abundance of emotional life, all the multiplicity of situations you can recreate. The 4 cups come to fill physical and emotional dissatisfactions.\",\n \"divinatory\": \"At the divinatory level it is the period of dissatisfaction, of boredom, within a relationship.\"\n }\n },\n \"48\": {\n \"name\": \"Three of Cups\",\n \"pt\": {\n \"scene\": \"O casamento de Eros e Psiquê. No mar, três ondinas, ou ninfas das águas, erguem taças douradas para celebrar o matrimônio. Este Ark Annu representa a comemoração de um feito, a síntese que estabelece equilíbrio entre tese e antítese.\",\n \"divinatory\": \"No nível divinatório sugere a comemoração de qualquer situação promissora de realização emocional. Na ausência da luz do sol o verbo é simbolizado pela tríade.\"\n },\n \"en\": {\n \"scene\": \"The wedding of Eros and Psyche. In the sea, three undines, or water nymphs, raise golden cups to celebrate the marriage. This card represents the celebration of an achievement, the synthesis that establishes balance between thesis and antithesis.\",\n \"divinatory\": \"At the divinatory level it suggests the celebration of any situation that promises emotional fulfillment. In the absence of sunlight the word is symbolized by the triad.\"\n }\n },\n \"49\": {\n \"name\": \"Two of Cups\",\n \"pt\": {\n \"scene\": \"Aqui vemos o primeiro encontro de Eros e Psiquê, que, por determinação de Afrodite, está amarrada a um rochedo junto ao mar. Eros traz numa mão uma taça e na outra mão uma flecha com a qual se feriu, fazendo com que se enamorasse instantaneamente pela jovem a quem deveria matar. Esta lâmina, nos casos de saúde, significa estar entre dois métodos diferentes de cura.\",\n \"divinatory\": \"No sentido divinatório representa o início de uma vida afetiva, assim como uma reconciliação ou um encontro comercial.\"\n },\n \"en\": {\n \"scene\": \"Here we see the first meeting of Eros and Psyche, who, by Aphrodite's order, is tied to a rock by the sea. Eros carries a cup in one hand and in the other an arrow with which he wounded himself, making him fall instantly in love with the young woman he was meant to kill. This card, in matters of health, means being between two different methods of healing.\",\n \"divinatory\": \"In the divinatory sense it represents the beginning of an emotional life, as well as a reconciliation or a business meeting.\"\n }\n },\n \"50\": {\n \"name\": \"Ace of Cups\",\n \"pt\": {\n \"scene\": \"Compartilhar a taça do Graal corresponde a tornar sinérgico entre pessoas os cuidados com a saúde e melhores relacionamentos. A taça representa a fonte de afetividade e cura que vem do Ás de Copas. Na mitologia/theogonia grega é a imagem de Afrodite.\",\n \"divinatory\": \"Esta carta indica que a pessoa está prestes a iniciar uma viagem do reino do coração.\"\n },\n \"en\": {\n \"scene\": \"Sharing the cup of the Grail corresponds to making care for health and better relationships synergistic among people. The cup represents the source of affection and healing that comes from the Ace of Cups. In Greek mythology/theogony it is the image of Aphrodite.\",\n \"divinatory\": \"This card indicates that the person is about to begin a journey of the realm of the heart.\"\n }\n },\n \"51\": {\n \"name\": \"King of Swords\",\n \"pt\": {\n \"scene\": \"Tem ligações com o rei Ulisses, conhecido como o astucioso, excelente estrategista. Foi ele que inspirou o episódio do cavalo de Troia.\",\n \"divinatory\": \"No sentido divinatório o Rei de Espadas significa liderança e estratégia, porém generosidade para com os prisioneiros vencidos.\"\n },\n \"en\": {\n \"scene\": \"He has ties to King Odysseus, known as the cunning one, an excellent strategist. It was he who inspired the episode of the Trojan horse.\",\n \"divinatory\": \"In the divinatory sense the King of Swords means leadership and strategy, yet generosity toward defeated prisoners.\"\n }\n },\n \"52\": {\n \"name\": \"Queen of Swords\",\n \"pt\": {\n \"scene\": \"Tem analogia com a rainha Atalanta, protegida por Ártemis. Ela defende tudo o que pode beneficiar o sexo feminino, tornando-o independente e triunfante.\",\n \"divinatory\": \"No sentido divinatório ensina a cuidar dos homens como filhos e não como competidores. Forte ligação com o Ark Annu 8.\"\n },\n \"en\": {\n \"scene\": \"She is analogous to Queen Atalanta, protected by Artemis. She defends everything that can benefit the female sex, making it independent and triumphant.\",\n \"divinatory\": \"In the divinatory sense she teaches caring for men as sons and not as competitors. A strong link with Ark Annu 8.\"\n }\n },\n \"53\": {\n \"name\": \"Knight of Swords\",\n \"pt\": {\n \"scene\": \"Na lâmina da theogonia grega temos gêmeos guerreiros, Castor e Pólux.\",\n \"divinatory\": \"O objetivo do cavaleiro é ser um guerreiro da luz, que, apoiado por seu pajem, dá cobertura aos seus atos de justiça divina e coragem.\"\n },\n \"en\": {\n \"scene\": \"In the card of the Greek theogony we have warrior twins, Castor and Pollux.\",\n \"divinatory\": \"The knight's aim is to be a warrior of light, who, supported by his page, gives cover to his acts of divine justice and courage.\"\n }\n },\n \"54\": {\n \"name\": \"Page of Swords\",\n \"pt\": {\n \"scene\": \"O Pajem representa Zéfiro, aquele que sopra os ventos para que o cavaleiro dirija sua batalha.\",\n \"divinatory\": \"Ele leva e traz informações do reino de Malkuth a Kether e vice-versa.\"\n },\n \"en\": {\n \"scene\": \"The Page represents Zephyrus, the one who blows the winds so that the knight may direct his battle.\",\n \"divinatory\": \"He carries information back and forth from the realm of Malkuth to Kether and vice versa.\"\n }\n },\n \"55\": {\n \"name\": \"Ten of Swords\",\n \"pt\": {\n \"scene\": \"A deusa Atena, com uma espada na mão, se coloca calmamente diante das Fúrias, que estão contidas pelas outras 9 espadas. Orestes está a seus pés, quase morto. Este Ark Annu representa uma finalização, o término de um período de maldição. O período de transição para a liberdade. Separações são sempre difíceis e dolorosas, mas, uma vez superada a crise, o sol volta a brilhar e então a pessoa pode prosseguir.\",\n \"divinatory\": \"No nível divinatório indica a finalização de uma situação difícil. Apesar de doloroso, o problema será encarado de frente, com honestidade, para que um futuro com menos conflitos possa começar.\"\n },\n \"en\": {\n \"scene\": \"The goddess Athena, with a sword in her hand, stands calmly before the Furies, who are held back by the other 9 swords. Orestes is at her feet, almost dead. This card represents an ending, the close of a period of curse. The period of transition to freedom. Separations are always difficult and painful, but once the crisis is overcome the sun shines again and the person can then go on.\",\n \"divinatory\": \"At the divinatory level it indicates the ending of a difficult situation. Though painful, the problem will be faced head on, with honesty, so that a future with fewer conflicts can begin.\"\n }\n },\n \"56\": {\n \"name\": \"Nine of Swords\",\n \"pt\": {\n \"scene\": \"Orestes em pé, tapando os ouvidos. Atrás, as três Fúrias ameaçam o jovem príncipe. O Ark Annu do pesadelo, da sensação de tragédia e da fatalidade que nem sempre se manifesta. O medo do fracasso, da perda, da catástrofe.\",\n \"divinatory\": \"No nível divinatório prenuncia um período de muita ansiedade e dúvidas com relação ao futuro. Como Yesod é o fundamento, é preciso neste estágio verificar os fundamentos que alicerçam nossa vida.\"\n },\n \"en\": {\n \"scene\": \"Orestes standing, covering his ears. Behind him, the three Furies threaten the young prince. The card of the nightmare, of the sense of tragedy and of doom that does not always come to pass. The fear of failure, of loss, of catastrophe.\",\n \"divinatory\": \"At the divinatory level it foretells a period of much anxiety and doubt about the future. Since Yesod is the foundation, at this stage it is necessary to check the foundations on which our life rests.\"\n }\n },\n \"57\": {\n \"name\": \"Eight of Swords\",\n \"pt\": {\n \"scene\": \"Orestes, aterrorizado, com as mãos erguidas, tenta defender-se. À sua esquerda, Apolo o encara. À sua direita, as três Fúrias, em seus mantos negros. Assumir a responsabilidade total pelos nossos atos, tentar compreender aquilo que realmente queremos e, por fim, agir. O momento anterior à escolha difícil. A razão deve prevalecer sobre o medo. Aqui vemos de um lado a pressão das Fúrias (sombras) e de Apolo (luz).\",\n \"divinatory\": \"No plano divinatório mostra a situação onde a pessoa está impossibilitada de agir por medo das consequências. Como qualquer decisão trará consequências, a pessoa evita tomar uma decisão que no fundo sabe será impossível de não ser tomada.\"\n },\n \"en\": {\n \"scene\": \"Orestes, terrified, with his hands raised, tries to defend himself. On his left, Apollo faces him. On his right, the three Furies, in their black cloaks. Taking full responsibility for our acts, trying to understand what we really want and, finally, acting. The moment before the difficult choice. Reason must prevail over fear. Here we see on one side the pressure of the Furies (shadows) and of Apollo (light).\",\n \"divinatory\": \"On the divinatory plane it shows the situation where the person is unable to act for fear of the consequences. Since any decision will bring consequences, the person avoids making a decision that, deep down, they know cannot go unmade.\"\n }\n },\n \"58\": {\n \"name\": \"Seven of Swords\",\n \"pt\": {\n \"scene\": \"Orestes, envolto em seu manto, se dirige sorrateiro ao palácio de Argos. Este Ark Annu representa a utilização da energia mental de forma estratégica, cuidadosa e diplomática, para atingir um objetivo. A mensagem é a de usar a cabeça em vez da força. A astúcia é um dos atributos da mente e precisa ser usada em algumas instâncias da vida.\",\n \"divinatory\": \"No nível divinatório anuncia o momento de agir com muito tato e diplomacia, evitando-se confrontos diretos para preservar ao máximo as próprias forças.\"\n },\n \"en\": {\n \"scene\": \"Orestes, wrapped in his cloak, makes his way stealthily to the palace of Argos. This card represents the use of mental energy in a strategic, careful and diplomatic way to reach a goal. The message is to use the head instead of force. Cunning is one of the attributes of the mind and needs to be used in some instances of life.\",\n \"divinatory\": \"At the divinatory level it announces the moment to act with great tact and diplomacy, avoiding direct confrontations in order to preserve one's own strength as much as possible.\"\n }\n },\n \"59\": {\n \"name\": \"Six of Swords\",\n \"pt\": {\n \"scene\": \"Orestes, dentro de um barco, contempla a cidade de Argos, avançando em direção ao seu objetivo. Procura pela ética e estética espiritual, independente da física.\",\n \"divinatory\": \"No sentido divinatório representa o afastamento da turbulência e das dificuldades em direção a um estado mais calmo e tranquilo. Já se vislumbra um caminho mais tranquilo adiante, é a tranquilidade da mente serena.\"\n },\n \"en\": {\n \"scene\": \"Orestes, in a boat, contemplates the city of Argos, advancing toward his goal. The search for spiritual ethics and aesthetics, independent of the physical.\",\n \"divinatory\": \"In the divinatory sense it represents moving away from turbulence and difficulties toward a calmer and more peaceful state. A more peaceful path can already be glimpsed ahead. It is the tranquility of the serene mind.\"\n }\n },\n \"60\": {\n \"name\": \"Five of Swords\",\n \"pt\": {\n \"scene\": \"Harmonia e evolução na ação conjunta. O ocupante desta esfera e deste Ark Annu deverá agir de acordo com as leis da evolução espiritual, buscando sempre a justiça e não a vingança, agindo de forma preventiva. Aqui, Orestes, sentado, olha para o deus Apolo, que lhe comunica sobre o seu destino e sobre sua obrigação, ou seja, vingar a morte do pai.\",\n \"divinatory\": \"No sentido divinatório este Ark Annu exige autodisciplina. Portanto, Orestes, diante da aparição de Apolo, deve voltar-se para dentro de si mesmo e reconhecer suas limitações e aí agir de acordo com as mesmas.\"\n },\n \"en\": {\n \"scene\": \"Harmony and evolution in joint action. The occupant of this sphere and of this card must act according to the laws of spiritual evolution, always seeking justice and not revenge, acting preventively. Here Orestes, seated, looks at the god Apollo, who tells him of his destiny and of his obligation, that is, to avenge his father's death.\",\n \"divinatory\": \"In the divinatory sense this card demands self-discipline. Therefore Orestes, before the apparition of Apollo, must turn inward and recognize his limitations and then act in accordance with them.\"\n }\n },\n \"61\": {\n \"name\": \"Four of Swords\",\n \"pt\": {\n \"scene\": \"Esta lâmina retrata Orestes em seu exílio na Fócida. Está sentado tranquilo, contemplando as quatro espadas à sua frente. Representa um período tranquilo de isolamento e contemplação, necessários para se examinar tudo o que aconteceu.\",\n \"divinatory\": \"No sentido divinatório simboliza o período de repouso e reflexão após o conflito (semelhante ao Ark Annu 9). Ao mesmo tempo, mostra as possibilidades de defesa em relação à nossa segurança. Mostra importância da paralisação para a ordenação das ideias e na organização da própria vida.\"\n },\n \"en\": {\n \"scene\": \"This card portrays Orestes in his exile in Phocis. He sits calmly, contemplating the four swords in front of him. It represents a quiet period of isolation and contemplation, needed in order to examine everything that has happened.\",\n \"divinatory\": \"In the divinatory sense it symbolizes the period of rest and reflection after the conflict (similar to Ark Annu 9). At the same time, it shows the possibilities of defense with regard to our security. It shows the importance of stopping for putting ideas in order and for organizing one's own life.\"\n }\n },\n \"62\": {\n \"name\": \"Three of Swords\",\n \"pt\": {\n \"scene\": \"Aqui vemos Agamenon sendo assassinado na banheira. À esquerda, Egisto, com a espada no coração do rei, enquanto outra espada encontra-se cravada no peito. À direita, Clitemnestra, a esposa, enfia uma espada no peito do rei. Ao fundo, uma tempestade escura prestes a desabar sobre o pico das montanhas. Esta lâmina representa o conflito deflagrado. O veneno foi colocado para fora, o que proporcionará a cura no futuro.\",\n \"divinatory\": \"No sentido divinatório simboliza a dupla ação da imagem (sombra e luz) sendo deflagrada pelo som (ação do verbo) para que haja justiça e não vingança.\"\n },\n \"en\": {\n \"scene\": \"Here we see Agamemnon being murdered in the bath. On the left, Aegisthus, with his sword in the king's heart, while another sword is driven into his chest. On the right, Clytemnestra, the wife, thrusts a sword into the king's chest. In the background, a dark storm about to break over the mountain peaks. This card represents the conflict breaking out. The poison has been brought out, which will allow healing in the future.\",\n \"divinatory\": \"In the divinatory sense it symbolizes the double action of the image (shadow and light) being set off by sound (the action of the word) so that there may be justice and not revenge.\"\n }\n },\n \"63\": {\n \"name\": \"Two of Swords\",\n \"pt\": {\n \"scene\": \"Representa Orestes, no meio do conflito entre seus pais, Clitemnestra, a mãe, e Agamenon, o pai. É o estado de paralisia, sobre o qual forças opostas promovem tanta pressão que nenhum movimento será possível. O movimento em que alguma coisa precisa ser mudada, mas em que fechamos os olhos em vez de nos expormos ao conflito que de qualquer forma irá recorrer.\",\n \"divinatory\": \"No sentido divinatório representa a pessoa diante de um impasse, de uma indecisão. Forças interiores em conflito, polarização que encontrará solução na esfera seguinte.\"\n },\n \"en\": {\n \"scene\": \"It represents Orestes, in the middle of the conflict between his parents, Clytemnestra, the mother, and Agamemnon, the father. It is the state of paralysis, on which opposing forces press so hard that no movement will be possible. The movement in which something needs to be changed, but in which we close our eyes instead of exposing ourselves to the conflict that will recur anyway.\",\n \"divinatory\": \"In the divinatory sense it represents the person facing an impasse, an indecision. Inner forces in conflict, a polarization that will find its solution in the next sphere.\"\n }\n },\n \"64\": {\n \"name\": \"Ace of Swords\",\n \"pt\": {\n \"scene\": \"O reino ou veemência, exige pulso de ferro para que haja segurança e justiça. Esta lâmina retrata uma mulher séria, em trajes de guerra, em posição de combate. Segura na mão esquerda uma espada de prata de dois gumes. Está em um terreno aparentemente árido, e bem atrás de si surgem montanhas de picos nevados, embaixo de um céu repleto de nuvens ameaçadoras.\",\n \"divinatory\": \"No sentido divinatório representa um conflito antes da paz, a batalha antes da vitória. Na theogonia grega temos a figura de Atena, a deusa da justiça. Os Ark Annus servem tanto para ação individual quanto coletiva. Na vida íntima este Ark Annu é a correção do eu inferior pelo superior e no coletivo é a ação dos ases da segurança e das forças armadas.\"\n },\n \"en\": {\n \"scene\": \"The realm, or vehemence, demands an iron fist so that there may be security and justice. This card portrays a serious woman in battle dress, in a fighting stance. In her left hand she holds a double-edged silver sword. She stands on apparently barren ground, and right behind her rise snow-capped mountains, beneath a sky full of threatening clouds.\",\n \"divinatory\": \"In the divinatory sense it represents a conflict before peace, the battle before victory. In the Greek theogony we have the figure of Athena, the goddess of justice. The cards serve for both individual and collective action. In the inner life this card is the correction of the lower self by the higher, and in the collective it is the action of the aces of security and of the armed forces.\"\n }\n },\n \"65\": {\n \"name\": \"King of Pentacles\",\n \"pt\": {\n \"scene\": \"A imagem mitológica do rei Midas, aquele que, ao tocar, virava tudo em ouro. Representa a habilidade e experiência em assuntos materiais que só é superada pelos Ases.\",\n \"divinatory\": \"De qualquer naipe, é sempre rigoroso e crítico com o sexo masculino, mesmo quando de forma construtiva. É sereno com o sexo feminino, agindo como um pai que mima a filha.\"\n },\n \"en\": {\n \"scene\": \"The mythological image of King Midas, the one who turned everything he touched into gold. He represents the skill and experience in material matters that is surpassed only by the Aces.\",\n \"divinatory\": \"Of any suit, he is always strict and critical with the male sex, even when constructively. He is serene with the female sex, acting like a father who spoils his daughter.\"\n }\n },\n \"66\": {\n \"name\": \"Queen of Pentacles\",\n \"pt\": {\n \"scene\": \"A rainha Ônfale, cujo nome significa umbigo. A ação da Rainha é através da astúcia, da diplomacia e esmero no mundo material e financeiro.\",\n \"divinatory\": \"Procede da mesma forma, sendo rigorosa e crítica com o sexo feminino e benevolente com o sexo masculino.\"\n },\n \"en\": {\n \"scene\": \"Queen Omphale, whose name means navel. The Queen acts through cunning, diplomacy and care in the material and financial world.\",\n \"divinatory\": \"She proceeds in the same way, being strict and critical with the female sex and benevolent with the male sex.\"\n }\n },\n \"67\": {\n \"name\": \"Knight of Pentacles\",\n \"pt\": {\n \"scene\": \"O Cavaleiro sai para desbravar a situação onde se exige coragem e audácia. O Cavaleiro de Ouros significa o mundo dos negócios e a concretização material.\",\n \"divinatory\": \"Tem como características principais a coragem, a audácia e a nobreza.\"\n },\n \"en\": {\n \"scene\": \"The Knight goes out to break ground in the situation where courage and daring are required. The Knight of Pentacles means the world of business and material realization.\",\n \"divinatory\": \"His main characteristics are courage, daring and nobility.\"\n }\n },\n \"68\": {\n \"name\": \"Page of Pentacles\",\n \"pt\": {\n \"scene\": \"O Pajem é sempre o símbolo do apoio e ao mesmo tempo do informante que dará cobertura ao Cavaleiro de Ouros.\",\n \"divinatory\": \"O Pajem zela pelo cavaleiro como se ele fosse uma eterna criança, porém sem deixar de respeitá-lo como um herói (relembre a história Arktipica de Dom Quixote e Sancho Pança). O Pajem conserva a espada do guerreiro, cuida de seu escudo, daí os sinônimos que recebe: pajem, valete, escudeiro.\"\n },\n \"en\": {\n \"scene\": \"The Page is always the symbol of support and at the same time of the informant who will give cover to the Knight of Pentacles.\",\n \"divinatory\": \"The Page watches over the knight as if he were an eternal child, yet without ceasing to respect him as a hero (recall the archetypal story of Don Quixote and Sancho Panza). The Page keeps the warrior's sword and looks after his shield, hence the synonyms he is given: page, valet, squire.\"\n }\n },\n \"69\": {\n \"name\": \"Ten of Pentacles\",\n \"pt\": {\n \"scene\": \"Dédalo está velho, rodeado de filhos e netos. Das colunas de videiras, cinco pentáculos de ouro de cada lado. Ao seu lado, uma mulher. Em seu colo um bebê e a seus pés um adolescente. A posição estável e a fundação de uma dinastia. A construção de algo duradouro para o futuro.\",\n \"divinatory\": \"Permanência e solidez são as 10 moedas. A estabilidade material que poderá ficar para a posteridade. Realização do planejamento material.\"\n },\n \"en\": {\n \"scene\": \"Daedalus is old, surrounded by children and grandchildren. On the columns of vines, five golden pentacles on each side. Beside him, a woman. On her lap a baby and at her feet an adolescent. The stable position and the founding of a dynasty. The building of something lasting for the future.\",\n \"divinatory\": \"Permanence and solidity are the 10 coins. The material stability that can remain for posterity. Fulfillment of the material planning.\"\n }\n },\n \"70\": {\n \"name\": \"Nine of Pentacles\",\n \"pt\": {\n \"scene\": \"Dédalo já não usa suas roupas de trabalho, mas uma rica túnica, tendo a seus pés nove pentáculos de ouro dispostos em forma de triângulo. Depois da aventura, dos riscos, das consequências, usufrui da recompensa. O fundamento representado pelas nove moedas é a realização através do Ouro físico e filosófico, onde o vazio anterior é preenchido de acordo com a Geometria Sagrada e com a cooperação de todos.\",\n \"divinatory\": \"Indica um período de autossatisfação justificada em vista de tudo aquilo que se conseguiu. Segurança em si.\"\n },\n \"en\": {\n \"scene\": \"Daedalus no longer wears his work clothes but a rich tunic, with nine golden pentacles at his feet arranged in the shape of a triangle. After the adventure, the risks, the consequences, he enjoys the reward. The foundation represented by the nine coins is fulfillment through physical and philosophical Gold, where the earlier emptiness is filled according to Sacred Geometry and with the cooperation of all.\",\n \"divinatory\": \"It indicates a period of justified self-satisfaction in view of everything that has been achieved. Confidence in oneself.\"\n }\n },\n \"71\": {\n \"name\": \"Eight of Pentacles\",\n \"pt\": {\n \"scene\": \"Dédalo está em sua oficina dentro do palácio do rei Cócalo da Sicília. No chão, sete pentáculos de ouro ainda não terminados, esperando o acabamento, e na bancada um pentáculo de ouro, que ele esculpe. Dédalo volta à condição de aprendiz. A autodedicação e o esforço para canalizar as energias.\",\n \"divinatory\": \"Recomeço a partir da nova caminhada assumida pela proposta da esfera 7. O uso da Razão aqui se estabelece para gerar o equilíbrio, onde o 8 simboliza uma sucessão infinita de universos finitos.\"\n },\n \"en\": {\n \"scene\": \"Daedalus is in his workshop inside the palace of King Cocalus of Sicily. On the floor, seven golden pentacles not yet finished, awaiting their final touches, and on the bench one golden pentacle, which he is carving. Daedalus returns to the condition of apprentice. Self-dedication and the effort to channel one's energies.\",\n \"divinatory\": \"A fresh start from the new path taken up through the proposal of sphere 7. The use of Reason is established here to generate balance, where the 8 symbolizes an infinite succession of finite universes.\"\n }\n },\n \"72\": {\n \"name\": \"Seven of Pentacles\",\n \"pt\": {\n \"scene\": \"Dédalo se encontra no palácio do rei Minos, tendo à sua esquerda a rainha Pasífae, esposa de Minos. A rainha parece desesperada e oferece ao artesão um pentáculo de ouro. O momento de uma decisão difícil, é necessária muita ponderação e cautela. O impasse de continuar a desenvolver tudo aquilo que construiu até então, ou canalizar todos os esforços e energia para um novo projeto. Nesta esfera Dédalo tem que decidir entre a estabilidade já conseguida ou se arriscar a novas propostas vindas diretamente de Poseidon.\",\n \"divinatory\": \"Nesta lâmina não devemos sair contando aos 4 ventos qualquer proposta que recebamos, pois ela, neste estágio, é apenas uma vitória aparente. Devemos controlar nossas emoções, porém não podemos esquecer que fazer aquilo de que gostamos e nos entusiasma é a chave do sucesso.\"\n },\n \"en\": {\n \"scene\": \"Daedalus is in the palace of King Minos, with Queen Pasiphae, the wife of Minos, on his left. The queen seems desperate and offers the craftsman a golden pentacle. The moment of a difficult decision, which calls for much reflection and caution. The impasse between continuing to develop everything built so far and channeling all effort and energy into a new project. In this sphere Daedalus has to decide between the stability already won and risking new proposals coming directly from Poseidon.\",\n \"divinatory\": \"In this card we should not go telling the four winds about any proposal we receive, because at this stage it is only an apparent victory. We must control our emotions, yet we cannot forget that doing what we like and what excites us is the key to success.\"\n }\n },\n \"73\": {\n \"name\": \"Six of Pentacles\",\n \"pt\": {\n \"scene\": \"Dédalo se apresenta ajoelhado perante o rei Minos de Creta, que lhe oferece seis pentáculos de ouro, como recompensa por préstimos futuros. Ark Annu da harmonia e que reflete a renovação da fé. Sugere este Ark Annu a benevolência, uma situação de oferecimento, tanto financeiro como pessoal, em que a pessoa será levada a oferecer sua bondade, ou a receber a generosidade dos outros.\",\n \"divinatory\": \"A generosidade do rei Minos simboliza a beleza que reside em Tiphareth, semelhante à fonte de Luz do Sol, que a todos ilumina (ao trabalhar em moedas, o representante desta esfera deverá esforçar-se pela estética da atividade).\"\n },\n \"en\": {\n \"scene\": \"Daedalus appears kneeling before King Minos of Crete, who offers him six golden pentacles as a reward for future services. A card of harmony, one that reflects the renewal of faith. This card suggests benevolence, a situation of offering, both financial and personal, in which the person will be led to offer their kindness or to receive the generosity of others.\",\n \"divinatory\": \"The generosity of King Minos symbolizes the beauty that dwells in Tiphareth, like the source of the Light of the Sun, which illuminates everyone (when working in coins, the representative of this sphere must strive for the aesthetics of the activity).\"\n }\n },\n \"74\": {\n \"name\": \"Five of Pentacles\",\n \"pt\": {\n \"scene\": \"Aqui Dédalo se apresenta envolto em um manto esfarrapado, esgueirando-se pela noite para fora da cidade. Dédalo está abandonando sua oficina e o sucesso que alcançou. Este Ark Annu é de perda, comprovada pela reação negativa automática ao desafio apresentado no 4. Indica a iminência de um período de grandes perdas. Perda da autoconfiança.\",\n \"divinatory\": \"O indivíduo indisciplinado (embaraçado) abandona sua atividade básica e sai com seu manto esfarrapado, e somente esta perda total o faça encarar honestamente o que está errado dentro de si e que é, na verdade, seu pior inimigo.\"\n },\n \"en\": {\n \"scene\": \"Here Daedalus appears wrapped in a ragged cloak, slipping out of the city by night. Daedalus is abandoning his workshop and the success he achieved. This card is one of loss, borne out by the automatic negative reaction to the challenge presented in the 4. It indicates that a period of great losses is imminent. Loss of self-confidence.\",\n \"divinatory\": \"The undisciplined (muddled) individual abandons his basic activity and leaves in his ragged cloak, and only this total loss may make him face honestly what is wrong within himself and what is, in truth, his worst enemy.\"\n }\n },\n \"75\": {\n \"name\": \"Four of Pentacles\",\n \"pt\": {\n \"scene\": \"Dédalo segura 4 pentáculos de ouro e observa desconfiado o aprendiz Talo, seu sobrinho, que está concentrado em seu trabalho. Este é o Ark Annu da avareza, da inveja. Sugere estagnação. É um Ark Annu sutil, pois não lida apenas com a atitude de avareza que leva a pessoa a se apegar demasiadamente a seus recursos, o que por sua vez provoca a estagnação da energia criadora e a impossibilidade de lucro futuro.\",\n \"divinatory\": \"Representa a falta de confiança em si mesmo e o medo de abrir mão de certas coisas. Enquanto Dédalo se restringe às 4 moedas que possui, deixa de viver a abundância (galinha dos ovos de ouro) representada pela moeda cunhada por seu sobrinho.\"\n },\n \"en\": {\n \"scene\": \"Daedalus holds 4 golden pentacles and watches with suspicion the apprentice Talos, his nephew, who is concentrated on his work. This is the card of avarice, of envy. It suggests stagnation. It is a subtle card, because it does not deal only with the attitude of avarice that leads a person to cling too tightly to their resources, which in turn causes the stagnation of creative energy and the impossibility of future profit.\",\n \"divinatory\": \"It represents a lack of confidence in oneself and the fear of letting go of certain things. While Daedalus restricts himself to the 4 coins he has, he fails to live the abundance (the goose that lays the golden eggs) represented by the coin minted by his nephew.\"\n }\n },\n \"76\": {\n \"name\": \"Three of Pentacles\",\n \"pt\": {\n \"scene\": \"Aqui, Dédalo é retratado em pé, no 3º degrau de um tablado, ainda usando suas roupas de trabalho. O Três de Ouros indica um estágio inicial de complementação. São as primeiras recompensas pelo trabalho.\",\n \"divinatory\": \"Este Ark Annu diz: saboreie os primeiros frutos de seu trabalho. Mas pense no futuro, não apenas em termos do trabalho a ser feito, mas em termos de sua própria capacidade para realizá-lo.\"\n },\n \"en\": {\n \"scene\": \"Here Daedalus is shown standing on the 3rd step of a platform, still wearing his work clothes. The Three of Pentacles indicates an initial stage of completion. These are the first rewards for the work.\",\n \"divinatory\": \"This card says: savor the first fruits of your work. But think of the future, not only in terms of the work to be done, but in terms of your own capacity to carry it out.\"\n }\n },\n \"77\": {\n \"name\": \"Two of Pentacles\",\n \"pt\": {\n \"scene\": \"Aqui vemos Dédalo trabalhando em sua oficina. Dois grandes pentáculos de ouro sustentam a bancada e, em primeiro plano, aparecem de cada lado as videiras.\",\n \"divinatory\": \"O Dois de Ouros representa o estado de mudança ou mesmo a flutuação financeira. Requer flexibilidade e vontade de colocar dinheiro e energia em ação. Vemos o quadro de um homem com ambições materiais que ainda está aberto para novas ideias e projetos, e que está disposto a assumir riscos para provar seu talento.\"\n },\n \"en\": {\n \"scene\": \"Here we see Daedalus working in his workshop. Two large golden pentacles hold up the bench and, in the foreground, the vines appear on each side.\",\n \"divinatory\": \"The Two of Pentacles represents the state of change, or financial fluctuation. It requires flexibility and the will to put money and energy into action. We see the picture of a man with material ambitions who is still open to new ideas and projects, and who is willing to take risks to prove his talent.\"\n }\n },\n \"78\": {\n \"name\": \"Ace of Pentacles\",\n \"pt\": {\n \"scene\": \"O Ás de Ouros retrata uma figura masculina, com cauda de peixe, que surge do oceano. Sobre sua cabeça, ergue um pentáculo de ouro. À sua frente, uma parreira de uvas maduras e, à distância, colinas verdejantes rodeando a baía. Estamos diante do deus Poseidon, filho de Cronos e Reia, o senhor dos mares, rios, lagos e da superfície da terra.\",\n \"divinatory\": \"O Ás de Ouros entra para direcionar os potenciais criativos à realização material. A pessoa que consegue ganhar dinheiro e realizar coisas em termos práticos está experimentando um pouco da força do antigo deus da terra. Portanto, o Ás de Ouros indica o surgimento da ambição pela realização material e do sucesso.\"\n },\n \"en\": {\n \"scene\": \"The Ace of Pentacles portrays a male figure with a fish tail rising from the ocean. Above his head he lifts a golden pentacle. In front of him, a vine of ripe grapes and, in the distance, green hills surrounding the bay. We are before the god Poseidon, son of Cronus and Rhea, lord of the seas, rivers, lakes and of the surface of the earth.\",\n \"divinatory\": \"The Ace of Pentacles comes in to direct creative potential toward material realization. The person who manages to earn money and get things done in practical terms is experiencing a little of the strength of the ancient god of the earth. Therefore the Ace of Pentacles indicates the emergence of ambition for material realization and for success.\"\n }\n }\n }\n}\n","{\n \"en\": {\n \"major\": {\n \"1\": \"The Magician\",\n \"2\": \"The High Priestess\",\n \"3\": \"The Empress\",\n \"4\": \"The Emperor\",\n \"5\": \"The Hierophant\",\n \"6\": \"The Lover\",\n \"7\": \"The Chariot\",\n \"8\": \"Justice\",\n \"9\": \"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 Tower\",\n \"17\": \"The Star\",\n \"18\": \"The Moon\",\n \"19\": \"The Sun\",\n \"20\": \"Judgment\",\n \"21\": \"The Fool\",\n \"22\": \"The World\"\n },\n \"rank\": {\n \"1\": \"Ace\",\n \"2\": \"Two\",\n \"3\": \"Three\",\n \"4\": \"Four\",\n \"5\": \"Five\",\n \"6\": \"Six\",\n \"7\": \"Seven\",\n \"8\": \"Eight\",\n \"9\": \"Nine\",\n \"10\": \"Ten\",\n \"king\": \"King\",\n \"queen\": \"Queen\",\n \"knight\": \"Knight\",\n \"page\": \"Page\"\n },\n \"suit\": {\n \"wands\": \"Wands\",\n \"cups\": \"Cups\",\n \"swords\": \"Swords\",\n \"pentacles\": \"Pentacles\"\n }\n },\n \"pt-BR\": {\n \"major\": {\n \"1\": \"O Mago\",\n \"2\": \"A Sacerdotisa\",\n \"3\": \"A Imperatriz\",\n \"4\": \"O Imperador\",\n \"5\": \"O Hierofante\",\n \"6\": \"O Enamorado\",\n \"7\": \"O Carro\",\n \"8\": \"A Justiça\",\n \"9\": \"O Eremita\",\n \"10\": \"A Roda da Fortuna\",\n \"11\": \"A Força\",\n \"12\": \"O Enforcado\",\n \"13\": \"A Morte\",\n \"14\": \"A Temperança\",\n \"15\": \"O Diabo\",\n \"16\": \"A Torre\",\n \"17\": \"A Estrela\",\n \"18\": \"A Lua\",\n \"19\": \"O Sol\",\n \"20\": \"O Julgamento\",\n \"21\": \"O Louco\",\n \"22\": \"O Mundo\"\n },\n \"rank\": {\n \"1\": \"Ás\",\n \"2\": \"Dois\",\n \"3\": \"Três\",\n \"4\": \"Quatro\",\n \"5\": \"Cinco\",\n \"6\": \"Seis\",\n \"7\": \"Sete\",\n \"8\": \"Oito\",\n \"9\": \"Nove\",\n \"10\": \"Dez\",\n \"king\": \"Rei\",\n \"queen\": \"Rainha\",\n \"knight\": \"Cavaleiro\",\n \"page\": \"Pajem\"\n },\n \"suit\": {\n \"wands\": \"Paus\",\n \"cups\": \"Copas\",\n \"swords\": \"Espadas\",\n \"pentacles\": \"Ouros\"\n }\n }\n}\n","import majorScenes from \"./majorScenes.json\";\nimport mythicMinors from \"./mythicMinors.json\";\nimport readingReference from \"./readingReference.json\";\nimport type { TarotDeckDescription, TarotDeckId } from \"./data\";\n\nexport interface MajorSceneContent {\n readonly name: string;\n readonly en: Readonly<{ papus: string; egyptian: string; mythic: string }>;\n readonly pt: Readonly<{ papus: string; egyptian: string; mythic: string }>;\n}\n\nexport interface MythicMinorContent {\n readonly name: string;\n readonly en: Readonly<{ scene: string; divinatory: string }>;\n readonly pt: Readonly<{ scene: string; divinatory: string }>;\n}\n\n/** These JSON-only trees are process-wide references, never caller-owned state. */\nfunction freezeReference<T>(value: T): T {\n if (value !== null && typeof value === \"object\") {\n for (const child of Object.values(value)) freezeReference(child);\n Object.freeze(value);\n }\n return value;\n}\n\n/** Modulo 1 handouts, approved by Mat. Source scenes only; no NOTAS material. */\nexport const TAROT_MAJOR_SCENES: {\n readonly source: string;\n readonly cards: Readonly<Record<string, MajorSceneContent>>;\n} = freezeReference(majorScenes);\n\n/** Modulo 2 handouts, aulas 7–10. Keywords and NOTAS are deliberately excluded. */\nexport const MYTHIC_MINOR_CONTENT: {\n readonly source: string;\n readonly cards: Readonly<Record<string, MythicMinorContent>>;\n} = freezeReference(mythicMinors);\n\nexport interface TarotReadingReference {\n readonly major: Readonly<Record<string, string>>;\n readonly rank: Readonly<Record<string, string>>;\n readonly suit: Readonly<Record<string, string>>;\n}\n\nconst READING_REFERENCE = freezeReference(readingReference);\n\n/** Plain card names from Mat's reading vocabulary; Portuguese includes pt-BR. */\nexport function getTarotReadingReference(language?: string): TarotReadingReference {\n return READING_REFERENCE[language?.startsWith(\"pt\") ? \"pt-BR\" : \"en\"];\n}\n\n/** Class-handout content for the canonical Kaabalah card number and the pictured deck. */\nexport function getTarotDeckReferenceContent(\n cardNumber: number,\n deckId: TarotDeckId,\n): Pick<TarotDeckDescription, \"scene\" | \"divinatory\"> | undefined {\n const major = TAROT_MAJOR_SCENES.cards[String(cardNumber)];\n if (major && (deckId === \"papus\" || deckId === \"papus_pt\" || deckId === \"egyptian\" || deckId === \"mythic\")) {\n const deck = deckId === \"papus_pt\" ? \"papus\" : deckId;\n return { scene: { en: major.en[deck], pt: major.pt[deck] } };\n }\n const minor = MYTHIC_MINOR_CONTENT.cards[String(cardNumber)];\n if (minor && deckId === \"mythic\") {\n return {\n scene: { en: minor.en.scene, pt: minor.pt.scene },\n divinatory: { en: minor.en.divinatory, pt: minor.pt.divinatory },\n };\n }\n return undefined;\n}\n","/** The identity fields used to select a Mythic figure; independent of any reading UI. */\nexport interface MythicFigureCard {\n kind: 'major' | 'court' | 'minor';\n number: number;\n suit?: string;\n courtRank?: string;\n rank?: number;\n}\n\n/**\n * Who is on each card of the Mythic Tarot: the deck tells Greek myths, one figure per\n * major and per court, one story per suit across its pips. Names only (facts about the\n * deck), gathered from Mat's classes and confirmed by him (2026-11-16). The Magician has\n * no entry on purpose: the card does not show Hermes.\n */\ntype Name = { en: string; pt: string };\n\nconst MAJORS: Record<number, Name> = {\n 2: { en: 'Persephone', pt: 'Perséfone' },\n 3: { en: 'Demeter', pt: 'Deméter' },\n 4: { en: 'Zeus', pt: 'Zeus' },\n 5: { en: 'Chiron', pt: 'Quíron' },\n 6: { en: 'Paris', pt: 'Páris' },\n 7: { en: 'Ares', pt: 'Ares' },\n 8: { en: 'Athena', pt: 'Atena' },\n 9: { en: 'Cronus', pt: 'Cronos' },\n 10: { en: 'the Moirai', pt: 'as Moiras' },\n 11: { en: 'Heracles', pt: 'Héracles' },\n 12: { en: 'Prometheus', pt: 'Prometeu' },\n 13: { en: 'Hades', pt: 'Hades' },\n 14: { en: 'Iris', pt: 'Íris' },\n 15: { en: 'Pan', pt: 'Pã' },\n 16: { en: 'Poseidon', pt: 'Poseidon' },\n 17: { en: 'Pandora', pt: 'Pandora' },\n 18: { en: 'Hecate', pt: 'Hécate' },\n 19: { en: 'Apollo', pt: 'Apolo' },\n 20: { en: 'Hermes, guide of souls', pt: 'Hermes, o condutor de almas' },\n 21: { en: 'Dionysus', pt: 'Dioniso' },\n 22: { en: 'Hermaphroditus', pt: 'Hermafrodito' },\n};\n\n/** Per suit: the ace's god, the story the pips 2 to 10 tell, and the four courts. */\nconst SUITS: Record<string, { ace: Name; pips: Name; page: Name; knight: Name; queen: Name; king: Name }> = {\n wands: {\n ace: { en: 'Zeus', pt: 'Zeus' },\n pips: { en: 'Jason', pt: 'Jasão' },\n page: { en: 'Phrixus', pt: 'Frixo' },\n knight: { en: 'Bellerophon', pt: 'Belerofonte' },\n queen: { en: 'Penelope', pt: 'Penélope' },\n king: { en: 'Theseus', pt: 'Teseu' },\n },\n cups: {\n ace: { en: 'Aphrodite', pt: 'Afrodite' },\n pips: { en: 'Eros and Psyche', pt: 'Eros e Psiquê' },\n page: { en: 'Narcissus', pt: 'Narciso' },\n knight: { en: 'Perseus', pt: 'Perseu' },\n queen: { en: 'Helen', pt: 'Helena' },\n king: { en: 'Orpheus', pt: 'Orfeu' },\n },\n swords: {\n ace: { en: 'Athena', pt: 'Atena' },\n pips: { en: 'Orestes', pt: 'Orestes' },\n page: { en: 'Zephyrus', pt: 'Zéfiro' },\n knight: { en: 'Castor and Pollux', pt: 'Castor e Pólux' },\n queen: { en: 'Atalanta', pt: 'Atalanta' },\n king: { en: 'Odysseus', pt: 'Ulisses' },\n },\n pentacles: {\n ace: { en: 'Poseidon', pt: 'Poseidon' },\n pips: { en: 'Daedalus', pt: 'Dédalo' },\n page: { en: 'Triptolemus', pt: 'Triptólemo' },\n knight: { en: 'Aristaeus', pt: 'Aristeu' },\n queen: { en: 'Omphale', pt: 'Ônfale' },\n king: { en: 'Midas', pt: 'Midas' },\n },\n};\n\n/** The Mythic deck's figure for a card, in the given language; null when it has none on record. */\nexport function mythicFigure(card: MythicFigureCard, language: string | undefined): string | null {\n const pick = (name: Name | undefined) => (name ? (language?.startsWith('pt') ? name.pt : name.en) : null);\n if (card.kind === 'major') return pick(MAJORS[card.number]);\n const suit = card.suit ? SUITS[card.suit] : undefined;\n if (!suit) return null;\n if (card.kind === 'court') return pick(suit[card.courtRank as 'page' | 'knight' | 'queen' | 'king']);\n return pick(card.rank === 1 ? suit.ace : suit.pips);\n}\n","import { ARKANNUS } from \"./arkannus\";\nimport type { TarotCard, TarotDeckId } from \"./data\";\n\nexport type TarotSpreadId =\n | \"quick-insight\"\n | \"conscious-reading\"\n | \"time-reading\"\n | \"dialectic-reading\"\n | \"tree-of-life-reading\"\n | \"celtic-cross\"\n | \"event-reading\";\n\nexport type TarotSpreadContextKey = \"inquirerGender\";\nexport type TarotInquirerGender = \"man\" | \"woman\";\nexport type TarotSpreadCardType = TarotCard[\"type\"];\nexport type TarotSpreadMinorRank =\n | \"ace\"\n | \"2\"\n | \"3\"\n | \"4\"\n | \"5\"\n | \"6\"\n | \"7\"\n | \"8\"\n | \"9\"\n | \"10\";\n\nexport interface TarotSpreadCardConstraint {\n allowedTypes?: TarotSpreadCardType[];\n requiredRank?: TarotSpreadMinorRank;\n allowedCardFilenames?: string[];\n excludedCardFilenames?: string[];\n}\n\nexport interface TarotSpreadSlotMetadata {\n displayLabel?: string;\n groupKey?: string;\n note?: string;\n orientation?: \"upright\" | \"sideways\";\n temporalPhase?: \"past\" | \"present\" | \"future\";\n}\n\nexport interface TarotSpreadSlotDefinition {\n slotKey: string;\n label: string;\n order: number;\n minCards: number;\n maxCards: number;\n validationRules?: TarotSpreadCardConstraint;\n manualSelectionRules?: TarotSpreadCardConstraint;\n drawRules?: TarotSpreadCardConstraint;\n metadata?: TarotSpreadSlotMetadata;\n}\n\nexport interface TarotSpreadInquirerRule {\n slotKey: string;\n sourceSlotKeys: string[];\n cardNumbersByGender: Record<TarotInquirerGender, number>;\n}\n\nexport interface TarotSpreadDefinition {\n spreadId: TarotSpreadId;\n label: string;\n description?: string;\n contextRequirements?: TarotSpreadContextKey[];\n slots: TarotSpreadSlotDefinition[];\n specialRules?: {\n inquirerCard?: TarotSpreadInquirerRule;\n };\n}\n\nexport interface TarotSpreadSelectionContext {\n inquirerGender?: TarotInquirerGender;\n}\n\nexport interface TarotSpreadSelectionCard {\n slotKey: string;\n cardNumber: number;\n isInverted?: boolean;\n}\n\nexport interface TarotSpreadResolvedSelectionCard\n extends TarotSpreadSelectionCard {\n card: TarotCard;\n slot: TarotSpreadSlotDefinition;\n}\n\nexport type TarotSpreadValidationErrorCode =\n | \"UNKNOWN_SPREAD\"\n | \"UNKNOWN_SLOT\"\n | \"CARD_NOT_FOUND\"\n | \"DUPLICATE_CARD\"\n | \"MISSING_REQUIRED_CARDS\"\n | \"TOO_MANY_CARDS\"\n | \"INVALID_CARD_TYPE\"\n | \"INVALID_CARD_RANK\"\n | \"DISALLOWED_CARD\"\n | \"MISSING_CONTEXT\"\n | \"INVALID_INQUIRER_CARD\";\n\nexport interface TarotSpreadValidationIssue {\n code: TarotSpreadValidationErrorCode;\n message: string;\n slotKey?: string;\n cardNumber?: number;\n}\n\nexport interface TarotSpreadValidationResult {\n ok: boolean;\n isComplete: boolean;\n spread?: TarotSpreadDefinition;\n resolvedCards: TarotSpreadResolvedSelectionCard[];\n errors: TarotSpreadValidationIssue[];\n}\n\nexport interface TarotSpreadValidationInput {\n spreadId: TarotSpreadId;\n cards: TarotSpreadSelectionCard[];\n context?: TarotSpreadSelectionContext;\n allowPartial?: boolean;\n}\n\nexport interface DrawTarotSpreadOptions {\n spreadId: TarotSpreadId;\n deckId?: TarotDeckId;\n includeInverted?: boolean;\n rng?: () => number;\n context?: TarotSpreadSelectionContext;\n}\n\nexport interface TarotSpreadDrawResult {\n spread: TarotSpreadDefinition;\n deckId: TarotDeckId;\n context?: TarotSpreadSelectionContext;\n cards: TarotSpreadResolvedSelectionCard[];\n}\n\nexport interface TarotSpreadConsciousResolvedSelectionCard\n extends TarotSpreadResolvedSelectionCard {\n index: number;\n poolSize: number;\n pos: string;\n}\n\nexport interface DrawConsciousTarotSpreadOptions {\n spreadId: TarotSpreadId;\n shuffledDeck: TarotCard[];\n indices: number[];\n deckId?: TarotDeckId;\n includeInverted?: boolean;\n rng?: () => number;\n context?: TarotSpreadSelectionContext;\n}\n\nexport interface TarotSpreadConsciousDrawResult {\n spread: TarotSpreadDefinition;\n deckId: TarotDeckId;\n method: \"conscious\";\n context?: TarotSpreadSelectionContext;\n cards: TarotSpreadConsciousResolvedSelectionCard[];\n}\n\nexport class TarotSpreadIndexOutOfPoolError extends Error {\n readonly code = \"INDEX_OUT_OF_POOL\";\n readonly slotKey: string;\n readonly index: number;\n readonly poolSize: number;\n\n constructor(slot: TarotSpreadSlotDefinition, index: number, poolSize: number) {\n super(\n `${slot.label} index ${index} exceeds the matching tarot pool size (${poolSize}).`\n );\n this.name = \"TarotSpreadIndexOutOfPoolError\";\n this.slotKey = slot.slotKey;\n this.index = index;\n this.poolSize = poolSize;\n }\n}\n\nconst TAROT_SPREAD_MINOR_RANKS: readonly TarotSpreadMinorRank[] = [\n \"ace\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"10\"\n];\n\nconst EVENT_INNER_SLOT_KEYS = [\n \"inner-1\",\n \"inner-2\",\n \"inner-3\",\n \"inner-4\",\n \"inner-5\",\n \"inner-6\",\n \"inner-7\"\n] as const;\n\nconst TAROT_CARD_BY_NUMBER = new Map(\n ARKANNUS.map((card) => [card.number, card] as const)\n);\n\nfunction createEventOuterSlot(\n index: number,\n temporalPhase: TarotSpreadSlotMetadata[\"temporalPhase\"]\n): TarotSpreadSlotDefinition {\n return {\n slotKey: `outer-${index}`,\n label: String(index),\n order: index,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\", \"daat+royalship\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\", \"daat+royalship\"]\n },\n drawRules: {\n allowedTypes: [\"minor\", \"daat+royalship\"]\n },\n metadata: {\n displayLabel: String(index),\n groupKey: \"outer\",\n temporalPhase\n }\n };\n}\n\nfunction createEventInnerSlot(\n index: number,\n label: string,\n note: string\n): TarotSpreadSlotDefinition {\n return {\n slotKey: `inner-${index}`,\n label,\n order: 100 + index,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"],\n excludedCardFilenames: [\n \"01_the_magician\",\n \"02_the_high_priestess\"\n ]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n },\n metadata: {\n displayLabel: `${index}.`,\n groupKey: \"inner\",\n note\n }\n };\n}\n\nconst TAROT_SPREADS: readonly TarotSpreadDefinition[] = [\n {\n spreadId: \"quick-insight\",\n label: \"Quick Insight\",\n description: \"A single-card reading for immediate insight.\",\n slots: [\n {\n slotKey: \"quick-insight\",\n label: \"Quick Insight\",\n order: 1,\n minCards: 1,\n maxCards: 1\n }\n ]\n },\n {\n spreadId: \"conscious-reading\",\n label: \"Conscious Reading\",\n description:\n \"Three-card spread for conscious, unconscious, and subconscious layers.\",\n slots: [\n {\n slotKey: \"conscious\",\n label: \"Conscious\",\n order: 1,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n }\n },\n {\n slotKey: \"unconscious\",\n label: \"Unconscious\",\n order: 2,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"daat+royalship\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"daat+royalship\"]\n },\n drawRules: {\n allowedTypes: [\"daat+royalship\"]\n }\n },\n {\n slotKey: \"subconscious\",\n label: \"Subconscious\",\n order: 3,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"]\n },\n drawRules: {\n allowedTypes: [\"minor\"]\n }\n }\n ]\n },\n {\n spreadId: \"time-reading\",\n label: \"Time Reading\",\n description: \"Three major arcana cards for past, present, and future.\",\n slots: [\n {\n slotKey: \"past\",\n label: \"Past\",\n order: 1,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n }\n },\n {\n slotKey: \"present\",\n label: \"Present\",\n order: 2,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n }\n },\n {\n slotKey: \"future\",\n label: \"Future\",\n order: 3,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n }\n }\n ]\n },\n {\n spreadId: \"dialectic-reading\",\n label: \"Dialectic Reading\",\n description: \"Three major arcana cards for thesis, antithesis, and synthesis.\",\n slots: [\n {\n slotKey: \"thesis\",\n label: \"Thesis\",\n order: 1,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n }\n },\n {\n slotKey: \"antithesis\",\n label: \"Antithesis\",\n order: 2,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n }\n },\n {\n slotKey: \"synthesis\",\n label: \"Synthesis\",\n order: 3,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n }\n }\n ]\n },\n {\n spreadId: \"tree-of-life-reading\",\n label: \"Tree of Life Reading\",\n description:\n \"Ten numbered minor arcana slots mapped to the spheres plus four Daath court cards.\",\n slots: [\n {\n slotKey: \"kether\",\n label: \"Kether\",\n order: 1,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"ace\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"ace\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"ace\"\n }\n },\n {\n slotKey: \"chokhmah\",\n label: \"Chokhmah\",\n order: 2,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"2\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"2\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"2\"\n }\n },\n {\n slotKey: \"binah\",\n label: \"Binah\",\n order: 3,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"3\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"3\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"3\"\n }\n },\n {\n slotKey: \"chesed\",\n label: \"Chesed\",\n order: 4,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"4\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"4\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"4\"\n }\n },\n {\n slotKey: \"geburah\",\n label: \"Geburah\",\n order: 5,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"5\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"5\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"5\"\n }\n },\n {\n slotKey: \"tiphareth\",\n label: \"Tiphareth\",\n order: 6,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"6\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"6\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"6\"\n }\n },\n {\n slotKey: \"netzach\",\n label: \"Netzach\",\n order: 7,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"7\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"7\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"7\"\n }\n },\n {\n slotKey: \"hod\",\n label: \"Hod\",\n order: 8,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"8\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"8\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"8\"\n }\n },\n {\n slotKey: \"yesod\",\n label: \"Yesod\",\n order: 9,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"9\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"9\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"9\"\n }\n },\n {\n slotKey: \"malkuth\",\n label: \"Malkuth\",\n order: 10,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"10\"\n },\n manualSelectionRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"10\"\n },\n drawRules: {\n allowedTypes: [\"minor\"],\n requiredRank: \"10\"\n }\n },\n {\n slotKey: \"daath\",\n label: \"Daath\",\n order: 11,\n minCards: 4,\n maxCards: 4,\n validationRules: {\n allowedTypes: [\"daat+royalship\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"daat+royalship\"]\n },\n drawRules: {\n allowedTypes: [\"daat+royalship\"]\n }\n }\n ]\n },\n {\n spreadId: \"celtic-cross\",\n label: \"Celtic Cross\",\n description: \"Classic ten-card Celtic Cross spread.\",\n slots: [\n {\n slotKey: \"present\",\n label: \"The Present\",\n order: 1,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"1.\"\n }\n },\n {\n slotKey: \"challenge\",\n label: \"The Challenge\",\n order: 2,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"2.\",\n orientation: \"sideways\"\n }\n },\n {\n slotKey: \"above\",\n label: \"Above\",\n order: 3,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"3.\"\n }\n },\n {\n slotKey: \"below\",\n label: \"Below\",\n order: 4,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"4.\"\n }\n },\n {\n slotKey: \"behind\",\n label: \"Behind\",\n order: 5,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"5.\"\n }\n },\n {\n slotKey: \"before\",\n label: \"Before\",\n order: 6,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"6.\"\n }\n },\n {\n slotKey: \"self\",\n label: \"Self\",\n order: 7,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"7.\"\n }\n },\n {\n slotKey: \"environment\",\n label: \"Environment\",\n order: 8,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"8.\"\n }\n },\n {\n slotKey: \"hopes-fears\",\n label: \"Hopes/Fears\",\n order: 9,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"9.\"\n }\n },\n {\n slotKey: \"outcome\",\n label: \"Outcome\",\n order: 10,\n minCards: 1,\n maxCards: 1,\n metadata: {\n displayLabel: \"10.\"\n }\n }\n ]\n },\n {\n spreadId: \"event-reading\",\n label: \"Event Reading\",\n description:\n \"Papus-style event spread with outer minor/court cards, seven major cards, and an inquirer card.\",\n contextRequirements: [\"inquirerGender\"],\n slots: [\n createEventOuterSlot(1, \"past\"),\n createEventOuterSlot(2, \"past\"),\n createEventOuterSlot(3, \"past\"),\n createEventOuterSlot(4, \"past\"),\n createEventOuterSlot(5, \"present\"),\n createEventOuterSlot(6, \"present\"),\n createEventOuterSlot(7, \"present\"),\n createEventOuterSlot(8, \"present\"),\n createEventOuterSlot(9, \"future\"),\n createEventOuterSlot(10, \"future\"),\n createEventOuterSlot(11, \"future\"),\n createEventOuterSlot(12, \"future\"),\n createEventInnerSlot(\n 1,\n \"Commencement\",\n \"Character of the beginning phase.\"\n ),\n createEventInnerSlot(2, \"Apogee\", \"Peak or zenith of the event.\"),\n createEventInnerSlot(\n 3,\n \"Decline/Obstacle\",\n \"Challenges, obstacles, or decline.\"\n ),\n createEventInnerSlot(4, \"Fall\", \"Conclusion or end phase.\"),\n createEventInnerSlot(\n 5,\n \"The Past\",\n \"Special character or influence in the past.\"\n ),\n createEventInnerSlot(\n 6,\n \"The Present\",\n \"Special character or influence in the present.\"\n ),\n createEventInnerSlot(\n 7,\n \"The Future\",\n \"Special character or influence to come.\"\n ),\n {\n slotKey: \"inquirer\",\n label: \"Inquirer\",\n order: 200,\n minCards: 1,\n maxCards: 1,\n validationRules: {\n allowedTypes: [\"major\"]\n },\n manualSelectionRules: {\n allowedTypes: [\"major\"],\n allowedCardFilenames: [\n \"01_the_magician\",\n \"02_the_high_priestess\"\n ]\n },\n drawRules: {\n allowedTypes: [\"major\"]\n },\n metadata: {\n displayLabel: \"Inquirer\",\n groupKey: \"center\",\n note: \"The querent's energy in this reading.\"\n }\n }\n ],\n specialRules: {\n inquirerCard: {\n slotKey: \"inquirer\",\n sourceSlotKeys: [...EVENT_INNER_SLOT_KEYS],\n cardNumbersByGender: {\n man: 1,\n woman: 2\n }\n }\n }\n }\n] as const;\n\nconst TAROT_SPREAD_BY_ID = new Map(\n TAROT_SPREADS.map((spread) => [spread.spreadId, spread] as const)\n);\n\nfunction cloneCardConstraint(\n constraint?: TarotSpreadCardConstraint\n): TarotSpreadCardConstraint | undefined {\n if (!constraint) {\n return undefined;\n }\n\n return {\n allowedTypes: constraint.allowedTypes\n ? [...constraint.allowedTypes]\n : undefined,\n requiredRank: constraint.requiredRank,\n allowedCardFilenames: constraint.allowedCardFilenames\n ? [...constraint.allowedCardFilenames]\n : undefined,\n excludedCardFilenames: constraint.excludedCardFilenames\n ? [...constraint.excludedCardFilenames]\n : undefined\n };\n}\n\nfunction cloneSlotDefinition(\n slot: TarotSpreadSlotDefinition\n): TarotSpreadSlotDefinition {\n return {\n ...slot,\n validationRules: cloneCardConstraint(slot.validationRules),\n manualSelectionRules: cloneCardConstraint(slot.manualSelectionRules),\n drawRules: cloneCardConstraint(slot.drawRules),\n metadata: slot.metadata ? { ...slot.metadata } : undefined\n };\n}\n\nfunction cloneSpreadDefinition(\n spread: TarotSpreadDefinition\n): TarotSpreadDefinition {\n return {\n ...spread,\n contextRequirements: spread.contextRequirements\n ? [...spread.contextRequirements]\n : undefined,\n slots: spread.slots.map(cloneSlotDefinition),\n specialRules: spread.specialRules?.inquirerCard\n ? {\n inquirerCard: {\n slotKey: spread.specialRules.inquirerCard.slotKey,\n sourceSlotKeys: [...spread.specialRules.inquirerCard.sourceSlotKeys],\n cardNumbersByGender: {\n ...spread.specialRules.inquirerCard.cardNumbersByGender\n }\n }\n }\n : undefined\n };\n}\n\nfunction getTarotDeckCardByNumber(cardNumber: number): TarotCard | undefined {\n return TAROT_CARD_BY_NUMBER.get(cardNumber);\n}\n\nfunction getTarotSpreadRuleForValidation(\n slot: TarotSpreadSlotDefinition\n): TarotSpreadCardConstraint | undefined {\n return slot.validationRules ?? slot.drawRules ?? slot.manualSelectionRules;\n}\n\nfunction getTarotSpreadRuleForDraw(\n slot: TarotSpreadSlotDefinition\n): TarotSpreadCardConstraint | undefined {\n return slot.drawRules ?? slot.validationRules ?? slot.manualSelectionRules;\n}\n\nfunction getTarotMinorRank(\n card: TarotCard\n): TarotSpreadMinorRank | undefined {\n if (card.type !== \"minor\") {\n return undefined;\n }\n\n const rank = card.tarotCardFilename.split(\"_\")[0] as TarotSpreadMinorRank;\n return TAROT_SPREAD_MINOR_RANKS.includes(rank) ? rank : undefined;\n}\n\nfunction matchesTarotSpreadConstraint(\n card: TarotCard,\n constraint?: TarotSpreadCardConstraint\n): boolean {\n if (!constraint) {\n return true;\n }\n\n if (\n constraint.allowedTypes &&\n !constraint.allowedTypes.includes(card.type)\n ) {\n return false;\n }\n\n if (\n constraint.allowedCardFilenames &&\n !constraint.allowedCardFilenames.includes(card.tarotCardFilename)\n ) {\n return false;\n }\n\n if (\n constraint.excludedCardFilenames &&\n constraint.excludedCardFilenames.includes(card.tarotCardFilename)\n ) {\n return false;\n }\n\n if (constraint.requiredRank) {\n return getTarotMinorRank(card) === constraint.requiredRank;\n }\n\n return true;\n}\n\nfunction randomIndex(length: number, rng: () => number): number {\n if (length <= 0) {\n throw new Error(\"Cannot draw from an empty pool.\");\n }\n\n const raw = rng();\n if (!Number.isFinite(raw)) {\n throw new Error(\"Tarot spread RNG must return a finite number.\");\n }\n\n const normalized = Math.min(Math.max(raw, 0), 1 - Number.EPSILON);\n return Math.floor(normalized * length);\n}\n\nfunction withSpreadCardOrientation(\n card: TarotCard,\n includeInverted: boolean,\n rng: () => number\n): TarotCard {\n return {\n ...card,\n isInverted: includeInverted ? rng() < 0.5 : false\n };\n}\n\nfunction resolveTarotSpreadSelectionCard(\n card: TarotSpreadSelectionCard,\n slot: TarotSpreadSlotDefinition,\n tarotCard: TarotCard\n): TarotSpreadResolvedSelectionCard {\n return {\n ...card,\n slot,\n card: {\n ...tarotCard,\n isInverted: card.isInverted ?? false\n }\n };\n}\n\nfunction sortResolvedTarotSpreadCards(\n resolvedCards: TarotSpreadResolvedSelectionCard[]\n): TarotSpreadResolvedSelectionCard[] {\n return [...resolvedCards].sort((left, right) => {\n if (left.slot.order !== right.slot.order) {\n return left.slot.order - right.slot.order;\n }\n\n return left.card.number - right.card.number;\n });\n}\n\nfunction validateEventInquirerCard(\n spread: TarotSpreadDefinition,\n resolvedCards: TarotSpreadResolvedSelectionCard[],\n context: TarotSpreadSelectionContext | undefined,\n errors: TarotSpreadValidationIssue[]\n): void {\n const inquirerRule = spread.specialRules?.inquirerCard;\n\n if (!inquirerRule) {\n return;\n }\n\n if (!context?.inquirerGender) {\n return;\n }\n\n const inquirerCardNumber =\n inquirerRule.cardNumbersByGender[context.inquirerGender];\n const sourceCards = resolvedCards.filter((card) =>\n inquirerRule.sourceSlotKeys.includes(card.slotKey)\n );\n const inquirerCards = resolvedCards.filter(\n (card) => card.slotKey === inquirerRule.slotKey\n );\n\n if (inquirerCards.length !== 1) {\n return;\n }\n\n const sourceContainsGenderCard = sourceCards.some(\n (card) => card.card.number === inquirerCardNumber\n );\n const totalGenderCardCount = [...sourceCards, ...inquirerCards].filter(\n (card) => card.card.number === inquirerCardNumber\n ).length;\n\n if (totalGenderCardCount !== 1) {\n errors.push({\n code: \"INVALID_INQUIRER_CARD\",\n slotKey: inquirerRule.slotKey,\n cardNumber: inquirerCardNumber,\n message:\n \"Event Reading must contain the gendered inquirer card exactly once across the major arcana band and inquirer slot.\"\n });\n return;\n }\n\n if (\n !sourceContainsGenderCard &&\n inquirerCards[0].card.number !== inquirerCardNumber\n ) {\n errors.push({\n code: \"INVALID_INQUIRER_CARD\",\n slotKey: inquirerRule.slotKey,\n cardNumber: inquirerCards[0].card.number,\n message:\n \"When the inquirer card was not drawn in the seven major slots, it must occupy the Inquirer slot.\"\n });\n }\n}\n\nfunction pickTarotCardFromPool(\n pool: TarotCard[],\n constraint: TarotSpreadCardConstraint | undefined,\n rng: () => number\n): TarotCard {\n const candidateIndexes = pool.reduce<number[]>((indexes, card, index) => {\n if (matchesTarotSpreadConstraint(card, constraint)) {\n indexes.push(index);\n }\n\n return indexes;\n }, []);\n\n if (candidateIndexes.length === 0) {\n throw new Error(\"Unable to draw a tarot card that satisfies the spread rule.\");\n }\n\n const pickedIndex = candidateIndexes[randomIndex(candidateIndexes.length, rng)];\n const [pickedCard] = pool.splice(pickedIndex, 1);\n\n return pickedCard;\n}\n\nfunction buildResolvedDrawnCard(\n slot: TarotSpreadSlotDefinition,\n card: TarotCard,\n includeInverted: boolean,\n rng: () => number\n): TarotSpreadResolvedSelectionCard {\n const drawnCard = withSpreadCardOrientation(card, includeInverted, rng);\n\n return {\n slotKey: slot.slotKey,\n cardNumber: drawnCard.number,\n isInverted: drawnCard.isInverted ?? false,\n slot,\n card: drawnCard\n };\n}\n\nfunction drawDefaultTarotSpread(\n spread: TarotSpreadDefinition,\n includeInverted: boolean,\n rng: () => number\n): TarotSpreadResolvedSelectionCard[] {\n const deckPool = [...ARKANNUS];\n const drawnCards: TarotSpreadResolvedSelectionCard[] = [];\n\n for (const slot of spread.slots.slice().sort((left, right) => left.order - right.order)) {\n const drawRule = getTarotSpreadRuleForDraw(slot);\n\n for (let index = 0; index < slot.maxCards; index += 1) {\n const card = pickTarotCardFromPool(deckPool, drawRule, rng);\n drawnCards.push(\n buildResolvedDrawnCard(slot, card, includeInverted, rng)\n );\n }\n }\n\n return drawnCards;\n}\n\nfunction buildResolvedConsciousCard(\n slot: TarotSpreadSlotDefinition,\n card: TarotCard,\n index: number,\n poolSize: number,\n includeInverted: boolean,\n rng: () => number\n): TarotSpreadConsciousResolvedSelectionCard {\n const drawnCard = withSpreadCardOrientation(card, includeInverted, rng);\n\n return {\n slotKey: slot.slotKey,\n cardNumber: drawnCard.number,\n isInverted: drawnCard.isInverted ?? false,\n slot,\n card: drawnCard,\n index,\n poolSize,\n pos: `${index} of ${poolSize}`\n };\n}\n\nfunction drawEventReadingSpread(\n spread: TarotSpreadDefinition,\n includeInverted: boolean,\n rng: () => number,\n context: TarotSpreadSelectionContext | undefined\n): TarotSpreadResolvedSelectionCard[] {\n const inquirerRule = spread.specialRules?.inquirerCard;\n\n if (!inquirerRule || !context?.inquirerGender) {\n throw new Error(\n \"Event Reading draw requires `context.inquirerGender`.\"\n );\n }\n\n const slotsByKey = new Map(\n spread.slots.map((slot) => [slot.slotKey, slot] as const)\n );\n const outerPool = ARKANNUS.filter(\n (card) => card.type === \"minor\" || card.type === \"daat+royalship\"\n );\n const majorPool = ARKANNUS.filter((card) => card.type === \"major\");\n const drawnCards: TarotSpreadResolvedSelectionCard[] = [];\n\n for (const slot of spread.slots\n .filter((candidate) => candidate.metadata?.groupKey === \"outer\")\n .sort((left, right) => left.order - right.order)) {\n const card = pickTarotCardFromPool(outerPool, getTarotSpreadRuleForDraw(slot), rng);\n drawnCards.push(buildResolvedDrawnCard(slot, card, includeInverted, rng));\n }\n\n for (const slotKey of inquirerRule.sourceSlotKeys) {\n const slot = slotsByKey.get(slotKey);\n\n if (!slot) {\n throw new Error(`Missing Event Reading slot definition for ${slotKey}.`);\n }\n\n const card = pickTarotCardFromPool(majorPool, getTarotSpreadRuleForDraw(slot), rng);\n drawnCards.push(buildResolvedDrawnCard(slot, card, includeInverted, rng));\n }\n\n const genderedInquirerCardNumber =\n inquirerRule.cardNumbersByGender[context.inquirerGender];\n const sourceContainsGenderedCard = drawnCards.some(\n (card) =>\n inquirerRule.sourceSlotKeys.includes(card.slotKey) &&\n card.card.number === genderedInquirerCardNumber\n );\n const inquirerSlot = slotsByKey.get(inquirerRule.slotKey);\n\n if (!inquirerSlot) {\n throw new Error(\n `Missing Event Reading slot definition for ${inquirerRule.slotKey}.`\n );\n }\n\n if (!sourceContainsGenderedCard) {\n const genderedCardIndex = majorPool.findIndex(\n (card) => card.number === genderedInquirerCardNumber\n );\n\n if (genderedCardIndex < 0) {\n throw new Error(\n \"Unable to assign the Event Reading inquirer card from the remaining major arcana.\"\n );\n }\n\n const [genderedCard] = majorPool.splice(genderedCardIndex, 1);\n drawnCards.push(\n buildResolvedDrawnCard(inquirerSlot, genderedCard, includeInverted, rng)\n );\n } else {\n const replacement = pickTarotCardFromPool(\n majorPool,\n getTarotSpreadRuleForDraw(inquirerSlot),\n rng\n );\n drawnCards.push(\n buildResolvedDrawnCard(inquirerSlot, replacement, includeInverted, rng)\n );\n }\n\n return drawnCards;\n}\n\nexport function listTarotSpreads(): TarotSpreadDefinition[] {\n return TAROT_SPREADS.map(cloneSpreadDefinition);\n}\n\nexport function getTarotSpread(\n spreadId: TarotSpreadId\n): TarotSpreadDefinition | undefined {\n const spread = TAROT_SPREAD_BY_ID.get(spreadId);\n return spread ? cloneSpreadDefinition(spread) : undefined;\n}\n\nexport function validateTarotSpreadSelection(\n input: TarotSpreadValidationInput\n): TarotSpreadValidationResult {\n const spread = TAROT_SPREAD_BY_ID.get(input.spreadId);\n const errors: TarotSpreadValidationIssue[] = [];\n\n if (!spread) {\n return {\n ok: false,\n isComplete: false,\n errors: [\n {\n code: \"UNKNOWN_SPREAD\",\n message: `Unknown tarot spread: ${input.spreadId}.`\n }\n ],\n resolvedCards: []\n };\n }\n\n const slotsByKey = new Map(\n spread.slots.map((slot) => [slot.slotKey, slot] as const)\n );\n const seenCardNumbers = new Set<number>();\n const resolvedCards: TarotSpreadResolvedSelectionCard[] = [];\n\n for (const selectedCard of input.cards) {\n const slot = slotsByKey.get(selectedCard.slotKey);\n\n if (!slot) {\n errors.push({\n code: \"UNKNOWN_SLOT\",\n slotKey: selectedCard.slotKey,\n message: `Unknown slot for ${spread.label}: ${selectedCard.slotKey}.`\n });\n continue;\n }\n\n const tarotCard = getTarotDeckCardByNumber(selectedCard.cardNumber);\n\n if (!tarotCard) {\n errors.push({\n code: \"CARD_NOT_FOUND\",\n slotKey: selectedCard.slotKey,\n cardNumber: selectedCard.cardNumber,\n message: `Unknown tarot card number: ${selectedCard.cardNumber}.`\n });\n continue;\n }\n\n if (seenCardNumbers.has(tarotCard.number)) {\n errors.push({\n code: \"DUPLICATE_CARD\",\n slotKey: selectedCard.slotKey,\n cardNumber: tarotCard.number,\n message: `Tarot card ${tarotCard.number} is duplicated across the spread.`\n });\n continue;\n }\n\n seenCardNumbers.add(tarotCard.number);\n resolvedCards.push(\n resolveTarotSpreadSelectionCard(selectedCard, slot, tarotCard)\n );\n }\n\n let isComplete = true;\n\n for (const slot of spread.slots) {\n const slotCards = resolvedCards.filter(\n (selectedCard) => selectedCard.slotKey === slot.slotKey\n );\n\n if (slotCards.length < slot.minCards) {\n isComplete = false;\n if (!input.allowPartial) {\n errors.push({\n code: \"MISSING_REQUIRED_CARDS\",\n slotKey: slot.slotKey,\n message: `${spread.label} requires ${slot.minCards} card(s) for ${slot.label}.`\n });\n }\n }\n\n if (slotCards.length > slot.maxCards) {\n isComplete = false;\n errors.push({\n code: \"TOO_MANY_CARDS\",\n slotKey: slot.slotKey,\n message: `${spread.label} allows at most ${slot.maxCards} card(s) for ${slot.label}.`\n });\n }\n\n const validationRule = getTarotSpreadRuleForValidation(slot);\n\n for (const slotCard of slotCards) {\n if (validationRule?.allowedTypes && !validationRule.allowedTypes.includes(slotCard.card.type)) {\n errors.push({\n code: \"INVALID_CARD_TYPE\",\n slotKey: slot.slotKey,\n cardNumber: slotCard.card.number,\n message: `${slot.label} does not accept ${slotCard.card.type} cards.`\n });\n }\n\n if (\n validationRule?.requiredRank &&\n getTarotMinorRank(slotCard.card) !== validationRule.requiredRank\n ) {\n errors.push({\n code: \"INVALID_CARD_RANK\",\n slotKey: slot.slotKey,\n cardNumber: slotCard.card.number,\n message: `${slot.label} requires a ${validationRule.requiredRank} minor arcana card.`\n });\n }\n\n if (\n validationRule?.allowedCardFilenames &&\n !validationRule.allowedCardFilenames.includes(slotCard.card.tarotCardFilename)\n ) {\n errors.push({\n code: \"DISALLOWED_CARD\",\n slotKey: slot.slotKey,\n cardNumber: slotCard.card.number,\n message: `${slotCard.card.tarotCard} is not allowed in ${slot.label}.`\n });\n }\n\n if (\n validationRule?.excludedCardFilenames &&\n validationRule.excludedCardFilenames.includes(slotCard.card.tarotCardFilename)\n ) {\n errors.push({\n code: \"DISALLOWED_CARD\",\n slotKey: slot.slotKey,\n cardNumber: slotCard.card.number,\n message: `${slotCard.card.tarotCard} is excluded from ${slot.label}.`\n });\n }\n }\n }\n\n if (\n spread.contextRequirements?.includes(\"inquirerGender\") &&\n !input.context?.inquirerGender\n ) {\n isComplete = false;\n errors.push({\n code: \"MISSING_CONTEXT\",\n message: `${spread.label} requires \\`context.inquirerGender\\`.`\n });\n }\n\n validateEventInquirerCard(spread, resolvedCards, input.context, errors);\n\n const sortedResolvedCards = sortResolvedTarotSpreadCards(resolvedCards);\n\n return {\n ok: errors.length === 0,\n isComplete,\n spread: cloneSpreadDefinition(spread),\n resolvedCards: sortedResolvedCards,\n errors\n };\n}\n\nexport function drawTarotSpread(\n options: DrawTarotSpreadOptions\n): TarotSpreadDrawResult {\n const spread = TAROT_SPREAD_BY_ID.get(options.spreadId);\n\n if (!spread) {\n throw new Error(`Unknown tarot spread: ${options.spreadId}.`);\n }\n\n const rng = options.rng ?? Math.random;\n const includeInverted = options.includeInverted ?? false;\n const drawnCards =\n spread.spreadId === \"event-reading\"\n ? drawEventReadingSpread(spread, includeInverted, rng, options.context)\n : drawDefaultTarotSpread(spread, includeInverted, rng);\n const validation = validateTarotSpreadSelection({\n spreadId: spread.spreadId,\n cards: drawnCards.map((card) => ({\n slotKey: card.slotKey,\n cardNumber: card.cardNumber,\n isInverted: card.isInverted\n })),\n context: options.context\n });\n\n if (!validation.ok) {\n throw new Error(\n `Generated an invalid tarot spread selection for ${spread.label}: ${validation.errors\n .map((error) => error.message)\n .join(\" \")}`\n );\n }\n\n return {\n spread: cloneSpreadDefinition(spread),\n deckId: options.deckId ?? \"rider-waite\",\n context: options.context,\n cards: sortResolvedTarotSpreadCards(drawnCards)\n };\n}\n\nexport function drawConsciousTarotSpread(\n options: DrawConsciousTarotSpreadOptions\n): TarotSpreadConsciousDrawResult {\n const spread = TAROT_SPREAD_BY_ID.get(options.spreadId);\n\n if (!spread) {\n throw new Error(`Unknown tarot spread: ${options.spreadId}.`);\n }\n\n const slots = spread.slots.slice().sort((left, right) => left.order - right.order);\n\n if (options.indices.length !== slots.length) {\n throw new Error(\n `${spread.label} requires ${slots.length} conscious indices; received ${options.indices.length}.`\n );\n }\n\n const rng = options.rng ?? Math.random;\n const includeInverted = options.includeInverted ?? false;\n const drawnCards = slots.map((slot, slotIndex) => {\n const index = options.indices[slotIndex];\n const drawRule = getTarotSpreadRuleForDraw(slot);\n const pool = options.shuffledDeck.filter((card) =>\n matchesTarotSpreadConstraint(card, drawRule)\n );\n\n if (!Number.isInteger(index) || index < 1) {\n throw new Error(\n `${slot.label} conscious index must be a positive integer; received ${index}.`\n );\n }\n\n if (index > pool.length) {\n throw new TarotSpreadIndexOutOfPoolError(slot, index, pool.length);\n }\n\n return buildResolvedConsciousCard(\n slot,\n pool[index - 1],\n index,\n pool.length,\n includeInverted,\n rng\n );\n });\n const validation = validateTarotSpreadSelection({\n spreadId: spread.spreadId,\n cards: drawnCards.map((card) => ({\n slotKey: card.slotKey,\n cardNumber: card.cardNumber,\n isInverted: card.isInverted\n })),\n context: options.context\n });\n\n if (!validation.ok) {\n throw new Error(\n `Generated an invalid conscious tarot spread selection for ${spread.label}: ${validation.errors\n .map((error) => error.message)\n .join(\" \")}`\n );\n }\n\n return {\n spread: cloneSpreadDefinition(spread),\n deckId: options.deckId ?? \"rider-waite\",\n method: \"conscious\",\n context: options.context,\n cards: sortResolvedTarotSpreadCards(drawnCards) as TarotSpreadConsciousResolvedSelectionCard[]\n };\n}\n","/**\n * Tarot interpretation functions\n */\n\nimport {\n getCanonicalTree,\n id,\n KaabalahTypes,\n LetterTypes,\n NumerologyTypes,\n parseId,\n TarotTypes,\n type NodeId,\n type Node,\n WesternAstrologyTypes\n} from \"../core\";\nimport {\n DEFAULT_TAROT_TREE_ID,\n majorArcana,\n TAROT_DECK_METADATA,\n TAROT_TREE_IDS,\n type MajorArcana,\n type TarotCard,\n type TarotDeckConfig,\n type TarotDeckDescription,\n type TarotDeckId,\n type TarotDeckMetadata,\n type TarotTreeId,\n} from \"./data\";\nimport { ARKANNUS, getDirectTarotCardNumber, getTarotTreeWorkspace } from \"./arkannus\";\nimport { getTarotDeckReferenceContent } from \"./reference\";\nimport { mythicFigure } from \"./mythicFigures\";\n\nexport { ARKANNUS } from \"./arkannus\";\nexport {\n DEFAULT_TAROT_TREE_ID,\n TAROT_TREE_IDS,\n majorArcana,\n type Deck,\n type MajorArcana,\n type TarotCard,\n type TarotDeckDescription,\n type TarotDeckId,\n type TarotDeckMetadata,\n type TarotLocalizedText,\n type TarotTreeId,\n} from \"./data\";\nexport * from \"./spreads\";\nexport * from \"./reference\";\nexport * from \"./mythicFigures\";\n\n\nconst sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms))\n\nconst shuffleArray = <T,>(array: T[], rng: () => number = Math.random): T[] => {\n const newArray = [...array]\n for (let i = newArray.length - 1; i > 0; i--) {\n const j = Math.floor(rng() * (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 * @param rng - Optional randomness source for tests/replay (default: Math.random)\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 rng: () => number = Math.random\n): Promise<TarotCard[]> {\n let shuffledCards = shuffleArray([...cards], rng);\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, rng);\n await sleep(shuffleDelay);\n }\n\n return shuffledCards;\n}\n\nexport type TarotAstrologyCorrespondenceType =\n | WesternAstrologyTypes.PLANET\n | WesternAstrologyTypes.WESTERN_ZODIAC_SIGN\n | WesternAstrologyTypes.WESTERN_ELEMENT;\n\nexport interface TarotAstrologyCorrespondence {\n type: TarotAstrologyCorrespondenceType;\n id: NodeId<TarotAstrologyCorrespondenceType>;\n label: string;\n}\n\nexport interface TarotArchetype {\n canonicalId: NodeId<KaabalahTypes.PATH>;\n kind: \"major\";\n pathId: NodeId<KaabalahTypes.PATH>;\n pathNumber: number;\n pathSlug: string;\n hebrewLetterId: NodeId<LetterTypes.HEBREW_LETTER>;\n hebrewLetter: string;\n pathMeaning?: string;\n tarotArkAnnuId: NodeId<TarotTypes.TAROT_ARK_ANNU>;\n tarotCardNumber: number;\n tarotCardName: string;\n tarotCardFilename: MajorArcana;\n tarotMeaning?: string;\n astrology: TarotAstrologyCorrespondence[];\n availableDeckIds: TarotDeckId[];\n descriptionsByDeck: Partial<Record<TarotDeckId, TarotDeckDescription>>;\n}\n\nexport type TarotArchetypeLookup =\n | { pathSlug: string }\n | { pathId: NodeId<KaabalahTypes.PATH> }\n | { tarotCardFilename: MajorArcana | string }\n | { tarotCardNumber: number };\n\nexport type TarotCardKind = \"major\" | \"court\" | \"minor\";\nexport type TarotCourtRank = \"king\" | \"queen\" | \"knight\" | \"page\";\n\nexport type TarotAssetPathType = \"major\" | \"minor\" | \"daat+royalship\";\n\nexport interface TarotCardProfile {\n tarotArkAnnuId: NodeId<TarotTypes.TAROT_ARK_ANNU>;\n tarotCardNumber: number;\n tarotCardName: string;\n tarotCardFilename: string;\n tarotMeaning?: string;\n kind: TarotCardKind;\n assetPathType: TarotAssetPathType;\n suit?: string;\n courtRank?: TarotCourtRank;\n availableDeckIds: TarotDeckId[];\n descriptionsByDeck: Partial<Record<TarotDeckId, TarotDeckDescription>>;\n}\n\nexport type TarotImageLookup =\n | TarotArchetypeLookup\n | { tarotArkAnnuId: NodeId<TarotTypes.TAROT_ARK_ANNU> }\n | { tarotCardName: string };\n\nexport type TarotCorrespondenceNodeType =\n | KaabalahTypes.SPHERE\n | LetterTypes.HEBREW_LETTER\n | WesternAstrologyTypes.PLANET\n | WesternAstrologyTypes.WESTERN_ZODIAC_SIGN\n | WesternAstrologyTypes.WESTERN_ELEMENT;\n\nexport interface TarotCorrespondenceNode<T extends TarotCorrespondenceNodeType> {\n id: NodeId<T>;\n label: string;\n}\n\nexport interface TarotPathCorrespondence {\n pathId: NodeId<KaabalahTypes.PATH>;\n pathNumber: number;\n pathSlug: string;\n meaning?: string;\n hebrewLetter: TarotCorrespondenceNode<LetterTypes.HEBREW_LETTER>;\n fromSphere: TarotCorrespondenceNode<KaabalahTypes.SPHERE>;\n toSphere: TarotCorrespondenceNode<KaabalahTypes.SPHERE>;\n}\n\nexport interface TarotCorrespondenceProfileBase {\n tarotArkAnnuId: NodeId<TarotTypes.TAROT_ARK_ANNU>;\n tarotCardNumber: number;\n tarotCardName: string;\n tarotCardFilename: string;\n tarotMeaning?: string;\n suit?: string;\n}\n\nexport interface TarotMajorCorrespondenceProfile\n extends TarotCorrespondenceProfileBase {\n kind: \"major\";\n correspondences: {\n astrology: TarotAstrologyCorrespondence[];\n path: TarotPathCorrespondence;\n };\n}\n\nexport interface TarotPageCorrespondenceProfile\n extends TarotCorrespondenceProfileBase {\n kind: \"court\";\n courtRank: \"page\";\n correspondences: {\n element: TarotCorrespondenceNode<WesternAstrologyTypes.WESTERN_ELEMENT>;\n };\n}\n\nexport interface TarotCourtAstrologyCorrespondenceProfile\n extends TarotCorrespondenceProfileBase {\n kind: \"court\";\n courtRank: Exclude<TarotCourtRank, \"page\">;\n correspondences: {\n sign: TarotCorrespondenceNode<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>;\n planets: TarotCorrespondenceNode<WesternAstrologyTypes.PLANET>[];\n };\n}\n\nexport interface TarotMinorCorrespondenceProfile\n extends TarotCorrespondenceProfileBase {\n kind: \"minor\";\n correspondences: {\n sphere: TarotCorrespondenceNode<KaabalahTypes.SPHERE>;\n planets: TarotCorrespondenceNode<WesternAstrologyTypes.PLANET>[];\n };\n}\n\nexport type TarotCorrespondenceProfile =\n | TarotMajorCorrespondenceProfile\n | TarotPageCorrespondenceProfile\n | TarotCourtAstrologyCorrespondenceProfile\n | TarotMinorCorrespondenceProfile;\n\nexport interface TarotRepresentation {\n card: TarotCardProfile;\n archetype?: TarotArchetype;\n deck: TarotDeckMetadata;\n assetPath: string;\n imageUrl: string;\n label: string;\n altText: string;\n cardLabel: string;\n description?: TarotDeckDescription;\n}\n\nexport const TAROT_IMAGE_BASE_URL =\n \"https://kaabalah-app.s3.us-east-1.amazonaws.com/tarot\";\n\ntype TarotMajorCard = TarotCard & {\n type: \"major\";\n tarotCardFilename: MajorArcana;\n};\n\ntype TarotArchetypeCache = {\n archetypes: TarotArchetype[];\n byPathId: Map<string, TarotArchetype>;\n byPathSlug: Map<string, TarotArchetype>;\n byTarotCardFilename: Map<string, TarotArchetype>;\n byTarotCardNumber: Map<number, TarotArchetype>;\n};\n\ntype TarotCardProfileCache = {\n profiles: TarotCardProfile[];\n byTarotArkAnnuId: Map<string, TarotCardProfile>;\n byTarotCardName: Map<string, TarotCardProfile>;\n byTarotCardFilename: Map<string, TarotCardProfile>;\n byTarotCardNumber: Map<number, TarotCardProfile>;\n};\n\nlet tarotArchetypeCache: TarotArchetypeCache | undefined;\nlet tarotCardProfileCache: TarotCardProfileCache | undefined;\n\nfunction normalizePathSlug(pathSlug: string): string {\n return pathSlug\n .trim()\n .replace(/^\\/?path\\//i, \"\")\n .toLowerCase();\n}\n\nfunction normalizeTarotLookupKey(value: string): string {\n return value.trim().toLowerCase();\n}\n\nconst TAROT_ARK_ANNU_ID_BY_NAME = new Map(\n ARKANNUS.map((card) => [\n normalizeTarotLookupKey(card.tarotCard),\n id(TarotTypes.TAROT_ARK_ANNU, card.tarotCard)\n ] as const)\n);\n\nconst TAROT_ARK_ANNU_ID_BY_FILENAME = new Map(\n ARKANNUS.map((card) => [\n normalizeTarotLookupKey(card.tarotCardFilename),\n id(TarotTypes.TAROT_ARK_ANNU, card.tarotCard)\n ] as const)\n);\n\nconst TAROT_COURT_RANKS = [\n \"king\",\n \"queen\",\n \"knight\",\n \"page\"\n] as const satisfies readonly TarotCourtRank[];\n\nconst MAJOR_ARCANA_CARDS = ARKANNUS.filter(\n (card): card is TarotMajorCard =>\n card.type === \"major\" &&\n majorArcana.includes(card.tarotCardFilename as MajorArcana)\n);\n\nfunction toTarotCardKind(card: TarotCard): TarotCardKind {\n if (card.type === \"major\") {\n return \"major\";\n }\n\n return card.type === \"minor\" ? \"minor\" : \"court\";\n}\n\nfunction toTarotCourtRank(card: TarotCard): TarotCourtRank | undefined {\n if (card.type !== \"daat+royalship\") {\n return undefined;\n }\n\n const [rank] = card.tarotCardFilename.split(\"_\");\n return TAROT_COURT_RANKS.includes(rank as TarotCourtRank)\n ? (rank as TarotCourtRank)\n : undefined;\n}\n\nfunction toTarotAssetPathType(card: TarotCard): TarotAssetPathType {\n return card.type;\n}\n\nfunction buildTarotAssetPath(card: TarotCardProfile): string {\n if (card.assetPathType === \"major\") {\n return `major/${card.tarotCardFilename}`;\n }\n\n if (!card.suit) {\n throw new Error(\n `Missing suit metadata required to resolve tarot image path for ${card.tarotCardName}.`\n );\n }\n\n return `${card.assetPathType}/${card.suit}/${card.tarotCardFilename}`;\n}\n\nfunction toAstrologyCorrespondence<T extends TarotAstrologyCorrespondenceType>(\n node: Node<T>\n): TarotAstrologyCorrespondence {\n return {\n type: node.type,\n id: node.id,\n label: parseId(node.id)\n };\n}\n\nfunction getTarotCorrespondenceTree(\n treeId: TarotTreeId = DEFAULT_TAROT_TREE_ID\n) {\n return getCanonicalTree({\n system: treeId,\n parts: [\"westernAstrology\", \"tarot\"]\n });\n}\n\ntype TarotCorrespondenceResolvedNodeType =\n | TarotCorrespondenceNodeType\n | KaabalahTypes.PATH\n | NumerologyTypes.NUMBER\n | TarotTypes.TAROT_SUIT;\n\ntype TarotCorrespondenceSourceId = NodeId<\n | TarotTypes.TAROT_ARK_ANNU\n | KaabalahTypes.PATH\n | KaabalahTypes.SPHERE\n | TarotTypes.TAROT_SUIT\n | WesternAstrologyTypes.WESTERN_ZODIAC_SIGN\n>;\n\nfunction getCorrespondenceNodes<T extends TarotCorrespondenceResolvedNodeType>(\n tree: ReturnType<typeof getCanonicalTree>,\n sourceId: TarotCorrespondenceSourceId,\n type: T | readonly T[],\n depth: number = 1,\n limit?: number\n): Node<T>[] {\n return tree.getCorrespondences(sourceId, {\n type,\n depth,\n limit\n }).map(({ node }) => node as Node<T>);\n}\n\nfunction getFirstCorrespondenceNode<\n T extends TarotCorrespondenceResolvedNodeType\n>(\n tree: ReturnType<typeof getCanonicalTree>,\n sourceId: TarotCorrespondenceSourceId,\n type: T,\n depth: number = 1\n): Node<T> | undefined {\n return getCorrespondenceNodes(tree, sourceId, type, depth, 1)[0];\n}\n\nfunction toCorrespondenceNode<T extends TarotCorrespondenceNodeType>(\n node: Node<T> | undefined\n): TarotCorrespondenceNode<T> | undefined {\n if (!node) {\n return undefined;\n }\n\n return {\n id: node.id,\n label: parseId(node.id)\n };\n}\n\nfunction toUniqueCorrespondenceNodes<T extends TarotCorrespondenceNodeType>(\n nodes: Node<T>[]\n): TarotCorrespondenceNode<T>[] {\n const seen = new Set<string>();\n\n return nodes.flatMap((node) => {\n const key = String(node.id);\n\n if (seen.has(key)) {\n return [];\n }\n\n seen.add(key);\n return [toCorrespondenceNode(node)!];\n });\n}\n\nfunction toTarotCorrespondenceProfileBase(\n card: TarotCardProfile\n): TarotCorrespondenceProfileBase {\n return {\n tarotArkAnnuId: card.tarotArkAnnuId,\n tarotCardNumber: card.tarotCardNumber,\n tarotCardName: card.tarotCardName,\n tarotCardFilename: card.tarotCardFilename,\n tarotMeaning: card.tarotMeaning,\n suit: card.suit\n };\n}\n\nfunction resolveTarotCardProfileForTree(\n lookup: TarotImageLookup,\n treeId: TarotTreeId = DEFAULT_TAROT_TREE_ID\n): TarotCardProfile | undefined {\n if (\"tarotCardNumber\" in lookup) {\n return getTarotCardByNumber(lookup.tarotCardNumber, treeId);\n }\n\n return getTarotCardProfile(lookup);\n}\n\nfunction buildMajorCorrespondenceProfile(\n card: TarotCardProfile,\n tree: ReturnType<typeof getCanonicalTree>\n): TarotMajorCorrespondenceProfile | undefined {\n const pathNode = getFirstCorrespondenceNode(\n tree,\n card.tarotArkAnnuId,\n KaabalahTypes.PATH\n );\n const hebrewLetterNode = pathNode\n ? getFirstCorrespondenceNode(\n tree,\n pathNode.id,\n LetterTypes.HEBREW_LETTER\n )\n : undefined;\n const pathNumberNode = pathNode\n ? getFirstCorrespondenceNode(tree, pathNode.id, NumerologyTypes.NUMBER)\n : undefined;\n const pathNumber = pathNumberNode\n ? Number.parseInt(parseId(pathNumberNode.id), 10)\n : Number.NaN;\n const fromSphereNode = pathNode?.data?.from\n ? tree.getNode(pathNode.data.from)\n : undefined;\n const toSphereNode = pathNode?.data?.to\n ? tree.getNode(pathNode.data.to)\n : undefined;\n\n if (\n !pathNode ||\n !hebrewLetterNode ||\n !fromSphereNode ||\n !toSphereNode ||\n !Number.isFinite(pathNumber)\n ) {\n return undefined;\n }\n\n return {\n ...toTarotCorrespondenceProfileBase(card),\n kind: \"major\",\n correspondences: {\n astrology: getCorrespondenceNodes(\n tree,\n pathNode.id,\n [\n WesternAstrologyTypes.WESTERN_ELEMENT,\n WesternAstrologyTypes.PLANET,\n WesternAstrologyTypes.WESTERN_ZODIAC_SIGN\n ]\n ).map((node) =>\n toAstrologyCorrespondence(\n node as Node<TarotAstrologyCorrespondenceType>\n )\n ),\n path: {\n pathId: pathNode.id,\n pathNumber,\n pathSlug: parseId(hebrewLetterNode.id).toLowerCase(),\n meaning: pathNode.data?.meaning,\n hebrewLetter: toCorrespondenceNode(hebrewLetterNode)!,\n fromSphere: toCorrespondenceNode(\n fromSphereNode as Node<KaabalahTypes.SPHERE>\n )!,\n toSphere: toCorrespondenceNode(\n toSphereNode as Node<KaabalahTypes.SPHERE>\n )!\n }\n }\n };\n}\n\nfunction buildCourtCorrespondenceProfile(\n card: TarotCardProfile,\n tree: ReturnType<typeof getCanonicalTree>\n):\n | TarotPageCorrespondenceProfile\n | TarotCourtAstrologyCorrespondenceProfile\n | undefined {\n const suitNode = getFirstCorrespondenceNode(\n tree,\n card.tarotArkAnnuId,\n TarotTypes.TAROT_SUIT\n );\n\n if (!card.courtRank) {\n return undefined;\n }\n\n if (card.courtRank === \"page\") {\n const elementNode = suitNode\n ? getFirstCorrespondenceNode(\n tree,\n suitNode.id,\n WesternAstrologyTypes.WESTERN_ELEMENT\n )\n : undefined;\n\n if (!elementNode) {\n return undefined;\n }\n\n return {\n ...toTarotCorrespondenceProfileBase(card),\n kind: \"court\",\n courtRank: \"page\",\n correspondences: {\n element: toCorrespondenceNode(elementNode)!\n }\n };\n }\n\n const signNode = getFirstCorrespondenceNode(\n tree,\n card.tarotArkAnnuId,\n WesternAstrologyTypes.WESTERN_ZODIAC_SIGN\n );\n\n if (!signNode) {\n return undefined;\n }\n\n return {\n ...toTarotCorrespondenceProfileBase(card),\n kind: \"court\",\n courtRank: card.courtRank,\n correspondences: {\n sign: toCorrespondenceNode(signNode)!,\n planets: toUniqueCorrespondenceNodes(\n getCorrespondenceNodes(\n tree,\n signNode.id,\n WesternAstrologyTypes.PLANET\n )\n )\n }\n };\n}\n\nfunction buildMinorCorrespondenceProfile(\n card: TarotCardProfile,\n tree: ReturnType<typeof getCanonicalTree>\n): TarotMinorCorrespondenceProfile | undefined {\n const sphereNode = getFirstCorrespondenceNode(\n tree,\n card.tarotArkAnnuId,\n KaabalahTypes.SPHERE\n );\n\n if (!sphereNode) {\n return undefined;\n }\n\n return {\n ...toTarotCorrespondenceProfileBase(card),\n kind: \"minor\",\n correspondences: {\n sphere: toCorrespondenceNode(sphereNode)!,\n planets: toUniqueCorrespondenceNodes(\n getCorrespondenceNodes(tree, sphereNode.id, WesternAstrologyTypes.PLANET)\n )\n }\n };\n}\n\nfunction buildDescriptionsByDeck(\n tarotArkAnnu: Node<TarotTypes.TAROT_ARK_ANNU>,\n card: TarotCard,\n): Partial<Record<TarotDeckId, TarotDeckDescription>> {\n const descriptions: Partial<Record<TarotDeckId, TarotDeckDescription>> = {};\n\n for (const deck of TAROT_DECK_METADATA) {\n const description = deck.descriptiveDataKey\n ? tarotArkAnnu.data?.descriptiveData?.[deck.descriptiveDataKey]\n : undefined;\n const content = getTarotDeckReferenceContent(card.number, deck.id);\n if (description || content) descriptions[deck.id] = { ...description, ...content };\n if (deck.id === \"mythic\") {\n const identity = {\n kind: toTarotCardKind(card),\n number: card.number,\n suit: card.suit,\n courtRank: toTarotCourtRank(card),\n rank: card.tarotCard.startsWith(\"Ace of \") ? 1 : undefined,\n };\n const en = mythicFigure(identity, \"en\");\n const pt = mythicFigure(identity, \"pt\");\n if (en && pt) descriptions[deck.id] = { ...descriptions[deck.id], figure: { en, pt } };\n }\n }\n\n return descriptions;\n}\n\nfunction getTarotArchetypeCache(): TarotArchetypeCache {\n if (tarotArchetypeCache) {\n return tarotArchetypeCache;\n }\n\n const tree = getCanonicalTree({\n system: \"kaabalah\",\n parts: [\"westernAstrology\", \"tarot\"]\n });\n\n const archetypes = MAJOR_ARCANA_CARDS.map((card) => {\n const pathId = id(KaabalahTypes.PATH, card.number);\n const path = tree.getNode(pathId);\n const hebrewLetter = tree.getCorrespondences(pathId, {\n type: LetterTypes.HEBREW_LETTER,\n limit: 1\n })[0]?.node;\n const tarotArkAnnu = tree.getCorrespondences(pathId, {\n type: TarotTypes.TAROT_ARK_ANNU,\n limit: 1\n })[0]?.node;\n\n if (!path || !hebrewLetter || !tarotArkAnnu) {\n throw new Error(\n `Missing canonical tarot archetype metadata for ${pathId}.`\n );\n }\n\n const astrology = tree.getCorrespondences(pathId, {\n type: [\n WesternAstrologyTypes.WESTERN_ELEMENT,\n WesternAstrologyTypes.PLANET,\n WesternAstrologyTypes.WESTERN_ZODIAC_SIGN\n ]\n }).map(({ node }) =>\n toAstrologyCorrespondence(\n node as Node<TarotAstrologyCorrespondenceType>\n )\n );\n\n const descriptionsByDeck = buildDescriptionsByDeck(tarotArkAnnu, card);\n\n return {\n canonicalId: pathId,\n kind: \"major\" as const,\n pathId,\n pathNumber: card.number,\n pathSlug: parseId(hebrewLetter.id).toLowerCase(),\n hebrewLetterId: hebrewLetter.id,\n hebrewLetter: parseId(hebrewLetter.id),\n pathMeaning: path.data?.meaning,\n tarotArkAnnuId: tarotArkAnnu.id,\n tarotCardNumber: card.number,\n tarotCardName: parseId(tarotArkAnnu.id),\n tarotCardFilename: card.tarotCardFilename,\n tarotMeaning:\n descriptionsByDeck.papus_pt?.meaning ??\n card.meaning,\n astrology,\n availableDeckIds: TAROT_DECK_METADATA.map((deck) => deck.id),\n descriptionsByDeck\n };\n });\n\n tarotArchetypeCache = {\n archetypes,\n byPathId: new Map(archetypes.map((archetype) => [archetype.pathId, archetype])),\n byPathSlug: new Map(\n archetypes.map((archetype) => [archetype.pathSlug, archetype])\n ),\n byTarotCardFilename: new Map(\n archetypes.map((archetype) => [archetype.tarotCardFilename, archetype])\n ),\n byTarotCardNumber: new Map(\n archetypes.map((archetype) => [archetype.tarotCardNumber, archetype])\n )\n };\n\n return tarotArchetypeCache;\n}\n\nfunction getTarotCardProfileCache(): TarotCardProfileCache {\n if (tarotCardProfileCache) {\n return tarotCardProfileCache;\n }\n\n const tree = getCanonicalTree({\n system: \"kaabalah\",\n parts: [\"westernAstrology\", \"tarot\"]\n });\n const availableDeckIds = TAROT_DECK_METADATA.map((deck) => deck.id);\n\n const profiles = ARKANNUS.map((card) => {\n const tarotArkAnnuId = id(TarotTypes.TAROT_ARK_ANNU, card.tarotCard);\n const tarotArkAnnu = tree.getNode(tarotArkAnnuId);\n\n if (!tarotArkAnnu) {\n throw new Error(`Missing canonical tarot metadata for ${tarotArkAnnuId}.`);\n }\n\n const descriptionsByDeck = buildDescriptionsByDeck(tarotArkAnnu, card);\n\n return {\n tarotArkAnnuId,\n tarotCardNumber: card.number,\n tarotCardName: card.tarotCard,\n tarotCardFilename: card.tarotCardFilename,\n tarotMeaning:\n descriptionsByDeck.papus_pt?.meaning ??\n card.meaning,\n kind: toTarotCardKind(card),\n assetPathType: toTarotAssetPathType(card),\n suit: card.suit,\n courtRank: toTarotCourtRank(card),\n availableDeckIds,\n descriptionsByDeck\n };\n });\n\n tarotCardProfileCache = {\n profiles,\n byTarotArkAnnuId: new Map(\n profiles.map((profile) => [String(profile.tarotArkAnnuId), profile])\n ),\n byTarotCardName: new Map(\n profiles.map((profile) => [\n normalizeTarotLookupKey(profile.tarotCardName),\n profile\n ])\n ),\n byTarotCardFilename: new Map(\n profiles.map((profile) => [\n normalizeTarotLookupKey(profile.tarotCardFilename),\n profile\n ])\n ),\n byTarotCardNumber: new Map(\n profiles.map((profile) => [profile.tarotCardNumber, profile])\n )\n };\n\n return tarotCardProfileCache;\n}\n\nfunction buildTarotRepresentation(\n card: TarotCardProfile,\n deck: TarotDeckConfig\n): TarotRepresentation {\n const description = card.descriptionsByDeck[deck.id];\n const assetPath = buildTarotAssetPath(card);\n const imageUrl = `${TAROT_IMAGE_BASE_URL}/${deck.id}/${assetPath}.jpg`;\n\n return {\n card,\n archetype: card.kind === \"major\"\n ? getTarotArchetype({ tarotCardNumber: card.tarotCardNumber })\n : undefined,\n deck: { id: deck.id, label: deck.label },\n assetPath,\n imageUrl,\n label: `${card.tarotCardName} - ${deck.label}`,\n altText: `${card.tarotCardName} - ${deck.label}`,\n cardLabel: description?.name ?? card.tarotCardName,\n description\n };\n}\n\nfunction resolveTarotArkAnnuId(\n lookup: TarotImageLookup\n): NodeId<TarotTypes.TAROT_ARK_ANNU> | undefined {\n if (\"pathSlug\" in lookup || \"pathId\" in lookup) {\n return getTarotArchetype(lookup)?.tarotArkAnnuId;\n }\n\n if (\"tarotArkAnnuId\" in lookup) {\n return lookup.tarotArkAnnuId;\n }\n\n if (\"tarotCardName\" in lookup) {\n return TAROT_ARK_ANNU_ID_BY_NAME.get(\n normalizeTarotLookupKey(lookup.tarotCardName)\n );\n }\n\n if (\"tarotCardFilename\" in lookup) {\n return TAROT_ARK_ANNU_ID_BY_FILENAME.get(\n normalizeTarotLookupKey(lookup.tarotCardFilename)\n );\n }\n\n return undefined;\n}\n\nexport function getTarotCardProfile(\n lookup: TarotImageLookup\n): TarotCardProfile | undefined {\n const cache = getTarotCardProfileCache();\n\n if (\"pathSlug\" in lookup || \"pathId\" in lookup) {\n const archetype = getTarotArchetype(lookup);\n return archetype\n ? cache.byTarotCardNumber.get(archetype.tarotCardNumber)\n : undefined;\n }\n\n if (\"tarotArkAnnuId\" in lookup) {\n return cache.byTarotArkAnnuId.get(String(lookup.tarotArkAnnuId));\n }\n\n if (\"tarotCardName\" in lookup) {\n return cache.byTarotCardName.get(\n normalizeTarotLookupKey(lookup.tarotCardName)\n );\n }\n\n if (\"tarotCardFilename\" in lookup) {\n return cache.byTarotCardFilename.get(\n normalizeTarotLookupKey(lookup.tarotCardFilename)\n );\n }\n\n return getTarotCardByNumber(lookup.tarotCardNumber);\n}\n\nexport function listTarotDecks(): TarotDeckMetadata[] {\n return TAROT_DECK_METADATA.map(({ id, label }) => ({ id, label }));\n}\n\nexport function listTarotTrees(): TarotTreeId[] {\n return [...TAROT_TREE_IDS];\n}\n\nexport function getTarotCardNumber(\n lookup: TarotImageLookup,\n treeId: TarotTreeId = DEFAULT_TAROT_TREE_ID\n): number | undefined {\n if (\"tarotCardNumber\" in lookup) {\n return getTarotCardByNumber(lookup.tarotCardNumber, treeId)\n ?.tarotCardNumber;\n }\n\n const tarotArkAnnuId = resolveTarotArkAnnuId(lookup);\n\n if (!tarotArkAnnuId) {\n return undefined;\n }\n\n return getDirectTarotCardNumber(tarotArkAnnuId, treeId);\n}\n\nexport function getTarotCardByNumber(\n cardNumber: number,\n treeId: TarotTreeId = DEFAULT_TAROT_TREE_ID\n): TarotCardProfile | undefined {\n const tree = getTarotTreeWorkspace(treeId);\n\n if (!tree) {\n return undefined;\n }\n\n const match = tree.getCorrespondences(id(NumerologyTypes.NUMBER, cardNumber), {\n type: TarotTypes.TAROT_ARK_ANNU,\n depth: 1,\n limit: 1\n })[0];\n\n if (!match) {\n return undefined;\n }\n\n const profile = getTarotCardProfile({\n tarotArkAnnuId: match.node.id as NodeId<TarotTypes.TAROT_ARK_ANNU>\n });\n\n if (!profile || profile.tarotCardNumber === cardNumber) {\n return profile;\n }\n\n return {\n ...profile,\n tarotCardNumber: cardNumber\n };\n}\n\nexport function getTarotArchetype(\n lookup: TarotArchetypeLookup\n): TarotArchetype | undefined {\n const cache = getTarotArchetypeCache();\n\n if (\"pathSlug\" in lookup) {\n return cache.byPathSlug.get(normalizePathSlug(lookup.pathSlug));\n }\n\n if (\"pathId\" in lookup) {\n return cache.byPathId.get(String(lookup.pathId));\n }\n\n if (\"tarotCardFilename\" in lookup) {\n return cache.byTarotCardFilename.get(\n lookup.tarotCardFilename.toLowerCase()\n );\n }\n\n return cache.byTarotCardNumber.get(lookup.tarotCardNumber);\n}\n\nexport function getTarotCorrespondenceProfile(\n lookup: TarotImageLookup,\n treeId: TarotTreeId = DEFAULT_TAROT_TREE_ID\n): TarotCorrespondenceProfile | undefined {\n const card = resolveTarotCardProfileForTree(lookup, treeId);\n\n if (!card) {\n return undefined;\n }\n\n const tree = getTarotCorrespondenceTree(treeId);\n\n switch (card.kind) {\n case \"major\":\n return buildMajorCorrespondenceProfile(card, tree);\n case \"court\":\n return buildCourtCorrespondenceProfile(card, tree);\n case \"minor\":\n return buildMinorCorrespondenceProfile(card, tree);\n }\n}\n\nexport function getTarotRepresentations(\n lookup: TarotImageLookup\n): TarotRepresentation[] {\n const card = getTarotCardProfile(lookup);\n\n if (!card) {\n return [];\n }\n\n return TAROT_DECK_METADATA.map((deck) =>\n buildTarotRepresentation(card, deck)\n );\n}\n\nexport function getTarotRepresentation(\n lookup: TarotImageLookup,\n deckId: TarotDeckId\n): TarotRepresentation | undefined {\n const card = getTarotCardProfile(lookup);\n const deck = TAROT_DECK_METADATA.find((candidate) => candidate.id === deckId);\n\n if (!card || !deck) {\n return undefined;\n }\n\n return buildTarotRepresentation(card, deck);\n}\n\nexport function resolveTarotImageUrl(\n lookup: TarotImageLookup,\n deckId: TarotDeckId\n): string | undefined {\n return getTarotRepresentation(lookup, deckId)?.imageUrl;\n}\n"]}