Latest repo

This commit is contained in:
Marc
2025-06-02 16:42:16 +00:00
parent 53ddf1a329
commit cde5fae175
27907 changed files with 3875388 additions and 1 deletions

264
node_modules/hyphen/CHANGELOG generated vendored Normal file
View File

@@ -0,0 +1,264 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.10.6]
### Changed
- Optimized patterns dictionary size
## [1.10.5]
### Fixed
- Fixed the issue with bad hyphenation, that started in version 1.7.0
## [1.10.4]
### Fixed
- Fixed problem with `en-us.cjs.js` in package build
## [1.10.3]
### Changed
- Optimized text parsing when `html` option is `false`
## [1.10.2]
### Changed
- Destructured text reader into composable verifiers
- Optimized patterns storage to reduce patterns file size
## [1.10.1]
### Changed
- Optimized patterns storage to reduce patterns file size
### Fixed
- Fixed hyphenation exceptions for Norwegian-bokmål, Norwegian-nynorsk language patterns; minor patterns fixes
## [1.10.0]
### Changed
- BREAKING CHANGE: Option `html` default value changed to `true`
## [1.9.1] - 2023-11-17
### Changed
- Simplified patterns export container
### Fixed
- Fixed broken patterns for Norwegian-bokmål, Norwegian-nynorsk language patterns
## [1.9.0] - 2023-11-13
### Changed
- Moved patterns trie generation step to build phase
## [1.8.0] - 2023-11-08
### Added
- Added `exceptions` option
### Changed
- Exclude debug code from production build
### Fixed
- Fixed broken patterns exceptions
## [1.7.2] - 2023-11-07
### Changed
- Reworked text reader in favour of if statements
## [1.7.1] - 2023-10-29
### Fixed
- Fixed bad hyphenation of words with apostrophe symbol
## [1.7.0] - 2023-10-11
### Changed
- Prebuild a dictionary trie to improve performance of a hyphenation algorithm
## [1.6.6] - 2023-06-04
### Fixed
- Minor performance fix
## [1.6.5] - 2023-03-11
### Added
- Add async web worker support
## [1.6.4] - 2021-04-04
### Fixed
- Handle the edge case of a word “constructor” being interpreted as a JavaScript keyword. - by [@arseni-mourzenko](https://github.com/arseni-mourzenko)
## [1.6.3] - 2021-04-04
### Fixed
- Change undesired behavior of option `minWordLength`: value now can be set to less than 5 - by [@kamilmielnik](https://github.com/kamilmielnik)
## [1.6.2] - 2020-06-03
### Fixed
- Prevent hyphenation of HTML attributes in hyphenateHTML
## [1.6.0] - 2020-05-08
### Added
- Add option `minWordLength`
## [1.5.0] - 2020-04-03
### Added
- Add ability to configure initialized hyphenator function
- Add exports for nodejs and webpack environments
### Changed
- Skip HTML syntax only when `html` option is set to true
- License changed to ISC
### Fixed
- Fix bad script behavior in async mode
## [1.3.1] - 2020-03-28
### Changed
- Split source code into several files with following bundling
### Fixed
- Replaced template literals for ES3 compatibility
## [1.3.0] - 2020-03-25
### Added
- Add HTML sections exclusion from hyphenation
- Add async mode
- Protect hyphenated text from repeated hyphenation
## [1.2.1] - 2020-03-18
### Changed
- Reduced NPM package size
## [1.2.0] - 2020-03-18
### Fixed
- Fixed badly processed repeated patterns in a word by [@jaumeortola](https://github.com/jaumeortola)
- Fixed a case when a special character is considered a letter
## [1.1.1] - 2019-03-20
### Changed
- Replaced a unicode literal char with a corresponding code by [@oskarkook](https://github.com/oskarkook)
### Fixed
- Bugfix by [@krisztianb](https://github.com/krisztianb)
## [1.1.0] - 2019-02-10
### Changed
- Rebuilt patterns with tex2js translator
### Fixed
- Fixed bad patternData by [@datakurre](https://github.com/datakurre)
- Fixed typos by [@millette](https://github.com/millette)
## [1.0.2] - 2016-08-28
### Fixed
- Fixed bad return value when EOF by [@nicosierra](https://github.com/nicosierra)
## [1.0.1] - 2016-08-18
### Added
- Output stats in debug mode
### Fixed
- Fixed typos by [@jhwohlgemuth](https://github.com/jhwohlgemuth)
- Fixed bad word extraction
## [1.0.0] - 2016-08-07
### Added
- First working version with 75 language patterns
[unreleased]: https://github.com/ytiurin/hyphen/compare/v1.10.6...HEAD
[v1.10.6]: https://github.com/ytiurin/hyphen/compare/v1.10.5...v1.10.6
[v1.10.5]: https://github.com/ytiurin/hyphen/compare/v1.10.4...v1.10.5
[v1.10.4]: https://github.com/ytiurin/hyphen/compare/v1.10.3...v1.10.4
[v1.10.3]: https://github.com/ytiurin/hyphen/compare/v1.10.2...v1.10.3
[v1.10.2]: https://github.com/ytiurin/hyphen/compare/v1.10.1...v1.10.2
[v1.10.1]: https://github.com/ytiurin/hyphen/compare/v1.10.0...v1.10.1
[v1.10.0]: https://github.com/ytiurin/hyphen/compare/v1.9.1...v1.10.0
[v1.9.1]: https://github.com/ytiurin/hyphen/compare/v1.9.0...v1.9.1
[v1.9.0]: https://github.com/ytiurin/hyphen/compare/v1.8.0...v1.9.0
[v1.8.0]: https://github.com/ytiurin/hyphen/compare/v1.7.2...v1.8.0
[v1.7.2]: https://github.com/ytiurin/hyphen/compare/v1.7.1...v1.7.2
[v1.7.1]: https://github.com/ytiurin/hyphen/compare/v1.7.0...v1.7.1
[v1.7.0]: https://github.com/ytiurin/hyphen/compare/v1.6.6...v1.7.0
[v1.6.6]: https://github.com/ytiurin/hyphen/compare/v1.6.5...v1.6.6
[v1.6.5]: https://github.com/ytiurin/hyphen/compare/v1.6.4...v1.6.5
[v1.6.4]: https://github.com/ytiurin/hyphen/compare/v1.6.3...v1.6.4
[v1.6.3]: https://github.com/ytiurin/hyphen/compare/v1.6.2...v1.6.3
[v1.6.2]: https://github.com/ytiurin/hyphen/compare/v1.6.1...v1.6.2
[v1.6.1]: https://github.com/ytiurin/hyphen/compare/v1.6.0...v1.6.1
[v1.6.0]: https://github.com/ytiurin/hyphen/compare/v1.5.1...v1.6.0
[v1.5.1]: https://github.com/ytiurin/hyphen/compare/v1.5.0...v1.5.1
[v1.5.0]: https://github.com/ytiurin/hyphen/compare/v1.3.1...v1.5.0
[v1.3.1]: https://github.com/ytiurin/hyphen/compare/v1.3.0...v1.3.1
[v1.3.0]: https://github.com/ytiurin/hyphen/compare/v1.2.1...v1.3.0
[v1.2.1]: https://github.com/ytiurin/hyphen/compare/v1.2.0...v1.2.1
[v1.2.0]: https://github.com/ytiurin/hyphen/compare/v1.1.1...v1.2.0
[v1.1.1]: https://github.com/ytiurin/hyphen/compare/v1.1.0...v1.1.1
[v1.1.0]: https://github.com/ytiurin/hyphen/compare/1.0.2...v1.1.0
[1.0.2]: https://github.com/ytiurin/hyphen/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/ytiurin/hyphen/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/ytiurin/hyphen/releases/tag/1.0.0

15
node_modules/hyphen/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,15 @@
ISC License (ISC)
Copyright (c) 2023, Yevhen Tiurin <yevhentiurin@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

805
node_modules/hyphen/README.md generated vendored Normal file
View File

@@ -0,0 +1,805 @@
![Franklin M. Liang's hyphenation algorithm](https://ytiurin.github.io/hyphen/01.png)
[![npm version](https://badge.fury.io/js/hyphen.svg)](https://badge.fury.io/js/hyphen)<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
# hyphen
[Demo page](https://ytiurin.github.io/hyphen/)
This is a text hyphenation library, based on Franklin M. Liang's [hyphenation algorithm](https://tug.org/docs/liang/ "Frank Liang wrote his Stanford Ph.D. thesis on a hyphenation algorithm that is standard in TeX, and has been adapted to numerous languages."). In core of the algorithm lies a set of hyphenation patterns. They are extracted from hand-hyphenated dictionaries. Patterns for this library were taken from [ctan.org](https://ctan.org/ "The Comprehensive TEX Archive Network (CTAN) is the central place for all kinds of material around TEX.") and ported to Javascript.
```javascript
import { hyphenate } from "hyphen/en";
(async () => {
const text = "A certain king had a beautiful garden";
const result = await hyphenate(text);
// result is "A cer\u00ADtain king had a beau\u00ADti\u00ADful garden"
})();
```
## Hyphenate HTML
Processor will automaticly skip HTML tags hyphenation.
```javascript
import { hyphenate } from "hyphen/en";
(async () => {
const text = "<blockquote>A certain king had a beautiful garden</blockquote>";
const result = await hyphenate(text);
// result is "<blockquote>A cer\u00ADtain king had a beau\u00ADti\u00ADful garden</blockquote>"
})();
```
## Multilingual hyphenation
To hypehante text in any other supported language, just change the `import` source. For example for German language, import a hyphenation function from a `"hyphen/de"` source.
```javascript
import { hyphenate } from "hyphen/de";
(async () => {
const text = "Ein gewisser König hatte einen wunderschönen Garten";
const result = await hyphenate(text);
// result is "Ein ge\u00ADwis\u00ADser Kö\u00ADnig hat\u00ADte einen wun\u00ADder\u00ADschö\u00ADnen Gar\u00ADten"
})();
```
It is possible to use many langauges on the same page.
```javascript
import { hyphenate as hyphenateEn } from "hyphen/en";
import { hyphenate as hyphenateDe } from "hyphen/de";
(async () => {
const english = "A certain king had a beautiful garden";
const englishResult = await hyphenateEn(english);
// result is "A cer\u00ADtain king had a beau\u00ADti\u00ADful garden"
const deutch = "Ein gewisser König hatte einen wunderschönen Garten";
const deutchResult = await hyphenateDe(deutch);
// result is "Ein ge\u00ADwis\u00ADser Kö\u00ADnig hat\u00ADte einen wun\u00ADder\u00ADschö\u00ADnen Gar\u00ADten"
})();
```
## Sync version
The `hyphenate` function returns a `Promise`, however a sync version of it returns a `string`.
```javascript
import { hyphenateSync as hyphenate } from "hyphen/en";
const text = "A certain king had a beautiful garden";
const result = hyphenate(text);
// result is "A cer\u00ADtain king had a beau\u00ADti\u00ADful garden"
```
## Install
```
npm install hyphen
```
Install types definitions for Typescript usage.
```
npm install --save-dev @types/hyphen
```
Types definitions are created and maintained by [Krisztián Balla](https://github.com/krisztianb).
## Options
- **exceptions**
An `Array` of values with exceptions of hyphenation in words. Hard hyphen symbol `-` should be used to mark the position of further configured hyphenation symbol. Default value is `[]`.
- **hyphenChar**
A `String` sets a value of the soft hyphen character. Default value is `\u00AD`.
- **minWordLength**
A `Number` sets the minimum length of the word, intended for hyphenation. Default value is `5`.
### Example of using options
```javascript
import { hyphenate } from "hyphen/en";
(async () => {
const text = "A certain king had a beautiful garden";
const result = await hyphenate(text, {
hyphenChar: "-"
});
// result is "A cer-tain king had a beau-ti-ful garden"
})();
```
## List of available languages
<details>
<summary>Check the list</summary>
- Afrikaans language
```javascript
import { hyphenate } from "hyphen/af";
```
- Assamese language
```javascript
import { hyphenate } from "hyphen/as";
```
- Belarusian language
```javascript
import { hyphenate } from "hyphen/be";
```
- Bulgarian language
```javascript
import { hyphenate } from "hyphen/bg";
```
- Bengali language
```javascript
import { hyphenate } from "hyphen/bn";
```
- Catalan language
```javascript
import { hyphenate } from "hyphen/ca";
```
- Coptic language
```javascript
import { hyphenate } from "hyphen/cop";
```
- Czech language
```javascript
import { hyphenate } from "hyphen/cs";
```
- Welsh language
```javascript
import { hyphenate } from "hyphen/cy";
```
- Church Slavonic language
```javascript
import { hyphenate } from "hyphen/cu";
```
- Danish language
```javascript
import { hyphenate } from "hyphen/da";
```
- German, traditional spelling
```javascript
import { hyphenate } from "hyphen/de-1901";
```
- German, reformed spelling
```javascript
import { hyphenate } from "hyphen/de-1996";
```
- German, traditional Swiss spelling
```javascript
import { hyphenate } from "hyphen/de-CH-1901";
```
- Modern Greek, monotonic spelling
```javascript
import { hyphenate } from "hyphen/el-monoton";
```
- Modern Greek, polytonic spelling
```javascript
import { hyphenate } from "hyphen/el-polyton";
```
- English, British spelling language
```javascript
import { hyphenate } from "hyphen/en-gb";
```
- English, American spelling language
```javascript
import { hyphenate } from "hyphen/en-us";
```
- Spanish language
```javascript
import { hyphenate } from "hyphen/es";
```
- Estonian language
```javascript
import { hyphenate } from "hyphen/et";
```
- Basque language
```javascript
import { hyphenate } from "hyphen/eu";
```
- Finnish language
```javascript
import { hyphenate } from "hyphen/fi";
```
- French language
```javascript
import { hyphenate } from "hyphen/fr";
```
- Friulan language
```javascript
import { hyphenate } from "hyphen/fur";
```
- Irish language
```javascript
import { hyphenate } from "hyphen/ga";
```
- Galician language
```javascript
import { hyphenate } from "hyphen/gl";
```
- Ancient Greek language
```javascript
import { hyphenate } from "hyphen/grc";
```
- Gujarati language
```javascript
import { hyphenate } from "hyphen/gu";
```
- Hindi language
```javascript
import { hyphenate } from "hyphen/hi";
```
- Croatian language
```javascript
import { hyphenate } from "hyphen/hr";
```
- Upper Sorbian language
```javascript
import { hyphenate } from "hyphen/hsb";
```
- Hungarian language
```javascript
import { hyphenate } from "hyphen/hu";
```
- Armenian language
```javascript
import { hyphenate } from "hyphen/hy";
```
- Interlingua language
```javascript
import { hyphenate } from "hyphen/ia";
```
- Bahasa Indonesia, Indonesian language
```javascript
import { hyphenate } from "hyphen/id";
```
- Icelandic language
```javascript
import { hyphenate } from "hyphen/is";
```
- Italian language
```javascript
import { hyphenate } from "hyphen/it";
```
- Georgian language
```javascript
import { hyphenate } from "hyphen/ka";
```
- Kurmanji, Northern Kurdish language
```javascript
import { hyphenate } from "hyphen/kmr";
```
- Kannada language
```javascript
import { hyphenate } from "hyphen/kn";
```
- Classical Latin language
```javascript
import { hyphenate } from "hyphen/la-x-classic";
```
- Liturgical Latin language
```javascript
import { hyphenate } from "hyphen/la-x-liturgic";
```
- Latin language
```javascript
import { hyphenate } from "hyphen/la";
```
- Lithuanian language
```javascript
import { hyphenate } from "hyphen/lt";
```
- Latvian language
```javascript
import { hyphenate } from "hyphen/lv";
```
- Malayalam language
```javascript
import { hyphenate } from "hyphen/ml";
```
- Mongolian, Cyrillic script, alternative patterns
```javascript
import { hyphenate } from "hyphen/mn-cyrl-x-lmc";
```
- Mongolian, Cyrillic script
```javascript
import { hyphenate } from "hyphen/mn-cyrl";
```
- Marathi language
```javascript
import { hyphenate } from "hyphen/mr";
```
- Multiple languages using the Ethiopic scripts
```javascript
import { hyphenate } from "hyphen/mul-ethi";
```
- Norwegian Bokmål, bokmål, norsk bokmål language
```javascript
import { hyphenate } from "hyphen/nb";
```
- Dutch language
```javascript
import { hyphenate } from "hyphen/nl";
```
- Norwegian Nynorsk, nynorsk language
```javascript
import { hyphenate } from "hyphen/nn";
```
- Norwegian, norsk language
```javascript
import { hyphenate } from "hyphen/no";
```
- Occitan language
```javascript
import { hyphenate } from "hyphen/oc";
```
- Odia, Oriya language
```javascript
import { hyphenate } from "hyphen/or";
```
- Panjabi, Punjabi language
```javascript
import { hyphenate } from "hyphen/pa";
```
- Pāli language
```javascript
import { hyphenate } from "hyphen/pi";
```
- Polish language
```javascript
import { hyphenate } from "hyphen/pl";
```
- Piedmontese language
```javascript
import { hyphenate } from "hyphen/pms";
```
- Portuguese language
```javascript
import { hyphenate } from "hyphen/pt";
```
- Romansh language
```javascript
import { hyphenate } from "hyphen/rm";
```
- Romanian language
```javascript
import { hyphenate } from "hyphen/ro";
```
- Russian language
```javascript
import { hyphenate } from "hyphen/ru";
```
- Sanskrit language
```javascript
import { hyphenate } from "hyphen/sa";
```
- Serbocroatian, Cyrillic script
```javascript
import { hyphenate } from "hyphen/sh-cyrl";
```
- Serbocroatian, Latin script
```javascript
import { hyphenate } from "hyphen/sh-latn";
```
- Slovak language
```javascript
import { hyphenate } from "hyphen/sk";
```
- Slovenian language
```javascript
import { hyphenate } from "hyphen/sl";
```
- Serbian, Cyrillic script
```javascript
import { hyphenate } from "hyphen/sr-cyrl";
```
- Swedish language
```javascript
import { hyphenate } from "hyphen/sv";
```
- Tamil language
```javascript
import { hyphenate } from "hyphen/ta";
```
- Telugu language
```javascript
import { hyphenate } from "hyphen/te";
```
- Thai language
```javascript
import { hyphenate } from "hyphen/th";
```
- Turkmen language
```javascript
import { hyphenate } from "hyphen/tk";
```
- Turkish language
```javascript
import { hyphenate } from "hyphen/tr";
```
- Ukrainian language
```javascript
import { hyphenate } from "hyphen/uk";
```
- Mandarin Chinese, pinyin transliteration
```javascript
import { hyphenate } from "hyphen/zh-latn-pinyin";
```
### Aliases for specific languages
- Alias for `hyphen/de-1996`
```javascript
import { hyphenate } from "hyphen/de";
```
- Alias for `hyphen/el-monoton`
```javascript
import { hyphenate } from "hyphen/el";
```
- Alias for `hyphen/en-us`
```javascript
import { hyphenate } from "hyphen/en";
```
- Alias for `hyphen/mul-ethi`
```javascript
import { hyphenate } from "hyphen/ethi";
```
- Alias for `hyphen/mn-cyrl`
```javascript
import { hyphenate } from "hyphen/mn";
```
- Alias for `hyphen/sh-cyrl`
```javascript
import { hyphenate } from "hyphen/sh";
```
- Alias for `hyphen/sr-cyrl`
```javascript
import { hyphenate } from "hyphen/sr";
```
- Alias for `hyphen/zh-latn-pinyin`
```javascript
import { hyphenate } from "hyphen/zh";
```
</details>
## Factory function
Factory function can be used to create `hyphenate` function with changed default options.
### Create hyphenation function with predefined exception list
```javascript
import createHyphenator from "hyphen";
import patterns from "hyphen/patterns/en-us";
const hyphenate = createHyphenator(patterns, {
// result in Promise
async: true,
// exceptions of hyphenation
exceptions: ["present", "ta-ble"]
});
```
### Predefined functions
The following are predefined `hyphenate` functions.
```javascript
import createHyphenator from "hyphen";
import patterns from "hyphen/patterns/en-us";
const hyphenate = createHyphenator(patterns, {
async: true
});
const hyphenateSync = createHyphenator(patterns);
```
Predefined `hyphenate` functions are set in every language pack.
## jsDelivr CDN for older websites
It is possible to use `hyphen` on older websites with [jsDelivr](https://www.jsdelivr.com/) network. Check the [package page](https://www.jsdelivr.com/package/npm/hyphen) on their website.
```html
<script src="https://cdn.jsdelivr.net/npm/hyphen@1.10.6/patterns/en-us.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/hyphen@1.10.6/hyphen.min.js"></script>
```
After the script is added on your page, use еру `createHyphenator` to create a `hyphenate` function.
```javascript
var hyphenate = createHyphenator(hyphenationPatternsEnUs, {
async: true
});
```
## Alternatives
Check other great hyphenation libraries:
- [Hyphenopoly](https://mnater.github.io/Hyphenopoly/) does client-side hyphenation of HTML-Documents.
- [Hypher](https://github.com/bramstein/hypher) A fast and small hyphenation engine.
## Text hyphenation in CSS
The CSS `hyphens` property is intended to add hyphenation support to modern browsers without Javascript:
```css
p {
hyphens: auto;
}
```
It is part of the [CSS Text Level 3](https://drafts.csswg.org/css-text-3/#hyphens-property) specification. The browser compatibility list can be found on the [related MDN page](https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens).
## DEPRECATED
- Option `debug` will be deprecated in further versions;
## Migration
<details>
<summary>from <strong>1.9.1</strong> to <strong>1.10.0</strong></summary>
Option `html` default value changed from `false` to `true`
In cases when text parser should not skip HTML tags, apply the following code changes.
Default exported `hyphenate` function
```javascript
// Code before 1.10.0
hyphenate(text);
```
```javascript
// Code after 1.10.0
hyphenate(text, { html: false });
```
Create `hyphenate` function with pre **1.10.0** behavior using a factory function:
```javascript
// Code after 1.10.0
const hyphenate = createHyphenator(patterns, {
async: true,
html: false
});
hyphenate(text);
```
</details>
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="20%"><a href="https://github.com/ytiurin"><img src="https://avatars.githubusercontent.com/u/1114034?v=4?s=160" width="160px;" alt="Eugene Tiurin"/><br /><sub><b>Eugene Tiurin</b></sub></a><br /><a href="#ideas-ytiurin" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ytiurin/hyphen/commits?author=ytiurin" title="Code">💻</a> <a href="#maintenance-ytiurin" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="20%"><a href="https://stackoverflow.com/users/434742/krisztian-balla"><img src="https://avatars.githubusercontent.com/u/4902918?v=4?s=160" width="160px;" alt="Krisztián Balla"/><br /><sub><b>Krisztián Balla</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/issues?q=author%3Akrisztianb" title="Bug reports">🐛</a> <a href="#mentoring-krisztianb" title="Mentoring">🧑‍🏫</a> <a href="#promotion-krisztianb" title="Promotion">📣</a></td>
<td align="center" valign="top" width="20%"><a href="https://robin.millette.info/"><img src="https://avatars.githubusercontent.com/u/50741?v=4?s=160" width="160px;" alt="Robin Millette"/><br /><sub><b>Robin Millette</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=millette" title="Code">💻</a> <a href="https://github.com/ytiurin/hyphen/issues?q=author%3Amillette" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="20%"><a href="http://datakurre.pandala.org/"><img src="https://avatars.githubusercontent.com/u/160447?v=4?s=160" width="160px;" alt="Asko Soukka"/><br /><sub><b>Asko Soukka</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=datakurre" title="Code">💻</a> <a href="https://github.com/ytiurin/hyphen/issues?q=author%3Adatakurre" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="20%"><a href="https://github.com/nicosierra"><img src="https://avatars.githubusercontent.com/u/1434298?v=4?s=160" width="160px;" alt="Nicolas Sierra"/><br /><sub><b>Nicolas Sierra</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=nicosierra" title="Code">💻</a> <a href="https://github.com/ytiurin/hyphen/issues?q=author%3Anicosierra" title="Bug reports">🐛</a></td>
</tr>
<tr>
<td align="center" valign="top" width="20%"><a href="https://github.com/jaumeortola"><img src="https://avatars.githubusercontent.com/u/4289501?v=4?s=160" width="160px;" alt="Jaume Ortolà"/><br /><sub><b>Jaume Ortolà</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=jaumeortola" title="Code">💻</a> <a href="https://github.com/ytiurin/hyphen/issues?q=author%3Ajaumeortola" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="20%"><a href="https://simons.page/"><img src="https://avatars.githubusercontent.com/u/4338202?v=4?s=160" width="160px;" alt="Simon Osterlehner"/><br /><sub><b>Simon Osterlehner</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=Simolation" title="Code">💻</a></td>
<td align="center" valign="top" width="20%"><a href="https://github.com/jhwohlgemuth"><img src="https://avatars.githubusercontent.com/u/6383605?v=4?s=160" width="160px;" alt="Jason Wohlgemuth"/><br /><sub><b>Jason Wohlgemuth</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=jhwohlgemuth" title="Documentation">📖</a></td>
<td align="center" valign="top" width="20%"><a href="https://kamilmielnik.com/"><img src="https://avatars.githubusercontent.com/u/6830683?v=4?s=160" width="160px;" alt="Kamil Mielnik"/><br /><sub><b>Kamil Mielnik</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=kamilmielnik" title="Code">💻</a> <a href="https://github.com/ytiurin/hyphen/issues?q=author%3Akamilmielnik" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="20%"><a href="https://github.com/oskarkook"><img src="https://avatars.githubusercontent.com/u/9250552?v=4?s=160" width="160px;" alt="Oskar Köök"/><br /><sub><b>Oskar Köök</b></sub></a><br /><a href="https://github.com/ytiurin/hyphen/commits?author=oskarkook" title="Code">💻</a> <a href="https://github.com/ytiurin/hyphen/issues?q=author%3Aoskarkook" title="Bug reports">🐛</a></td>
</tr>
</tbody>
<tfoot>
<tr>
<td align="center" size="13px" colspan="5">
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
</img>
</td>
</tr>
</tfoot>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

3
node_modules/hyphen/af/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/af.js")
);

3
node_modules/hyphen/as/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/as.js")
);

3
node_modules/hyphen/be/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/be.js")
);

3
node_modules/hyphen/bg/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/bg.js")
);

3
node_modules/hyphen/bn/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/bn.js")
);

23
node_modules/hyphen/bower.json generated vendored Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "hyphe",
"description": "Text hyphenation in Javascript.",
"main": "hyphen.js",
"authors": [
"Eugene Tiurin <yevhentiurin@gmail.com> (https://github.com/ytiurin)"
],
"license": "ISC",
"keywords": [
"hyphen",
"hyphenate",
"hyphenation",
"hyphenator"
],
"homepage": "https://github.com/ytiurin/hyphen",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}

3
node_modules/hyphen/ca/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/ca.js")
);

3
node_modules/hyphen/cop/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/cop.js")
);

3
node_modules/hyphen/cs/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/cs.js")
);

3
node_modules/hyphen/cu/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/cu.js")
);

3
node_modules/hyphen/cy/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/cy.js")
);

3
node_modules/hyphen/da/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/da.js")
);

3
node_modules/hyphen/de-1901/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/de-1901.js")
);

3
node_modules/hyphen/de-1996/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/de-1996.js")
);

3
node_modules/hyphen/de-ch-1901/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/de-ch-1901.js")
);

1
node_modules/hyphen/de/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = require("../de-1996/index.js");

3
node_modules/hyphen/el-monoton/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/el-monoton.js")
);

3
node_modules/hyphen/el-polyton/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/el-polyton.js")
);

1
node_modules/hyphen/el/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = require("../el-monoton/index.js");

3
node_modules/hyphen/en-gb/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/en-gb.js")
);

