7 lines
3.5 KiB
Text
Executable file
7 lines
3.5 KiB
Text
Executable file
{
|
|
"version": 3,
|
|
"sources": ["../../node_modules/lunr-languages/lunr.vi.js"],
|
|
"sourcesContent": ["/*!\n * Lunr languages, `Vietnamese` language\n * https://github.com/MihaiValentin/lunr-languages\n *\n * Copyright 2017, Keerati Thiwanruk\n * http://www.mozilla.org/MPL/\n */\n/*!\n * based on\n * Snowball JavaScript Library v0.3\n * http://code.google.com/p/urim/\n * http://snowball.tartarus.org/\n *\n * Copyright 2010, Oleg Mazko\n * http://www.mozilla.org/MPL/\n */\n\n/**\n * export the module via AMD, CommonJS or as a browser global\n * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js\n */\n;\n(function(root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(factory)\n } else if (typeof exports === 'object') {\n /**\n * Node. Does not work with strict CommonJS, but\n * only CommonJS-like environments that support module.exports,\n * like Node.\n */\n module.exports = factory()\n } else {\n // Browser globals (root is window)\n factory()(root.lunr);\n }\n}(this, function() {\n /**\n * Just return a value to define the module export.\n * This example returns an object, but the module\n * can return a function as the exported value.\n */\n return function(lunr) {\n /* throw error if lunr is not yet included */\n if ('undefined' === typeof lunr) {\n throw new Error('Lunr is not present. Please include / require Lunr before this script.');\n }\n\n /* throw error if lunr stemmer support is not yet included */\n if ('undefined' === typeof lunr.stemmerSupport) {\n throw new Error('Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.');\n }\n\n /* register specific locale function */\n lunr.vi = function() {\n this.pipeline.reset();\n this.pipeline.add(\n lunr.vi.stopWordFilter,\n lunr.vi.trimmer\n );\n };\n\n /* lunr trimmer function */\n lunr.vi.wordCharacters = \"[\" +\n \"A-Za-z\" +\n \"\\u0300\\u0350\" + // d\u1EA5u huy\u1EC1n\n \"\\u0301\\u0351\" + // d\u1EA5u s\u1EAFc\n \"\\u0309\" + // d\u1EA5u h\u1ECFi\n \"\\u0323\" + // d\u1EA5u n\u1EB7ng\n \"\\u0303\\u0343\" + // d\u1EA5u ng\u00E3\n \"\\u00C2\\u00E2\" + // \u00C2\n \"\\u00CA\\u00EA\" + // \u00CA\n \"\\u00D4\\u00F4\" + // \u00D4\n \"\\u0102-\\u0103\" + // \u0102\n \"\\u0110-\\u0111\" + // \u0110\n \"\\u01A0-\\u01A1\" + // \u01A0\n \"\\u01AF-\\u01B0\" + // \u01AF\n \"]\";\n lunr.vi.trimmer = lunr.trimmerSupport.generateTrimmer(lunr.vi.wordCharacters);\n lunr.Pipeline.registerFunction(lunr.vi.trimmer, 'trimmer-vi');\n lunr.vi.stopWordFilter = lunr.generateStopWordFilter('l\u00E0 c\u00E1i nh\u01B0ng m\u00E0'.split(' '));\n };\n}))"],
|
|
"mappings": "4CAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,EAsBC,SAASC,EAAMC,EAAS,CACnB,OAAO,QAAW,YAAc,OAAO,IAEzC,OAAOA,CAAO,EACL,OAAOH,GAAY,SAM5BC,EAAO,QAAUE,EAAQ,EAGzBA,EAAQ,EAAED,EAAK,IAAI,CAEvB,GAAEF,EAAM,UAAW,CAMjB,OAAO,SAASI,EAAM,CAEpB,GAAoB,OAAOA,EAAvB,IACF,MAAM,IAAI,MAAM,wEAAwE,EAI1F,GAAoB,OAAOA,EAAK,eAA5B,IACF,MAAM,IAAI,MAAM,wGAAwG,EAI1HA,EAAK,GAAK,UAAW,CACnB,KAAK,SAAS,MAAM,EACpB,KAAK,SAAS,IACZA,EAAK,GAAG,eACRA,EAAK,GAAG,OACV,CACF,EAGAA,EAAK,GAAG,eAAiB,uIAezBA,EAAK,GAAG,QAAUA,EAAK,eAAe,gBAAgBA,EAAK,GAAG,cAAc,EAC5EA,EAAK,SAAS,iBAAiBA,EAAK,GAAG,QAAS,YAAY,EAC5DA,EAAK,GAAG,eAAiBA,EAAK,uBAAuB,gCAAkB,MAAM,GAAG,CAAC,CACnF,CACF,CAAC",
|
|
"names": ["require_lunr_vi", "__commonJSMin", "exports", "module", "root", "factory", "lunr"]
|
|
}
|