@venite/components 0.16.30 → 0.16.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{book-1a92678a.js → book-b04f6553.js} +115 -3
- package/dist/cjs/{heading-5afc2b24.js → heading-1243cde5.js} +1 -1
- package/dist/cjs/{image-3bee3e73.js → image-7ff56371.js} +1 -1
- package/dist/cjs/ion-button_13.cjs.entry.js +2 -2
- package/dist/cjs/ion-card-content_6.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-input_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_16.cjs.entry.js +7 -7
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +307 -141
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +8 -8
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +3 -3
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +8 -8
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +8 -8
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
- package/dist/cjs/{locale-d4e925b1.js → locale-13a47c0e.js} +2 -2
- package/dist/cjs/{option-a078d432.js → option-491b2cc7.js} +5 -1
- package/dist/cjs/{refrain-91fb446b.js → refrain-2089062b.js} +1 -1
- package/dist/cjs/{rubric-0afbe4c0.js → rubric-3ef36eea.js} +1 -1
- package/dist/cjs/{specific-class-76b4d343.js → specific-class-3e56392a.js} +5 -5
- package/dist/cjs/{text-5edb80f3.js → text-67a354ff.js} +1 -1
- package/dist/collection/components/day-name/day-name.i18n.es.json +265 -0
- package/dist/collection/components/day-name/day-name.js +18 -11
- package/dist/collection/components/day-name/dist/day-name.js +163 -0
- package/dist/collection/components/heading/dist/heading.js +5 -5
- package/dist/collection/components/heading/heading.js +5 -5
- package/dist/collection/components/text/dist/text.js +4 -3
- package/dist/collection/components/text/text.css +5 -0
- package/dist/collection/components/text/text.js +5 -4
- package/dist/collection/i18n/day-name.i18n.es.json +265 -0
- package/dist/collection/utils/dist/locale.js +82 -0
- package/dist/collection/utils/locale.js +5 -6
- package/dist/esm/{book-31b8cdde.js → book-4795ea34.js} +115 -3
- package/dist/esm/{heading-cc5ffa8a.js → heading-dedd87c7.js} +1 -1
- package/dist/esm/{image-c6a3f0c5.js → image-374f5ed7.js} +1 -1
- package/dist/esm/ion-button_13.entry.js +2 -2
- package/dist/esm/ion-card-content_6.entry.js +3 -3
- package/dist/esm/ion-checkbox_3.entry.js +2 -2
- package/dist/esm/ion-input_2.entry.js +2 -2
- package/dist/esm/ion-segment_16.entry.js +7 -7
- package/dist/esm/ldf-day-name_5.entry.js +303 -137
- package/dist/esm/ldf-editable-add-block-menu.entry.js +8 -8
- package/dist/esm/ldf-editable-condition-piece.entry.js +2 -2
- package/dist/esm/ldf-editable-condition.entry.js +2 -2
- package/dist/esm/ldf-editable-filter-documents.entry.js +3 -3
- package/dist/esm/ldf-editable-lookup_2.entry.js +8 -8
- package/dist/esm/ldf-editable-metadata.entry.js +8 -8
- package/dist/esm/ldf-editable-preference-option.entry.js +2 -2
- package/dist/esm/ldf-editable-preference.entry.js +2 -2
- package/dist/esm/ldf-editable-preferences.entry.js +2 -2
- package/dist/esm/ldf-editable-string-list.entry.js +2 -2
- package/dist/esm/ldf-editor.entry.js +1 -1
- package/dist/esm/locale-de430ca1.js +6 -0
- package/dist/esm/{option-c16af13a.js → option-4e49f550.js} +5 -1
- package/dist/esm/{refrain-75a412cb.js → refrain-984f9410.js} +1 -1
- package/dist/esm/{rubric-f779c469.js → rubric-5c072ba1.js} +1 -1
- package/dist/esm/{specific-class-09c98625.js → specific-class-23168094.js} +5 -5
- package/dist/esm/{text-ed75fbd4.js → text-2ec5b6b3.js} +1 -1
- package/dist/ldf/i18n/day-name.i18n.es.json +265 -0
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-c1a86b14.entry.js → p-0f706bcd.entry.js} +1 -1
- package/dist/ldf/{p-23af1bc3.entry.js → p-1411d9f8.entry.js} +1 -1
- package/dist/ldf/p-1d5e9bac.entry.js +1 -0
- package/dist/ldf/{p-7a9ab85c.entry.js → p-31dc4ea7.entry.js} +1 -1
- package/dist/ldf/p-44c8d30b.entry.js +1 -0
- package/dist/ldf/{p-d56dff05.js → p-47600061.js} +1 -1
- package/dist/ldf/p-49174004.js +1 -0
- package/dist/ldf/{p-0491d1d2.js → p-546bb0de.js} +0 -0
- package/dist/ldf/{p-94949614.entry.js → p-56ea465d.entry.js} +1 -1
- package/dist/ldf/{p-65ea7ab3.entry.js → p-5906d820.entry.js} +1 -1
- package/dist/ldf/{p-468d36d0.entry.js → p-791369ff.entry.js} +1 -1
- package/dist/ldf/{p-2c39ce94.entry.js → p-84ab4f0c.entry.js} +1 -1
- package/dist/ldf/{p-2ae548b3.entry.js → p-8af99fa3.entry.js} +1 -1
- package/dist/ldf/p-97ada7f4.js +1 -0
- package/dist/ldf/{p-f0de7628.entry.js → p-9e255008.entry.js} +1 -1
- package/dist/ldf/p-a2e30644.js +1 -0
- package/dist/ldf/p-a97ca6c2.js +1 -0
- package/dist/ldf/{p-005ad01b.entry.js → p-ada4d650.entry.js} +1 -1
- package/dist/ldf/{p-594fa9d4.entry.js → p-aeaa99ba.entry.js} +1 -1
- package/dist/ldf/{p-5b43e6be.js → p-b0ceb153.js} +1 -1
- package/dist/ldf/{p-c0ef6296.entry.js → p-c77ba7ad.entry.js} +1 -1
- package/dist/ldf/p-cb1922dc.js +1 -0
- package/dist/ldf/p-d9994330.js +1 -0
- package/dist/ldf/{p-fa191f47.entry.js → p-ebd887c2.entry.js} +1 -1
- package/dist/ldf/{p-9c1973a6.entry.js → p-fa135d5f.entry.js} +1 -1
- package/dist/ldf/{p-03afc8cb.entry.js → p-fddee761.entry.js} +1 -1
- package/dist/types/components/text/text.d.ts +2 -2
- package/dist/types/components.d.ts +1 -1
- package/package.json +2 -2
- package/dist/esm/locale-ec8e14e6.js +0 -6
- package/dist/ldf/p-00e5ee6b.js +0 -1
- package/dist/ldf/p-021add56.entry.js +0 -1
- package/dist/ldf/p-476327d6.js +0 -1
- package/dist/ldf/p-4aa9a6f2.js +0 -1
- package/dist/ldf/p-65d26c45.js +0 -1
- package/dist/ldf/p-800a115c.entry.js +0 -1
- package/dist/ldf/p-a1729dbd.js +0 -1
- package/dist/ldf/p-e7a449d7.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{L as e}from"./p-4aa9a6f2.js";const o=[{name:"Genesis",aliases:["Gn","Gen","Genesis"]},{name:"Exodus",aliases:["Exod","Ex","Exo","Exodus"]},{name:"Leviticus",aliases:["Lev","Lv","Leviticus"]},{name:"Numbers",aliases:["Num","Numbers"]},{name:"Deuteronomy",aliases:["Deut","Deuteronomy"]},{name:"Joshua",aliases:["Josh","Joshua"]},{name:"Judges",aliases:["Judg","Jdg","Judges"]},{name:"Ruth",aliases:["Ruth"]},{name:"1 Samuel",aliases:["1Sam","1 Sam","1st Sam","1st Samuel","First Samuel","1 Samuel"]},{name:"2 Samuel",aliases:["2Sam","2 Sam","2nd Sam","2nd Samuel","Second Samuel","2 Samuel"]},{name:"1 Kings",aliases:["1Kgs","1 Kgs","1st Kgs","1st Kings","First Kings","1 Kings"]},{name:"2 Kings",aliases:["2Kgs","2 Kgs","2nd Kgs","2nd Kings","Second Kings","2 Kings"]},{name:"1 Chronicles",aliases:["1Chr","1 Chr","1st Chr","1st Chronicles","First Chronicles","1 Chronicles"]},{name:"2 Chronicles",aliases:["2Chr","2 Chr","2nd Chr","2nd Chronicles","Second Chronicles","2 Chronicles"]},{name:"Ezra",aliases:["Ezra"]},{name:"Nehemiah",aliases:["Neh","Nehemiah"]},{name:"Esther",aliases:["Esth","Est","Esther"]},{name:"Job",aliases:["Jb","Job"]},{name:"Psalms",aliases:["Ps","Psalm","Psalms"]},{name:"Proverbs",aliases:["Prov","Pro","Proverbs"]},{name:"Ecclesiastes",aliases:["Eccl","Ecc","Ecclesiastes"]},{name:"The Song of Solomon",aliases:["Song","Song of Songs","Song of Solomon","Cant"]},{name:"Isaiah",aliases:["Isa","Is","Isaiah"]},{name:"Jeremiah",aliases:["Jer","Jeremiah"]},{name:"Letter of Jeremiah",aliases:["EJer","EpJer","Epistle of Jeremiah"]},{name:"Lamentations",aliases:["Lam","Lamentations"]},{name:"Ezekiel",aliases:["Ezek","Ezekiel"]},{name:"Daniel",aliases:["Dan","Daniel"]},{name:"Hosea",aliases:["Hos","Hosea"]},{name:"Joel",aliases:["Joel"]},{name:"Amos",aliases:["Amos"]},{name:"Obadiah",aliases:["Obad","Oba","Obadiah"]},{name:"Jonah",aliases:["Jon","Jonah"]},{name:"Micah",aliases:["Mic","Micah"]},{name:"Nahum",aliases:["Nah","Nahum"]},{name:"Habakkuk",aliases:["Hab","Habakkuk"]},{name:"Zephaniah",aliases:["Zeph","Zephaniah"]},{name:"Haggai",aliases:["Hag","Haggai"]},{name:"Zechariah",aliases:["Zech","Zechariah"]},{name:"Malachi",aliases:["Mal","Malachi"]},{name:"Tobit",aliases:["Tob","Tobit"]},{name:"Judith",aliases:["Jdt","Judith"]},{name:"Baruch",aliases:["Bar","Baruch"]},{name:"1 Maccabees",aliases:["1Macc","1 Maccabees","First Maccabees","1 Macc"]},{name:"2 Maccabees",aliases:["2Macc","2 Maccabees","Second Maccabees","2 Macc"]},{name:"Wisdom",aliases:["Wis","Wisdom"]},{name:"Sirach",aliases:["Sir","Ecclus","Ben Sira","Ecclesiasticus"]},{name:"1 Esdras",aliases:["1 Esdr","1 Esdras","1 Esd","1Esdras","1Esdr","1Esd"]},{name:"2 Esdras",aliases:["2 Esdr","2 Esdras","2 Esd","2Esdras","2Esdr","2Esd"]},{name:"Bel",aliases:["Bel","Bel & the Dragon"]},{name:"Azariah",aliases:["Azariah","Song of the Three Young Men","Song of the Three Childr.","Song of the Three Children"]},{name:"Matthew",aliases:["Matt","Matthew","Mt"]},{name:"Mark",aliases:["Mark","Mk"]},{name:"Luke",aliases:["Luke","Lk"]},{name:"John",aliases:["Jn","John","Joh"]},{name:"Acts",aliases:["Acts"]},{name:"Romans",aliases:["Rom","Romans"]},{name:"1 Corinthians",aliases:["1Cor","1 Cor","1st Cor","1st Corinthians","First Corinthians","1 Corinthians"]},{name:"2 Corinthians",aliases:["2Cor","2 Cor","2nd Cor","2nd Corinthians","Second Corinthians","2 Corinthians"]},{name:"Galatians",aliases:["Gal","Galatians"]},{name:"Ephesians",aliases:["Eph","Ephesians"]},{name:"Philippians",aliases:["Phil","Philippians"]},{name:"Colossians",aliases:["Col","Colossians"]},{name:"1 Thessalonians",aliases:["1Thess","1 Thess","1st Thess","1st Thessalonians","First Thessalonians","1 Thessalonians"]},{name:"2 Thessalonians",aliases:["2Thess","2 Thess","2nd Thess","2nd Thessalonians","Second Thessalonians","2 Thessalonians"]},{name:"1 Timothy",aliases:["1 Tim","1Tim","1st Tim","1st Timothy","First Timothy","1 Timothy"]},{name:"2 Timothy",aliases:["2 Tim","2Tim","2nd Tim","2nd Timothy","Second Timothy","2 Timothy"]},{name:"Titus",aliases:["Titus"]},{name:"Philemon",aliases:["Phlm","Philemon"]},{name:"Hebrews",aliases:["Heb","Hebrews"]},{name:"James",aliases:["Jas","James"]},{name:"1 Peter",aliases:["1Pet","1 Pet","1st Pet","1st Peter","First Peter","1 Peter"]},{name:"2 Peter",aliases:["2Pet","2 Pet","2nd Pet","2nd Peter","Second Peter","2 Peter"]},{name:"1 John",aliases:["1John","1 John","1st John","First John","1 Joh"]},{name:"2 John",aliases:["2John","2 John","2nd John","Second John","2 Joh"]},{name:"3 John",aliases:["3John","3 John","3rd John","Third John","3 Joh"]},{name:"Jude",aliases:["Jude","Jd"]},{name:"Revelation",aliases:["Rev","Revelation","Revelations","Apocalypse","Apoc"]}],s={Genesis:{en:{short:"Genesis",long:"The Book of Genesis"},es:{short:"Génesis",long:"El Libro de Génesis"}},Exodus:{en:{short:"Exodus",long:"The Book of Exodus"},es:{short:"Éxodo",long:"El Libro de Éxodo"}},Leviticus:{en:{short:"Leviticus",long:"The Book of Leviticus"},es:{short:"Levítico",long:"El Libro de Levítico"}},Numbers:{en:{short:"Numbers",long:"The Book of Numbers"},es:{short:"Números",long:"El Libro de Números"}},Deuteronomy:{en:{short:"Deuteronomy",long:"The Book of Deuteronomy"},es:{short:"Deuteronomio",long:"El Libro de Deuteronomio"}},Joshua:{en:{short:"Joshua",long:"The Book of Joshua"},es:{short:"Josué",long:"El Libro de Josué"}},Judges:{en:{short:"Judges",long:"The Book of Judges"},es:{short:"Jueces",long:"El Libro de Jueces"}},Ruth:{en:{short:"Ruth",long:"The Book of Ruth"},es:{short:"Rut",long:"El Libro de Rut"}},"1 Samuel":{en:{short:"1 Samuel",long:"The First Book of Samuel"},es:{short:"1 Samuel",long:"El Libro de 1 Samuel"}},"2 Samuel":{en:{short:"2 Samuel",long:"The Second Book of Samuel"},es:{short:"2 Samuel",long:"El Libro de 2 Samuel"}},"1 Kings":{en:{short:"1 Kings",long:"The First Book of Kings"},es:{short:"1 Reyes",long:"El Libro de 1 Reyes"}},"2 Kings":{en:{short:"2 Kings",long:"The Second Book of Kings"},es:{short:"2 Reyes",long:"El Libro de 2 Reyes"}},"1 Chronicles":{en:{short:"1 Chronicles",long:"The First Book of Chronicles"},es:{short:"1 Crónicas",long:"El Libro de 1 Crónicas"}},"2 Chronicles":{en:{short:"2 Chronicles",long:"The Second Book of Chronicles"},es:{short:"2 Crónicas",long:"El Libro de 2 Crónicas"}},Ezra:{en:{short:"Ezra",long:"The Book of Ezra"},es:{short:"Esdras",long:"El Libro de Esdras"}},Nehemiah:{en:{short:"Nehemiah",long:"The Book of Nehemiah"},es:{short:"Nehemías",long:"El Libro de Nehemías"}},Esther:{en:{short:"Esther",long:"The Book of Esther"},es:{short:"Ester",long:"El Libro de Ester"}},Job:{en:{short:"Job",long:"The Book of Job"},es:{short:"Job",long:"El Libro de Job"}},Psalms:{en:{short:"Psalms",long:"The Psalms"},es:{short:"Salmos",long:"El Libro de Salmos"}},Proverbs:{en:{short:"Proverbs",long:"The Book of Proverbs"},es:{short:"Proverbios",long:"El Libro de Proverbios"}},Ecclesiastes:{en:{short:"Ecclesiastes",long:"The Book of Ecclesiastes"},es:{short:"Eclesiastés",long:"El Libro de Eclesiastés"}},"The Song of Solomon":{en:{short:"The Song of Solomon",long:"The Song of Solomon"},es:{short:"Cantares",long:"El Libro de Cantares"}},Isaiah:{en:{short:"Isaiah",long:"The Book of the Prophet Isaiah"},es:{short:"Isaías",long:"El Libro de Isaías"}},Jeremiah:{en:{short:"Jeremiah",long:"The Book of the Prophet Jeremiah"},es:{short:"Jeremías",long:"El Libro de Jeremías"}},Lamentations:{en:{short:"Lamentations",long:"The Book of Lamentations"},es:{short:"Lamentaciones",long:"El Libro de Lamentaciones"}},Ezekiel:{en:{short:"Ezekiel",long:"The Book of the Prophet Ezekiel"},es:{short:"Ezequiel",long:"El Libro de Ezequiel"}},Daniel:{en:{short:"Daniel",long:"The Book of Daniel"},es:{short:"Daniel",long:"El Libro de Daniel"},"en-CA":{short:"Daniel",long:"The Book of the Prophet Daniel"},iu:{short:"Daniel",long:"The Book of the Prophet Daniel"}},Hosea:{en:{short:"Hosea",long:"The Book of the Prophet Hosea"},es:{short:"Oseas",long:"El Libro de Oseas"}},Joel:{en:{short:"Joel",long:"The Book of the Prophet Joel"},es:{short:"Joel",long:"El Libro de Joel"}},Amos:{en:{short:"Amos",long:"The Book of the Prophet Amos"},es:{short:"Amós",long:"El Libro de Amós"}},Obadiah:{en:{short:"Obadiah",long:"The Book of the Prophet Obadiah"},es:{short:"Abdías",long:"El Libro de Abdías"}},Jonah:{en:{short:"Jonah",long:"The Book of the Prophet Jonah"},es:{short:"Jonás",long:"El Libro de Jonás"}},Micah:{en:{short:"Micah",long:"The Book of the Prophet Micah"},es:{short:"Miqueas",long:"El Libro de Miqueas"}},Nahum:{en:{short:"Nahum",long:"The Book of the Prophet Nahum"},es:{short:"Nahúm",long:"El Libro de Nahúm"}},Habakkuk:{en:{short:"Habakkuk",long:"The Book of the Prophet Habakkuk"},es:{short:"Habacuc",long:"El Libro de Habacuc"}},Zephaniah:{en:{short:"Zephaniah",long:"The Book of the Prophet Zephaniah"},es:{short:"Sofonías",long:"El Libro de Sofonías"}},Haggai:{en:{short:"Haggai",long:"The Book of the Prophet Haggai"},es:{short:"Hageo",long:"El Libro de Hageo"}},Zechariah:{en:{short:"Zechariah",long:"The Book of the Prophet Zechariah"},es:{short:"Zacarías",long:"El Libro de Zacarías"}},Malachi:{en:{short:"Malachi",long:"The Book of the Prophet Malachi"},es:{short:"Malaquías",long:"El Libro de Malaquías"}},Tobit:{en:{short:"Tobit",long:"The Book of Tobit"},es:{short:"Tobías",long:"El Libro de Tobías"}},Azariah:{en:{short:"The Song of the Three Children",long:"The Song of the Three Children"},es:{short:"El Himno de los tres jóvenes ",long:"El Himno de los tres jóvenes "}},Judith:{en:{short:"Judith",long:"The Book of Judith"},es:{short:"Judit",long:"El Libro de Judit"}},Baruch:{en:{short:"Baruch",long:"The Book of Baruch"},es:{short:"Baruc",long:"El Libro de Baruc"}},"1 Maccabees":{en:{short:"1 Maccabees",long:"The First Book of Maccabees"},es:{short:"1 Macabeos",long:"El Libro 1 de los Macabeos"}},"2 Maccabees":{en:{short:"2 Maccabees",long:"The Second Book of Maccabees"},es:{short:"2 Macabeos",long:"El Libro 2 de los Macabeos"}},Wisdom:{en:{short:"Wisdom",long:"The Wisdom of Solomon"},es:{short:"Sabiduría",long:"El Libro de la Sabiduría"}},Sirach:{en:{short:"Sirach",long:"The Wisdom of Ben Sira"},es:{short:"Eclesiástico",long:"La Sabiduría de Jesús ben Sirá"},"en-CA":{short:"Sirach",long:"The Book of Ecclesiasticus"},iu:{short:"Sirach",long:"The Book of Ecclesiasticus"}},Matthew:{en:{short:"Matthew",long:"The Gospel According to Matthew"},es:{short:"Mateo",long:"El Evangelio de San Mateo"},"en-CA":{short:"Matthew",long:"The Gospel According to St. Matthew"},iu:{short:"Matthew",long:"The Gospel According to St. Matthew"}},Mark:{en:{short:"Mark",long:"The Gospel According to Mark"},es:{short:"Marcos",long:"El Evangelio de San Marcos"},"en-CA":{short:"Mark",long:"The Gospel According to St. Mark"},iu:{short:"Mark",long:"The Gospel According to St. Mark"}},Luke:{en:{short:"Luke",long:"The Gospel According to Luke"},es:{short:"Lucas",long:"El Evangelio de San Mateo"},"en-CA":{short:"Luke",long:"The Gospel According to St. Luke"},iu:{short:"Luke",long:"The Gospel According to St. Luke"}},John:{en:{short:"John",long:"The Gospel According to John"},es:{short:"Juan",long:"El Evangelio de San Juan"},"en-CA":{short:"John",long:"The Gospel According to St. John"},iu:{short:"John",long:"The Gospel According to St. John"}},Acts:{en:{short:"Acts",long:"The Acts of the Apostles"},es:{short:"Hechos",long:"Los Hechos de los Apóstoles"},"en-CA":{short:"Acts",long:"The Book of the Acts of the Apostles"},iu:{short:"Acts",long:"The Book of the Acts of the Apostles"}},Romans:{en:{short:"Romans",long:"The Letter to the Romans"},es:{short:"Romanos",long:"La Epístola a los Romanos"},"en-CA":{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"},iu:{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"}},"1 Corinthians":{en:{short:"1 Corinthians",long:"The First Letter to the Corinthians"},es:{short:"1 Corintios",long:"La Primera Epístola a los Corintios"},"en-CA":{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"}},"2 Corinthians":{en:{short:"2 Corinthians",long:"The Second Letter to the Corinthians"},es:{short:"2 Corintios",long:"La Segunda Epístola a los Corintios"},"en-CA":{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"}},Galatians:{en:{short:"Galatians",long:"The Letter to the Galatians"},es:{short:"Gálatas",long:"La Epístola a los Gálatas"},"en-CA":{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"},iu:{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"}},Ephesians:{en:{short:"Ephesians",long:"The Letter to the Ephesians"},es:{short:"Efesios",long:"La Epístola a los Efesios"},"en-CA":{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"},iu:{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"}},Philippians:{en:{short:"Philippians",long:"The Letter to the Philippians"},es:{short:"Filipenses",long:"La Epístola a los Filipenses"},"en-CA":{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"},iu:{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"}},Colossians:{en:{short:"Colossians",long:"The Letter to the Colossians"},es:{short:"Colosenses",long:"La Epístola a los Colosenses"},"en-CA":{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"},iu:{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"}},"1 Thessalonians":{en:{short:"1 Thessalonians",long:"The First Letter to the Thessalonians"},es:{short:"1 Tesalonicenses",long:"La Primera Epístola a los Tesalonicenses"},"en-CA":{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"}},"2 Thessalonians":{en:{short:"2 Thessalonians",long:"The Second Letter to the Thessalonians"},es:{short:"2 Tesalonicenses",long:"La Segunda Epístola a los Tesalonicenses"},"en-CA":{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"}},"1 Timothy":{en:{short:"1 Timothy",long:"The First Letter to Timothy"},es:{short:"1 Timoteo",long:"La Primera Epístola a Timoteo"},"en-CA":{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"},iu:{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"}},"2 Timothy":{en:{short:"2 Timothy",long:"The Second Letter to Timothy"},es:{short:"2 Timoteo",long:"La Segunda Epístola a Timoteo"},"en-CA":{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"},iu:{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"}},Titus:{en:{short:"Titus",long:"The Letter to Titus"},es:{short:"Tito",long:"La Epístola a Tito"},"en-CA":{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"},iu:{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"}},Philemon:{en:{short:"Philemon",long:"The Letter to Philemon"},es:{short:"Filemón",long:"La Epístola a Filemón"},"en-CA":{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"},iu:{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"}},Hebrews:{en:{short:"Hebrews",long:"The Book of Hebrews"},es:{short:"Hebrews",long:"La Epístola a los Hebreos"},"en-CA":{short:"Hebrews",long:"The Epistle to the Hebrews"},iu:{short:"Hebrews",long:"The Epistle to the Hebrews"}},James:{en:{short:"James",long:"The Letter of James"},es:{short:"Santiago",long:"La Epístola de Santiago"},"en-CA":{short:"James",long:"The Epistle General of St. James"},iu:{short:"James",long:"The Epistle General of St. James"}},"1 Peter":{en:{short:"1 Peter",long:"The First Letter of Peter"},es:{short:"1 Pedro",long:"La Primera Epístola de Pedro"},"en-CA":{short:"1 Peter",long:"The First Epistle General of St. Peter"},iu:{short:"1 Peter",long:"The First Epistle General of St. Peter"}},"2 Peter":{en:{short:"2 Peter",long:"The Second Letter of Peter"},es:{short:"2 Pedro",long:"La Segunda Epístola de Pedro"},"en-CA":{short:"2 Peter",long:"The Second Epistle General of St. Peter"},iu:{short:"2 Peter",long:"The Second Epistle General of St. Peter"}},"1 John":{en:{short:"1 John",long:"The First Letter of John"},es:{short:"1 Juan",long:"La Primera Epístola de Juan"},"en-CA":{short:"2 John",long:"The First Epistle General of St. John"},iu:{short:"2 John",long:"The First Epistle General of St. John"}},"2 John":{en:{short:"2 John",long:"The Second Letter of John"},es:{short:"1 Juan",long:"La Segunda Epístola de Juan"},"en-CA":{short:"2 John",long:"The Second Epistle General of St. John"},iu:{short:"2 John",long:"The Second Epistle General of St. John"}},"3 John":{en:{short:"3 John",long:"The Third Letter of John"},es:{short:"1 Juan",long:"La Tercera Epístola de Juan"},"en-CA":{short:"3 John",long:"The Third Epistle General of St. John"},iu:{short:"3 John",long:"The Third Epistle General of St. John"}},Jude:{en:{short:"Jude",long:"The Letter of Jude"},es:{short:"Judas",long:"La Epístola de Judas"},"en-CA":{short:"Jude",long:"The Epistle General of St. Jude"},iu:{short:"Jude",long:"The Epistle General of St. Jude"}},Revelation:{en:{short:"Revelation",long:"The Book of Revelation"},es:{short:"Apocalipsis",long:"El Apocalipsis de San Juan"},"en-CA":{short:"Revelation",long:"The Revelation to St. John the Divine"},iu:{short:"Revelation",long:"The Revelation to St. John the Divine"}},"1 Esdras":{en:{short:"1 Esdras",long:"The Second Book of Esdras"},es:{short:"1 Esdras",long:"1 Esdras"}},"2 Esdras":{en:{short:"2 Esdras",long:"The Second Book of Esdras"},es:{short:"2 Esdras",long:"2 Esdras"}},Bel:{en:{short:"Bel",long:"Bel and the Dragon"},es:{short:"Bel",long:"La Historia de Bel y el Dragón"}},"Letter of Jeremiah":{en:{short:"Letter of Jeremiah",long:"The Letter of Jeremiah"},es:{short:"Letter of Jeremiah",long:"La Epístola de Jeremías"}}};function t(e){var o=e%10,s=e%100;return 1==o&&11!=s?e+"st":2==o&&12!=s?e+"nd":3==o&&13!=s?e+"rd":e+"th"}const a=["long","short"];class n extends e{constructor(e={}){super(e)}compileIntro(){var o,s,a,n;if(this.metadata&&this.metadata.intro){const h=null!==(o=this.abbrevFromCitation())&&void 0!==o?o:this.citation,l=this.bookCodeFromAbbrev(null!=h?h:""),i=h?this.longNameFromBookCode(null!=l?l:"",this.language||"en"):"—",r=h?this.shortNameFromBookCode(null!=l?l:"",this.language||"en"):"—",g=this.chapterFromCitation(),m=this.verseFromCitation(),c=new Array,u=e=>e.replace(/\$\{longName\}/g,(null!=i?i:h).replace("The","the")).replace(/\$\{shortName\}/g,null!=r?r:h).replace(/\$\{chapter\}/g,`${t(Number(g)||1)}`).replace(/\$\{verse\}/g,`${t(Number(m)||1)}`).replace("de El","del").replace("de La","de la");null===(n=null===(a=null===(s=this.metadata)||void 0===s?void 0:s.intro)||void 0===a?void 0:a.value)||void 0===n||n.forEach((e=>{"string"==typeof e?c.push(u(e)):e.hasOwnProperty("text")?c.push(Object.assign(Object.assign({},e),{text:u(e.text)})):c.push(u(e))})),this.metadata.compiled_intro=new e(Object.assign(Object.assign({},this.metadata.intro),{value:c}))}}abbrevFromCitation(){let e;try{const o=(this.citation||"").match(/(\d*\s*[a-zA-Z]+)/);e=o?o[0]:""}catch(o){e=this.citation}return e.replace(/\./g,"")}chapterFromCitation(){var e;const o=null===(e=(this.citation||"").split(";")[0])||void 0===e?void 0:e.match(/[\s\.:](\d+)/g);if(o){const[e]=o;return"string"==typeof e?e.trim().replace(/[\.,:]/g,""):void 0}}verseFromCitation(){var e;const o=null===(e=(this.citation||"").split(";")[0])||void 0===e?void 0:e.match(/[\s\.:](\d+)/g);if(o){const[,e]=o;return"string"==typeof e?e.trim().replace(/[\.,:]/g,""):void 0}}bookCodeFromAbbrev(e){if(e){const s=e.replace(/\./g,""),t=o.find((e=>e.name==s||e.aliases.includes(s)||e.name.includes(s)));return t?t.name:e}}longNameFromBookCode(e,o="en"){const t=this.bookCodeFromAbbrev(e);if(t){const a=s[t];let n=(a||{})[o];return n||(n=(a||{}).en),n?n.long:e}}shortNameFromBookCode(e,o="en"){var t;const a=(s[null!==(t=this.bookCodeFromAbbrev(e))&&void 0!==t?t:""]||{})[o];return a?a.short:e}availableStyles(){return a}availableDisplayFormats(){return["default","omit"]}}class h extends e{availableDisplayFormats(){return[]}}class l extends e{constructor(e={}){super(e)}}const i=["psalm","canticle","invitatory"];class r extends e{constructor(e={}){super(e)}filteredVerses(){let e=new Array;if(this.citation&&(this.citation.match(/Ps[^\s]*\s*\d+/)||""==this.citation)){const o=this.versesInCitation(this.citation);0==o.length?e=this.value:(this.value||[]).forEach((s=>{const t=new Array;(s.value||[]).forEach((e=>{!e.number||o.includes(e.number)?t.push(e):o.includes(`[${e.number}`)?t.push(Object.assign(Object.assign({},e),{verse:"["+e.verse})):o.includes(`${e.number}]`)?t.push(Object.assign(Object.assign({},e),{halfverse:e.halfverse+"]"})):o.includes(`[${e.number}]`)&&t.push(Object.assign(Object.assign({},e),{verse:"["+e.verse,halfverse:e.halfverse+"]"}))})),e.push(Object.assign(Object.assign({},s),{value:t}))}))}else e=this.value;return e}versesInCitation(e){function o(e,o,s){return e&&o?"["+s+"]":e?"["+s:o?s+"]":s}const s=e.replace(/Ps[\w\.]*\s*/g,"").split(/\s*([\[\]\(\),:\s])\s*/).slice(1);let t=new Array,a=!1,n=!1;return(s||[]).forEach(((e,h)=>{"["!==e&&"("!==e||(a=!0),"]"!==s[h+1]&&")"!==s[h+1]||(n=!0);const[l,i]=e.replace(/[^\d-s–]/g,"").split(/-|–/);if(l&&i){const e=n;for(let s=parseInt(l);s<=parseInt(i);s++)n=e&&s==parseInt(i),t.push(o(a,n,s.toString())),a=!1}else l&&(t.push(o(a,n,l)),a=!1),n=!1})),t}includeAntiphon(){const e=this.metadata||{};return!!e.antiphon&&!e.omit_antiphon;
|
|
1
|
+
import{L as e}from"./p-a2e30644.js";const o=[{name:"Genesis",aliases:["Gn","Gen","Genesis"]},{name:"Exodus",aliases:["Exod","Ex","Exo","Exodus"]},{name:"Leviticus",aliases:["Lev","Lv","Leviticus"]},{name:"Numbers",aliases:["Num","Numbers"]},{name:"Deuteronomy",aliases:["Deut","Deuteronomy"]},{name:"Joshua",aliases:["Josh","Joshua"]},{name:"Judges",aliases:["Judg","Jdg","Judges"]},{name:"Ruth",aliases:["Ruth"]},{name:"1 Samuel",aliases:["1Sam","1 Sam","1st Sam","1st Samuel","First Samuel","1 Samuel"]},{name:"2 Samuel",aliases:["2Sam","2 Sam","2nd Sam","2nd Samuel","Second Samuel","2 Samuel"]},{name:"1 Kings",aliases:["1Kgs","1 Kgs","1st Kgs","1st Kings","First Kings","1 Kings"]},{name:"2 Kings",aliases:["2Kgs","2 Kgs","2nd Kgs","2nd Kings","Second Kings","2 Kings"]},{name:"1 Chronicles",aliases:["1Chr","1 Chr","1st Chr","1st Chronicles","First Chronicles","1 Chronicles"]},{name:"2 Chronicles",aliases:["2Chr","2 Chr","2nd Chr","2nd Chronicles","Second Chronicles","2 Chronicles"]},{name:"Ezra",aliases:["Ezra"]},{name:"Nehemiah",aliases:["Neh","Nehemiah"]},{name:"Esther",aliases:["Esth","Est","Esther"]},{name:"Job",aliases:["Jb","Job"]},{name:"Psalms",aliases:["Ps","Psalm","Psalms"]},{name:"Proverbs",aliases:["Prov","Pro","Proverbs"]},{name:"Ecclesiastes",aliases:["Eccl","Ecc","Ecclesiastes"]},{name:"The Song of Solomon",aliases:["Song","Song of Songs","Song of Solomon","Cant"]},{name:"Isaiah",aliases:["Isa","Is","Isaiah"]},{name:"Jeremiah",aliases:["Jer","Jeremiah"]},{name:"Letter of Jeremiah",aliases:["EJer","EpJer","Epistle of Jeremiah"]},{name:"Lamentations",aliases:["Lam","Lamentations"]},{name:"Ezekiel",aliases:["Ezek","Ezekiel"]},{name:"Daniel",aliases:["Dan","Daniel"]},{name:"Hosea",aliases:["Hos","Hosea"]},{name:"Joel",aliases:["Joel"]},{name:"Amos",aliases:["Amos"]},{name:"Obadiah",aliases:["Obad","Oba","Obadiah"]},{name:"Jonah",aliases:["Jon","Jonah"]},{name:"Micah",aliases:["Mic","Micah"]},{name:"Nahum",aliases:["Nah","Nahum"]},{name:"Habakkuk",aliases:["Hab","Habakkuk"]},{name:"Zephaniah",aliases:["Zeph","Zephaniah"]},{name:"Haggai",aliases:["Hag","Haggai"]},{name:"Zechariah",aliases:["Zech","Zechariah"]},{name:"Malachi",aliases:["Mal","Malachi"]},{name:"Tobit",aliases:["Tob","Tobit"]},{name:"Judith",aliases:["Jdt","Judith"]},{name:"Baruch",aliases:["Bar","Baruch"]},{name:"1 Maccabees",aliases:["1Macc","1 Maccabees","First Maccabees","1 Macc"]},{name:"2 Maccabees",aliases:["2Macc","2 Maccabees","Second Maccabees","2 Macc"]},{name:"Wisdom",aliases:["Wis","Wisdom"]},{name:"Sirach",aliases:["Sir","Ecclus","Ben Sira","Ecclesiasticus"]},{name:"1 Esdras",aliases:["1 Esdr","1 Esdras","1 Esd","1Esdras","1Esdr","1Esd"]},{name:"2 Esdras",aliases:["2 Esdr","2 Esdras","2 Esd","2Esdras","2Esdr","2Esd"]},{name:"Bel",aliases:["Bel","Bel & the Dragon"]},{name:"Azariah",aliases:["Azariah","Song of the Three Young Men","Song of the Three Childr.","Song of the Three Children"]},{name:"Matthew",aliases:["Matt","Matthew","Mt"]},{name:"Mark",aliases:["Mark","Mk"]},{name:"Luke",aliases:["Luke","Lk"]},{name:"John",aliases:["Jn","John","Joh"]},{name:"Acts",aliases:["Acts"]},{name:"Romans",aliases:["Rom","Romans"]},{name:"1 Corinthians",aliases:["1Cor","1 Cor","1st Cor","1st Corinthians","First Corinthians","1 Corinthians"]},{name:"2 Corinthians",aliases:["2Cor","2 Cor","2nd Cor","2nd Corinthians","Second Corinthians","2 Corinthians"]},{name:"Galatians",aliases:["Gal","Galatians"]},{name:"Ephesians",aliases:["Eph","Ephesians"]},{name:"Philippians",aliases:["Phil","Philippians"]},{name:"Colossians",aliases:["Col","Colossians"]},{name:"1 Thessalonians",aliases:["1Thess","1 Thess","1st Thess","1st Thessalonians","First Thessalonians","1 Thessalonians"]},{name:"2 Thessalonians",aliases:["2Thess","2 Thess","2nd Thess","2nd Thessalonians","Second Thessalonians","2 Thessalonians"]},{name:"1 Timothy",aliases:["1 Tim","1Tim","1st Tim","1st Timothy","First Timothy","1 Timothy"]},{name:"2 Timothy",aliases:["2 Tim","2Tim","2nd Tim","2nd Timothy","Second Timothy","2 Timothy"]},{name:"Titus",aliases:["Titus"]},{name:"Philemon",aliases:["Phlm","Philemon"]},{name:"Hebrews",aliases:["Heb","Hebrews"]},{name:"James",aliases:["Jas","James"]},{name:"1 Peter",aliases:["1Pet","1 Pet","1st Pet","1st Peter","First Peter","1 Peter"]},{name:"2 Peter",aliases:["2Pet","2 Pet","2nd Pet","2nd Peter","Second Peter","2 Peter"]},{name:"1 John",aliases:["1John","1 John","1st John","First John","1 Joh"]},{name:"2 John",aliases:["2John","2 John","2nd John","Second John","2 Joh"]},{name:"3 John",aliases:["3John","3 John","3rd John","Third John","3 Joh"]},{name:"Jude",aliases:["Jude","Jd"]},{name:"Revelation",aliases:["Rev","Revelation","Revelations","Apocalypse","Apoc"]}],s={Genesis:{en:{short:"Genesis",long:"The Book of Genesis"},es:{short:"Génesis",long:"El Libro de Génesis"}},Exodus:{en:{short:"Exodus",long:"The Book of Exodus"},es:{short:"Éxodo",long:"El Libro de Éxodo"}},Leviticus:{en:{short:"Leviticus",long:"The Book of Leviticus"},es:{short:"Levítico",long:"El Libro de Levítico"}},Numbers:{en:{short:"Numbers",long:"The Book of Numbers"},es:{short:"Números",long:"El Libro de Números"}},Deuteronomy:{en:{short:"Deuteronomy",long:"The Book of Deuteronomy"},es:{short:"Deuteronomio",long:"El Libro de Deuteronomio"}},Joshua:{en:{short:"Joshua",long:"The Book of Joshua"},es:{short:"Josué",long:"El Libro de Josué"}},Judges:{en:{short:"Judges",long:"The Book of Judges"},es:{short:"Jueces",long:"El Libro de Jueces"}},Ruth:{en:{short:"Ruth",long:"The Book of Ruth"},es:{short:"Rut",long:"El Libro de Rut"}},"1 Samuel":{en:{short:"1 Samuel",long:"The First Book of Samuel"},es:{short:"1 Samuel",long:"El Libro de 1 Samuel"}},"2 Samuel":{en:{short:"2 Samuel",long:"The Second Book of Samuel"},es:{short:"2 Samuel",long:"El Libro de 2 Samuel"}},"1 Kings":{en:{short:"1 Kings",long:"The First Book of Kings"},es:{short:"1 Reyes",long:"El Libro de 1 Reyes"}},"2 Kings":{en:{short:"2 Kings",long:"The Second Book of Kings"},es:{short:"2 Reyes",long:"El Libro de 2 Reyes"}},"1 Chronicles":{en:{short:"1 Chronicles",long:"The First Book of Chronicles"},es:{short:"1 Crónicas",long:"El Libro de 1 Crónicas"}},"2 Chronicles":{en:{short:"2 Chronicles",long:"The Second Book of Chronicles"},es:{short:"2 Crónicas",long:"El Libro de 2 Crónicas"}},Ezra:{en:{short:"Ezra",long:"The Book of Ezra"},es:{short:"Esdras",long:"El Libro de Esdras"}},Nehemiah:{en:{short:"Nehemiah",long:"The Book of Nehemiah"},es:{short:"Nehemías",long:"El Libro de Nehemías"}},Esther:{en:{short:"Esther",long:"The Book of Esther"},es:{short:"Ester",long:"El Libro de Ester"}},Job:{en:{short:"Job",long:"The Book of Job"},es:{short:"Job",long:"El Libro de Job"}},Psalms:{en:{short:"Psalms",long:"The Psalms"},es:{short:"Salmos",long:"El Libro de Salmos"}},Proverbs:{en:{short:"Proverbs",long:"The Book of Proverbs"},es:{short:"Proverbios",long:"El Libro de Proverbios"}},Ecclesiastes:{en:{short:"Ecclesiastes",long:"The Book of Ecclesiastes"},es:{short:"Eclesiastés",long:"El Libro de Eclesiastés"}},"The Song of Solomon":{en:{short:"The Song of Solomon",long:"The Song of Solomon"},es:{short:"Cantares",long:"El Libro de Cantares"}},Isaiah:{en:{short:"Isaiah",long:"The Book of the Prophet Isaiah"},es:{short:"Isaías",long:"El Libro de Isaías"}},Jeremiah:{en:{short:"Jeremiah",long:"The Book of the Prophet Jeremiah"},es:{short:"Jeremías",long:"El Libro de Jeremías"}},Lamentations:{en:{short:"Lamentations",long:"The Book of Lamentations"},es:{short:"Lamentaciones",long:"El Libro de Lamentaciones"}},Ezekiel:{en:{short:"Ezekiel",long:"The Book of the Prophet Ezekiel"},es:{short:"Ezequiel",long:"El Libro de Ezequiel"}},Daniel:{en:{short:"Daniel",long:"The Book of Daniel"},es:{short:"Daniel",long:"El Libro de Daniel"},"en-CA":{short:"Daniel",long:"The Book of the Prophet Daniel"},iu:{short:"Daniel",long:"The Book of the Prophet Daniel"}},Hosea:{en:{short:"Hosea",long:"The Book of the Prophet Hosea"},es:{short:"Oseas",long:"El Libro de Oseas"}},Joel:{en:{short:"Joel",long:"The Book of the Prophet Joel"},es:{short:"Joel",long:"El Libro de Joel"}},Amos:{en:{short:"Amos",long:"The Book of the Prophet Amos"},es:{short:"Amós",long:"El Libro de Amós"}},Obadiah:{en:{short:"Obadiah",long:"The Book of the Prophet Obadiah"},es:{short:"Abdías",long:"El Libro de Abdías"}},Jonah:{en:{short:"Jonah",long:"The Book of the Prophet Jonah"},es:{short:"Jonás",long:"El Libro de Jonás"}},Micah:{en:{short:"Micah",long:"The Book of the Prophet Micah"},es:{short:"Miqueas",long:"El Libro de Miqueas"}},Nahum:{en:{short:"Nahum",long:"The Book of the Prophet Nahum"},es:{short:"Nahúm",long:"El Libro de Nahúm"}},Habakkuk:{en:{short:"Habakkuk",long:"The Book of the Prophet Habakkuk"},es:{short:"Habacuc",long:"El Libro de Habacuc"}},Zephaniah:{en:{short:"Zephaniah",long:"The Book of the Prophet Zephaniah"},es:{short:"Sofonías",long:"El Libro de Sofonías"}},Haggai:{en:{short:"Haggai",long:"The Book of the Prophet Haggai"},es:{short:"Hageo",long:"El Libro de Hageo"}},Zechariah:{en:{short:"Zechariah",long:"The Book of the Prophet Zechariah"},es:{short:"Zacarías",long:"El Libro de Zacarías"}},Malachi:{en:{short:"Malachi",long:"The Book of the Prophet Malachi"},es:{short:"Malaquías",long:"El Libro de Malaquías"}},Tobit:{en:{short:"Tobit",long:"The Book of Tobit"},es:{short:"Tobías",long:"El Libro de Tobías"}},Azariah:{en:{short:"The Song of the Three Children",long:"The Song of the Three Children"},es:{short:"El Himno de los tres jóvenes ",long:"El Himno de los tres jóvenes "}},Judith:{en:{short:"Judith",long:"The Book of Judith"},es:{short:"Judit",long:"El Libro de Judit"}},Baruch:{en:{short:"Baruch",long:"The Book of Baruch"},es:{short:"Baruc",long:"El Libro de Baruc"}},"1 Maccabees":{en:{short:"1 Maccabees",long:"The First Book of Maccabees"},es:{short:"1 Macabeos",long:"El Libro 1 de los Macabeos"}},"2 Maccabees":{en:{short:"2 Maccabees",long:"The Second Book of Maccabees"},es:{short:"2 Macabeos",long:"El Libro 2 de los Macabeos"}},Wisdom:{en:{short:"Wisdom",long:"The Wisdom of Solomon"},es:{short:"Sabiduría",long:"El Libro de la Sabiduría"}},Sirach:{en:{short:"Sirach",long:"The Wisdom of Ben Sira"},es:{short:"Eclesiástico",long:"La Sabiduría de Jesús ben Sirá"},"en-CA":{short:"Sirach",long:"The Book of Ecclesiasticus"},iu:{short:"Sirach",long:"The Book of Ecclesiasticus"}},Matthew:{en:{short:"Matthew",long:"The Gospel According to Matthew"},es:{short:"Mateo",long:"El Evangelio de San Mateo"},"en-CA":{short:"Matthew",long:"The Gospel According to St. Matthew"},iu:{short:"Matthew",long:"The Gospel According to St. Matthew"}},Mark:{en:{short:"Mark",long:"The Gospel According to Mark"},es:{short:"Marcos",long:"El Evangelio de San Marcos"},"en-CA":{short:"Mark",long:"The Gospel According to St. Mark"},iu:{short:"Mark",long:"The Gospel According to St. Mark"}},Luke:{en:{short:"Luke",long:"The Gospel According to Luke"},es:{short:"Lucas",long:"El Evangelio de San Mateo"},"en-CA":{short:"Luke",long:"The Gospel According to St. Luke"},iu:{short:"Luke",long:"The Gospel According to St. Luke"}},John:{en:{short:"John",long:"The Gospel According to John"},es:{short:"Juan",long:"El Evangelio de San Juan"},"en-CA":{short:"John",long:"The Gospel According to St. John"},iu:{short:"John",long:"The Gospel According to St. John"}},Acts:{en:{short:"Acts",long:"The Acts of the Apostles"},es:{short:"Hechos",long:"Los Hechos de los Apóstoles"},"en-CA":{short:"Acts",long:"The Book of the Acts of the Apostles"},iu:{short:"Acts",long:"The Book of the Acts of the Apostles"}},Romans:{en:{short:"Romans",long:"The Letter to the Romans"},es:{short:"Romanos",long:"La Epístola a los Romanos"},"en-CA":{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"},iu:{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"}},"1 Corinthians":{en:{short:"1 Corinthians",long:"The First Letter to the Corinthians"},es:{short:"1 Corintios",long:"La Primera Epístola a los Corintios"},"en-CA":{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"}},"2 Corinthians":{en:{short:"2 Corinthians",long:"The Second Letter to the Corinthians"},es:{short:"2 Corintios",long:"La Segunda Epístola a los Corintios"},"en-CA":{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"}},Galatians:{en:{short:"Galatians",long:"The Letter to the Galatians"},es:{short:"Gálatas",long:"La Epístola a los Gálatas"},"en-CA":{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"},iu:{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"}},Ephesians:{en:{short:"Ephesians",long:"The Letter to the Ephesians"},es:{short:"Efesios",long:"La Epístola a los Efesios"},"en-CA":{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"},iu:{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"}},Philippians:{en:{short:"Philippians",long:"The Letter to the Philippians"},es:{short:"Filipenses",long:"La Epístola a los Filipenses"},"en-CA":{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"},iu:{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"}},Colossians:{en:{short:"Colossians",long:"The Letter to the Colossians"},es:{short:"Colosenses",long:"La Epístola a los Colosenses"},"en-CA":{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"},iu:{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"}},"1 Thessalonians":{en:{short:"1 Thessalonians",long:"The First Letter to the Thessalonians"},es:{short:"1 Tesalonicenses",long:"La Primera Epístola a los Tesalonicenses"},"en-CA":{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"}},"2 Thessalonians":{en:{short:"2 Thessalonians",long:"The Second Letter to the Thessalonians"},es:{short:"2 Tesalonicenses",long:"La Segunda Epístola a los Tesalonicenses"},"en-CA":{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"}},"1 Timothy":{en:{short:"1 Timothy",long:"The First Letter to Timothy"},es:{short:"1 Timoteo",long:"La Primera Epístola a Timoteo"},"en-CA":{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"},iu:{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"}},"2 Timothy":{en:{short:"2 Timothy",long:"The Second Letter to Timothy"},es:{short:"2 Timoteo",long:"La Segunda Epístola a Timoteo"},"en-CA":{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"},iu:{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"}},Titus:{en:{short:"Titus",long:"The Letter to Titus"},es:{short:"Tito",long:"La Epístola a Tito"},"en-CA":{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"},iu:{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"}},Philemon:{en:{short:"Philemon",long:"The Letter to Philemon"},es:{short:"Filemón",long:"La Epístola a Filemón"},"en-CA":{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"},iu:{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"}},Hebrews:{en:{short:"Hebrews",long:"The Book of Hebrews"},es:{short:"Hebrews",long:"La Epístola a los Hebreos"},"en-CA":{short:"Hebrews",long:"The Epistle to the Hebrews"},iu:{short:"Hebrews",long:"The Epistle to the Hebrews"}},James:{en:{short:"James",long:"The Letter of James"},es:{short:"Santiago",long:"La Epístola de Santiago"},"en-CA":{short:"James",long:"The Epistle General of St. James"},iu:{short:"James",long:"The Epistle General of St. James"}},"1 Peter":{en:{short:"1 Peter",long:"The First Letter of Peter"},es:{short:"1 Pedro",long:"La Primera Epístola de Pedro"},"en-CA":{short:"1 Peter",long:"The First Epistle General of St. Peter"},iu:{short:"1 Peter",long:"The First Epistle General of St. Peter"}},"2 Peter":{en:{short:"2 Peter",long:"The Second Letter of Peter"},es:{short:"2 Pedro",long:"La Segunda Epístola de Pedro"},"en-CA":{short:"2 Peter",long:"The Second Epistle General of St. Peter"},iu:{short:"2 Peter",long:"The Second Epistle General of St. Peter"}},"1 John":{en:{short:"1 John",long:"The First Letter of John"},es:{short:"1 Juan",long:"La Primera Epístola de Juan"},"en-CA":{short:"2 John",long:"The First Epistle General of St. John"},iu:{short:"2 John",long:"The First Epistle General of St. John"}},"2 John":{en:{short:"2 John",long:"The Second Letter of John"},es:{short:"1 Juan",long:"La Segunda Epístola de Juan"},"en-CA":{short:"2 John",long:"The Second Epistle General of St. John"},iu:{short:"2 John",long:"The Second Epistle General of St. John"}},"3 John":{en:{short:"3 John",long:"The Third Letter of John"},es:{short:"1 Juan",long:"La Tercera Epístola de Juan"},"en-CA":{short:"3 John",long:"The Third Epistle General of St. John"},iu:{short:"3 John",long:"The Third Epistle General of St. John"}},Jude:{en:{short:"Jude",long:"The Letter of Jude"},es:{short:"Judas",long:"La Epístola de Judas"},"en-CA":{short:"Jude",long:"The Epistle General of St. Jude"},iu:{short:"Jude",long:"The Epistle General of St. Jude"}},Revelation:{en:{short:"Revelation",long:"The Book of Revelation"},es:{short:"Apocalipsis",long:"El Apocalipsis de San Juan"},"en-CA":{short:"Revelation",long:"The Revelation to St. John the Divine"},iu:{short:"Revelation",long:"The Revelation to St. John the Divine"}},"1 Esdras":{en:{short:"1 Esdras",long:"The Second Book of Esdras"},es:{short:"1 Esdras",long:"1 Esdras"}},"2 Esdras":{en:{short:"2 Esdras",long:"The Second Book of Esdras"},es:{short:"2 Esdras",long:"2 Esdras"}},Bel:{en:{short:"Bel",long:"Bel and the Dragon"},es:{short:"Bel",long:"La Historia de Bel y el Dragón"}},"Letter of Jeremiah":{en:{short:"Letter of Jeremiah",long:"The Letter of Jeremiah"},es:{short:"Letter of Jeremiah",long:"La Epístola de Jeremías"}}};function t(e){var o=e%10,s=e%100;return 1==o&&11!=s?e+"st":2==o&&12!=s?e+"nd":3==o&&13!=s?e+"rd":e+"th"}const a=["long","short"];class n extends e{constructor(e={}){super(e)}compileIntro(){var o,s,a,n;if(this.metadata&&this.metadata.intro){const h=null!==(o=this.abbrevFromCitation())&&void 0!==o?o:this.citation,l=this.bookCodeFromAbbrev(null!=h?h:""),i=h?this.longNameFromBookCode(null!=l?l:"",this.language||"en"):"—",r=h?this.shortNameFromBookCode(null!=l?l:"",this.language||"en"):"—",g=this.chapterFromCitation(),m=this.verseFromCitation(),c=new Array,u=e=>e.replace(/\$\{longName\}/g,(null!=i?i:h).replace("The","the")).replace(/\$\{shortName\}/g,null!=r?r:h).replace(/\$\{chapter\}/g,`${t(Number(g)||1)}`).replace(/\$\{verse\}/g,`${t(Number(m)||1)}`).replace("de El","del").replace("de La","de la");null===(n=null===(a=null===(s=this.metadata)||void 0===s?void 0:s.intro)||void 0===a?void 0:a.value)||void 0===n||n.forEach((e=>{"string"==typeof e?c.push(u(e)):e.hasOwnProperty("text")?c.push(Object.assign(Object.assign({},e),{text:u(e.text)})):c.push(u(e))})),this.metadata.compiled_intro=new e(Object.assign(Object.assign({},this.metadata.intro),{value:c}))}}abbrevFromCitation(){let e;try{const o=(this.citation||"").match(/(\d*\s*[a-zA-Z]+)/);e=o?o[0]:""}catch(o){e=this.citation}return e.replace(/\./g,"")}chapterFromCitation(){var e;const o=null===(e=(this.citation||"").split(";")[0])||void 0===e?void 0:e.match(/[\s\.:](\d+)/g);if(o){const[e]=o;return"string"==typeof e?e.trim().replace(/[\.,:]/g,""):void 0}}verseFromCitation(){var e;const o=null===(e=(this.citation||"").split(";")[0])||void 0===e?void 0:e.match(/[\s\.:](\d+)/g);if(o){const[,e]=o;return"string"==typeof e?e.trim().replace(/[\.,:]/g,""):void 0}}bookCodeFromAbbrev(e){if(e){const s=e.replace(/\./g,""),t=o.find((e=>e.name==s||e.aliases.includes(s)||e.name.includes(s)));return t?t.name:e}}longNameFromBookCode(e,o="en"){const t=this.bookCodeFromAbbrev(e);if(t){const a=s[t];let n=(a||{})[o];return n||(n=(a||{}).en),n?n.long:e}}shortNameFromBookCode(e,o="en"){var t;const a=(s[null!==(t=this.bookCodeFromAbbrev(e))&&void 0!==t?t:""]||{})[o];return a?a.short:e}availableStyles(){return a}availableDisplayFormats(){return["default","omit"]}}class h extends e{availableDisplayFormats(){return[]}}class l extends e{constructor(e={}){super(e)}}const i=["psalm","canticle","invitatory"];class r extends e{constructor(e={}){super(e)}filteredVerses(){let e=new Array;if(this.citation&&(this.citation.match(/Ps[^\s]*\s*\d+/)||""==this.citation)){const o=this.versesInCitation(this.citation);0==o.length?e=this.value:(this.value||[]).forEach((s=>{const t=new Array;(s.value||[]).forEach((e=>{!e.number||o.includes(e.number)?t.push(e):o.includes(`[${e.number}`)?t.push(Object.assign(Object.assign({},e),{verse:"["+e.verse})):o.includes(`${e.number}]`)?t.push(Object.assign(Object.assign({},e),{halfverse:e.halfverse+"]"})):o.includes(`[${e.number}]`)&&t.push(Object.assign(Object.assign({},e),{verse:"["+e.verse,halfverse:e.halfverse+"]"}))})),e.push(Object.assign(Object.assign({},s),{value:t}))}))}else e=this.value;return e}versesInCitation(e){function o(e,o,s){return e&&o?"["+s+"]":e?"["+s:o?s+"]":s}const s=e.replace(/Ps[\w\.]*\s*/g,"").split(/\s*([\[\]\(\),:\s])\s*/).slice(1);let t=new Array,a=!1,n=!1;return(s||[]).forEach(((e,h)=>{"["!==e&&"("!==e||(a=!0),"]"!==s[h+1]&&")"!==s[h+1]||(n=!0);const[l,i]=e.replace(/[^\d-s–]/g,"").split(/-|–/);if(l&&i){const e=n;for(let s=parseInt(l);s<=parseInt(i);s++)n=e&&s==parseInt(i),t.push(o(a,n,s.toString())),a=!1}else l&&(t.push(o(a,n,l)),a=!1),n=!1})),t}includeAntiphon(){const e=this.metadata||{};return!!e.antiphon&&!e.omit_antiphon;
|
|
2
2
|
//!(this.style == 'canticle' && !metadata.omit_gloria);
|
|
3
3
|
}repeatAntiphon(e,o=0){const s=this.metadata||{};return 0==o&&(o=this.filteredVerses().length),this.includeAntiphon()&&!(s.omit_gloria&&e==o-1)}availableStyles(){return i}availableDisplayFormats(){return["default","omit","unison","wholeverse","halfverse"]}}const g=["preces","litany","responsive"];class m extends e{constructor(e={}){super(e)}availableStyles(){return g}availableDisplayFormats(){return[]}}class c extends e{constructor(e={}){super(e)}availableDisplayFormats(){return[]}}export{n as B,h as L,l as M,r as P,m as R,c as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as e,P as r,B as a,R as s,a as n,L as t}from"./p-47600061.js";import{H as c}from"./p-cb1922dc.js";import{O as i}from"./p-97ada7f4.js";import{R as o}from"./p-b0ceb153.js";import{T as u}from"./p-a97ca6c2.js";function p(p){switch(p.type){case"liturgy":return new t(p);case"heading":return new c(p);case"option":return new i(p);case"refrain":return new o(p);case"rubric":return new n(p);case"text":return new u(p);case"responsive":return new s(p);case"bible-reading":return new a(p);case"psalm":return new r(p);case"meditation":return new e(p);default:return p}}export{p as s}
|
|
File without changes
|