3
node_modules/hyphen/en-us/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/en-us.js")
);

1
node_modules/hyphen/en/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = require("../en-us/index.js");

3
node_modules/hyphen/es/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/es.js")
);

3
node_modules/hyphen/et/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/et.js")
);

1
node_modules/hyphen/ethi/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = require("../mul-ethi/index.js");

3
node_modules/hyphen/eu/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/eu.js")
);

11
node_modules/hyphen/export-contract.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
var createHyphenator = require("./hyphen.js");
module.exports = function (patterns) {
return {
hyphenate: createHyphenator(patterns, { async: true }),
hyphenateHTML: createHyphenator(patterns, { async: true, html: true }),
hyphenateHTMLSync: createHyphenator(patterns, { html: true }),
hyphenateSync: createHyphenator(patterns),
patterns: patterns
};
};

3
node_modules/hyphen/fi/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/fi.js")
);

3
node_modules/hyphen/fr/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/fr.js")
);

3
node_modules/hyphen/fur/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/fur.js")
);

3
node_modules/hyphen/ga/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/ga.js")
);

3
node_modules/hyphen/gl/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/gl.js")
);

3
node_modules/hyphen/grc/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/grc.js")
);

3
node_modules/hyphen/gu/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/gu.js")
);

3
node_modules/hyphen/hi/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/hi.js")
);

