diff --git a/src/pages/notes/[...id].astro b/src/pages/notes/[...id].astro index 7a7768d..f4fdcd1 100644 --- a/src/pages/notes/[...id].astro +++ b/src/pages/notes/[...id].astro @@ -75,15 +75,6 @@ const meta = `{
- diff --git a/src/utils/meta.js b/src/utils/meta.js new file mode 100644 index 0000000..2ba184c --- /dev/null +++ b/src/utils/meta.js @@ -0,0 +1,7 @@ +// Translation meta + +export const aliases = {"genesis": "gen", "gn": "gen", "exodus": "exo", "ex": "exo", "leviticus": "lev", "lv": "lev", "numbers": "num", "nm": "num", "numb": "num", "nmb": "num", "nmbs": "num", "deuteronomy": "deu", "dt": "deu", "deut": "deu", "deuter": "deu", "joshua": "jos", "js": "jos", "josh": "jos", "judges": "jdg", "jd": "jdg", "jdgs": "jdg", "ruth": "rut", "rt": "rut", "1 samuel": "1sa", "1s": "1sa", "1sam": "1sa", "1 s": "1sa", "1 sa": "1sa", "1 sam": "1sa", "1 kingdoms": "1sa", "1 realms": "1sa", "2 samuel": "2sa", "2s": "2sa", "2sam": "2sa", "2 s": "2sa", "2 sa": "2sa", "2 sam": "2sa", "2 kingdoms": "2sa", "2 realms": "2sa", "1 kings": "1ki", "1k": "1ki", "1kgs": "1ki", "1king": "1ki", "1 k": "1ki", "1 ki": "1ki", "1 kgs": "1ki", "1 king": "1ki", "3k": "1ki", "3kgs": "1ki", "3king": "1ki", "3 k": "1ki", "3 ki": "1ki", "3 kgs": "1ki", "3 king": "1ki", "3 kingdoms": "1ki", "3 realms": "1ki", "2 kings": "2ki", "2k": "2ki", "2kgs": "2ki", "2king": "2ki", "2 k": "2ki", "2 ki": "2ki", "2 kgs": "2ki", "2 king": "2ki", "4k": "2ki", "4kgs": "2ki", "4king": "2ki", "4 k": "2ki", "4 ki": "2ki", "4 kgs": "2ki", "4 king": "2ki", "4 kingdoms": "2ki", "4 realms": "2ki", "1 chronicles": "1ch", "1c": "1ch", "1chr": "1ch", "1chron": "1ch", "1 c": "1ch", "1 ch": "1ch", "1 chr": "1ch", "1 chron": "1ch", "2 chronicles": "2ch", "2c": "2ch", "2chr": "2ch", "2chron": "2ch", "2 c": "2ch", "2 ch": "2ch", "2 chr": "2ch", "2 chron": "2ch", "ezra": "ezr", "ez": "ezr", "nehemiah": "neh", "nh": "neh", "esther": "est", "es": "est", "job": "job", "jb": "job", "psalms": "psa", "ps": "psa", "psalm": "psa", "pss": "psa", "proverbs": "pro", "pr": "pro", "prov": "pro", "ecclesiastes": "ecc", "ec": "ecc", "eccl": "ecc", "eccle": "ecc", "song of solomon": "sng", "song of songs": "sng", "sn": "sng", "son": "sng", "song": "sng", "sol": "sng", "isaiah": "isa", "is": "isa", "isai": "isa", "jeremiah": "jer", "jr": "jer", "jere": "jer", "jerem": "jer", "lamentations": "lam", "lm": "lam", "lamen": "lam", "ezekiel": "ezk", "eze": "ezk", "ezek": "ezk", "daniel": "dan", "dn": "dan", "hosea": "hos", "hs": "hos", "joel": "jol", "jl": "jol", "amos": "amo", "am": "amo", "obadiah": "oba", "ob": "oba", "obd": "oba", "obad": "oba", "jonah": "jon", "jo": "jon", "micah": "mic", "micha": "mic", "mc": "mic", "nahum": "nam", "na": "nam", "habakkuk": "hab", "hb": "hab", "haba": "hab", "habak": "hab", "zephaniah": "zep", "zf": "zep", "zef": "zep", "haggai": "hag", "hg": "hag", "zechariah": "zec", "ze": "zec", "zech": "zec", "malachi": "mal", "ml": "mal", "mala": "mal", "matthew": "mat", "mt": "mat", "matt": "mat", "mark": "mrk", "mk": "mrk", "luke": "luk", "lk": "luk", "john": "jhn", "jn": "jhn", "acts": "act", "ac": "act", "romans": "rom", "rm": "rom", "rms": "rom", "1 corinthians": "1co", "1cor": "1co", "1corin": "1co", "1 co": "1co", "1 cor": "1co", "1 corin": "1co", "2 corinthians": "2co", "2cor": "2co", "2corin": "2co", "2 co": "2co", "2 cor": "2co", "2 corin": "2co", "galatians": "gal", "gl": "gal", "ephesians": "eph", "ep": "eph", "ef": "eph", "philippians": "php", "ph": "php", "phil": "php", "colossians": "col", "cl": "col", "colo": "col", "1 thessalonians": "1th", "1thes": "1th", "1thess": "1th", "1 thes": "1th", "1 thess": "1th", "2 thessalonians": "2th", "2thes": "2th", "2thess": "2th", "2 thes": "2th", "2 thess": "2th", "1 timothy": "1ti", "1tim": "1ti", "1 ti": "1ti", "1 tim": "1ti", "2 timothy": "2ti", "2tim": "2ti", "2 ti": "2ti", "2 tim": "2ti", "titus": "tit", "ti": "tit", "philemon": "phm", "pi": "phm", "philm": "phm", "philem": "phm", "hebrews": "heb", "he": "heb", "james": "jas", "ja": "jas", "jam": "jas", "1 peter": "1pe", "1p": "1pe", "1pt": "1pe", "1pet": "1pe", "1 p": "1pe", "1 pe": "1pe", "1 pt": "1pe", "1 pet": "1pe", "2 peter": "2pe", "2p": "2pe", "2pt": "2pe", "2pet": "2pe", "2 p": "2pe", "2 pe": "2pe", "2 pt": "2pe", "2 pet": "2pe", "1 john": "1jn", "1jon": "1jn", "1 jn": "1jn", "1 jon": "1jn", "2 john": "2jn", "2jon": "2jn", "2 jn": "2jn", "2 jon": "2jn", "3 john": "3jn", "3jon": "3jn", "3 jn": "3jn", "3 jon": "3jn", "jude": "jud", "ju": "jud", "revelation": "rev", "rv": "rev", "reve": "rev", "tobit": "tob", "tb": "tob", "judith": "jdt", "jt": "jdt", "wisdom": "wis", "wisdom of solomon": "wis", "ws": "wis", "wos": "wis", "sirach": "sir", "sr": "sir", "baruch": "bar", "br": "bar", "bel and the dragon": "bel", "bl": "bel", "bd": "bel", "batd": "bel", "susanna": "sus", "su": "sus", "1 maccabees": "1ma", "1mac": "1ma", "1 mac": "1ma", "2 maccabees": "2ma", "2mac": "2ma", "2 mac": "2ma", "3 maccabees": "3ma", "3mac": "3ma", "3 mac": "3ma", "4 maccabees": "4ma", "4mac": "4ma", "4 mac": "4ma", "1 esdras": "1es", "1esd": "1es", "1 esd": "1es", "epistle of jeremy": "lje", "ej": "lje", "eoj": "lje", "prayer of ezarias": "s3y", "az": "s3y", "poe": "s3y", "prayer of manasses": "man", "prayer of manasseh": "man", "mana": "man", "pom": "man", "gen": "gen", "exo": "exo", "lev": "lev", "num": "num", "deu": "deu", "jos": "jos", "jdg": "jdg", "rut": "rut", "1sa": "1sa", "2sa": "2sa", "1ki": "1ki", "2ki": "2ki", "1ch": "1ch", "2ch": "2ch", "ezr": "ezr", "neh": "neh", "est": "est", "psa": "psa", "pro": "pro", "ecc": "ecc", "sng": "sng", "isa": "isa", "jer": "jer", "lam": "lam", "ezk": "ezk", "dan": "dan", "hos": "hos", "jol": "jol", "amo": "amo", "oba": "oba", "jon": "jon", "mic": "mic", "nam": "nam", "hab": "hab", "zep": "zep", "hag": "hag", "zec": "zec", "mal": "mal", "mat": "mat", "mrk": "mrk", "luk": "luk", "jhn": "jhn", "act": "act", "rom": "rom", "1co": "1co", "2co": "2co", "gal": "gal", "eph": "eph", "php": "php", "col": "col", "1th": "1th", "2th": "2th", "1ti": "1ti", "2ti": "2ti", "tit": "tit", "phm": "phm", "heb": "heb", "jas": "jas", "1pe": "1pe", "2pe": "2pe", "1jn": "1jn", "2jn": "2jn", "3jn": "3jn", "jud": "jud", "rev": "rev", "tob": "tob", "jdt": "jdt", "wis": "wis", "sir": "sir", "bar": "bar", "bel": "bel", "sus": "sus", "1ma": "1ma", "2ma": "2ma", "3ma": "3ma", "4ma": "4ma", "1es": "1es", "lje": "lje", "s3y": "s3y", "man": "man"}; + +export const translations = ["AAB", "BSB", "ENGWEBP", "GHT", "eng_abt", "eng_asv", "eng_boy", "eng_bre", "eng_emtv", "eng_fbv", "eng_glw", "eng_kja", "eng_kjv", "eng_lsv", "eng_lxx", "eng_msb", "eng_net", "eng_pev", "eng_rv5", "eng_t4t", "eng_tce", "eng_ulb", "eng_w88", "eng_wbs", "eng_web", "eng_webu", "eng_wyc2017", "eng_wyc2018", "eng_ylt"]; + +export const meta = {"gen": {"tx": "BSB", "title": "Genesis"}, "exo": {"tx": "BSB", "title": "Exodus"}, "lev": {"tx": "BSB", "title": "Leviticus"}, "num": {"tx": "BSB", "title": "Numbers"}, "deu": {"tx": "BSB", "title": "Deuteronomy"}, "jos": {"tx": "BSB", "title": "Joshua"}, "jdg": {"tx": "BSB", "title": "Judges"}, "rut": {"tx": "BSB", "title": "Ruth"}, "1sa": {"tx": "BSB", "title": "1 Samuel"}, "2sa": {"tx": "BSB", "title": "2 Samuel"}, "1ki": {"tx": "BSB", "title": "1 Kings"}, "2ki": {"tx": "BSB", "title": "2 Kings"}, "1ch": {"tx": "BSB", "title": "1 Chronicles"}, "2ch": {"tx": "BSB", "title": "2 Chronicles"}, "ezr": {"tx": "BSB", "title": "Ezra"}, "neh": {"tx": "BSB", "title": "Nehemiah"}, "est": {"tx": "BSB", "title": "Esther"}, "job": {"tx": "BSB", "title": "Job"}, "psa": {"tx": "BSB", "title": "Psalms"}, "pro": {"tx": "BSB", "title": "Proverbs"}, "ecc": {"tx": "BSB", "title": "Ecclesiastes"}, "sng": {"tx": "BSB", "title": "Song of Solomon"}, "isa": {"tx": "BSB", "title": "Isaiah"}, "jer": {"tx": "BSB", "title": "Jeremiah"}, "lam": {"tx": "BSB", "title": "Lamentations"}, "ezk": {"tx": "BSB", "title": "Ezekiel"}, "dan": {"tx": "BSB", "title": "Daniel"}, "hos": {"tx": "BSB", "title": "Hosea"}, "jol": {"tx": "BSB", "title": "Joel"}, "amo": {"tx": "BSB", "title": "Amos"}, "oba": {"tx": "BSB", "title": "Obadiah"}, "jon": {"tx": "BSB", "title": "Jonah"}, "mic": {"tx": "BSB", "title": "Micah"}, "nam": {"tx": "BSB", "title": "Nahum"}, "hab": {"tx": "BSB", "title": "Habakkuk"}, "zep": {"tx": "BSB", "title": "Zephaniah"}, "hag": {"tx": "BSB", "title": "Haggai"}, "zec": {"tx": "BSB", "title": "Zechariah"}, "mal": {"tx": "BSB", "title": "Malachi"}, "mat": {"tx": "BSB", "title": "Matthew"}, "mrk": {"tx": "BSB", "title": "Mark"}, "luk": {"tx": "BSB", "title": "Luke"}, "jhn": {"tx": "BSB", "title": "John"}, "act": {"tx": "BSB", "title": "Acts"}, "rom": {"tx": "BSB", "title": "Romans"}, "1co": {"tx": "BSB", "title": "1 Corinthians"}, "2co": {"tx": "BSB", "title": "2 Corinthians"}, "gal": {"tx": "BSB", "title": "Galatians"}, "eph": {"tx": "BSB", "title": "Ephesians"}, "php": {"tx": "BSB", "title": "Philippians"}, "col": {"tx": "BSB", "title": "Colossians"}, "1th": {"tx": "BSB", "title": "1 Thessalonians"}, "2th": {"tx": "BSB", "title": "2 Thessalonians"}, "1ti": {"tx": "BSB", "title": "1 Timothy"}, "2ti": {"tx": "BSB", "title": "2 Timothy"}, "tit": {"tx": "BSB", "title": "Titus"}, "phm": {"tx": "BSB", "title": "Philemon"}, "heb": {"tx": "BSB", "title": "Hebrews"}, "jas": {"tx": "BSB", "title": "James"}, "1pe": {"tx": "BSB", "title": "1 Peter"}, "2pe": {"tx": "BSB", "title": "2 Peter"}, "1jn": {"tx": "BSB", "title": "1 John"}, "2jn": {"tx": "BSB", "title": "2 John"}, "3jn": {"tx": "BSB", "title": "3 John"}, "jud": {"tx": "BSB", "title": "Jude"}, "rev": {"tx": "BSB", "title": "Revelation"}, "tob": {"tx": "eng_lxx", "title": "Tobit"}, "jdt": {"tx": "eng_lxx", "title": "Judith"}, "wis": {"tx": "eng_lxx", "title": "Wisdom"}, "sir": {"tx": "eng_lxx", "title": "Sirach"}, "bar": {"tx": "eng_lxx", "title": "Baruch"}, "bel": {"tx": "eng_lxx", "title": "Bel and the Dragon"}, "sus": {"tx": "eng_lxx", "title": "Susanna"}, "1ma": {"tx": "eng_lxx", "title": "1 Maccabees"}, "2ma": {"tx": "eng_lxx", "title": "2 Maccabees"}, "3ma": {"tx": "eng_lxx", "title": "3 Maccabees"}, "4ma": {"tx": "eng_lxx", "title": "4 Maccabees"}, "1es": {"tx": "eng_lxx", "title": "1 Esdras"}, "lje": {"tx": "eng_lxx", "title": "Epistle of Jeremy"}, "s3y": {"tx": "eng_lxx", "title": "Prayer of Ezarias"}, "man": {"tx": "eng_lxx", "title": "Prayer of Manasses"}}; diff --git a/src/utils/modal.js b/src/utils/modal.js index 312d935..72e0856 100644 --- a/src/utils/modal.js +++ b/src/utils/modal.js @@ -1,4 +1,4 @@ -import { books } from './t9nmeta.js'; +import { aliases, meta } from './meta.js'; export const modal = (el) => { @@ -18,12 +18,11 @@ function parseRef(ref) { console.log(m); - const book = m[1]; + const book = m[1].toLowerCase(); const chapter = m[5]; const verses = m[6]?.replaceAll(/–/g, '-'); console.log(`parseRef: ${book}, ${chapter}, ${verses}`); - console.log(books); if (book === undefined) { return {}; @@ -32,12 +31,10 @@ function parseRef(ref) { let refdata = { ref: ref }; - if (book in books) { - refdata.book = book; - } else if (book in _map) { - refdata.book = _map[book]; + if (book in aliases) { + refdata.book = aliases[book]; } - refdata.meta = books[refdata.book]; + refdata.meta = meta[refdata.book]; refdata.fullTitle = () => { let title = refdata.meta.title+' '; title += refdata.chapter; @@ -99,9 +96,6 @@ function render(dialog, response, refs) { const article = dialog?.querySelector('article'); let para = document.createElement('p'); - dialog.querySelector('a.bg').href = `https://www.biblegateway.com/passage/?search=${refs.ref}&version=ESV` - dialog.querySelector('a.bg span.scripture').insertAdjacentText('beforeend', refs.fullTitle()); - const heading = document.createElement('h1'); heading.insertAdjacentText('beforeend', `${refs.fullTitle()}`); @@ -179,10 +173,11 @@ export const bindModals = () => { e.addEventListener('click', (evt) => { const scripture = e.attributes.getNamedItem('data-scripture'); const refs = parseRef(scripture.value); + const tx = refs.meta?.tx || 'BSB'; evt.preventDefault(); console.log('scripture:', scripture); console.log('refs:', refs); - const uri = `https://bible.helloao.org/api/BSB/${refs.book.toUpperCase()}/${refs.chapter}.json`; + const uri = `https://bible.helloao.org/api/${tx}/${refs.book.toUpperCase()}/${refs.chapter}.json`; dialog[0]?.showModal(); dialog[0]?.setAttribute('data-scripture', scripture); dialog[0]?.classList.remove("hidden"); @@ -205,7 +200,6 @@ export const bindModals = () => { dialog[0]?.close(); dialog[0]?.classList.add('hidden'); dialog[0]?.querySelector('article')?.replaceChildren(); - dialog[0]?.querySelector('a.bg span.scripture').replaceChildren(); } }); dialog[0]?.querySelector('button[data-close]')?.addEventListener('click', (evt) => { @@ -213,22 +207,5 @@ export const bindModals = () => { dialog[0]?.close(); dialog[0]?.classList.add('hidden'); dialog[0]?.querySelector('article')?.replaceChildren(); - dialog[0]?.querySelector('a.bg span.scripture').replaceChildren(); }); -}; - -function buildBookMap() { - let mp = {}; - for (const book in books) { - if (!("aliases" in books[book])) { - continue; - } - for (const alias of books[book]?.aliases) { - mp[alias] = book; - } - mp[books[book]["title"].toLowerCase()] = book; - } - console.log(mp.length); - return mp; -} -const _map = buildBookMap(); \ No newline at end of file +}; \ No newline at end of file diff --git a/src/utils/t9nmeta.js b/src/utils/t9nmeta.js deleted file mode 100644 index 00bb8ec..0000000 --- a/src/utils/t9nmeta.js +++ /dev/null @@ -1,207 +0,0 @@ -// Translation metadata. - - -export const books = { - "gen": {"title": "Genesis", "start": 1, "stop": 50, "count": 50, - "aliases": ["gn"], - }, - "exo": {"title": "Exodus", "start": 1, "stop": 40, "count": 40, - "aliases": ["ex"], - }, - "lev": {"title": "Leviticus", "start": 1, "stop": 27, "count": 27, - "aliases": ["lv"], - }, - "num": {"title": "Numbers", "start": 1, "stop": 36, "count": 36, - "aliases": ["nm", "numb", "nmb", "nmbs"], - }, - "deu": {"title": "Deuteronomy", "start": 1, "stop": 34, "count": 34, - "aliases": ["dt", "deut", "deuter"], - }, - "jos": {"title": "Joshua", "start": 1, "stop": 24, "count": 24, - "aliases": ["js", "josh"], - }, - "jdg": {"title": "Judges", "start": 1, "stop": 21, "count": 21, - "aliases": ["jd", "jdgs"], - }, - "rut": {"title": "Ruth", "start": 1, "stop": 4, "count": 4, - "aliases": ["rt"], - }, - "1sa": {"title": "1 Samuel", "start": 1, "stop": 31, "count": 31, - "aliases": ["1s", "1sam", "1 s", "1 sa", "1 sam"], - }, - "2sa": {"title": "2 Samuel", "start": 1, "stop": 24, "count": 24, - "aliases": ["2s", "2sam", "2 s", "2 sa", "2 sam"], - }, - "1ki": {"title": "1 Kings", "start": 1, "stop": 22, "count": 22, - "aliases": ["1k", "1kgs", "1king", "1 k", "1 ki", "1 kgs", "1 king"], - }, - "2ki": {"title": "2 Kings", "start": 1, "stop": 25, "count": 25, - "aliases": ["2k", "2kgs", "2king", "2 k", "2 ki", "2 kgs", "2 king"], - - }, - "1ch": {"title": "1 Chronicles", "start": 1, "stop": 29, "count": 29, - "aliases": ["1c", "1chr", "1chron", "1 c", "1 ch", "1 chr", "1 chron"], - }, - "2ch": {"title": "2 Chronicles", "start": 1, "stop": 36, "count": 36, - "aliases": ["2c", "2chr", "2chron", "2 c", "2 ch", "2 chr", "2 chron"], - - }, - "ezr": {"title": "Ezra", "start": 1, "stop": 10, "count": 10, - "aliases": ["ez"], - }, - "neh": {"title": "Nehemiah", "start": 1, "stop": 13, "count": 13, - "aliases": ["nh"], - }, - "est": {"title": "Esther", "start": 1, "stop": 10, "count": 10, - "aliases": ["es"], - }, - "job": {"title": "Job", "start": 1, "stop": 42, "count": 42, - "aliases": ["jo"], - }, - "psa": {"title": "Psalms", "start": 1, "stop": 150, "count": 150, - "aliases": ["ps", "psalm", "pss"], - }, - "pro": {"title": "Proverbs", "start": 1, "stop": 31, "count": 31, - "aliases": ["pr", "prov"], - }, - "ecc": {"title": "Ecclesiastes", "start": 1, "stop": 12, "count": 12, - "aliases": ["ec", "eccl", "eccle"], - }, - "sng": {"title": "Song of Solomon", "start": 1, "stop": 8, "count": 8, - "aliases": ["sn", "son", "song", "sol"], - }, - "isa": {"title": "Isaiah", "start": 1, "stop": 66, "count": 66, - "aliases": ["is", "isai"], - }, - "jer": {"title": "Jeremiah", "start": 1, "stop": 52, "count": 52, - "aliases": ["jr", "jere", "jerem"], - }, - "lam": {"title": "Lamentations", "start": 1, "stop": 5, "count": 5, - "aliases": ["lm", "lamen"], - }, - "ezk": {"title": "Ezekiel", "start": 1, "stop": 48, "count": 48, - "aliases": ["eze", "ezek"], - }, - "dan": {"title": "Daniel", "start": 1, "stop": 12, "count": 12, - "aliases": ["dn"], - }, - "hos": {"title": "Hosea", "start": 1, "stop": 14, "count": 14, - "aliases": ["hs"], - }, - "jol": {"title": "Joel", "start": 1, "stop": 3, "count": 3, - "aliases": ["jl"], - }, - "amo": {"title": "Amos", "start": 1, "stop": 9, "count": 9, - "aliases": ["am"], - }, - "oba": {"title": "Obadiah", "start": 1, "stop": 1, "count": 1, - "aliases": ["ob", "obd", "obad"], - }, - "jon": {"title": "Jonah", "start": 1, "stop": 4, "count": 4, - "aliases": ["jo"], - }, - "mic": {"title": "Micah", "start": 1, "stop": 7, "count": 7, - "aliases": ["mc"], - }, - "nam": {"title": "Nahum", "start": 1, "stop": 3, "count": 3, - "aliases": ["na"], - }, - "hab": {"title": "Habakkuk", "start": 1, "stop": 3, "count": 3, - "aliases": ["hb", "haba", "habak"], - }, - "zep": {"title": "Zephaniah", "start": 1, "stop": 3, "count": 3, - "aliases": ["ze", "zf", "zef"], - }, - "hag": {"title": "Haggai", "start": 1, "stop": 2, "count": 2, - "aliases": ["hg"], - }, - "zec": {"title": "Zechariah", "start": 1, "stop": 14, "count": 14, - "aliases": ["ze", "zech"], - }, - "mal": {"title": "Malachi", "start": 1, "stop": 4, "count": 4, - "aliases": ["ml", "mala"], - }, - "mat": {"title": "Matthew", "start": 1, "stop": 28, "count": 28, - "aliases": ["mt", "matt"], - }, - "mrk": {"title": "Mark", "start": 1, "stop": 16, "count": 16, - "aliases": ["mk"], - }, - "luk": {"title": "Luke", "start": 1, "stop": 24, "count": 24, - "aliases": ["lk"], - }, - "jhn": {"title": "John", "start": 1, "stop": 21, "count": 21, - "aliases": ["jn"], - }, - "act": {"title": "Acts", "start": 1, "stop": 28, "count": 28, - "aliases": ["ac"], - }, - "rom": {"title": "Romans", "start": 1, "stop": 16, "count": 16, - "aliases": ["rm", "rms"], - }, - "1co": {"title": "1 Corinthians", "start": 1, "stop": 16, "count": 16, - "aliases": ["1cor", "1corin", "1 co", "1 cor", "1 corin"], - }, - "2co": {"title": "2 Corinthians", "start": 1, "stop": 13, "count": 13, - "aliases": ["2cor", "2corin", "2 co", "2 cor", "2 corin"], - }, - "gal": {"title": "Galatians", "start": 1, "stop": 6, "count": 6, - "aliases": ["gl"], - }, - "eph": {"title": "Ephesians", "start": 1, "stop": 6, "count": 6, - "aliases": ["ep", "ef"], - }, - "php": {"title": "Philippians", "start": 1, "stop": 4, "count": 4, - "aliases": ["ph", "phil"], - }, - "col": {"title": "Colossians", "start": 1, "stop": 4, "count": 4, - "aliases": ["cl", "colo"], - }, - "1th": {"title": "1 Thessalonians", "start": 1, "stop": 5, "count": 5, - "aliases": ["1thes", "1thess", "1 thes", "1 thess"], - }, - "2th": {"title": "2 Thessalonians", "start": 1, "stop": 3, "count": 3, - "aliases": ["2thes", "2thess", "2 thes", "2 thess"], - }, - "1ti": {"title": "1 Timothy", "start": 1, "stop": 6, "count": 6, - "aliases": ["1tim", "1 ti", "1 tim"], - }, - "2ti": {"title": "2 Timothy", "start": 1, "stop": 4, "count": 4, - "aliases": ["2tim", "2 ti", "2 tim"], - }, - "tit": {"title": "Titus", "start": 1, "stop": 3, "count": 3, - "aliases": ["ti"], - }, - "phm": {"title": "Philemon", "start": 1, "stop": 1, "count": 1, - "aliases": ["pi", "philm", "philem"], - }, - "heb": {"title": "Hebrews", "start": 1, "stop": 13, "count": 13, - "aliases": ["he"], - }, - "jas": {"title": "James", "start": 1, "stop": 5, "count": 5, - "aliases": ["ja", "jam"], - }, - "1pe": {"title": "1 Peter", "start": 1, "stop": 5, "count": 5, - "aliases": ["1p", "1pt", "1pet", "1 p", "1 pe", "1 pt", "1 pet"], - }, - "2pe": {"title": "2 Peter", "start": 1, "stop": 3, "count": 3, - "aliases": ["2p", "2pt", "2pet", "2 p", "2 pe", "2 pt", "2 pet"], - }, - "1jn": {"title": "1 John", "start": 1, "stop": 5, "count": 5, - "aliases": ["1jon", "1 jn", "1 jon"], - }, - "2jn": {"title": "2 John", "start": 1, "stop": 1, "count": 1, - "aliases": ["2jon", "2 jn", "2 jon"], - }, - "3jn": {"title": "3 John", "start": 1, "stop": 1, "count": 1, - "aliases": ["3jon", "3 jn", "3 jon"], - }, - "jud": {"title": "Jude", "start": 1, "stop": 1, "count": 1, - "aliases": ["ju"], - }, - "rev": {"title": "Revelation", "start": 1, "stop": 22, "count": 22, - "aliases": ["rv", "reve"], - }, -} - -export const aliases = {"gn": "gen", "ex": "exo", "lv": "lev", "nm": "num", "numb": "num", "nmb": "num", "nmbs": "num", "dt": "deu", "deut": "deu", "deuter": "deu", "js": "jos", "josh": "jos", "jd": "jdg", "jdgs": "jdg", "rt": "rut", "1s": "1sa", "1sam": "1sa", "1 s": "1sa", "1 sa": "1sa", "1 sam": "1sa", "2s": "2sa", "2sam": "2sa", "2 s": "2sa", "2 sa": "2sa", "2 sam": "2sa", "1k": "1ki", "1kgs": "1ki", "1king": "1ki", "1 k": "1ki", "1 ki": "1ki", "1 kgs": "1ki", "1 king": "1ki", "2k": "2ki", "2kgs": "2ki", "2king": "2ki", "2 k": "2ki", "2 ki": "2ki", "2 kgs": "2ki", "2 king": "2ki", "1c": "1ch", "1chr": "1ch", "1chron": "1ch", "1 c": "1ch", "1 ch": "1ch", "1 chr": "1ch", "1 chron": "1ch", "2c": "2ch", "2chr": "2ch", "2chron": "2ch", "2 c": "2ch", "2 ch": "2ch", "2 chr": "2ch", "2 chron": "2ch", "ez": "ezr", "nh": "neh", "es": "est", "jo": "jon", "ps": "psa", "psalm": "psa", "pss": "psa", "pr": "pro", "prov": "pro", "ec": "ecc", "eccl": "ecc", "eccle": "ecc", "sn": "sng", "son": "sng", "song": "sng", "sol": "sng", "is": "isa", "isai": "isa", "jr": "jer", "jere": "jer", "jerem": "jer", "lm": "lam", "lamen": "lam", "eze": "ezk", "ezek": "ezk", "dn": "dan", "hs": "hos", "jl": "jol", "am": "amo", "ob": "oba", "obd": "oba", "obad": "oba", "mc": "mic", "na": "nam", "hb": "hab", "haba": "hab", "habak": "hab", "ze": "zec", "zf": "zep", "zef": "zep", "hg": "hag", "zech": "zec", "ml": "mal", "mala": "mal", "mt": "mat", "matt": "mat", "mk": "mrk", "lk": "luk", "jn": "jhn", "ac": "act", "rm": "rom", "rms": "rom", "1cor": "1co", "1corin": "1co", "1 co": "1co", "1 cor": "1co", "1 corin": "1co", "2cor": "2co", "2corin": "2co", "2 co": "2co", "2 cor": "2co", "2 corin": "2co", "gl": "gal", "ep": "eph", "ef": "eph", "ph": "php", "phil": "php", "cl": "col", "colo": "col", "1thes": "1th", "1thess": "1th", "1 thes": "1th", "1 thess": "1th", "2thes": "2th", "2thess": "2th", "2 thes": "2th", "2 thess": "2th", "1tim": "1ti", "1 ti": "1ti", "1 tim": "1ti", "2tim": "2ti", "2 ti": "2ti", "2 tim": "2ti", "ti": "tit", "pi": "phm", "philm": "phm", "philem": "phm", "he": "heb", "ja": "jas", "jam": "jas", "1p": "1pe", "1pt": "1pe", "1pet": "1pe", "1 p": "1pe", "1 pe": "1pe", "1 pt": "1pe", "1 pet": "1pe", "2p": "2pe", "2pt": "2pe", "2pet": "2pe", "2 p": "2pe", "2 pe": "2pe", "2 pt": "2pe", "2 pet": "2pe", "1jon": "1jn", "1 jn": "1jn", "1 jon": "1jn", "2jon": "2jn", "2 jn": "2jn", "2 jon": "2jn", "3jon": "3jn", "3 jn": "3jn", "3 jon": "3jn", "ju": "jud", "rv": "rev", "reve": "rev"}; \ No newline at end of file