{"version":3,"sources":["jsdelivr-header.js","/npm/modern-greek-accentuation@1.2.1/package/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,eAAiB,QAAQ,kBACzB,YAAc,QAAQ,eACtB,gBAAkB,QAAQ,mBAC1B,IAAM,CAUR,mBAAoB,eAAe,mBAWnC,cAAe,SAAU,EAAM,GAAY,GACvC,OAAI,EACO,eAAe,OAAO,wCAAwC,GAG9D,eAAe,OAAO,2BAA2B,EAEhE,EAUA,cAAe,eAAe,cAW9B,UAAW,eAAe,UAU1B,8BAA+B,eAAe,8BAU9C,0BAA2B,eAAe,0BAU1C,uBAAwB,eAAe,uBAUvC,qBAAsB,YAAY,qBASlC,sBAAuB,gBAAgB,sBASvC,oBAAqB,gBAAgB,oBASrC,oBAAqB,gBAAgB,qBAEzC,OAAO,QAAU","file":"/npm/modern-greek-accentuation@1.2.1/package/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/modern-greek-accentuation@1.2.1/package/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst accentuation_1 = require(\"./accentuation\");\nconst syllabify_1 = require(\"./syllabify\");\nconst transcription_1 = require(\"./transcription\");\nconst mga = {\n    /**\n     * Convert from polytonic to monotonic\n     *\n     * @method convertToMonotonic\n     * @static\n     * @param {String} sentence_or_word\n     * @param {Boolean} one_syllable_rule, default true, that is removes accent from single syllable words with some exceptions.\n     * @returns {String}\n     */\n    convertToMonotonic: accentuation_1.convertToMonotonic,\n    /**\n     * Removes all diacritics, in monotonic and polytonic script, but diaeresis stays or is restored\n     *\n     * @method sanitizeGreek\n     * @static\n     * @param {String} text\n     * @param {Boolean} diaeresis, default true, if false, doesnt remove diaeresis, and even restores it if needed after removing an accent\n     * @returns {String}\n     *\n     */\n    sanitizeGreek: function (text, diaeresis = true) {\n        if (diaeresis) {\n            return accentuation_1.remove.removeAccentsAndDiacriticsWithDiaeresis(text);\n        }\n        else {\n            return accentuation_1.remove.removeAccentsAndDiacritics(text);\n        }\n    },\n    /**\n     * Shows placement of an accent\n     *\n     * @method whereIsAccent\n     * @static\n     * @param {String} word\n     * @param {Boolean} true_syllabification, default true, that is treats \"i\" sound after consonants not as a vowel. If false, all \"i\" sounds treated as vowels.\n     * @returns {\"PENULTIMATE\" || \"ULTIMATE\" || \"ANTEPENULTIMATE\" || \"INCORRECT_ACCENT\" || null}\n     */\n    whereIsAccent: accentuation_1.whereIsAccent,\n    /**\n     * Puts accent on a word (\"PENULTIMATE\", \"ULTIMATE\", \"ANTEPENULTIMATE\")\n     *\n     * @method putAccent\n     * @static\n     * @param {String} word\n     * @param {\"PENULTIMATE\" || \"ULTIMATE\" || \"ANTEPENULTIMATE\"} accent_name it has to be \"PENULTIMATE\" or \"ULTIMATE\" or \"ANTEPENULTIMATE\"\n     * @param {Boolean} true_syllabification, default true, that is treats \"i\" sound after consonants not as a vowel. If false, all \"i\" sounds treated as vowels.\n     * @returns {String}\n     * */\n    putAccent: accentuation_1.putAccent,\n    /**\n     * Puts accent on the antepenultimate syllable, the same as putAccent(word, \"ANTEPENULTIMATE\")\n     *\n     * @method putAccentOnTheAntepenultimate\n     * @static\n     * @param {String} word\n     * @param {Boolean} true_syllabification, default true, that is treats \"i\" sound after consonants not as a vowel. If false, all \"i\" sounds treated as vowels.\n     * @returns {String}\n     */\n    putAccentOnTheAntepenultimate: accentuation_1.putAccentOnTheAntepenultimate,\n    /**\n     * Puts accent on the penultimate syllable, the same as putAccent(word, \"PENULTIMATE\")\n     *\n     * @method putAccentOnThePenultimate\n     * @static\n     * @param {String} word\n     * @param {Boolean} true_syllabification, default true, that is treats \"i\" sound after consonants not as a vowel. If false, all \"i\" sounds treated as vowels.\n     * @returns {String}\n     */\n    putAccentOnThePenultimate: accentuation_1.putAccentOnThePenultimate,\n    /**\n     * Puts accent on the ultimate syllable, the same as putAccent(word, \"ULTIMATE\")\n     *\n     * @method putAccentOnTheUltimate\n     * @static\n     * @param {String} word\n     * @param {Boolean} true_syllabification, default true, that is treats \"i\" sound after consonants not as a vowel. If false, all \"i\" sounds treated as vowels.\n     * @returns {String}\n     */\n    putAccentOnTheUltimate: accentuation_1.putAccentOnTheUltimate,\n    /**\n     * Divide word into syllables\n     *\n     * @method modernGreekSyllabify\n     * @static\n     * @param {string} word\n     * @param {Boolean} true_syllabification, default true, that is treats \"i\" sound after consonants not as a vowel. If false, all \"i\" sounds treated as vowels.\n     * @returns {Array} array with syllables\n     */\n    modernGreekSyllabify: syllabify_1.modernGreekSyllabify,\n    /**\n     * Transcription according to erasmian (simplified) pronunciation.\n     *\n     * @method erasmianTranscription\n     * @static\n     * @param {String} text\n     * @returns {String}\n     */\n    erasmianTranscription: transcription_1.erasmianTranscription,\n    /**\n     * Simplified transcription into latin alphabet, similar to Erasmian, but evaluats η to h.\n     *\n     * @method simpleTranscription\n     * @static\n     * @param {String} text\n     * @returns {String}\n     */\n    simpleTranscription: transcription_1.simpleTranscription,\n    /**\n     * Phonetic simplified transcription\n     *\n     * @method modernTranscription\n     * @static\n     * @param {String} word\n     * @returns {String}\n     */\n    modernTranscription: transcription_1.modernTranscription\n};\nmodule.exports = mga;\n"]}