3
node_modules/hyphen/hr/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/hr.js")
);

3
node_modules/hyphen/hsb/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/hsb.js")
);

3
node_modules/hyphen/hu/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/hu.js")
);

3
node_modules/hyphen/hy/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/hy.js")
);

412
node_modules/hyphen/hyphen.js generated vendored Normal file
View File

@@ -0,0 +1,412 @@
/** Text hyphenation in Javascript.
* Copyright (C) 2024 Yevhen Tiurin (yevhentiurin@gmail.com)
* https://github.com/ytiurin/hyphen
*
* Released under the ISC license
* https://github.com/ytiurin/hyphen/blob/master/LICENSE
*/
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.createHyphenator = factory();
}
})(this, function () {
function createTextReader(setup) {
var char1 = "";
var char2 = "";
var i = 0;
var verifier = setup();
return function (text) {
while (i < text.length) {
char1 = text.charAt(i++);
char2 = text.charAt(i);
var verified = verifier(char1, char2);
if (verified !== void 0) {
return verified;
}
}
};
}
var isNotLetter = RegExp.prototype.test.bind(
/\s|(?![\'])[\!-\@\[-\`\{-\~\u2013-\u203C]/
);
function createHTMLVerifier() {
var skip = false;
return function (accumulate, chars) {
if (skip) {
if (chars[0] === ">") {
accumulate();
skip = false;
}
} else if (
chars[0] === "<" &&
(!isNotLetter(chars[1]) || chars[1] === "/")
) {
skip = true;
}
return skip;
};
}
function createHyphenCharVerifier(hyphenChar) {
var skip = false;
return function (accumulate, chars) {
if (skip) {
if (!isNotLetter(chars[0]) && isNotLetter(chars[1])) {
accumulate();
skip = false;
}
} else if (!isNotLetter(chars[0]) && chars[1] === hyphenChar) {
skip = true;
}
return skip;
};
}
function createHyphenationVerifier(verifiers, minWordLength) {
return function () {
var accum0 = "";
var accum = "";
function accumulate() {
accum0 += accum;
accum = "";
}
function resolveWith(value) {
accum0 = "";
accum = "";
return value;
}
return function (char1, char2) {
accum += char1;
var skip = verifiers.reduce(function (skip2, verify) {
return skip2 || verify(accumulate, [char1, char2]);
}, false);
if (!skip) {
if (isNotLetter(char1) && !isNotLetter(char2)) {
accumulate();
}
if (!isNotLetter(char1) && isNotLetter(char2)) {
if (accum.length >= minWordLength) {
return resolveWith([accum0, accum]);
} else {
accumulate();
}
}
}
if (char2 === "") {
if (accum.length < minWordLength || skip) {
accumulate();
}
return resolveWith([accum0, accum]);
}
};
};
}
function createCharIterator(str) {
var i = 0;
function nextChar() {
return str[i++];
}
return nextChar;
}
function createStringSlicer(str) {
var i = 0,
slice = str;
function next() {
slice = str.slice(i++);
if (slice.length < 3) {
return;
}
return slice;
}
function isFirstCharacter() {
return i === 2;
}
return [next, isFirstCharacter];
}
function hyphenateWord(text, levelsTable, patternTrie, debug, hyphenChar) {
var levels = new Array(text.length + 1),
loweredText = ("." + text.toLocaleLowerCase() + ".").split(""),
wordSlice,
letter,
triePtr,
trieNode,
patternLevelsIndex,
patternLevels,
patternEntityIndex = -1,
slicer,
nextSlice,
isFirstCharacter,
nextLetter;
for (var i = levels.length; i--; ) levels[i] = 0;
slicer = createStringSlicer(loweredText);
nextSlice = slicer[0];
isFirstCharacter = slicer[1];
while ((wordSlice = nextSlice())) {
patternEntityIndex++;
if (isFirstCharacter()) {
patternEntityIndex--;
}
triePtr = patternTrie;
nextLetter = createCharIterator(wordSlice);
while ((letter = nextLetter())) {
if ((trieNode = triePtr[letter]) === void 0) {
break;
}
triePtr = {};
patternLevelsIndex = -1;
switch (Object.prototype.toString.call(trieNode)) {
case "[object Array]":
triePtr = trieNode[0];
patternLevelsIndex = trieNode[1];
break;
case "[object Object]":
triePtr = trieNode;
break;
case "[object Number]":
patternLevelsIndex = trieNode;
break;
}
if (patternLevelsIndex < 0) {
continue;
}
if (!levelsTable[patternLevelsIndex].splice) {
levelsTable[patternLevelsIndex] = levelsTable[
patternLevelsIndex
].slice("");
}
patternLevels = levelsTable[patternLevelsIndex];
for (var k = 0; k < patternLevels.length; k++)
levels[patternEntityIndex + k] = Math.max(
patternLevels[k],
levels[patternEntityIndex + k]
);
}
}
levels[0] = levels[1] = levels[levels.length - 1] = levels[
levels.length - 2
] = 0;
var hyphenatedText = "";
for (var i = 0; i < levels.length; i++) {
hyphenatedText +=
(levels[i] % 2 === 1 ? hyphenChar : "") + text.charAt(i);
}
return hyphenatedText;
}
function start(
text,
levelsTable,
patterns,
cache,
debug,
hyphenChar,
skipHTML,
minWordLength,
isAsync
) {
function done() {
resolveNewText(newText);
}
var newText = "",
fragments,
readText = createTextReader(
createHyphenationVerifier(
(skipHTML ? [createHTMLVerifier()] : []).concat(
createHyphenCharVerifier(hyphenChar)
),
minWordLength
)
),
resolveNewText = function () {};
function nextTick() {
var loopStart = /* @__PURE__ */ new Date();
while (
(!isAsync || /* @__PURE__ */ new Date() - loopStart < 10) &&
(fragments = readText(text))
) {
if (fragments[1]) {
var cacheKey = fragments[1].length ? "~" + fragments[1] : "";
if (cache[cacheKey] === void 0) {
cache[cacheKey] = hyphenateWord(
fragments[1],
levelsTable,
patterns,
debug,
hyphenChar
);
}
fragments[1] = cache[cacheKey];
}
newText += fragments[0] + fragments[1];
}
if (!fragments) {
done();
} else {
setTimeout(nextTick);
}
}
if (isAsync) {
setTimeout(nextTick);
return new Promise(function (resolve) {
resolveNewText = resolve;
});
} else {
nextTick();
return newText;
}
}
var SETTING_DEFAULT_ASYNC = false;
var SETTING_DEFAULT_DEBUG = false;
var SETTING_DEFAULT_EXCEPTIONS = [];
var SETTING_DEFAULT_HTML = true;
var SETTING_DEFAULT_HYPH_CHAR = "\xAD";
var SETTING_DEFAULT_MIN_WORD_LENGTH = 5;
var SETTING_NAME_ASYNC = "async";
var SETTING_NAME_DEBUG = "debug";
var SETTING_NAME_EXCEPTIONS = "exceptions";
var SETTING_NAME_HTML = "html";
var SETTING_NAME_HYPH_CHAR = "hyphenChar";
var SETTING_NAME_MIN_WORD_LENGTH = "minWordLength";
var _global =
typeof global === "object"
? global
: typeof window === "object"
? window
: typeof self === "object"
? self
: false
? void 0
: {};
function extend(target, source) {
target = target || {};
for (var key in source) {
target[key] = source[key];
}
return target;
}
function validateArray(value) {
return value instanceof Array;
}
function keyOrDefault(object, key, defaultValue, test) {
if (key in object && (test ? test(object[key]) : true)) {
return object[key];
}
return defaultValue;
}
function exceptionsFromDefinition(excetionsList, hyphenChar) {
return excetionsList.reduce(function (exceptions, exception) {
exceptions["~" + exception.replace(/\-/g, "")] = exception.replace(
/\-/g,
hyphenChar
);
return exceptions;
}, {});
}
function createHyphenator(patternsDefinition, options) {
options = options || {};
var asyncMode = keyOrDefault(
options,
SETTING_NAME_ASYNC,
SETTING_DEFAULT_ASYNC
),
caches = {},
debug = keyOrDefault(options, SETTING_NAME_DEBUG, SETTING_DEFAULT_DEBUG),
exceptions = {},
hyphenChar = keyOrDefault(
options,
SETTING_NAME_HYPH_CHAR,
SETTING_DEFAULT_HYPH_CHAR
),
levelsTable = patternsDefinition[0].split(","),
patterns = JSON.parse(patternsDefinition[1]),
minWordLength =
keyOrDefault(
options,
SETTING_NAME_MIN_WORD_LENGTH,
SETTING_DEFAULT_MIN_WORD_LENGTH
) >> 0,
skipHTML = keyOrDefault(options, SETTING_NAME_HTML, SETTING_DEFAULT_HTML),
userExceptions = keyOrDefault(
options,
SETTING_NAME_EXCEPTIONS,
SETTING_DEFAULT_EXCEPTIONS,
validateArray
);
var cacheKey = hyphenChar + minWordLength;
exceptions[cacheKey] = {};
if (patternsDefinition[2]) {
exceptions[cacheKey] = exceptionsFromDefinition(
patternsDefinition[2],
hyphenChar
);
}
if (userExceptions && userExceptions.length) {
exceptions[cacheKey] = extend(
exceptions[cacheKey],
exceptionsFromDefinition(userExceptions, hyphenChar)
);
}
caches[cacheKey] = extend({}, exceptions[cacheKey]);
if (asyncMode && !("Promise" in _global)) {
throw new Error(
"Failed to create hyphenator: Could not find global Promise object, needed for hyphenator to work in async mode"
);
}
return function (text, options2) {
options2 = options2 || {};
var localDebug = keyOrDefault(options2, SETTING_NAME_DEBUG, debug),
localHyphenChar = keyOrDefault(
options2,
SETTING_NAME_HYPH_CHAR,
hyphenChar
),
localMinWordLength =
keyOrDefault(options2, SETTING_NAME_MIN_WORD_LENGTH, minWordLength) >>
0,
localUserExceptions = keyOrDefault(
options2,
SETTING_NAME_EXCEPTIONS,
SETTING_DEFAULT_EXCEPTIONS,
validateArray
),
cacheKey2 = localHyphenChar + localMinWordLength;
if (!exceptions[cacheKey2] && patternsDefinition[2]) {
exceptions[cacheKey2] = exceptionsFromDefinition(
patternsDefinition[2],
localHyphenChar
);
caches[cacheKey2] = extend(caches[cacheKey2], exceptions[cacheKey2]);
}
if (localUserExceptions && localUserExceptions.length) {
exceptions[cacheKey2] = extend(
exceptions[cacheKey2],
exceptionsFromDefinition(localUserExceptions, localHyphenChar)
);
caches[cacheKey2] = extend(caches[cacheKey2], exceptions[cacheKey2]);
}
return start(
text,
levelsTable,
patterns,
caches[cacheKey2],
localDebug,
localHyphenChar,
skipHTML,
localMinWordLength,
asyncMode
);
};
}
return createHyphenator;
});

3
node_modules/hyphen/ia/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/ia.js")
);

3
node_modules/hyphen/id/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/id.js")
);

