{"version":3,"sources":["jsdelivr-header.js","/npm/hanacaraka@0.2.0/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,IAAI,OAAS,QAAQ,UAKrB,SAAS,OAAO,GAEZ,OADa,EAAO,MAAM,IAAI,IAAI,OAAO,cAC3B,KAAK,IAAI,aAC3B,CAMA,SAAS,OAAO,GAGZ,OAFgB,OAAO,cAAc,EAAK,eACnB,IAAI,OAAO,YACpB,KAAK,GACvB,CATA,QAAQ,OAAS,OAUjB,QAAQ,OAAS","file":"/npm/hanacaraka@0.2.0/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/hanacaraka@0.2.0/dist/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 });\nvar util_1 = require(\"./util\");\n/**\n * Change javanese script into corresponding latin character\n * @param script single word in javanese script\n */\nfunction decode(script) {\n    var output = script.split(\"\").map(util_1.fromJavanese);\n    return output.join(\"\").toUpperCase();\n}\nexports.decode = decode;\n/**\n * Change latin character into corresponding javanese script\n * @param text single word in latin character\n */\nfunction encode(text) {\n    var syllables = util_1.splitSyllable(text.toLowerCase());\n    var output = syllables.map(util_1.toJavanese);\n    return output.join(\"\");\n}\nexports.encode = encode;\n"]}