1
node_modules/hyphen/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = require("./hyphen.js");

3
node_modules/hyphen/is/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/is.js")
);

3
node_modules/hyphen/it/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/it.js")
);

3
node_modules/hyphen/ka/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/ka.js")
);

3
node_modules/hyphen/kmr/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/kmr.js")
);

3
node_modules/hyphen/kn/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/kn.js")
);

3
node_modules/hyphen/la-x-classic/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/la-x-classic.js")
);

3
node_modules/hyphen/la-x-liturgic/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/la-x-liturgic.js")
);

3
node_modules/hyphen/la/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/la.js")
);

3
node_modules/hyphen/lt/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/lt.js")
);

3
node_modules/hyphen/lv/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/lv.js")
);

3
node_modules/hyphen/ml/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/ml.js")
);

3
node_modules/hyphen/mn-cyrl-x-lmc/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/mn-cyrl-x-lmc.js")
);

3
node_modules/hyphen/mn-cyrl/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/mn-cyrl.js")
);

1
node_modules/hyphen/mn/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = require("../mn-cyrl/index.js");

3
node_modules/hyphen/mr/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/mr.js")
);

3
node_modules/hyphen/mul-ethi/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/mul-ethi.js")
);

3
node_modules/hyphen/nb/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/nb.js")
);

3
node_modules/hyphen/nl/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/nl.js")
);

3
node_modules/hyphen/nn/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/nn.js")
);

3
node_modules/hyphen/no/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/no.js")
);

3
node_modules/hyphen/oc/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/oc.js")
);

3
node_modules/hyphen/or/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/or.js")
);

3
node_modules/hyphen/pa/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = require("../export-contract.js")(
require("../patterns/pa.js")
);

22
node_modules/hyphen/package.json generated vendored Normal file
View File

@@ -0,0 +1,22 @@
{
"name": "hyphen",
"version": "1.10.6",
"description": "Text hyphenation in Javascript.",
"repository": {
"type": "git",
"url": "git+https://github.com/ytiurin/hyphen"
},
"keywords": [
"hyphen",
"hyphenate",
"hyphenation",
"hyphenator"
],
"author": "Eugene Tiurin <yevhentiurin@gmail.com> (https://github.com/ytiurin)",
"license": "ISC",
"bugs": {
"url": "https://github.com/ytiurin/hyphen/issues"
},
"homepage": "https://ytiurin.github.io/hyphen",
"browser": "./hyphen.js"
}

206
node_modules/hyphen/patterns/af.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/as.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsAs = factory();
}
})(this, function () {
return [
"22,11,01,1,21",
'{"":0,"":1,"অ":2,"আ":2,"ই":2,"ঈ":2,"উ":2,"ঊ":2,"ঋ":2,"ৠ":2,"ঌ":2,"ৡ":2,"এ":2,"ঐ":2,"ও":2,"ঔ":2,"া":2,"ি":2,"ী":2,"ু":2,"ূ":2,"ৃ":2,"ৄ":2,"ৢ":2,"ৣ":2,"ে":2,"ৈ":2,"ো":2,"ৌ":2,"়":0,"ৗ":2,"ক":3,"খ":3,"গ":3,"ঘ":3,"ঙ":3,"চ":3,"ছ":3,"জ":3,"ঝ":3,"ঞ":3,"ট":3,"ঠ":3,"ড":3,"ড়":3,"ঢ":3,"ঢ়":3,"ণ":3,"ত":3,"থ":3,"দ":3,"ধ":3,"ন":3,"প":3,"ফ":3,"ব":3,"ভ":3,"ম":3,"য":3,"য়":3,"র":3,"ল":3,"শ":3,"ষ":3,"স":3,"হ":3,"ৎ":2,"ঃ":4,"ং":4,"ঁ":4,"ঽ":4,"্":0}',
[]
];
});

20
node_modules/hyphen/patterns/be.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/bg.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/bn.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsBn = factory();
}
})(this, function () {
return [
"22,11,01,1,21",
'{"":0,"":1,"অ":2,"আ":2,"ই":2,"ঈ":2,"উ":2,"ঊ":2,"ঋ":2,"ৠ":2,"ঌ":2,"ৡ":2,"এ":2,"ঐ":2,"ও":2,"ঔ":2,"া":2,"ি":2,"ী":2,"ু":2,"ূ":2,"ৃ":2,"ৄ":2,"ৢ":2,"ৣ":2,"ে":2,"ৈ":2,"ো":2,"ৌ":2,"়":0,"ৗ":2,"ক":3,"খ":3,"গ":3,"ঘ":3,"ঙ":3,"চ":3,"ছ":3,"জ":3,"ঝ":3,"ঞ":3,"ট":3,"ঠ":3,"ড":3,"ড়":3,"ঢ":3,"ঢ়":3,"ণ":3,"ত":3,"থ":3,"দ":3,"ধ":3,"ন":3,"প":3,"ফ":3,"ব":3,"ভ":3,"ম":3,"য":3,"য়":3,"র":3,"ল":3,"শ":3,"ষ":3,"স":3,"হ":3,"ৎ":2,"ঃ":4,"ং":4,"ঁ":4,"ঽ":4,"্":0}',
[]
];
});

47
node_modules/hyphen/patterns/ca.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/cop.js generated vendored Normal file

File diff suppressed because one or more lines are too long

26
node_modules/hyphen/patterns/cs.js generated vendored Normal file

File diff suppressed because one or more lines are too long

41
node_modules/hyphen/patterns/cu.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/cy.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/da.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/de-1901.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/de-1996.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/de-ch-1901.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/el-monoton.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsElMonoton = factory();
}
})(this, function () {
return [
"01,02,03,033,4,04,41,452,002,6,401",
'{"α":[{"ι":1,"ί":1,"ί":1,"υ":1,"ύ":1,"ύ":1,"η":1,"ϊ":1,"ϋ":1},0],"ε":[{"ι":1,"ί":1,"ί":1,"υ":1,"ύ":1,"ύ":1,"ϊ":1,"ϋ":1},0],"η":[{"υ":1,"ύ":1,"ύ":1,"α":1,"ά":1,"ά":1,"ε":1,"έ":1,"έ":1,"ο":1,"ό":1,"ό":1,"ω":1,"ώ":1,"ώ":1},0],"ι":[{"α":1,"ά":1,"ά":1,"ε":1,"έ":1,"έ":1,"ο":1,"ό":1,"ό":1,"ω":1,"ώ":1,"ώ":1},0],"ο":[{"ι":1,"ί":1,"ί":1,"υ":1,"ύ":1,"ύ":1,"ε":{"ι":1},"η":1,"ϊ":[{"ό":3,"ό":3},1]},0],"υ":[{"ι":1,"ί":1,"ί":1,"α":1,"ά":1,"ά":1,"ο":1,"ό":1,"ό":1,"ω":1,"ώ":1,"ώ":1},0],"ω":0,"ϊ":0,"ϋ":0,"ά":[{"ι":[{".":2},1],"ϊ":1,"υ":2,"η":{".":2}},0],"έ":[{"ι":1,"ϊ":1,"υ":2},0],"ή":[{"υ":2},0],"ί":0,"ό":[{"ι":[{".":2},1],"ϊ":1,"υ":2,"η":{".":2}},0],"ύ":[{"ι":2},0],"ώ":0,"ΐ":0,"ΰ":0,"ά":{"ι":[{".":2},1],"ϊ":1,"υ":2,"η":{".":2}},"έ":{"ι":1,"ϊ":1,"υ":2},"ή":{"υ":2},"ό":{"ι":[{".":2},1],"ϊ":1,"υ":2,"η":{".":2}},"ύ":{"ι":2},".":{"ι":2,"ί":2,"ί":2,"η":2,"ή":2,"ή":2,"υ":2,"ύ":2,"ύ":2,"β":5,"γ":5,"δ":5,"ζ":5,"θ":5,"κ":5,"λ":5,"μ":5,"ν":5,"ξ":5,"π":5,"ρ":5,"σ":5,"ϲ":5,"τ":5,"φ":5,"χ":5,"ψ":5},"β":{".":4,"\'":4,"ʼ":4,"᾿":4,"β":6,"ζ":6,"θ":6,"κ":6,"μ":6,"ν":6,"ξ":6,"π":6,"σ":6,"ϲ":6,"τ":6,"φ":6,"χ":6,"ψ":6,"ρ":{".":4}},"γ":{".":4,"κ":{".":4,"φ":7,"τ":[{"ζ":10,"σ":10,"ϲ":10},6],"ς":{".":4},"ϲ":{".":4},"σ":{".":4},"μ":{"π":10},"ν":{"τ":10}},"\'":4,"ʼ":4,"᾿":4,"γ":6,"β":6,"ζ":6,"θ":6,"μ":6,"ξ":[{"τ":7},6],"π":6,"σ":6,"ϲ":6,"τ":6,"φ":6,"χ":6,"ψ":6,"λ":{".":4}},"δ":{".":4,"\'":4,"ʼ":4,"᾿":4,"δ":6,"β":6,"γ":6,"ζ":6,"θ":6,"κ":6,"λ":6,"ξ":6,"π":6,"σ":6,"ϲ":6,"τ":6,"φ":6,"χ":6,"ψ":6},"ζ":{".":4,"\'":4,"ʼ":4,"᾿":4,"ζ":6,"β":6,"γ":6,"δ":6,"θ":6,"κ":6,"λ":6,"μ":6,"ν":6,"ξ":6,"π":6,"ρ":6,"σ":6,"ϲ":6,"τ":6,"φ":6,"χ":6,"ψ":6},"θ":{".":4,"\'":4,"ʼ":4,"᾿":4,"θ":6,"β":6,"γ":6,"δ":6,"ζ":6,"κ":6,"μ":6,"ξ":6,"π":6,"σ":6,"ϲ":6,"τ":6,"φ":6,"χ":6,"ψ":6},"κ":{".":4,"\'":4,"ʼ":4,"᾿":4,"κ":6,"β":6,"γ":6,"δ":6,"ζ":6,"θ":6,"μ":6,"ξ":6,"π":6,"σ":[{".":4},6],"ϲ":[{".":9},6],"φ":6,"χ":6,"ψ":6,"λ":{".":4},"τ":{".":4},"ς":{".":9}},"λ":{".":4,"\'":4,"ʼ":4,"᾿":4,"λ":6,"κ":[{"μ":7},6],"β":6,"γ":6,"δ":6,"ζ":6,"θ":6,"μ":6,"ν":6,"ξ":6,"π":6,"ρ":6,"σ":[{".":4},6],"ϲ":[{".":4},6],"τ":6,"φ":6,"χ":6,"ψ":6,"ς":{".":4}},"μ":{".":4,"π":{".":4,"\'":4,"ʼ":4,"᾿":4,"τ":[{"ζ":10,"σ":10,"ϲ":10},6],"λ":{".":4},"ν":{".":4,"τ":10},"ρ":{".":4}},"\'":4,"ʼ":4,"᾿":4,"μ":6,"β":6,"γ":6,"δ":6,"ζ":6,"θ":6,"κ":6,"λ":6,"ξ":6,"ρ":6,"σ":[{".":4},6],"ϲ":[{".":4},6],"τ":6,"φ":6,"χ":6,"ψ":[{"τ":7},6],"ς":{".":4}},"ν":{".":4,"τ":{".":4,"\'":4,"":4,"᾿":4,"ζ":6,"σ":[{".":4},6],"ϲ":[{".":4},6],"ς":{".":4},"μ":{"π":10}},"\'":4,"ʼ":4,"᾿":4,"ν":6,"κ":[{"φ":7},6],"β":6,"γ":6,"δ":6,"ζ":6,"θ":6,"λ":6,"μ":6,"ξ":6,"π":6,"ρ":6,"σ":[{".":4},6],"ϲ":[{".":4},6],"φ":6,"χ":6,"ψ":6,"ς":{".":4}},"ξ":{".":4,"\'":4,"ʼ":4,"᾿":4,"β":6,"γ":6,"δ":6,"ζ":6,"θ":6,"κ":6,"λ":6,"μ":6,"ν":6,"π":6,"ρ":6,"σ":6,"ϲ":6,"τ":6,"φ":6,"χ":6,"ψ":6},"π":{".":4,"\'":4,"ʼ":4,"᾿":4,"π":6,"β":6,"γ":6,"δ":6,"ζ":6,"θ":6,"κ":6,"μ":6,"ξ":6,"σ":6,"ϲ":6,"φ":6,"χ":6,"ψ":6},"ρ":{".":4,"\'":4,"ʼ":4,"᾿":4,"ρ":6,"γ":[{"μ":7},6],"θ":[{"μ":7},6],"κ":[{"μ":7},6],"ξ":[{"τ":7},6],"β":6,"δ":6,"ζ":6,"λ":6,"μ":6,"ν":6,"π":6,"σ":[{".":4},6],"ϲ":[{".":4},6],"τ":6,"φ":[{"ν":7},6],"χ":[{"μ":7},6],"ψ":6,"ς":{".":4}},"σ":{".":4,"\'":4,"ʼ":4,"᾿":4,"σ":6,"θ":{"μ":8},"δ":6,"ζ":6,"ν":6,"ξ":6,"ρ":6,"ψ":6,"τ":{"φ":8,".":4},"κ":{".":4}},"ϲ":{".":4,"\'":4,"ʼ":4,"᾿":4,"ϲ":6,"θ":{"μ":8},"δ":6,"ζ":6,"ν":6,"ξ":6,"ρ":6,"ψ":6,"τ":{"φ":8,".":4},"κ":{".":4}},"ς":{".":4},"τ":{".":4,"ζ":{".":4,"\'":4,"ʼ":4,"᾿":4,"μ":8},"σ":{".":4,"\'":4,"ʼ":4,"":4,"γ":{"κ":10},"μ":{"π":10},"ν":{"τ":10}},"ϲ":{".":4,"\'":4,"ʼ":4,"᾿":4,"γ":{"κ":10},"μ":{"π":10},"ν":{"τ":10}},"ς":{".":4},"\'":4,"ʼ":4,"᾿":4,"τ":6,"β":6,"γ":6,"δ":6,"θ":6,"κ":6,"ν":6,"ξ":6,"π":6,"φ":6,"χ":6,"ψ":6,"λ":{".":4},"ρ":{".":4}},"φ":{".":4,"\'":4,"ʼ":4,"᾿":4,"φ":6,"β":6,"γ":6,"δ":6,"ζ":6,"κ":6,"μ":6,"ν":6,"ξ":6,"π":6,"σ":6,"ϲ":6,"χ":6,"ψ":6,"τ":{".":4}},"χ":{".":4,"\'":4,"ʼ":4,"᾿":4,"χ":6,"β":6,"γ":6,"δ":6,"ζ":6,"κ":6,"μ":6,"ξ":6,"π":6,"σ":6,"ϲ":6,"φ":6,"ψ":6,"τ":{".":4}},"ψ":{".":4,"\'":4,"ʼ":4,"᾿":4,"ψ":6,"β":6,"γ":6,"δ":6,"ζ":6,"θ":6,"κ":6,"λ":6,"μ":6,"ν":6,"ξ":6,"π":6,"ρ":6,"σ":6,"ϲ":6,"τ":6,"φ":6,"χ":6},"\'":4,"ʼ":4,"᾿":4}',
[]
];
});

20
node_modules/hyphen/patterns/el-polyton.js generated vendored Normal file

File diff suppressed because one or more lines are too long

30
node_modules/hyphen/patterns/en-gb.js generated vendored Normal file

File diff suppressed because one or more lines are too long

35
node_modules/hyphen/patterns/en-us.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/es.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/et.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/eu.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsEu = factory();
}
})(this, function () {
return [
"1,12,0022",
'{"b":{"a":0,"e":0,"o":0,"i":0,"u":0,"l":{"a":1,"e":1,"o":1,"i":1,"u":1},"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"c":{"a":0,"e":0,"o":0,"i":0,"u":0},"d":{"a":0,"e":0,"o":0,"i":0,"u":0,"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"f":{"a":0,"e":0,"o":0,"i":0,"u":0,"l":{"a":1,"e":1,"o":1,"i":1,"u":1},"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"g":{"a":0,"e":0,"o":0,"i":0,"u":0,"l":{"a":1,"e":1,"o":1,"i":1,"u":1},"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"j":{"a":0,"e":0,"o":0,"i":0,"u":0},"k":{"a":0,"e":0,"o":0,"i":0,"u":0,"l":{"a":1,"e":1,"o":1,"i":1,"u":1},"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"l":{"a":0,"e":0,"o":0,"i":0,"u":0,"l":{"a":1,"e":1,"o":1,"i":1,"u":1}},"m":{"a":0,"e":0,"o":0,"i":0,"u":0},"n":{"a":0,"e":0,"o":0,"i":0,"u":0},"ñ":{"a":0,"e":0,"o":0,"i":0,"u":0},"p":{"a":0,"e":0,"o":0,"i":0,"u":0,"l":{"a":1,"e":1,"o":1,"i":1,"u":1},"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"q":{"a":0,"e":0,"o":0,"i":0,"u":0},"r":{"a":0,"e":0,"o":0,"i":0,"u":0,"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"s":{"a":0,"e":0,"o":0,"i":0,"u":[{"b":{"r":2,"l":2}},0]},"t":{"a":0,"e":0,"o":0,"i":0,"u":0,"s":{"a":1,"e":1,"o":1,"i":1,"u":1},"x":{"a":1,"e":1,"o":1,"i":1,"u":1},"z":{"a":1,"e":1,"o":1,"i":1,"u":1},"r":{"a":1,"e":1,"o":1,"i":1,"u":1}},"v":{"a":0,"e":0,"o":0,"i":0,"u":0},"w":{"a":0,"e":0,"o":0,"i":0,"u":0},"x":{"a":0,"e":0,"o":0,"i":0,"u":0},"y":{"a":0,"e":0,"o":0,"i":0,"u":0},"z":{"a":0,"e":0,"o":0,"i":0,"u":0}}',
[]
];
});

20
node_modules/hyphen/patterns/fi.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsFi = factory();
}
})(this, function () {
return [
"1,102,02,012,01,032,0012,001,003,00012,000001,00001,21,212,12,0000021,00021,000212,12000021,0003,002",
'{"b":{"a":0,"e":0,"i":[{"b":{"l":{"i":19}}},0],"o":0,"u":0,"y":0,"l":[{"o":14},2],"r":[{"i":14,"o":14,"u":14},2]},"d":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0,"r":[{"a":14},2]},"f":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"l":[{"a":14},2],"r":[{"a":14,"e":14},2]},"g":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0,"l":[{"o":14},2],"r":[{"a":14},2]},"h":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0},"j":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0},"k":{"a":0,"e":[{"u":{"s":11}},0],"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0,"l":2,"r":{"a":14,"e":14,"i":14},"v":[{"a":14},14]},"l":{"a":[{"s":2},0],"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0},"m":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0},"n":{"a":[{"n":{"t":{"o":12},"n":{"o":12}},"j":{"a":{"n":13},"o":13},"i":{"k":{"a":12}},"l":{"e":{"n":13}}},0],"e":[{"d":{"u":{"s":13}}},0],"i":0,"o":[{"p":{"e":{"t":13},"i":{"s":{"t":13}}},"s":{"a":13},"t":{"t":{"o":12},"o":{"n":12}},"m":{"a":{"i":13}}},0],"u":0,"y":[{"l":{"i":{"t":13}}},0],"ä":0,"ö":0},"p":{"a":0,"e":[{"r":{"u":{"s":10}}},0],"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0,"l":2,"r":[{"o":14},2]},"r":{"a":[{"s":2},0],"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0,"t":{"a":{"u":{"s":10}}}},"s":{"a":[{"s":{"i":{"a":13},"e":12},"l":{"o":{"i":13},"e":{"n":13}},"j":{"a":{"t":{"u":12}},"o":13},"p":{"u":12}},0],"e":[{"s":{"i":{"t":{"y":13}}}},0],"i":[{"d":{"e":{"a":{".":13,"n":13}}}},0],"o":[{"h":{"j":{"e":12}},"p":{"i":{"s":{"k":13,"t":13}}},"s":{"a":13}},0],"u":0,"y":[{"r":{"i":{"t":13}},"h":{"t":{"i":13}}},0],"ä":0,"ö":0,"t":{"r":1},"p":{"l":{"i":1}},"c":{"h":20}},"t":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0,"s":{"h":20}},"v":{"a":0,"e":0,"i":0,"o":0,"u":0,"y":0,"ä":0,"ö":0},"ä":{"y":2,"a":5,"o":5,"u":3,"ä":[{"i":7,"e":7,"y":8},2],"ö":2},"y":{"a":3,"o":3,"u":3,"ä":{"ä":4},"e":{"i":4},"l":{"i":{"o":{"p":9}}}},"o":{"y":4,"ä":4,"ö":4,"a":{"a":4},"u":{"u":4,"i":4,"e":7,"o":7},"i":{"a":7,"e":7,"o":7,"u":7}},"ö":{"y":2,"a":5,"o":5,"u":3,"ö":2,"ä":2,"e":3},"u":{"y":3,"ä":3,"ö":3,"u":{"a":6,"e":6,"o":6,"i":6},"a":{"a":4},"e":{"e":4,"a":7},"i":{"e":7},"o":{"a":7,"u":7},"s":2,"l":{"o":{"s":16}}},"a":{"ä":4,"ö":4,"a":{"i":6,"e":6,"o":6,"u":6},"u":{"u":4,"a":7,"e":7},"e":{"i":4},"o":{"i":4},"i":{"a":7,"e":7,"o":7,"u":7},"l":{"i":{"a":{"v":9}},"o":{"u":{"s":10}},"k":{"e":{"i":{"s":15}}}},"s":{"i":{"a":{"n":14,"t":14,"k":{"a":{"s":18}}},"o":{"i":14}}}},"e":{"e":{"a":6,"i":6,"u":6,"y":6},"a":{"a":4,"i":4},"u":{"u":4,"a":7},"ä":{"ä":4},"ö":3},"i":{"i":{"a":6,"e":6,"o":6},"a":{"a":4,"u":4},"u":{"u":4,"a":7,"e":7,"o":7},"ä":{"ä":4},"ö":{"ö":4},"e":{"a":7,"o":7,"y":7},"o":{"a":6,"e":6}},".":{"ä":2,"y":{"d":{"i":{"n":16}}},"s":{"u":{"u":{"r":{"a":17}}}}},"c":{"l":2,"h":{"r":20}},"q":{"v":[{"i":14},2]}}',
[]
];
});

20
node_modules/hyphen/patterns/fr.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/fur.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsFur = factory();
}
})(this, function () {
return [
"022,0002,22,2,002,4,032,00001,000032,0001,0043,0000021,0023,00000001,0012,002403,021,002003,000023,00003,0032,000001,00023,02,001,00021,01,1,202,232,023,32,0223,21,2002,212,243",
'{".":{"\'":{"s":[{"j":1},0],"n":4},"a":{"p":{"n":6},"n":{"t":{"i":[{"m":{"n":8}},7]}}},"b":{"i":{"o":9}},"c":[{"a":{"p":{"s":10}},"i":{"r":{"c":{"u":{"m":11}}}},"o":{"n":{"j":12},"o":{"p":14}},"u":{"i":{"n":{"t":{"r":{"i":13}}}}}},23],"d":[{"i":{"s":[{"c":{"h":{"o":{"c":15}}}},12]}},23],"e":{"x":{"e":16,"t":{"r":{"a":17}}}},"f":{"r":{"a":{"n":{"k":18}},"e":{"e":19}}},"l":{"i":{"p":{"s":{"a":20}}}},"n":{"a":{"r":{"c":{"o":21}}}},"o":{"p":{"t":{"o":7}},"r":{"t":{"o":{"p":8}}}},"p":{"a":{"r":{"a":7}},"l":{"u":{"s":{"q":22}}},"o":{"l":{"i":{"p":8}}},"r":{"e":9},"s":23},"r":{"e":{"a":{"c":24},"i":{"s":{"c":{"r":14}}}}},"t":{"r":{"a":{"n":{"s":{"a":{"c":18},"c":18,"d":18,"l":18,"n":18,"p":18,"r":18,"t":18}}}}},"s":[{"u":{"b":{"j":12,"l":{"u":12},"r":12}},"c":[{"j":23,"h":23},23],"ç":23,"d":23,"f":23,"g":23,"l":23,"m":23,"n":23,"p":23,"q":23,"r":23,"t":23,"v":23},23],"w":{"a":{"g":{"n":12}},"e":{"l":{"t":25}}},"z":23},"\'":[{".":3},2],"b":[{"\'":3,"b":3,"c":3,"d":3,"f":3,"m":3,"n":3,"p":3,"s":3,"t":3,"v":3,"l":23,"r":23,".":3},27],"c":[{"\'":3,"j":[{"\'":[{".":3},3],".":3},23],"b":3,"c":3,"d":3,"f":3,"k":3,"m":3,"n":3,"q":3,"s":3,"t":3,"z":3,"h":[{"h":3,".":3,"b":3,"r":4,"n":3},23],"l":23,"r":23,".":3},27],"ç":[{"\'":3,".":3,"s":{".":3}},27],"d":[{"\'":3,"b":3,"d":3,"g":3,"h":23,"l":3,"m":3,"n":3,"p":3,"r":23,"s":3,"t":3,"v":3,"w":3,".":3},27],"f":[{"\'":3,"b":3,"g":3,"f":3,"n":3,"l":23,"r":23,"s":3,"t":3,".":3},27],"g":[{"\'":3,"b":3,"d":3,"f":3,"g":3,"h":[{"t":28},23],"j":23,"l":23,"m":3,"n":[{".":3},23],"p":3,"r":23,"s":3,"t":3,"v":3,"w":3,"z":3,".":3},27],"h":[{"\'":3,"b":3,"d":3,"h":3,"i":{"p":{"n":20}},"l":23,"m":3,"n":3,"r":3,"v":3,".":3},27],"j":[{"\'":3,".":3},27],"k":[{"\'":3,"g":3,"f":3,"h":23,"k":3,"l":23,"m":3,"r":23,"s":3,"t":3,".":3},27],"l":[{"\'":{".":3,"\'":3},"b":3,"c":3,"d":3,"f":29,"g":3,"h":23,"j":23,"k":3,"l":3,"m":3,"n":3,"p":3,"q":3,"r":3,"s":3,"t":3,"v":3,"w":3,"z":3,".":3},27],"m":[{"\'":3,"b":3,"c":3,"f":3,"l":3,"m":3,"n":3,"p":3,"q":3,"r":3,"s":3,"t":3,"v":3,"w":3,".":3},27],"n":[{"\'":3,"b":3,"c":3,"d":3,"f":3,"g":[{"n":30},3],"k":3,"l":3,"m":3,"n":3,"p":3,"q":3,"r":3,"s":[{".":23,"f":{"e":{"r":30}}},3],"t":[{".":23},3],"v":3,"z":3,"h":{"e":{"i":{"t":3}}},".":3},27],"p":[{"\'":3,"d":3,"h":23,"l":23,"n":[{"e":31},3],"p":3,"r":23,"s":[{"i":{"c":31}},3],"t":3,"z":3,".":3},27],"q":[{"\'":3,"q":3,".":3},27],"r":[{"\'":3,"b":3,"c":3,"ç":[{".":3},3],"d":3,"f":3,"h":23,"g":3,"k":3,"l":3,"m":3,"n":3,"p":3,"q":3,"r":3,"s":3,"t":[{"s":32},3],"v":3,"x":3,"w":3,"z":3,".":3},27],"s":[{"\'":{".":5,"\'":5},"t":[{"\'":3,".":2,"b":2,"c":2,"d":2,"f":2,"m":2,"n":2,"p":2,"s":2,"t":2,"v":2},3],"c":[{"j":[{".":3},33],"h":34},3],"ç":[{".":2},33],"d":3,"f":3,"g":3,"j":[{".":3},23],"l":3,"m":3,"n":3,"p":[{"n":35},3],"q":3,"r":3,"s":[{"m":36},23],"v":3,"z":3,".":3},27],"t":[{"\'":{".":3,"\'":3},"b":3,"c":[{"j":[{".":23},3]},3],"ç":[{".":23},3],"d":3,"f":3,"g":23,"h":23,"l":23,"m":3,"n":3,"p":3,"r":23,"s":[{".":3},2],"t":[{"m":30,"s":30},3],"v":3,"w":3,"z":[{"k":3,"s":4},23],".":3},27],"v":[{"\'":{".":3,"\'":3},"c":3,"l":23,"r":23,"s":{".":3},"v":3,".":3},27],"w":[{"\'":3,"h":23,"a":{"r":4},"y":33,".":3},27],"x":[{"\'":3,"b":3,"c":3,"f":3,"h":3,"m":3,"p":3,"t":3,"w":3,".":3},27],"z":[{"\'":{".":3,"\'":3},"b":3,"d":3,"l":3,"n":3,"p":3,"r":3,"s":3,"t":3,"v":3,"z":3,".":3},27],"a":{"i":{"a":26,"e":26,"o":26,"u":26},"u":{"o":26},"y":{"a":26},"t":{".":3}},"e":{"i":{"u":26},"w":23},"o":{"i":{"a":26,"e":26,"o":26,"u":26}},"y":{"o":{"u":26},"i":26}}',
[]
];
});

67
node_modules/hyphen/patterns/ga.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/gl.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/grc.js generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/hyphen/patterns/gu.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsGu = factory();
}
})(this, function () {
return [
"22,11,01,1,21",
'{"":0,"":1,"અ":2,"આ":2,"ઇ":2,"ઈ":2,"ઉ":2,"ઊ":2,"ઋ":2,"ૠ":2,"એ":2,"ઐ":2,"ઓ":2,"ઔ":2,"ા":2,"િ":2,"ી":2,"ુ":2,"ૂ":2,"ૃ":2,"ૄ":2,"ૢ":2,"ૣ":2,"ે":2,"ૈ":2,"ો":2,"ૌ":2,"ક":3,"ખ":3,"ગ":3,"ઘ":3,"ઙ":3,"ચ":3,"છ":3,"જ":3,"ઝ":3,"ઞ":3,"ટ":3,"ઠ":3,"ડ":3,"ઢ":3,"ણ":3,"ત":3,"થ":3,"દ":3,"ધ":3,"ન":3,"પ":3,"ફ":3,"બ":3,"ભ":3,"મ":3,"ય":3,"ર":3,"લ":3,"ળ":3,"વ":3,"શ":3,"ષ":3,"સ":3,"હ":3,"ઁ":4,"":4,"ઽ":4,"્":0,"ં":0}',
[]
];
});

20
node_modules/hyphen/patterns/hi.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === "object" && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.hyphenationPatternsHi = factory();
}
})(this, function () {
return [
"22,11,01,1,21",
'{"":0,"":1,"अ":2,"आ":2,"इ":2,"ई":2,"उ":2,"ऊ":2,"ऋ":2,"ॠ":2,"ऌ":2,"ॡ":2,"ए":2,"ऐ":2,"ओ":2,"औ":2,"ा":2,"ि":2,"ी":2,"ु":2,"ू":2,"ृ":2,"ॄ":2,"ॢ":2,"ॣ":2,"े":2,"ै":2,"ो":2,"ौ":2,"क":3,"ख":3,"ग":3,"घ":3,"ङ":3,"च":3,"छ":3,"ज":3,"झ":3,"ञ":3,"ट":3,"ठ":3,"ड":3,"ढ":3,"ण":3,"त":3,"थ":3,"द":3,"ध":3,"न":3,"प":3,"फ":3,"ब":3,"भ":3,"म":3,"य":3,"र":3,"ल":3,"ळ":3,"व":3,"श":3,"ष":3,"स":3,"ह":3,"ँ":4,"ं":4,"":4,"ऽ":4,"॑":4,"॒":4,"्":0}',
[]
];
});

20
node_modules/hyphen/patterns/hr.js generated vendored Normal file

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More